]> git.saurik.com Git - wxWidgets.git/blob - configure
Fix for detection of motif headers when they are in a different place to X11,
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.6.2.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.6.2'
274 PACKAGE_STRING='wxWidgets 2.6.2'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWidgets 2.6.2 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.6.2:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --disable-rpath disable use of rpath for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class for getting backtraces
908 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class for DLL loading
914 --enable-dynamicloader use (new) wxDynamicLibrary class
915 --enable-exceptions build exception-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C++ stream classes
929 --enable-std_string use standard C++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support in wxProtocol
945 --enable-protocol-ftp FTP support in wxProtocol
946 --enable-protocol-file FILE support in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use help subsystem
950 --enable-mshtmlhelp use MS HTML Help (win32)
951 --enable-html use wxHTML sub-library
952 --enable-htmlhelp use wxHTML-based help
953 --enable-xrc use XRC resources sub-library
954 --enable-constraints use layout-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl (Mac)
962 --enable-postscript use wxPostscriptDC device context (default for gtk+)
963 --enable-prologio not available; see contrib
964 --enable-resources not available; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile (Win32 only)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-dccache cache temporary wxDC objects (Win32 only)
1036 --enable-palette use wxPalette class
1037 --enable-image use wxImage class
1038 --enable-gif use gif images (GIF file format)
1039 --enable-pcx use pcx images (PCX file format)
1040 --enable-iff use iff images (IFF file format)
1041 --enable-pnm use pnm images (PNM file format)
1042 --enable-xpm use xpm images (XPM file format)
1043 --enable-icocur use Windows ICO and CUR formats
1044 --enable-official_build official build of wxWidgets (win32 DLL only)
1045 --enable-vendor=VENDOR vendor name (win32 DLL only)
1046 --disable-largefile omit support for large files
1047 --disable-gtktest do not try to compile and run a test GTK+ program
1048 --disable-gtktest Do not try to compile and run a test GTK program
1049 --disable-sdltest Do not try to compile and run a test SDL program
1050 --enable-omf use OMF object format (OS/2)
1051 --disable-precomp-headers
1052 don't use precompiled headers even if compiler can
1053
1054 Optional Packages:
1055 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1056 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1057 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1058 --with-motif use Motif/Lesstif
1059 --with-mac use Mac OS X
1060 --with-cocoa use Cocoa
1061 --with-wine use Wine
1062 --with-msw use MS-Windows
1063 --with-pm use OS/2 Presentation Manager
1064 --with-mgl use SciTech MGL
1065 --with-microwin use MicroWindows
1066 --with-x11 use X11
1067 --with-libpng use libpng (PNG image format)
1068 --with-libjpeg use libjpeg (JPEG file format)
1069 --with-libtiff use libtiff (TIFF file format)
1070 --with-libxpm use libxpm (XPM file format)
1071 --with-libmspack use libmspack (CHM help files loading)
1072 --with-sdl use SDL for audio on Unix
1073 --with-gnomeprint use GNOME print for printing under Unix
1074 --with-opengl use OpenGL (or Mesa)
1075 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1076 --with-regex enable support for wxRegEx class
1077 --with-zlib use zlib for LZW compression
1078 --with-odbc use the IODBC and wxODBC classes
1079 --with-expat enable XML support using expat parser
1080 --with-flavour=NAME specify a name to identify this build
1081 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1082 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1083 --with-x use the X Window System
1084 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1085 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1086 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1087 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1088 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1089
1090 Some influential environment variables:
1091 CC C compiler command
1092 CFLAGS C compiler flags
1093 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1094 nonstandard directory <lib dir>
1095 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1096 headers in a nonstandard directory <include dir>
1097 CPP C preprocessor
1098 CXX C++ compiler command
1099 CXXFLAGS C++ compiler flags
1100 CXXCPP C++ preprocessor
1101
1102 Use these variables to override the choices made by `configure' or to help
1103 it to find libraries and programs with nonstandard names/locations.
1104
1105 Report bugs to <wx-dev@lists.wxwidgets.org>.
1106 _ACEOF
1107 fi
1108
1109 if test "$ac_init_help" = "recursive"; then
1110 # If there are subdirs, report their specific --help.
1111 ac_popdir=`pwd`
1112 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1113 test -d $ac_dir || continue
1114 ac_builddir=.
1115
1116 if test "$ac_dir" != .; then
1117 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1118 # A "../" for each directory in $ac_dir_suffix.
1119 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1120 else
1121 ac_dir_suffix= ac_top_builddir=
1122 fi
1123
1124 case $srcdir in
1125 .) # No --srcdir option. We are building in place.
1126 ac_srcdir=.
1127 if test -z "$ac_top_builddir"; then
1128 ac_top_srcdir=.
1129 else
1130 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1131 fi ;;
1132 [\\/]* | ?:[\\/]* ) # Absolute path.
1133 ac_srcdir=$srcdir$ac_dir_suffix;
1134 ac_top_srcdir=$srcdir ;;
1135 *) # Relative path.
1136 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1137 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1138 esac
1139
1140 # Do not use `cd foo && pwd` to compute absolute paths, because
1141 # the directories may not exist.
1142 case `pwd` in
1143 .) ac_abs_builddir="$ac_dir";;
1144 *)
1145 case "$ac_dir" in
1146 .) ac_abs_builddir=`pwd`;;
1147 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1148 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1149 esac;;
1150 esac
1151 case $ac_abs_builddir in
1152 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1153 *)
1154 case ${ac_top_builddir}. in
1155 .) ac_abs_top_builddir=$ac_abs_builddir;;
1156 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1157 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1158 esac;;
1159 esac
1160 case $ac_abs_builddir in
1161 .) ac_abs_srcdir=$ac_srcdir;;
1162 *)
1163 case $ac_srcdir in
1164 .) ac_abs_srcdir=$ac_abs_builddir;;
1165 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1166 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1167 esac;;
1168 esac
1169 case $ac_abs_builddir in
1170 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1171 *)
1172 case $ac_top_srcdir in
1173 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1174 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1175 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1176 esac;;
1177 esac
1178
1179 cd $ac_dir
1180 # Check for guested configure; otherwise get Cygnus style configure.
1181 if test -f $ac_srcdir/configure.gnu; then
1182 echo
1183 $SHELL $ac_srcdir/configure.gnu --help=recursive
1184 elif test -f $ac_srcdir/configure; then
1185 echo
1186 $SHELL $ac_srcdir/configure --help=recursive
1187 elif test -f $ac_srcdir/configure.ac ||
1188 test -f $ac_srcdir/configure.in; then
1189 echo
1190 $ac_configure --help
1191 else
1192 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1193 fi
1194 cd "$ac_popdir"
1195 done
1196 fi
1197
1198 test -n "$ac_init_help" && exit 0
1199 if $ac_init_version; then
1200 cat <<\_ACEOF
1201 wxWidgets configure 2.6.2
1202 generated by GNU Autoconf 2.59
1203
1204 Copyright (C) 2003 Free Software Foundation, Inc.
1205 This configure script is free software; the Free Software Foundation
1206 gives unlimited permission to copy, distribute and modify it.
1207 _ACEOF
1208 exit 0
1209 fi
1210 exec 5>config.log
1211 cat >&5 <<_ACEOF
1212 This file contains any messages produced by compilers while
1213 running configure, to aid debugging if configure makes a mistake.
1214
1215 It was created by wxWidgets $as_me 2.6.2, which was
1216 generated by GNU Autoconf 2.59. Invocation command line was
1217
1218 $ $0 $@
1219
1220 _ACEOF
1221 {
1222 cat <<_ASUNAME
1223 ## --------- ##
1224 ## Platform. ##
1225 ## --------- ##
1226
1227 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1228 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1229 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1230 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1231 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1232
1233 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1234 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1235
1236 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1237 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1238 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1239 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1240 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1241 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1242 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1243
1244 _ASUNAME
1245
1246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1247 for as_dir in $PATH
1248 do
1249 IFS=$as_save_IFS
1250 test -z "$as_dir" && as_dir=.
1251 echo "PATH: $as_dir"
1252 done
1253
1254 } >&5
1255
1256 cat >&5 <<_ACEOF
1257
1258
1259 ## ----------- ##
1260 ## Core tests. ##
1261 ## ----------- ##
1262
1263 _ACEOF
1264
1265
1266 # Keep a trace of the command line.
1267 # Strip out --no-create and --no-recursion so they do not pile up.
1268 # Strip out --silent because we don't want to record it for future runs.
1269 # Also quote any args containing shell meta-characters.
1270 # Make two passes to allow for proper duplicate-argument suppression.
1271 ac_configure_args=
1272 ac_configure_args0=
1273 ac_configure_args1=
1274 ac_sep=
1275 ac_must_keep_next=false
1276 for ac_pass in 1 2
1277 do
1278 for ac_arg
1279 do
1280 case $ac_arg in
1281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1283 | -silent | --silent | --silen | --sile | --sil)
1284 continue ;;
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1287 esac
1288 case $ac_pass in
1289 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1290 2)
1291 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1292 if test $ac_must_keep_next = true; then
1293 ac_must_keep_next=false # Got value, back to normal.
1294 else
1295 case $ac_arg in
1296 *=* | --config-cache | -C | -disable-* | --disable-* \
1297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1299 | -with-* | --with-* | -without-* | --without-* | --x)
1300 case "$ac_configure_args0 " in
1301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1302 esac
1303 ;;
1304 -* ) ac_must_keep_next=true ;;
1305 esac
1306 fi
1307 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1308 # Get rid of the leading space.
1309 ac_sep=" "
1310 ;;
1311 esac
1312 done
1313 done
1314 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1315 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1316
1317 # When interrupted or exit'd, cleanup temporary files, and complete
1318 # config.log. We remove comments because anyway the quotes in there
1319 # would cause problems or look ugly.
1320 # WARNING: Be sure not to use single quotes in there, as some shells,
1321 # such as our DU 5.0 friend, will then `close' the trap.
1322 trap 'exit_status=$?
1323 # Save into config.log some information that might help in debugging.
1324 {
1325 echo
1326
1327 cat <<\_ASBOX
1328 ## ---------------- ##
1329 ## Cache variables. ##
1330 ## ---------------- ##
1331 _ASBOX
1332 echo
1333 # The following way of writing the cache mishandles newlines in values,
1334 {
1335 (set) 2>&1 |
1336 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1337 *ac_space=\ *)
1338 sed -n \
1339 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1341 ;;
1342 *)
1343 sed -n \
1344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1345 ;;
1346 esac;
1347 }
1348 echo
1349
1350 cat <<\_ASBOX
1351 ## ----------------- ##
1352 ## Output variables. ##
1353 ## ----------------- ##
1354 _ASBOX
1355 echo
1356 for ac_var in $ac_subst_vars
1357 do
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1360 done | sort
1361 echo
1362
1363 if test -n "$ac_subst_files"; then
1364 cat <<\_ASBOX
1365 ## ------------- ##
1366 ## Output files. ##
1367 ## ------------- ##
1368 _ASBOX
1369 echo
1370 for ac_var in $ac_subst_files
1371 do
1372 eval ac_val=$`echo $ac_var`
1373 echo "$ac_var='"'"'$ac_val'"'"'"
1374 done | sort
1375 echo
1376 fi
1377
1378 if test -s confdefs.h; then
1379 cat <<\_ASBOX
1380 ## ----------- ##
1381 ## confdefs.h. ##
1382 ## ----------- ##
1383 _ASBOX
1384 echo
1385 sed "/^$/d" confdefs.h | sort
1386 echo
1387 fi
1388 test "$ac_signal" != 0 &&
1389 echo "$as_me: caught signal $ac_signal"
1390 echo "$as_me: exit $exit_status"
1391 } >&5
1392 rm -f core *.core &&
1393 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1394 exit $exit_status
1395 ' 0
1396 for ac_signal in 1 2 13 15; do
1397 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1398 done
1399 ac_signal=0
1400
1401 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1402 rm -rf conftest* confdefs.h
1403 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1404 echo >confdefs.h
1405
1406 # Predefined preprocessor variables.
1407
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_NAME "$PACKAGE_NAME"
1410 _ACEOF
1411
1412
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1415 _ACEOF
1416
1417
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1420 _ACEOF
1421
1422
1423 cat >>confdefs.h <<_ACEOF
1424 #define PACKAGE_STRING "$PACKAGE_STRING"
1425 _ACEOF
1426
1427
1428 cat >>confdefs.h <<_ACEOF
1429 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1430 _ACEOF
1431
1432
1433 # Let the site file select an alternate cache file if it wants to.
1434 # Prefer explicitly selected file to automatically selected ones.
1435 if test -z "$CONFIG_SITE"; then
1436 if test "x$prefix" != xNONE; then
1437 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1438 else
1439 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1440 fi
1441 fi
1442 for ac_site_file in $CONFIG_SITE; do
1443 if test -r "$ac_site_file"; then
1444 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1445 echo "$as_me: loading site script $ac_site_file" >&6;}
1446 sed 's/^/| /' "$ac_site_file" >&5
1447 . "$ac_site_file"
1448 fi
1449 done
1450
1451 if test -r "$cache_file"; then
1452 # Some versions of bash will fail to source /dev/null (special
1453 # files actually), so we avoid doing that.
1454 if test -f "$cache_file"; then
1455 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1456 echo "$as_me: loading cache $cache_file" >&6;}
1457 case $cache_file in
1458 [\\/]* | ?:[\\/]* ) . $cache_file;;
1459 *) . ./$cache_file;;
1460 esac
1461 fi
1462 else
1463 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1464 echo "$as_me: creating cache $cache_file" >&6;}
1465 >$cache_file
1466 fi
1467
1468 # Check that the precious variables saved in the cache have kept the same
1469 # value.
1470 ac_cache_corrupted=false
1471 for ac_var in `(set) 2>&1 |
1472 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1473 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1474 eval ac_new_set=\$ac_env_${ac_var}_set
1475 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1476 eval ac_new_val="\$ac_env_${ac_var}_value"
1477 case $ac_old_set,$ac_new_set in
1478 set,)
1479 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1480 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1481 ac_cache_corrupted=: ;;
1482 ,set)
1483 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1484 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1485 ac_cache_corrupted=: ;;
1486 ,);;
1487 *)
1488 if test "x$ac_old_val" != "x$ac_new_val"; then
1489 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1490 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1491 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1492 echo "$as_me: former value: $ac_old_val" >&2;}
1493 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1494 echo "$as_me: current value: $ac_new_val" >&2;}
1495 ac_cache_corrupted=:
1496 fi;;
1497 esac
1498 # Pass precious variables to config.status.
1499 if test "$ac_new_set" = set; then
1500 case $ac_new_val in
1501 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 *) ac_arg=$ac_var=$ac_new_val ;;
1504 esac
1505 case " $ac_configure_args " in
1506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1507 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1508 esac
1509 fi
1510 done
1511 if $ac_cache_corrupted; then
1512 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1513 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1514 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1515 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1516 { (exit 1); exit 1; }; }
1517 fi
1518
1519 ac_ext=c
1520 ac_cpp='$CPP $CPPFLAGS'
1521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554 ac_aux_dir=
1555 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1556 if test -f $ac_dir/install-sh; then
1557 ac_aux_dir=$ac_dir
1558 ac_install_sh="$ac_aux_dir/install-sh -c"
1559 break
1560 elif test -f $ac_dir/install.sh; then
1561 ac_aux_dir=$ac_dir
1562 ac_install_sh="$ac_aux_dir/install.sh -c"
1563 break
1564 elif test -f $ac_dir/shtool; then
1565 ac_aux_dir=$ac_dir
1566 ac_install_sh="$ac_aux_dir/shtool install -c"
1567 break
1568 fi
1569 done
1570 if test -z "$ac_aux_dir"; then
1571 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1572 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1573 { (exit 1); exit 1; }; }
1574 fi
1575 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1576 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1577 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1578
1579 # Make sure we can run config.sub.
1580 $ac_config_sub sun4 >/dev/null 2>&1 ||
1581 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1582 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1583 { (exit 1); exit 1; }; }
1584
1585 echo "$as_me:$LINENO: checking build system type" >&5
1586 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1587 if test "${ac_cv_build+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 else
1590 ac_cv_build_alias=$build_alias
1591 test -z "$ac_cv_build_alias" &&
1592 ac_cv_build_alias=`$ac_config_guess`
1593 test -z "$ac_cv_build_alias" &&
1594 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1595 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1596 { (exit 1); exit 1; }; }
1597 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1598 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1599 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1600 { (exit 1); exit 1; }; }
1601
1602 fi
1603 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1604 echo "${ECHO_T}$ac_cv_build" >&6
1605 build=$ac_cv_build
1606 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1607 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1608 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1609
1610
1611 echo "$as_me:$LINENO: checking host system type" >&5
1612 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1613 if test "${ac_cv_host+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 else
1616 ac_cv_host_alias=$host_alias
1617 test -z "$ac_cv_host_alias" &&
1618 ac_cv_host_alias=$ac_cv_build_alias
1619 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1620 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1621 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1622 { (exit 1); exit 1; }; }
1623
1624 fi
1625 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1626 echo "${ECHO_T}$ac_cv_host" >&6
1627 host=$ac_cv_host
1628 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1629 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1630 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1631
1632
1633 echo "$as_me:$LINENO: checking target system type" >&5
1634 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1635 if test "${ac_cv_target+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 else
1638 ac_cv_target_alias=$target_alias
1639 test "x$ac_cv_target_alias" = "x" &&
1640 ac_cv_target_alias=$ac_cv_host_alias
1641 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1642 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1643 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1644 { (exit 1); exit 1; }; }
1645
1646 fi
1647 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1648 echo "${ECHO_T}$ac_cv_target" >&6
1649 target=$ac_cv_target
1650 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1651 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1652 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1653
1654
1655 # The aliases save the names the user supplied, while $host etc.
1656 # will get canonicalized.
1657 test -n "$target_alias" &&
1658 test "$program_prefix$program_suffix$program_transform_name" = \
1659 NONENONEs,x,x, &&
1660 program_prefix=${target_alias}-
1661
1662
1663
1664 wx_major_version_number=2
1665 wx_minor_version_number=6
1666 wx_release_number=2
1667 wx_subrelease_number=1
1668
1669 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1670 WX_VERSION=$WX_RELEASE.$wx_release_number
1671 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1672
1673 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1674
1675
1676
1677
1678 USE_UNIX=1
1679 USE_OS2=0
1680 USE_WIN32=0
1681 USE_DOS=0
1682 USE_BEOS=0
1683 USE_MAC=0
1684
1685 USE_AIX=
1686 USE_BSD= USE_DARWIN= USE_FREEBSD=
1687 USE_GNU= USE_HPUX=
1688 USE_LINUX=
1689 USE_NETBSD=
1690 USE_OPENBSD=
1691 USE_OSF= USE_SGI=
1692 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1693 USE_ULTRIX=
1694 USE_UNIXWARE=
1695
1696 USE_ALPHA=
1697
1698 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1699
1700 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1701
1702 DEFAULT_wxUSE_COCOA=0
1703 DEFAULT_wxUSE_GTK=0
1704 DEFAULT_wxUSE_MAC=0
1705 DEFAULT_wxUSE_MGL=0
1706 DEFAULT_wxUSE_MICROWIN=0
1707 DEFAULT_wxUSE_MOTIF=0
1708 DEFAULT_wxUSE_MSW=0
1709 DEFAULT_wxUSE_PM=0
1710 DEFAULT_wxUSE_X11=0
1711
1712 DEFAULT_DEFAULT_wxUSE_COCOA=0
1713 DEFAULT_DEFAULT_wxUSE_GTK=0
1714 DEFAULT_DEFAULT_wxUSE_MAC=0
1715 DEFAULT_DEFAULT_wxUSE_MGL=0
1716 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1717 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1718 DEFAULT_DEFAULT_wxUSE_MSW=0
1719 DEFAULT_DEFAULT_wxUSE_PM=0
1720 DEFAULT_DEFAULT_wxUSE_X11=0
1721
1722 PROGRAM_EXT=
1723 SO_SUFFIX=so
1724 SAMPLES_RPATH_FLAG=
1725 SAMPLES_RPATH_POSTLINK=
1726
1727 DEFAULT_STD_FLAG=yes
1728
1729 case "${host}" in
1730 *-hp-hpux* )
1731 USE_HPUX=1
1732 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1733 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1734 SO_SUFFIX=sl
1735 cat >>confdefs.h <<\_ACEOF
1736 #define __HPUX__ 1
1737 _ACEOF
1738
1739 ;;
1740 *-*-linux* )
1741 USE_LINUX=1
1742 cat >>confdefs.h <<\_ACEOF
1743 #define __LINUX__ 1
1744 _ACEOF
1745
1746 TMP=`uname -m`
1747 if test "x$TMP" = "xalpha"; then
1748 USE_ALPHA=1
1749 cat >>confdefs.h <<\_ACEOF
1750 #define __ALPHA__ 1
1751 _ACEOF
1752
1753 fi
1754 DEFAULT_DEFAULT_wxUSE_GTK=1
1755 ;;
1756 *-*-gnu* | *-*-k*bsd*-gnu )
1757 USE_GNU=1
1758 TMP=`uname -m`
1759 if test "x$TMP" = "xalpha"; then
1760 USE_ALPHA=1
1761 cat >>confdefs.h <<\_ACEOF
1762 #define __ALPHA__ 1
1763 _ACEOF
1764
1765 fi
1766 DEFAULT_DEFAULT_wxUSE_GTK=1
1767 ;;
1768 *-*-irix5* | *-*-irix6* )
1769 USE_SGI=1
1770 USE_SVR4=1
1771 cat >>confdefs.h <<\_ACEOF
1772 #define __SGI__ 1
1773 _ACEOF
1774
1775 cat >>confdefs.h <<\_ACEOF
1776 #define __SVR4__ 1
1777 _ACEOF
1778
1779 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1780 ;;
1781 *-*-solaris2* )
1782 USE_SUN=1
1783 USE_SOLARIS=1
1784 USE_SVR4=1
1785 cat >>confdefs.h <<\_ACEOF
1786 #define __SUN__ 1
1787 _ACEOF
1788
1789 cat >>confdefs.h <<\_ACEOF
1790 #define __SOLARIS__ 1
1791 _ACEOF
1792
1793 cat >>confdefs.h <<\_ACEOF
1794 #define __SVR4__ 1
1795 _ACEOF
1796
1797 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1798 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1799 ;;
1800 *-*-sunos4* )
1801 USE_SUN=1
1802 USE_SUNOS=1
1803 USE_BSD=1
1804 cat >>confdefs.h <<\_ACEOF
1805 #define __SUN__ 1
1806 _ACEOF
1807
1808 cat >>confdefs.h <<\_ACEOF
1809 #define __SUNOS__ 1
1810 _ACEOF
1811
1812 cat >>confdefs.h <<\_ACEOF
1813 #define __BSD__ 1
1814 _ACEOF
1815
1816 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1817 ;;
1818 *-*-freebsd*)
1819 USE_BSD=1
1820 USE_FREEBSD=1
1821 cat >>confdefs.h <<\_ACEOF
1822 #define __FREEBSD__ 1
1823 _ACEOF
1824
1825 cat >>confdefs.h <<\_ACEOF
1826 #define __BSD__ 1
1827 _ACEOF
1828
1829 DEFAULT_DEFAULT_wxUSE_GTK=1
1830 ;;
1831 *-*-openbsd*)
1832 USE_BSD=1
1833 USE_OPENBSD=1
1834 cat >>confdefs.h <<\_ACEOF
1835 #define __OPENBSD__ 1
1836 _ACEOF
1837
1838 cat >>confdefs.h <<\_ACEOF
1839 #define __BSD__ 1
1840 _ACEOF
1841
1842 DEFAULT_DEFAULT_wxUSE_GTK=1
1843 ;;
1844 *-*-netbsd*)
1845 USE_BSD=1
1846 USE_NETBSD=1
1847 cat >>confdefs.h <<\_ACEOF
1848 #define __NETBSD__ 1
1849 _ACEOF
1850
1851 cat >>confdefs.h <<\_ACEOF
1852 #define __BSD__ 1
1853 _ACEOF
1854
1855 DEFAULT_DEFAULT_wxUSE_GTK=1
1856 ;;
1857 *-*-osf* )
1858 USE_ALPHA=1
1859 USE_OSF=1
1860 cat >>confdefs.h <<\_ACEOF
1861 #define __ALPHA__ 1
1862 _ACEOF
1863
1864 cat >>confdefs.h <<\_ACEOF
1865 #define __OSF__ 1
1866 _ACEOF
1867
1868 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1869 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1870 ;;
1871 *-*-dgux5* )
1872 USE_ALPHA=1
1873 USE_SVR4=1
1874 cat >>confdefs.h <<\_ACEOF
1875 #define __ALPHA__ 1
1876 _ACEOF
1877
1878 cat >>confdefs.h <<\_ACEOF
1879 #define __SVR4__ 1
1880 _ACEOF
1881
1882 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1883 ;;
1884 *-*-sysv5* )
1885 USE_SYSV=1
1886 USE_SVR4=1
1887 cat >>confdefs.h <<\_ACEOF
1888 #define __SYSV__ 1
1889 _ACEOF
1890
1891 cat >>confdefs.h <<\_ACEOF
1892 #define __SVR4__ 1
1893 _ACEOF
1894
1895 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1896 ;;
1897 *-*-aix* )
1898 USE_AIX=1
1899 USE_SYSV=1
1900 USE_SVR4=1
1901 SO_SUFFIX=a
1902 cat >>confdefs.h <<\_ACEOF
1903 #define __AIX__ 1
1904 _ACEOF
1905
1906 cat >>confdefs.h <<\_ACEOF
1907 #define __SYSV__ 1
1908 _ACEOF
1909
1910 cat >>confdefs.h <<\_ACEOF
1911 #define __SVR4__ 1
1912 _ACEOF
1913
1914 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1915 ;;
1916
1917 *-*-*UnixWare*)
1918 USE_SYSV=1
1919 USE_SVR4=1
1920 USE_UNIXWARE=1
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __UNIXWARE__ 1
1923 _ACEOF
1924
1925 ;;
1926
1927 *-*-cygwin* | *-*-mingw32* )
1928 SO_SUFFIX=dll
1929 PROGRAM_EXT=".exe"
1930 RESCOMP=windres
1931 DEFAULT_DEFAULT_wxUSE_MSW=1
1932 DEFAULT_STD_FLAG=no
1933 ;;
1934
1935 *-pc-msdosdjgpp )
1936 USE_UNIX=0
1937 USE_DOS=1
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __DOS__ 1
1940 _ACEOF
1941
1942 PROGRAM_EXT=".exe"
1943 DEFAULT_DEFAULT_wxUSE_MGL=1
1944 ;;
1945
1946 *-pc-os2_emx | *-pc-os2-emx )
1947 cat >>confdefs.h <<\_ACEOF
1948 #define __EMX__ 1
1949 _ACEOF
1950
1951 USE_OS2=1
1952 cat >>confdefs.h <<\_ACEOF
1953 #define __OS2__ 1
1954 _ACEOF
1955
1956 PROGRAM_EXT=".exe"
1957 DEFAULT_DEFAULT_wxUSE_PM=1
1958 CXX=gcc
1959 LDFLAGS="$LDFLAGS -Zcrtdll"
1960 ac_executable_extensions=".exe"
1961 export ac_executable_extensions
1962 ac_save_IFS="$IFS"
1963 IFS='\\'
1964 ac_TEMP_PATH=
1965 for ac_dir in $PATH; do
1966 IFS=$ac_save_IFS
1967 if test -z "$ac_TEMP_PATH"; then
1968 ac_TEMP_PATH="$ac_dir"
1969 else
1970 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1971 fi
1972 done
1973 export PATH="$ac_TEMP_PATH"
1974 unset ac_TEMP_PATH
1975 DEFAULT_STD_FLAG=no
1976 ;;
1977
1978 *-*-darwin* )
1979 USE_BSD=1
1980 USE_DARWIN=1
1981 SO_SUFFIX=dylib
1982 cat >>confdefs.h <<\_ACEOF
1983 #define __BSD__ 1
1984 _ACEOF
1985
1986 cat >>confdefs.h <<\_ACEOF
1987 #define __DARWIN__ 1
1988 _ACEOF
1989
1990 cat >>confdefs.h <<\_ACEOF
1991 #define TARGET_CARBON 1
1992 _ACEOF
1993
1994 DEFAULT_DEFAULT_wxUSE_MAC=1
1995 DEFAULT_STD_FLAG=no
1996 ;;
1997 powerpc-apple-macos* )
1998 USE_UNIX=0
1999 ac_cv_c_bigendian=yes
2000 SO_SUFFIX=shlib
2001 DEFAULT_DEFAULT_wxUSE_MAC=1
2002 DEFAULT_STD_FLAG=no
2003 ;;
2004
2005 *-*-beos* )
2006 USE_BEOS=1
2007 cat >>confdefs.h <<\_ACEOF
2008 #define __BEOS__ 1
2009 _ACEOF
2010
2011 ;;
2012
2013 *)
2014 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2015 echo "$as_me: error: unknown system type ${host}." >&2;}
2016 { (exit 1); exit 1; }; }
2017 esac
2018
2019
2020
2021
2022 wx_arg_cache_file="configarg.cache"
2023 echo "loading argument cache $wx_arg_cache_file"
2024 rm -f ${wx_arg_cache_file}.tmp
2025 touch ${wx_arg_cache_file}.tmp
2026 touch ${wx_arg_cache_file}
2027
2028
2029 DEBUG_CONFIGURE=0
2030 if test $DEBUG_CONFIGURE = 1; then
2031 DEFAULT_wxUSE_UNIVERSAL=no
2032 DEFAULT_wxUSE_STL=no
2033
2034 DEFAULT_wxUSE_NANOX=no
2035
2036 DEFAULT_wxUSE_THREADS=yes
2037
2038 DEFAULT_wxUSE_SHARED=yes
2039 DEFAULT_wxUSE_OPTIMISE=no
2040 DEFAULT_wxUSE_PROFILE=no
2041 DEFAULT_wxUSE_NO_DEPS=no
2042 DEFAULT_wxUSE_NO_RTTI=no
2043 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2044 DEFAULT_wxUSE_RPATH=yes
2045 DEFAULT_wxUSE_PERMISSIVE=no
2046 DEFAULT_wxUSE_DEBUG_FLAG=yes
2047 DEFAULT_wxUSE_DEBUG_INFO=yes
2048 DEFAULT_wxUSE_DEBUG_GDB=yes
2049 DEFAULT_wxUSE_MEM_TRACING=no
2050 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2051 DEFAULT_wxUSE_DMALLOC=no
2052 DEFAULT_wxUSE_APPLE_IEEE=no
2053
2054 DEFAULT_wxUSE_EXCEPTIONS=no
2055 DEFAULT_wxUSE_LOG=yes
2056 DEFAULT_wxUSE_LOGWINDOW=no
2057 DEFAULT_wxUSE_LOGGUI=no
2058 DEFAULT_wxUSE_LOGDIALOG=no
2059
2060 DEFAULT_wxUSE_GUI=yes
2061 DEFAULT_wxUSE_CONTROLS=no
2062
2063 DEFAULT_wxUSE_REGEX=no
2064 DEFAULT_wxUSE_XML=no
2065 DEFAULT_wxUSE_EXPAT=no
2066 DEFAULT_wxUSE_ZLIB=no
2067 DEFAULT_wxUSE_LIBPNG=no
2068 DEFAULT_wxUSE_LIBJPEG=no
2069 DEFAULT_wxUSE_LIBTIFF=no
2070 DEFAULT_wxUSE_LIBXPM=no
2071 DEFAULT_wxUSE_LIBMSPACK=no
2072 DEFAULT_wxUSE_LIBSDL=no
2073 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2074 DEFAULT_wxUSE_ODBC=no
2075 DEFAULT_wxUSE_OPENGL=no
2076
2077 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2078 DEFAULT_wxUSE_STACKWALKER=no
2079 DEFAULT_wxUSE_DEBUGREPORT=no
2080 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2081 DEFAULT_wxUSE_STD_IOSTREAM=no
2082 DEFAULT_wxUSE_STD_STRING=no
2083 DEFAULT_wxUSE_CMDLINE_PARSER=no
2084 DEFAULT_wxUSE_DATETIME=no
2085 DEFAULT_wxUSE_TIMER=no
2086 DEFAULT_wxUSE_STOPWATCH=no
2087 DEFAULT_wxUSE_FILE=no
2088 DEFAULT_wxUSE_FFILE=no
2089 DEFAULT_wxUSE_STDPATHS=no
2090 DEFAULT_wxUSE_TEXTBUFFER=no
2091 DEFAULT_wxUSE_TEXTFILE=no
2092 DEFAULT_wxUSE_SOUND=no
2093 DEFAULT_wxUSE_MEDIACTRL=no
2094 DEFAULT_wxUSE_INTL=no
2095 DEFAULT_wxUSE_CONFIG=no
2096 DEFAULT_wxUSE_FONTMAP=no
2097 DEFAULT_wxUSE_STREAMS=no
2098 DEFAULT_wxUSE_SOCKETS=no
2099 DEFAULT_wxUSE_OLE=no
2100 DEFAULT_wxUSE_DATAOBJ=no
2101 DEFAULT_wxUSE_DIALUP_MANAGER=no
2102 DEFAULT_wxUSE_JOYSTICK=no
2103 DEFAULT_wxUSE_DYNLIB_CLASS=no
2104 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2105 DEFAULT_wxUSE_LONGLONG=no
2106 DEFAULT_wxUSE_GEOMETRY=no
2107
2108 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2109 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2110 DEFAULT_wxUSE_POSTSCRIPT=no
2111
2112 DEFAULT_wxUSE_CLIPBOARD=no
2113 DEFAULT_wxUSE_TOOLTIPS=no
2114 DEFAULT_wxUSE_DRAG_AND_DROP=no
2115 DEFAULT_wxUSE_DRAGIMAGE=no
2116 DEFAULT_wxUSE_SPLINES=no
2117 DEFAULT_wxUSE_MOUSEWHEEL=no
2118
2119 DEFAULT_wxUSE_MDI=no
2120 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2121 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2122 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2123
2124 DEFAULT_wxUSE_RESOURCES=no
2125 DEFAULT_wxUSE_CONSTRAINTS=no
2126 DEFAULT_wxUSE_IPC=no
2127 DEFAULT_wxUSE_HELP=no
2128 DEFAULT_wxUSE_MS_HTML_HELP=no
2129 DEFAULT_wxUSE_WXHTML_HELP=no
2130 DEFAULT_wxUSE_TREELAYOUT=no
2131 DEFAULT_wxUSE_METAFILE=no
2132 DEFAULT_wxUSE_MIMETYPE=no
2133 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2134 DEFAULT_wxUSE_PROTOCOL=no
2135 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2136 DEFAULT_wxUSE_PROTOCOL_FTP=no
2137 DEFAULT_wxUSE_PROTOCOL_FILE=no
2138 DEFAULT_wxUSE_URL=no
2139
2140 DEFAULT_wxUSE_COMMONDLGS=no
2141 DEFAULT_wxUSE_CHOICEDLG=no
2142 DEFAULT_wxUSE_COLOURDLG=no
2143 DEFAULT_wxUSE_DIRDLG=no
2144 DEFAULT_wxUSE_FILEDLG=no
2145 DEFAULT_wxUSE_FINDREPLDLG=no
2146 DEFAULT_wxUSE_FONTDLG=no
2147 DEFAULT_wxUSE_MSGDLG=no
2148 DEFAULT_wxUSE_NUMBERDLG=no
2149 DEFAULT_wxUSE_TEXTDLG=no
2150 DEFAULT_wxUSE_SPLASH=no
2151 DEFAULT_wxUSE_STARTUP_TIPS=no
2152 DEFAULT_wxUSE_PROGRESSDLG=no
2153 DEFAULT_wxUSE_WIZARDDLG=no
2154
2155 DEFAULT_wxUSE_MENUS=no
2156 DEFAULT_wxUSE_MINIFRAME=no
2157 DEFAULT_wxUSE_HTML=no
2158 DEFAULT_wxUSE_XRC=no
2159 DEFAULT_wxUSE_WEBKIT=no
2160 DEFAULT_wxUSE_FILESYSTEM=no
2161 DEFAULT_wxUSE_FS_INET=no
2162 DEFAULT_wxUSE_FS_ZIP=no
2163 DEFAULT_wxUSE_BUSYINFO=no
2164 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2165 DEFAULT_wxUSE_ZIPSTREAM=no
2166 DEFAULT_wxUSE_VALIDATORS=no
2167
2168 DEFAULT_wxUSE_ACCEL=no
2169 DEFAULT_wxUSE_BUTTON=no
2170 DEFAULT_wxUSE_BMPBUTTON=no
2171 DEFAULT_wxUSE_CALCTRL=no
2172 DEFAULT_wxUSE_CARET=no
2173 DEFAULT_wxUSE_CHECKBOX=no
2174 DEFAULT_wxUSE_CHECKLST=no
2175 DEFAULT_wxUSE_CHOICE=no
2176 DEFAULT_wxUSE_CHOICEBOOK=no
2177 DEFAULT_wxUSE_COMBOBOX=no
2178 DEFAULT_wxUSE_DATEPICKCTRL=no
2179 DEFAULT_wxUSE_DISPLAY=no
2180 DEFAULT_wxUSE_GAUGE=no
2181 DEFAULT_wxUSE_GRID=no
2182 DEFAULT_wxUSE_IMAGLIST=no
2183 DEFAULT_wxUSE_LISTBOOK=no
2184 DEFAULT_wxUSE_LISTBOX=no
2185 DEFAULT_wxUSE_LISTCTRL=no
2186 DEFAULT_wxUSE_NOTEBOOK=no
2187 DEFAULT_wxUSE_RADIOBOX=no
2188 DEFAULT_wxUSE_RADIOBTN=no
2189 DEFAULT_wxUSE_SASH=no
2190 DEFAULT_wxUSE_SCROLLBAR=no
2191 DEFAULT_wxUSE_SLIDER=no
2192 DEFAULT_wxUSE_SPINBTN=no
2193 DEFAULT_wxUSE_SPINCTRL=no
2194 DEFAULT_wxUSE_SPLITTER=no
2195 DEFAULT_wxUSE_STATBMP=no
2196 DEFAULT_wxUSE_STATBOX=no
2197 DEFAULT_wxUSE_STATLINE=no
2198 DEFAULT_wxUSE_STATTEXT=no
2199 DEFAULT_wxUSE_STATUSBAR=yes
2200 DEFAULT_wxUSE_TABDIALOG=no
2201 DEFAULT_wxUSE_TEXTCTRL=no
2202 DEFAULT_wxUSE_TOGGLEBTN=no
2203 DEFAULT_wxUSE_TOOLBAR=no
2204 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2205 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2206 DEFAULT_wxUSE_TREECTRL=no
2207 DEFAULT_wxUSE_POPUPWIN=no
2208 DEFAULT_wxUSE_TIPWINDOW=no
2209
2210 DEFAULT_wxUSE_UNICODE=no
2211 DEFAULT_wxUSE_UNICODE_MSLU=no
2212 DEFAULT_wxUSE_WCSRTOMBS=no
2213
2214 DEFAULT_wxUSE_PALETTE=no
2215 DEFAULT_wxUSE_IMAGE=no
2216 DEFAULT_wxUSE_GIF=no
2217 DEFAULT_wxUSE_PCX=no
2218 DEFAULT_wxUSE_PNM=no
2219 DEFAULT_wxUSE_IFF=no
2220 DEFAULT_wxUSE_XPM=no
2221 DEFAULT_wxUSE_ICO_CUR=no
2222 DEFAULT_wxUSE_ACCESSIBILITY=no
2223
2224 DEFAULT_wxUSE_MONOLITHIC=no
2225 DEFAULT_wxUSE_PLUGINS=no
2226 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2227 else
2228 DEFAULT_wxUSE_UNIVERSAL=no
2229 DEFAULT_wxUSE_STL=no
2230
2231 DEFAULT_wxUSE_NANOX=no
2232
2233 DEFAULT_wxUSE_THREADS=yes
2234
2235 DEFAULT_wxUSE_SHARED=yes
2236 DEFAULT_wxUSE_OPTIMISE=yes
2237 DEFAULT_wxUSE_PROFILE=no
2238 DEFAULT_wxUSE_NO_DEPS=no
2239 DEFAULT_wxUSE_NO_RTTI=no
2240 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2241 DEFAULT_wxUSE_RPATH=yes
2242 DEFAULT_wxUSE_PERMISSIVE=no
2243 DEFAULT_wxUSE_DEBUG_FLAG=no
2244 DEFAULT_wxUSE_DEBUG_INFO=no
2245 DEFAULT_wxUSE_DEBUG_GDB=no
2246 DEFAULT_wxUSE_MEM_TRACING=no
2247 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2248 DEFAULT_wxUSE_DMALLOC=no
2249 DEFAULT_wxUSE_APPLE_IEEE=yes
2250
2251 DEFAULT_wxUSE_EXCEPTIONS=yes
2252 DEFAULT_wxUSE_LOG=yes
2253 DEFAULT_wxUSE_LOGWINDOW=yes
2254 DEFAULT_wxUSE_LOGGUI=yes
2255 DEFAULT_wxUSE_LOGDIALOG=yes
2256
2257 DEFAULT_wxUSE_GUI=yes
2258
2259 DEFAULT_wxUSE_REGEX=yes
2260 DEFAULT_wxUSE_XML=yes
2261 DEFAULT_wxUSE_EXPAT=yes
2262 DEFAULT_wxUSE_ZLIB=yes
2263 DEFAULT_wxUSE_LIBPNG=yes
2264 DEFAULT_wxUSE_LIBJPEG=yes
2265 DEFAULT_wxUSE_LIBTIFF=yes
2266 DEFAULT_wxUSE_LIBXPM=yes
2267 DEFAULT_wxUSE_LIBMSPACK=yes
2268 DEFAULT_wxUSE_LIBSDL=no
2269 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2270 DEFAULT_wxUSE_ODBC=no
2271 DEFAULT_wxUSE_OPENGL=no
2272
2273 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2274 DEFAULT_wxUSE_STACKWALKER=yes
2275 DEFAULT_wxUSE_DEBUGREPORT=yes
2276 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2277 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2278 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2279 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2280 DEFAULT_wxUSE_DATETIME=yes
2281 DEFAULT_wxUSE_TIMER=yes
2282 DEFAULT_wxUSE_STOPWATCH=yes
2283 DEFAULT_wxUSE_FILE=yes
2284 DEFAULT_wxUSE_FFILE=yes
2285 DEFAULT_wxUSE_STDPATHS=yes
2286 DEFAULT_wxUSE_TEXTBUFFER=yes
2287 DEFAULT_wxUSE_TEXTFILE=yes
2288 DEFAULT_wxUSE_SOUND=yes
2289 DEFAULT_wxUSE_MEDIACTRL=no
2290 DEFAULT_wxUSE_INTL=yes
2291 DEFAULT_wxUSE_CONFIG=yes
2292 DEFAULT_wxUSE_FONTMAP=yes
2293 DEFAULT_wxUSE_STREAMS=yes
2294 DEFAULT_wxUSE_SOCKETS=yes
2295 DEFAULT_wxUSE_OLE=yes
2296 DEFAULT_wxUSE_DATAOBJ=yes
2297 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2298 DEFAULT_wxUSE_JOYSTICK=yes
2299 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2300 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2301 DEFAULT_wxUSE_LONGLONG=yes
2302 DEFAULT_wxUSE_GEOMETRY=yes
2303
2304 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2305 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2306 DEFAULT_wxUSE_POSTSCRIPT=yes
2307
2308 DEFAULT_wxUSE_CLIPBOARD=yes
2309 DEFAULT_wxUSE_TOOLTIPS=yes
2310 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2311 DEFAULT_wxUSE_DRAGIMAGE=yes
2312 DEFAULT_wxUSE_SPLINES=yes
2313 DEFAULT_wxUSE_MOUSEWHEEL=yes
2314
2315 DEFAULT_wxUSE_MDI=yes
2316 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2317 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2318 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2319
2320 DEFAULT_wxUSE_RESOURCES=no
2321 DEFAULT_wxUSE_CONSTRAINTS=yes
2322 DEFAULT_wxUSE_IPC=yes
2323 DEFAULT_wxUSE_HELP=yes
2324 DEFAULT_wxUSE_MS_HTML_HELP=yes
2325 DEFAULT_wxUSE_WXHTML_HELP=yes
2326 DEFAULT_wxUSE_TREELAYOUT=yes
2327 DEFAULT_wxUSE_METAFILE=yes
2328 DEFAULT_wxUSE_MIMETYPE=yes
2329 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2330 DEFAULT_wxUSE_PROTOCOL=yes
2331 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2332 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2333 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2334 DEFAULT_wxUSE_URL=yes
2335
2336 DEFAULT_wxUSE_COMMONDLGS=yes
2337 DEFAULT_wxUSE_CHOICEDLG=yes
2338 DEFAULT_wxUSE_COLOURDLG=yes
2339 DEFAULT_wxUSE_DIRDLG=yes
2340 DEFAULT_wxUSE_FILEDLG=yes
2341 DEFAULT_wxUSE_FINDREPLDLG=yes
2342 DEFAULT_wxUSE_FONTDLG=yes
2343 DEFAULT_wxUSE_MSGDLG=yes
2344 DEFAULT_wxUSE_NUMBERDLG=yes
2345 DEFAULT_wxUSE_TEXTDLG=yes
2346 DEFAULT_wxUSE_SPLASH=yes
2347 DEFAULT_wxUSE_STARTUP_TIPS=yes
2348 DEFAULT_wxUSE_PROGRESSDLG=yes
2349 DEFAULT_wxUSE_WIZARDDLG=yes
2350
2351 DEFAULT_wxUSE_MENUS=yes
2352 DEFAULT_wxUSE_MINIFRAME=yes
2353 DEFAULT_wxUSE_HTML=yes
2354 DEFAULT_wxUSE_XRC=yes
2355 DEFAULT_wxUSE_WEBKIT=yes
2356 DEFAULT_wxUSE_FILESYSTEM=yes
2357 DEFAULT_wxUSE_FS_INET=yes
2358 DEFAULT_wxUSE_FS_ZIP=yes
2359 DEFAULT_wxUSE_BUSYINFO=yes
2360 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2361 DEFAULT_wxUSE_ZIPSTREAM=yes
2362 DEFAULT_wxUSE_VALIDATORS=yes
2363
2364 DEFAULT_wxUSE_ACCEL=yes
2365 DEFAULT_wxUSE_BUTTON=yes
2366 DEFAULT_wxUSE_BMPBUTTON=yes
2367 DEFAULT_wxUSE_CALCTRL=yes
2368 DEFAULT_wxUSE_CARET=yes
2369 DEFAULT_wxUSE_CHECKBOX=yes
2370 DEFAULT_wxUSE_CHECKLST=yes
2371 DEFAULT_wxUSE_CHOICE=yes
2372 DEFAULT_wxUSE_CHOICEBOOK=yes
2373 DEFAULT_wxUSE_COMBOBOX=yes
2374 DEFAULT_wxUSE_DATEPICKCTRL=yes
2375 DEFAULT_wxUSE_DISPLAY=yes
2376 DEFAULT_wxUSE_GAUGE=yes
2377 DEFAULT_wxUSE_GRID=yes
2378 DEFAULT_wxUSE_IMAGLIST=yes
2379 DEFAULT_wxUSE_LISTBOOK=yes
2380 DEFAULT_wxUSE_LISTBOX=yes
2381 DEFAULT_wxUSE_LISTCTRL=yes
2382 DEFAULT_wxUSE_NOTEBOOK=yes
2383 DEFAULT_wxUSE_RADIOBOX=yes
2384 DEFAULT_wxUSE_RADIOBTN=yes
2385 DEFAULT_wxUSE_SASH=yes
2386 DEFAULT_wxUSE_SCROLLBAR=yes
2387 DEFAULT_wxUSE_SLIDER=yes
2388 DEFAULT_wxUSE_SPINBTN=yes
2389 DEFAULT_wxUSE_SPINCTRL=yes
2390 DEFAULT_wxUSE_SPLITTER=yes
2391 DEFAULT_wxUSE_STATBMP=yes
2392 DEFAULT_wxUSE_STATBOX=yes
2393 DEFAULT_wxUSE_STATLINE=yes
2394 DEFAULT_wxUSE_STATTEXT=yes
2395 DEFAULT_wxUSE_STATUSBAR=yes
2396 DEFAULT_wxUSE_TABDIALOG=no
2397 DEFAULT_wxUSE_TEXTCTRL=yes
2398 DEFAULT_wxUSE_TOGGLEBTN=yes
2399 DEFAULT_wxUSE_TOOLBAR=yes
2400 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2401 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2402 DEFAULT_wxUSE_TREECTRL=yes
2403 DEFAULT_wxUSE_POPUPWIN=yes
2404 DEFAULT_wxUSE_TIPWINDOW=yes
2405
2406 DEFAULT_wxUSE_UNICODE=no
2407 DEFAULT_wxUSE_UNICODE_MSLU=yes
2408 DEFAULT_wxUSE_WCSRTOMBS=no
2409
2410 DEFAULT_wxUSE_PALETTE=yes
2411 DEFAULT_wxUSE_IMAGE=yes
2412 DEFAULT_wxUSE_GIF=yes
2413 DEFAULT_wxUSE_PCX=yes
2414 DEFAULT_wxUSE_IFF=no
2415 DEFAULT_wxUSE_PNM=yes
2416 DEFAULT_wxUSE_XPM=yes
2417 DEFAULT_wxUSE_ICO_CUR=yes
2418 DEFAULT_wxUSE_ACCESSIBILITY=no
2419
2420 DEFAULT_wxUSE_MONOLITHIC=no
2421 DEFAULT_wxUSE_PLUGINS=no
2422 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2423
2424 DEFAULT_wxUSE_GTK2=yes
2425 fi
2426
2427
2428
2429
2430 for toolkit in `echo $ALL_TOOLKITS`; do
2431 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2432 if test "x$LINE" != "x" ; then
2433 has_toolkit_in_cache=1
2434 eval "DEFAULT_$LINE"
2435 eval "CACHE_$toolkit=1"
2436
2437 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2438 if test "x$LINE" != "x" ; then
2439 eval "DEFAULT_$LINE"
2440 fi
2441 fi
2442 done
2443
2444
2445
2446 enablestring=
2447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2448 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2449 no_cache=0
2450 # Check whether --enable-gui or --disable-gui was given.
2451 if test "${enable_gui+set}" = set; then
2452 enableval="$enable_gui"
2453
2454 if test "$enableval" = yes; then
2455 ac_cv_use_gui='wxUSE_GUI=yes'
2456 else
2457 ac_cv_use_gui='wxUSE_GUI=no'
2458 fi
2459
2460 else
2461
2462 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2463 if test "x$LINE" != x ; then
2464 eval "DEFAULT_$LINE"
2465 else
2466 no_cache=1
2467 fi
2468
2469 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2470
2471 fi;
2472
2473 eval "$ac_cv_use_gui"
2474 if test "$no_cache" != 1; then
2475 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2476 fi
2477
2478 if test "$wxUSE_GUI" = yes; then
2479 echo "$as_me:$LINENO: result: yes" >&5
2480 echo "${ECHO_T}yes" >&6
2481 else
2482 echo "$as_me:$LINENO: result: no" >&5
2483 echo "${ECHO_T}no" >&6
2484 fi
2485
2486
2487 enablestring=
2488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2489 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2490 no_cache=0
2491 # Check whether --enable-monolithic or --disable-monolithic was given.
2492 if test "${enable_monolithic+set}" = set; then
2493 enableval="$enable_monolithic"
2494
2495 if test "$enableval" = yes; then
2496 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2497 else
2498 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2499 fi
2500
2501 else
2502
2503 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2504 if test "x$LINE" != x ; then
2505 eval "DEFAULT_$LINE"
2506 else
2507 no_cache=1
2508 fi
2509
2510 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2511
2512 fi;
2513
2514 eval "$ac_cv_use_monolithic"
2515 if test "$no_cache" != 1; then
2516 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2517 fi
2518
2519 if test "$wxUSE_MONOLITHIC" = yes; then
2520 echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6
2522 else
2523 echo "$as_me:$LINENO: result: no" >&5
2524 echo "${ECHO_T}no" >&6
2525 fi
2526
2527
2528 enablestring=
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2530 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2531 no_cache=0
2532 # Check whether --enable-plugins or --disable-plugins was given.
2533 if test "${enable_plugins+set}" = set; then
2534 enableval="$enable_plugins"
2535
2536 if test "$enableval" = yes; then
2537 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2538 else
2539 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2540 fi
2541
2542 else
2543
2544 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x ; then
2546 eval "DEFAULT_$LINE"
2547 else
2548 no_cache=1
2549 fi
2550
2551 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2552
2553 fi;
2554
2555 eval "$ac_cv_use_plugins"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2558 fi
2559
2560 if test "$wxUSE_PLUGINS" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6
2563 else
2564 echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6
2566 fi
2567
2568
2569 if test "$wxUSE_GUI" = "yes"; then
2570
2571
2572 enablestring=
2573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2574 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2575 no_cache=0
2576 # Check whether --enable-universal or --disable-universal was given.
2577 if test "${enable_universal+set}" = set; then
2578 enableval="$enable_universal"
2579
2580 if test "$enableval" = yes; then
2581 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2582 else
2583 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2584 fi
2585
2586 else
2587
2588 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2589 if test "x$LINE" != x ; then
2590 eval "DEFAULT_$LINE"
2591 else
2592 no_cache=1
2593 fi
2594
2595 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2596
2597 fi;
2598
2599 eval "$ac_cv_use_universal"
2600 if test "$no_cache" != 1; then
2601 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2602 fi
2603
2604 if test "$wxUSE_UNIVERSAL" = yes; then
2605 echo "$as_me:$LINENO: result: yes" >&5
2606 echo "${ECHO_T}yes" >&6
2607 else
2608 echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6
2610 fi
2611
2612
2613 # Check whether --with-gtk or --without-gtk was given.
2614 if test "${with_gtk+set}" = set; then
2615 withval="$with_gtk"
2616 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2617 fi;
2618
2619 # Check whether --with-motif or --without-motif was given.
2620 if test "${with_motif+set}" = set; then
2621 withval="$with_motif"
2622 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2623 fi;
2624
2625 # Check whether --with-mac or --without-mac was given.
2626 if test "${with_mac+set}" = set; then
2627 withval="$with_mac"
2628 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2629 fi;
2630
2631 # Check whether --with-cocoa or --without-cocoa was given.
2632 if test "${with_cocoa+set}" = set; then
2633 withval="$with_cocoa"
2634 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2635 fi;
2636
2637 # Check whether --with-wine or --without-wine was given.
2638 if test "${with_wine+set}" = set; then
2639 withval="$with_wine"
2640 wxUSE_WINE="$withval" CACHE_WINE=1
2641 fi;
2642
2643 # Check whether --with-msw or --without-msw was given.
2644 if test "${with_msw+set}" = set; then
2645 withval="$with_msw"
2646 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2647 fi;
2648
2649 # Check whether --with-pm or --without-pm was given.
2650 if test "${with_pm+set}" = set; then
2651 withval="$with_pm"
2652 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2653 fi;
2654
2655 # Check whether --with-mgl or --without-mgl was given.
2656 if test "${with_mgl+set}" = set; then
2657 withval="$with_mgl"
2658 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2659 fi;
2660
2661 # Check whether --with-microwin or --without-microwin was given.
2662 if test "${with_microwin+set}" = set; then
2663 withval="$with_microwin"
2664 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2665 fi;
2666
2667 # Check whether --with-x11 or --without-x11 was given.
2668 if test "${with_x11+set}" = set; then
2669 withval="$with_x11"
2670 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2671 fi;
2672
2673 enablestring=
2674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2675 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2676 no_cache=0
2677 # Check whether --enable-nanox or --disable-nanox was given.
2678 if test "${enable_nanox+set}" = set; then
2679 enableval="$enable_nanox"
2680
2681 if test "$enableval" = yes; then
2682 ac_cv_use_nanox='wxUSE_NANOX=yes'
2683 else
2684 ac_cv_use_nanox='wxUSE_NANOX=no'
2685 fi
2686
2687 else
2688
2689 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2690 if test "x$LINE" != x ; then
2691 eval "DEFAULT_$LINE"
2692 else
2693 no_cache=1
2694 fi
2695
2696 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2697
2698 fi;
2699
2700 eval "$ac_cv_use_nanox"
2701 if test "$no_cache" != 1; then
2702 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2703 fi
2704
2705 if test "$wxUSE_NANOX" = yes; then
2706 echo "$as_me:$LINENO: result: yes" >&5
2707 echo "${ECHO_T}yes" >&6
2708 else
2709 echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6
2711 fi
2712
2713
2714 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2715 if test "${enable_gtk2+set}" = set; then
2716 enableval="$enable_gtk2"
2717 wxUSE_GTK2="$enableval"
2718 fi;
2719
2720 enablestring=
2721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2722 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2723 no_cache=0
2724 # Check whether --enable-gpe or --disable-gpe was given.
2725 if test "${enable_gpe+set}" = set; then
2726 enableval="$enable_gpe"
2727
2728 if test "$enableval" = yes; then
2729 ac_cv_use_gpe='wxUSE_GPE=yes'
2730 else
2731 ac_cv_use_gpe='wxUSE_GPE=no'
2732 fi
2733
2734 else
2735
2736 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2737 if test "x$LINE" != x ; then
2738 eval "DEFAULT_$LINE"
2739 else
2740 no_cache=1
2741 fi
2742
2743 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2744
2745 fi;
2746
2747 eval "$ac_cv_use_gpe"
2748 if test "$no_cache" != 1; then
2749 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2750 fi
2751
2752 if test "$wxUSE_GPE" = yes; then
2753 echo "$as_me:$LINENO: result: yes" >&5
2754 echo "${ECHO_T}yes" >&6
2755 else
2756 echo "$as_me:$LINENO: result: no" >&5
2757 echo "${ECHO_T}no" >&6
2758 fi
2759
2760
2761
2762 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2763 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2764 no_cache=0
2765
2766 # Check whether --with-libpng or --without-libpng was given.
2767 if test "${with_libpng+set}" = set; then
2768 withval="$with_libpng"
2769
2770 if test "$withval" = yes; then
2771 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2772 elif test "$withval" = no; then
2773 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2774 elif test "$withval" = sys; then
2775 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2776 elif test "$withval" = builtin; then
2777 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2778 else
2779 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2780 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2781 { (exit 1); exit 1; }; }
2782 fi
2783
2784 else
2785
2786 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2787 if test "x$LINE" != x ; then
2788 eval "DEFAULT_$LINE"
2789 else
2790 no_cache=1
2791 fi
2792
2793 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2794
2795 fi;
2796
2797 eval "$ac_cv_use_libpng"
2798 if test "$no_cache" != 1; then
2799 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2800 fi
2801
2802 if test "$wxUSE_LIBPNG" = yes; then
2803 echo "$as_me:$LINENO: result: yes" >&5
2804 echo "${ECHO_T}yes" >&6
2805 elif test "$wxUSE_LIBPNG" = no; then
2806 echo "$as_me:$LINENO: result: no" >&5
2807 echo "${ECHO_T}no" >&6
2808 elif test "$wxUSE_LIBPNG" = sys; then
2809 echo "$as_me:$LINENO: result: system version" >&5
2810 echo "${ECHO_T}system version" >&6
2811 elif test "$wxUSE_LIBPNG" = builtin; then
2812 echo "$as_me:$LINENO: result: builtin version" >&5
2813 echo "${ECHO_T}builtin version" >&6
2814 else
2815 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2816 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2817 { (exit 1); exit 1; }; }
2818 fi
2819
2820
2821 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2822 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2823 no_cache=0
2824
2825 # Check whether --with-libjpeg or --without-libjpeg was given.
2826 if test "${with_libjpeg+set}" = set; then
2827 withval="$with_libjpeg"
2828
2829 if test "$withval" = yes; then
2830 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2831 elif test "$withval" = no; then
2832 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2833 elif test "$withval" = sys; then
2834 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2835 elif test "$withval" = builtin; then
2836 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2837 else
2838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2839 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2840 { (exit 1); exit 1; }; }
2841 fi
2842
2843 else
2844
2845 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2846 if test "x$LINE" != x ; then
2847 eval "DEFAULT_$LINE"
2848 else
2849 no_cache=1
2850 fi
2851
2852 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2853
2854 fi;
2855
2856 eval "$ac_cv_use_libjpeg"
2857 if test "$no_cache" != 1; then
2858 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2859 fi
2860
2861 if test "$wxUSE_LIBJPEG" = yes; then
2862 echo "$as_me:$LINENO: result: yes" >&5
2863 echo "${ECHO_T}yes" >&6
2864 elif test "$wxUSE_LIBJPEG" = no; then
2865 echo "$as_me:$LINENO: result: no" >&5
2866 echo "${ECHO_T}no" >&6
2867 elif test "$wxUSE_LIBJPEG" = sys; then
2868 echo "$as_me:$LINENO: result: system version" >&5
2869 echo "${ECHO_T}system version" >&6
2870 elif test "$wxUSE_LIBJPEG" = builtin; then
2871 echo "$as_me:$LINENO: result: builtin version" >&5
2872 echo "${ECHO_T}builtin version" >&6
2873 else
2874 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2875 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2876 { (exit 1); exit 1; }; }
2877 fi
2878
2879
2880 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2881 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2882 no_cache=0
2883
2884 # Check whether --with-libtiff or --without-libtiff was given.
2885 if test "${with_libtiff+set}" = set; then
2886 withval="$with_libtiff"
2887
2888 if test "$withval" = yes; then
2889 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2890 elif test "$withval" = no; then
2891 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2892 elif test "$withval" = sys; then
2893 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2894 elif test "$withval" = builtin; then
2895 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2896 else
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2900 fi
2901
2902 else
2903
2904 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2905 if test "x$LINE" != x ; then
2906 eval "DEFAULT_$LINE"
2907 else
2908 no_cache=1
2909 fi
2910
2911 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2912
2913 fi;
2914
2915 eval "$ac_cv_use_libtiff"
2916 if test "$no_cache" != 1; then
2917 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2918 fi
2919
2920 if test "$wxUSE_LIBTIFF" = yes; then
2921 echo "$as_me:$LINENO: result: yes" >&5
2922 echo "${ECHO_T}yes" >&6
2923 elif test "$wxUSE_LIBTIFF" = no; then
2924 echo "$as_me:$LINENO: result: no" >&5
2925 echo "${ECHO_T}no" >&6
2926 elif test "$wxUSE_LIBTIFF" = sys; then
2927 echo "$as_me:$LINENO: result: system version" >&5
2928 echo "${ECHO_T}system version" >&6
2929 elif test "$wxUSE_LIBTIFF" = builtin; then
2930 echo "$as_me:$LINENO: result: builtin version" >&5
2931 echo "${ECHO_T}builtin version" >&6
2932 else
2933 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2934 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2935 { (exit 1); exit 1; }; }
2936 fi
2937
2938
2939 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2940 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2941 no_cache=0
2942
2943 # Check whether --with-libxpm or --without-libxpm was given.
2944 if test "${with_libxpm+set}" = set; then
2945 withval="$with_libxpm"
2946
2947 if test "$withval" = yes; then
2948 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2949 elif test "$withval" = no; then
2950 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2951 elif test "$withval" = sys; then
2952 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2953 elif test "$withval" = builtin; then
2954 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2955 else
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2959 fi
2960
2961 else
2962
2963 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2964 if test "x$LINE" != x ; then
2965 eval "DEFAULT_$LINE"
2966 else
2967 no_cache=1
2968 fi
2969
2970 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2971
2972 fi;
2973
2974 eval "$ac_cv_use_libxpm"
2975 if test "$no_cache" != 1; then
2976 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2977 fi
2978
2979 if test "$wxUSE_LIBXPM" = yes; then
2980 echo "$as_me:$LINENO: result: yes" >&5
2981 echo "${ECHO_T}yes" >&6
2982 elif test "$wxUSE_LIBXPM" = no; then
2983 echo "$as_me:$LINENO: result: no" >&5
2984 echo "${ECHO_T}no" >&6
2985 elif test "$wxUSE_LIBXPM" = sys; then
2986 echo "$as_me:$LINENO: result: system version" >&5
2987 echo "${ECHO_T}system version" >&6
2988 elif test "$wxUSE_LIBXPM" = builtin; then
2989 echo "$as_me:$LINENO: result: builtin version" >&5
2990 echo "${ECHO_T}builtin version" >&6
2991 else
2992 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2993 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2994 { (exit 1); exit 1; }; }
2995 fi
2996
2997
2998 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2999 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3000 no_cache=0
3001
3002 # Check whether --with-libmspack or --without-libmspack was given.
3003 if test "${with_libmspack+set}" = set; then
3004 withval="$with_libmspack"
3005
3006 if test "$withval" = yes; then
3007 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3008 else
3009 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3010 fi
3011
3012 else
3013
3014 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3015 if test "x$LINE" != x ; then
3016 eval "DEFAULT_$LINE"
3017 else
3018 no_cache=1
3019 fi
3020
3021 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3022
3023 fi;
3024
3025 eval "$ac_cv_use_libmspack"
3026 if test "$no_cache" != 1; then
3027 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3028 fi
3029
3030 if test "$wxUSE_LIBMSPACK" = yes; then
3031 echo "$as_me:$LINENO: result: yes" >&5
3032 echo "${ECHO_T}yes" >&6
3033 else
3034 echo "$as_me:$LINENO: result: no" >&5
3035 echo "${ECHO_T}no" >&6
3036 fi
3037
3038
3039 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3040 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3041 no_cache=0
3042
3043 # Check whether --with-sdl or --without-sdl was given.
3044 if test "${with_sdl+set}" = set; then
3045 withval="$with_sdl"
3046
3047 if test "$withval" = yes; then
3048 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3049 else
3050 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3051 fi
3052
3053 else
3054
3055 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x ; then
3057 eval "DEFAULT_$LINE"
3058 else
3059 no_cache=1
3060 fi
3061
3062 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3063
3064 fi;
3065
3066 eval "$ac_cv_use_sdl"
3067 if test "$no_cache" != 1; then
3068 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3069 fi
3070
3071 if test "$wxUSE_LIBSDL" = yes; then
3072 echo "$as_me:$LINENO: result: yes" >&5
3073 echo "${ECHO_T}yes" >&6
3074 else
3075 echo "$as_me:$LINENO: result: no" >&5
3076 echo "${ECHO_T}no" >&6
3077 fi
3078
3079
3080 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3081 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3082 no_cache=0
3083
3084 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3085 if test "${with_gnomeprint+set}" = set; then
3086 withval="$with_gnomeprint"
3087
3088 if test "$withval" = yes; then
3089 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3090 else
3091 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3092 fi
3093
3094 else
3095
3096 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3097 if test "x$LINE" != x ; then
3098 eval "DEFAULT_$LINE"
3099 else
3100 no_cache=1
3101 fi
3102
3103 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3104
3105 fi;
3106
3107 eval "$ac_cv_use_gnomeprint"
3108 if test "$no_cache" != 1; then
3109 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3110 fi
3111
3112 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3113 echo "$as_me:$LINENO: result: yes" >&5
3114 echo "${ECHO_T}yes" >&6
3115 else
3116 echo "$as_me:$LINENO: result: no" >&5
3117 echo "${ECHO_T}no" >&6
3118 fi
3119
3120
3121 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3122 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3123 no_cache=0
3124
3125 # Check whether --with-opengl or --without-opengl was given.
3126 if test "${with_opengl+set}" = set; then
3127 withval="$with_opengl"
3128
3129 if test "$withval" = yes; then
3130 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3131 else
3132 ac_cv_use_opengl='wxUSE_OPENGL=no'
3133 fi
3134
3135 else
3136
3137 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x ; then
3139 eval "DEFAULT_$LINE"
3140 else
3141 no_cache=1
3142 fi
3143
3144 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3145
3146 fi;
3147
3148 eval "$ac_cv_use_opengl"
3149 if test "$no_cache" != 1; then
3150 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3151 fi
3152
3153 if test "$wxUSE_OPENGL" = yes; then
3154 echo "$as_me:$LINENO: result: yes" >&5
3155 echo "${ECHO_T}yes" >&6
3156 else
3157 echo "$as_me:$LINENO: result: no" >&5
3158 echo "${ECHO_T}no" >&6
3159 fi
3160
3161
3162 fi
3163
3164
3165 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3166 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3167 no_cache=0
3168
3169 # Check whether --with-dmalloc or --without-dmalloc was given.
3170 if test "${with_dmalloc+set}" = set; then
3171 withval="$with_dmalloc"
3172
3173 if test "$withval" = yes; then
3174 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3175 else
3176 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3177 fi
3178
3179 else
3180
3181 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3182 if test "x$LINE" != x ; then
3183 eval "DEFAULT_$LINE"
3184 else
3185 no_cache=1
3186 fi
3187
3188 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3189
3190 fi;
3191
3192 eval "$ac_cv_use_dmalloc"
3193 if test "$no_cache" != 1; then
3194 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3195 fi
3196
3197 if test "$wxUSE_DMALLOC" = yes; then
3198 echo "$as_me:$LINENO: result: yes" >&5
3199 echo "${ECHO_T}yes" >&6
3200 else
3201 echo "$as_me:$LINENO: result: no" >&5
3202 echo "${ECHO_T}no" >&6
3203 fi
3204
3205
3206 echo "$as_me:$LINENO: checking for --with-regex" >&5
3207 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3208 no_cache=0
3209
3210 # Check whether --with-regex or --without-regex was given.
3211 if test "${with_regex+set}" = set; then
3212 withval="$with_regex"
3213
3214 if test "$withval" = yes; then
3215 ac_cv_use_regex='wxUSE_REGEX=yes'
3216 elif test "$withval" = no; then
3217 ac_cv_use_regex='wxUSE_REGEX=no'
3218 elif test "$withval" = sys; then
3219 ac_cv_use_regex='wxUSE_REGEX=sys'
3220 elif test "$withval" = builtin; then
3221 ac_cv_use_regex='wxUSE_REGEX=builtin'
3222 else
3223 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3224 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3225 { (exit 1); exit 1; }; }
3226 fi
3227
3228 else
3229
3230 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3231 if test "x$LINE" != x ; then
3232 eval "DEFAULT_$LINE"
3233 else
3234 no_cache=1
3235 fi
3236
3237 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3238
3239 fi;
3240
3241 eval "$ac_cv_use_regex"
3242 if test "$no_cache" != 1; then
3243 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3244 fi
3245
3246 if test "$wxUSE_REGEX" = yes; then
3247 echo "$as_me:$LINENO: result: yes" >&5
3248 echo "${ECHO_T}yes" >&6
3249 elif test "$wxUSE_REGEX" = no; then
3250 echo "$as_me:$LINENO: result: no" >&5
3251 echo "${ECHO_T}no" >&6
3252 elif test "$wxUSE_REGEX" = sys; then
3253 echo "$as_me:$LINENO: result: system version" >&5
3254 echo "${ECHO_T}system version" >&6
3255 elif test "$wxUSE_REGEX" = builtin; then
3256 echo "$as_me:$LINENO: result: builtin version" >&5
3257 echo "${ECHO_T}builtin version" >&6
3258 else
3259 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3260 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3261 { (exit 1); exit 1; }; }
3262 fi
3263
3264
3265 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3266 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3267 no_cache=0
3268
3269 # Check whether --with-zlib or --without-zlib was given.
3270 if test "${with_zlib+set}" = set; then
3271 withval="$with_zlib"
3272
3273 if test "$withval" = yes; then
3274 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3275 elif test "$withval" = no; then
3276 ac_cv_use_zlib='wxUSE_ZLIB=no'
3277 elif test "$withval" = sys; then
3278 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3279 elif test "$withval" = builtin; then
3280 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3281 else
3282 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3283 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3284 { (exit 1); exit 1; }; }
3285 fi
3286
3287 else
3288
3289 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3290 if test "x$LINE" != x ; then
3291 eval "DEFAULT_$LINE"
3292 else
3293 no_cache=1
3294 fi
3295
3296 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3297
3298 fi;
3299
3300 eval "$ac_cv_use_zlib"
3301 if test "$no_cache" != 1; then
3302 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3303 fi
3304
3305 if test "$wxUSE_ZLIB" = yes; then
3306 echo "$as_me:$LINENO: result: yes" >&5
3307 echo "${ECHO_T}yes" >&6
3308 elif test "$wxUSE_ZLIB" = no; then
3309 echo "$as_me:$LINENO: result: no" >&5
3310 echo "${ECHO_T}no" >&6
3311 elif test "$wxUSE_ZLIB" = sys; then
3312 echo "$as_me:$LINENO: result: system version" >&5
3313 echo "${ECHO_T}system version" >&6
3314 elif test "$wxUSE_ZLIB" = builtin; then
3315 echo "$as_me:$LINENO: result: builtin version" >&5
3316 echo "${ECHO_T}builtin version" >&6
3317 else
3318 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3319 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3320 { (exit 1); exit 1; }; }
3321 fi
3322
3323
3324 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3325 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3326 no_cache=0
3327
3328 # Check whether --with-odbc or --without-odbc was given.
3329 if test "${with_odbc+set}" = set; then
3330 withval="$with_odbc"
3331
3332 if test "$withval" = yes; then
3333 ac_cv_use_odbc='wxUSE_ODBC=yes'
3334 elif test "$withval" = no; then
3335 ac_cv_use_odbc='wxUSE_ODBC=no'
3336 elif test "$withval" = sys; then
3337 ac_cv_use_odbc='wxUSE_ODBC=sys'
3338 elif test "$withval" = builtin; then
3339 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3340 else
3341 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3342 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3343 { (exit 1); exit 1; }; }
3344 fi
3345
3346 else
3347
3348 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3349 if test "x$LINE" != x ; then
3350 eval "DEFAULT_$LINE"
3351 else
3352 no_cache=1
3353 fi
3354
3355 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3356
3357 fi;
3358
3359 eval "$ac_cv_use_odbc"
3360 if test "$no_cache" != 1; then
3361 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3362 fi
3363
3364 if test "$wxUSE_ODBC" = yes; then
3365 echo "$as_me:$LINENO: result: yes" >&5
3366 echo "${ECHO_T}yes" >&6
3367 elif test "$wxUSE_ODBC" = no; then
3368 echo "$as_me:$LINENO: result: no" >&5
3369 echo "${ECHO_T}no" >&6
3370 elif test "$wxUSE_ODBC" = sys; then
3371 echo "$as_me:$LINENO: result: system version" >&5
3372 echo "${ECHO_T}system version" >&6
3373 elif test "$wxUSE_ODBC" = builtin; then
3374 echo "$as_me:$LINENO: result: builtin version" >&5
3375 echo "${ECHO_T}builtin version" >&6
3376 else
3377 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3378 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3379 { (exit 1); exit 1; }; }
3380 fi
3381
3382
3383 echo "$as_me:$LINENO: checking for --with-expat" >&5
3384 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3385 no_cache=0
3386
3387 # Check whether --with-expat or --without-expat was given.
3388 if test "${with_expat+set}" = set; then
3389 withval="$with_expat"
3390
3391 if test "$withval" = yes; then
3392 ac_cv_use_expat='wxUSE_EXPAT=yes'
3393 elif test "$withval" = no; then
3394 ac_cv_use_expat='wxUSE_EXPAT=no'
3395 elif test "$withval" = sys; then
3396 ac_cv_use_expat='wxUSE_EXPAT=sys'
3397 elif test "$withval" = builtin; then
3398 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3399 else
3400 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3401 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3402 { (exit 1); exit 1; }; }
3403 fi
3404
3405 else
3406
3407 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x ; then
3409 eval "DEFAULT_$LINE"
3410 else
3411 no_cache=1
3412 fi
3413
3414 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3415
3416 fi;
3417
3418 eval "$ac_cv_use_expat"
3419 if test "$no_cache" != 1; then
3420 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3421 fi
3422
3423 if test "$wxUSE_EXPAT" = yes; then
3424 echo "$as_me:$LINENO: result: yes" >&5
3425 echo "${ECHO_T}yes" >&6
3426 elif test "$wxUSE_EXPAT" = no; then
3427 echo "$as_me:$LINENO: result: no" >&5
3428 echo "${ECHO_T}no" >&6
3429 elif test "$wxUSE_EXPAT" = sys; then
3430 echo "$as_me:$LINENO: result: system version" >&5
3431 echo "${ECHO_T}system version" >&6
3432 elif test "$wxUSE_EXPAT" = builtin; then
3433 echo "$as_me:$LINENO: result: builtin version" >&5
3434 echo "${ECHO_T}builtin version" >&6
3435 else
3436 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3437 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3438 { (exit 1); exit 1; }; }
3439 fi
3440
3441
3442
3443
3444 enablestring=
3445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3446 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3447 no_cache=0
3448 # Check whether --enable-shared or --disable-shared was given.
3449 if test "${enable_shared+set}" = set; then
3450 enableval="$enable_shared"
3451
3452 if test "$enableval" = yes; then
3453 ac_cv_use_shared='wxUSE_SHARED=yes'
3454 else
3455 ac_cv_use_shared='wxUSE_SHARED=no'
3456 fi
3457
3458 else
3459
3460 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3461 if test "x$LINE" != x ; then
3462 eval "DEFAULT_$LINE"
3463 else
3464 no_cache=1
3465 fi
3466
3467 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3468
3469 fi;
3470
3471 eval "$ac_cv_use_shared"
3472 if test "$no_cache" != 1; then
3473 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3474 fi
3475
3476 if test "$wxUSE_SHARED" = yes; then
3477 echo "$as_me:$LINENO: result: yes" >&5
3478 echo "${ECHO_T}yes" >&6
3479 else
3480 echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6
3482 fi
3483
3484
3485 enablestring=
3486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3487 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3488 no_cache=0
3489 # Check whether --enable-optimise or --disable-optimise was given.
3490 if test "${enable_optimise+set}" = set; then
3491 enableval="$enable_optimise"
3492
3493 if test "$enableval" = yes; then
3494 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3495 else
3496 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3497 fi
3498
3499 else
3500
3501 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3502 if test "x$LINE" != x ; then
3503 eval "DEFAULT_$LINE"
3504 else
3505 no_cache=1
3506 fi
3507
3508 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3509
3510 fi;
3511
3512 eval "$ac_cv_use_optimise"
3513 if test "$no_cache" != 1; then
3514 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3515 fi
3516
3517 if test "$wxUSE_OPTIMISE" = yes; then
3518 echo "$as_me:$LINENO: result: yes" >&5
3519 echo "${ECHO_T}yes" >&6
3520 else
3521 echo "$as_me:$LINENO: result: no" >&5
3522 echo "${ECHO_T}no" >&6
3523 fi
3524
3525
3526 enablestring=
3527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3528 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3529 no_cache=0
3530 # Check whether --enable-debug or --disable-debug was given.
3531 if test "${enable_debug+set}" = set; then
3532 enableval="$enable_debug"
3533
3534 if test "$enableval" = yes; then
3535 ac_cv_use_debug='wxUSE_DEBUG=yes'
3536 else
3537 ac_cv_use_debug='wxUSE_DEBUG=no'
3538 fi
3539
3540 else
3541
3542 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3543 if test "x$LINE" != x ; then
3544 eval "DEFAULT_$LINE"
3545 else
3546 no_cache=1
3547 fi
3548
3549 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3550
3551 fi;
3552
3553 eval "$ac_cv_use_debug"
3554 if test "$no_cache" != 1; then
3555 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3556 fi
3557
3558 if test "$wxUSE_DEBUG" = yes; then
3559 echo "$as_me:$LINENO: result: yes" >&5
3560 echo "${ECHO_T}yes" >&6
3561 else
3562 echo "$as_me:$LINENO: result: no" >&5
3563 echo "${ECHO_T}no" >&6
3564 fi
3565
3566
3567 enablestring=
3568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3569 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3570 no_cache=0
3571 # Check whether --enable-stl or --disable-stl was given.
3572 if test "${enable_stl+set}" = set; then
3573 enableval="$enable_stl"
3574
3575 if test "$enableval" = yes; then
3576 ac_cv_use_stl='wxUSE_STL=yes'
3577 else
3578 ac_cv_use_stl='wxUSE_STL=no'
3579 fi
3580
3581 else
3582
3583 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3584 if test "x$LINE" != x ; then
3585 eval "DEFAULT_$LINE"
3586 else
3587 no_cache=1
3588 fi
3589
3590 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3591
3592 fi;
3593
3594 eval "$ac_cv_use_stl"
3595 if test "$no_cache" != 1; then
3596 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3597 fi
3598
3599 if test "$wxUSE_STL" = yes; then
3600 echo "$as_me:$LINENO: result: yes" >&5
3601 echo "${ECHO_T}yes" >&6
3602 else
3603 echo "$as_me:$LINENO: result: no" >&5
3604 echo "${ECHO_T}no" >&6
3605 fi
3606
3607 if test "$USE_OS2" = "1"; then
3608 DEFAULT_wxUSE_OMF=no
3609
3610 enablestring=
3611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3612 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3613 no_cache=0
3614 # Check whether --enable-omf or --disable-omf was given.
3615 if test "${enable_omf+set}" = set; then
3616 enableval="$enable_omf"
3617
3618 if test "$enableval" = yes; then
3619 ac_cv_use_omf='wxUSE_OMF=yes'
3620 else
3621 ac_cv_use_omf='wxUSE_OMF=no'
3622 fi
3623
3624 else
3625
3626 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x ; then
3628 eval "DEFAULT_$LINE"
3629 else
3630 no_cache=1
3631 fi
3632
3633 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3634
3635 fi;
3636
3637 eval "$ac_cv_use_omf"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3640 fi
3641
3642 if test "$wxUSE_OMF" = yes; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3645 else
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3648 fi
3649
3650 fi
3651
3652 if test "$wxUSE_DEBUG" = "yes"; then
3653 DEFAULT_wxUSE_DEBUG_FLAG=yes
3654 DEFAULT_wxUSE_DEBUG_INFO=yes
3655 BUILD=debug
3656 elif test "$wxUSE_DEBUG" = "no"; then
3657 DEFAULT_wxUSE_DEBUG_FLAG=no
3658 DEFAULT_wxUSE_DEBUG_INFO=no
3659 BUILD=release
3660 fi
3661
3662
3663 enablestring=
3664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3665 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3666 no_cache=0
3667 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3668 if test "${enable_debug_flag+set}" = set; then
3669 enableval="$enable_debug_flag"
3670
3671 if test "$enableval" = yes; then
3672 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3673 else
3674 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3675 fi
3676
3677 else
3678
3679 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3680 if test "x$LINE" != x ; then
3681 eval "DEFAULT_$LINE"
3682 else
3683 no_cache=1
3684 fi
3685
3686 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3687
3688 fi;
3689
3690 eval "$ac_cv_use_debug_flag"
3691 if test "$no_cache" != 1; then
3692 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3693 fi
3694
3695 if test "$wxUSE_DEBUG_FLAG" = yes; then
3696 echo "$as_me:$LINENO: result: yes" >&5
3697 echo "${ECHO_T}yes" >&6
3698 else
3699 echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6
3701 fi
3702
3703
3704 enablestring=
3705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3706 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3707 no_cache=0
3708 # Check whether --enable-debug_info or --disable-debug_info was given.
3709 if test "${enable_debug_info+set}" = set; then
3710 enableval="$enable_debug_info"
3711
3712 if test "$enableval" = yes; then
3713 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3714 else
3715 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3716 fi
3717
3718 else
3719
3720 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3721 if test "x$LINE" != x ; then
3722 eval "DEFAULT_$LINE"
3723 else
3724 no_cache=1
3725 fi
3726
3727 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3728
3729 fi;
3730
3731 eval "$ac_cv_use_debug_info"
3732 if test "$no_cache" != 1; then
3733 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3734 fi
3735
3736 if test "$wxUSE_DEBUG_INFO" = yes; then
3737 echo "$as_me:$LINENO: result: yes" >&5
3738 echo "${ECHO_T}yes" >&6
3739 else
3740 echo "$as_me:$LINENO: result: no" >&5
3741 echo "${ECHO_T}no" >&6
3742 fi
3743
3744
3745 enablestring=
3746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3747 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3748 no_cache=0
3749 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3750 if test "${enable_debug_gdb+set}" = set; then
3751 enableval="$enable_debug_gdb"
3752
3753 if test "$enableval" = yes; then
3754 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3755 else
3756 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3757 fi
3758
3759 else
3760
3761 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x ; then
3763 eval "DEFAULT_$LINE"
3764 else
3765 no_cache=1
3766 fi
3767
3768 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3769
3770 fi;
3771
3772 eval "$ac_cv_use_debug_gdb"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3775 fi
3776
3777 if test "$wxUSE_DEBUG_GDB" = yes; then
3778 echo "$as_me:$LINENO: result: yes" >&5
3779 echo "${ECHO_T}yes" >&6
3780 else
3781 echo "$as_me:$LINENO: result: no" >&5
3782 echo "${ECHO_T}no" >&6
3783 fi
3784
3785
3786 enablestring=
3787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3788 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3789 no_cache=0
3790 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3791 if test "${enable_debug_cntxt+set}" = set; then
3792 enableval="$enable_debug_cntxt"
3793
3794 if test "$enableval" = yes; then
3795 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3796 else
3797 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3798 fi
3799
3800 else
3801
3802 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x ; then
3804 eval "DEFAULT_$LINE"
3805 else
3806 no_cache=1
3807 fi
3808
3809 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3810
3811 fi;
3812
3813 eval "$ac_cv_use_debug_cntxt"
3814 if test "$no_cache" != 1; then
3815 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3816 fi
3817
3818 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3819 echo "$as_me:$LINENO: result: yes" >&5
3820 echo "${ECHO_T}yes" >&6
3821 else
3822 echo "$as_me:$LINENO: result: no" >&5
3823 echo "${ECHO_T}no" >&6
3824 fi
3825
3826
3827 enablestring=
3828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3829 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3830 no_cache=0
3831 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3832 if test "${enable_mem_tracing+set}" = set; then
3833 enableval="$enable_mem_tracing"
3834
3835 if test "$enableval" = yes; then
3836 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3837 else
3838 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3839 fi
3840
3841 else
3842
3843 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x ; then
3845 eval "DEFAULT_$LINE"
3846 else
3847 no_cache=1
3848 fi
3849
3850 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3851
3852 fi;
3853
3854 eval "$ac_cv_use_mem_tracing"
3855 if test "$no_cache" != 1; then
3856 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3857 fi
3858
3859 if test "$wxUSE_MEM_TRACING" = yes; then
3860 echo "$as_me:$LINENO: result: yes" >&5
3861 echo "${ECHO_T}yes" >&6
3862 else
3863 echo "$as_me:$LINENO: result: no" >&5
3864 echo "${ECHO_T}no" >&6
3865 fi
3866
3867
3868 enablestring=
3869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3870 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3871 no_cache=0
3872 # Check whether --enable-profile or --disable-profile was given.
3873 if test "${enable_profile+set}" = set; then
3874 enableval="$enable_profile"
3875
3876 if test "$enableval" = yes; then
3877 ac_cv_use_profile='wxUSE_PROFILE=yes'
3878 else
3879 ac_cv_use_profile='wxUSE_PROFILE=no'
3880 fi
3881
3882 else
3883
3884 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3885 if test "x$LINE" != x ; then
3886 eval "DEFAULT_$LINE"
3887 else
3888 no_cache=1
3889 fi
3890
3891 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3892
3893 fi;
3894
3895 eval "$ac_cv_use_profile"
3896 if test "$no_cache" != 1; then
3897 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3898 fi
3899
3900 if test "$wxUSE_PROFILE" = yes; then
3901 echo "$as_me:$LINENO: result: yes" >&5
3902 echo "${ECHO_T}yes" >&6
3903 else
3904 echo "$as_me:$LINENO: result: no" >&5
3905 echo "${ECHO_T}no" >&6
3906 fi
3907
3908
3909 enablestring=
3910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3911 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3912 no_cache=0
3913 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3914 if test "${enable_no_rtti+set}" = set; then
3915 enableval="$enable_no_rtti"
3916
3917 if test "$enableval" = yes; then
3918 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3919 else
3920 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3921 fi
3922
3923 else
3924
3925 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3926 if test "x$LINE" != x ; then
3927 eval "DEFAULT_$LINE"
3928 else
3929 no_cache=1
3930 fi
3931
3932 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3933
3934 fi;
3935
3936 eval "$ac_cv_use_no_rtti"
3937 if test "$no_cache" != 1; then
3938 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3939 fi
3940
3941 if test "$wxUSE_NO_RTTI" = yes; then
3942 echo "$as_me:$LINENO: result: yes" >&5
3943 echo "${ECHO_T}yes" >&6
3944 else
3945 echo "$as_me:$LINENO: result: no" >&5
3946 echo "${ECHO_T}no" >&6
3947 fi
3948
3949
3950 enablestring=
3951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3952 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3953 no_cache=0
3954 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3955 if test "${enable_no_exceptions+set}" = set; then
3956 enableval="$enable_no_exceptions"
3957
3958 if test "$enableval" = yes; then
3959 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3960 else
3961 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3962 fi
3963
3964 else
3965
3966 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3967 if test "x$LINE" != x ; then
3968 eval "DEFAULT_$LINE"
3969 else
3970 no_cache=1
3971 fi
3972
3973 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3974
3975 fi;
3976
3977 eval "$ac_cv_use_no_exceptions"
3978 if test "$no_cache" != 1; then
3979 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3980 fi
3981
3982 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3983 echo "$as_me:$LINENO: result: yes" >&5
3984 echo "${ECHO_T}yes" >&6
3985 else
3986 echo "$as_me:$LINENO: result: no" >&5
3987 echo "${ECHO_T}no" >&6
3988 fi
3989
3990
3991 enablestring=
3992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3993 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3994 no_cache=0
3995 # Check whether --enable-permissive or --disable-permissive was given.
3996 if test "${enable_permissive+set}" = set; then
3997 enableval="$enable_permissive"
3998
3999 if test "$enableval" = yes; then
4000 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4001 else
4002 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4003 fi
4004
4005 else
4006
4007 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4008 if test "x$LINE" != x ; then
4009 eval "DEFAULT_$LINE"
4010 else
4011 no_cache=1
4012 fi
4013
4014 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4015
4016 fi;
4017
4018 eval "$ac_cv_use_permissive"
4019 if test "$no_cache" != 1; then
4020 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4021 fi
4022
4023 if test "$wxUSE_PERMISSIVE" = yes; then
4024 echo "$as_me:$LINENO: result: yes" >&5
4025 echo "${ECHO_T}yes" >&6
4026 else
4027 echo "$as_me:$LINENO: result: no" >&5
4028 echo "${ECHO_T}no" >&6
4029 fi
4030
4031
4032 enablestring=
4033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4034 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4035 no_cache=0
4036 # Check whether --enable-no_deps or --disable-no_deps was given.
4037 if test "${enable_no_deps+set}" = set; then
4038 enableval="$enable_no_deps"
4039
4040 if test "$enableval" = yes; then
4041 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4042 else
4043 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4044 fi
4045
4046 else
4047
4048 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4049 if test "x$LINE" != x ; then
4050 eval "DEFAULT_$LINE"
4051 else
4052 no_cache=1
4053 fi
4054
4055 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4056
4057 fi;
4058
4059 eval "$ac_cv_use_no_deps"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4062 fi
4063
4064 if test "$wxUSE_NO_DEPS" = yes; then
4065 echo "$as_me:$LINENO: result: yes" >&5
4066 echo "${ECHO_T}yes" >&6
4067 else
4068 echo "$as_me:$LINENO: result: no" >&5
4069 echo "${ECHO_T}no" >&6
4070 fi
4071
4072
4073
4074 enablestring=
4075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4076 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4077 no_cache=0
4078 # Check whether --enable-compat22 or --disable-compat22 was given.
4079 if test "${enable_compat22+set}" = set; then
4080 enableval="$enable_compat22"
4081
4082 if test "$enableval" = yes; then
4083 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4084 else
4085 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4086 fi
4087
4088 else
4089
4090 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4091 if test "x$LINE" != x ; then
4092 eval "DEFAULT_$LINE"
4093 else
4094 no_cache=1
4095 fi
4096
4097 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4098
4099 fi;
4100
4101 eval "$ac_cv_use_compat22"
4102 if test "$no_cache" != 1; then
4103 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4104 fi
4105
4106 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4107 echo "$as_me:$LINENO: result: yes" >&5
4108 echo "${ECHO_T}yes" >&6
4109 else
4110 echo "$as_me:$LINENO: result: no" >&5
4111 echo "${ECHO_T}no" >&6
4112 fi
4113
4114
4115 enablestring=disable
4116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4117 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4118 no_cache=0
4119 # Check whether --enable-compat24 or --disable-compat24 was given.
4120 if test "${enable_compat24+set}" = set; then
4121 enableval="$enable_compat24"
4122
4123 if test "$enableval" = yes; then
4124 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4125 else
4126 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4127 fi
4128
4129 else
4130
4131 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4132 if test "x$LINE" != x ; then
4133 eval "DEFAULT_$LINE"
4134 else
4135 no_cache=1
4136 fi
4137
4138 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4139
4140 fi;
4141
4142 eval "$ac_cv_use_compat24"
4143 if test "$no_cache" != 1; then
4144 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4145 fi
4146
4147 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4148 echo "$as_me:$LINENO: result: yes" >&5
4149 echo "${ECHO_T}yes" >&6
4150 else
4151 echo "$as_me:$LINENO: result: no" >&5
4152 echo "${ECHO_T}no" >&6
4153 fi
4154
4155
4156
4157 enablestring=
4158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4159 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4160 no_cache=0
4161 # Check whether --enable-rpath or --disable-rpath was given.
4162 if test "${enable_rpath+set}" = set; then
4163 enableval="$enable_rpath"
4164
4165 if test "$enableval" = yes; then
4166 ac_cv_use_rpath='wxUSE_RPATH=yes'
4167 else
4168 ac_cv_use_rpath='wxUSE_RPATH=no'
4169 fi
4170
4171 else
4172
4173 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x ; then
4175 eval "DEFAULT_$LINE"
4176 else
4177 no_cache=1
4178 fi
4179
4180 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4181
4182 fi;
4183
4184 eval "$ac_cv_use_rpath"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4187 fi
4188
4189 if test "$wxUSE_RPATH" = yes; then
4190 echo "$as_me:$LINENO: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6
4192 else
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4195 fi
4196
4197
4198
4199
4200
4201 enablestring=
4202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4203 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4204 no_cache=0
4205 # Check whether --enable-intl or --disable-intl was given.
4206 if test "${enable_intl+set}" = set; then
4207 enableval="$enable_intl"
4208
4209 if test "$enableval" = yes; then
4210 ac_cv_use_intl='wxUSE_INTL=yes'
4211 else
4212 ac_cv_use_intl='wxUSE_INTL=no'
4213 fi
4214
4215 else
4216
4217 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4218 if test "x$LINE" != x ; then
4219 eval "DEFAULT_$LINE"
4220 else
4221 no_cache=1
4222 fi
4223
4224 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4225
4226 fi;
4227
4228 eval "$ac_cv_use_intl"
4229 if test "$no_cache" != 1; then
4230 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4231 fi
4232
4233 if test "$wxUSE_INTL" = yes; then
4234 echo "$as_me:$LINENO: result: yes" >&5
4235 echo "${ECHO_T}yes" >&6
4236 else
4237 echo "$as_me:$LINENO: result: no" >&5
4238 echo "${ECHO_T}no" >&6
4239 fi
4240
4241
4242 enablestring=
4243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4244 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4245 no_cache=0
4246 # Check whether --enable-config or --disable-config was given.
4247 if test "${enable_config+set}" = set; then
4248 enableval="$enable_config"
4249
4250 if test "$enableval" = yes; then
4251 ac_cv_use_config='wxUSE_CONFIG=yes'
4252 else
4253 ac_cv_use_config='wxUSE_CONFIG=no'
4254 fi
4255
4256 else
4257
4258 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x ; then
4260 eval "DEFAULT_$LINE"
4261 else
4262 no_cache=1
4263 fi
4264
4265 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4266
4267 fi;
4268
4269 eval "$ac_cv_use_config"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4272 fi
4273
4274 if test "$wxUSE_CONFIG" = yes; then
4275 echo "$as_me:$LINENO: result: yes" >&5
4276 echo "${ECHO_T}yes" >&6
4277 else
4278 echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6
4280 fi
4281
4282
4283
4284 enablestring=
4285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4286 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4287 no_cache=0
4288 # Check whether --enable-protocols or --disable-protocols was given.
4289 if test "${enable_protocols+set}" = set; then
4290 enableval="$enable_protocols"
4291
4292 if test "$enableval" = yes; then
4293 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4294 else
4295 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4296 fi
4297
4298 else
4299
4300 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4301 if test "x$LINE" != x ; then
4302 eval "DEFAULT_$LINE"
4303 else
4304 no_cache=1
4305 fi
4306
4307 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4308
4309 fi;
4310
4311 eval "$ac_cv_use_protocols"
4312 if test "$no_cache" != 1; then
4313 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4314 fi
4315
4316 if test "$wxUSE_PROTOCOL" = yes; then
4317 echo "$as_me:$LINENO: result: yes" >&5
4318 echo "${ECHO_T}yes" >&6
4319 else
4320 echo "$as_me:$LINENO: result: no" >&5
4321 echo "${ECHO_T}no" >&6
4322 fi
4323
4324
4325 enablestring=
4326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4327 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4328 no_cache=0
4329 # Check whether --enable-ftp or --disable-ftp was given.
4330 if test "${enable_ftp+set}" = set; then
4331 enableval="$enable_ftp"
4332
4333 if test "$enableval" = yes; then
4334 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4335 else
4336 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4337 fi
4338
4339 else
4340
4341 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x ; then
4343 eval "DEFAULT_$LINE"
4344 else
4345 no_cache=1
4346 fi
4347
4348 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4349
4350 fi;
4351
4352 eval "$ac_cv_use_ftp"
4353 if test "$no_cache" != 1; then
4354 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4355 fi
4356
4357 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4358 echo "$as_me:$LINENO: result: yes" >&5
4359 echo "${ECHO_T}yes" >&6
4360 else
4361 echo "$as_me:$LINENO: result: no" >&5
4362 echo "${ECHO_T}no" >&6
4363 fi
4364
4365
4366 enablestring=
4367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4368 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4369 no_cache=0
4370 # Check whether --enable-http or --disable-http was given.
4371 if test "${enable_http+set}" = set; then
4372 enableval="$enable_http"
4373
4374 if test "$enableval" = yes; then
4375 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4376 else
4377 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4378 fi
4379
4380 else
4381
4382 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4383 if test "x$LINE" != x ; then
4384 eval "DEFAULT_$LINE"
4385 else
4386 no_cache=1
4387 fi
4388
4389 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4390
4391 fi;
4392
4393 eval "$ac_cv_use_http"
4394 if test "$no_cache" != 1; then
4395 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4396 fi
4397
4398 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4399 echo "$as_me:$LINENO: result: yes" >&5
4400 echo "${ECHO_T}yes" >&6
4401 else
4402 echo "$as_me:$LINENO: result: no" >&5
4403 echo "${ECHO_T}no" >&6
4404 fi
4405
4406
4407 enablestring=
4408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4409 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4410 no_cache=0
4411 # Check whether --enable-fileproto or --disable-fileproto was given.
4412 if test "${enable_fileproto+set}" = set; then
4413 enableval="$enable_fileproto"
4414
4415 if test "$enableval" = yes; then
4416 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4417 else
4418 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4419 fi
4420
4421 else
4422
4423 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4424 if test "x$LINE" != x ; then
4425 eval "DEFAULT_$LINE"
4426 else
4427 no_cache=1
4428 fi
4429
4430 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4431
4432 fi;
4433
4434 eval "$ac_cv_use_fileproto"
4435 if test "$no_cache" != 1; then
4436 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4437 fi
4438
4439 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4440 echo "$as_me:$LINENO: result: yes" >&5
4441 echo "${ECHO_T}yes" >&6
4442 else
4443 echo "$as_me:$LINENO: result: no" >&5
4444 echo "${ECHO_T}no" >&6
4445 fi
4446
4447
4448 enablestring=
4449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4450 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4451 no_cache=0
4452 # Check whether --enable-sockets or --disable-sockets was given.
4453 if test "${enable_sockets+set}" = set; then
4454 enableval="$enable_sockets"
4455
4456 if test "$enableval" = yes; then
4457 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4458 else
4459 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4460 fi
4461
4462 else
4463
4464 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4465 if test "x$LINE" != x ; then
4466 eval "DEFAULT_$LINE"
4467 else
4468 no_cache=1
4469 fi
4470
4471 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4472
4473 fi;
4474
4475 eval "$ac_cv_use_sockets"
4476 if test "$no_cache" != 1; then
4477 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4478 fi
4479
4480 if test "$wxUSE_SOCKETS" = yes; then
4481 echo "$as_me:$LINENO: result: yes" >&5
4482 echo "${ECHO_T}yes" >&6
4483 else
4484 echo "$as_me:$LINENO: result: no" >&5
4485 echo "${ECHO_T}no" >&6
4486 fi
4487
4488
4489 enablestring=
4490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4491 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4492 no_cache=0
4493 # Check whether --enable-ole or --disable-ole was given.
4494 if test "${enable_ole+set}" = set; then
4495 enableval="$enable_ole"
4496
4497 if test "$enableval" = yes; then
4498 ac_cv_use_ole='wxUSE_OLE=yes'
4499 else
4500 ac_cv_use_ole='wxUSE_OLE=no'
4501 fi
4502
4503 else
4504
4505 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4506 if test "x$LINE" != x ; then
4507 eval "DEFAULT_$LINE"
4508 else
4509 no_cache=1
4510 fi
4511
4512 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4513
4514 fi;
4515
4516 eval "$ac_cv_use_ole"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4519 fi
4520
4521 if test "$wxUSE_OLE" = yes; then
4522 echo "$as_me:$LINENO: result: yes" >&5
4523 echo "${ECHO_T}yes" >&6
4524 else
4525 echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6
4527 fi
4528
4529
4530 enablestring=
4531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4532 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4533 no_cache=0
4534 # Check whether --enable-dataobj or --disable-dataobj was given.
4535 if test "${enable_dataobj+set}" = set; then
4536 enableval="$enable_dataobj"
4537
4538 if test "$enableval" = yes; then
4539 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4540 else
4541 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4542 fi
4543
4544 else
4545
4546 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x ; then
4548 eval "DEFAULT_$LINE"
4549 else
4550 no_cache=1
4551 fi
4552
4553 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4554
4555 fi;
4556
4557 eval "$ac_cv_use_dataobj"
4558 if test "$no_cache" != 1; then
4559 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4560 fi
4561
4562 if test "$wxUSE_DATAOBJ" = yes; then
4563 echo "$as_me:$LINENO: result: yes" >&5
4564 echo "${ECHO_T}yes" >&6
4565 else
4566 echo "$as_me:$LINENO: result: no" >&5
4567 echo "${ECHO_T}no" >&6
4568 fi
4569
4570
4571
4572 enablestring=
4573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4574 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4575 no_cache=0
4576 # Check whether --enable-ipc or --disable-ipc was given.
4577 if test "${enable_ipc+set}" = set; then
4578 enableval="$enable_ipc"
4579
4580 if test "$enableval" = yes; then
4581 ac_cv_use_ipc='wxUSE_IPC=yes'
4582 else
4583 ac_cv_use_ipc='wxUSE_IPC=no'
4584 fi
4585
4586 else
4587
4588 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4589 if test "x$LINE" != x ; then
4590 eval "DEFAULT_$LINE"
4591 else
4592 no_cache=1
4593 fi
4594
4595 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4596
4597 fi;
4598
4599 eval "$ac_cv_use_ipc"
4600 if test "$no_cache" != 1; then
4601 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4602 fi
4603
4604 if test "$wxUSE_IPC" = yes; then
4605 echo "$as_me:$LINENO: result: yes" >&5
4606 echo "${ECHO_T}yes" >&6
4607 else
4608 echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6
4610 fi
4611
4612
4613
4614 enablestring=
4615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4616 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4617 no_cache=0
4618 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4619 if test "${enable_apple_ieee+set}" = set; then
4620 enableval="$enable_apple_ieee"
4621
4622 if test "$enableval" = yes; then
4623 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4624 else
4625 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4626 fi
4627
4628 else
4629
4630 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4631 if test "x$LINE" != x ; then
4632 eval "DEFAULT_$LINE"
4633 else
4634 no_cache=1
4635 fi
4636
4637 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4638
4639 fi;
4640
4641 eval "$ac_cv_use_apple_ieee"
4642 if test "$no_cache" != 1; then
4643 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4644 fi
4645
4646 if test "$wxUSE_APPLE_IEEE" = yes; then
4647 echo "$as_me:$LINENO: result: yes" >&5
4648 echo "${ECHO_T}yes" >&6
4649 else
4650 echo "$as_me:$LINENO: result: no" >&5
4651 echo "${ECHO_T}no" >&6
4652 fi
4653
4654
4655 enablestring=
4656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4657 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4658 no_cache=0
4659 # Check whether --enable-arcstream or --disable-arcstream was given.
4660 if test "${enable_arcstream+set}" = set; then
4661 enableval="$enable_arcstream"
4662
4663 if test "$enableval" = yes; then
4664 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4665 else
4666 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4667 fi
4668
4669 else
4670
4671 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4672 if test "x$LINE" != x ; then
4673 eval "DEFAULT_$LINE"
4674 else
4675 no_cache=1
4676 fi
4677
4678 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4679
4680 fi;
4681
4682 eval "$ac_cv_use_arcstream"
4683 if test "$no_cache" != 1; then
4684 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4685 fi
4686
4687 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4688 echo "$as_me:$LINENO: result: yes" >&5
4689 echo "${ECHO_T}yes" >&6
4690 else
4691 echo "$as_me:$LINENO: result: no" >&5
4692 echo "${ECHO_T}no" >&6
4693 fi
4694
4695
4696 enablestring=
4697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4698 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4699 no_cache=0
4700 # Check whether --enable-backtrace or --disable-backtrace was given.
4701 if test "${enable_backtrace+set}" = set; then
4702 enableval="$enable_backtrace"
4703
4704 if test "$enableval" = yes; then
4705 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4706 else
4707 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4708 fi
4709
4710 else
4711
4712 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4713 if test "x$LINE" != x ; then
4714 eval "DEFAULT_$LINE"
4715 else
4716 no_cache=1
4717 fi
4718
4719 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4720
4721 fi;
4722
4723 eval "$ac_cv_use_backtrace"
4724 if test "$no_cache" != 1; then
4725 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4726 fi
4727
4728 if test "$wxUSE_STACKWALKER" = yes; then
4729 echo "$as_me:$LINENO: result: yes" >&5
4730 echo "${ECHO_T}yes" >&6
4731 else
4732 echo "$as_me:$LINENO: result: no" >&5
4733 echo "${ECHO_T}no" >&6
4734 fi
4735
4736
4737 enablestring=
4738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4739 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4740 no_cache=0
4741 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4742 if test "${enable_catch_segvs+set}" = set; then
4743 enableval="$enable_catch_segvs"
4744
4745 if test "$enableval" = yes; then
4746 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4747 else
4748 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4749 fi
4750
4751 else
4752
4753 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x ; then
4755 eval "DEFAULT_$LINE"
4756 else
4757 no_cache=1
4758 fi
4759
4760 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4761
4762 fi;
4763
4764 eval "$ac_cv_use_catch_segvs"
4765 if test "$no_cache" != 1; then
4766 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4767 fi
4768
4769 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4770 echo "$as_me:$LINENO: result: yes" >&5
4771 echo "${ECHO_T}yes" >&6
4772 else
4773 echo "$as_me:$LINENO: result: no" >&5
4774 echo "${ECHO_T}no" >&6
4775 fi
4776
4777
4778 enablestring=
4779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4780 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4781 no_cache=0
4782 # Check whether --enable-cmdline or --disable-cmdline was given.
4783 if test "${enable_cmdline+set}" = set; then
4784 enableval="$enable_cmdline"
4785
4786 if test "$enableval" = yes; then
4787 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4788 else
4789 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4790 fi
4791
4792 else
4793
4794 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4795 if test "x$LINE" != x ; then
4796 eval "DEFAULT_$LINE"
4797 else
4798 no_cache=1
4799 fi
4800
4801 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4802
4803 fi;
4804
4805 eval "$ac_cv_use_cmdline"
4806 if test "$no_cache" != 1; then
4807 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4808 fi
4809
4810 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4811 echo "$as_me:$LINENO: result: yes" >&5
4812 echo "${ECHO_T}yes" >&6
4813 else
4814 echo "$as_me:$LINENO: result: no" >&5
4815 echo "${ECHO_T}no" >&6
4816 fi
4817
4818
4819 enablestring=
4820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4821 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4822 no_cache=0
4823 # Check whether --enable-datetime or --disable-datetime was given.
4824 if test "${enable_datetime+set}" = set; then
4825 enableval="$enable_datetime"
4826
4827 if test "$enableval" = yes; then
4828 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4829 else
4830 ac_cv_use_datetime='wxUSE_DATETIME=no'
4831 fi
4832
4833 else
4834
4835 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4836 if test "x$LINE" != x ; then
4837 eval "DEFAULT_$LINE"
4838 else
4839 no_cache=1
4840 fi
4841
4842 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4843
4844 fi;
4845
4846 eval "$ac_cv_use_datetime"
4847 if test "$no_cache" != 1; then
4848 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4849 fi
4850
4851 if test "$wxUSE_DATETIME" = yes; then
4852 echo "$as_me:$LINENO: result: yes" >&5
4853 echo "${ECHO_T}yes" >&6
4854 else
4855 echo "$as_me:$LINENO: result: no" >&5
4856 echo "${ECHO_T}no" >&6
4857 fi
4858
4859
4860 enablestring=
4861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4862 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4863 no_cache=0
4864 # Check whether --enable-debugreport or --disable-debugreport was given.
4865 if test "${enable_debugreport+set}" = set; then
4866 enableval="$enable_debugreport"
4867
4868 if test "$enableval" = yes; then
4869 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4870 else
4871 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4872 fi
4873
4874 else
4875
4876 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4877 if test "x$LINE" != x ; then
4878 eval "DEFAULT_$LINE"
4879 else
4880 no_cache=1
4881 fi
4882
4883 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4884
4885 fi;
4886
4887 eval "$ac_cv_use_debugreport"
4888 if test "$no_cache" != 1; then
4889 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4890 fi
4891
4892 if test "$wxUSE_DEBUGREPORT" = yes; then
4893 echo "$as_me:$LINENO: result: yes" >&5
4894 echo "${ECHO_T}yes" >&6
4895 else
4896 echo "$as_me:$LINENO: result: no" >&5
4897 echo "${ECHO_T}no" >&6
4898 fi
4899
4900
4901 enablestring=
4902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4903 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4904 no_cache=0
4905 # Check whether --enable-dialupman or --disable-dialupman was given.
4906 if test "${enable_dialupman+set}" = set; then
4907 enableval="$enable_dialupman"
4908
4909 if test "$enableval" = yes; then
4910 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4911 else
4912 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4913 fi
4914
4915 else
4916
4917 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4918 if test "x$LINE" != x ; then
4919 eval "DEFAULT_$LINE"
4920 else
4921 no_cache=1
4922 fi
4923
4924 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4925
4926 fi;
4927
4928 eval "$ac_cv_use_dialupman"
4929 if test "$no_cache" != 1; then
4930 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4931 fi
4932
4933 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4934 echo "$as_me:$LINENO: result: yes" >&5
4935 echo "${ECHO_T}yes" >&6
4936 else
4937 echo "$as_me:$LINENO: result: no" >&5
4938 echo "${ECHO_T}no" >&6
4939 fi
4940
4941
4942 enablestring=
4943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4944 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4945 no_cache=0
4946 # Check whether --enable-dynlib or --disable-dynlib was given.
4947 if test "${enable_dynlib+set}" = set; then
4948 enableval="$enable_dynlib"
4949
4950 if test "$enableval" = yes; then
4951 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4952 else
4953 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4954 fi
4955
4956 else
4957
4958 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4959 if test "x$LINE" != x ; then
4960 eval "DEFAULT_$LINE"
4961 else
4962 no_cache=1
4963 fi
4964
4965 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4966
4967 fi;
4968
4969 eval "$ac_cv_use_dynlib"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4972 fi
4973
4974 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4975 echo "$as_me:$LINENO: result: yes" >&5
4976 echo "${ECHO_T}yes" >&6
4977 else
4978 echo "$as_me:$LINENO: result: no" >&5
4979 echo "${ECHO_T}no" >&6
4980 fi
4981
4982
4983 enablestring=
4984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4986 no_cache=0
4987 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4988 if test "${enable_dynamicloader+set}" = set; then
4989 enableval="$enable_dynamicloader"
4990
4991 if test "$enableval" = yes; then
4992 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4993 else
4994 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4995 fi
4996
4997 else
4998
4999 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5000 if test "x$LINE" != x ; then
5001 eval "DEFAULT_$LINE"
5002 else
5003 no_cache=1
5004 fi
5005
5006 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5007
5008 fi;
5009
5010 eval "$ac_cv_use_dynamicloader"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5013 fi
5014
5015 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5016 echo "$as_me:$LINENO: result: yes" >&5
5017 echo "${ECHO_T}yes" >&6
5018 else
5019 echo "$as_me:$LINENO: result: no" >&5
5020 echo "${ECHO_T}no" >&6
5021 fi
5022
5023
5024 enablestring=
5025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5026 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5027 no_cache=0
5028 # Check whether --enable-exceptions or --disable-exceptions was given.
5029 if test "${enable_exceptions+set}" = set; then
5030 enableval="$enable_exceptions"
5031
5032 if test "$enableval" = yes; then
5033 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5034 else
5035 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5036 fi
5037
5038 else
5039
5040 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x ; then
5042 eval "DEFAULT_$LINE"
5043 else
5044 no_cache=1
5045 fi
5046
5047 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5048
5049 fi;
5050
5051 eval "$ac_cv_use_exceptions"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5054 fi
5055
5056 if test "$wxUSE_EXCEPTIONS" = yes; then
5057 echo "$as_me:$LINENO: result: yes" >&5
5058 echo "${ECHO_T}yes" >&6
5059 else
5060 echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6
5062 fi
5063
5064
5065 enablestring=
5066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5067 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5068 no_cache=0
5069 # Check whether --enable-ffile or --disable-ffile was given.
5070 if test "${enable_ffile+set}" = set; then
5071 enableval="$enable_ffile"
5072
5073 if test "$enableval" = yes; then
5074 ac_cv_use_ffile='wxUSE_FFILE=yes'
5075 else
5076 ac_cv_use_ffile='wxUSE_FFILE=no'
5077 fi
5078
5079 else
5080
5081 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5082 if test "x$LINE" != x ; then
5083 eval "DEFAULT_$LINE"
5084 else
5085 no_cache=1
5086 fi
5087
5088 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5089
5090 fi;
5091
5092 eval "$ac_cv_use_ffile"
5093 if test "$no_cache" != 1; then
5094 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5095 fi
5096
5097 if test "$wxUSE_FFILE" = yes; then
5098 echo "$as_me:$LINENO: result: yes" >&5
5099 echo "${ECHO_T}yes" >&6
5100 else
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5103 fi
5104
5105
5106 enablestring=
5107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5108 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5109 no_cache=0
5110 # Check whether --enable-file or --disable-file was given.
5111 if test "${enable_file+set}" = set; then
5112 enableval="$enable_file"
5113
5114 if test "$enableval" = yes; then
5115 ac_cv_use_file='wxUSE_FILE=yes'
5116 else
5117 ac_cv_use_file='wxUSE_FILE=no'
5118 fi
5119
5120 else
5121
5122 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5123 if test "x$LINE" != x ; then
5124 eval "DEFAULT_$LINE"
5125 else
5126 no_cache=1
5127 fi
5128
5129 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5130
5131 fi;
5132
5133 eval "$ac_cv_use_file"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5136 fi
5137
5138 if test "$wxUSE_FILE" = yes; then
5139 echo "$as_me:$LINENO: result: yes" >&5
5140 echo "${ECHO_T}yes" >&6
5141 else
5142 echo "$as_me:$LINENO: result: no" >&5
5143 echo "${ECHO_T}no" >&6
5144 fi
5145
5146
5147 enablestring=
5148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5149 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5150 no_cache=0
5151 # Check whether --enable-filesystem or --disable-filesystem was given.
5152 if test "${enable_filesystem+set}" = set; then
5153 enableval="$enable_filesystem"
5154
5155 if test "$enableval" = yes; then
5156 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5157 else
5158 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5159 fi
5160
5161 else
5162
5163 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x ; then
5165 eval "DEFAULT_$LINE"
5166 else
5167 no_cache=1
5168 fi
5169
5170 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5171
5172 fi;
5173
5174 eval "$ac_cv_use_filesystem"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5177 fi
5178
5179 if test "$wxUSE_FILESYSTEM" = yes; then
5180 echo "$as_me:$LINENO: result: yes" >&5
5181 echo "${ECHO_T}yes" >&6
5182 else
5183 echo "$as_me:$LINENO: result: no" >&5
5184 echo "${ECHO_T}no" >&6
5185 fi
5186
5187
5188 enablestring=
5189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5190 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5191 no_cache=0
5192 # Check whether --enable-fontmap or --disable-fontmap was given.
5193 if test "${enable_fontmap+set}" = set; then
5194 enableval="$enable_fontmap"
5195
5196 if test "$enableval" = yes; then
5197 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5198 else
5199 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5200 fi
5201
5202 else
5203
5204 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5205 if test "x$LINE" != x ; then
5206 eval "DEFAULT_$LINE"
5207 else
5208 no_cache=1
5209 fi
5210
5211 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5212
5213 fi;
5214
5215 eval "$ac_cv_use_fontmap"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5218 fi
5219
5220 if test "$wxUSE_FONTMAP" = yes; then
5221 echo "$as_me:$LINENO: result: yes" >&5
5222 echo "${ECHO_T}yes" >&6
5223 else
5224 echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6
5226 fi
5227
5228
5229 enablestring=
5230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5232 no_cache=0
5233 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5234 if test "${enable_fs_inet+set}" = set; then
5235 enableval="$enable_fs_inet"
5236
5237 if test "$enableval" = yes; then
5238 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5239 else
5240 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5241 fi
5242
5243 else
5244
5245 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5246 if test "x$LINE" != x ; then
5247 eval "DEFAULT_$LINE"
5248 else
5249 no_cache=1
5250 fi
5251
5252 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5253
5254 fi;
5255
5256 eval "$ac_cv_use_fs_inet"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5259 fi
5260
5261 if test "$wxUSE_FS_INET" = yes; then
5262 echo "$as_me:$LINENO: result: yes" >&5
5263 echo "${ECHO_T}yes" >&6
5264 else
5265 echo "$as_me:$LINENO: result: no" >&5
5266 echo "${ECHO_T}no" >&6
5267 fi
5268
5269
5270 enablestring=
5271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5272 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5273 no_cache=0
5274 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5275 if test "${enable_fs_zip+set}" = set; then
5276 enableval="$enable_fs_zip"
5277
5278 if test "$enableval" = yes; then
5279 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5280 else
5281 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5282 fi
5283
5284 else
5285
5286 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5287 if test "x$LINE" != x ; then
5288 eval "DEFAULT_$LINE"
5289 else
5290 no_cache=1
5291 fi
5292
5293 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5294
5295 fi;
5296
5297 eval "$ac_cv_use_fs_zip"
5298 if test "$no_cache" != 1; then
5299 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5300 fi
5301
5302 if test "$wxUSE_FS_ZIP" = yes; then
5303 echo "$as_me:$LINENO: result: yes" >&5
5304 echo "${ECHO_T}yes" >&6
5305 else
5306 echo "$as_me:$LINENO: result: no" >&5
5307 echo "${ECHO_T}no" >&6
5308 fi
5309
5310
5311 enablestring=
5312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5313 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5314 no_cache=0
5315 # Check whether --enable-geometry or --disable-geometry was given.
5316 if test "${enable_geometry+set}" = set; then
5317 enableval="$enable_geometry"
5318
5319 if test "$enableval" = yes; then
5320 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5321 else
5322 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5323 fi
5324
5325 else
5326
5327 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5328 if test "x$LINE" != x ; then
5329 eval "DEFAULT_$LINE"
5330 else
5331 no_cache=1
5332 fi
5333
5334 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5335
5336 fi;
5337
5338 eval "$ac_cv_use_geometry"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5341 fi
5342
5343 if test "$wxUSE_GEOMETRY" = yes; then
5344 echo "$as_me:$LINENO: result: yes" >&5
5345 echo "${ECHO_T}yes" >&6
5346 else
5347 echo "$as_me:$LINENO: result: no" >&5
5348 echo "${ECHO_T}no" >&6
5349 fi
5350
5351
5352 enablestring=
5353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5354 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5355 no_cache=0
5356 # Check whether --enable-log or --disable-log was given.
5357 if test "${enable_log+set}" = set; then
5358 enableval="$enable_log"
5359
5360 if test "$enableval" = yes; then
5361 ac_cv_use_log='wxUSE_LOG=yes'
5362 else
5363 ac_cv_use_log='wxUSE_LOG=no'
5364 fi
5365
5366 else
5367
5368 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5369 if test "x$LINE" != x ; then
5370 eval "DEFAULT_$LINE"
5371 else
5372 no_cache=1
5373 fi
5374
5375 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5376
5377 fi;
5378
5379 eval "$ac_cv_use_log"
5380 if test "$no_cache" != 1; then
5381 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5382 fi
5383
5384 if test "$wxUSE_LOG" = yes; then
5385 echo "$as_me:$LINENO: result: yes" >&5
5386 echo "${ECHO_T}yes" >&6
5387 else
5388 echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6
5390 fi
5391
5392
5393 enablestring=
5394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5395 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5396 no_cache=0
5397 # Check whether --enable-longlong or --disable-longlong was given.
5398 if test "${enable_longlong+set}" = set; then
5399 enableval="$enable_longlong"
5400
5401 if test "$enableval" = yes; then
5402 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5403 else
5404 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5405 fi
5406
5407 else
5408
5409 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x ; then
5411 eval "DEFAULT_$LINE"
5412 else
5413 no_cache=1
5414 fi
5415
5416 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5417
5418 fi;
5419
5420 eval "$ac_cv_use_longlong"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5423 fi
5424
5425 if test "$wxUSE_LONGLONG" = yes; then
5426 echo "$as_me:$LINENO: result: yes" >&5
5427 echo "${ECHO_T}yes" >&6
5428 else
5429 echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6
5431 fi
5432
5433
5434 enablestring=
5435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5437 no_cache=0
5438 # Check whether --enable-mimetype or --disable-mimetype was given.
5439 if test "${enable_mimetype+set}" = set; then
5440 enableval="$enable_mimetype"
5441
5442 if test "$enableval" = yes; then
5443 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5444 else
5445 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5446 fi
5447
5448 else
5449
5450 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x ; then
5452 eval "DEFAULT_$LINE"
5453 else
5454 no_cache=1
5455 fi
5456
5457 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5458
5459 fi;
5460
5461 eval "$ac_cv_use_mimetype"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5464 fi
5465
5466 if test "$wxUSE_MIMETYPE" = yes; then
5467 echo "$as_me:$LINENO: result: yes" >&5
5468 echo "${ECHO_T}yes" >&6
5469 else
5470 echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6
5472 fi
5473
5474
5475 enablestring=
5476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5478 no_cache=0
5479 # Check whether --enable-mslu or --disable-mslu was given.
5480 if test "${enable_mslu+set}" = set; then
5481 enableval="$enable_mslu"
5482
5483 if test "$enableval" = yes; then
5484 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5485 else
5486 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5487 fi
5488
5489 else
5490
5491 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x ; then
5493 eval "DEFAULT_$LINE"
5494 else
5495 no_cache=1
5496 fi
5497
5498 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5499
5500 fi;
5501
5502 eval "$ac_cv_use_mslu"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5505 fi
5506
5507 if test "$wxUSE_UNICODE_MSLU" = yes; then
5508 echo "$as_me:$LINENO: result: yes" >&5
5509 echo "${ECHO_T}yes" >&6
5510 else
5511 echo "$as_me:$LINENO: result: no" >&5
5512 echo "${ECHO_T}no" >&6
5513 fi
5514
5515
5516 enablestring=
5517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5518 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5519 no_cache=0
5520 # Check whether --enable-snglinst or --disable-snglinst was given.
5521 if test "${enable_snglinst+set}" = set; then
5522 enableval="$enable_snglinst"
5523
5524 if test "$enableval" = yes; then
5525 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5526 else
5527 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5528 fi
5529
5530 else
5531
5532 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x ; then
5534 eval "DEFAULT_$LINE"
5535 else
5536 no_cache=1
5537 fi
5538
5539 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5540
5541 fi;
5542
5543 eval "$ac_cv_use_snglinst"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5546 fi
5547
5548 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5549 echo "$as_me:$LINENO: result: yes" >&5
5550 echo "${ECHO_T}yes" >&6
5551 else
5552 echo "$as_me:$LINENO: result: no" >&5
5553 echo "${ECHO_T}no" >&6
5554 fi
5555
5556
5557 enablestring=
5558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5560 no_cache=0
5561 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5562 if test "${enable_std_iostreams+set}" = set; then
5563 enableval="$enable_std_iostreams"
5564
5565 if test "$enableval" = yes; then
5566 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5567 else
5568 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5569 fi
5570
5571 else
5572
5573 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5574 if test "x$LINE" != x ; then
5575 eval "DEFAULT_$LINE"
5576 else
5577 no_cache=1
5578 fi
5579
5580 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5581
5582 fi;
5583
5584 eval "$ac_cv_use_std_iostreams"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5587 fi
5588
5589 if test "$wxUSE_STD_IOSTREAM" = yes; then
5590 echo "$as_me:$LINENO: result: yes" >&5
5591 echo "${ECHO_T}yes" >&6
5592 else
5593 echo "$as_me:$LINENO: result: no" >&5
5594 echo "${ECHO_T}no" >&6
5595 fi
5596
5597
5598 enablestring=
5599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5600 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5601 no_cache=0
5602 # Check whether --enable-std_string or --disable-std_string was given.
5603 if test "${enable_std_string+set}" = set; then
5604 enableval="$enable_std_string"
5605
5606 if test "$enableval" = yes; then
5607 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5608 else
5609 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5610 fi
5611
5612 else
5613
5614 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x ; then
5616 eval "DEFAULT_$LINE"
5617 else
5618 no_cache=1
5619 fi
5620
5621 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5622
5623 fi;
5624
5625 eval "$ac_cv_use_std_string"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5628 fi
5629
5630 if test "$wxUSE_STD_STRING" = yes; then
5631 echo "$as_me:$LINENO: result: yes" >&5
5632 echo "${ECHO_T}yes" >&6
5633 else
5634 echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6
5636 fi
5637
5638
5639 enablestring=
5640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5641 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5642 no_cache=0
5643 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5644 if test "${enable_stdpaths+set}" = set; then
5645 enableval="$enable_stdpaths"
5646
5647 if test "$enableval" = yes; then
5648 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5649 else
5650 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5651 fi
5652
5653 else
5654
5655 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x ; then
5657 eval "DEFAULT_$LINE"
5658 else
5659 no_cache=1
5660 fi
5661
5662 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5663
5664 fi;
5665
5666 eval "$ac_cv_use_stdpaths"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5669 fi
5670
5671 if test "$wxUSE_STDPATHS" = yes; then
5672 echo "$as_me:$LINENO: result: yes" >&5
5673 echo "${ECHO_T}yes" >&6
5674 else
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5677 fi
5678
5679
5680 enablestring=
5681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5683 no_cache=0
5684 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5685 if test "${enable_stopwatch+set}" = set; then
5686 enableval="$enable_stopwatch"
5687
5688 if test "$enableval" = yes; then
5689 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5690 else
5691 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5692 fi
5693
5694 else
5695
5696 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x ; then
5698 eval "DEFAULT_$LINE"
5699 else
5700 no_cache=1
5701 fi
5702
5703 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5704
5705 fi;
5706
5707 eval "$ac_cv_use_stopwatch"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5710 fi
5711
5712 if test "$wxUSE_STOPWATCH" = yes; then
5713 echo "$as_me:$LINENO: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6
5715 else
5716 echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5718 fi
5719
5720
5721 enablestring=
5722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5724 no_cache=0
5725 # Check whether --enable-streams or --disable-streams was given.
5726 if test "${enable_streams+set}" = set; then
5727 enableval="$enable_streams"
5728
5729 if test "$enableval" = yes; then
5730 ac_cv_use_streams='wxUSE_STREAMS=yes'
5731 else
5732 ac_cv_use_streams='wxUSE_STREAMS=no'
5733 fi
5734
5735 else
5736
5737 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x ; then
5739 eval "DEFAULT_$LINE"
5740 else
5741 no_cache=1
5742 fi
5743
5744 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5745
5746 fi;
5747
5748 eval "$ac_cv_use_streams"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5751 fi
5752
5753 if test "$wxUSE_STREAMS" = yes; then
5754 echo "$as_me:$LINENO: result: yes" >&5
5755 echo "${ECHO_T}yes" >&6
5756 else
5757 echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6
5759 fi
5760
5761
5762 enablestring=
5763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5764 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5765 no_cache=0
5766 # Check whether --enable-system_options or --disable-system_options was given.
5767 if test "${enable_system_options+set}" = set; then
5768 enableval="$enable_system_options"
5769
5770 if test "$enableval" = yes; then
5771 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5772 else
5773 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5774 fi
5775
5776 else
5777
5778 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x ; then
5780 eval "DEFAULT_$LINE"
5781 else
5782 no_cache=1
5783 fi
5784
5785 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5786
5787 fi;
5788
5789 eval "$ac_cv_use_system_options"
5790 if test "$no_cache" != 1; then
5791 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5792 fi
5793
5794 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5795 echo "$as_me:$LINENO: result: yes" >&5
5796 echo "${ECHO_T}yes" >&6
5797 else
5798 echo "$as_me:$LINENO: result: no" >&5
5799 echo "${ECHO_T}no" >&6
5800 fi
5801
5802
5803 enablestring=
5804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5805 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5806 no_cache=0
5807 # Check whether --enable-textbuf or --disable-textbuf was given.
5808 if test "${enable_textbuf+set}" = set; then
5809 enableval="$enable_textbuf"
5810
5811 if test "$enableval" = yes; then
5812 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5813 else
5814 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5815 fi
5816
5817 else
5818
5819 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x ; then
5821 eval "DEFAULT_$LINE"
5822 else
5823 no_cache=1
5824 fi
5825
5826 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5827
5828 fi;
5829
5830 eval "$ac_cv_use_textbuf"
5831 if test "$no_cache" != 1; then
5832 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5833 fi
5834
5835 if test "$wxUSE_TEXTBUFFER" = yes; then
5836 echo "$as_me:$LINENO: result: yes" >&5
5837 echo "${ECHO_T}yes" >&6
5838 else
5839 echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6
5841 fi
5842
5843
5844 enablestring=
5845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5847 no_cache=0
5848 # Check whether --enable-textfile or --disable-textfile was given.
5849 if test "${enable_textfile+set}" = set; then
5850 enableval="$enable_textfile"
5851
5852 if test "$enableval" = yes; then
5853 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5854 else
5855 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5856 fi
5857
5858 else
5859
5860 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x ; then
5862 eval "DEFAULT_$LINE"
5863 else
5864 no_cache=1
5865 fi
5866
5867 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5868
5869 fi;
5870
5871 eval "$ac_cv_use_textfile"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5874 fi
5875
5876 if test "$wxUSE_TEXTFILE" = yes; then
5877 echo "$as_me:$LINENO: result: yes" >&5
5878 echo "${ECHO_T}yes" >&6
5879 else
5880 echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6
5882 fi
5883
5884
5885 enablestring=
5886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5887 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5888 no_cache=0
5889 # Check whether --enable-timer or --disable-timer was given.
5890 if test "${enable_timer+set}" = set; then
5891 enableval="$enable_timer"
5892
5893 if test "$enableval" = yes; then
5894 ac_cv_use_timer='wxUSE_TIMER=yes'
5895 else
5896 ac_cv_use_timer='wxUSE_TIMER=no'
5897 fi
5898
5899 else
5900
5901 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5902 if test "x$LINE" != x ; then
5903 eval "DEFAULT_$LINE"
5904 else
5905 no_cache=1
5906 fi
5907
5908 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5909
5910 fi;
5911
5912 eval "$ac_cv_use_timer"
5913 if test "$no_cache" != 1; then
5914 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5915 fi
5916
5917 if test "$wxUSE_TIMER" = yes; then
5918 echo "$as_me:$LINENO: result: yes" >&5
5919 echo "${ECHO_T}yes" >&6
5920 else
5921 echo "$as_me:$LINENO: result: no" >&5
5922 echo "${ECHO_T}no" >&6
5923 fi
5924
5925
5926 enablestring=
5927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5928 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5929 no_cache=0
5930 # Check whether --enable-unicode or --disable-unicode was given.
5931 if test "${enable_unicode+set}" = set; then
5932 enableval="$enable_unicode"
5933
5934 if test "$enableval" = yes; then
5935 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5936 else
5937 ac_cv_use_unicode='wxUSE_UNICODE=no'
5938 fi
5939
5940 else
5941
5942 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5943 if test "x$LINE" != x ; then
5944 eval "DEFAULT_$LINE"
5945 else
5946 no_cache=1
5947 fi
5948
5949 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5950
5951 fi;
5952
5953 eval "$ac_cv_use_unicode"
5954 if test "$no_cache" != 1; then
5955 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5956 fi
5957
5958 if test "$wxUSE_UNICODE" = yes; then
5959 echo "$as_me:$LINENO: result: yes" >&5
5960 echo "${ECHO_T}yes" >&6
5961 else
5962 echo "$as_me:$LINENO: result: no" >&5
5963 echo "${ECHO_T}no" >&6
5964 fi
5965
5966
5967 enablestring=
5968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5970 no_cache=0
5971 # Check whether --enable-sound or --disable-sound was given.
5972 if test "${enable_sound+set}" = set; then
5973 enableval="$enable_sound"
5974
5975 if test "$enableval" = yes; then
5976 ac_cv_use_sound='wxUSE_SOUND=yes'
5977 else
5978 ac_cv_use_sound='wxUSE_SOUND=no'
5979 fi
5980
5981 else
5982
5983 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5984 if test "x$LINE" != x ; then
5985 eval "DEFAULT_$LINE"
5986 else
5987 no_cache=1
5988 fi
5989
5990 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5991
5992 fi;
5993
5994 eval "$ac_cv_use_sound"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5997 fi
5998
5999 if test "$wxUSE_SOUND" = yes; then
6000 echo "$as_me:$LINENO: result: yes" >&5
6001 echo "${ECHO_T}yes" >&6
6002 else
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6005 fi
6006
6007
6008 enablestring=
6009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6011 no_cache=0
6012 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6013 if test "${enable_mediactrl+set}" = set; then
6014 enableval="$enable_mediactrl"
6015
6016 if test "$enableval" = yes; then
6017 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6018 else
6019 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6020 fi
6021
6022 else
6023
6024 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x ; then
6026 eval "DEFAULT_$LINE"
6027 else
6028 no_cache=1
6029 fi
6030
6031 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6032
6033 fi;
6034
6035 eval "$ac_cv_use_mediactrl"
6036 if test "$no_cache" != 1; then
6037 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6038 fi
6039
6040 if test "$wxUSE_MEDIACTRL" = yes; then
6041 echo "$as_me:$LINENO: result: yes" >&5
6042 echo "${ECHO_T}yes" >&6
6043 else
6044 echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6
6046 fi
6047
6048
6049 enablestring=
6050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6051 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6052 no_cache=0
6053 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6054 if test "${enable_wxprintfv+set}" = set; then
6055 enableval="$enable_wxprintfv"
6056
6057 if test "$enableval" = yes; then
6058 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6059 else
6060 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6061 fi
6062
6063 else
6064
6065 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6066 if test "x$LINE" != x ; then
6067 eval "DEFAULT_$LINE"
6068 else
6069 no_cache=1
6070 fi
6071
6072 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6073
6074 fi;
6075
6076 eval "$ac_cv_use_wxprintfv"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6079 fi
6080
6081 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6082 echo "$as_me:$LINENO: result: yes" >&5
6083 echo "${ECHO_T}yes" >&6
6084 else
6085 echo "$as_me:$LINENO: result: no" >&5
6086 echo "${ECHO_T}no" >&6
6087 fi
6088
6089
6090 enablestring=
6091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6092 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6093 no_cache=0
6094 # Check whether --enable-zipstream or --disable-zipstream was given.
6095 if test "${enable_zipstream+set}" = set; then
6096 enableval="$enable_zipstream"
6097
6098 if test "$enableval" = yes; then
6099 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6100 else
6101 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6102 fi
6103
6104 else
6105
6106 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6107 if test "x$LINE" != x ; then
6108 eval "DEFAULT_$LINE"
6109 else
6110 no_cache=1
6111 fi
6112
6113 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6114
6115 fi;
6116
6117 eval "$ac_cv_use_zipstream"
6118 if test "$no_cache" != 1; then
6119 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6120 fi
6121
6122 if test "$wxUSE_ZIPSTREAM" = yes; then
6123 echo "$as_me:$LINENO: result: yes" >&5
6124 echo "${ECHO_T}yes" >&6
6125 else
6126 echo "$as_me:$LINENO: result: no" >&5
6127 echo "${ECHO_T}no" >&6
6128 fi
6129
6130
6131
6132 enablestring=
6133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6134 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6135 no_cache=0
6136 # Check whether --enable-url or --disable-url was given.
6137 if test "${enable_url+set}" = set; then
6138 enableval="$enable_url"
6139
6140 if test "$enableval" = yes; then
6141 ac_cv_use_url='wxUSE_URL=yes'
6142 else
6143 ac_cv_use_url='wxUSE_URL=no'
6144 fi
6145
6146 else
6147
6148 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6149 if test "x$LINE" != x ; then
6150 eval "DEFAULT_$LINE"
6151 else
6152 no_cache=1
6153 fi
6154
6155 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6156
6157 fi;
6158
6159 eval "$ac_cv_use_url"
6160 if test "$no_cache" != 1; then
6161 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6162 fi
6163
6164 if test "$wxUSE_URL" = yes; then
6165 echo "$as_me:$LINENO: result: yes" >&5
6166 echo "${ECHO_T}yes" >&6
6167 else
6168 echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6
6170 fi
6171
6172
6173 enablestring=
6174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6175 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6176 no_cache=0
6177 # Check whether --enable-protocol or --disable-protocol was given.
6178 if test "${enable_protocol+set}" = set; then
6179 enableval="$enable_protocol"
6180
6181 if test "$enableval" = yes; then
6182 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6183 else
6184 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6185 fi
6186
6187 else
6188
6189 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x ; then
6191 eval "DEFAULT_$LINE"
6192 else
6193 no_cache=1
6194 fi
6195
6196 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6197
6198 fi;
6199
6200 eval "$ac_cv_use_protocol"
6201 if test "$no_cache" != 1; then
6202 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6203 fi
6204
6205 if test "$wxUSE_PROTOCOL" = yes; then
6206 echo "$as_me:$LINENO: result: yes" >&5
6207 echo "${ECHO_T}yes" >&6
6208 else
6209 echo "$as_me:$LINENO: result: no" >&5
6210 echo "${ECHO_T}no" >&6
6211 fi
6212
6213
6214 enablestring=
6215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6216 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6217 no_cache=0
6218 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6219 if test "${enable_protocol_http+set}" = set; then
6220 enableval="$enable_protocol_http"
6221
6222 if test "$enableval" = yes; then
6223 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6224 else
6225 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6226 fi
6227
6228 else
6229
6230 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6231 if test "x$LINE" != x ; then
6232 eval "DEFAULT_$LINE"
6233 else
6234 no_cache=1
6235 fi
6236
6237 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6238
6239 fi;
6240
6241 eval "$ac_cv_use_protocol_http"
6242 if test "$no_cache" != 1; then
6243 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6244 fi
6245
6246 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6247 echo "$as_me:$LINENO: result: yes" >&5
6248 echo "${ECHO_T}yes" >&6
6249 else
6250 echo "$as_me:$LINENO: result: no" >&5
6251 echo "${ECHO_T}no" >&6
6252 fi
6253
6254
6255 enablestring=
6256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6257 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6258 no_cache=0
6259 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6260 if test "${enable_protocol_ftp+set}" = set; then
6261 enableval="$enable_protocol_ftp"
6262
6263 if test "$enableval" = yes; then
6264 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6265 else
6266 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6267 fi
6268
6269 else
6270
6271 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6272 if test "x$LINE" != x ; then
6273 eval "DEFAULT_$LINE"
6274 else
6275 no_cache=1
6276 fi
6277
6278 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6279
6280 fi;
6281
6282 eval "$ac_cv_use_protocol_ftp"
6283 if test "$no_cache" != 1; then
6284 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6285 fi
6286
6287 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6288 echo "$as_me:$LINENO: result: yes" >&5
6289 echo "${ECHO_T}yes" >&6
6290 else
6291 echo "$as_me:$LINENO: result: no" >&5
6292 echo "${ECHO_T}no" >&6
6293 fi
6294
6295
6296 enablestring=
6297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6298 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6299 no_cache=0
6300 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6301 if test "${enable_protocol_file+set}" = set; then
6302 enableval="$enable_protocol_file"
6303
6304 if test "$enableval" = yes; then
6305 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6306 else
6307 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6308 fi
6309
6310 else
6311
6312 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6313 if test "x$LINE" != x ; then
6314 eval "DEFAULT_$LINE"
6315 else
6316 no_cache=1
6317 fi
6318
6319 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6320
6321 fi;
6322
6323 eval "$ac_cv_use_protocol_file"
6324 if test "$no_cache" != 1; then
6325 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6326 fi
6327
6328 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6329 echo "$as_me:$LINENO: result: yes" >&5
6330 echo "${ECHO_T}yes" >&6
6331 else
6332 echo "$as_me:$LINENO: result: no" >&5
6333 echo "${ECHO_T}no" >&6
6334 fi
6335
6336
6337
6338
6339
6340 enablestring=
6341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6342 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6343 no_cache=0
6344 # Check whether --enable-threads or --disable-threads was given.
6345 if test "${enable_threads+set}" = set; then
6346 enableval="$enable_threads"
6347
6348 if test "$enableval" = yes; then
6349 ac_cv_use_threads='wxUSE_THREADS=yes'
6350 else
6351 ac_cv_use_threads='wxUSE_THREADS=no'
6352 fi
6353
6354 else
6355
6356 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6357 if test "x$LINE" != x ; then
6358 eval "DEFAULT_$LINE"
6359 else
6360 no_cache=1
6361 fi
6362
6363 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6364
6365 fi;
6366
6367 eval "$ac_cv_use_threads"
6368 if test "$no_cache" != 1; then
6369 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6370 fi
6371
6372 if test "$wxUSE_THREADS" = yes; then
6373 echo "$as_me:$LINENO: result: yes" >&5
6374 echo "${ECHO_T}yes" >&6
6375 else
6376 echo "$as_me:$LINENO: result: no" >&5
6377 echo "${ECHO_T}no" >&6
6378 fi
6379
6380
6381 if test "$wxUSE_GUI" = "yes"; then
6382
6383
6384
6385 enablestring=
6386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6388 no_cache=0
6389 # Check whether --enable-docview or --disable-docview was given.
6390 if test "${enable_docview+set}" = set; then
6391 enableval="$enable_docview"
6392
6393 if test "$enableval" = yes; then
6394 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6395 else
6396 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6397 fi
6398
6399 else
6400
6401 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x ; then
6403 eval "DEFAULT_$LINE"
6404 else
6405 no_cache=1
6406 fi
6407
6408 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6409
6410 fi;
6411
6412 eval "$ac_cv_use_docview"
6413 if test "$no_cache" != 1; then
6414 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6415 fi
6416
6417 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6418 echo "$as_me:$LINENO: result: yes" >&5
6419 echo "${ECHO_T}yes" >&6
6420 else
6421 echo "$as_me:$LINENO: result: no" >&5
6422 echo "${ECHO_T}no" >&6
6423 fi
6424
6425
6426 enablestring=
6427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6429 no_cache=0
6430 # Check whether --enable-help or --disable-help was given.
6431 if test "${enable_help+set}" = set; then
6432 enableval="$enable_help"
6433
6434 if test "$enableval" = yes; then
6435 ac_cv_use_help='wxUSE_HELP=yes'
6436 else
6437 ac_cv_use_help='wxUSE_HELP=no'
6438 fi
6439
6440 else
6441
6442 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x ; then
6444 eval "DEFAULT_$LINE"
6445 else
6446 no_cache=1
6447 fi
6448
6449 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6450
6451 fi;
6452
6453 eval "$ac_cv_use_help"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6456 fi
6457
6458 if test "$wxUSE_HELP" = yes; then
6459 echo "$as_me:$LINENO: result: yes" >&5
6460 echo "${ECHO_T}yes" >&6
6461 else
6462 echo "$as_me:$LINENO: result: no" >&5
6463 echo "${ECHO_T}no" >&6
6464 fi
6465
6466
6467 enablestring=
6468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6470 no_cache=0
6471 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6472 if test "${enable_mshtmlhelp+set}" = set; then
6473 enableval="$enable_mshtmlhelp"
6474
6475 if test "$enableval" = yes; then
6476 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6477 else
6478 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6479 fi
6480
6481 else
6482
6483 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x ; then
6485 eval "DEFAULT_$LINE"
6486 else
6487 no_cache=1
6488 fi
6489
6490 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6491
6492 fi;
6493
6494 eval "$ac_cv_use_mshtmlhelp"
6495 if test "$no_cache" != 1; then
6496 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6497 fi
6498
6499 if test "$wxUSE_MS_HTML_HELP" = yes; then
6500 echo "$as_me:$LINENO: result: yes" >&5
6501 echo "${ECHO_T}yes" >&6
6502 else
6503 echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6
6505 fi
6506
6507
6508 enablestring=
6509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6511 no_cache=0
6512 # Check whether --enable-html or --disable-html was given.
6513 if test "${enable_html+set}" = set; then
6514 enableval="$enable_html"
6515
6516 if test "$enableval" = yes; then
6517 ac_cv_use_html='wxUSE_HTML=yes'
6518 else
6519 ac_cv_use_html='wxUSE_HTML=no'
6520 fi
6521
6522 else
6523
6524 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x ; then
6526 eval "DEFAULT_$LINE"
6527 else
6528 no_cache=1
6529 fi
6530
6531 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6532
6533 fi;
6534
6535 eval "$ac_cv_use_html"
6536 if test "$no_cache" != 1; then
6537 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6538 fi
6539
6540 if test "$wxUSE_HTML" = yes; then
6541 echo "$as_me:$LINENO: result: yes" >&5
6542 echo "${ECHO_T}yes" >&6
6543 else
6544 echo "$as_me:$LINENO: result: no" >&5
6545 echo "${ECHO_T}no" >&6
6546 fi
6547
6548
6549 enablestring=
6550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6551 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6552 no_cache=0
6553 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6554 if test "${enable_htmlhelp+set}" = set; then
6555 enableval="$enable_htmlhelp"
6556
6557 if test "$enableval" = yes; then
6558 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6559 else
6560 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6561 fi
6562
6563 else
6564
6565 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x ; then
6567 eval "DEFAULT_$LINE"
6568 else
6569 no_cache=1
6570 fi
6571
6572 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6573
6574 fi;
6575
6576 eval "$ac_cv_use_htmlhelp"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6579 fi
6580
6581 if test "$wxUSE_WXHTML_HELP" = yes; then
6582 echo "$as_me:$LINENO: result: yes" >&5
6583 echo "${ECHO_T}yes" >&6
6584 else
6585 echo "$as_me:$LINENO: result: no" >&5
6586 echo "${ECHO_T}no" >&6
6587 fi
6588
6589
6590 enablestring=
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6592 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6593 no_cache=0
6594 # Check whether --enable-xrc or --disable-xrc was given.
6595 if test "${enable_xrc+set}" = set; then
6596 enableval="$enable_xrc"
6597
6598 if test "$enableval" = yes; then
6599 ac_cv_use_xrc='wxUSE_XRC=yes'
6600 else
6601 ac_cv_use_xrc='wxUSE_XRC=no'
6602 fi
6603
6604 else
6605
6606 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x ; then
6608 eval "DEFAULT_$LINE"
6609 else
6610 no_cache=1
6611 fi
6612
6613 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6614
6615 fi;
6616
6617 eval "$ac_cv_use_xrc"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6620 fi
6621
6622 if test "$wxUSE_XRC" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624 echo "${ECHO_T}yes" >&6
6625 else
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6628 fi
6629
6630
6631 enablestring=
6632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6633 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6634 no_cache=0
6635 # Check whether --enable-constraints or --disable-constraints was given.
6636 if test "${enable_constraints+set}" = set; then
6637 enableval="$enable_constraints"
6638
6639 if test "$enableval" = yes; then
6640 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6641 else
6642 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6643 fi
6644
6645 else
6646
6647 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x ; then
6649 eval "DEFAULT_$LINE"
6650 else
6651 no_cache=1
6652 fi
6653
6654 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6655
6656 fi;
6657
6658 eval "$ac_cv_use_constraints"
6659 if test "$no_cache" != 1; then
6660 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6661 fi
6662
6663 if test "$wxUSE_CONSTRAINTS" = yes; then
6664 echo "$as_me:$LINENO: result: yes" >&5
6665 echo "${ECHO_T}yes" >&6
6666 else
6667 echo "$as_me:$LINENO: result: no" >&5
6668 echo "${ECHO_T}no" >&6
6669 fi
6670
6671
6672 enablestring=
6673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6674 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6675 no_cache=0
6676 # Check whether --enable-printarch or --disable-printarch was given.
6677 if test "${enable_printarch+set}" = set; then
6678 enableval="$enable_printarch"
6679
6680 if test "$enableval" = yes; then
6681 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6682 else
6683 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6684 fi
6685
6686 else
6687
6688 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x ; then
6690 eval "DEFAULT_$LINE"
6691 else
6692 no_cache=1
6693 fi
6694
6695 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6696
6697 fi;
6698
6699 eval "$ac_cv_use_printarch"
6700 if test "$no_cache" != 1; then
6701 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6702 fi
6703
6704 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6705 echo "$as_me:$LINENO: result: yes" >&5
6706 echo "${ECHO_T}yes" >&6
6707 else
6708 echo "$as_me:$LINENO: result: no" >&5
6709 echo "${ECHO_T}no" >&6
6710 fi
6711
6712
6713 enablestring=
6714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6715 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6716 no_cache=0
6717 # Check whether --enable-mdi or --disable-mdi was given.
6718 if test "${enable_mdi+set}" = set; then
6719 enableval="$enable_mdi"
6720
6721 if test "$enableval" = yes; then
6722 ac_cv_use_mdi='wxUSE_MDI=yes'
6723 else
6724 ac_cv_use_mdi='wxUSE_MDI=no'
6725 fi
6726
6727 else
6728
6729 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6730 if test "x$LINE" != x ; then
6731 eval "DEFAULT_$LINE"
6732 else
6733 no_cache=1
6734 fi
6735
6736 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6737
6738 fi;
6739
6740 eval "$ac_cv_use_mdi"
6741 if test "$no_cache" != 1; then
6742 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6743 fi
6744
6745 if test "$wxUSE_MDI" = yes; then
6746 echo "$as_me:$LINENO: result: yes" >&5
6747 echo "${ECHO_T}yes" >&6
6748 else
6749 echo "$as_me:$LINENO: result: no" >&5
6750 echo "${ECHO_T}no" >&6
6751 fi
6752
6753
6754 enablestring=
6755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6757 no_cache=0
6758 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6759 if test "${enable_mdidoc+set}" = set; then
6760 enableval="$enable_mdidoc"
6761
6762 if test "$enableval" = yes; then
6763 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6764 else
6765 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6766 fi
6767
6768 else
6769
6770 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6771 if test "x$LINE" != x ; then
6772 eval "DEFAULT_$LINE"
6773 else
6774 no_cache=1
6775 fi
6776
6777 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6778
6779 fi;
6780
6781 eval "$ac_cv_use_mdidoc"
6782 if test "$no_cache" != 1; then
6783 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6784 fi
6785
6786 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6787 echo "$as_me:$LINENO: result: yes" >&5
6788 echo "${ECHO_T}yes" >&6
6789 else
6790 echo "$as_me:$LINENO: result: no" >&5
6791 echo "${ECHO_T}no" >&6
6792 fi
6793
6794
6795 enablestring=
6796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6797 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6798 no_cache=0
6799 # Check whether --enable-loggui or --disable-loggui was given.
6800 if test "${enable_loggui+set}" = set; then
6801 enableval="$enable_loggui"
6802
6803 if test "$enableval" = yes; then
6804 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6805 else
6806 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6807 fi
6808
6809 else
6810
6811 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6812 if test "x$LINE" != x ; then
6813 eval "DEFAULT_$LINE"
6814 else
6815 no_cache=1
6816 fi
6817
6818 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6819
6820 fi;
6821
6822 eval "$ac_cv_use_loggui"
6823 if test "$no_cache" != 1; then
6824 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6825 fi
6826
6827 if test "$wxUSE_LOGGUI" = yes; then
6828 echo "$as_me:$LINENO: result: yes" >&5
6829 echo "${ECHO_T}yes" >&6
6830 else
6831 echo "$as_me:$LINENO: result: no" >&5
6832 echo "${ECHO_T}no" >&6
6833 fi
6834
6835
6836 enablestring=
6837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6838 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6839 no_cache=0
6840 # Check whether --enable-logwin or --disable-logwin was given.
6841 if test "${enable_logwin+set}" = set; then
6842 enableval="$enable_logwin"
6843
6844 if test "$enableval" = yes; then
6845 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6846 else
6847 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6848 fi
6849
6850 else
6851
6852 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6853 if test "x$LINE" != x ; then
6854 eval "DEFAULT_$LINE"
6855 else
6856 no_cache=1
6857 fi
6858
6859 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6860
6861 fi;
6862
6863 eval "$ac_cv_use_logwin"
6864 if test "$no_cache" != 1; then
6865 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6866 fi
6867
6868 if test "$wxUSE_LOGWINDOW" = yes; then
6869 echo "$as_me:$LINENO: result: yes" >&5
6870 echo "${ECHO_T}yes" >&6
6871 else
6872 echo "$as_me:$LINENO: result: no" >&5
6873 echo "${ECHO_T}no" >&6
6874 fi
6875
6876
6877 enablestring=
6878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6879 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6880 no_cache=0
6881 # Check whether --enable-logdialog or --disable-logdialog was given.
6882 if test "${enable_logdialog+set}" = set; then
6883 enableval="$enable_logdialog"
6884
6885 if test "$enableval" = yes; then
6886 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6887 else
6888 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6889 fi
6890
6891 else
6892
6893 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6894 if test "x$LINE" != x ; then
6895 eval "DEFAULT_$LINE"
6896 else
6897 no_cache=1
6898 fi
6899
6900 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6901
6902 fi;
6903
6904 eval "$ac_cv_use_logdialog"
6905 if test "$no_cache" != 1; then
6906 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6907 fi
6908
6909 if test "$wxUSE_LOGDIALOG" = yes; then
6910 echo "$as_me:$LINENO: result: yes" >&5
6911 echo "${ECHO_T}yes" >&6
6912 else
6913 echo "$as_me:$LINENO: result: no" >&5
6914 echo "${ECHO_T}no" >&6
6915 fi
6916
6917
6918 enablestring=
6919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6920 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6921 no_cache=0
6922 # Check whether --enable-webkit or --disable-webkit was given.
6923 if test "${enable_webkit+set}" = set; then
6924 enableval="$enable_webkit"
6925
6926 if test "$enableval" = yes; then
6927 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6928 else
6929 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6930 fi
6931
6932 else
6933
6934 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6935 if test "x$LINE" != x ; then
6936 eval "DEFAULT_$LINE"
6937 else
6938 no_cache=1
6939 fi
6940
6941 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6942
6943 fi;
6944
6945 eval "$ac_cv_use_webkit"
6946 if test "$no_cache" != 1; then
6947 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6948 fi
6949
6950 if test "$wxUSE_WEBKIT" = yes; then
6951 echo "$as_me:$LINENO: result: yes" >&5
6952 echo "${ECHO_T}yes" >&6
6953 else
6954 echo "$as_me:$LINENO: result: no" >&5
6955 echo "${ECHO_T}no" >&6
6956 fi
6957
6958
6959
6960 enablestring=
6961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6962 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6963 no_cache=0
6964 # Check whether --enable-postscript or --disable-postscript was given.
6965 if test "${enable_postscript+set}" = set; then
6966 enableval="$enable_postscript"
6967
6968 if test "$enableval" = yes; then
6969 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6970 else
6971 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6972 fi
6973
6974 else
6975
6976 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6977 if test "x$LINE" != x ; then
6978 eval "DEFAULT_$LINE"
6979 else
6980 no_cache=1
6981 fi
6982
6983 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6984
6985 fi;
6986
6987 eval "$ac_cv_use_postscript"
6988 if test "$no_cache" != 1; then
6989 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6990 fi
6991
6992 if test "$wxUSE_POSTSCRIPT" = yes; then
6993 echo "$as_me:$LINENO: result: yes" >&5
6994 echo "${ECHO_T}yes" >&6
6995 else
6996 echo "$as_me:$LINENO: result: no" >&5
6997 echo "${ECHO_T}no" >&6
6998 fi
6999
7000
7001
7002
7003
7004 enablestring=
7005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7006 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7007 no_cache=0
7008 # Check whether --enable-prologio or --disable-prologio was given.
7009 if test "${enable_prologio+set}" = set; then
7010 enableval="$enable_prologio"
7011
7012 if test "$enableval" = yes; then
7013 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7014 else
7015 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7016 fi
7017
7018 else
7019
7020 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7021 if test "x$LINE" != x ; then
7022 eval "DEFAULT_$LINE"
7023 else
7024 no_cache=1
7025 fi
7026
7027 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7028
7029 fi;
7030
7031 eval "$ac_cv_use_prologio"
7032 if test "$no_cache" != 1; then
7033 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7034 fi
7035
7036 if test "$wxUSE_PROLOGIO" = yes; then
7037 echo "$as_me:$LINENO: result: yes" >&5
7038 echo "${ECHO_T}yes" >&6
7039 else
7040 echo "$as_me:$LINENO: result: no" >&5
7041 echo "${ECHO_T}no" >&6
7042 fi
7043
7044
7045 enablestring=
7046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7047 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7048 no_cache=0
7049 # Check whether --enable-resources or --disable-resources was given.
7050 if test "${enable_resources+set}" = set; then
7051 enableval="$enable_resources"
7052
7053 if test "$enableval" = yes; then
7054 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7055 else
7056 ac_cv_use_resources='wxUSE_RESOURCES=no'
7057 fi
7058
7059 else
7060
7061 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7062 if test "x$LINE" != x ; then
7063 eval "DEFAULT_$LINE"
7064 else
7065 no_cache=1
7066 fi
7067
7068 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7069
7070 fi;
7071
7072 eval "$ac_cv_use_resources"
7073 if test "$no_cache" != 1; then
7074 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7075 fi
7076
7077 if test "$wxUSE_RESOURCES" = yes; then
7078 echo "$as_me:$LINENO: result: yes" >&5
7079 echo "${ECHO_T}yes" >&6
7080 else
7081 echo "$as_me:$LINENO: result: no" >&5
7082 echo "${ECHO_T}no" >&6
7083 fi
7084
7085
7086
7087
7088 enablestring=
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7091 no_cache=0
7092 # Check whether --enable-clipboard or --disable-clipboard was given.
7093 if test "${enable_clipboard+set}" = set; then
7094 enableval="$enable_clipboard"
7095
7096 if test "$enableval" = yes; then
7097 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7098 else
7099 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7100 fi
7101
7102 else
7103
7104 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x ; then
7106 eval "DEFAULT_$LINE"
7107 else
7108 no_cache=1
7109 fi
7110
7111 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7112
7113 fi;
7114
7115 eval "$ac_cv_use_clipboard"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7118 fi
7119
7120 if test "$wxUSE_CLIPBOARD" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7123 else
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7126 fi
7127
7128
7129 enablestring=
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7132 no_cache=0
7133 # Check whether --enable-dnd or --disable-dnd was given.
7134 if test "${enable_dnd+set}" = set; then
7135 enableval="$enable_dnd"
7136
7137 if test "$enableval" = yes; then
7138 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7139 else
7140 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7141 fi
7142
7143 else
7144
7145 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7148 else
7149 no_cache=1
7150 fi
7151
7152 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7153
7154 fi;
7155
7156 eval "$ac_cv_use_dnd"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7159 fi
7160
7161 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7164 else
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7167 fi
7168
7169
7170 enablestring=
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7173 no_cache=0
7174 # Check whether --enable-metafile or --disable-metafile was given.
7175 if test "${enable_metafile+set}" = set; then
7176 enableval="$enable_metafile"
7177
7178 if test "$enableval" = yes; then
7179 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7180 else
7181 ac_cv_use_metafile='wxUSE_METAFILE=no'
7182 fi
7183
7184 else
7185
7186 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x ; then
7188 eval "DEFAULT_$LINE"
7189 else
7190 no_cache=1
7191 fi
7192
7193 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7194
7195 fi;
7196
7197 eval "$ac_cv_use_metafile"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7200 fi
7201
7202 if test "$wxUSE_METAFILE" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7205 else
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7208 fi
7209
7210
7211
7212
7213
7214 enablestring=
7215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7216 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7217 no_cache=0
7218 # Check whether --enable-controls or --disable-controls was given.
7219 if test "${enable_controls+set}" = set; then
7220 enableval="$enable_controls"
7221
7222 if test "$enableval" = yes; then
7223 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7224 else
7225 ac_cv_use_controls='wxUSE_CONTROLS=no'
7226 fi
7227
7228 else
7229
7230 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7231 if test "x$LINE" != x ; then
7232 eval "DEFAULT_$LINE"
7233 else
7234 no_cache=1
7235 fi
7236
7237 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7238
7239 fi;
7240
7241 eval "$ac_cv_use_controls"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7244 fi
7245
7246 if test "$wxUSE_CONTROLS" = yes; then
7247 echo "$as_me:$LINENO: result: yes" >&5
7248 echo "${ECHO_T}yes" >&6
7249 else
7250 echo "$as_me:$LINENO: result: no" >&5
7251 echo "${ECHO_T}no" >&6
7252 fi
7253
7254
7255 if test "$wxUSE_CONTROLS" = "yes"; then
7256 DEFAULT_wxUSE_ACCEL=yes
7257 DEFAULT_wxUSE_BMPBUTTON=yes
7258 DEFAULT_wxUSE_BUTTON=yes
7259 DEFAULT_wxUSE_CALCTRL=yes
7260 DEFAULT_wxUSE_CARET=yes
7261 DEFAULT_wxUSE_COMBOBOX=yes
7262 DEFAULT_wxUSE_CHECKBOX=yes
7263 DEFAULT_wxUSE_CHECKLISTBOX=yes
7264 DEFAULT_wxUSE_CHOICE=yes
7265 DEFAULT_wxUSE_CHOICEBOOK=yes
7266 DEFAULT_wxUSE_DATEPICKCTRL=yes
7267 DEFAULT_wxUSE_GAUGE=yes
7268 DEFAULT_wxUSE_GRID=yes
7269 DEFAULT_wxUSE_IMAGLIST=yes
7270 DEFAULT_wxUSE_LISTBOOK=yes
7271 DEFAULT_wxUSE_LISTBOX=yes
7272 DEFAULT_wxUSE_LISTCTRL=yes
7273 DEFAULT_wxUSE_NOTEBOOK=yes
7274 DEFAULT_wxUSE_RADIOBOX=yes
7275 DEFAULT_wxUSE_RADIOBTN=yes
7276 DEFAULT_wxUSE_SASH=yes
7277 DEFAULT_wxUSE_SCROLLBAR=yes
7278 DEFAULT_wxUSE_SLIDER=yes
7279 DEFAULT_wxUSE_SPINBTN=yes
7280 DEFAULT_wxUSE_SPINCTRL=yes
7281 DEFAULT_wxUSE_SPLITTER=yes
7282 DEFAULT_wxUSE_STATBMP=yes
7283 DEFAULT_wxUSE_STATBOX=yes
7284 DEFAULT_wxUSE_STATLINE=yes
7285 DEFAULT_wxUSE_STATUSBAR=yes
7286 DEFAULT_wxUSE_TAB_DIALOG=yes
7287 DEFAULT_wxUSE_TOGGLEBTN=yes
7288 DEFAULT_wxUSE_TOOLBAR=yes
7289 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7290 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7291 DEFAULT_wxUSE_TOOLTIPS=yes
7292 DEFAULT_wxUSE_TREECTRL=yes
7293 DEFAULT_wxUSE_POPUPWIN=yes
7294 DEFAULT_wxUSE_TIPWINDOW=yes
7295 elif test "$wxUSE_CONTROLS" = "no"; then
7296 DEFAULT_wxUSE_ACCEL=no
7297 DEFAULT_wxUSE_BMPBUTTON=no
7298 DEFAULT_wxUSE_BUTTON=no
7299 DEFAULT_wxUSE_CALCTRL=no
7300 DEFAULT_wxUSE_CARET=no
7301 DEFAULT_wxUSE_COMBOBOX=no
7302 DEFAULT_wxUSE_CHECKBOX=no
7303 DEFAULT_wxUSE_CHECKLISTBOX=no
7304 DEFAULT_wxUSE_CHOICE=no
7305 DEFAULT_wxUSE_CHOICEBOOK=no
7306 DEFAULT_wxUSE_DATEPICKCTRL=no
7307 DEFAULT_wxUSE_GAUGE=no
7308 DEFAULT_wxUSE_GRID=no
7309 DEFAULT_wxUSE_IMAGLIST=no
7310 DEFAULT_wxUSE_LISTBOOK=no
7311 DEFAULT_wxUSE_LISTBOX=no
7312 DEFAULT_wxUSE_LISTCTRL=no
7313 DEFAULT_wxUSE_NOTEBOOK=no
7314 DEFAULT_wxUSE_RADIOBOX=no
7315 DEFAULT_wxUSE_RADIOBTN=no
7316 DEFAULT_wxUSE_SASH=no
7317 DEFAULT_wxUSE_SCROLLBAR=no
7318 DEFAULT_wxUSE_SLIDER=no
7319 DEFAULT_wxUSE_SPINBTN=no
7320 DEFAULT_wxUSE_SPINCTRL=no
7321 DEFAULT_wxUSE_SPLITTER=no
7322 DEFAULT_wxUSE_STATBMP=no
7323 DEFAULT_wxUSE_STATBOX=no
7324 DEFAULT_wxUSE_STATLINE=no
7325 DEFAULT_wxUSE_STATUSBAR=no
7326 DEFAULT_wxUSE_TAB_DIALOG=no
7327 DEFAULT_wxUSE_TOGGLEBTN=no
7328 DEFAULT_wxUSE_TOOLBAR=no
7329 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7330 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7331 DEFAULT_wxUSE_TOOLTIPS=no
7332 DEFAULT_wxUSE_TREECTRL=no
7333 DEFAULT_wxUSE_POPUPWIN=no
7334 DEFAULT_wxUSE_TIPWINDOW=no
7335 fi
7336
7337
7338 enablestring=
7339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7340 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7341 no_cache=0
7342 # Check whether --enable-accel or --disable-accel was given.
7343 if test "${enable_accel+set}" = set; then
7344 enableval="$enable_accel"
7345
7346 if test "$enableval" = yes; then
7347 ac_cv_use_accel='wxUSE_ACCEL=yes'
7348 else
7349 ac_cv_use_accel='wxUSE_ACCEL=no'
7350 fi
7351
7352 else
7353
7354 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7355 if test "x$LINE" != x ; then
7356 eval "DEFAULT_$LINE"
7357 else
7358 no_cache=1
7359 fi
7360
7361 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7362
7363 fi;
7364
7365 eval "$ac_cv_use_accel"
7366 if test "$no_cache" != 1; then
7367 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7368 fi
7369
7370 if test "$wxUSE_ACCEL" = yes; then
7371 echo "$as_me:$LINENO: result: yes" >&5
7372 echo "${ECHO_T}yes" >&6
7373 else
7374 echo "$as_me:$LINENO: result: no" >&5
7375 echo "${ECHO_T}no" >&6
7376 fi
7377
7378
7379 enablestring=
7380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7381 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7382 no_cache=0
7383 # Check whether --enable-button or --disable-button was given.
7384 if test "${enable_button+set}" = set; then
7385 enableval="$enable_button"
7386
7387 if test "$enableval" = yes; then
7388 ac_cv_use_button='wxUSE_BUTTON=yes'
7389 else
7390 ac_cv_use_button='wxUSE_BUTTON=no'
7391 fi
7392
7393 else
7394
7395 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7396 if test "x$LINE" != x ; then
7397 eval "DEFAULT_$LINE"
7398 else
7399 no_cache=1
7400 fi
7401
7402 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7403
7404 fi;
7405
7406 eval "$ac_cv_use_button"
7407 if test "$no_cache" != 1; then
7408 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7409 fi
7410
7411 if test "$wxUSE_BUTTON" = yes; then
7412 echo "$as_me:$LINENO: result: yes" >&5
7413 echo "${ECHO_T}yes" >&6
7414 else
7415 echo "$as_me:$LINENO: result: no" >&5
7416 echo "${ECHO_T}no" >&6
7417 fi
7418
7419
7420 enablestring=
7421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7422 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7423 no_cache=0
7424 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7425 if test "${enable_bmpbutton+set}" = set; then
7426 enableval="$enable_bmpbutton"
7427
7428 if test "$enableval" = yes; then
7429 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7430 else
7431 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7432 fi
7433
7434 else
7435
7436 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7437 if test "x$LINE" != x ; then
7438 eval "DEFAULT_$LINE"
7439 else
7440 no_cache=1
7441 fi
7442
7443 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7444
7445 fi;
7446
7447 eval "$ac_cv_use_bmpbutton"
7448 if test "$no_cache" != 1; then
7449 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7450 fi
7451
7452 if test "$wxUSE_BMPBUTTON" = yes; then
7453 echo "$as_me:$LINENO: result: yes" >&5
7454 echo "${ECHO_T}yes" >&6
7455 else
7456 echo "$as_me:$LINENO: result: no" >&5
7457 echo "${ECHO_T}no" >&6
7458 fi
7459
7460
7461 enablestring=
7462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7463 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7464 no_cache=0
7465 # Check whether --enable-calendar or --disable-calendar was given.
7466 if test "${enable_calendar+set}" = set; then
7467 enableval="$enable_calendar"
7468
7469 if test "$enableval" = yes; then
7470 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7471 else
7472 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7473 fi
7474
7475 else
7476
7477 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7478 if test "x$LINE" != x ; then
7479 eval "DEFAULT_$LINE"
7480 else
7481 no_cache=1
7482 fi
7483
7484 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7485
7486 fi;
7487
7488 eval "$ac_cv_use_calendar"
7489 if test "$no_cache" != 1; then
7490 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7491 fi
7492
7493 if test "$wxUSE_CALCTRL" = yes; then
7494 echo "$as_me:$LINENO: result: yes" >&5
7495 echo "${ECHO_T}yes" >&6
7496 else
7497 echo "$as_me:$LINENO: result: no" >&5
7498 echo "${ECHO_T}no" >&6
7499 fi
7500
7501
7502 enablestring=
7503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7504 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7505 no_cache=0
7506 # Check whether --enable-caret or --disable-caret was given.
7507 if test "${enable_caret+set}" = set; then
7508 enableval="$enable_caret"
7509
7510 if test "$enableval" = yes; then
7511 ac_cv_use_caret='wxUSE_CARET=yes'
7512 else
7513 ac_cv_use_caret='wxUSE_CARET=no'
7514 fi
7515
7516 else
7517
7518 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7519 if test "x$LINE" != x ; then
7520 eval "DEFAULT_$LINE"
7521 else
7522 no_cache=1
7523 fi
7524
7525 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7526
7527 fi;
7528
7529 eval "$ac_cv_use_caret"
7530 if test "$no_cache" != 1; then
7531 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7532 fi
7533
7534 if test "$wxUSE_CARET" = yes; then
7535 echo "$as_me:$LINENO: result: yes" >&5
7536 echo "${ECHO_T}yes" >&6
7537 else
7538 echo "$as_me:$LINENO: result: no" >&5
7539 echo "${ECHO_T}no" >&6
7540 fi
7541
7542
7543 enablestring=
7544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7545 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7546 no_cache=0
7547 # Check whether --enable-checkbox or --disable-checkbox was given.
7548 if test "${enable_checkbox+set}" = set; then
7549 enableval="$enable_checkbox"
7550
7551 if test "$enableval" = yes; then
7552 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7553 else
7554 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7555 fi
7556
7557 else
7558
7559 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7560 if test "x$LINE" != x ; then
7561 eval "DEFAULT_$LINE"
7562 else
7563 no_cache=1
7564 fi
7565
7566 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7567
7568 fi;
7569
7570 eval "$ac_cv_use_checkbox"
7571 if test "$no_cache" != 1; then
7572 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7573 fi
7574
7575 if test "$wxUSE_CHECKBOX" = yes; then
7576 echo "$as_me:$LINENO: result: yes" >&5
7577 echo "${ECHO_T}yes" >&6
7578 else
7579 echo "$as_me:$LINENO: result: no" >&5
7580 echo "${ECHO_T}no" >&6
7581 fi
7582
7583
7584 enablestring=
7585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7586 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7587 no_cache=0
7588 # Check whether --enable-checklst or --disable-checklst was given.
7589 if test "${enable_checklst+set}" = set; then
7590 enableval="$enable_checklst"
7591
7592 if test "$enableval" = yes; then
7593 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7594 else
7595 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7596 fi
7597
7598 else
7599
7600 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7601 if test "x$LINE" != x ; then
7602 eval "DEFAULT_$LINE"
7603 else
7604 no_cache=1
7605 fi
7606
7607 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7608
7609 fi;
7610
7611 eval "$ac_cv_use_checklst"
7612 if test "$no_cache" != 1; then
7613 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7614 fi
7615
7616 if test "$wxUSE_CHECKLST" = yes; then
7617 echo "$as_me:$LINENO: result: yes" >&5
7618 echo "${ECHO_T}yes" >&6
7619 else
7620 echo "$as_me:$LINENO: result: no" >&5
7621 echo "${ECHO_T}no" >&6
7622 fi
7623
7624
7625 enablestring=
7626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7627 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7628 no_cache=0
7629 # Check whether --enable-choice or --disable-choice was given.
7630 if test "${enable_choice+set}" = set; then
7631 enableval="$enable_choice"
7632
7633 if test "$enableval" = yes; then
7634 ac_cv_use_choice='wxUSE_CHOICE=yes'
7635 else
7636 ac_cv_use_choice='wxUSE_CHOICE=no'
7637 fi
7638
7639 else
7640
7641 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7642 if test "x$LINE" != x ; then
7643 eval "DEFAULT_$LINE"
7644 else
7645 no_cache=1
7646 fi
7647
7648 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7649
7650 fi;
7651
7652 eval "$ac_cv_use_choice"
7653 if test "$no_cache" != 1; then
7654 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7655 fi
7656
7657 if test "$wxUSE_CHOICE" = yes; then
7658 echo "$as_me:$LINENO: result: yes" >&5
7659 echo "${ECHO_T}yes" >&6
7660 else
7661 echo "$as_me:$LINENO: result: no" >&5
7662 echo "${ECHO_T}no" >&6
7663 fi
7664
7665
7666 enablestring=
7667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7668 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7669 no_cache=0
7670 # Check whether --enable-choicebook or --disable-choicebook was given.
7671 if test "${enable_choicebook+set}" = set; then
7672 enableval="$enable_choicebook"
7673
7674 if test "$enableval" = yes; then
7675 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7676 else
7677 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7678 fi
7679
7680 else
7681
7682 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7683 if test "x$LINE" != x ; then
7684 eval "DEFAULT_$LINE"
7685 else
7686 no_cache=1
7687 fi
7688
7689 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7690
7691 fi;
7692
7693 eval "$ac_cv_use_choicebook"
7694 if test "$no_cache" != 1; then
7695 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7696 fi
7697
7698 if test "$wxUSE_CHOICEBOOK" = yes; then
7699 echo "$as_me:$LINENO: result: yes" >&5
7700 echo "${ECHO_T}yes" >&6
7701 else
7702 echo "$as_me:$LINENO: result: no" >&5
7703 echo "${ECHO_T}no" >&6
7704 fi
7705
7706
7707 enablestring=
7708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7709 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7710 no_cache=0
7711 # Check whether --enable-combobox or --disable-combobox was given.
7712 if test "${enable_combobox+set}" = set; then
7713 enableval="$enable_combobox"
7714
7715 if test "$enableval" = yes; then
7716 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7717 else
7718 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7719 fi
7720
7721 else
7722
7723 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7724 if test "x$LINE" != x ; then
7725 eval "DEFAULT_$LINE"
7726 else
7727 no_cache=1
7728 fi
7729
7730 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7731
7732 fi;
7733
7734 eval "$ac_cv_use_combobox"
7735 if test "$no_cache" != 1; then
7736 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7737 fi
7738
7739 if test "$wxUSE_COMBOBOX" = yes; then
7740 echo "$as_me:$LINENO: result: yes" >&5
7741 echo "${ECHO_T}yes" >&6
7742 else
7743 echo "$as_me:$LINENO: result: no" >&5
7744 echo "${ECHO_T}no" >&6
7745 fi
7746
7747
7748 enablestring=
7749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7750 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7751 no_cache=0
7752 # Check whether --enable-datepick or --disable-datepick was given.
7753 if test "${enable_datepick+set}" = set; then
7754 enableval="$enable_datepick"
7755
7756 if test "$enableval" = yes; then
7757 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7758 else
7759 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7760 fi
7761
7762 else
7763
7764 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x ; then
7766 eval "DEFAULT_$LINE"
7767 else
7768 no_cache=1
7769 fi
7770
7771 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7772
7773 fi;
7774
7775 eval "$ac_cv_use_datepick"
7776 if test "$no_cache" != 1; then
7777 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7778 fi
7779
7780 if test "$wxUSE_DATEPICKCTRL" = yes; then
7781 echo "$as_me:$LINENO: result: yes" >&5
7782 echo "${ECHO_T}yes" >&6
7783 else
7784 echo "$as_me:$LINENO: result: no" >&5
7785 echo "${ECHO_T}no" >&6
7786 fi
7787
7788
7789 enablestring=
7790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7791 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7792 no_cache=0
7793 # Check whether --enable-display or --disable-display was given.
7794 if test "${enable_display+set}" = set; then
7795 enableval="$enable_display"
7796
7797 if test "$enableval" = yes; then
7798 ac_cv_use_display='wxUSE_DISPLAY=yes'
7799 else
7800 ac_cv_use_display='wxUSE_DISPLAY=no'
7801 fi
7802
7803 else
7804
7805 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7806 if test "x$LINE" != x ; then
7807 eval "DEFAULT_$LINE"
7808 else
7809 no_cache=1
7810 fi
7811
7812 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7813
7814 fi;
7815
7816 eval "$ac_cv_use_display"
7817 if test "$no_cache" != 1; then
7818 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7819 fi
7820
7821 if test "$wxUSE_DISPLAY" = yes; then
7822 echo "$as_me:$LINENO: result: yes" >&5
7823 echo "${ECHO_T}yes" >&6
7824 else
7825 echo "$as_me:$LINENO: result: no" >&5
7826 echo "${ECHO_T}no" >&6
7827 fi
7828
7829
7830 enablestring=
7831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7832 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7833 no_cache=0
7834 # Check whether --enable-gauge or --disable-gauge was given.
7835 if test "${enable_gauge+set}" = set; then
7836 enableval="$enable_gauge"
7837
7838 if test "$enableval" = yes; then
7839 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7840 else
7841 ac_cv_use_gauge='wxUSE_GAUGE=no'
7842 fi
7843
7844 else
7845
7846 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7847 if test "x$LINE" != x ; then
7848 eval "DEFAULT_$LINE"
7849 else
7850 no_cache=1
7851 fi
7852
7853 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7854
7855 fi;
7856
7857 eval "$ac_cv_use_gauge"
7858 if test "$no_cache" != 1; then
7859 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7860 fi
7861
7862 if test "$wxUSE_GAUGE" = yes; then
7863 echo "$as_me:$LINENO: result: yes" >&5
7864 echo "${ECHO_T}yes" >&6
7865 else
7866 echo "$as_me:$LINENO: result: no" >&5
7867 echo "${ECHO_T}no" >&6
7868 fi
7869
7870
7871 enablestring=
7872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7874 no_cache=0
7875 # Check whether --enable-grid or --disable-grid was given.
7876 if test "${enable_grid+set}" = set; then
7877 enableval="$enable_grid"
7878
7879 if test "$enableval" = yes; then
7880 ac_cv_use_grid='wxUSE_GRID=yes'
7881 else
7882 ac_cv_use_grid='wxUSE_GRID=no'
7883 fi
7884
7885 else
7886
7887 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7888 if test "x$LINE" != x ; then
7889 eval "DEFAULT_$LINE"
7890 else
7891 no_cache=1
7892 fi
7893
7894 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7895
7896 fi;
7897
7898 eval "$ac_cv_use_grid"
7899 if test "$no_cache" != 1; then
7900 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7901 fi
7902
7903 if test "$wxUSE_GRID" = yes; then
7904 echo "$as_me:$LINENO: result: yes" >&5
7905 echo "${ECHO_T}yes" >&6
7906 else
7907 echo "$as_me:$LINENO: result: no" >&5
7908 echo "${ECHO_T}no" >&6
7909 fi
7910
7911
7912 enablestring=
7913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7914 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7915 no_cache=0
7916 # Check whether --enable-imaglist or --disable-imaglist was given.
7917 if test "${enable_imaglist+set}" = set; then
7918 enableval="$enable_imaglist"
7919
7920 if test "$enableval" = yes; then
7921 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7922 else
7923 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7924 fi
7925
7926 else
7927
7928 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7929 if test "x$LINE" != x ; then
7930 eval "DEFAULT_$LINE"
7931 else
7932 no_cache=1
7933 fi
7934
7935 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7936
7937 fi;
7938
7939 eval "$ac_cv_use_imaglist"
7940 if test "$no_cache" != 1; then
7941 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7942 fi
7943
7944 if test "$wxUSE_IMAGLIST" = yes; then
7945 echo "$as_me:$LINENO: result: yes" >&5
7946 echo "${ECHO_T}yes" >&6
7947 else
7948 echo "$as_me:$LINENO: result: no" >&5
7949 echo "${ECHO_T}no" >&6
7950 fi
7951
7952
7953 enablestring=
7954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7955 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7956 no_cache=0
7957 # Check whether --enable-listbook or --disable-listbook was given.
7958 if test "${enable_listbook+set}" = set; then
7959 enableval="$enable_listbook"
7960
7961 if test "$enableval" = yes; then
7962 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7963 else
7964 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7965 fi
7966
7967 else
7968
7969 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7970 if test "x$LINE" != x ; then
7971 eval "DEFAULT_$LINE"
7972 else
7973 no_cache=1
7974 fi
7975
7976 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7977
7978 fi;
7979
7980 eval "$ac_cv_use_listbook"
7981 if test "$no_cache" != 1; then
7982 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7983 fi
7984
7985 if test "$wxUSE_LISTBOOK" = yes; then
7986 echo "$as_me:$LINENO: result: yes" >&5
7987 echo "${ECHO_T}yes" >&6
7988 else
7989 echo "$as_me:$LINENO: result: no" >&5
7990 echo "${ECHO_T}no" >&6
7991 fi
7992
7993
7994 enablestring=
7995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7996 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7997 no_cache=0
7998 # Check whether --enable-listbox or --disable-listbox was given.
7999 if test "${enable_listbox+set}" = set; then
8000 enableval="$enable_listbox"
8001
8002 if test "$enableval" = yes; then
8003 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8004 else
8005 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8006 fi
8007
8008 else
8009
8010 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8011 if test "x$LINE" != x ; then
8012 eval "DEFAULT_$LINE"
8013 else
8014 no_cache=1
8015 fi
8016
8017 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8018
8019 fi;
8020
8021 eval "$ac_cv_use_listbox"
8022 if test "$no_cache" != 1; then
8023 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8024 fi
8025
8026 if test "$wxUSE_LISTBOX" = yes; then
8027 echo "$as_me:$LINENO: result: yes" >&5
8028 echo "${ECHO_T}yes" >&6
8029 else
8030 echo "$as_me:$LINENO: result: no" >&5
8031 echo "${ECHO_T}no" >&6
8032 fi
8033
8034
8035 enablestring=
8036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8037 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8038 no_cache=0
8039 # Check whether --enable-listctrl or --disable-listctrl was given.
8040 if test "${enable_listctrl+set}" = set; then
8041 enableval="$enable_listctrl"
8042
8043 if test "$enableval" = yes; then
8044 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8045 else
8046 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8047 fi
8048
8049 else
8050
8051 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8052 if test "x$LINE" != x ; then
8053 eval "DEFAULT_$LINE"
8054 else
8055 no_cache=1
8056 fi
8057
8058 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8059
8060 fi;
8061
8062 eval "$ac_cv_use_listctrl"
8063 if test "$no_cache" != 1; then
8064 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8065 fi
8066
8067 if test "$wxUSE_LISTCTRL" = yes; then
8068 echo "$as_me:$LINENO: result: yes" >&5
8069 echo "${ECHO_T}yes" >&6
8070 else
8071 echo "$as_me:$LINENO: result: no" >&5
8072 echo "${ECHO_T}no" >&6
8073 fi
8074
8075
8076 enablestring=
8077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8078 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8079 no_cache=0
8080 # Check whether --enable-notebook or --disable-notebook was given.
8081 if test "${enable_notebook+set}" = set; then
8082 enableval="$enable_notebook"
8083
8084 if test "$enableval" = yes; then
8085 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8086 else
8087 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8088 fi
8089
8090 else
8091
8092 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8093 if test "x$LINE" != x ; then
8094 eval "DEFAULT_$LINE"
8095 else
8096 no_cache=1
8097 fi
8098
8099 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8100
8101 fi;
8102
8103 eval "$ac_cv_use_notebook"
8104 if test "$no_cache" != 1; then
8105 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8106 fi
8107
8108 if test "$wxUSE_NOTEBOOK" = yes; then
8109 echo "$as_me:$LINENO: result: yes" >&5
8110 echo "${ECHO_T}yes" >&6
8111 else
8112 echo "$as_me:$LINENO: result: no" >&5
8113 echo "${ECHO_T}no" >&6
8114 fi
8115
8116
8117 enablestring=
8118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8119 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8120 no_cache=0
8121 # Check whether --enable-radiobox or --disable-radiobox was given.
8122 if test "${enable_radiobox+set}" = set; then
8123 enableval="$enable_radiobox"
8124
8125 if test "$enableval" = yes; then
8126 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8127 else
8128 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8129 fi
8130
8131 else
8132
8133 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8134 if test "x$LINE" != x ; then
8135 eval "DEFAULT_$LINE"
8136 else
8137 no_cache=1
8138 fi
8139
8140 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8141
8142 fi;
8143
8144 eval "$ac_cv_use_radiobox"
8145 if test "$no_cache" != 1; then
8146 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8147 fi
8148
8149 if test "$wxUSE_RADIOBOX" = yes; then
8150 echo "$as_me:$LINENO: result: yes" >&5
8151 echo "${ECHO_T}yes" >&6
8152 else
8153 echo "$as_me:$LINENO: result: no" >&5
8154 echo "${ECHO_T}no" >&6
8155 fi
8156
8157
8158 enablestring=
8159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8160 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8161 no_cache=0
8162 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8163 if test "${enable_radiobtn+set}" = set; then
8164 enableval="$enable_radiobtn"
8165
8166 if test "$enableval" = yes; then
8167 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8168 else
8169 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8170 fi
8171
8172 else
8173
8174 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8175 if test "x$LINE" != x ; then
8176 eval "DEFAULT_$LINE"
8177 else
8178 no_cache=1
8179 fi
8180
8181 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8182
8183 fi;
8184
8185 eval "$ac_cv_use_radiobtn"
8186 if test "$no_cache" != 1; then
8187 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8188 fi
8189
8190 if test "$wxUSE_RADIOBTN" = yes; then
8191 echo "$as_me:$LINENO: result: yes" >&5
8192 echo "${ECHO_T}yes" >&6
8193 else
8194 echo "$as_me:$LINENO: result: no" >&5
8195 echo "${ECHO_T}no" >&6
8196 fi
8197
8198
8199 enablestring=
8200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8201 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8202 no_cache=0
8203 # Check whether --enable-sash or --disable-sash was given.
8204 if test "${enable_sash+set}" = set; then
8205 enableval="$enable_sash"
8206
8207 if test "$enableval" = yes; then
8208 ac_cv_use_sash='wxUSE_SASH=yes'
8209 else
8210 ac_cv_use_sash='wxUSE_SASH=no'
8211 fi
8212
8213 else
8214
8215 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8216 if test "x$LINE" != x ; then
8217 eval "DEFAULT_$LINE"
8218 else
8219 no_cache=1
8220 fi
8221
8222 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8223
8224 fi;
8225
8226 eval "$ac_cv_use_sash"
8227 if test "$no_cache" != 1; then
8228 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8229 fi
8230
8231 if test "$wxUSE_SASH" = yes; then
8232 echo "$as_me:$LINENO: result: yes" >&5
8233 echo "${ECHO_T}yes" >&6
8234 else
8235 echo "$as_me:$LINENO: result: no" >&5
8236 echo "${ECHO_T}no" >&6
8237 fi
8238
8239
8240 enablestring=
8241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8242 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8243 no_cache=0
8244 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8245 if test "${enable_scrollbar+set}" = set; then
8246 enableval="$enable_scrollbar"
8247
8248 if test "$enableval" = yes; then
8249 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8250 else
8251 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8252 fi
8253
8254 else
8255
8256 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8257 if test "x$LINE" != x ; then
8258 eval "DEFAULT_$LINE"
8259 else
8260 no_cache=1
8261 fi
8262
8263 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8264
8265 fi;
8266
8267 eval "$ac_cv_use_scrollbar"
8268 if test "$no_cache" != 1; then
8269 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8270 fi
8271
8272 if test "$wxUSE_SCROLLBAR" = yes; then
8273 echo "$as_me:$LINENO: result: yes" >&5
8274 echo "${ECHO_T}yes" >&6
8275 else
8276 echo "$as_me:$LINENO: result: no" >&5
8277 echo "${ECHO_T}no" >&6
8278 fi
8279
8280
8281 enablestring=
8282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8283 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8284 no_cache=0
8285 # Check whether --enable-slider or --disable-slider was given.
8286 if test "${enable_slider+set}" = set; then
8287 enableval="$enable_slider"
8288
8289 if test "$enableval" = yes; then
8290 ac_cv_use_slider='wxUSE_SLIDER=yes'
8291 else
8292 ac_cv_use_slider='wxUSE_SLIDER=no'
8293 fi
8294
8295 else
8296
8297 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8298 if test "x$LINE" != x ; then
8299 eval "DEFAULT_$LINE"
8300 else
8301 no_cache=1
8302 fi
8303
8304 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8305
8306 fi;
8307
8308 eval "$ac_cv_use_slider"
8309 if test "$no_cache" != 1; then
8310 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8311 fi
8312
8313 if test "$wxUSE_SLIDER" = yes; then
8314 echo "$as_me:$LINENO: result: yes" >&5
8315 echo "${ECHO_T}yes" >&6
8316 else
8317 echo "$as_me:$LINENO: result: no" >&5
8318 echo "${ECHO_T}no" >&6
8319 fi
8320
8321
8322 enablestring=
8323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8324 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8325 no_cache=0
8326 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8327 if test "${enable_spinbtn+set}" = set; then
8328 enableval="$enable_spinbtn"
8329
8330 if test "$enableval" = yes; then
8331 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8332 else
8333 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8334 fi
8335
8336 else
8337
8338 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8339 if test "x$LINE" != x ; then
8340 eval "DEFAULT_$LINE"
8341 else
8342 no_cache=1
8343 fi
8344
8345 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8346
8347 fi;
8348
8349 eval "$ac_cv_use_spinbtn"
8350 if test "$no_cache" != 1; then
8351 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8352 fi
8353
8354 if test "$wxUSE_SPINBTN" = yes; then
8355 echo "$as_me:$LINENO: result: yes" >&5
8356 echo "${ECHO_T}yes" >&6
8357 else
8358 echo "$as_me:$LINENO: result: no" >&5
8359 echo "${ECHO_T}no" >&6
8360 fi
8361
8362
8363 enablestring=
8364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8365 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8366 no_cache=0
8367 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8368 if test "${enable_spinctrl+set}" = set; then
8369 enableval="$enable_spinctrl"
8370
8371 if test "$enableval" = yes; then
8372 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8373 else
8374 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8375 fi
8376
8377 else
8378
8379 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8380 if test "x$LINE" != x ; then
8381 eval "DEFAULT_$LINE"
8382 else
8383 no_cache=1
8384 fi
8385
8386 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8387
8388 fi;
8389
8390 eval "$ac_cv_use_spinctrl"
8391 if test "$no_cache" != 1; then
8392 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8393 fi
8394
8395 if test "$wxUSE_SPINCTRL" = yes; then
8396 echo "$as_me:$LINENO: result: yes" >&5
8397 echo "${ECHO_T}yes" >&6
8398 else
8399 echo "$as_me:$LINENO: result: no" >&5
8400 echo "${ECHO_T}no" >&6
8401 fi
8402
8403
8404 enablestring=
8405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8406 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8407 no_cache=0
8408 # Check whether --enable-splitter or --disable-splitter was given.
8409 if test "${enable_splitter+set}" = set; then
8410 enableval="$enable_splitter"
8411
8412 if test "$enableval" = yes; then
8413 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8414 else
8415 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8416 fi
8417
8418 else
8419
8420 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8421 if test "x$LINE" != x ; then
8422 eval "DEFAULT_$LINE"
8423 else
8424 no_cache=1
8425 fi
8426
8427 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8428
8429 fi;
8430
8431 eval "$ac_cv_use_splitter"
8432 if test "$no_cache" != 1; then
8433 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8434 fi
8435
8436 if test "$wxUSE_SPLITTER" = yes; then
8437 echo "$as_me:$LINENO: result: yes" >&5
8438 echo "${ECHO_T}yes" >&6
8439 else
8440 echo "$as_me:$LINENO: result: no" >&5
8441 echo "${ECHO_T}no" >&6
8442 fi
8443
8444
8445 enablestring=
8446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8447 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8448 no_cache=0
8449 # Check whether --enable-statbmp or --disable-statbmp was given.
8450 if test "${enable_statbmp+set}" = set; then
8451 enableval="$enable_statbmp"
8452
8453 if test "$enableval" = yes; then
8454 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8455 else
8456 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8457 fi
8458
8459 else
8460
8461 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8462 if test "x$LINE" != x ; then
8463 eval "DEFAULT_$LINE"
8464 else
8465 no_cache=1
8466 fi
8467
8468 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8469
8470 fi;
8471
8472 eval "$ac_cv_use_statbmp"
8473 if test "$no_cache" != 1; then
8474 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8475 fi
8476
8477 if test "$wxUSE_STATBMP" = yes; then
8478 echo "$as_me:$LINENO: result: yes" >&5
8479 echo "${ECHO_T}yes" >&6
8480 else
8481 echo "$as_me:$LINENO: result: no" >&5
8482 echo "${ECHO_T}no" >&6
8483 fi
8484
8485
8486 enablestring=
8487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8488 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8489 no_cache=0
8490 # Check whether --enable-statbox or --disable-statbox was given.
8491 if test "${enable_statbox+set}" = set; then
8492 enableval="$enable_statbox"
8493
8494 if test "$enableval" = yes; then
8495 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8496 else
8497 ac_cv_use_statbox='wxUSE_STATBOX=no'
8498 fi
8499
8500 else
8501
8502 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8503 if test "x$LINE" != x ; then
8504 eval "DEFAULT_$LINE"
8505 else
8506 no_cache=1
8507 fi
8508
8509 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8510
8511 fi;
8512
8513 eval "$ac_cv_use_statbox"
8514 if test "$no_cache" != 1; then
8515 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8516 fi
8517
8518 if test "$wxUSE_STATBOX" = yes; then
8519 echo "$as_me:$LINENO: result: yes" >&5
8520 echo "${ECHO_T}yes" >&6
8521 else
8522 echo "$as_me:$LINENO: result: no" >&5
8523 echo "${ECHO_T}no" >&6
8524 fi
8525
8526
8527 enablestring=
8528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8529 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8530 no_cache=0
8531 # Check whether --enable-statline or --disable-statline was given.
8532 if test "${enable_statline+set}" = set; then
8533 enableval="$enable_statline"
8534
8535 if test "$enableval" = yes; then
8536 ac_cv_use_statline='wxUSE_STATLINE=yes'
8537 else
8538 ac_cv_use_statline='wxUSE_STATLINE=no'
8539 fi
8540
8541 else
8542
8543 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8544 if test "x$LINE" != x ; then
8545 eval "DEFAULT_$LINE"
8546 else
8547 no_cache=1
8548 fi
8549
8550 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8551
8552 fi;
8553
8554 eval "$ac_cv_use_statline"
8555 if test "$no_cache" != 1; then
8556 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8557 fi
8558
8559 if test "$wxUSE_STATLINE" = yes; then
8560 echo "$as_me:$LINENO: result: yes" >&5
8561 echo "${ECHO_T}yes" >&6
8562 else
8563 echo "$as_me:$LINENO: result: no" >&5
8564 echo "${ECHO_T}no" >&6
8565 fi
8566
8567
8568 enablestring=
8569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8570 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8571 no_cache=0
8572 # Check whether --enable-stattext or --disable-stattext was given.
8573 if test "${enable_stattext+set}" = set; then
8574 enableval="$enable_stattext"
8575
8576 if test "$enableval" = yes; then
8577 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8578 else
8579 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8580 fi
8581
8582 else
8583
8584 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8585 if test "x$LINE" != x ; then
8586 eval "DEFAULT_$LINE"
8587 else
8588 no_cache=1
8589 fi
8590
8591 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8592
8593 fi;
8594
8595 eval "$ac_cv_use_stattext"
8596 if test "$no_cache" != 1; then
8597 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8598 fi
8599
8600 if test "$wxUSE_STATTEXT" = yes; then
8601 echo "$as_me:$LINENO: result: yes" >&5
8602 echo "${ECHO_T}yes" >&6
8603 else
8604 echo "$as_me:$LINENO: result: no" >&5
8605 echo "${ECHO_T}no" >&6
8606 fi
8607
8608
8609 enablestring=
8610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8612 no_cache=0
8613 # Check whether --enable-statusbar or --disable-statusbar was given.
8614 if test "${enable_statusbar+set}" = set; then
8615 enableval="$enable_statusbar"
8616
8617 if test "$enableval" = yes; then
8618 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8619 else
8620 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8621 fi
8622
8623 else
8624
8625 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8626 if test "x$LINE" != x ; then
8627 eval "DEFAULT_$LINE"
8628 else
8629 no_cache=1
8630 fi
8631
8632 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8633
8634 fi;
8635
8636 eval "$ac_cv_use_statusbar"
8637 if test "$no_cache" != 1; then
8638 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8639 fi
8640
8641 if test "$wxUSE_STATUSBAR" = yes; then
8642 echo "$as_me:$LINENO: result: yes" >&5
8643 echo "${ECHO_T}yes" >&6
8644 else
8645 echo "$as_me:$LINENO: result: no" >&5
8646 echo "${ECHO_T}no" >&6
8647 fi
8648
8649
8650 enablestring=
8651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8652 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8653 no_cache=0
8654 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8655 if test "${enable_tabdialog+set}" = set; then
8656 enableval="$enable_tabdialog"
8657
8658 if test "$enableval" = yes; then
8659 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8660 else
8661 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8662 fi
8663
8664 else
8665
8666 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8667 if test "x$LINE" != x ; then
8668 eval "DEFAULT_$LINE"
8669 else
8670 no_cache=1
8671 fi
8672
8673 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8674
8675 fi;
8676
8677 eval "$ac_cv_use_tabdialog"
8678 if test "$no_cache" != 1; then
8679 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8680 fi
8681
8682 if test "$wxUSE_TABDIALOG" = yes; then
8683 echo "$as_me:$LINENO: result: yes" >&5
8684 echo "${ECHO_T}yes" >&6
8685 else
8686 echo "$as_me:$LINENO: result: no" >&5
8687 echo "${ECHO_T}no" >&6
8688 fi
8689
8690
8691 enablestring=
8692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8693 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8694 no_cache=0
8695 # Check whether --enable-textctrl or --disable-textctrl was given.
8696 if test "${enable_textctrl+set}" = set; then
8697 enableval="$enable_textctrl"
8698
8699 if test "$enableval" = yes; then
8700 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8701 else
8702 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8703 fi
8704
8705 else
8706
8707 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8708 if test "x$LINE" != x ; then
8709 eval "DEFAULT_$LINE"
8710 else
8711 no_cache=1
8712 fi
8713
8714 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8715
8716 fi;
8717
8718 eval "$ac_cv_use_textctrl"
8719 if test "$no_cache" != 1; then
8720 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8721 fi
8722
8723 if test "$wxUSE_TEXTCTRL" = yes; then
8724 echo "$as_me:$LINENO: result: yes" >&5
8725 echo "${ECHO_T}yes" >&6
8726 else
8727 echo "$as_me:$LINENO: result: no" >&5
8728 echo "${ECHO_T}no" >&6
8729 fi
8730
8731
8732 enablestring=
8733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8734 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8735 no_cache=0
8736 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8737 if test "${enable_togglebtn+set}" = set; then
8738 enableval="$enable_togglebtn"
8739
8740 if test "$enableval" = yes; then
8741 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8742 else
8743 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8744 fi
8745
8746 else
8747
8748 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8749 if test "x$LINE" != x ; then
8750 eval "DEFAULT_$LINE"
8751 else
8752 no_cache=1
8753 fi
8754
8755 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8756
8757 fi;
8758
8759 eval "$ac_cv_use_togglebtn"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8762 fi
8763
8764 if test "$wxUSE_TOGGLEBTN" = yes; then
8765 echo "$as_me:$LINENO: result: yes" >&5
8766 echo "${ECHO_T}yes" >&6
8767 else
8768 echo "$as_me:$LINENO: result: no" >&5
8769 echo "${ECHO_T}no" >&6
8770 fi
8771
8772
8773 enablestring=
8774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8776 no_cache=0
8777 # Check whether --enable-toolbar or --disable-toolbar was given.
8778 if test "${enable_toolbar+set}" = set; then
8779 enableval="$enable_toolbar"
8780
8781 if test "$enableval" = yes; then
8782 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8783 else
8784 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8785 fi
8786
8787 else
8788
8789 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8790 if test "x$LINE" != x ; then
8791 eval "DEFAULT_$LINE"
8792 else
8793 no_cache=1
8794 fi
8795
8796 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8797
8798 fi;
8799
8800 eval "$ac_cv_use_toolbar"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8803 fi
8804
8805 if test "$wxUSE_TOOLBAR" = yes; then
8806 echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6
8808 else
8809 echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6
8811 fi
8812
8813
8814 enablestring=
8815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8816 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8817 no_cache=0
8818 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8819 if test "${enable_tbarnative+set}" = set; then
8820 enableval="$enable_tbarnative"
8821
8822 if test "$enableval" = yes; then
8823 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8824 else
8825 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8826 fi
8827
8828 else
8829
8830 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8831 if test "x$LINE" != x ; then
8832 eval "DEFAULT_$LINE"
8833 else
8834 no_cache=1
8835 fi
8836
8837 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8838
8839 fi;
8840
8841 eval "$ac_cv_use_tbarnative"
8842 if test "$no_cache" != 1; then
8843 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8844 fi
8845
8846 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8847 echo "$as_me:$LINENO: result: yes" >&5
8848 echo "${ECHO_T}yes" >&6
8849 else
8850 echo "$as_me:$LINENO: result: no" >&5
8851 echo "${ECHO_T}no" >&6
8852 fi
8853
8854
8855 enablestring=
8856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8858 no_cache=0
8859 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8860 if test "${enable_tbarsmpl+set}" = set; then
8861 enableval="$enable_tbarsmpl"
8862
8863 if test "$enableval" = yes; then
8864 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8865 else
8866 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8867 fi
8868
8869 else
8870
8871 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x ; then
8873 eval "DEFAULT_$LINE"
8874 else
8875 no_cache=1
8876 fi
8877
8878 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8879
8880 fi;
8881
8882 eval "$ac_cv_use_tbarsmpl"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8885 fi
8886
8887 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8888 echo "$as_me:$LINENO: result: yes" >&5
8889 echo "${ECHO_T}yes" >&6
8890 else
8891 echo "$as_me:$LINENO: result: no" >&5
8892 echo "${ECHO_T}no" >&6
8893 fi
8894
8895
8896 enablestring=
8897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8899 no_cache=0
8900 # Check whether --enable-treectrl or --disable-treectrl was given.
8901 if test "${enable_treectrl+set}" = set; then
8902 enableval="$enable_treectrl"
8903
8904 if test "$enableval" = yes; then
8905 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8906 else
8907 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8908 fi
8909
8910 else
8911
8912 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8913 if test "x$LINE" != x ; then
8914 eval "DEFAULT_$LINE"
8915 else
8916 no_cache=1
8917 fi
8918
8919 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8920
8921 fi;
8922
8923 eval "$ac_cv_use_treectrl"
8924 if test "$no_cache" != 1; then
8925 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8926 fi
8927
8928 if test "$wxUSE_TREECTRL" = yes; then
8929 echo "$as_me:$LINENO: result: yes" >&5
8930 echo "${ECHO_T}yes" >&6
8931 else
8932 echo "$as_me:$LINENO: result: no" >&5
8933 echo "${ECHO_T}no" >&6
8934 fi
8935
8936
8937 enablestring=
8938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8939 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8940 no_cache=0
8941 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8942 if test "${enable_tipwindow+set}" = set; then
8943 enableval="$enable_tipwindow"
8944
8945 if test "$enableval" = yes; then
8946 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8947 else
8948 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8949 fi
8950
8951 else
8952
8953 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8954 if test "x$LINE" != x ; then
8955 eval "DEFAULT_$LINE"
8956 else
8957 no_cache=1
8958 fi
8959
8960 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8961
8962 fi;
8963
8964 eval "$ac_cv_use_tipwindow"
8965 if test "$no_cache" != 1; then
8966 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8967 fi
8968
8969 if test "$wxUSE_TIPWINDOW" = yes; then
8970 echo "$as_me:$LINENO: result: yes" >&5
8971 echo "${ECHO_T}yes" >&6
8972 else
8973 echo "$as_me:$LINENO: result: no" >&5
8974 echo "${ECHO_T}no" >&6
8975 fi
8976
8977
8978 enablestring=
8979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8981 no_cache=0
8982 # Check whether --enable-popupwin or --disable-popupwin was given.
8983 if test "${enable_popupwin+set}" = set; then
8984 enableval="$enable_popupwin"
8985
8986 if test "$enableval" = yes; then
8987 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8988 else
8989 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8990 fi
8991
8992 else
8993
8994 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x ; then
8996 eval "DEFAULT_$LINE"
8997 else
8998 no_cache=1
8999 fi
9000
9001 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9002
9003 fi;
9004
9005 eval "$ac_cv_use_popupwin"
9006 if test "$no_cache" != 1; then
9007 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9008 fi
9009
9010 if test "$wxUSE_POPUPWIN" = yes; then
9011 echo "$as_me:$LINENO: result: yes" >&5
9012 echo "${ECHO_T}yes" >&6
9013 else
9014 echo "$as_me:$LINENO: result: no" >&5
9015 echo "${ECHO_T}no" >&6
9016 fi
9017
9018
9019
9020
9021 enablestring=
9022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9024 no_cache=0
9025 # Check whether --enable-commondlg or --disable-commondlg was given.
9026 if test "${enable_commondlg+set}" = set; then
9027 enableval="$enable_commondlg"
9028
9029 if test "$enableval" = yes; then
9030 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9031 else
9032 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9033 fi
9034
9035 else
9036
9037 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x ; then
9039 eval "DEFAULT_$LINE"
9040 else
9041 no_cache=1
9042 fi
9043
9044 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9045
9046 fi;
9047
9048 eval "$ac_cv_use_commondlg"
9049 if test "$no_cache" != 1; then
9050 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9051 fi
9052
9053 if test "$wxUSE_COMMONDLGS" = yes; then
9054 echo "$as_me:$LINENO: result: yes" >&5
9055 echo "${ECHO_T}yes" >&6
9056 else
9057 echo "$as_me:$LINENO: result: no" >&5
9058 echo "${ECHO_T}no" >&6
9059 fi
9060
9061
9062 enablestring=
9063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9065 no_cache=0
9066 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9067 if test "${enable_choicedlg+set}" = set; then
9068 enableval="$enable_choicedlg"
9069
9070 if test "$enableval" = yes; then
9071 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9072 else
9073 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9074 fi
9075
9076 else
9077
9078 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9079 if test "x$LINE" != x ; then
9080 eval "DEFAULT_$LINE"
9081 else
9082 no_cache=1
9083 fi
9084
9085 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9086
9087 fi;
9088
9089 eval "$ac_cv_use_choicedlg"
9090 if test "$no_cache" != 1; then
9091 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9092 fi
9093
9094 if test "$wxUSE_CHOICEDLG" = yes; then
9095 echo "$as_me:$LINENO: result: yes" >&5
9096 echo "${ECHO_T}yes" >&6
9097 else
9098 echo "$as_me:$LINENO: result: no" >&5
9099 echo "${ECHO_T}no" >&6
9100 fi
9101
9102
9103 enablestring=
9104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9105 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9106 no_cache=0
9107 # Check whether --enable-coldlg or --disable-coldlg was given.
9108 if test "${enable_coldlg+set}" = set; then
9109 enableval="$enable_coldlg"
9110
9111 if test "$enableval" = yes; then
9112 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9113 else
9114 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9115 fi
9116
9117 else
9118
9119 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9120 if test "x$LINE" != x ; then
9121 eval "DEFAULT_$LINE"
9122 else
9123 no_cache=1
9124 fi
9125
9126 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9127
9128 fi;
9129
9130 eval "$ac_cv_use_coldlg"
9131 if test "$no_cache" != 1; then
9132 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9133 fi
9134
9135 if test "$wxUSE_COLOURDLG" = yes; then
9136 echo "$as_me:$LINENO: result: yes" >&5
9137 echo "${ECHO_T}yes" >&6
9138 else
9139 echo "$as_me:$LINENO: result: no" >&5
9140 echo "${ECHO_T}no" >&6
9141 fi
9142
9143
9144 enablestring=
9145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9147 no_cache=0
9148 # Check whether --enable-filedlg or --disable-filedlg was given.
9149 if test "${enable_filedlg+set}" = set; then
9150 enableval="$enable_filedlg"
9151
9152 if test "$enableval" = yes; then
9153 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9154 else
9155 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9156 fi
9157
9158 else
9159
9160 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9161 if test "x$LINE" != x ; then
9162 eval "DEFAULT_$LINE"
9163 else
9164 no_cache=1
9165 fi
9166
9167 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9168
9169 fi;
9170
9171 eval "$ac_cv_use_filedlg"
9172 if test "$no_cache" != 1; then
9173 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9174 fi
9175
9176 if test "$wxUSE_FILEDLG" = yes; then
9177 echo "$as_me:$LINENO: result: yes" >&5
9178 echo "${ECHO_T}yes" >&6
9179 else
9180 echo "$as_me:$LINENO: result: no" >&5
9181 echo "${ECHO_T}no" >&6
9182 fi
9183
9184
9185 enablestring=
9186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9188 no_cache=0
9189 # Check whether --enable-finddlg or --disable-finddlg was given.
9190 if test "${enable_finddlg+set}" = set; then
9191 enableval="$enable_finddlg"
9192
9193 if test "$enableval" = yes; then
9194 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9195 else
9196 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9197 fi
9198
9199 else
9200
9201 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9202 if test "x$LINE" != x ; then
9203 eval "DEFAULT_$LINE"
9204 else
9205 no_cache=1
9206 fi
9207
9208 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9209
9210 fi;
9211
9212 eval "$ac_cv_use_finddlg"
9213 if test "$no_cache" != 1; then
9214 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9215 fi
9216
9217 if test "$wxUSE_FINDREPLDLG" = yes; then
9218 echo "$as_me:$LINENO: result: yes" >&5
9219 echo "${ECHO_T}yes" >&6
9220 else
9221 echo "$as_me:$LINENO: result: no" >&5
9222 echo "${ECHO_T}no" >&6
9223 fi
9224
9225
9226 enablestring=
9227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9228 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9229 no_cache=0
9230 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9231 if test "${enable_fontdlg+set}" = set; then
9232 enableval="$enable_fontdlg"
9233
9234 if test "$enableval" = yes; then
9235 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9236 else
9237 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9238 fi
9239
9240 else
9241
9242 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9243 if test "x$LINE" != x ; then
9244 eval "DEFAULT_$LINE"
9245 else
9246 no_cache=1
9247 fi
9248
9249 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9250
9251 fi;
9252
9253 eval "$ac_cv_use_fontdlg"
9254 if test "$no_cache" != 1; then
9255 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9256 fi
9257
9258 if test "$wxUSE_FONTDLG" = yes; then
9259 echo "$as_me:$LINENO: result: yes" >&5
9260 echo "${ECHO_T}yes" >&6
9261 else
9262 echo "$as_me:$LINENO: result: no" >&5
9263 echo "${ECHO_T}no" >&6
9264 fi
9265
9266
9267 enablestring=
9268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9270 no_cache=0
9271 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9272 if test "${enable_dirdlg+set}" = set; then
9273 enableval="$enable_dirdlg"
9274
9275 if test "$enableval" = yes; then
9276 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9277 else
9278 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9279 fi
9280
9281 else
9282
9283 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9284 if test "x$LINE" != x ; then
9285 eval "DEFAULT_$LINE"
9286 else
9287 no_cache=1
9288 fi
9289
9290 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9291
9292 fi;
9293
9294 eval "$ac_cv_use_dirdlg"
9295 if test "$no_cache" != 1; then
9296 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9297 fi
9298
9299 if test "$wxUSE_DIRDLG" = yes; then
9300 echo "$as_me:$LINENO: result: yes" >&5
9301 echo "${ECHO_T}yes" >&6
9302 else
9303 echo "$as_me:$LINENO: result: no" >&5
9304 echo "${ECHO_T}no" >&6
9305 fi
9306
9307
9308 enablestring=
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9311 no_cache=0
9312 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9313 if test "${enable_msgdlg+set}" = set; then
9314 enableval="$enable_msgdlg"
9315
9316 if test "$enableval" = yes; then
9317 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9318 else
9319 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9320 fi
9321
9322 else
9323
9324 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x ; then
9326 eval "DEFAULT_$LINE"
9327 else
9328 no_cache=1
9329 fi
9330
9331 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9332
9333 fi;
9334
9335 eval "$ac_cv_use_msgdlg"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9338 fi
9339
9340 if test "$wxUSE_MSGDLG" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9343 else
9344 echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6
9346 fi
9347
9348
9349 enablestring=
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9351 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9352 no_cache=0
9353 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9354 if test "${enable_numberdlg+set}" = set; then
9355 enableval="$enable_numberdlg"
9356
9357 if test "$enableval" = yes; then
9358 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9359 else
9360 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9361 fi
9362
9363 else
9364
9365 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x ; then
9367 eval "DEFAULT_$LINE"
9368 else
9369 no_cache=1
9370 fi
9371
9372 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9373
9374 fi;
9375
9376 eval "$ac_cv_use_numberdlg"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9379 fi
9380
9381 if test "$wxUSE_NUMBERDLG" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9384 else
9385 echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6
9387 fi
9388
9389
9390 enablestring=
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9393 no_cache=0
9394 # Check whether --enable-splash or --disable-splash was given.
9395 if test "${enable_splash+set}" = set; then
9396 enableval="$enable_splash"
9397
9398 if test "$enableval" = yes; then
9399 ac_cv_use_splash='wxUSE_SPLASH=yes'
9400 else
9401 ac_cv_use_splash='wxUSE_SPLASH=no'
9402 fi
9403
9404 else
9405
9406 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x ; then
9408 eval "DEFAULT_$LINE"
9409 else
9410 no_cache=1
9411 fi
9412
9413 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9414
9415 fi;
9416
9417 eval "$ac_cv_use_splash"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9420 fi
9421
9422 if test "$wxUSE_SPLASH" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424 echo "${ECHO_T}yes" >&6
9425 else
9426 echo "$as_me:$LINENO: result: no" >&5
9427 echo "${ECHO_T}no" >&6
9428 fi
9429
9430
9431 enablestring=
9432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9434 no_cache=0
9435 # Check whether --enable-textdlg or --disable-textdlg was given.
9436 if test "${enable_textdlg+set}" = set; then
9437 enableval="$enable_textdlg"
9438
9439 if test "$enableval" = yes; then
9440 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9441 else
9442 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9443 fi
9444
9445 else
9446
9447 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x ; then
9449 eval "DEFAULT_$LINE"
9450 else
9451 no_cache=1
9452 fi
9453
9454 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9455
9456 fi;
9457
9458 eval "$ac_cv_use_textdlg"
9459 if test "$no_cache" != 1; then
9460 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9461 fi
9462
9463 if test "$wxUSE_TEXTDLG" = yes; then
9464 echo "$as_me:$LINENO: result: yes" >&5
9465 echo "${ECHO_T}yes" >&6
9466 else
9467 echo "$as_me:$LINENO: result: no" >&5
9468 echo "${ECHO_T}no" >&6
9469 fi
9470
9471
9472 enablestring=
9473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9474 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9475 no_cache=0
9476 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9477 if test "${enable_tipdlg+set}" = set; then
9478 enableval="$enable_tipdlg"
9479
9480 if test "$enableval" = yes; then
9481 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9482 else
9483 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9484 fi
9485
9486 else
9487
9488 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9489 if test "x$LINE" != x ; then
9490 eval "DEFAULT_$LINE"
9491 else
9492 no_cache=1
9493 fi
9494
9495 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9496
9497 fi;
9498
9499 eval "$ac_cv_use_tipdlg"
9500 if test "$no_cache" != 1; then
9501 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9502 fi
9503
9504 if test "$wxUSE_STARTUP_TIPS" = yes; then
9505 echo "$as_me:$LINENO: result: yes" >&5
9506 echo "${ECHO_T}yes" >&6
9507 else
9508 echo "$as_me:$LINENO: result: no" >&5
9509 echo "${ECHO_T}no" >&6
9510 fi
9511
9512
9513 enablestring=
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9516 no_cache=0
9517 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9518 if test "${enable_progressdlg+set}" = set; then
9519 enableval="$enable_progressdlg"
9520
9521 if test "$enableval" = yes; then
9522 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9523 else
9524 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9525 fi
9526
9527 else
9528
9529 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x ; then
9531 eval "DEFAULT_$LINE"
9532 else
9533 no_cache=1
9534 fi
9535
9536 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9537
9538 fi;
9539
9540 eval "$ac_cv_use_progressdlg"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9543 fi
9544
9545 if test "$wxUSE_PROGRESSDLG" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9548 else
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9551 fi
9552
9553
9554 enablestring=
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9556 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9557 no_cache=0
9558 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9559 if test "${enable_wizarddlg+set}" = set; then
9560 enableval="$enable_wizarddlg"
9561
9562 if test "$enableval" = yes; then
9563 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9564 else
9565 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9566 fi
9567
9568 else
9569
9570 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x ; then
9572 eval "DEFAULT_$LINE"
9573 else
9574 no_cache=1
9575 fi
9576
9577 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9578
9579 fi;
9580
9581 eval "$ac_cv_use_wizarddlg"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9584 fi
9585
9586 if test "$wxUSE_WIZARDDLG" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588 echo "${ECHO_T}yes" >&6
9589 else
9590 echo "$as_me:$LINENO: result: no" >&5
9591 echo "${ECHO_T}no" >&6
9592 fi
9593
9594
9595
9596
9597 enablestring=
9598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9599 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9600 no_cache=0
9601 # Check whether --enable-menus or --disable-menus was given.
9602 if test "${enable_menus+set}" = set; then
9603 enableval="$enable_menus"
9604
9605 if test "$enableval" = yes; then
9606 ac_cv_use_menus='wxUSE_MENUS=yes'
9607 else
9608 ac_cv_use_menus='wxUSE_MENUS=no'
9609 fi
9610
9611 else
9612
9613 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9614 if test "x$LINE" != x ; then
9615 eval "DEFAULT_$LINE"
9616 else
9617 no_cache=1
9618 fi
9619
9620 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9621
9622 fi;
9623
9624 eval "$ac_cv_use_menus"
9625 if test "$no_cache" != 1; then
9626 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9627 fi
9628
9629 if test "$wxUSE_MENUS" = yes; then
9630 echo "$as_me:$LINENO: result: yes" >&5
9631 echo "${ECHO_T}yes" >&6
9632 else
9633 echo "$as_me:$LINENO: result: no" >&5
9634 echo "${ECHO_T}no" >&6
9635 fi
9636
9637
9638 enablestring=
9639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9641 no_cache=0
9642 # Check whether --enable-miniframe or --disable-miniframe was given.
9643 if test "${enable_miniframe+set}" = set; then
9644 enableval="$enable_miniframe"
9645
9646 if test "$enableval" = yes; then
9647 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9648 else
9649 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9650 fi
9651
9652 else
9653
9654 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9655 if test "x$LINE" != x ; then
9656 eval "DEFAULT_$LINE"
9657 else
9658 no_cache=1
9659 fi
9660
9661 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9662
9663 fi;
9664
9665 eval "$ac_cv_use_miniframe"
9666 if test "$no_cache" != 1; then
9667 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9668 fi
9669
9670 if test "$wxUSE_MINIFRAME" = yes; then
9671 echo "$as_me:$LINENO: result: yes" >&5
9672 echo "${ECHO_T}yes" >&6
9673 else
9674 echo "$as_me:$LINENO: result: no" >&5
9675 echo "${ECHO_T}no" >&6
9676 fi
9677
9678
9679 enablestring=
9680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9681 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9682 no_cache=0
9683 # Check whether --enable-tooltips or --disable-tooltips was given.
9684 if test "${enable_tooltips+set}" = set; then
9685 enableval="$enable_tooltips"
9686
9687 if test "$enableval" = yes; then
9688 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9689 else
9690 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9691 fi
9692
9693 else
9694
9695 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9696 if test "x$LINE" != x ; then
9697 eval "DEFAULT_$LINE"
9698 else
9699 no_cache=1
9700 fi
9701
9702 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9703
9704 fi;
9705
9706 eval "$ac_cv_use_tooltips"
9707 if test "$no_cache" != 1; then
9708 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9709 fi
9710
9711 if test "$wxUSE_TOOLTIPS" = yes; then
9712 echo "$as_me:$LINENO: result: yes" >&5
9713 echo "${ECHO_T}yes" >&6
9714 else
9715 echo "$as_me:$LINENO: result: no" >&5
9716 echo "${ECHO_T}no" >&6
9717 fi
9718
9719
9720 enablestring=
9721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9723 no_cache=0
9724 # Check whether --enable-splines or --disable-splines was given.
9725 if test "${enable_splines+set}" = set; then
9726 enableval="$enable_splines"
9727
9728 if test "$enableval" = yes; then
9729 ac_cv_use_splines='wxUSE_SPLINES=yes'
9730 else
9731 ac_cv_use_splines='wxUSE_SPLINES=no'
9732 fi
9733
9734 else
9735
9736 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9737 if test "x$LINE" != x ; then
9738 eval "DEFAULT_$LINE"
9739 else
9740 no_cache=1
9741 fi
9742
9743 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9744
9745 fi;
9746
9747 eval "$ac_cv_use_splines"
9748 if test "$no_cache" != 1; then
9749 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9750 fi
9751
9752 if test "$wxUSE_SPLINES" = yes; then
9753 echo "$as_me:$LINENO: result: yes" >&5
9754 echo "${ECHO_T}yes" >&6
9755 else
9756 echo "$as_me:$LINENO: result: no" >&5
9757 echo "${ECHO_T}no" >&6
9758 fi
9759
9760
9761 enablestring=
9762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9764 no_cache=0
9765 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9766 if test "${enable_mousewheel+set}" = set; then
9767 enableval="$enable_mousewheel"
9768
9769 if test "$enableval" = yes; then
9770 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
9771 else
9772 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
9773 fi
9774
9775 else
9776
9777 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9778 if test "x$LINE" != x ; then
9779 eval "DEFAULT_$LINE"
9780 else
9781 no_cache=1
9782 fi
9783
9784 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9785
9786 fi;
9787
9788 eval "$ac_cv_use_mousewheel"
9789 if test "$no_cache" != 1; then
9790 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9791 fi
9792
9793 if test "$wxUSE_MOUSEWHEEL" = yes; then
9794 echo "$as_me:$LINENO: result: yes" >&5
9795 echo "${ECHO_T}yes" >&6
9796 else
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9799 fi
9800
9801
9802 enablestring=
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9805 no_cache=0
9806 # Check whether --enable-validators or --disable-validators was given.
9807 if test "${enable_validators+set}" = set; then
9808 enableval="$enable_validators"
9809
9810 if test "$enableval" = yes; then
9811 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9812 else
9813 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9814 fi
9815
9816 else
9817
9818 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x ; then
9820 eval "DEFAULT_$LINE"
9821 else
9822 no_cache=1
9823 fi
9824
9825 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9826
9827 fi;
9828
9829 eval "$ac_cv_use_validators"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9832 fi
9833
9834 if test "$wxUSE_VALIDATORS" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836 echo "${ECHO_T}yes" >&6
9837 else
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9840 fi
9841
9842
9843 enablestring=
9844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9846 no_cache=0
9847 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9848 if test "${enable_busyinfo+set}" = set; then
9849 enableval="$enable_busyinfo"
9850
9851 if test "$enableval" = yes; then
9852 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9853 else
9854 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9855 fi
9856
9857 else
9858
9859 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9860 if test "x$LINE" != x ; then
9861 eval "DEFAULT_$LINE"
9862 else
9863 no_cache=1
9864 fi
9865
9866 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9867
9868 fi;
9869
9870 eval "$ac_cv_use_busyinfo"
9871 if test "$no_cache" != 1; then
9872 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9873 fi
9874
9875 if test "$wxUSE_BUSYINFO" = yes; then
9876 echo "$as_me:$LINENO: result: yes" >&5
9877 echo "${ECHO_T}yes" >&6
9878 else
9879 echo "$as_me:$LINENO: result: no" >&5
9880 echo "${ECHO_T}no" >&6
9881 fi
9882
9883
9884 enablestring=
9885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9887 no_cache=0
9888 # Check whether --enable-joystick or --disable-joystick was given.
9889 if test "${enable_joystick+set}" = set; then
9890 enableval="$enable_joystick"
9891
9892 if test "$enableval" = yes; then
9893 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9894 else
9895 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9896 fi
9897
9898 else
9899
9900 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9901 if test "x$LINE" != x ; then
9902 eval "DEFAULT_$LINE"
9903 else
9904 no_cache=1
9905 fi
9906
9907 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9908
9909 fi;
9910
9911 eval "$ac_cv_use_joystick"
9912 if test "$no_cache" != 1; then
9913 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9914 fi
9915
9916 if test "$wxUSE_JOYSTICK" = yes; then
9917 echo "$as_me:$LINENO: result: yes" >&5
9918 echo "${ECHO_T}yes" >&6
9919 else
9920 echo "$as_me:$LINENO: result: no" >&5
9921 echo "${ECHO_T}no" >&6
9922 fi
9923
9924
9925 enablestring=
9926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9927 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9928 no_cache=0
9929 # Check whether --enable-metafile or --disable-metafile was given.
9930 if test "${enable_metafile+set}" = set; then
9931 enableval="$enable_metafile"
9932
9933 if test "$enableval" = yes; then
9934 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9935 else
9936 ac_cv_use_metafile='wxUSE_METAFILE=no'
9937 fi
9938
9939 else
9940
9941 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9942 if test "x$LINE" != x ; then
9943 eval "DEFAULT_$LINE"
9944 else
9945 no_cache=1
9946 fi
9947
9948 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9949
9950 fi;
9951
9952 eval "$ac_cv_use_metafile"
9953 if test "$no_cache" != 1; then
9954 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9955 fi
9956
9957 if test "$wxUSE_METAFILE" = yes; then
9958 echo "$as_me:$LINENO: result: yes" >&5
9959 echo "${ECHO_T}yes" >&6
9960 else
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9963 fi
9964
9965
9966 enablestring=
9967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9968 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9969 no_cache=0
9970 # Check whether --enable-dragimage or --disable-dragimage was given.
9971 if test "${enable_dragimage+set}" = set; then
9972 enableval="$enable_dragimage"
9973
9974 if test "$enableval" = yes; then
9975 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9976 else
9977 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9978 fi
9979
9980 else
9981
9982 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9983 if test "x$LINE" != x ; then
9984 eval "DEFAULT_$LINE"
9985 else
9986 no_cache=1
9987 fi
9988
9989 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9990
9991 fi;
9992
9993 eval "$ac_cv_use_dragimage"
9994 if test "$no_cache" != 1; then
9995 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9996 fi
9997
9998 if test "$wxUSE_DRAGIMAGE" = yes; then
9999 echo "$as_me:$LINENO: result: yes" >&5
10000 echo "${ECHO_T}yes" >&6
10001 else
10002 echo "$as_me:$LINENO: result: no" >&5
10003 echo "${ECHO_T}no" >&6
10004 fi
10005
10006
10007 enablestring=
10008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10009 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10010 no_cache=0
10011 # Check whether --enable-accessibility or --disable-accessibility was given.
10012 if test "${enable_accessibility+set}" = set; then
10013 enableval="$enable_accessibility"
10014
10015 if test "$enableval" = yes; then
10016 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10017 else
10018 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10019 fi
10020
10021 else
10022
10023 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10024 if test "x$LINE" != x ; then
10025 eval "DEFAULT_$LINE"
10026 else
10027 no_cache=1
10028 fi
10029
10030 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10031
10032 fi;
10033
10034 eval "$ac_cv_use_accessibility"
10035 if test "$no_cache" != 1; then
10036 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10037 fi
10038
10039 if test "$wxUSE_ACCESSIBILITY" = yes; then
10040 echo "$as_me:$LINENO: result: yes" >&5
10041 echo "${ECHO_T}yes" >&6
10042 else
10043 echo "$as_me:$LINENO: result: no" >&5
10044 echo "${ECHO_T}no" >&6
10045 fi
10046
10047
10048 if test "$wxUSE_MSW" = "1"; then
10049
10050 enablestring=
10051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10053 no_cache=0
10054 # Check whether --enable-dccache or --disable-dccache was given.
10055 if test "${enable_dccache+set}" = set; then
10056 enableval="$enable_dccache"
10057
10058 if test "$enableval" = yes; then
10059 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10060 else
10061 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10062 fi
10063
10064 else
10065
10066 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10067 if test "x$LINE" != x ; then
10068 eval "DEFAULT_$LINE"
10069 else
10070 no_cache=1
10071 fi
10072
10073 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10074
10075 fi;
10076
10077 eval "$ac_cv_use_dccache"
10078 if test "$no_cache" != 1; then
10079 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10080 fi
10081
10082 if test "$wxUSE_DC_CACHEING" = yes; then
10083 echo "$as_me:$LINENO: result: yes" >&5
10084 echo "${ECHO_T}yes" >&6
10085 else
10086 echo "$as_me:$LINENO: result: no" >&5
10087 echo "${ECHO_T}no" >&6
10088 fi
10089
10090 fi
10091
10092
10093
10094 enablestring=
10095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10096 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10097 no_cache=0
10098 # Check whether --enable-palette or --disable-palette was given.
10099 if test "${enable_palette+set}" = set; then
10100 enableval="$enable_palette"
10101
10102 if test "$enableval" = yes; then
10103 ac_cv_use_palette='wxUSE_PALETTE=yes'
10104 else
10105 ac_cv_use_palette='wxUSE_PALETTE=no'
10106 fi
10107
10108 else
10109
10110 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10111 if test "x$LINE" != x ; then
10112 eval "DEFAULT_$LINE"
10113 else
10114 no_cache=1
10115 fi
10116
10117 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10118
10119 fi;
10120
10121 eval "$ac_cv_use_palette"
10122 if test "$no_cache" != 1; then
10123 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10124 fi
10125
10126 if test "$wxUSE_PALETTE" = yes; then
10127 echo "$as_me:$LINENO: result: yes" >&5
10128 echo "${ECHO_T}yes" >&6
10129 else
10130 echo "$as_me:$LINENO: result: no" >&5
10131 echo "${ECHO_T}no" >&6
10132 fi
10133
10134
10135 enablestring=
10136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10137 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10138 no_cache=0
10139 # Check whether --enable-image or --disable-image was given.
10140 if test "${enable_image+set}" = set; then
10141 enableval="$enable_image"
10142
10143 if test "$enableval" = yes; then
10144 ac_cv_use_image='wxUSE_IMAGE=yes'
10145 else
10146 ac_cv_use_image='wxUSE_IMAGE=no'
10147 fi
10148
10149 else
10150
10151 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10152 if test "x$LINE" != x ; then
10153 eval "DEFAULT_$LINE"
10154 else
10155 no_cache=1
10156 fi
10157
10158 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10159
10160 fi;
10161
10162 eval "$ac_cv_use_image"
10163 if test "$no_cache" != 1; then
10164 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10165 fi
10166
10167 if test "$wxUSE_IMAGE" = yes; then
10168 echo "$as_me:$LINENO: result: yes" >&5
10169 echo "${ECHO_T}yes" >&6
10170 else
10171 echo "$as_me:$LINENO: result: no" >&5
10172 echo "${ECHO_T}no" >&6
10173 fi
10174
10175
10176 enablestring=
10177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10178 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10179 no_cache=0
10180 # Check whether --enable-gif or --disable-gif was given.
10181 if test "${enable_gif+set}" = set; then
10182 enableval="$enable_gif"
10183
10184 if test "$enableval" = yes; then
10185 ac_cv_use_gif='wxUSE_GIF=yes'
10186 else
10187 ac_cv_use_gif='wxUSE_GIF=no'
10188 fi
10189
10190 else
10191
10192 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10193 if test "x$LINE" != x ; then
10194 eval "DEFAULT_$LINE"
10195 else
10196 no_cache=1
10197 fi
10198
10199 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10200
10201 fi;
10202
10203 eval "$ac_cv_use_gif"
10204 if test "$no_cache" != 1; then
10205 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10206 fi
10207
10208 if test "$wxUSE_GIF" = yes; then
10209 echo "$as_me:$LINENO: result: yes" >&5
10210 echo "${ECHO_T}yes" >&6
10211 else
10212 echo "$as_me:$LINENO: result: no" >&5
10213 echo "${ECHO_T}no" >&6
10214 fi
10215
10216
10217 enablestring=
10218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10219 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10220 no_cache=0
10221 # Check whether --enable-pcx or --disable-pcx was given.
10222 if test "${enable_pcx+set}" = set; then
10223 enableval="$enable_pcx"
10224
10225 if test "$enableval" = yes; then
10226 ac_cv_use_pcx='wxUSE_PCX=yes'
10227 else
10228 ac_cv_use_pcx='wxUSE_PCX=no'
10229 fi
10230
10231 else
10232
10233 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10234 if test "x$LINE" != x ; then
10235 eval "DEFAULT_$LINE"
10236 else
10237 no_cache=1
10238 fi
10239
10240 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10241
10242 fi;
10243
10244 eval "$ac_cv_use_pcx"
10245 if test "$no_cache" != 1; then
10246 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10247 fi
10248
10249 if test "$wxUSE_PCX" = yes; then
10250 echo "$as_me:$LINENO: result: yes" >&5
10251 echo "${ECHO_T}yes" >&6
10252 else
10253 echo "$as_me:$LINENO: result: no" >&5
10254 echo "${ECHO_T}no" >&6
10255 fi
10256
10257
10258 enablestring=
10259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10260 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10261 no_cache=0
10262 # Check whether --enable-iff or --disable-iff was given.
10263 if test "${enable_iff+set}" = set; then
10264 enableval="$enable_iff"
10265
10266 if test "$enableval" = yes; then
10267 ac_cv_use_iff='wxUSE_IFF=yes'
10268 else
10269 ac_cv_use_iff='wxUSE_IFF=no'
10270 fi
10271
10272 else
10273
10274 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10275 if test "x$LINE" != x ; then
10276 eval "DEFAULT_$LINE"
10277 else
10278 no_cache=1
10279 fi
10280
10281 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10282
10283 fi;
10284
10285 eval "$ac_cv_use_iff"
10286 if test "$no_cache" != 1; then
10287 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10288 fi
10289
10290 if test "$wxUSE_IFF" = yes; then
10291 echo "$as_me:$LINENO: result: yes" >&5
10292 echo "${ECHO_T}yes" >&6
10293 else
10294 echo "$as_me:$LINENO: result: no" >&5
10295 echo "${ECHO_T}no" >&6
10296 fi
10297
10298
10299 enablestring=
10300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10301 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10302 no_cache=0
10303 # Check whether --enable-pnm or --disable-pnm was given.
10304 if test "${enable_pnm+set}" = set; then
10305 enableval="$enable_pnm"
10306
10307 if test "$enableval" = yes; then
10308 ac_cv_use_pnm='wxUSE_PNM=yes'
10309 else
10310 ac_cv_use_pnm='wxUSE_PNM=no'
10311 fi
10312
10313 else
10314
10315 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10316 if test "x$LINE" != x ; then
10317 eval "DEFAULT_$LINE"
10318 else
10319 no_cache=1
10320 fi
10321
10322 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10323
10324 fi;
10325
10326 eval "$ac_cv_use_pnm"
10327 if test "$no_cache" != 1; then
10328 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10329 fi
10330
10331 if test "$wxUSE_PNM" = yes; then
10332 echo "$as_me:$LINENO: result: yes" >&5
10333 echo "${ECHO_T}yes" >&6
10334 else
10335 echo "$as_me:$LINENO: result: no" >&5
10336 echo "${ECHO_T}no" >&6
10337 fi
10338
10339
10340 enablestring=
10341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10342 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10343 no_cache=0
10344 # Check whether --enable-xpm or --disable-xpm was given.
10345 if test "${enable_xpm+set}" = set; then
10346 enableval="$enable_xpm"
10347
10348 if test "$enableval" = yes; then
10349 ac_cv_use_xpm='wxUSE_XPM=yes'
10350 else
10351 ac_cv_use_xpm='wxUSE_XPM=no'
10352 fi
10353
10354 else
10355
10356 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10357 if test "x$LINE" != x ; then
10358 eval "DEFAULT_$LINE"
10359 else
10360 no_cache=1
10361 fi
10362
10363 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10364
10365 fi;
10366
10367 eval "$ac_cv_use_xpm"
10368 if test "$no_cache" != 1; then
10369 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10370 fi
10371
10372 if test "$wxUSE_XPM" = yes; then
10373 echo "$as_me:$LINENO: result: yes" >&5
10374 echo "${ECHO_T}yes" >&6
10375 else
10376 echo "$as_me:$LINENO: result: no" >&5
10377 echo "${ECHO_T}no" >&6
10378 fi
10379
10380
10381 enablestring=
10382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10383 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10384 no_cache=0
10385 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10386 if test "${enable_ico_cur+set}" = set; then
10387 enableval="$enable_ico_cur"
10388
10389 if test "$enableval" = yes; then
10390 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10391 else
10392 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10393 fi
10394
10395 else
10396
10397 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10398 if test "x$LINE" != x ; then
10399 eval "DEFAULT_$LINE"
10400 else
10401 no_cache=1
10402 fi
10403
10404 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10405
10406 fi;
10407
10408 eval "$ac_cv_use_ico_cur"
10409 if test "$no_cache" != 1; then
10410 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10411 fi
10412
10413 if test "$wxUSE_ICO_CUR" = yes; then
10414 echo "$as_me:$LINENO: result: yes" >&5
10415 echo "${ECHO_T}yes" >&6
10416 else
10417 echo "$as_me:$LINENO: result: no" >&5
10418 echo "${ECHO_T}no" >&6
10419 fi
10420
10421
10422 fi
10423
10424
10425
10426 # Check whether --with-flavour or --without-flavour was given.
10427 if test "${with_flavour+set}" = set; then
10428 withval="$with_flavour"
10429 WX_FLAVOUR="$withval"
10430 fi;
10431
10432
10433
10434 enablestring=
10435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10436 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10437 no_cache=0
10438 # Check whether --enable-official_build or --disable-official_build was given.
10439 if test "${enable_official_build+set}" = set; then
10440 enableval="$enable_official_build"
10441
10442 if test "$enableval" = yes; then
10443 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10444 else
10445 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10446 fi
10447
10448 else
10449
10450 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10451 if test "x$LINE" != x ; then
10452 eval "DEFAULT_$LINE"
10453 else
10454 no_cache=1
10455 fi
10456
10457 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10458
10459 fi;
10460
10461 eval "$ac_cv_use_official_build"
10462 if test "$no_cache" != 1; then
10463 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10464 fi
10465
10466 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10467 echo "$as_me:$LINENO: result: yes" >&5
10468 echo "${ECHO_T}yes" >&6
10469 else
10470 echo "$as_me:$LINENO: result: no" >&5
10471 echo "${ECHO_T}no" >&6
10472 fi
10473
10474 # Check whether --enable-vendor or --disable-vendor was given.
10475 if test "${enable_vendor+set}" = set; then
10476 enableval="$enable_vendor"
10477 VENDOR="$enableval"
10478 fi;
10479 if test "x$VENDOR" = "x"; then
10480 VENDOR="custom"
10481 fi
10482
10483
10484
10485
10486 echo "saving argument cache $wx_arg_cache_file"
10487 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10488
10489
10490
10491 echo "$as_me:$LINENO: checking for toolkit" >&5
10492 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10493
10494 # In Wine, we need to default to MSW, not GTK or MOTIF
10495 if test "$wxUSE_WINE" = "yes"; then
10496 DEFAULT_DEFAULT_wxUSE_GTK=0
10497 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10498 DEFAULT_DEFAULT_wxUSE_MSW=1
10499 wxUSE_SHARED=no
10500 fi
10501
10502
10503 if test "$wxUSE_GUI" = "yes"; then
10504
10505 if test "$USE_BEOS" = 1; then
10506 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10507 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10508 { (exit 1); exit 1; }; }
10509 fi
10510
10511 if test "$TOOLKIT_GIVEN" = 1; then
10512 for toolkit in `echo $ALL_TOOLKITS`; do
10513 var=wxUSE_$toolkit
10514 eval "value=\$${var}"
10515 if test "x$value" = "xno"; then
10516 eval "$var=0"
10517 elif test "x$value" != "x"; then
10518 eval "$var=1"
10519 fi
10520
10521 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10522 eval "wx${toolkit}_VERSION=$value"
10523 fi
10524 done
10525 else
10526 for toolkit in `echo $ALL_TOOLKITS`; do
10527 if test "$has_toolkit_in_cache" != 1; then
10528 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10529 else
10530 var=DEFAULT_wxUSE_$toolkit
10531
10532 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10533 if test "x$version" != "x"; then
10534 eval "wx${toolkit}_VERSION=$version"
10535 fi
10536 fi
10537 eval "wxUSE_$toolkit=\$${var}"
10538 done
10539 fi
10540
10541 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10542 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10543 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10544
10545 case "${host}" in
10546 *-pc-os2_emx | *-pc-os2-emx )
10547 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10548 esac
10549
10550 case "$NUM_TOOLKITS" in
10551 1)
10552 ;;
10553 0)
10554 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10555 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10556 { (exit 1); exit 1; }; }
10557 ;;
10558 *)
10559 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10560 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10561 { (exit 1); exit 1; }; }
10562 esac
10563
10564 # to be removed when --disable-gtk2 isn't needed
10565 if test "x$wxUSE_GTK2" = "xyes"; then
10566 wxGTK_VERSION=2
10567 elif test "x$wxUSE_GTK2" = "xno"; then
10568 wxGTK_VERSION=1
10569 fi
10570
10571 for toolkit in `echo $ALL_TOOLKITS`; do
10572 var=wxUSE_$toolkit
10573 eval "value=\$${var}"
10574 if test "x$value" != x; then
10575 cache_var=CACHE_$toolkit
10576 eval "cache=\$${cache_var}"
10577 if test "$cache" = 1; then
10578 echo "$var=$value" >> ${wx_arg_cache_file}
10579 eval "version=\$wx${toolkit}_VERSION"
10580 if test "x$version" != "x"; then
10581 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10582 fi
10583 fi
10584 if test "$value" = 1; then
10585 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10586 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10587 echo "${ECHO_T}$toolkit_echo" >&6
10588 fi
10589 fi
10590 done
10591 else
10592 if test "x$host_alias" != "x"; then
10593 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10594 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10595 else
10596 echo "$as_me:$LINENO: result: base only" >&5
10597 echo "${ECHO_T}base only" >&6
10598 fi
10599 fi
10600
10601 wants_win32=0
10602 doesnt_want_win32=0
10603 case "${host}" in
10604 *-*-cygwin*)
10605 if test "$wxUSE_MSW" = 1 ; then
10606 wants_win32=1
10607 BAKEFILE_FORCE_PLATFORM=win32
10608 else
10609 doesnt_want_win32=1
10610 fi
10611 ;;
10612 *-*-mingw*)
10613 wants_win32=1
10614 ;;
10615 esac
10616
10617 if test "$wxUSE_WINE" = "yes"; then
10618 wants_win32=1
10619 CC=winegcc
10620 CXX=wineg++
10621 RESCOMP=wrc
10622 LDFLAGS_GUI="-mwindows"
10623 fi
10624
10625 if test "$wants_win32" = 1 ; then
10626 USE_UNIX=0
10627 USE_WIN32=1
10628 cat >>confdefs.h <<\_ACEOF
10629 #define __WIN32__ 1
10630 _ACEOF
10631
10632 cat >>confdefs.h <<\_ACEOF
10633 #define __WIN95__ 1
10634 _ACEOF
10635
10636 cat >>confdefs.h <<\_ACEOF
10637 #define __WINDOWS__ 1
10638 _ACEOF
10639
10640 cat >>confdefs.h <<\_ACEOF
10641 #define __GNUWIN32__ 1
10642 _ACEOF
10643
10644 cat >>confdefs.h <<\_ACEOF
10645 #define STRICT 1
10646 _ACEOF
10647
10648 cat >>confdefs.h <<\_ACEOF
10649 #define WINVER 0x0400
10650 _ACEOF
10651
10652 fi
10653 if test "$doesnt_want_win32" = 1 ; then
10654 USE_UNIX=1
10655 USE_WIN32=0
10656 fi
10657
10658 if test "$USE_UNIX" = 1 ; then
10659 wxUSE_UNIX=yes
10660 cat >>confdefs.h <<\_ACEOF
10661 #define __UNIX__ 1
10662 _ACEOF
10663
10664 fi
10665
10666
10667 cat >confcache <<\_ACEOF
10668 # This file is a shell script that caches the results of configure
10669 # tests run on this system so they can be shared between configure
10670 # scripts and configure runs, see configure's option --config-cache.
10671 # It is not useful on other systems. If it contains results you don't
10672 # want to keep, you may remove or edit it.
10673 #
10674 # config.status only pays attention to the cache file if you give it
10675 # the --recheck option to rerun configure.
10676 #
10677 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10679 # following values.
10680
10681 _ACEOF
10682
10683 # The following way of writing the cache mishandles newlines in values,
10684 # but we know of no workaround that is simple, portable, and efficient.
10685 # So, don't put newlines in cache variables' values.
10686 # Ultrix sh set writes to stderr and can't be redirected directly,
10687 # and sets the high bit in the cache file unless we assign to the vars.
10688 {
10689 (set) 2>&1 |
10690 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10691 *ac_space=\ *)
10692 # `set' does not quote correctly, so add quotes (double-quote
10693 # substitution turns \\\\ into \\, and sed turns \\ into \).
10694 sed -n \
10695 "s/'/'\\\\''/g;
10696 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10697 ;;
10698 *)
10699 # `set' quotes correctly as required by POSIX, so do not add quotes.
10700 sed -n \
10701 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10702 ;;
10703 esac;
10704 } |
10705 sed '
10706 t clear
10707 : clear
10708 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10709 t end
10710 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10711 : end' >>confcache
10712 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10713 if test -w $cache_file; then
10714 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10715 cat confcache >$cache_file
10716 else
10717 echo "not updating unwritable cache $cache_file"
10718 fi
10719 fi
10720 rm -f confcache
10721
10722 if test "$build" != "$host" ; then
10723 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10724 CC=$host_alias-gcc
10725 CXX=$host_alias-c++
10726 AR=$host_alias-ar
10727 RANLIB=$host_alias-ranlib
10728 DLLTOOL=$host_alias-dlltool
10729 RESCOMP=$host_alias-windres
10730 STRIP=$host_alias-strip
10731 elif test "x$CC" '!=' "x"; then
10732 echo "You set CC, I assume you know what you are doing."
10733 else
10734 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10735 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10736 { (exit 1); exit 1; }; }
10737 fi
10738 fi
10739
10740 CFLAGS=${CFLAGS:=}
10741
10742
10743 ac_ext=c
10744 ac_cpp='$CPP $CPPFLAGS'
10745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10748 if test -n "$ac_tool_prefix"; then
10749 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10750 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10751 echo "$as_me:$LINENO: checking for $ac_word" >&5
10752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10753 if test "${ac_cv_prog_CC+set}" = set; then
10754 echo $ECHO_N "(cached) $ECHO_C" >&6
10755 else
10756 if test -n "$CC"; then
10757 ac_cv_prog_CC="$CC" # Let the user override the test.
10758 else
10759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10760 for as_dir in $PATH
10761 do
10762 IFS=$as_save_IFS
10763 test -z "$as_dir" && as_dir=.
10764 for ac_exec_ext in '' $ac_executable_extensions; do
10765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10766 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10768 break 2
10769 fi
10770 done
10771 done
10772
10773 fi
10774 fi
10775 CC=$ac_cv_prog_CC
10776 if test -n "$CC"; then
10777 echo "$as_me:$LINENO: result: $CC" >&5
10778 echo "${ECHO_T}$CC" >&6
10779 else
10780 echo "$as_me:$LINENO: result: no" >&5
10781 echo "${ECHO_T}no" >&6
10782 fi
10783
10784 fi
10785 if test -z "$ac_cv_prog_CC"; then
10786 ac_ct_CC=$CC
10787 # Extract the first word of "gcc", so it can be a program name with args.
10788 set dummy gcc; 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_ac_ct_CC+set}" = set; then
10792 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 else
10794 if test -n "$ac_ct_CC"; then
10795 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="gcc"
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 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10814 if test -n "$ac_ct_CC"; then
10815 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10816 echo "${ECHO_T}$ac_ct_CC" >&6
10817 else
10818 echo "$as_me:$LINENO: result: no" >&5
10819 echo "${ECHO_T}no" >&6
10820 fi
10821
10822 CC=$ac_ct_CC
10823 else
10824 CC="$ac_cv_prog_CC"
10825 fi
10826
10827 if test -z "$CC"; then
10828 if test -n "$ac_tool_prefix"; then
10829 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10830 set dummy ${ac_tool_prefix}cc; ac_word=$2
10831 echo "$as_me:$LINENO: checking for $ac_word" >&5
10832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10833 if test "${ac_cv_prog_CC+set}" = set; then
10834 echo $ECHO_N "(cached) $ECHO_C" >&6
10835 else
10836 if test -n "$CC"; then
10837 ac_cv_prog_CC="$CC" # Let the user override the test.
10838 else
10839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10840 for as_dir in $PATH
10841 do
10842 IFS=$as_save_IFS
10843 test -z "$as_dir" && as_dir=.
10844 for ac_exec_ext in '' $ac_executable_extensions; do
10845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10846 ac_cv_prog_CC="${ac_tool_prefix}cc"
10847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10848 break 2
10849 fi
10850 done
10851 done
10852
10853 fi
10854 fi
10855 CC=$ac_cv_prog_CC
10856 if test -n "$CC"; then
10857 echo "$as_me:$LINENO: result: $CC" >&5
10858 echo "${ECHO_T}$CC" >&6
10859 else
10860 echo "$as_me:$LINENO: result: no" >&5
10861 echo "${ECHO_T}no" >&6
10862 fi
10863
10864 fi
10865 if test -z "$ac_cv_prog_CC"; then
10866 ac_ct_CC=$CC
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_ac_ct_CC+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10873 else
10874 if test -n "$ac_ct_CC"; then
10875 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10876 else
10877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10878 for as_dir in $PATH
10879 do
10880 IFS=$as_save_IFS
10881 test -z "$as_dir" && as_dir=.
10882 for ac_exec_ext in '' $ac_executable_extensions; do
10883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10884 ac_cv_prog_ac_ct_CC="cc"
10885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10886 break 2
10887 fi
10888 done
10889 done
10890
10891 fi
10892 fi
10893 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10894 if test -n "$ac_ct_CC"; then
10895 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10896 echo "${ECHO_T}$ac_ct_CC" >&6
10897 else
10898 echo "$as_me:$LINENO: result: no" >&5
10899 echo "${ECHO_T}no" >&6
10900 fi
10901
10902 CC=$ac_ct_CC
10903 else
10904 CC="$ac_cv_prog_CC"
10905 fi
10906
10907 fi
10908 if test -z "$CC"; then
10909 # Extract the first word of "cc", so it can be a program name with args.
10910 set dummy cc; ac_word=$2
10911 echo "$as_me:$LINENO: checking for $ac_word" >&5
10912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10913 if test "${ac_cv_prog_CC+set}" = set; then
10914 echo $ECHO_N "(cached) $ECHO_C" >&6
10915 else
10916 if test -n "$CC"; then
10917 ac_cv_prog_CC="$CC" # Let the user override the test.
10918 else
10919 ac_prog_rejected=no
10920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10921 for as_dir in $PATH
10922 do
10923 IFS=$as_save_IFS
10924 test -z "$as_dir" && as_dir=.
10925 for ac_exec_ext in '' $ac_executable_extensions; do
10926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10927 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10928 ac_prog_rejected=yes
10929 continue
10930 fi
10931 ac_cv_prog_CC="cc"
10932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10933 break 2
10934 fi
10935 done
10936 done
10937
10938 if test $ac_prog_rejected = yes; then
10939 # We found a bogon in the path, so make sure we never use it.
10940 set dummy $ac_cv_prog_CC
10941 shift
10942 if test $# != 0; then
10943 # We chose a different compiler from the bogus one.
10944 # However, it has the same basename, so the bogon will be chosen
10945 # first if we set CC to just the basename; use the full file name.
10946 shift
10947 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10948 fi
10949 fi
10950 fi
10951 fi
10952 CC=$ac_cv_prog_CC
10953 if test -n "$CC"; then
10954 echo "$as_me:$LINENO: result: $CC" >&5
10955 echo "${ECHO_T}$CC" >&6
10956 else
10957 echo "$as_me:$LINENO: result: no" >&5
10958 echo "${ECHO_T}no" >&6
10959 fi
10960
10961 fi
10962 if test -z "$CC"; then
10963 if test -n "$ac_tool_prefix"; then
10964 for ac_prog in cl
10965 do
10966 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10967 set dummy $ac_tool_prefix$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_CC+set}" = set; then
10971 echo $ECHO_N "(cached) $ECHO_C" >&6
10972 else
10973 if test -n "$CC"; then
10974 ac_cv_prog_CC="$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_CC="$ac_tool_prefix$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 CC=$ac_cv_prog_CC
10993 if test -n "$CC"; then
10994 echo "$as_me:$LINENO: result: $CC" >&5
10995 echo "${ECHO_T}$CC" >&6
10996 else
10997 echo "$as_me:$LINENO: result: no" >&5
10998 echo "${ECHO_T}no" >&6
10999 fi
11000
11001 test -n "$CC" && break
11002 done
11003 fi
11004 if test -z "$CC"; then
11005 ac_ct_CC=$CC
11006 for ac_prog in cl
11007 do
11008 # Extract the first word of "$ac_prog", so it can be a program name with args.
11009 set dummy $ac_prog; ac_word=$2
11010 echo "$as_me:$LINENO: checking for $ac_word" >&5
11011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11012 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11014 else
11015 if test -n "$ac_ct_CC"; then
11016 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11017 else
11018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11019 for as_dir in $PATH
11020 do
11021 IFS=$as_save_IFS
11022 test -z "$as_dir" && as_dir=.
11023 for ac_exec_ext in '' $ac_executable_extensions; do
11024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11025 ac_cv_prog_ac_ct_CC="$ac_prog"
11026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11027 break 2
11028 fi
11029 done
11030 done
11031
11032 fi
11033 fi
11034 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11035 if test -n "$ac_ct_CC"; then
11036 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11037 echo "${ECHO_T}$ac_ct_CC" >&6
11038 else
11039 echo "$as_me:$LINENO: result: no" >&5
11040 echo "${ECHO_T}no" >&6
11041 fi
11042
11043 test -n "$ac_ct_CC" && break
11044 done
11045
11046 CC=$ac_ct_CC
11047 fi
11048
11049 fi
11050
11051
11052 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11053 See \`config.log' for more details." >&5
11054 echo "$as_me: error: no acceptable C compiler found in \$PATH
11055 See \`config.log' for more details." >&2;}
11056 { (exit 1); exit 1; }; }
11057
11058 # Provide some information about the compiler.
11059 echo "$as_me:$LINENO:" \
11060 "checking for C compiler version" >&5
11061 ac_compiler=`set X $ac_compile; echo $2`
11062 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11063 (eval $ac_compiler --version </dev/null >&5) 2>&5
11064 ac_status=$?
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }
11067 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11068 (eval $ac_compiler -v </dev/null >&5) 2>&5
11069 ac_status=$?
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); }
11072 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11073 (eval $ac_compiler -V </dev/null >&5) 2>&5
11074 ac_status=$?
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }
11077
11078 cat >conftest.$ac_ext <<_ACEOF
11079 /* confdefs.h. */
11080 _ACEOF
11081 cat confdefs.h >>conftest.$ac_ext
11082 cat >>conftest.$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11084
11085 int
11086 main ()
11087 {
11088
11089 ;
11090 return 0;
11091 }
11092 _ACEOF
11093 ac_clean_files_save=$ac_clean_files
11094 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11095 # Try to create an executable without -o first, disregard a.out.
11096 # It will help us diagnose broken compilers, and finding out an intuition
11097 # of exeext.
11098 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11099 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11100 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11101 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11102 (eval $ac_link_default) 2>&5
11103 ac_status=$?
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }; then
11106 # Find the output, starting from the most likely. This scheme is
11107 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11108 # resort.
11109
11110 # Be careful to initialize this variable, since it used to be cached.
11111 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11112 ac_cv_exeext=
11113 # b.out is created by i960 compilers.
11114 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11115 do
11116 test -f "$ac_file" || continue
11117 case $ac_file in
11118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11119 ;;
11120 conftest.$ac_ext )
11121 # This is the source file.
11122 ;;
11123 [ab].out )
11124 # We found the default executable, but exeext='' is most
11125 # certainly right.
11126 break;;
11127 *.* )
11128 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11129 # FIXME: I believe we export ac_cv_exeext for Libtool,
11130 # but it would be cool to find out if it's true. Does anybody
11131 # maintain Libtool? --akim.
11132 export ac_cv_exeext
11133 break;;
11134 * )
11135 break;;
11136 esac
11137 done
11138 else
11139 echo "$as_me: failed program was:" >&5
11140 sed 's/^/| /' conftest.$ac_ext >&5
11141
11142 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11143 See \`config.log' for more details." >&5
11144 echo "$as_me: error: C compiler cannot create executables
11145 See \`config.log' for more details." >&2;}
11146 { (exit 77); exit 77; }; }
11147 fi
11148
11149 ac_exeext=$ac_cv_exeext
11150 echo "$as_me:$LINENO: result: $ac_file" >&5
11151 echo "${ECHO_T}$ac_file" >&6
11152
11153 # Check the compiler produces executables we can run. If not, either
11154 # the compiler is broken, or we cross compile.
11155 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11156 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11157 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11158 # If not cross compiling, check that we can run a simple program.
11159 if test "$cross_compiling" != yes; then
11160 if { ac_try='./$ac_file'
11161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11162 (eval $ac_try) 2>&5
11163 ac_status=$?
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); }; }; then
11166 cross_compiling=no
11167 else
11168 if test "$cross_compiling" = maybe; then
11169 cross_compiling=yes
11170 else
11171 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11172 If you meant to cross compile, use \`--host'.
11173 See \`config.log' for more details." >&5
11174 echo "$as_me: error: cannot run C compiled programs.
11175 If you meant to cross compile, use \`--host'.
11176 See \`config.log' for more details." >&2;}
11177 { (exit 1); exit 1; }; }
11178 fi
11179 fi
11180 fi
11181 echo "$as_me:$LINENO: result: yes" >&5
11182 echo "${ECHO_T}yes" >&6
11183
11184 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11185 ac_clean_files=$ac_clean_files_save
11186 # Check the compiler produces executables we can run. If not, either
11187 # the compiler is broken, or we cross compile.
11188 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11189 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11190 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11191 echo "${ECHO_T}$cross_compiling" >&6
11192
11193 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11194 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11196 (eval $ac_link) 2>&5
11197 ac_status=$?
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); }; then
11200 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11201 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11202 # work properly (i.e., refer to `conftest.exe'), while it won't with
11203 # `rm'.
11204 for ac_file in conftest.exe conftest conftest.*; do
11205 test -f "$ac_file" || continue
11206 case $ac_file in
11207 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11208 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11209 export ac_cv_exeext
11210 break;;
11211 * ) break;;
11212 esac
11213 done
11214 else
11215 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11216 See \`config.log' for more details." >&5
11217 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11218 See \`config.log' for more details." >&2;}
11219 { (exit 1); exit 1; }; }
11220 fi
11221
11222 rm -f conftest$ac_cv_exeext
11223 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11224 echo "${ECHO_T}$ac_cv_exeext" >&6
11225
11226 rm -f conftest.$ac_ext
11227 EXEEXT=$ac_cv_exeext
11228 ac_exeext=$EXEEXT
11229 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11230 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11231 if test "${ac_cv_objext+set}" = set; then
11232 echo $ECHO_N "(cached) $ECHO_C" >&6
11233 else
11234 cat >conftest.$ac_ext <<_ACEOF
11235 /* confdefs.h. */
11236 _ACEOF
11237 cat confdefs.h >>conftest.$ac_ext
11238 cat >>conftest.$ac_ext <<_ACEOF
11239 /* end confdefs.h. */
11240
11241 int
11242 main ()
11243 {
11244
11245 ;
11246 return 0;
11247 }
11248 _ACEOF
11249 rm -f conftest.o conftest.obj
11250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11251 (eval $ac_compile) 2>&5
11252 ac_status=$?
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); }; then
11255 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11256 case $ac_file in
11257 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11258 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11259 break;;
11260 esac
11261 done
11262 else
11263 echo "$as_me: failed program was:" >&5
11264 sed 's/^/| /' conftest.$ac_ext >&5
11265
11266 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11267 See \`config.log' for more details." >&5
11268 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11269 See \`config.log' for more details." >&2;}
11270 { (exit 1); exit 1; }; }
11271 fi
11272
11273 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11274 fi
11275 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11276 echo "${ECHO_T}$ac_cv_objext" >&6
11277 OBJEXT=$ac_cv_objext
11278 ac_objext=$OBJEXT
11279 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11280 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11281 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11282 echo $ECHO_N "(cached) $ECHO_C" >&6
11283 else
11284 cat >conftest.$ac_ext <<_ACEOF
11285 /* confdefs.h. */
11286 _ACEOF
11287 cat confdefs.h >>conftest.$ac_ext
11288 cat >>conftest.$ac_ext <<_ACEOF
11289 /* end confdefs.h. */
11290
11291 int
11292 main ()
11293 {
11294 #ifndef __GNUC__
11295 choke me
11296 #endif
11297
11298 ;
11299 return 0;
11300 }
11301 _ACEOF
11302 rm -f conftest.$ac_objext
11303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11304 (eval $ac_compile) 2>conftest.er1
11305 ac_status=$?
11306 grep -v '^ *+' conftest.er1 >conftest.err
11307 rm -f conftest.er1
11308 cat conftest.err >&5
11309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11310 (exit $ac_status); } &&
11311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11313 (eval $ac_try) 2>&5
11314 ac_status=$?
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); }; } &&
11317 { ac_try='test -s conftest.$ac_objext'
11318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11319 (eval $ac_try) 2>&5
11320 ac_status=$?
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); }; }; then
11323 ac_compiler_gnu=yes
11324 else
11325 echo "$as_me: failed program was:" >&5
11326 sed 's/^/| /' conftest.$ac_ext >&5
11327
11328 ac_compiler_gnu=no
11329 fi
11330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11331 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11332
11333 fi
11334 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11335 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11336 GCC=`test $ac_compiler_gnu = yes && echo yes`
11337 ac_test_CFLAGS=${CFLAGS+set}
11338 ac_save_CFLAGS=$CFLAGS
11339 CFLAGS="-g"
11340 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11341 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11342 if test "${ac_cv_prog_cc_g+set}" = set; then
11343 echo $ECHO_N "(cached) $ECHO_C" >&6
11344 else
11345 cat >conftest.$ac_ext <<_ACEOF
11346 /* confdefs.h. */
11347 _ACEOF
11348 cat confdefs.h >>conftest.$ac_ext
11349 cat >>conftest.$ac_ext <<_ACEOF
11350 /* end confdefs.h. */
11351
11352 int
11353 main ()
11354 {
11355
11356 ;
11357 return 0;
11358 }
11359 _ACEOF
11360 rm -f conftest.$ac_objext
11361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11362 (eval $ac_compile) 2>conftest.er1
11363 ac_status=$?
11364 grep -v '^ *+' conftest.er1 >conftest.err
11365 rm -f conftest.er1
11366 cat conftest.err >&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); } &&
11369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5
11372 ac_status=$?
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; } &&
11375 { ac_try='test -s conftest.$ac_objext'
11376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11377 (eval $ac_try) 2>&5
11378 ac_status=$?
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); }; }; then
11381 ac_cv_prog_cc_g=yes
11382 else
11383 echo "$as_me: failed program was:" >&5
11384 sed 's/^/| /' conftest.$ac_ext >&5
11385
11386 ac_cv_prog_cc_g=no
11387 fi
11388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11389 fi
11390 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11391 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11392 if test "$ac_test_CFLAGS" = set; then
11393 CFLAGS=$ac_save_CFLAGS
11394 elif test $ac_cv_prog_cc_g = yes; then
11395 if test "$GCC" = yes; then
11396 CFLAGS="-g -O2"
11397 else
11398 CFLAGS="-g"
11399 fi
11400 else
11401 if test "$GCC" = yes; then
11402 CFLAGS="-O2"
11403 else
11404 CFLAGS=
11405 fi
11406 fi
11407 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11408 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11409 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11410 echo $ECHO_N "(cached) $ECHO_C" >&6
11411 else
11412 ac_cv_prog_cc_stdc=no
11413 ac_save_CC=$CC
11414 cat >conftest.$ac_ext <<_ACEOF
11415 /* confdefs.h. */
11416 _ACEOF
11417 cat confdefs.h >>conftest.$ac_ext
11418 cat >>conftest.$ac_ext <<_ACEOF
11419 /* end confdefs.h. */
11420 #include <stdarg.h>
11421 #include <stdio.h>
11422 #include <sys/types.h>
11423 #include <sys/stat.h>
11424 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11425 struct buf { int x; };
11426 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11427 static char *e (p, i)
11428 char **p;
11429 int i;
11430 {
11431 return p[i];
11432 }
11433 static char *f (char * (*g) (char **, int), char **p, ...)
11434 {
11435 char *s;
11436 va_list v;
11437 va_start (v,p);
11438 s = g (p, va_arg (v,int));
11439 va_end (v);
11440 return s;
11441 }
11442
11443 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11444 function prototypes and stuff, but not '\xHH' hex character constants.
11445 These don't provoke an error unfortunately, instead are silently treated
11446 as 'x'. The following induces an error, until -std1 is added to get
11447 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11448 array size at least. It's necessary to write '\x00'==0 to get something
11449 that's true only with -std1. */
11450 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11451
11452 int test (int i, double x);
11453 struct s1 {int (*f) (int a);};
11454 struct s2 {int (*f) (double a);};
11455 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11456 int argc;
11457 char **argv;
11458 int
11459 main ()
11460 {
11461 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11462 ;
11463 return 0;
11464 }
11465 _ACEOF
11466 # Don't try gcc -ansi; that turns off useful extensions and
11467 # breaks some systems' header files.
11468 # AIX -qlanglvl=ansi
11469 # Ultrix and OSF/1 -std1
11470 # HP-UX 10.20 and later -Ae
11471 # HP-UX older versions -Aa -D_HPUX_SOURCE
11472 # SVR4 -Xc -D__EXTENSIONS__
11473 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11474 do
11475 CC="$ac_save_CC $ac_arg"
11476 rm -f conftest.$ac_objext
11477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11478 (eval $ac_compile) 2>conftest.er1
11479 ac_status=$?
11480 grep -v '^ *+' conftest.er1 >conftest.err
11481 rm -f conftest.er1
11482 cat conftest.err >&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); } &&
11485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11487 (eval $ac_try) 2>&5
11488 ac_status=$?
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }; } &&
11491 { ac_try='test -s conftest.$ac_objext'
11492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11493 (eval $ac_try) 2>&5
11494 ac_status=$?
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); }; }; then
11497 ac_cv_prog_cc_stdc=$ac_arg
11498 break
11499 else
11500 echo "$as_me: failed program was:" >&5
11501 sed 's/^/| /' conftest.$ac_ext >&5
11502
11503 fi
11504 rm -f conftest.err conftest.$ac_objext
11505 done
11506 rm -f conftest.$ac_ext conftest.$ac_objext
11507 CC=$ac_save_CC
11508
11509 fi
11510
11511 case "x$ac_cv_prog_cc_stdc" in
11512 x|xno)
11513 echo "$as_me:$LINENO: result: none needed" >&5
11514 echo "${ECHO_T}none needed" >&6 ;;
11515 *)
11516 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11517 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11518 CC="$CC $ac_cv_prog_cc_stdc" ;;
11519 esac
11520
11521 # Some people use a C++ compiler to compile C. Since we use `exit',
11522 # in C++ we need to declare it. In case someone uses the same compiler
11523 # for both compiling C and C++ we need to have the C++ compiler decide
11524 # the declaration of exit, since it's the most demanding environment.
11525 cat >conftest.$ac_ext <<_ACEOF
11526 #ifndef __cplusplus
11527 choke me
11528 #endif
11529 _ACEOF
11530 rm -f conftest.$ac_objext
11531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11532 (eval $ac_compile) 2>conftest.er1
11533 ac_status=$?
11534 grep -v '^ *+' conftest.er1 >conftest.err
11535 rm -f conftest.er1
11536 cat conftest.err >&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); } &&
11539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11541 (eval $ac_try) 2>&5
11542 ac_status=$?
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); }; } &&
11545 { ac_try='test -s conftest.$ac_objext'
11546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11547 (eval $ac_try) 2>&5
11548 ac_status=$?
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); }; }; then
11551 for ac_declaration in \
11552 '' \
11553 'extern "C" void std::exit (int) throw (); using std::exit;' \
11554 'extern "C" void std::exit (int); using std::exit;' \
11555 'extern "C" void exit (int) throw ();' \
11556 'extern "C" void exit (int);' \
11557 'void exit (int);'
11558 do
11559 cat >conftest.$ac_ext <<_ACEOF
11560 /* confdefs.h. */
11561 _ACEOF
11562 cat confdefs.h >>conftest.$ac_ext
11563 cat >>conftest.$ac_ext <<_ACEOF
11564 /* end confdefs.h. */
11565 $ac_declaration
11566 #include <stdlib.h>
11567 int
11568 main ()
11569 {
11570 exit (42);
11571 ;
11572 return 0;
11573 }
11574 _ACEOF
11575 rm -f conftest.$ac_objext
11576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11577 (eval $ac_compile) 2>conftest.er1
11578 ac_status=$?
11579 grep -v '^ *+' conftest.er1 >conftest.err
11580 rm -f conftest.er1
11581 cat conftest.err >&5
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); } &&
11584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11586 (eval $ac_try) 2>&5
11587 ac_status=$?
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); }; } &&
11590 { ac_try='test -s conftest.$ac_objext'
11591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11592 (eval $ac_try) 2>&5
11593 ac_status=$?
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); }; }; then
11596 :
11597 else
11598 echo "$as_me: failed program was:" >&5
11599 sed 's/^/| /' conftest.$ac_ext >&5
11600
11601 continue
11602 fi
11603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11604 cat >conftest.$ac_ext <<_ACEOF
11605 /* confdefs.h. */
11606 _ACEOF
11607 cat confdefs.h >>conftest.$ac_ext
11608 cat >>conftest.$ac_ext <<_ACEOF
11609 /* end confdefs.h. */
11610 $ac_declaration
11611 int
11612 main ()
11613 {
11614 exit (42);
11615 ;
11616 return 0;
11617 }
11618 _ACEOF
11619 rm -f conftest.$ac_objext
11620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11621 (eval $ac_compile) 2>conftest.er1
11622 ac_status=$?
11623 grep -v '^ *+' conftest.er1 >conftest.err
11624 rm -f conftest.er1
11625 cat conftest.err >&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); } &&
11628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11630 (eval $ac_try) 2>&5
11631 ac_status=$?
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); }; } &&
11634 { ac_try='test -s conftest.$ac_objext'
11635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11636 (eval $ac_try) 2>&5
11637 ac_status=$?
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); }; }; then
11640 break
11641 else
11642 echo "$as_me: failed program was:" >&5
11643 sed 's/^/| /' conftest.$ac_ext >&5
11644
11645 fi
11646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11647 done
11648 rm -f conftest*
11649 if test -n "$ac_declaration"; then
11650 echo '#ifdef __cplusplus' >>confdefs.h
11651 echo $ac_declaration >>confdefs.h
11652 echo '#endif' >>confdefs.h
11653 fi
11654
11655 else
11656 echo "$as_me: failed program was:" >&5
11657 sed 's/^/| /' conftest.$ac_ext >&5
11658
11659 fi
11660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11661 ac_ext=c
11662 ac_cpp='$CPP $CPPFLAGS'
11663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11666
11667 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11668 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11669 if test "${wx_cv_c_exto+set}" = set; then
11670 echo $ECHO_N "(cached) $ECHO_C" >&6
11671 else
11672 cat >conftest.$ac_ext <<_ACEOF
11673 /* confdefs.h. */
11674 _ACEOF
11675 cat confdefs.h >>conftest.$ac_ext
11676 cat >>conftest.$ac_ext <<_ACEOF
11677 /* end confdefs.h. */
11678
11679 int
11680 main ()
11681 {
11682
11683 ;
11684 return 0;
11685 }
11686 _ACEOF
11687 rm -f conftest.$ac_objext conftest.$ac_ext.o
11688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11689 (eval $ac_compile) 2>&5
11690 ac_status=$?
11691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692 (exit $ac_status); }; then
11693 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11694 case $ac_file in
11695 conftest.$ac_ext.o)
11696 wx_cv_c_exto="-ext o"
11697 ;;
11698 *)
11699 ;;
11700 esac
11701 done
11702 else
11703 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11704 See \`config.log' for more details." >&5
11705 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11706 See \`config.log' for more details." >&2;}
11707 { (exit 1); exit 1; }; }
11708
11709 fi
11710
11711 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11712
11713 fi
11714 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11715 echo "${ECHO_T}$wx_cv_c_exto" >&6
11716 if test "x$wx_cv_c_exto" '!=' "x"; then
11717 if test "c" = "c"; then
11718 CFLAGS="$wx_cv_c_exto $CFLAGS"
11719 fi
11720 if test "c" = "cxx"; then
11721 CXXFLAGS="$wx_cv_c_exto $CXXFLAGS"
11722 fi
11723 fi
11724
11725 if test "x$wx_cv_c_exto" '!=' "x"; then
11726 unset ac_cv_prog_cc_g
11727 ac_test_CFLAGS=${CFLAGS+set}
11728 ac_save_CFLAGS=$CFLAGS
11729 CFLAGS="-g"
11730 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11731 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11732 if test "${ac_cv_prog_cc_g+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11734 else
11735 cat >conftest.$ac_ext <<_ACEOF
11736 /* confdefs.h. */
11737 _ACEOF
11738 cat confdefs.h >>conftest.$ac_ext
11739 cat >>conftest.$ac_ext <<_ACEOF
11740 /* end confdefs.h. */
11741
11742 int
11743 main ()
11744 {
11745
11746 ;
11747 return 0;
11748 }
11749 _ACEOF
11750 rm -f conftest.$ac_objext
11751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11752 (eval $ac_compile) 2>conftest.er1
11753 ac_status=$?
11754 grep -v '^ *+' conftest.er1 >conftest.err
11755 rm -f conftest.er1
11756 cat conftest.err >&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); } &&
11759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11762 ac_status=$?
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; } &&
11765 { ac_try='test -s conftest.$ac_objext'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11768 ac_status=$?
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; }; then
11771 ac_cv_prog_cc_g=yes
11772 else
11773 echo "$as_me: failed program was:" >&5
11774 sed 's/^/| /' conftest.$ac_ext >&5
11775
11776 ac_cv_prog_cc_g=no
11777 fi
11778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11779 fi
11780 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11781 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11782 if test "$ac_test_CFLAGS" = set; then
11783 CFLAGS=$ac_save_CFLAGS
11784 elif test $ac_cv_prog_cc_g = yes; then
11785 if test "$GCC" = yes; then
11786 CFLAGS="-g -O2"
11787 else
11788 CFLAGS="-g"
11789 fi
11790 else
11791 if test "$GCC" = yes; then
11792 CFLAGS="-O2"
11793 else
11794 CFLAGS=
11795 fi
11796 fi
11797 fi
11798 ac_ext=c
11799 ac_cpp='$CPP $CPPFLAGS'
11800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11803
11804 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11805 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11806 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11808 else
11809 cat >conftest.$ac_ext <<_ACEOF
11810 /* confdefs.h. */
11811 _ACEOF
11812 cat confdefs.h >>conftest.$ac_ext
11813 cat >>conftest.$ac_ext <<_ACEOF
11814 /* end confdefs.h. */
11815
11816 int
11817 main ()
11818 {
11819 #ifndef __MWERKS__
11820 choke me
11821 #endif
11822
11823 ;
11824 return 0;
11825 }
11826 _ACEOF
11827 rm -f conftest.$ac_objext
11828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11829 (eval $ac_compile) 2>conftest.er1
11830 ac_status=$?
11831 grep -v '^ *+' conftest.er1 >conftest.err
11832 rm -f conftest.er1
11833 cat conftest.err >&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } &&
11836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5
11839 ac_status=$?
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; } &&
11842 { ac_try='test -s conftest.$ac_objext'
11843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 (eval $ac_try) 2>&5
11845 ac_status=$?
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; }; then
11848 bakefile_compiler_mwerks=yes
11849 else
11850 echo "$as_me: failed program was:" >&5
11851 sed 's/^/| /' conftest.$ac_ext >&5
11852
11853 bakefile_compiler_mwerks=no
11854 fi
11855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11856 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11857
11858 fi
11859 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11860 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11861
11862 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11863 ac_ext=c
11864 ac_cpp='$CPP $CPPFLAGS'
11865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11868
11869
11870 ac_ext=c
11871 ac_cpp='$CPP $CPPFLAGS'
11872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11875
11876 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11877 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11878 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11880 else
11881 cat >conftest.$ac_ext <<_ACEOF
11882 /* confdefs.h. */
11883 _ACEOF
11884 cat confdefs.h >>conftest.$ac_ext
11885 cat >>conftest.$ac_ext <<_ACEOF
11886 /* end confdefs.h. */
11887
11888 int
11889 main ()
11890 {
11891 #ifndef __xlC__
11892 choke me
11893 #endif
11894
11895 ;
11896 return 0;
11897 }
11898 _ACEOF
11899 rm -f conftest.$ac_objext
11900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11901 (eval $ac_compile) 2>conftest.er1
11902 ac_status=$?
11903 grep -v '^ *+' conftest.er1 >conftest.err
11904 rm -f conftest.er1
11905 cat conftest.err >&5
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); } &&
11908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11910 (eval $ac_try) 2>&5
11911 ac_status=$?
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); }; } &&
11914 { ac_try='test -s conftest.$ac_objext'
11915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11916 (eval $ac_try) 2>&5
11917 ac_status=$?
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); }; }; then
11920 wx_compiler_xlc=yes
11921 else
11922 echo "$as_me: failed program was:" >&5
11923 sed 's/^/| /' conftest.$ac_ext >&5
11924
11925 wx_compiler_xlc=no
11926 fi
11927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11928 wx_cv_c_compiler_xlc=$wx_compiler_xlc
11929
11930 fi
11931 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11932 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11933
11934 XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11935 ac_ext=c
11936 ac_cpp='$CPP $CPPFLAGS'
11937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11940
11941
11942
11943
11944 ac_ext=c
11945 ac_cpp='$CPP $CPPFLAGS'
11946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11949
11950 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
11951 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
11952 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
11953 echo $ECHO_N "(cached) $ECHO_C" >&6
11954 else
11955 cat >conftest.$ac_ext <<_ACEOF
11956 /* confdefs.h. */
11957 _ACEOF
11958 cat confdefs.h >>conftest.$ac_ext
11959 cat >>conftest.$ac_ext <<_ACEOF
11960 /* end confdefs.h. */
11961
11962 int
11963 main ()
11964 {
11965
11966 #ifndef __SUNPRO_C
11967 choke me
11968 #endif
11969
11970 ;
11971 return 0;
11972 }
11973 _ACEOF
11974 rm -f conftest.$ac_objext
11975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11976 (eval $ac_compile) 2>conftest.er1
11977 ac_status=$?
11978 grep -v '^ *+' conftest.er1 >conftest.err
11979 rm -f conftest.er1
11980 cat conftest.err >&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); } &&
11983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11985 (eval $ac_try) 2>&5
11986 ac_status=$?
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); }; } &&
11989 { ac_try='test -s conftest.$ac_objext'
11990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11991 (eval $ac_try) 2>&5
11992 ac_status=$?
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; }; then
11995 bakefile_cv_c_compiler___SUNPRO_C=yes
11996 else
11997 echo "$as_me: failed program was:" >&5
11998 sed 's/^/| /' conftest.$ac_ext >&5
11999
12000 bakefile_cv_c_compiler___SUNPRO_C=no
12001
12002 fi
12003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12004
12005
12006 fi
12007 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12008 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12009 ac_ext=c
12010 ac_cpp='$CPP $CPPFLAGS'
12011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12014
12015 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12016 :; SUNCC=yes
12017 else
12018 :;
12019 fi
12020
12021
12022
12023
12024 ac_ext=c
12025 ac_cpp='$CPP $CPPFLAGS'
12026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12029 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12030 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12031 # On Suns, sometimes $CPP names a directory.
12032 if test -n "$CPP" && test -d "$CPP"; then
12033 CPP=
12034 fi
12035 if test -z "$CPP"; then
12036 if test "${ac_cv_prog_CPP+set}" = set; then
12037 echo $ECHO_N "(cached) $ECHO_C" >&6
12038 else
12039 # Double quotes because CPP needs to be expanded
12040 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12041 do
12042 ac_preproc_ok=false
12043 for ac_c_preproc_warn_flag in '' yes
12044 do
12045 # Use a header file that comes with gcc, so configuring glibc
12046 # with a fresh cross-compiler works.
12047 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12048 # <limits.h> exists even on freestanding compilers.
12049 # On the NeXT, cc -E runs the code through the compiler's parser,
12050 # not just through cpp. "Syntax error" is here to catch this case.
12051 cat >conftest.$ac_ext <<_ACEOF
12052 /* confdefs.h. */
12053 _ACEOF
12054 cat confdefs.h >>conftest.$ac_ext
12055 cat >>conftest.$ac_ext <<_ACEOF
12056 /* end confdefs.h. */
12057 #ifdef __STDC__
12058 # include <limits.h>
12059 #else
12060 # include <assert.h>
12061 #endif
12062 Syntax error
12063 _ACEOF
12064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12065 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12066 ac_status=$?
12067 grep -v '^ *+' conftest.er1 >conftest.err
12068 rm -f conftest.er1
12069 cat conftest.err >&5
12070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071 (exit $ac_status); } >/dev/null; then
12072 if test -s conftest.err; then
12073 ac_cpp_err=$ac_c_preproc_warn_flag
12074 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12075 else
12076 ac_cpp_err=
12077 fi
12078 else
12079 ac_cpp_err=yes
12080 fi
12081 if test -z "$ac_cpp_err"; then
12082 :
12083 else
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.$ac_ext >&5
12086
12087 # Broken: fails on valid input.
12088 continue
12089 fi
12090 rm -f conftest.err conftest.$ac_ext
12091
12092 # OK, works on sane cases. Now check whether non-existent headers
12093 # can be detected and how.
12094 cat >conftest.$ac_ext <<_ACEOF
12095 /* confdefs.h. */
12096 _ACEOF
12097 cat confdefs.h >>conftest.$ac_ext
12098 cat >>conftest.$ac_ext <<_ACEOF
12099 /* end confdefs.h. */
12100 #include <ac_nonexistent.h>
12101 _ACEOF
12102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12104 ac_status=$?
12105 grep -v '^ *+' conftest.er1 >conftest.err
12106 rm -f conftest.er1
12107 cat conftest.err >&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } >/dev/null; then
12110 if test -s conftest.err; then
12111 ac_cpp_err=$ac_c_preproc_warn_flag
12112 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12113 else
12114 ac_cpp_err=
12115 fi
12116 else
12117 ac_cpp_err=yes
12118 fi
12119 if test -z "$ac_cpp_err"; then
12120 # Broken: success on invalid input.
12121 continue
12122 else
12123 echo "$as_me: failed program was:" >&5
12124 sed 's/^/| /' conftest.$ac_ext >&5
12125
12126 # Passes both tests.
12127 ac_preproc_ok=:
12128 break
12129 fi
12130 rm -f conftest.err conftest.$ac_ext
12131
12132 done
12133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12134 rm -f conftest.err conftest.$ac_ext
12135 if $ac_preproc_ok; then
12136 break
12137 fi
12138
12139 done
12140 ac_cv_prog_CPP=$CPP
12141
12142 fi
12143 CPP=$ac_cv_prog_CPP
12144 else
12145 ac_cv_prog_CPP=$CPP
12146 fi
12147 echo "$as_me:$LINENO: result: $CPP" >&5
12148 echo "${ECHO_T}$CPP" >&6
12149 ac_preproc_ok=false
12150 for ac_c_preproc_warn_flag in '' yes
12151 do
12152 # Use a header file that comes with gcc, so configuring glibc
12153 # with a fresh cross-compiler works.
12154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12155 # <limits.h> exists even on freestanding compilers.
12156 # On the NeXT, cc -E runs the code through the compiler's parser,
12157 # not just through cpp. "Syntax error" is here to catch this case.
12158 cat >conftest.$ac_ext <<_ACEOF
12159 /* confdefs.h. */
12160 _ACEOF
12161 cat confdefs.h >>conftest.$ac_ext
12162 cat >>conftest.$ac_ext <<_ACEOF
12163 /* end confdefs.h. */
12164 #ifdef __STDC__
12165 # include <limits.h>
12166 #else
12167 # include <assert.h>
12168 #endif
12169 Syntax error
12170 _ACEOF
12171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12172 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12173 ac_status=$?
12174 grep -v '^ *+' conftest.er1 >conftest.err
12175 rm -f conftest.er1
12176 cat conftest.err >&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); } >/dev/null; then
12179 if test -s conftest.err; then
12180 ac_cpp_err=$ac_c_preproc_warn_flag
12181 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12182 else
12183 ac_cpp_err=
12184 fi
12185 else
12186 ac_cpp_err=yes
12187 fi
12188 if test -z "$ac_cpp_err"; then
12189 :
12190 else
12191 echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.$ac_ext >&5
12193
12194 # Broken: fails on valid input.
12195 continue
12196 fi
12197 rm -f conftest.err conftest.$ac_ext
12198
12199 # OK, works on sane cases. Now check whether non-existent headers
12200 # can be detected and how.
12201 cat >conftest.$ac_ext <<_ACEOF
12202 /* confdefs.h. */
12203 _ACEOF
12204 cat confdefs.h >>conftest.$ac_ext
12205 cat >>conftest.$ac_ext <<_ACEOF
12206 /* end confdefs.h. */
12207 #include <ac_nonexistent.h>
12208 _ACEOF
12209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12210 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12211 ac_status=$?
12212 grep -v '^ *+' conftest.er1 >conftest.err
12213 rm -f conftest.er1
12214 cat conftest.err >&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); } >/dev/null; then
12217 if test -s conftest.err; then
12218 ac_cpp_err=$ac_c_preproc_warn_flag
12219 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12220 else
12221 ac_cpp_err=
12222 fi
12223 else
12224 ac_cpp_err=yes
12225 fi
12226 if test -z "$ac_cpp_err"; then
12227 # Broken: success on invalid input.
12228 continue
12229 else
12230 echo "$as_me: failed program was:" >&5
12231 sed 's/^/| /' conftest.$ac_ext >&5
12232
12233 # Passes both tests.
12234 ac_preproc_ok=:
12235 break
12236 fi
12237 rm -f conftest.err conftest.$ac_ext
12238
12239 done
12240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12241 rm -f conftest.err conftest.$ac_ext
12242 if $ac_preproc_ok; then
12243 :
12244 else
12245 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12246 See \`config.log' for more details." >&5
12247 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12248 See \`config.log' for more details." >&2;}
12249 { (exit 1); exit 1; }; }
12250 fi
12251
12252 ac_ext=c
12253 ac_cpp='$CPP $CPPFLAGS'
12254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12257
12258
12259 echo "$as_me:$LINENO: checking for egrep" >&5
12260 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12261 if test "${ac_cv_prog_egrep+set}" = set; then
12262 echo $ECHO_N "(cached) $ECHO_C" >&6
12263 else
12264 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12265 then ac_cv_prog_egrep='grep -E'
12266 else ac_cv_prog_egrep='egrep'
12267 fi
12268 fi
12269 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12270 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12271 EGREP=$ac_cv_prog_egrep
12272
12273
12274 if test $ac_cv_c_compiler_gnu = yes; then
12275 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12276 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12277 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12278 echo $ECHO_N "(cached) $ECHO_C" >&6
12279 else
12280 ac_pattern="Autoconf.*'x'"
12281 cat >conftest.$ac_ext <<_ACEOF
12282 /* confdefs.h. */
12283 _ACEOF
12284 cat confdefs.h >>conftest.$ac_ext
12285 cat >>conftest.$ac_ext <<_ACEOF
12286 /* end confdefs.h. */
12287 #include <sgtty.h>
12288 Autoconf TIOCGETP
12289 _ACEOF
12290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12291 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12292 ac_cv_prog_gcc_traditional=yes
12293 else
12294 ac_cv_prog_gcc_traditional=no
12295 fi
12296 rm -f conftest*
12297
12298
12299 if test $ac_cv_prog_gcc_traditional = no; then
12300 cat >conftest.$ac_ext <<_ACEOF
12301 /* confdefs.h. */
12302 _ACEOF
12303 cat confdefs.h >>conftest.$ac_ext
12304 cat >>conftest.$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306 #include <termio.h>
12307 Autoconf TCGETA
12308 _ACEOF
12309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12310 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12311 ac_cv_prog_gcc_traditional=yes
12312 fi
12313 rm -f conftest*
12314
12315 fi
12316 fi
12317 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12318 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12319 if test $ac_cv_prog_gcc_traditional = yes; then
12320 CC="$CC -traditional"
12321 fi
12322 fi
12323
12324
12325
12326
12327 ac_ext=cc
12328 ac_cpp='$CXXCPP $CPPFLAGS'
12329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12332
12333
12334 CXXFLAGS=${CXXFLAGS:=}
12335
12336
12337 ac_ext=cc
12338 ac_cpp='$CXXCPP $CPPFLAGS'
12339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12342 if test -n "$ac_tool_prefix"; then
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_tool_prefix$ac_prog", so it can be a program name with args.
12346 set dummy $ac_tool_prefix$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_CXX+set}" = set; then
12350 echo $ECHO_N "(cached) $ECHO_C" >&6
12351 else
12352 if test -n "$CXX"; then
12353 ac_cv_prog_CXX="$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_CXX="$ac_tool_prefix$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 CXX=$ac_cv_prog_CXX
12372 if test -n "$CXX"; then
12373 echo "$as_me:$LINENO: result: $CXX" >&5
12374 echo "${ECHO_T}$CXX" >&6
12375 else
12376 echo "$as_me:$LINENO: result: no" >&5
12377 echo "${ECHO_T}no" >&6
12378 fi
12379
12380 test -n "$CXX" && break
12381 done
12382 fi
12383 if test -z "$CXX"; then
12384 ac_ct_CXX=$CXX
12385 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12386 do
12387 # Extract the first word of "$ac_prog", so it can be a program name with args.
12388 set dummy $ac_prog; ac_word=$2
12389 echo "$as_me:$LINENO: checking for $ac_word" >&5
12390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12391 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12393 else
12394 if test -n "$ac_ct_CXX"; then
12395 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12396 else
12397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12398 for as_dir in $PATH
12399 do
12400 IFS=$as_save_IFS
12401 test -z "$as_dir" && as_dir=.
12402 for ac_exec_ext in '' $ac_executable_extensions; do
12403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12404 ac_cv_prog_ac_ct_CXX="$ac_prog"
12405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12406 break 2
12407 fi
12408 done
12409 done
12410
12411 fi
12412 fi
12413 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12414 if test -n "$ac_ct_CXX"; then
12415 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12416 echo "${ECHO_T}$ac_ct_CXX" >&6
12417 else
12418 echo "$as_me:$LINENO: result: no" >&5
12419 echo "${ECHO_T}no" >&6
12420 fi
12421
12422 test -n "$ac_ct_CXX" && break
12423 done
12424 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12425
12426 CXX=$ac_ct_CXX
12427 fi
12428
12429
12430 # Provide some information about the compiler.
12431 echo "$as_me:$LINENO:" \
12432 "checking for C++ compiler version" >&5
12433 ac_compiler=`set X $ac_compile; echo $2`
12434 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12435 (eval $ac_compiler --version </dev/null >&5) 2>&5
12436 ac_status=$?
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); }
12439 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12440 (eval $ac_compiler -v </dev/null >&5) 2>&5
12441 ac_status=$?
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); }
12444 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12445 (eval $ac_compiler -V </dev/null >&5) 2>&5
12446 ac_status=$?
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); }
12449
12450 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12451 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12452 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12454 else
12455 cat >conftest.$ac_ext <<_ACEOF
12456 /* confdefs.h. */
12457 _ACEOF
12458 cat confdefs.h >>conftest.$ac_ext
12459 cat >>conftest.$ac_ext <<_ACEOF
12460 /* end confdefs.h. */
12461
12462 int
12463 main ()
12464 {
12465 #ifndef __GNUC__
12466 choke me
12467 #endif
12468
12469 ;
12470 return 0;
12471 }
12472 _ACEOF
12473 rm -f conftest.$ac_objext
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>conftest.er1
12476 ac_status=$?
12477 grep -v '^ *+' conftest.er1 >conftest.err
12478 rm -f conftest.er1
12479 cat conftest.err >&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); } &&
12482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12485 ac_status=$?
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; } &&
12488 { ac_try='test -s conftest.$ac_objext'
12489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12490 (eval $ac_try) 2>&5
12491 ac_status=$?
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); }; }; then
12494 ac_compiler_gnu=yes
12495 else
12496 echo "$as_me: failed program was:" >&5
12497 sed 's/^/| /' conftest.$ac_ext >&5
12498
12499 ac_compiler_gnu=no
12500 fi
12501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12502 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12503
12504 fi
12505 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12506 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12507 GXX=`test $ac_compiler_gnu = yes && echo yes`
12508 ac_test_CXXFLAGS=${CXXFLAGS+set}
12509 ac_save_CXXFLAGS=$CXXFLAGS
12510 CXXFLAGS="-g"
12511 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12512 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12513 if test "${ac_cv_prog_cxx_g+set}" = set; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12515 else
12516 cat >conftest.$ac_ext <<_ACEOF
12517 /* confdefs.h. */
12518 _ACEOF
12519 cat confdefs.h >>conftest.$ac_ext
12520 cat >>conftest.$ac_ext <<_ACEOF
12521 /* end confdefs.h. */
12522
12523 int
12524 main ()
12525 {
12526
12527 ;
12528 return 0;
12529 }
12530 _ACEOF
12531 rm -f conftest.$ac_objext
12532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12533 (eval $ac_compile) 2>conftest.er1
12534 ac_status=$?
12535 grep -v '^ *+' conftest.er1 >conftest.err
12536 rm -f conftest.er1
12537 cat conftest.err >&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); } &&
12540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12543 ac_status=$?
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; } &&
12546 { ac_try='test -s conftest.$ac_objext'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12549 ac_status=$?
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; }; then
12552 ac_cv_prog_cxx_g=yes
12553 else
12554 echo "$as_me: failed program was:" >&5
12555 sed 's/^/| /' conftest.$ac_ext >&5
12556
12557 ac_cv_prog_cxx_g=no
12558 fi
12559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12560 fi
12561 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12562 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12563 if test "$ac_test_CXXFLAGS" = set; then
12564 CXXFLAGS=$ac_save_CXXFLAGS
12565 elif test $ac_cv_prog_cxx_g = yes; then
12566 if test "$GXX" = yes; then
12567 CXXFLAGS="-g -O2"
12568 else
12569 CXXFLAGS="-g"
12570 fi
12571 else
12572 if test "$GXX" = yes; then
12573 CXXFLAGS="-O2"
12574 else
12575 CXXFLAGS=
12576 fi
12577 fi
12578 for ac_declaration in \
12579 '' \
12580 'extern "C" void std::exit (int) throw (); using std::exit;' \
12581 'extern "C" void std::exit (int); using std::exit;' \
12582 'extern "C" void exit (int) throw ();' \
12583 'extern "C" void exit (int);' \
12584 'void exit (int);'
12585 do
12586 cat >conftest.$ac_ext <<_ACEOF
12587 /* confdefs.h. */
12588 _ACEOF
12589 cat confdefs.h >>conftest.$ac_ext
12590 cat >>conftest.$ac_ext <<_ACEOF
12591 /* end confdefs.h. */
12592 $ac_declaration
12593 #include <stdlib.h>
12594 int
12595 main ()
12596 {
12597 exit (42);
12598 ;
12599 return 0;
12600 }
12601 _ACEOF
12602 rm -f conftest.$ac_objext
12603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12604 (eval $ac_compile) 2>conftest.er1
12605 ac_status=$?
12606 grep -v '^ *+' conftest.er1 >conftest.err
12607 rm -f conftest.er1
12608 cat conftest.err >&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); } &&
12611 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12614 ac_status=$?
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; } &&
12617 { ac_try='test -s conftest.$ac_objext'
12618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12619 (eval $ac_try) 2>&5
12620 ac_status=$?
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); }; }; then
12623 :
12624 else
12625 echo "$as_me: failed program was:" >&5
12626 sed 's/^/| /' conftest.$ac_ext >&5
12627
12628 continue
12629 fi
12630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12631 cat >conftest.$ac_ext <<_ACEOF
12632 /* confdefs.h. */
12633 _ACEOF
12634 cat confdefs.h >>conftest.$ac_ext
12635 cat >>conftest.$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12637 $ac_declaration
12638 int
12639 main ()
12640 {
12641 exit (42);
12642 ;
12643 return 0;
12644 }
12645 _ACEOF
12646 rm -f conftest.$ac_objext
12647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12648 (eval $ac_compile) 2>conftest.er1
12649 ac_status=$?
12650 grep -v '^ *+' conftest.er1 >conftest.err
12651 rm -f conftest.er1
12652 cat conftest.err >&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); } &&
12655 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12657 (eval $ac_try) 2>&5
12658 ac_status=$?
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); }; } &&
12661 { ac_try='test -s conftest.$ac_objext'
12662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12663 (eval $ac_try) 2>&5
12664 ac_status=$?
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; }; then
12667 break
12668 else
12669 echo "$as_me: failed program was:" >&5
12670 sed 's/^/| /' conftest.$ac_ext >&5
12671
12672 fi
12673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12674 done
12675 rm -f conftest*
12676 if test -n "$ac_declaration"; then
12677 echo '#ifdef __cplusplus' >>confdefs.h
12678 echo $ac_declaration >>confdefs.h
12679 echo '#endif' >>confdefs.h
12680 fi
12681
12682 ac_ext=cc
12683 ac_cpp='$CXXCPP $CPPFLAGS'
12684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12687
12688 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12689 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12690 if test "${wx_cv_cxx_exto+set}" = set; then
12691 echo $ECHO_N "(cached) $ECHO_C" >&6
12692 else
12693 cat >conftest.$ac_ext <<_ACEOF
12694 /* confdefs.h. */
12695 _ACEOF
12696 cat confdefs.h >>conftest.$ac_ext
12697 cat >>conftest.$ac_ext <<_ACEOF
12698 /* end confdefs.h. */
12699
12700 int
12701 main ()
12702 {
12703
12704 ;
12705 return 0;
12706 }
12707 _ACEOF
12708 rm -f conftest.$ac_objext conftest.$ac_ext.o
12709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12710 (eval $ac_compile) 2>&5
12711 ac_status=$?
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); }; then
12714 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12715 case $ac_file in
12716 conftest.$ac_ext.o)
12717 wx_cv_cxx_exto="-ext o"
12718 ;;
12719 *)
12720 ;;
12721 esac
12722 done
12723 else
12724 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12725 See \`config.log' for more details." >&5
12726 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12727 See \`config.log' for more details." >&2;}
12728 { (exit 1); exit 1; }; }
12729
12730 fi
12731
12732 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12733
12734 fi
12735 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12736 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12737 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12738 if test "cxx" = "c"; then
12739 CFLAGS="$wx_cv_cxx_exto $CFLAGS"
12740 fi
12741 if test "cxx" = "cxx"; then
12742 CXXFLAGS="$wx_cv_cxx_exto $CXXFLAGS"
12743 fi
12744 fi
12745
12746 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12747 unset ac_cv_prog_cxx_g
12748 ac_test_CXXFLAGS=${CXXFLAGS+set}
12749 ac_save_CXXFLAGS=$CXXFLAGS
12750 CXXFLAGS="-g"
12751 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12752 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12753 if test "${ac_cv_prog_cxx_g+set}" = set; then
12754 echo $ECHO_N "(cached) $ECHO_C" >&6
12755 else
12756 cat >conftest.$ac_ext <<_ACEOF
12757 /* confdefs.h. */
12758 _ACEOF
12759 cat confdefs.h >>conftest.$ac_ext
12760 cat >>conftest.$ac_ext <<_ACEOF
12761 /* end confdefs.h. */
12762
12763 int
12764 main ()
12765 {
12766
12767 ;
12768 return 0;
12769 }
12770 _ACEOF
12771 rm -f conftest.$ac_objext
12772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12773 (eval $ac_compile) 2>conftest.er1
12774 ac_status=$?
12775 grep -v '^ *+' conftest.er1 >conftest.err
12776 rm -f conftest.er1
12777 cat conftest.err >&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } &&
12780 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12782 (eval $ac_try) 2>&5
12783 ac_status=$?
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); }; } &&
12786 { ac_try='test -s conftest.$ac_objext'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12789 ac_status=$?
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; }; then
12792 ac_cv_prog_cxx_g=yes
12793 else
12794 echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.$ac_ext >&5
12796
12797 ac_cv_prog_cxx_g=no
12798 fi
12799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12800 fi
12801 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12802 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12803 if test "$ac_test_CXXFLAGS" = set; then
12804 CXXFLAGS=$ac_save_CXXFLAGS
12805 elif test $ac_cv_prog_cxx_g = yes; then
12806 if test "$GXX" = yes; then
12807 CXXFLAGS="-g -O2"
12808 else
12809 CXXFLAGS="-g"
12810 fi
12811 else
12812 if test "$GXX" = yes; then
12813 CXXFLAGS="-O2"
12814 else
12815 CXXFLAGS=
12816 fi
12817 fi
12818 fi
12819 ac_ext=cc
12820 ac_cpp='$CXXCPP $CPPFLAGS'
12821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12824
12825 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12826 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12827 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12828 echo $ECHO_N "(cached) $ECHO_C" >&6
12829 else
12830 cat >conftest.$ac_ext <<_ACEOF
12831 /* confdefs.h. */
12832 _ACEOF
12833 cat confdefs.h >>conftest.$ac_ext
12834 cat >>conftest.$ac_ext <<_ACEOF
12835 /* end confdefs.h. */
12836
12837 int
12838 main ()
12839 {
12840 #ifndef __MWERKS__
12841 choke me
12842 #endif
12843
12844 ;
12845 return 0;
12846 }
12847 _ACEOF
12848 rm -f conftest.$ac_objext
12849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12850 (eval $ac_compile) 2>conftest.er1
12851 ac_status=$?
12852 grep -v '^ *+' conftest.er1 >conftest.err
12853 rm -f conftest.er1
12854 cat conftest.err >&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); } &&
12857 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12859 (eval $ac_try) 2>&5
12860 ac_status=$?
12861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12862 (exit $ac_status); }; } &&
12863 { ac_try='test -s conftest.$ac_objext'
12864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12865 (eval $ac_try) 2>&5
12866 ac_status=$?
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); }; }; then
12869 bakefile_compiler_mwerks=yes
12870 else
12871 echo "$as_me: failed program was:" >&5
12872 sed 's/^/| /' conftest.$ac_ext >&5
12873
12874 bakefile_compiler_mwerks=no
12875 fi
12876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12877 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12878
12879 fi
12880 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12881 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12882
12883 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12884 ac_ext=cc
12885 ac_cpp='$CXXCPP $CPPFLAGS'
12886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12889
12890
12891 ac_ext=cc
12892 ac_cpp='$CXXCPP $CPPFLAGS'
12893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12896
12897 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12898 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12899 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12900 echo $ECHO_N "(cached) $ECHO_C" >&6
12901 else
12902 cat >conftest.$ac_ext <<_ACEOF
12903 /* confdefs.h. */
12904 _ACEOF
12905 cat confdefs.h >>conftest.$ac_ext
12906 cat >>conftest.$ac_ext <<_ACEOF
12907 /* end confdefs.h. */
12908
12909 int
12910 main ()
12911 {
12912 #ifndef __xlC__
12913 choke me
12914 #endif
12915
12916 ;
12917 return 0;
12918 }
12919 _ACEOF
12920 rm -f conftest.$ac_objext
12921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12922 (eval $ac_compile) 2>conftest.er1
12923 ac_status=$?
12924 grep -v '^ *+' conftest.er1 >conftest.err
12925 rm -f conftest.er1
12926 cat conftest.err >&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } &&
12929 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12932 ac_status=$?
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; } &&
12935 { ac_try='test -s conftest.$ac_objext'
12936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12937 (eval $ac_try) 2>&5
12938 ac_status=$?
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); }; }; then
12941 wx_compiler_xlc=yes
12942 else
12943 echo "$as_me: failed program was:" >&5
12944 sed 's/^/| /' conftest.$ac_ext >&5
12945
12946 wx_compiler_xlc=no
12947 fi
12948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12949 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
12950
12951 fi
12952 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12953 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12954
12955 XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12956 ac_ext=cc
12957 ac_cpp='$CXXCPP $CPPFLAGS'
12958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12961
12962
12963
12964
12965 ac_ext=cc
12966 ac_cpp='$CXXCPP $CPPFLAGS'
12967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12970
12971 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
12972 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
12973 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
12974 echo $ECHO_N "(cached) $ECHO_C" >&6
12975 else
12976 cat >conftest.$ac_ext <<_ACEOF
12977 /* confdefs.h. */
12978 _ACEOF
12979 cat confdefs.h >>conftest.$ac_ext
12980 cat >>conftest.$ac_ext <<_ACEOF
12981 /* end confdefs.h. */
12982
12983 int
12984 main ()
12985 {
12986
12987 #ifndef __SUNPRO_CC
12988 choke me
12989 #endif
12990
12991 ;
12992 return 0;
12993 }
12994 _ACEOF
12995 rm -f conftest.$ac_objext
12996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12997 (eval $ac_compile) 2>conftest.er1
12998 ac_status=$?
12999 grep -v '^ *+' conftest.er1 >conftest.err
13000 rm -f conftest.er1
13001 cat conftest.err >&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); } &&
13004 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13006 (eval $ac_try) 2>&5
13007 ac_status=$?
13008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); }; } &&
13010 { ac_try='test -s conftest.$ac_objext'
13011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13012 (eval $ac_try) 2>&5
13013 ac_status=$?
13014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13015 (exit $ac_status); }; }; then
13016 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
13017 else
13018 echo "$as_me: failed program was:" >&5
13019 sed 's/^/| /' conftest.$ac_ext >&5
13020
13021 bakefile_cv_cxx_compiler___SUNPRO_CC=no
13022
13023 fi
13024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13025
13026
13027 fi
13028 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13029 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13030 ac_ext=cc
13031 ac_cpp='$CXXCPP $CPPFLAGS'
13032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13035
13036 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13037 :; SUNCXX=yes
13038 else
13039 :;
13040 fi
13041
13042
13043
13044
13045 ac_ext=c
13046 ac_cpp='$CPP $CPPFLAGS'
13047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13050
13051
13052 if test -n "$ac_tool_prefix"; then
13053 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13054 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13055 echo "$as_me:$LINENO: checking for $ac_word" >&5
13056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13057 if test "${ac_cv_prog_RANLIB+set}" = set; then
13058 echo $ECHO_N "(cached) $ECHO_C" >&6
13059 else
13060 if test -n "$RANLIB"; then
13061 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13062 else
13063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13064 for as_dir in $PATH
13065 do
13066 IFS=$as_save_IFS
13067 test -z "$as_dir" && as_dir=.
13068 for ac_exec_ext in '' $ac_executable_extensions; do
13069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13070 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13072 break 2
13073 fi
13074 done
13075 done
13076
13077 fi
13078 fi
13079 RANLIB=$ac_cv_prog_RANLIB
13080 if test -n "$RANLIB"; then
13081 echo "$as_me:$LINENO: result: $RANLIB" >&5
13082 echo "${ECHO_T}$RANLIB" >&6
13083 else
13084 echo "$as_me:$LINENO: result: no" >&5
13085 echo "${ECHO_T}no" >&6
13086 fi
13087
13088 fi
13089 if test -z "$ac_cv_prog_RANLIB"; then
13090 ac_ct_RANLIB=$RANLIB
13091 # Extract the first word of "ranlib", so it can be a program name with args.
13092 set dummy ranlib; 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_ac_ct_RANLIB+set}" = set; then
13096 echo $ECHO_N "(cached) $ECHO_C" >&6
13097 else
13098 if test -n "$ac_ct_RANLIB"; then
13099 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_ac_ct_RANLIB="ranlib"
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 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
13116 fi
13117 fi
13118 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13119 if test -n "$ac_ct_RANLIB"; then
13120 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13121 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13122 else
13123 echo "$as_me:$LINENO: result: no" >&5
13124 echo "${ECHO_T}no" >&6
13125 fi
13126
13127 RANLIB=$ac_ct_RANLIB
13128 else
13129 RANLIB="$ac_cv_prog_RANLIB"
13130 fi
13131
13132
13133 # Extract the first word of "ar", so it can be a program name with args.
13134 set dummy ar; ac_word=$2
13135 echo "$as_me:$LINENO: checking for $ac_word" >&5
13136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13137 if test "${ac_cv_prog_AR+set}" = set; then
13138 echo $ECHO_N "(cached) $ECHO_C" >&6
13139 else
13140 if test -n "$AR"; then
13141 ac_cv_prog_AR="$AR" # Let the user override the test.
13142 else
13143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13144 for as_dir in $PATH
13145 do
13146 IFS=$as_save_IFS
13147 test -z "$as_dir" && as_dir=.
13148 for ac_exec_ext in '' $ac_executable_extensions; do
13149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13150 ac_cv_prog_AR="ar"
13151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13152 break 2
13153 fi
13154 done
13155 done
13156
13157 fi
13158 fi
13159 AR=$ac_cv_prog_AR
13160 if test -n "$AR"; then
13161 echo "$as_me:$LINENO: result: $AR" >&5
13162 echo "${ECHO_T}$AR" >&6
13163 else
13164 echo "$as_me:$LINENO: result: no" >&5
13165 echo "${ECHO_T}no" >&6
13166 fi
13167
13168 if test "x$AR" = "x" ; then
13169 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13170 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13171 { (exit 1); exit 1; }; }
13172 fi
13173
13174 # Find a good install program. We prefer a C program (faster),
13175 # so one script is as good as another. But avoid the broken or
13176 # incompatible versions:
13177 # SysV /etc/install, /usr/sbin/install
13178 # SunOS /usr/etc/install
13179 # IRIX /sbin/install
13180 # AIX /bin/install
13181 # AmigaOS /C/install, which installs bootblocks on floppy discs
13182 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13183 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13184 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13185 # OS/2's system install, which has a completely different semantic
13186 # ./install, which can be erroneously created by make from ./install.sh.
13187 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13188 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13189 if test -z "$INSTALL"; then
13190 if test "${ac_cv_path_install+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13192 else
13193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13194 for as_dir in $PATH
13195 do
13196 IFS=$as_save_IFS
13197 test -z "$as_dir" && as_dir=.
13198 # Account for people who put trailing slashes in PATH elements.
13199 case $as_dir/ in
13200 ./ | .// | /cC/* | \
13201 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
13202 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
13203 /usr/ucb/* ) ;;
13204 *)
13205 # OSF1 and SCO ODT 3.0 have their own names for install.
13206 # Don't use installbsd from OSF since it installs stuff as root
13207 # by default.
13208 for ac_prog in ginstall scoinst install; do
13209 for ac_exec_ext in '' $ac_executable_extensions; do
13210 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13211 if test $ac_prog = install &&
13212 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13213 # AIX install. It has an incompatible calling convention.
13214 :
13215 elif test $ac_prog = install &&
13216 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13217 # program-specific install script used by HP pwplus--don't use.
13218 :
13219 else
13220 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
13221 break 3
13222 fi
13223 fi
13224 done
13225 done
13226 ;;
13227 esac
13228 done
13229
13230
13231 fi
13232 if test "${ac_cv_path_install+set}" = set; then
13233 INSTALL=$ac_cv_path_install
13234 else
13235 # As a last resort, use the slow shell script. We don't cache a
13236 # path for INSTALL within a source directory, because that will
13237 # break other packages using the cache if that directory is
13238 # removed, or if the path is relative.
13239 INSTALL=$ac_install_sh
13240 fi
13241 fi
13242 echo "$as_me:$LINENO: result: $INSTALL" >&5
13243 echo "${ECHO_T}$INSTALL" >&6
13244
13245 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13246 # It thinks the first close brace ends the variable substitution.
13247 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
13248
13249 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
13250
13251 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
13252
13253
13254 case ${INSTALL} in
13255 /* ) # Absolute
13256 ;;
13257 ?:* ) # Drive letter, considered as absolute.
13258 ;;
13259 *)
13260 INSTALL=`pwd`/${INSTALL} ;;
13261 esac
13262
13263
13264 case "${host}" in
13265
13266 *-*-darwin* )
13267 INSTALL_PROGRAM="cp -fp"
13268 INSTALL_DATA="cp -fp"
13269 ;;
13270 *)
13271 ;;
13272 esac
13273
13274 # Extract the first word of "strip", so it can be a program name with args.
13275 set dummy strip; ac_word=$2
13276 echo "$as_me:$LINENO: checking for $ac_word" >&5
13277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13278 if test "${ac_cv_prog_STRIP+set}" = set; then
13279 echo $ECHO_N "(cached) $ECHO_C" >&6
13280 else
13281 if test -n "$STRIP"; then
13282 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13283 else
13284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13285 for as_dir in $PATH
13286 do
13287 IFS=$as_save_IFS
13288 test -z "$as_dir" && as_dir=.
13289 for ac_exec_ext in '' $ac_executable_extensions; do
13290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13291 ac_cv_prog_STRIP="strip"
13292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13293 break 2
13294 fi
13295 done
13296 done
13297
13298 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
13299 fi
13300 fi
13301 STRIP=$ac_cv_prog_STRIP
13302 if test -n "$STRIP"; then
13303 echo "$as_me:$LINENO: result: $STRIP" >&5
13304 echo "${ECHO_T}$STRIP" >&6
13305 else
13306 echo "$as_me:$LINENO: result: no" >&5
13307 echo "${ECHO_T}no" >&6
13308 fi
13309
13310
13311 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13312 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13313 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13314 echo $ECHO_N "(cached) $ECHO_C" >&6
13315 else
13316
13317 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
13318 egrep -s GNU > /dev/null); then
13319 wx_cv_prog_makeisgnu="yes"
13320 else
13321 wx_cv_prog_makeisgnu="no"
13322 fi
13323
13324 fi
13325 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13326 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13327
13328 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13329 IF_GNU_MAKE=""
13330 else
13331 IF_GNU_MAKE="#"
13332 fi
13333
13334
13335
13336 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13337 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13338 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13339 if test "${wx_cv_prog_makevpath+set}" = set; then
13340 echo $ECHO_N "(cached) $ECHO_C" >&6
13341 else
13342
13343 cat - << EOF > confMake
13344 check : file
13345 cp \$? \$@
13346 cp \$? final_file
13347 EOF
13348
13349 if test ! -d sub ; then
13350 mkdir sub
13351 fi
13352 echo dummy > sub/file
13353 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
13354 RESULT=$?
13355 rm -f sub/file check final_file confMake
13356 rmdir sub
13357 if test "$RESULT" = 0; then
13358 wx_cv_prog_makevpath="yes"
13359 else
13360 wx_cv_prog_makevpath="no"
13361 fi
13362
13363 fi
13364 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13365 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13366
13367 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13368 { { echo "$as_me:$LINENO: error:
13369 You need a make-utility that is able to use the variable
13370 VPATH correctly.
13371 If your version of make does not support VPATH correctly,
13372 please install GNU-make (possibly as gmake), and start
13373 configure with the following command:
13374 export MAKE=gmake; ./configure for sh-type shells
13375 setenv MAKE gmake; ./configure for csh-type shells
13376 Also please do remember to use gmake in this case every time
13377 you are trying to compile.
13378 " >&5
13379 echo "$as_me: error:
13380 You need a make-utility that is able to use the variable
13381 VPATH correctly.
13382 If your version of make does not support VPATH correctly,
13383 please install GNU-make (possibly as gmake), and start
13384 configure with the following command:
13385 export MAKE=gmake; ./configure for sh-type shells
13386 setenv MAKE gmake; ./configure for csh-type shells
13387 Also please do remember to use gmake in this case every time
13388 you are trying to compile.
13389 " >&2;}
13390 { (exit 1); exit 1; }; }
13391 fi fi
13392 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13393 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13394 LN_S=$as_ln_s
13395 if test "$LN_S" = "ln -s"; then
13396 echo "$as_me:$LINENO: result: yes" >&5
13397 echo "${ECHO_T}yes" >&6
13398 else
13399 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13400 echo "${ECHO_T}no, using $LN_S" >&6
13401 fi
13402
13403
13404
13405 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
13406 CXXFLAGS="$CXXFLAGS -qunique"
13407 fi
13408
13409
13410 case "${host}" in
13411 powerpc-*-darwin* )
13412 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13413 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13414 cat >conftest.$ac_ext <<_ACEOF
13415 /* confdefs.h. */
13416 _ACEOF
13417 cat confdefs.h >>conftest.$ac_ext
13418 cat >>conftest.$ac_ext <<_ACEOF
13419 /* end confdefs.h. */
13420
13421 int
13422 main ()
13423 {
13424 #ifndef __POWERPC__
13425 choke me for lack of PowerPC
13426 #endif
13427
13428 ;
13429 return 0;
13430 }
13431 _ACEOF
13432 rm -f conftest.$ac_objext
13433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13434 (eval $ac_compile) 2>conftest.er1
13435 ac_status=$?
13436 grep -v '^ *+' conftest.er1 >conftest.err
13437 rm -f conftest.er1
13438 cat conftest.err >&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } &&
13441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443 (eval $ac_try) 2>&5
13444 ac_status=$?
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; } &&
13447 { ac_try='test -s conftest.$ac_objext'
13448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13449 (eval $ac_try) 2>&5
13450 ac_status=$?
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); }; }; then
13453 echo "$as_me:$LINENO: result: yes" >&5
13454 echo "${ECHO_T}yes" >&6
13455 else
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.$ac_ext >&5
13458
13459 echo "$as_me:$LINENO: result: no" >&5
13460 echo "${ECHO_T}no" >&6
13461 cat >>confdefs.h <<\_ACEOF
13462 #define __POWERPC__ 1
13463 _ACEOF
13464
13465
13466 fi
13467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13468 ;;
13469 esac
13470
13471 case "${host}" in
13472 *-*-darwin* )
13473 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13474 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $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 #include <CoreFoundation/CFBase.h>
13482
13483 int
13484 main ()
13485 {
13486
13487 ;
13488 return 0;
13489 }
13490 _ACEOF
13491 rm -f conftest.$ac_objext
13492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13493 (eval $ac_compile) 2>conftest.er1
13494 ac_status=$?
13495 grep -v '^ *+' conftest.er1 >conftest.err
13496 rm -f conftest.er1
13497 cat conftest.err >&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } &&
13500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13502 (eval $ac_try) 2>&5
13503 ac_status=$?
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); }; } &&
13506 { ac_try='test -s conftest.$ac_objext'
13507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13508 (eval $ac_try) 2>&5
13509 ac_status=$?
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); }; }; then
13512 echo "$as_me:$LINENO: result: yes" >&5
13513 echo "${ECHO_T}yes" >&6
13514 else
13515 echo "$as_me: failed program was:" >&5
13516 sed 's/^/| /' conftest.$ac_ext >&5
13517
13518 echo "$as_me:$LINENO: result: no" >&5
13519 echo "${ECHO_T}no" >&6
13520 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13521 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13522 cat >conftest.$ac_ext <<_ACEOF
13523 /* confdefs.h. */
13524 _ACEOF
13525 cat confdefs.h >>conftest.$ac_ext
13526 cat >>conftest.$ac_ext <<_ACEOF
13527 /* end confdefs.h. */
13528 #define __CF_USE_FRAMEWORK_INCLUDES__
13529 #include <CoreFoundation/CFBase.h>
13530
13531 int
13532 main ()
13533 {
13534
13535 ;
13536 return 0;
13537 }
13538 _ACEOF
13539 rm -f conftest.$ac_objext
13540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13541 (eval $ac_compile) 2>conftest.er1
13542 ac_status=$?
13543 grep -v '^ *+' conftest.er1 >conftest.err
13544 rm -f conftest.er1
13545 cat conftest.err >&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); } &&
13548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13550 (eval $ac_try) 2>&5
13551 ac_status=$?
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); }; } &&
13554 { ac_try='test -s conftest.$ac_objext'
13555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13556 (eval $ac_try) 2>&5
13557 ac_status=$?
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); }; }; then
13560 echo "$as_me:$LINENO: result: yes" >&5
13561 echo "${ECHO_T}yes" >&6
13562 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13563 else
13564 echo "$as_me: failed program was:" >&5
13565 sed 's/^/| /' conftest.$ac_ext >&5
13566
13567 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13568 See \`config.log' for more details." >&5
13569 echo "$as_me: error: no. CoreFoundation not available.
13570 See \`config.log' for more details." >&2;}
13571 { (exit 1); exit 1; }; }
13572
13573 fi
13574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13575
13576
13577 fi
13578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13579 ;;
13580 esac
13581
13582 case "${host}" in
13583 *-pc-os2_emx | *-pc-os2-emx )
13584 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13585 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13586 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13587 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13588 echo $ECHO_N "(cached) $ECHO_C" >&6
13589 else
13590 ac_check_lib_save_LIBS=$LIBS
13591 LIBS="-lcExt $LIBS"
13592 cat >conftest.$ac_ext <<_ACEOF
13593 /* confdefs.h. */
13594 _ACEOF
13595 cat confdefs.h >>conftest.$ac_ext
13596 cat >>conftest.$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13598
13599 /* Override any gcc2 internal prototype to avoid an error. */
13600 #ifdef __cplusplus
13601 extern "C"
13602 #endif
13603 /* We use char because int might match the return type of a gcc2
13604 builtin and then its argument prototype would still apply. */
13605 char drand48 ();
13606 int
13607 main ()
13608 {
13609 drand48 ();
13610 ;
13611 return 0;
13612 }
13613 _ACEOF
13614 rm -f conftest.$ac_objext conftest$ac_exeext
13615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13616 (eval $ac_link) 2>conftest.er1
13617 ac_status=$?
13618 grep -v '^ *+' conftest.er1 >conftest.err
13619 rm -f conftest.er1
13620 cat conftest.err >&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); } &&
13623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625 (eval $ac_try) 2>&5
13626 ac_status=$?
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); }; } &&
13629 { ac_try='test -s conftest$ac_exeext'
13630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13631 (eval $ac_try) 2>&5
13632 ac_status=$?
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); }; }; then
13635 ac_cv_lib_cExt_drand48=yes
13636 else
13637 echo "$as_me: failed program was:" >&5
13638 sed 's/^/| /' conftest.$ac_ext >&5
13639
13640 ac_cv_lib_cExt_drand48=no
13641 fi
13642 rm -f conftest.err conftest.$ac_objext \
13643 conftest$ac_exeext conftest.$ac_ext
13644 LIBS=$ac_check_lib_save_LIBS
13645 fi
13646 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13647 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13648 if test $ac_cv_lib_cExt_drand48 = yes; then
13649 LIBS="$LIBS -lcExt"
13650 fi
13651
13652 else
13653 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
13654 fi
13655 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13656 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13657 if test "${wx_cv_gccversion+set}" = set; then
13658 echo $ECHO_N "(cached) $ECHO_C" >&6
13659 else
13660
13661 if test "$cross_compiling" = yes; then
13662 wx_cv_gccversion="EMX2"
13663
13664 else
13665 cat >conftest.$ac_ext <<_ACEOF
13666 /* confdefs.h. */
13667 _ACEOF
13668 cat confdefs.h >>conftest.$ac_ext
13669 cat >>conftest.$ac_ext <<_ACEOF
13670 /* end confdefs.h. */
13671
13672 #include <stdio.h>
13673
13674 int main()
13675 {
13676 FILE *f=fopen("conftestval", "w");
13677 if (!f) exit(1);
13678 fprintf(f,
13679 #if (__GNUC__ < 3)
13680 "EMX2"
13681 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13682 "EMX3"
13683 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13684 "Innotek5"
13685 #else
13686 "Innotek6"
13687 #endif
13688 );
13689 exit(0);
13690 }
13691
13692 _ACEOF
13693 rm -f conftest$ac_exeext
13694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13695 (eval $ac_link) 2>&5
13696 ac_status=$?
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13700 (eval $ac_try) 2>&5
13701 ac_status=$?
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); }; }; then
13704 wx_cv_gccversion=`cat conftestval`
13705 else
13706 echo "$as_me: program exited with status $ac_status" >&5
13707 echo "$as_me: failed program was:" >&5
13708 sed 's/^/| /' conftest.$ac_ext >&5
13709
13710 ( exit $ac_status )
13711 wx_cv_gccversion="EMX2"
13712 fi
13713 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13714 fi
13715
13716 fi
13717 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13718 echo "${ECHO_T}$wx_cv_gccversion" >&6
13719 if test "$wx_cv_gccversion" = "EMX2"; then
13720 LIBS="$LIBS -lstdcpp"
13721 LDFLAGS="$LDFLAGS -Zsysv-signals"
13722 else
13723 if test "$wx_cv_gccversion" = "EMX3"; then
13724 LIBS="$LIBS -lstdcxx -lgcc"
13725 LDFLAGS="$LDFLAGS -Zsysv-signals"
13726 else
13727 LIBS="$LIBS -lstdc++"
13728 fi
13729 fi
13730 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13731 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13732 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13733 wxUSE_OMF=yes
13734 enable_omf=yes
13735 fi
13736 ;;
13737 *)
13738
13739
13740
13741 ac_ext=cc
13742 ac_cpp='$CXXCPP $CPPFLAGS'
13743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13746
13747
13748 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13749 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13750 if test "${ac_cv_string_strcasecmp+set}" = set; then
13751 echo $ECHO_N "(cached) $ECHO_C" >&6
13752 else
13753
13754 cat >conftest.$ac_ext <<_ACEOF
13755 /* confdefs.h. */
13756 _ACEOF
13757 cat confdefs.h >>conftest.$ac_ext
13758 cat >>conftest.$ac_ext <<_ACEOF
13759 /* end confdefs.h. */
13760
13761 #include <string.h>
13762
13763 int
13764 main ()
13765 {
13766
13767 strcasecmp("foo", "bar");
13768
13769 ;
13770 return 0;
13771 }
13772 _ACEOF
13773 rm -f conftest.$ac_objext conftest$ac_exeext
13774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13775 (eval $ac_link) 2>conftest.er1
13776 ac_status=$?
13777 grep -v '^ *+' conftest.er1 >conftest.err
13778 rm -f conftest.er1
13779 cat conftest.err >&5
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); } &&
13782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13785 ac_status=$?
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; } &&
13788 { ac_try='test -s conftest$ac_exeext'
13789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13790 (eval $ac_try) 2>&5
13791 ac_status=$?
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); }; }; then
13794 ac_cv_string_strcasecmp=yes
13795 else
13796 echo "$as_me: failed program was:" >&5
13797 sed 's/^/| /' conftest.$ac_ext >&5
13798
13799 ac_cv_string_strcasecmp=no
13800
13801 fi
13802 rm -f conftest.err conftest.$ac_objext \
13803 conftest$ac_exeext conftest.$ac_ext
13804
13805 fi
13806 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13807 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13808
13809 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
13810 cat >>confdefs.h <<\_ACEOF
13811 #define HAVE_STRCASECMP_IN_STRING_H 1
13812 _ACEOF
13813
13814 else
13815 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13816 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13817 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13818 echo $ECHO_N "(cached) $ECHO_C" >&6
13819 else
13820
13821 cat >conftest.$ac_ext <<_ACEOF
13822 /* confdefs.h. */
13823 _ACEOF
13824 cat confdefs.h >>conftest.$ac_ext
13825 cat >>conftest.$ac_ext <<_ACEOF
13826 /* end confdefs.h. */
13827
13828 #include <strings.h>
13829
13830 int
13831 main ()
13832 {
13833
13834 strcasecmp("foo", "bar");
13835
13836 ;
13837 return 0;
13838 }
13839 _ACEOF
13840 rm -f conftest.$ac_objext conftest$ac_exeext
13841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13842 (eval $ac_link) 2>conftest.er1
13843 ac_status=$?
13844 grep -v '^ *+' conftest.er1 >conftest.err
13845 rm -f conftest.er1
13846 cat conftest.err >&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); } &&
13849 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13851 (eval $ac_try) 2>&5
13852 ac_status=$?
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); }; } &&
13855 { ac_try='test -s conftest$ac_exeext'
13856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13857 (eval $ac_try) 2>&5
13858 ac_status=$?
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); }; }; then
13861 ac_cv_strings_strcasecmp=yes
13862 else
13863 echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.$ac_ext >&5
13865
13866 ac_cv_strings_strcasecmp=no
13867
13868 fi
13869 rm -f conftest.err conftest.$ac_objext \
13870 conftest$ac_exeext conftest.$ac_ext
13871
13872 fi
13873 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13874 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13875
13876 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
13877 cat >>confdefs.h <<\_ACEOF
13878 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13879 _ACEOF
13880
13881 else
13882 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13883 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13884 { (exit 1); exit 1; }; }
13885 fi
13886 fi
13887
13888 ac_ext=c
13889 ac_cpp='$CPP $CPPFLAGS'
13890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13893
13894 ;;
13895 esac
13896
13897
13898 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13899 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13900 if test "${ac_cv_header_stdc+set}" = set; then
13901 echo $ECHO_N "(cached) $ECHO_C" >&6
13902 else
13903 cat >conftest.$ac_ext <<_ACEOF
13904 /* confdefs.h. */
13905 _ACEOF
13906 cat confdefs.h >>conftest.$ac_ext
13907 cat >>conftest.$ac_ext <<_ACEOF
13908 /* end confdefs.h. */
13909 #include <stdlib.h>
13910 #include <stdarg.h>
13911 #include <string.h>
13912 #include <float.h>
13913
13914 int
13915 main ()
13916 {
13917
13918 ;
13919 return 0;
13920 }
13921 _ACEOF
13922 rm -f conftest.$ac_objext
13923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13924 (eval $ac_compile) 2>conftest.er1
13925 ac_status=$?
13926 grep -v '^ *+' conftest.er1 >conftest.err
13927 rm -f conftest.er1
13928 cat conftest.err >&5
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); } &&
13931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13933 (eval $ac_try) 2>&5
13934 ac_status=$?
13935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13936 (exit $ac_status); }; } &&
13937 { ac_try='test -s conftest.$ac_objext'
13938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13939 (eval $ac_try) 2>&5
13940 ac_status=$?
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); }; }; then
13943 ac_cv_header_stdc=yes
13944 else
13945 echo "$as_me: failed program was:" >&5
13946 sed 's/^/| /' conftest.$ac_ext >&5
13947
13948 ac_cv_header_stdc=no
13949 fi
13950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13951
13952 if test $ac_cv_header_stdc = yes; then
13953 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13954 cat >conftest.$ac_ext <<_ACEOF
13955 /* confdefs.h. */
13956 _ACEOF
13957 cat confdefs.h >>conftest.$ac_ext
13958 cat >>conftest.$ac_ext <<_ACEOF
13959 /* end confdefs.h. */
13960 #include <string.h>
13961
13962 _ACEOF
13963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13964 $EGREP "memchr" >/dev/null 2>&1; then
13965 :
13966 else
13967 ac_cv_header_stdc=no
13968 fi
13969 rm -f conftest*
13970
13971 fi
13972
13973 if test $ac_cv_header_stdc = yes; then
13974 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13975 cat >conftest.$ac_ext <<_ACEOF
13976 /* confdefs.h. */
13977 _ACEOF
13978 cat confdefs.h >>conftest.$ac_ext
13979 cat >>conftest.$ac_ext <<_ACEOF
13980 /* end confdefs.h. */
13981 #include <stdlib.h>
13982
13983 _ACEOF
13984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13985 $EGREP "free" >/dev/null 2>&1; then
13986 :
13987 else
13988 ac_cv_header_stdc=no
13989 fi
13990 rm -f conftest*
13991
13992 fi
13993
13994 if test $ac_cv_header_stdc = yes; then
13995 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13996 if test "$cross_compiling" = yes; then
13997 :
13998 else
13999 cat >conftest.$ac_ext <<_ACEOF
14000 /* confdefs.h. */
14001 _ACEOF
14002 cat confdefs.h >>conftest.$ac_ext
14003 cat >>conftest.$ac_ext <<_ACEOF
14004 /* end confdefs.h. */
14005 #include <ctype.h>
14006 #if ((' ' & 0x0FF) == 0x020)
14007 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14008 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14009 #else
14010 # define ISLOWER(c) \
14011 (('a' <= (c) && (c) <= 'i') \
14012 || ('j' <= (c) && (c) <= 'r') \
14013 || ('s' <= (c) && (c) <= 'z'))
14014 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14015 #endif
14016
14017 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14018 int
14019 main ()
14020 {
14021 int i;
14022 for (i = 0; i < 256; i++)
14023 if (XOR (islower (i), ISLOWER (i))
14024 || toupper (i) != TOUPPER (i))
14025 exit(2);
14026 exit (0);
14027 }
14028 _ACEOF
14029 rm -f conftest$ac_exeext
14030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14031 (eval $ac_link) 2>&5
14032 ac_status=$?
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14036 (eval $ac_try) 2>&5
14037 ac_status=$?
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); }; }; then
14040 :
14041 else
14042 echo "$as_me: program exited with status $ac_status" >&5
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.$ac_ext >&5
14045
14046 ( exit $ac_status )
14047 ac_cv_header_stdc=no
14048 fi
14049 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14050 fi
14051 fi
14052 fi
14053 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14054 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14055 if test $ac_cv_header_stdc = yes; then
14056
14057 cat >>confdefs.h <<\_ACEOF
14058 #define STDC_HEADERS 1
14059 _ACEOF
14060
14061 fi
14062
14063 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
14074 inttypes.h stdint.h unistd.h
14075 do
14076 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14077 echo "$as_me:$LINENO: checking for $ac_header" >&5
14078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14080 echo $ECHO_N "(cached) $ECHO_C" >&6
14081 else
14082 cat >conftest.$ac_ext <<_ACEOF
14083 /* confdefs.h. */
14084 _ACEOF
14085 cat confdefs.h >>conftest.$ac_ext
14086 cat >>conftest.$ac_ext <<_ACEOF
14087 /* end confdefs.h. */
14088 $ac_includes_default
14089
14090 #include <$ac_header>
14091 _ACEOF
14092 rm -f conftest.$ac_objext
14093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14094 (eval $ac_compile) 2>conftest.er1
14095 ac_status=$?
14096 grep -v '^ *+' conftest.er1 >conftest.err
14097 rm -f conftest.er1
14098 cat conftest.err >&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } &&
14101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14103 (eval $ac_try) 2>&5
14104 ac_status=$?
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; } &&
14107 { ac_try='test -s conftest.$ac_objext'
14108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14109 (eval $ac_try) 2>&5
14110 ac_status=$?
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); }; }; then
14113 eval "$as_ac_Header=yes"
14114 else
14115 echo "$as_me: failed program was:" >&5
14116 sed 's/^/| /' conftest.$ac_ext >&5
14117
14118 eval "$as_ac_Header=no"
14119 fi
14120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14121 fi
14122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14125 cat >>confdefs.h <<_ACEOF
14126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14127 _ACEOF
14128
14129 fi
14130
14131 done
14132
14133
14134
14135 for ac_header in stdlib.h
14136 do
14137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14139 echo "$as_me:$LINENO: checking for $ac_header" >&5
14140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14142 echo $ECHO_N "(cached) $ECHO_C" >&6
14143 fi
14144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14146 else
14147 # Is the header compilable?
14148 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14150 cat >conftest.$ac_ext <<_ACEOF
14151 /* confdefs.h. */
14152 _ACEOF
14153 cat confdefs.h >>conftest.$ac_ext
14154 cat >>conftest.$ac_ext <<_ACEOF
14155 /* end confdefs.h. */
14156 $ac_includes_default
14157 #include <$ac_header>
14158 _ACEOF
14159 rm -f conftest.$ac_objext
14160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14161 (eval $ac_compile) 2>conftest.er1
14162 ac_status=$?
14163 grep -v '^ *+' conftest.er1 >conftest.err
14164 rm -f conftest.er1
14165 cat conftest.err >&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); } &&
14168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14171 ac_status=$?
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; } &&
14174 { ac_try='test -s conftest.$ac_objext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14177 ac_status=$?
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14180 ac_header_compiler=yes
14181 else
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.$ac_ext >&5
14184
14185 ac_header_compiler=no
14186 fi
14187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14189 echo "${ECHO_T}$ac_header_compiler" >&6
14190
14191 # Is the header present?
14192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14194 cat >conftest.$ac_ext <<_ACEOF
14195 /* confdefs.h. */
14196 _ACEOF
14197 cat confdefs.h >>conftest.$ac_ext
14198 cat >>conftest.$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14200 #include <$ac_header>
14201 _ACEOF
14202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14203 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14204 ac_status=$?
14205 grep -v '^ *+' conftest.er1 >conftest.err
14206 rm -f conftest.er1
14207 cat conftest.err >&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); } >/dev/null; then
14210 if test -s conftest.err; then
14211 ac_cpp_err=$ac_c_preproc_warn_flag
14212 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14213 else
14214 ac_cpp_err=
14215 fi
14216 else
14217 ac_cpp_err=yes
14218 fi
14219 if test -z "$ac_cpp_err"; then
14220 ac_header_preproc=yes
14221 else
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.$ac_ext >&5
14224
14225 ac_header_preproc=no
14226 fi
14227 rm -f conftest.err conftest.$ac_ext
14228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14229 echo "${ECHO_T}$ac_header_preproc" >&6
14230
14231 # So? What about this header?
14232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14233 yes:no: )
14234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14238 ac_header_preproc=yes
14239 ;;
14240 no:yes:* )
14241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14248 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14251 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14253 (
14254 cat <<\_ASBOX
14255 ## ----------------------------------------- ##
14256 ## Report this to wx-dev@lists.wxwidgets.org ##
14257 ## ----------------------------------------- ##
14258 _ASBOX
14259 ) |
14260 sed "s/^/$as_me: WARNING: /" >&2
14261 ;;
14262 esac
14263 echo "$as_me:$LINENO: checking for $ac_header" >&5
14264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14266 echo $ECHO_N "(cached) $ECHO_C" >&6
14267 else
14268 eval "$as_ac_Header=\$ac_header_preproc"
14269 fi
14270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14272
14273 fi
14274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14275 cat >>confdefs.h <<_ACEOF
14276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14277 _ACEOF
14278
14279 fi
14280
14281 done
14282
14283
14284 for ac_header in malloc.h
14285 do
14286 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14288 echo "$as_me:$LINENO: checking for $ac_header" >&5
14289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14291 echo $ECHO_N "(cached) $ECHO_C" >&6
14292 fi
14293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14295 else
14296 # Is the header compilable?
14297 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14298 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14299 cat >conftest.$ac_ext <<_ACEOF
14300 /* confdefs.h. */
14301 _ACEOF
14302 cat confdefs.h >>conftest.$ac_ext
14303 cat >>conftest.$ac_ext <<_ACEOF
14304 /* end confdefs.h. */
14305 $ac_includes_default
14306 #include <$ac_header>
14307 _ACEOF
14308 rm -f conftest.$ac_objext
14309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14310 (eval $ac_compile) 2>conftest.er1
14311 ac_status=$?
14312 grep -v '^ *+' conftest.er1 >conftest.err
14313 rm -f conftest.er1
14314 cat conftest.err >&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); } &&
14317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14319 (eval $ac_try) 2>&5
14320 ac_status=$?
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); }; } &&
14323 { ac_try='test -s conftest.$ac_objext'
14324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14325 (eval $ac_try) 2>&5
14326 ac_status=$?
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); }; }; then
14329 ac_header_compiler=yes
14330 else
14331 echo "$as_me: failed program was:" >&5
14332 sed 's/^/| /' conftest.$ac_ext >&5
14333
14334 ac_header_compiler=no
14335 fi
14336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14338 echo "${ECHO_T}$ac_header_compiler" >&6
14339
14340 # Is the header present?
14341 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14342 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14343 cat >conftest.$ac_ext <<_ACEOF
14344 /* confdefs.h. */
14345 _ACEOF
14346 cat confdefs.h >>conftest.$ac_ext
14347 cat >>conftest.$ac_ext <<_ACEOF
14348 /* end confdefs.h. */
14349 #include <$ac_header>
14350 _ACEOF
14351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14352 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14353 ac_status=$?
14354 grep -v '^ *+' conftest.er1 >conftest.err
14355 rm -f conftest.er1
14356 cat conftest.err >&5
14357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14358 (exit $ac_status); } >/dev/null; then
14359 if test -s conftest.err; then
14360 ac_cpp_err=$ac_c_preproc_warn_flag
14361 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14362 else
14363 ac_cpp_err=
14364 fi
14365 else
14366 ac_cpp_err=yes
14367 fi
14368 if test -z "$ac_cpp_err"; then
14369 ac_header_preproc=yes
14370 else
14371 echo "$as_me: failed program was:" >&5
14372 sed 's/^/| /' conftest.$ac_ext >&5
14373
14374 ac_header_preproc=no
14375 fi
14376 rm -f conftest.err conftest.$ac_ext
14377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14378 echo "${ECHO_T}$ac_header_preproc" >&6
14379
14380 # So? What about this header?
14381 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14382 yes:no: )
14383 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14384 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14386 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14387 ac_header_preproc=yes
14388 ;;
14389 no:yes:* )
14390 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14391 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14392 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14393 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14395 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14397 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14400 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14401 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14402 (
14403 cat <<\_ASBOX
14404 ## ----------------------------------------- ##
14405 ## Report this to wx-dev@lists.wxwidgets.org ##
14406 ## ----------------------------------------- ##
14407 _ASBOX
14408 ) |
14409 sed "s/^/$as_me: WARNING: /" >&2
14410 ;;
14411 esac
14412 echo "$as_me:$LINENO: checking for $ac_header" >&5
14413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14415 echo $ECHO_N "(cached) $ECHO_C" >&6
14416 else
14417 eval "$as_ac_Header=\$ac_header_preproc"
14418 fi
14419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14421
14422 fi
14423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14424 cat >>confdefs.h <<_ACEOF
14425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14426 _ACEOF
14427
14428 fi
14429
14430 done
14431
14432
14433 for ac_header in unistd.h
14434 do
14435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14437 echo "$as_me:$LINENO: checking for $ac_header" >&5
14438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14440 echo $ECHO_N "(cached) $ECHO_C" >&6
14441 fi
14442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14444 else
14445 # Is the header compilable?
14446 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14448 cat >conftest.$ac_ext <<_ACEOF
14449 /* confdefs.h. */
14450 _ACEOF
14451 cat confdefs.h >>conftest.$ac_ext
14452 cat >>conftest.$ac_ext <<_ACEOF
14453 /* end confdefs.h. */
14454 $ac_includes_default
14455 #include <$ac_header>
14456 _ACEOF
14457 rm -f conftest.$ac_objext
14458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14459 (eval $ac_compile) 2>conftest.er1
14460 ac_status=$?
14461 grep -v '^ *+' conftest.er1 >conftest.err
14462 rm -f conftest.er1
14463 cat conftest.err >&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } &&
14466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14468 (eval $ac_try) 2>&5
14469 ac_status=$?
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); }; } &&
14472 { ac_try='test -s conftest.$ac_objext'
14473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14474 (eval $ac_try) 2>&5
14475 ac_status=$?
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }; }; then
14478 ac_header_compiler=yes
14479 else
14480 echo "$as_me: failed program was:" >&5
14481 sed 's/^/| /' conftest.$ac_ext >&5
14482
14483 ac_header_compiler=no
14484 fi
14485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14486 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14487 echo "${ECHO_T}$ac_header_compiler" >&6
14488
14489 # Is the header present?
14490 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14491 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14492 cat >conftest.$ac_ext <<_ACEOF
14493 /* confdefs.h. */
14494 _ACEOF
14495 cat confdefs.h >>conftest.$ac_ext
14496 cat >>conftest.$ac_ext <<_ACEOF
14497 /* end confdefs.h. */
14498 #include <$ac_header>
14499 _ACEOF
14500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14501 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14502 ac_status=$?
14503 grep -v '^ *+' conftest.er1 >conftest.err
14504 rm -f conftest.er1
14505 cat conftest.err >&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } >/dev/null; then
14508 if test -s conftest.err; then
14509 ac_cpp_err=$ac_c_preproc_warn_flag
14510 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14511 else
14512 ac_cpp_err=
14513 fi
14514 else
14515 ac_cpp_err=yes
14516 fi
14517 if test -z "$ac_cpp_err"; then
14518 ac_header_preproc=yes
14519 else
14520 echo "$as_me: failed program was:" >&5
14521 sed 's/^/| /' conftest.$ac_ext >&5
14522
14523 ac_header_preproc=no
14524 fi
14525 rm -f conftest.err conftest.$ac_ext
14526 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14527 echo "${ECHO_T}$ac_header_preproc" >&6
14528
14529 # So? What about this header?
14530 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14531 yes:no: )
14532 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14533 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14535 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14536 ac_header_preproc=yes
14537 ;;
14538 no:yes:* )
14539 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14540 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14541 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14542 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14543 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14544 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14545 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14546 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14548 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14550 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14551 (
14552 cat <<\_ASBOX
14553 ## ----------------------------------------- ##
14554 ## Report this to wx-dev@lists.wxwidgets.org ##
14555 ## ----------------------------------------- ##
14556 _ASBOX
14557 ) |
14558 sed "s/^/$as_me: WARNING: /" >&2
14559 ;;
14560 esac
14561 echo "$as_me:$LINENO: checking for $ac_header" >&5
14562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14564 echo $ECHO_N "(cached) $ECHO_C" >&6
14565 else
14566 eval "$as_ac_Header=\$ac_header_preproc"
14567 fi
14568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14570
14571 fi
14572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14573 cat >>confdefs.h <<_ACEOF
14574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14575 _ACEOF
14576
14577 fi
14578
14579 done
14580
14581
14582 for ac_header in wchar.h
14583 do
14584 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14586 echo "$as_me:$LINENO: checking for $ac_header" >&5
14587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14590 fi
14591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14593 else
14594 # Is the header compilable?
14595 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14596 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14597 cat >conftest.$ac_ext <<_ACEOF
14598 /* confdefs.h. */
14599 _ACEOF
14600 cat confdefs.h >>conftest.$ac_ext
14601 cat >>conftest.$ac_ext <<_ACEOF
14602 /* end confdefs.h. */
14603 $ac_includes_default
14604 #include <$ac_header>
14605 _ACEOF
14606 rm -f conftest.$ac_objext
14607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14608 (eval $ac_compile) 2>conftest.er1
14609 ac_status=$?
14610 grep -v '^ *+' conftest.er1 >conftest.err
14611 rm -f conftest.er1
14612 cat conftest.err >&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); } &&
14615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14617 (eval $ac_try) 2>&5
14618 ac_status=$?
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; } &&
14621 { ac_try='test -s conftest.$ac_objext'
14622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14623 (eval $ac_try) 2>&5
14624 ac_status=$?
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }; }; then
14627 ac_header_compiler=yes
14628 else
14629 echo "$as_me: failed program was:" >&5
14630 sed 's/^/| /' conftest.$ac_ext >&5
14631
14632 ac_header_compiler=no
14633 fi
14634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14635 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14636 echo "${ECHO_T}$ac_header_compiler" >&6
14637
14638 # Is the header present?
14639 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14640 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14641 cat >conftest.$ac_ext <<_ACEOF
14642 /* confdefs.h. */
14643 _ACEOF
14644 cat confdefs.h >>conftest.$ac_ext
14645 cat >>conftest.$ac_ext <<_ACEOF
14646 /* end confdefs.h. */
14647 #include <$ac_header>
14648 _ACEOF
14649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14650 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14651 ac_status=$?
14652 grep -v '^ *+' conftest.er1 >conftest.err
14653 rm -f conftest.er1
14654 cat conftest.err >&5
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); } >/dev/null; then
14657 if test -s conftest.err; then
14658 ac_cpp_err=$ac_c_preproc_warn_flag
14659 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14660 else
14661 ac_cpp_err=
14662 fi
14663 else
14664 ac_cpp_err=yes
14665 fi
14666 if test -z "$ac_cpp_err"; then
14667 ac_header_preproc=yes
14668 else
14669 echo "$as_me: failed program was:" >&5
14670 sed 's/^/| /' conftest.$ac_ext >&5
14671
14672 ac_header_preproc=no
14673 fi
14674 rm -f conftest.err conftest.$ac_ext
14675 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14676 echo "${ECHO_T}$ac_header_preproc" >&6
14677
14678 # So? What about this header?
14679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14680 yes:no: )
14681 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14682 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14684 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14685 ac_header_preproc=yes
14686 ;;
14687 no:yes:* )
14688 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14689 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14690 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14691 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14692 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14693 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14694 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14695 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14697 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14698 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14699 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14700 (
14701 cat <<\_ASBOX
14702 ## ----------------------------------------- ##
14703 ## Report this to wx-dev@lists.wxwidgets.org ##
14704 ## ----------------------------------------- ##
14705 _ASBOX
14706 ) |
14707 sed "s/^/$as_me: WARNING: /" >&2
14708 ;;
14709 esac
14710 echo "$as_me:$LINENO: checking for $ac_header" >&5
14711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14713 echo $ECHO_N "(cached) $ECHO_C" >&6
14714 else
14715 eval "$as_ac_Header=\$ac_header_preproc"
14716 fi
14717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14719
14720 fi
14721 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14722 cat >>confdefs.h <<_ACEOF
14723 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14724 _ACEOF
14725
14726 fi
14727
14728 done
14729
14730
14731 if test "$ac_cv_header_wchar_h" != "yes"; then
14732
14733 for ac_header in wcstr.h
14734 do
14735 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14737 echo "$as_me:$LINENO: checking for $ac_header" >&5
14738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14741 fi
14742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14744 else
14745 # Is the header compilable?
14746 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14747 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14748 cat >conftest.$ac_ext <<_ACEOF
14749 /* confdefs.h. */
14750 _ACEOF
14751 cat confdefs.h >>conftest.$ac_ext
14752 cat >>conftest.$ac_ext <<_ACEOF
14753 /* end confdefs.h. */
14754 $ac_includes_default
14755 #include <$ac_header>
14756 _ACEOF
14757 rm -f conftest.$ac_objext
14758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14759 (eval $ac_compile) 2>conftest.er1
14760 ac_status=$?
14761 grep -v '^ *+' conftest.er1 >conftest.err
14762 rm -f conftest.er1
14763 cat conftest.err >&5
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 (exit $ac_status); } &&
14766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14768 (eval $ac_try) 2>&5
14769 ac_status=$?
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); }; } &&
14772 { ac_try='test -s conftest.$ac_objext'
14773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14774 (eval $ac_try) 2>&5
14775 ac_status=$?
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); }; }; then
14778 ac_header_compiler=yes
14779 else
14780 echo "$as_me: failed program was:" >&5
14781 sed 's/^/| /' conftest.$ac_ext >&5
14782
14783 ac_header_compiler=no
14784 fi
14785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14786 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14787 echo "${ECHO_T}$ac_header_compiler" >&6
14788
14789 # Is the header present?
14790 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14791 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14792 cat >conftest.$ac_ext <<_ACEOF
14793 /* confdefs.h. */
14794 _ACEOF
14795 cat confdefs.h >>conftest.$ac_ext
14796 cat >>conftest.$ac_ext <<_ACEOF
14797 /* end confdefs.h. */
14798 #include <$ac_header>
14799 _ACEOF
14800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14801 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14802 ac_status=$?
14803 grep -v '^ *+' conftest.er1 >conftest.err
14804 rm -f conftest.er1
14805 cat conftest.err >&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); } >/dev/null; then
14808 if test -s conftest.err; then
14809 ac_cpp_err=$ac_c_preproc_warn_flag
14810 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14811 else
14812 ac_cpp_err=
14813 fi
14814 else
14815 ac_cpp_err=yes
14816 fi
14817 if test -z "$ac_cpp_err"; then
14818 ac_header_preproc=yes
14819 else
14820 echo "$as_me: failed program was:" >&5
14821 sed 's/^/| /' conftest.$ac_ext >&5
14822
14823 ac_header_preproc=no
14824 fi
14825 rm -f conftest.err conftest.$ac_ext
14826 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14827 echo "${ECHO_T}$ac_header_preproc" >&6
14828
14829 # So? What about this header?
14830 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14831 yes:no: )
14832 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14833 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14835 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14836 ac_header_preproc=yes
14837 ;;
14838 no:yes:* )
14839 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14840 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14841 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14842 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14843 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14844 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14845 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14846 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14849 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14850 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14851 (
14852 cat <<\_ASBOX
14853 ## ----------------------------------------- ##
14854 ## Report this to wx-dev@lists.wxwidgets.org ##
14855 ## ----------------------------------------- ##
14856 _ASBOX
14857 ) |
14858 sed "s/^/$as_me: WARNING: /" >&2
14859 ;;
14860 esac
14861 echo "$as_me:$LINENO: checking for $ac_header" >&5
14862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14864 echo $ECHO_N "(cached) $ECHO_C" >&6
14865 else
14866 eval "$as_ac_Header=\$ac_header_preproc"
14867 fi
14868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14870
14871 fi
14872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14873 cat >>confdefs.h <<_ACEOF
14874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14875 _ACEOF
14876
14877 fi
14878
14879 done
14880
14881 fi
14882
14883
14884 for ac_header in fnmatch.h
14885 do
14886 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14888 echo "$as_me:$LINENO: checking for $ac_header" >&5
14889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14892 fi
14893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14895 else
14896 # Is the header compilable?
14897 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14898 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14899 cat >conftest.$ac_ext <<_ACEOF
14900 /* confdefs.h. */
14901 _ACEOF
14902 cat confdefs.h >>conftest.$ac_ext
14903 cat >>conftest.$ac_ext <<_ACEOF
14904 /* end confdefs.h. */
14905 $ac_includes_default
14906 #include <$ac_header>
14907 _ACEOF
14908 rm -f conftest.$ac_objext
14909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14910 (eval $ac_compile) 2>conftest.er1
14911 ac_status=$?
14912 grep -v '^ *+' conftest.er1 >conftest.err
14913 rm -f conftest.er1
14914 cat conftest.err >&5
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); } &&
14917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14919 (eval $ac_try) 2>&5
14920 ac_status=$?
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14922 (exit $ac_status); }; } &&
14923 { ac_try='test -s conftest.$ac_objext'
14924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14925 (eval $ac_try) 2>&5
14926 ac_status=$?
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); }; }; then
14929 ac_header_compiler=yes
14930 else
14931 echo "$as_me: failed program was:" >&5
14932 sed 's/^/| /' conftest.$ac_ext >&5
14933
14934 ac_header_compiler=no
14935 fi
14936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14937 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14938 echo "${ECHO_T}$ac_header_compiler" >&6
14939
14940 # Is the header present?
14941 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14942 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14943 cat >conftest.$ac_ext <<_ACEOF
14944 /* confdefs.h. */
14945 _ACEOF
14946 cat confdefs.h >>conftest.$ac_ext
14947 cat >>conftest.$ac_ext <<_ACEOF
14948 /* end confdefs.h. */
14949 #include <$ac_header>
14950 _ACEOF
14951 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14952 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14953 ac_status=$?
14954 grep -v '^ *+' conftest.er1 >conftest.err
14955 rm -f conftest.er1
14956 cat conftest.err >&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } >/dev/null; then
14959 if test -s conftest.err; then
14960 ac_cpp_err=$ac_c_preproc_warn_flag
14961 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14962 else
14963 ac_cpp_err=
14964 fi
14965 else
14966 ac_cpp_err=yes
14967 fi
14968 if test -z "$ac_cpp_err"; then
14969 ac_header_preproc=yes
14970 else
14971 echo "$as_me: failed program was:" >&5
14972 sed 's/^/| /' conftest.$ac_ext >&5
14973
14974 ac_header_preproc=no
14975 fi
14976 rm -f conftest.err conftest.$ac_ext
14977 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14978 echo "${ECHO_T}$ac_header_preproc" >&6
14979
14980 # So? What about this header?
14981 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14982 yes:no: )
14983 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14984 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14986 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14987 ac_header_preproc=yes
14988 ;;
14989 no:yes:* )
14990 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14991 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14992 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14993 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14994 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14995 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14996 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14997 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14999 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15000 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15001 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15002 (
15003 cat <<\_ASBOX
15004 ## ----------------------------------------- ##
15005 ## Report this to wx-dev@lists.wxwidgets.org ##
15006 ## ----------------------------------------- ##
15007 _ASBOX
15008 ) |
15009 sed "s/^/$as_me: WARNING: /" >&2
15010 ;;
15011 esac
15012 echo "$as_me:$LINENO: checking for $ac_header" >&5
15013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15015 echo $ECHO_N "(cached) $ECHO_C" >&6
15016 else
15017 eval "$as_ac_Header=\$ac_header_preproc"
15018 fi
15019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15020 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15021
15022 fi
15023 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15024 cat >>confdefs.h <<_ACEOF
15025 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15026 _ACEOF
15027
15028 fi
15029
15030 done
15031
15032
15033
15034 for ac_header in langinfo.h
15035 do
15036 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15038 echo "$as_me:$LINENO: checking for $ac_header" >&5
15039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15041 echo $ECHO_N "(cached) $ECHO_C" >&6
15042 fi
15043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15045 else
15046 # Is the header compilable?
15047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15049 cat >conftest.$ac_ext <<_ACEOF
15050 /* confdefs.h. */
15051 _ACEOF
15052 cat confdefs.h >>conftest.$ac_ext
15053 cat >>conftest.$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15055 $ac_includes_default
15056 #include <$ac_header>
15057 _ACEOF
15058 rm -f conftest.$ac_objext
15059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15060 (eval $ac_compile) 2>conftest.er1
15061 ac_status=$?
15062 grep -v '^ *+' conftest.er1 >conftest.err
15063 rm -f conftest.er1
15064 cat conftest.err >&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); } &&
15067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15069 (eval $ac_try) 2>&5
15070 ac_status=$?
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); }; } &&
15073 { ac_try='test -s conftest.$ac_objext'
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075 (eval $ac_try) 2>&5
15076 ac_status=$?
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); }; }; then
15079 ac_header_compiler=yes
15080 else
15081 echo "$as_me: failed program was:" >&5
15082 sed 's/^/| /' conftest.$ac_ext >&5
15083
15084 ac_header_compiler=no
15085 fi
15086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15088 echo "${ECHO_T}$ac_header_compiler" >&6
15089
15090 # Is the header present?
15091 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15092 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15093 cat >conftest.$ac_ext <<_ACEOF
15094 /* confdefs.h. */
15095 _ACEOF
15096 cat confdefs.h >>conftest.$ac_ext
15097 cat >>conftest.$ac_ext <<_ACEOF
15098 /* end confdefs.h. */
15099 #include <$ac_header>
15100 _ACEOF
15101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15103 ac_status=$?
15104 grep -v '^ *+' conftest.er1 >conftest.err
15105 rm -f conftest.er1
15106 cat conftest.err >&5
15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108 (exit $ac_status); } >/dev/null; then
15109 if test -s conftest.err; then
15110 ac_cpp_err=$ac_c_preproc_warn_flag
15111 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15112 else
15113 ac_cpp_err=
15114 fi
15115 else
15116 ac_cpp_err=yes
15117 fi
15118 if test -z "$ac_cpp_err"; then
15119 ac_header_preproc=yes
15120 else
15121 echo "$as_me: failed program was:" >&5
15122 sed 's/^/| /' conftest.$ac_ext >&5
15123
15124 ac_header_preproc=no
15125 fi
15126 rm -f conftest.err conftest.$ac_ext
15127 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15128 echo "${ECHO_T}$ac_header_preproc" >&6
15129
15130 # So? What about this header?
15131 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15132 yes:no: )
15133 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15134 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15136 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15137 ac_header_preproc=yes
15138 ;;
15139 no:yes:* )
15140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15144 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15145 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15146 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15147 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15150 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15151 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15152 (
15153 cat <<\_ASBOX
15154 ## ----------------------------------------- ##
15155 ## Report this to wx-dev@lists.wxwidgets.org ##
15156 ## ----------------------------------------- ##
15157 _ASBOX
15158 ) |
15159 sed "s/^/$as_me: WARNING: /" >&2
15160 ;;
15161 esac
15162 echo "$as_me:$LINENO: checking for $ac_header" >&5
15163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15165 echo $ECHO_N "(cached) $ECHO_C" >&6
15166 else
15167 eval "$as_ac_Header=\$ac_header_preproc"
15168 fi
15169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15171
15172 fi
15173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15174 cat >>confdefs.h <<_ACEOF
15175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15176 _ACEOF
15177
15178 fi
15179
15180 done
15181
15182
15183 case "${host}" in
15184 *-pc-os2_emx | *-pc-os2-emx )
15185 if test $ac_cv_header_langinfo_h = "yes" \
15186 -a \( "$wx_cv_gccversion" = "EMX2" \
15187 -o "$wx_cv_gccversion" = "EMX3" \
15188 -o "$wx_cv_gccversion" = "Innotek5" \); then
15189 LIBS="$LIBS -lintl"
15190 fi
15191 ;;
15192 esac
15193
15194
15195 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15196 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15197 if test "${ac_cv_c_const+set}" = set; then
15198 echo $ECHO_N "(cached) $ECHO_C" >&6
15199 else
15200 cat >conftest.$ac_ext <<_ACEOF
15201 /* confdefs.h. */
15202 _ACEOF
15203 cat confdefs.h >>conftest.$ac_ext
15204 cat >>conftest.$ac_ext <<_ACEOF
15205 /* end confdefs.h. */
15206
15207 int
15208 main ()
15209 {
15210 /* FIXME: Include the comments suggested by Paul. */
15211 #ifndef __cplusplus
15212 /* Ultrix mips cc rejects this. */
15213 typedef int charset[2];
15214 const charset x;
15215 /* SunOS 4.1.1 cc rejects this. */
15216 char const *const *ccp;
15217 char **p;
15218 /* NEC SVR4.0.2 mips cc rejects this. */
15219 struct point {int x, y;};
15220 static struct point const zero = {0,0};
15221 /* AIX XL C 1.02.0.0 rejects this.
15222 It does not let you subtract one const X* pointer from another in
15223 an arm of an if-expression whose if-part is not a constant
15224 expression */
15225 const char *g = "string";
15226 ccp = &g + (g ? g-g : 0);
15227 /* HPUX 7.0 cc rejects these. */
15228 ++ccp;
15229 p = (char**) ccp;
15230 ccp = (char const *const *) p;
15231 { /* SCO 3.2v4 cc rejects this. */
15232 char *t;
15233 char const *s = 0 ? (char *) 0 : (char const *) 0;
15234
15235 *t++ = 0;
15236 }
15237 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15238 int x[] = {25, 17};
15239 const int *foo = &x[0];
15240 ++foo;
15241 }
15242 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15243 typedef const int *iptr;
15244 iptr p = 0;
15245 ++p;
15246 }
15247 { /* AIX XL C 1.02.0.0 rejects this saying
15248 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15249 struct s { int j; const int *ap[3]; };
15250 struct s *b; b->j = 5;
15251 }
15252 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15253 const int foo = 10;
15254 }
15255 #endif
15256
15257 ;
15258 return 0;
15259 }
15260 _ACEOF
15261 rm -f conftest.$ac_objext
15262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15263 (eval $ac_compile) 2>conftest.er1
15264 ac_status=$?
15265 grep -v '^ *+' conftest.er1 >conftest.err
15266 rm -f conftest.er1
15267 cat conftest.err >&5
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); } &&
15270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15272 (eval $ac_try) 2>&5
15273 ac_status=$?
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); }; } &&
15276 { ac_try='test -s conftest.$ac_objext'
15277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15278 (eval $ac_try) 2>&5
15279 ac_status=$?
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); }; }; then
15282 ac_cv_c_const=yes
15283 else
15284 echo "$as_me: failed program was:" >&5
15285 sed 's/^/| /' conftest.$ac_ext >&5
15286
15287 ac_cv_c_const=no
15288 fi
15289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15290 fi
15291 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15292 echo "${ECHO_T}$ac_cv_c_const" >&6
15293 if test $ac_cv_c_const = no; then
15294
15295 cat >>confdefs.h <<\_ACEOF
15296 #define const
15297 _ACEOF
15298
15299 fi
15300
15301 echo "$as_me:$LINENO: checking for inline" >&5
15302 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15303 if test "${ac_cv_c_inline+set}" = set; then
15304 echo $ECHO_N "(cached) $ECHO_C" >&6
15305 else
15306 ac_cv_c_inline=no
15307 for ac_kw in inline __inline__ __inline; do
15308 cat >conftest.$ac_ext <<_ACEOF
15309 /* confdefs.h. */
15310 _ACEOF
15311 cat confdefs.h >>conftest.$ac_ext
15312 cat >>conftest.$ac_ext <<_ACEOF
15313 /* end confdefs.h. */
15314 #ifndef __cplusplus
15315 typedef int foo_t;
15316 static $ac_kw foo_t static_foo () {return 0; }
15317 $ac_kw foo_t foo () {return 0; }
15318 #endif
15319
15320 _ACEOF
15321 rm -f conftest.$ac_objext
15322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15323 (eval $ac_compile) 2>conftest.er1
15324 ac_status=$?
15325 grep -v '^ *+' conftest.er1 >conftest.err
15326 rm -f conftest.er1
15327 cat conftest.err >&5
15328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15329 (exit $ac_status); } &&
15330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15332 (eval $ac_try) 2>&5
15333 ac_status=$?
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); }; } &&
15336 { ac_try='test -s conftest.$ac_objext'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15339 ac_status=$?
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; }; then
15342 ac_cv_c_inline=$ac_kw; break
15343 else
15344 echo "$as_me: failed program was:" >&5
15345 sed 's/^/| /' conftest.$ac_ext >&5
15346
15347 fi
15348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15349 done
15350
15351 fi
15352 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15353 echo "${ECHO_T}$ac_cv_c_inline" >&6
15354
15355
15356 case $ac_cv_c_inline in
15357 inline | yes) ;;
15358 *)
15359 case $ac_cv_c_inline in
15360 no) ac_val=;;
15361 *) ac_val=$ac_cv_c_inline;;
15362 esac
15363 cat >>confdefs.h <<_ACEOF
15364 #ifndef __cplusplus
15365 #define inline $ac_val
15366 #endif
15367 _ACEOF
15368 ;;
15369 esac
15370
15371
15372 echo "$as_me:$LINENO: checking for char" >&5
15373 echo $ECHO_N "checking for char... $ECHO_C" >&6
15374 if test "${ac_cv_type_char+set}" = set; then
15375 echo $ECHO_N "(cached) $ECHO_C" >&6
15376 else
15377 cat >conftest.$ac_ext <<_ACEOF
15378 /* confdefs.h. */
15379 _ACEOF
15380 cat confdefs.h >>conftest.$ac_ext
15381 cat >>conftest.$ac_ext <<_ACEOF
15382 /* end confdefs.h. */
15383 $ac_includes_default
15384 int
15385 main ()
15386 {
15387 if ((char *) 0)
15388 return 0;
15389 if (sizeof (char))
15390 return 0;
15391 ;
15392 return 0;
15393 }
15394 _ACEOF
15395 rm -f conftest.$ac_objext
15396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15397 (eval $ac_compile) 2>conftest.er1
15398 ac_status=$?
15399 grep -v '^ *+' conftest.er1 >conftest.err
15400 rm -f conftest.er1
15401 cat conftest.err >&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); } &&
15404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15406 (eval $ac_try) 2>&5
15407 ac_status=$?
15408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15409 (exit $ac_status); }; } &&
15410 { ac_try='test -s conftest.$ac_objext'
15411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15412 (eval $ac_try) 2>&5
15413 ac_status=$?
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); }; }; then
15416 ac_cv_type_char=yes
15417 else
15418 echo "$as_me: failed program was:" >&5
15419 sed 's/^/| /' conftest.$ac_ext >&5
15420
15421 ac_cv_type_char=no
15422 fi
15423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15424 fi
15425 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15426 echo "${ECHO_T}$ac_cv_type_char" >&6
15427
15428 echo "$as_me:$LINENO: checking size of char" >&5
15429 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15430 if test "${ac_cv_sizeof_char+set}" = set; then
15431 echo $ECHO_N "(cached) $ECHO_C" >&6
15432 else
15433 if test "$ac_cv_type_char" = yes; then
15434 # The cast to unsigned long works around a bug in the HP C Compiler
15435 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15436 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15437 # This bug is HP SR number 8606223364.
15438 if test "$cross_compiling" = yes; then
15439 # Depending upon the size, compute the lo and hi bounds.
15440 cat >conftest.$ac_ext <<_ACEOF
15441 /* confdefs.h. */
15442 _ACEOF
15443 cat confdefs.h >>conftest.$ac_ext
15444 cat >>conftest.$ac_ext <<_ACEOF
15445 /* end confdefs.h. */
15446 $ac_includes_default
15447 int
15448 main ()
15449 {
15450 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15451 test_array [0] = 0
15452
15453 ;
15454 return 0;
15455 }
15456 _ACEOF
15457 rm -f conftest.$ac_objext
15458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15459 (eval $ac_compile) 2>conftest.er1
15460 ac_status=$?
15461 grep -v '^ *+' conftest.er1 >conftest.err
15462 rm -f conftest.er1
15463 cat conftest.err >&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); } &&
15466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15468 (eval $ac_try) 2>&5
15469 ac_status=$?
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); }; } &&
15472 { ac_try='test -s conftest.$ac_objext'
15473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15474 (eval $ac_try) 2>&5
15475 ac_status=$?
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); }; }; then
15478 ac_lo=0 ac_mid=0
15479 while :; do
15480 cat >conftest.$ac_ext <<_ACEOF
15481 /* confdefs.h. */
15482 _ACEOF
15483 cat confdefs.h >>conftest.$ac_ext
15484 cat >>conftest.$ac_ext <<_ACEOF
15485 /* end confdefs.h. */
15486 $ac_includes_default
15487 int
15488 main ()
15489 {
15490 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15491 test_array [0] = 0
15492
15493 ;
15494 return 0;
15495 }
15496 _ACEOF
15497 rm -f conftest.$ac_objext
15498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15499 (eval $ac_compile) 2>conftest.er1
15500 ac_status=$?
15501 grep -v '^ *+' conftest.er1 >conftest.err
15502 rm -f conftest.er1
15503 cat conftest.err >&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); } &&
15506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15508 (eval $ac_try) 2>&5
15509 ac_status=$?
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); }; } &&
15512 { ac_try='test -s conftest.$ac_objext'
15513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15514 (eval $ac_try) 2>&5
15515 ac_status=$?
15516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15517 (exit $ac_status); }; }; then
15518 ac_hi=$ac_mid; break
15519 else
15520 echo "$as_me: failed program was:" >&5
15521 sed 's/^/| /' conftest.$ac_ext >&5
15522
15523 ac_lo=`expr $ac_mid + 1`
15524 if test $ac_lo -le $ac_mid; then
15525 ac_lo= ac_hi=
15526 break
15527 fi
15528 ac_mid=`expr 2 '*' $ac_mid + 1`
15529 fi
15530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15531 done
15532 else
15533 echo "$as_me: failed program was:" >&5
15534 sed 's/^/| /' conftest.$ac_ext >&5
15535
15536 cat >conftest.$ac_ext <<_ACEOF
15537 /* confdefs.h. */
15538 _ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15542 $ac_includes_default
15543 int
15544 main ()
15545 {
15546 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15547 test_array [0] = 0
15548
15549 ;
15550 return 0;
15551 }
15552 _ACEOF
15553 rm -f conftest.$ac_objext
15554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15555 (eval $ac_compile) 2>conftest.er1
15556 ac_status=$?
15557 grep -v '^ *+' conftest.er1 >conftest.err
15558 rm -f conftest.er1
15559 cat conftest.err >&5
15560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15561 (exit $ac_status); } &&
15562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15564 (eval $ac_try) 2>&5
15565 ac_status=$?
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); }; } &&
15568 { ac_try='test -s conftest.$ac_objext'
15569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15570 (eval $ac_try) 2>&5
15571 ac_status=$?
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); }; }; then
15574 ac_hi=-1 ac_mid=-1
15575 while :; do
15576 cat >conftest.$ac_ext <<_ACEOF
15577 /* confdefs.h. */
15578 _ACEOF
15579 cat confdefs.h >>conftest.$ac_ext
15580 cat >>conftest.$ac_ext <<_ACEOF
15581 /* end confdefs.h. */
15582 $ac_includes_default
15583 int
15584 main ()
15585 {
15586 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15587 test_array [0] = 0
15588
15589 ;
15590 return 0;
15591 }
15592 _ACEOF
15593 rm -f conftest.$ac_objext
15594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15595 (eval $ac_compile) 2>conftest.er1
15596 ac_status=$?
15597 grep -v '^ *+' conftest.er1 >conftest.err
15598 rm -f conftest.er1
15599 cat conftest.err >&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); } &&
15602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15604 (eval $ac_try) 2>&5
15605 ac_status=$?
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; } &&
15608 { ac_try='test -s conftest.$ac_objext'
15609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15610 (eval $ac_try) 2>&5
15611 ac_status=$?
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); }; }; then
15614 ac_lo=$ac_mid; break
15615 else
15616 echo "$as_me: failed program was:" >&5
15617 sed 's/^/| /' conftest.$ac_ext >&5
15618
15619 ac_hi=`expr '(' $ac_mid ')' - 1`
15620 if test $ac_mid -le $ac_hi; then
15621 ac_lo= ac_hi=
15622 break
15623 fi
15624 ac_mid=`expr 2 '*' $ac_mid`
15625 fi
15626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15627 done
15628 else
15629 echo "$as_me: failed program was:" >&5
15630 sed 's/^/| /' conftest.$ac_ext >&5
15631
15632 ac_lo= ac_hi=
15633 fi
15634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15635 fi
15636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15637 # Binary search between lo and hi bounds.
15638 while test "x$ac_lo" != "x$ac_hi"; do
15639 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15640 cat >conftest.$ac_ext <<_ACEOF
15641 /* confdefs.h. */
15642 _ACEOF
15643 cat confdefs.h >>conftest.$ac_ext
15644 cat >>conftest.$ac_ext <<_ACEOF
15645 /* end confdefs.h. */
15646 $ac_includes_default
15647 int
15648 main ()
15649 {
15650 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15651 test_array [0] = 0
15652
15653 ;
15654 return 0;
15655 }
15656 _ACEOF
15657 rm -f conftest.$ac_objext
15658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15659 (eval $ac_compile) 2>conftest.er1
15660 ac_status=$?
15661 grep -v '^ *+' conftest.er1 >conftest.err
15662 rm -f conftest.er1
15663 cat conftest.err >&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); } &&
15666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15668 (eval $ac_try) 2>&5
15669 ac_status=$?
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); }; } &&
15672 { ac_try='test -s conftest.$ac_objext'
15673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15674 (eval $ac_try) 2>&5
15675 ac_status=$?
15676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15677 (exit $ac_status); }; }; then
15678 ac_hi=$ac_mid
15679 else
15680 echo "$as_me: failed program was:" >&5
15681 sed 's/^/| /' conftest.$ac_ext >&5
15682
15683 ac_lo=`expr '(' $ac_mid ')' + 1`
15684 fi
15685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15686 done
15687 case $ac_lo in
15688 ?*) ac_cv_sizeof_char=$ac_lo;;
15689 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15690 See \`config.log' for more details." >&5
15691 echo "$as_me: error: cannot compute sizeof (char), 77
15692 See \`config.log' for more details." >&2;}
15693 { (exit 1); exit 1; }; } ;;
15694 esac
15695 else
15696 if test "$cross_compiling" = yes; then
15697 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15698 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15699 { (exit 1); exit 1; }; }
15700 else
15701 cat >conftest.$ac_ext <<_ACEOF
15702 /* confdefs.h. */
15703 _ACEOF
15704 cat confdefs.h >>conftest.$ac_ext
15705 cat >>conftest.$ac_ext <<_ACEOF
15706 /* end confdefs.h. */
15707 $ac_includes_default
15708 long longval () { return (long) (sizeof (char)); }
15709 unsigned long ulongval () { return (long) (sizeof (char)); }
15710 #include <stdio.h>
15711 #include <stdlib.h>
15712 int
15713 main ()
15714 {
15715
15716 FILE *f = fopen ("conftest.val", "w");
15717 if (! f)
15718 exit (1);
15719 if (((long) (sizeof (char))) < 0)
15720 {
15721 long i = longval ();
15722 if (i != ((long) (sizeof (char))))
15723 exit (1);
15724 fprintf (f, "%ld\n", i);
15725 }
15726 else
15727 {
15728 unsigned long i = ulongval ();
15729 if (i != ((long) (sizeof (char))))
15730 exit (1);
15731 fprintf (f, "%lu\n", i);
15732 }
15733 exit (ferror (f) || fclose (f) != 0);
15734
15735 ;
15736 return 0;
15737 }
15738 _ACEOF
15739 rm -f conftest$ac_exeext
15740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15741 (eval $ac_link) 2>&5
15742 ac_status=$?
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15747 ac_status=$?
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; }; then
15750 ac_cv_sizeof_char=`cat conftest.val`
15751 else
15752 echo "$as_me: program exited with status $ac_status" >&5
15753 echo "$as_me: failed program was:" >&5
15754 sed 's/^/| /' conftest.$ac_ext >&5
15755
15756 ( exit $ac_status )
15757 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15758 See \`config.log' for more details." >&5
15759 echo "$as_me: error: cannot compute sizeof (char), 77
15760 See \`config.log' for more details." >&2;}
15761 { (exit 1); exit 1; }; }
15762 fi
15763 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15764 fi
15765 fi
15766 rm -f conftest.val
15767 else
15768 ac_cv_sizeof_char=0
15769 fi
15770 fi
15771 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15772 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15773 cat >>confdefs.h <<_ACEOF
15774 #define SIZEOF_CHAR $ac_cv_sizeof_char
15775 _ACEOF
15776
15777
15778 echo "$as_me:$LINENO: checking for short" >&5
15779 echo $ECHO_N "checking for short... $ECHO_C" >&6
15780 if test "${ac_cv_type_short+set}" = set; then
15781 echo $ECHO_N "(cached) $ECHO_C" >&6
15782 else
15783 cat >conftest.$ac_ext <<_ACEOF
15784 /* confdefs.h. */
15785 _ACEOF
15786 cat confdefs.h >>conftest.$ac_ext
15787 cat >>conftest.$ac_ext <<_ACEOF
15788 /* end confdefs.h. */
15789 $ac_includes_default
15790 int
15791 main ()
15792 {
15793 if ((short *) 0)
15794 return 0;
15795 if (sizeof (short))
15796 return 0;
15797 ;
15798 return 0;
15799 }
15800 _ACEOF
15801 rm -f conftest.$ac_objext
15802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15803 (eval $ac_compile) 2>conftest.er1
15804 ac_status=$?
15805 grep -v '^ *+' conftest.er1 >conftest.err
15806 rm -f conftest.er1
15807 cat conftest.err >&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); } &&
15810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15813 ac_status=$?
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; } &&
15816 { ac_try='test -s conftest.$ac_objext'
15817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818 (eval $ac_try) 2>&5
15819 ac_status=$?
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; }; then
15822 ac_cv_type_short=yes
15823 else
15824 echo "$as_me: failed program was:" >&5
15825 sed 's/^/| /' conftest.$ac_ext >&5
15826
15827 ac_cv_type_short=no
15828 fi
15829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15830 fi
15831 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15832 echo "${ECHO_T}$ac_cv_type_short" >&6
15833
15834 echo "$as_me:$LINENO: checking size of short" >&5
15835 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15836 if test "${ac_cv_sizeof_short+set}" = set; then
15837 echo $ECHO_N "(cached) $ECHO_C" >&6
15838 else
15839 if test "$ac_cv_type_short" = yes; then
15840 # The cast to unsigned long works around a bug in the HP C Compiler
15841 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15842 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15843 # This bug is HP SR number 8606223364.
15844 if test "$cross_compiling" = yes; then
15845 # Depending upon the size, compute the lo and hi bounds.
15846 cat >conftest.$ac_ext <<_ACEOF
15847 /* confdefs.h. */
15848 _ACEOF
15849 cat confdefs.h >>conftest.$ac_ext
15850 cat >>conftest.$ac_ext <<_ACEOF
15851 /* end confdefs.h. */
15852 $ac_includes_default
15853 int
15854 main ()
15855 {
15856 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15857 test_array [0] = 0
15858
15859 ;
15860 return 0;
15861 }
15862 _ACEOF
15863 rm -f conftest.$ac_objext
15864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15865 (eval $ac_compile) 2>conftest.er1
15866 ac_status=$?
15867 grep -v '^ *+' conftest.er1 >conftest.err
15868 rm -f conftest.er1
15869 cat conftest.err >&5
15870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15871 (exit $ac_status); } &&
15872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15874 (eval $ac_try) 2>&5
15875 ac_status=$?
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); }; } &&
15878 { ac_try='test -s conftest.$ac_objext'
15879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15880 (eval $ac_try) 2>&5
15881 ac_status=$?
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); }; }; then
15884 ac_lo=0 ac_mid=0
15885 while :; do
15886 cat >conftest.$ac_ext <<_ACEOF
15887 /* confdefs.h. */
15888 _ACEOF
15889 cat confdefs.h >>conftest.$ac_ext
15890 cat >>conftest.$ac_ext <<_ACEOF
15891 /* end confdefs.h. */
15892 $ac_includes_default
15893 int
15894 main ()
15895 {
15896 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15897 test_array [0] = 0
15898
15899 ;
15900 return 0;
15901 }
15902 _ACEOF
15903 rm -f conftest.$ac_objext
15904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15905 (eval $ac_compile) 2>conftest.er1
15906 ac_status=$?
15907 grep -v '^ *+' conftest.er1 >conftest.err
15908 rm -f conftest.er1
15909 cat conftest.err >&5
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); } &&
15912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15914 (eval $ac_try) 2>&5
15915 ac_status=$?
15916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); }; } &&
15918 { ac_try='test -s conftest.$ac_objext'
15919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15920 (eval $ac_try) 2>&5
15921 ac_status=$?
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); }; }; then
15924 ac_hi=$ac_mid; break
15925 else
15926 echo "$as_me: failed program was:" >&5
15927 sed 's/^/| /' conftest.$ac_ext >&5
15928
15929 ac_lo=`expr $ac_mid + 1`
15930 if test $ac_lo -le $ac_mid; then
15931 ac_lo= ac_hi=
15932 break
15933 fi
15934 ac_mid=`expr 2 '*' $ac_mid + 1`
15935 fi
15936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15937 done
15938 else
15939 echo "$as_me: failed program was:" >&5
15940 sed 's/^/| /' conftest.$ac_ext >&5
15941
15942 cat >conftest.$ac_ext <<_ACEOF
15943 /* confdefs.h. */
15944 _ACEOF
15945 cat confdefs.h >>conftest.$ac_ext
15946 cat >>conftest.$ac_ext <<_ACEOF
15947 /* end confdefs.h. */
15948 $ac_includes_default
15949 int
15950 main ()
15951 {
15952 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15953 test_array [0] = 0
15954
15955 ;
15956 return 0;
15957 }
15958 _ACEOF
15959 rm -f conftest.$ac_objext
15960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15961 (eval $ac_compile) 2>conftest.er1
15962 ac_status=$?
15963 grep -v '^ *+' conftest.er1 >conftest.err
15964 rm -f conftest.er1
15965 cat conftest.err >&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); } &&
15968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15970 (eval $ac_try) 2>&5
15971 ac_status=$?
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); }; } &&
15974 { ac_try='test -s conftest.$ac_objext'
15975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15976 (eval $ac_try) 2>&5
15977 ac_status=$?
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); }; }; then
15980 ac_hi=-1 ac_mid=-1
15981 while :; do
15982 cat >conftest.$ac_ext <<_ACEOF
15983 /* confdefs.h. */
15984 _ACEOF
15985 cat confdefs.h >>conftest.$ac_ext
15986 cat >>conftest.$ac_ext <<_ACEOF
15987 /* end confdefs.h. */
15988 $ac_includes_default
15989 int
15990 main ()
15991 {
15992 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15993 test_array [0] = 0
15994
15995 ;
15996 return 0;
15997 }
15998 _ACEOF
15999 rm -f conftest.$ac_objext
16000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16001 (eval $ac_compile) 2>conftest.er1
16002 ac_status=$?
16003 grep -v '^ *+' conftest.er1 >conftest.err
16004 rm -f conftest.er1
16005 cat conftest.err >&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); } &&
16008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16010 (eval $ac_try) 2>&5
16011 ac_status=$?
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }; } &&
16014 { ac_try='test -s conftest.$ac_objext'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16017 ac_status=$?
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; }; then
16020 ac_lo=$ac_mid; break
16021 else
16022 echo "$as_me: failed program was:" >&5
16023 sed 's/^/| /' conftest.$ac_ext >&5
16024
16025 ac_hi=`expr '(' $ac_mid ')' - 1`
16026 if test $ac_mid -le $ac_hi; then
16027 ac_lo= ac_hi=
16028 break
16029 fi
16030 ac_mid=`expr 2 '*' $ac_mid`
16031 fi
16032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16033 done
16034 else
16035 echo "$as_me: failed program was:" >&5
16036 sed 's/^/| /' conftest.$ac_ext >&5
16037
16038 ac_lo= ac_hi=
16039 fi
16040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16041 fi
16042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16043 # Binary search between lo and hi bounds.
16044 while test "x$ac_lo" != "x$ac_hi"; do
16045 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16046 cat >conftest.$ac_ext <<_ACEOF
16047 /* confdefs.h. */
16048 _ACEOF
16049 cat confdefs.h >>conftest.$ac_ext
16050 cat >>conftest.$ac_ext <<_ACEOF
16051 /* end confdefs.h. */
16052 $ac_includes_default
16053 int
16054 main ()
16055 {
16056 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16057 test_array [0] = 0
16058
16059 ;
16060 return 0;
16061 }
16062 _ACEOF
16063 rm -f conftest.$ac_objext
16064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16065 (eval $ac_compile) 2>conftest.er1
16066 ac_status=$?
16067 grep -v '^ *+' conftest.er1 >conftest.err
16068 rm -f conftest.er1
16069 cat conftest.err >&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } &&
16072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074 (eval $ac_try) 2>&5
16075 ac_status=$?
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); }; } &&
16078 { ac_try='test -s conftest.$ac_objext'
16079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16080 (eval $ac_try) 2>&5
16081 ac_status=$?
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); }; }; then
16084 ac_hi=$ac_mid
16085 else
16086 echo "$as_me: failed program was:" >&5
16087 sed 's/^/| /' conftest.$ac_ext >&5
16088
16089 ac_lo=`expr '(' $ac_mid ')' + 1`
16090 fi
16091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16092 done
16093 case $ac_lo in
16094 ?*) ac_cv_sizeof_short=$ac_lo;;
16095 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16096 See \`config.log' for more details." >&5
16097 echo "$as_me: error: cannot compute sizeof (short), 77
16098 See \`config.log' for more details." >&2;}
16099 { (exit 1); exit 1; }; } ;;
16100 esac
16101 else
16102 if test "$cross_compiling" = yes; then
16103 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16104 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16105 { (exit 1); exit 1; }; }
16106 else
16107 cat >conftest.$ac_ext <<_ACEOF
16108 /* confdefs.h. */
16109 _ACEOF
16110 cat confdefs.h >>conftest.$ac_ext
16111 cat >>conftest.$ac_ext <<_ACEOF
16112 /* end confdefs.h. */
16113 $ac_includes_default
16114 long longval () { return (long) (sizeof (short)); }
16115 unsigned long ulongval () { return (long) (sizeof (short)); }
16116 #include <stdio.h>
16117 #include <stdlib.h>
16118 int
16119 main ()
16120 {
16121
16122 FILE *f = fopen ("conftest.val", "w");
16123 if (! f)
16124 exit (1);
16125 if (((long) (sizeof (short))) < 0)
16126 {
16127 long i = longval ();
16128 if (i != ((long) (sizeof (short))))
16129 exit (1);
16130 fprintf (f, "%ld\n", i);
16131 }
16132 else
16133 {
16134 unsigned long i = ulongval ();
16135 if (i != ((long) (sizeof (short))))
16136 exit (1);
16137 fprintf (f, "%lu\n", i);
16138 }
16139 exit (ferror (f) || fclose (f) != 0);
16140
16141 ;
16142 return 0;
16143 }
16144 _ACEOF
16145 rm -f conftest$ac_exeext
16146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16147 (eval $ac_link) 2>&5
16148 ac_status=$?
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16152 (eval $ac_try) 2>&5
16153 ac_status=$?
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; }; then
16156 ac_cv_sizeof_short=`cat conftest.val`
16157 else
16158 echo "$as_me: program exited with status $ac_status" >&5
16159 echo "$as_me: failed program was:" >&5
16160 sed 's/^/| /' conftest.$ac_ext >&5
16161
16162 ( exit $ac_status )
16163 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16164 See \`config.log' for more details." >&5
16165 echo "$as_me: error: cannot compute sizeof (short), 77
16166 See \`config.log' for more details." >&2;}
16167 { (exit 1); exit 1; }; }
16168 fi
16169 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16170 fi
16171 fi
16172 rm -f conftest.val
16173 else
16174 ac_cv_sizeof_short=0
16175 fi
16176 fi
16177 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16178 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16179 cat >>confdefs.h <<_ACEOF
16180 #define SIZEOF_SHORT $ac_cv_sizeof_short
16181 _ACEOF
16182
16183
16184 echo "$as_me:$LINENO: checking for void *" >&5
16185 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16186 if test "${ac_cv_type_void_p+set}" = set; then
16187 echo $ECHO_N "(cached) $ECHO_C" >&6
16188 else
16189 cat >conftest.$ac_ext <<_ACEOF
16190 /* confdefs.h. */
16191 _ACEOF
16192 cat confdefs.h >>conftest.$ac_ext
16193 cat >>conftest.$ac_ext <<_ACEOF
16194 /* end confdefs.h. */
16195 $ac_includes_default
16196 int
16197 main ()
16198 {
16199 if ((void * *) 0)
16200 return 0;
16201 if (sizeof (void *))
16202 return 0;
16203 ;
16204 return 0;
16205 }
16206 _ACEOF
16207 rm -f conftest.$ac_objext
16208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16209 (eval $ac_compile) 2>conftest.er1
16210 ac_status=$?
16211 grep -v '^ *+' conftest.er1 >conftest.err
16212 rm -f conftest.er1
16213 cat conftest.err >&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); } &&
16216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16219 ac_status=$?
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; } &&
16222 { ac_try='test -s conftest.$ac_objext'
16223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 (eval $ac_try) 2>&5
16225 ac_status=$?
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }; }; then
16228 ac_cv_type_void_p=yes
16229 else
16230 echo "$as_me: failed program was:" >&5
16231 sed 's/^/| /' conftest.$ac_ext >&5
16232
16233 ac_cv_type_void_p=no
16234 fi
16235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16236 fi
16237 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16238 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16239
16240 echo "$as_me:$LINENO: checking size of void *" >&5
16241 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16242 if test "${ac_cv_sizeof_void_p+set}" = set; then
16243 echo $ECHO_N "(cached) $ECHO_C" >&6
16244 else
16245 if test "$ac_cv_type_void_p" = yes; then
16246 # The cast to unsigned long works around a bug in the HP C Compiler
16247 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16248 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16249 # This bug is HP SR number 8606223364.
16250 if test "$cross_compiling" = yes; then
16251 # Depending upon the size, compute the lo and hi bounds.
16252 cat >conftest.$ac_ext <<_ACEOF
16253 /* confdefs.h. */
16254 _ACEOF
16255 cat confdefs.h >>conftest.$ac_ext
16256 cat >>conftest.$ac_ext <<_ACEOF
16257 /* end confdefs.h. */
16258 $ac_includes_default
16259 int
16260 main ()
16261 {
16262 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16263 test_array [0] = 0
16264
16265 ;
16266 return 0;
16267 }
16268 _ACEOF
16269 rm -f conftest.$ac_objext
16270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16271 (eval $ac_compile) 2>conftest.er1
16272 ac_status=$?
16273 grep -v '^ *+' conftest.er1 >conftest.err
16274 rm -f conftest.er1
16275 cat conftest.err >&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } &&
16278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16281 ac_status=$?
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; } &&
16284 { ac_try='test -s conftest.$ac_objext'
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286 (eval $ac_try) 2>&5
16287 ac_status=$?
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }; }; then
16290 ac_lo=0 ac_mid=0
16291 while :; do
16292 cat >conftest.$ac_ext <<_ACEOF
16293 /* confdefs.h. */
16294 _ACEOF
16295 cat confdefs.h >>conftest.$ac_ext
16296 cat >>conftest.$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16298 $ac_includes_default
16299 int
16300 main ()
16301 {
16302 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16303 test_array [0] = 0
16304
16305 ;
16306 return 0;
16307 }
16308 _ACEOF
16309 rm -f conftest.$ac_objext
16310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16311 (eval $ac_compile) 2>conftest.er1
16312 ac_status=$?
16313 grep -v '^ *+' conftest.er1 >conftest.err
16314 rm -f conftest.er1
16315 cat conftest.err >&5
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); } &&
16318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16320 (eval $ac_try) 2>&5
16321 ac_status=$?
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); }; } &&
16324 { ac_try='test -s conftest.$ac_objext'
16325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16326 (eval $ac_try) 2>&5
16327 ac_status=$?
16328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329 (exit $ac_status); }; }; then
16330 ac_hi=$ac_mid; break
16331 else
16332 echo "$as_me: failed program was:" >&5
16333 sed 's/^/| /' conftest.$ac_ext >&5
16334
16335 ac_lo=`expr $ac_mid + 1`
16336 if test $ac_lo -le $ac_mid; then
16337 ac_lo= ac_hi=
16338 break
16339 fi
16340 ac_mid=`expr 2 '*' $ac_mid + 1`
16341 fi
16342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16343 done
16344 else
16345 echo "$as_me: failed program was:" >&5
16346 sed 's/^/| /' conftest.$ac_ext >&5
16347
16348 cat >conftest.$ac_ext <<_ACEOF
16349 /* confdefs.h. */
16350 _ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16354 $ac_includes_default
16355 int
16356 main ()
16357 {
16358 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16359 test_array [0] = 0
16360
16361 ;
16362 return 0;
16363 }
16364 _ACEOF
16365 rm -f conftest.$ac_objext
16366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16367 (eval $ac_compile) 2>conftest.er1
16368 ac_status=$?
16369 grep -v '^ *+' conftest.er1 >conftest.err
16370 rm -f conftest.er1
16371 cat conftest.err >&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); } &&
16374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16376 (eval $ac_try) 2>&5
16377 ac_status=$?
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); }; } &&
16380 { ac_try='test -s conftest.$ac_objext'
16381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 (eval $ac_try) 2>&5
16383 ac_status=$?
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); }; }; then
16386 ac_hi=-1 ac_mid=-1
16387 while :; do
16388 cat >conftest.$ac_ext <<_ACEOF
16389 /* confdefs.h. */
16390 _ACEOF
16391 cat confdefs.h >>conftest.$ac_ext
16392 cat >>conftest.$ac_ext <<_ACEOF
16393 /* end confdefs.h. */
16394 $ac_includes_default
16395 int
16396 main ()
16397 {
16398 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16399 test_array [0] = 0
16400
16401 ;
16402 return 0;
16403 }
16404 _ACEOF
16405 rm -f conftest.$ac_objext
16406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16407 (eval $ac_compile) 2>conftest.er1
16408 ac_status=$?
16409 grep -v '^ *+' conftest.er1 >conftest.err
16410 rm -f conftest.er1
16411 cat conftest.err >&5
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); } &&
16414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16416 (eval $ac_try) 2>&5
16417 ac_status=$?
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); }; } &&
16420 { ac_try='test -s conftest.$ac_objext'
16421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16422 (eval $ac_try) 2>&5
16423 ac_status=$?
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); }; }; then
16426 ac_lo=$ac_mid; break
16427 else
16428 echo "$as_me: failed program was:" >&5
16429 sed 's/^/| /' conftest.$ac_ext >&5
16430
16431 ac_hi=`expr '(' $ac_mid ')' - 1`
16432 if test $ac_mid -le $ac_hi; then
16433 ac_lo= ac_hi=
16434 break
16435 fi
16436 ac_mid=`expr 2 '*' $ac_mid`
16437 fi
16438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16439 done
16440 else
16441 echo "$as_me: failed program was:" >&5
16442 sed 's/^/| /' conftest.$ac_ext >&5
16443
16444 ac_lo= ac_hi=
16445 fi
16446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16447 fi
16448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16449 # Binary search between lo and hi bounds.
16450 while test "x$ac_lo" != "x$ac_hi"; do
16451 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16452 cat >conftest.$ac_ext <<_ACEOF
16453 /* confdefs.h. */
16454 _ACEOF
16455 cat confdefs.h >>conftest.$ac_ext
16456 cat >>conftest.$ac_ext <<_ACEOF
16457 /* end confdefs.h. */
16458 $ac_includes_default
16459 int
16460 main ()
16461 {
16462 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16463 test_array [0] = 0
16464
16465 ;
16466 return 0;
16467 }
16468 _ACEOF
16469 rm -f conftest.$ac_objext
16470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16471 (eval $ac_compile) 2>conftest.er1
16472 ac_status=$?
16473 grep -v '^ *+' conftest.er1 >conftest.err
16474 rm -f conftest.er1
16475 cat conftest.err >&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); } &&
16478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16480 (eval $ac_try) 2>&5
16481 ac_status=$?
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); }; } &&
16484 { ac_try='test -s conftest.$ac_objext'
16485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16486 (eval $ac_try) 2>&5
16487 ac_status=$?
16488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16489 (exit $ac_status); }; }; then
16490 ac_hi=$ac_mid
16491 else
16492 echo "$as_me: failed program was:" >&5
16493 sed 's/^/| /' conftest.$ac_ext >&5
16494
16495 ac_lo=`expr '(' $ac_mid ')' + 1`
16496 fi
16497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16498 done
16499 case $ac_lo in
16500 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16501 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16502 See \`config.log' for more details." >&5
16503 echo "$as_me: error: cannot compute sizeof (void *), 77
16504 See \`config.log' for more details." >&2;}
16505 { (exit 1); exit 1; }; } ;;
16506 esac
16507 else
16508 if test "$cross_compiling" = yes; then
16509 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16510 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16511 { (exit 1); exit 1; }; }
16512 else
16513 cat >conftest.$ac_ext <<_ACEOF
16514 /* confdefs.h. */
16515 _ACEOF
16516 cat confdefs.h >>conftest.$ac_ext
16517 cat >>conftest.$ac_ext <<_ACEOF
16518 /* end confdefs.h. */
16519 $ac_includes_default
16520 long longval () { return (long) (sizeof (void *)); }
16521 unsigned long ulongval () { return (long) (sizeof (void *)); }
16522 #include <stdio.h>
16523 #include <stdlib.h>
16524 int
16525 main ()
16526 {
16527
16528 FILE *f = fopen ("conftest.val", "w");
16529 if (! f)
16530 exit (1);
16531 if (((long) (sizeof (void *))) < 0)
16532 {
16533 long i = longval ();
16534 if (i != ((long) (sizeof (void *))))
16535 exit (1);
16536 fprintf (f, "%ld\n", i);
16537 }
16538 else
16539 {
16540 unsigned long i = ulongval ();
16541 if (i != ((long) (sizeof (void *))))
16542 exit (1);
16543 fprintf (f, "%lu\n", i);
16544 }
16545 exit (ferror (f) || fclose (f) != 0);
16546
16547 ;
16548 return 0;
16549 }
16550 _ACEOF
16551 rm -f conftest$ac_exeext
16552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16553 (eval $ac_link) 2>&5
16554 ac_status=$?
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16558 (eval $ac_try) 2>&5
16559 ac_status=$?
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); }; }; then
16562 ac_cv_sizeof_void_p=`cat conftest.val`
16563 else
16564 echo "$as_me: program exited with status $ac_status" >&5
16565 echo "$as_me: failed program was:" >&5
16566 sed 's/^/| /' conftest.$ac_ext >&5
16567
16568 ( exit $ac_status )
16569 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16570 See \`config.log' for more details." >&5
16571 echo "$as_me: error: cannot compute sizeof (void *), 77
16572 See \`config.log' for more details." >&2;}
16573 { (exit 1); exit 1; }; }
16574 fi
16575 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16576 fi
16577 fi
16578 rm -f conftest.val
16579 else
16580 ac_cv_sizeof_void_p=0
16581 fi
16582 fi
16583 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16584 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16585 cat >>confdefs.h <<_ACEOF
16586 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16587 _ACEOF
16588
16589
16590 echo "$as_me:$LINENO: checking for int" >&5
16591 echo $ECHO_N "checking for int... $ECHO_C" >&6
16592 if test "${ac_cv_type_int+set}" = set; then
16593 echo $ECHO_N "(cached) $ECHO_C" >&6
16594 else
16595 cat >conftest.$ac_ext <<_ACEOF
16596 /* confdefs.h. */
16597 _ACEOF
16598 cat confdefs.h >>conftest.$ac_ext
16599 cat >>conftest.$ac_ext <<_ACEOF
16600 /* end confdefs.h. */
16601 $ac_includes_default
16602 int
16603 main ()
16604 {
16605 if ((int *) 0)
16606 return 0;
16607 if (sizeof (int))
16608 return 0;
16609 ;
16610 return 0;
16611 }
16612 _ACEOF
16613 rm -f conftest.$ac_objext
16614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16615 (eval $ac_compile) 2>conftest.er1
16616 ac_status=$?
16617 grep -v '^ *+' conftest.er1 >conftest.err
16618 rm -f conftest.er1
16619 cat conftest.err >&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); } &&
16622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16624 (eval $ac_try) 2>&5
16625 ac_status=$?
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); }; } &&
16628 { ac_try='test -s conftest.$ac_objext'
16629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16630 (eval $ac_try) 2>&5
16631 ac_status=$?
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); }; }; then
16634 ac_cv_type_int=yes
16635 else
16636 echo "$as_me: failed program was:" >&5
16637 sed 's/^/| /' conftest.$ac_ext >&5
16638
16639 ac_cv_type_int=no
16640 fi
16641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16642 fi
16643 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16644 echo "${ECHO_T}$ac_cv_type_int" >&6
16645
16646 echo "$as_me:$LINENO: checking size of int" >&5
16647 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16648 if test "${ac_cv_sizeof_int+set}" = set; then
16649 echo $ECHO_N "(cached) $ECHO_C" >&6
16650 else
16651 if test "$ac_cv_type_int" = yes; then
16652 # The cast to unsigned long works around a bug in the HP C Compiler
16653 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16654 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16655 # This bug is HP SR number 8606223364.
16656 if test "$cross_compiling" = yes; then
16657 # Depending upon the size, compute the lo and hi bounds.
16658 cat >conftest.$ac_ext <<_ACEOF
16659 /* confdefs.h. */
16660 _ACEOF
16661 cat confdefs.h >>conftest.$ac_ext
16662 cat >>conftest.$ac_ext <<_ACEOF
16663 /* end confdefs.h. */
16664 $ac_includes_default
16665 int
16666 main ()
16667 {
16668 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16669 test_array [0] = 0
16670
16671 ;
16672 return 0;
16673 }
16674 _ACEOF
16675 rm -f conftest.$ac_objext
16676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16677 (eval $ac_compile) 2>conftest.er1
16678 ac_status=$?
16679 grep -v '^ *+' conftest.er1 >conftest.err
16680 rm -f conftest.er1
16681 cat conftest.err >&5
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); } &&
16684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16686 (eval $ac_try) 2>&5
16687 ac_status=$?
16688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689 (exit $ac_status); }; } &&
16690 { ac_try='test -s conftest.$ac_objext'
16691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16692 (eval $ac_try) 2>&5
16693 ac_status=$?
16694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695 (exit $ac_status); }; }; then
16696 ac_lo=0 ac_mid=0
16697 while :; do
16698 cat >conftest.$ac_ext <<_ACEOF
16699 /* confdefs.h. */
16700 _ACEOF
16701 cat confdefs.h >>conftest.$ac_ext
16702 cat >>conftest.$ac_ext <<_ACEOF
16703 /* end confdefs.h. */
16704 $ac_includes_default
16705 int
16706 main ()
16707 {
16708 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16709 test_array [0] = 0
16710
16711 ;
16712 return 0;
16713 }
16714 _ACEOF
16715 rm -f conftest.$ac_objext
16716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16717 (eval $ac_compile) 2>conftest.er1
16718 ac_status=$?
16719 grep -v '^ *+' conftest.er1 >conftest.err
16720 rm -f conftest.er1
16721 cat conftest.err >&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); } &&
16724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16726 (eval $ac_try) 2>&5
16727 ac_status=$?
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); }; } &&
16730 { ac_try='test -s conftest.$ac_objext'
16731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732 (eval $ac_try) 2>&5
16733 ac_status=$?
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); }; }; then
16736 ac_hi=$ac_mid; break
16737 else
16738 echo "$as_me: failed program was:" >&5
16739 sed 's/^/| /' conftest.$ac_ext >&5
16740
16741 ac_lo=`expr $ac_mid + 1`
16742 if test $ac_lo -le $ac_mid; then
16743 ac_lo= ac_hi=
16744 break
16745 fi
16746 ac_mid=`expr 2 '*' $ac_mid + 1`
16747 fi
16748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16749 done
16750 else
16751 echo "$as_me: failed program was:" >&5
16752 sed 's/^/| /' conftest.$ac_ext >&5
16753
16754 cat >conftest.$ac_ext <<_ACEOF
16755 /* confdefs.h. */
16756 _ACEOF
16757 cat confdefs.h >>conftest.$ac_ext
16758 cat >>conftest.$ac_ext <<_ACEOF
16759 /* end confdefs.h. */
16760 $ac_includes_default
16761 int
16762 main ()
16763 {
16764 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16765 test_array [0] = 0
16766
16767 ;
16768 return 0;
16769 }
16770 _ACEOF
16771 rm -f conftest.$ac_objext
16772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16773 (eval $ac_compile) 2>conftest.er1
16774 ac_status=$?
16775 grep -v '^ *+' conftest.er1 >conftest.err
16776 rm -f conftest.er1
16777 cat conftest.err >&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } &&
16780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16783 ac_status=$?
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; } &&
16786 { ac_try='test -s conftest.$ac_objext'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16789 ac_status=$?
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; }; then
16792 ac_hi=-1 ac_mid=-1
16793 while :; do
16794 cat >conftest.$ac_ext <<_ACEOF
16795 /* confdefs.h. */
16796 _ACEOF
16797 cat confdefs.h >>conftest.$ac_ext
16798 cat >>conftest.$ac_ext <<_ACEOF
16799 /* end confdefs.h. */
16800 $ac_includes_default
16801 int
16802 main ()
16803 {
16804 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16805 test_array [0] = 0
16806
16807 ;
16808 return 0;
16809 }
16810 _ACEOF
16811 rm -f conftest.$ac_objext
16812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16813 (eval $ac_compile) 2>conftest.er1
16814 ac_status=$?
16815 grep -v '^ *+' conftest.er1 >conftest.err
16816 rm -f conftest.er1
16817 cat conftest.err >&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); } &&
16820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16822 (eval $ac_try) 2>&5
16823 ac_status=$?
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); }; } &&
16826 { ac_try='test -s conftest.$ac_objext'
16827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16828 (eval $ac_try) 2>&5
16829 ac_status=$?
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); }; }; then
16832 ac_lo=$ac_mid; break
16833 else
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.$ac_ext >&5
16836
16837 ac_hi=`expr '(' $ac_mid ')' - 1`
16838 if test $ac_mid -le $ac_hi; then
16839 ac_lo= ac_hi=
16840 break
16841 fi
16842 ac_mid=`expr 2 '*' $ac_mid`
16843 fi
16844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16845 done
16846 else
16847 echo "$as_me: failed program was:" >&5
16848 sed 's/^/| /' conftest.$ac_ext >&5
16849
16850 ac_lo= ac_hi=
16851 fi
16852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16853 fi
16854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16855 # Binary search between lo and hi bounds.
16856 while test "x$ac_lo" != "x$ac_hi"; do
16857 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16858 cat >conftest.$ac_ext <<_ACEOF
16859 /* confdefs.h. */
16860 _ACEOF
16861 cat confdefs.h >>conftest.$ac_ext
16862 cat >>conftest.$ac_ext <<_ACEOF
16863 /* end confdefs.h. */
16864 $ac_includes_default
16865 int
16866 main ()
16867 {
16868 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16869 test_array [0] = 0
16870
16871 ;
16872 return 0;
16873 }
16874 _ACEOF
16875 rm -f conftest.$ac_objext
16876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16877 (eval $ac_compile) 2>conftest.er1
16878 ac_status=$?
16879 grep -v '^ *+' conftest.er1 >conftest.err
16880 rm -f conftest.er1
16881 cat conftest.err >&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); } &&
16884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16886 (eval $ac_try) 2>&5
16887 ac_status=$?
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); }; } &&
16890 { ac_try='test -s conftest.$ac_objext'
16891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16892 (eval $ac_try) 2>&5
16893 ac_status=$?
16894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16895 (exit $ac_status); }; }; then
16896 ac_hi=$ac_mid
16897 else
16898 echo "$as_me: failed program was:" >&5
16899 sed 's/^/| /' conftest.$ac_ext >&5
16900
16901 ac_lo=`expr '(' $ac_mid ')' + 1`
16902 fi
16903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16904 done
16905 case $ac_lo in
16906 ?*) ac_cv_sizeof_int=$ac_lo;;
16907 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16908 See \`config.log' for more details." >&5
16909 echo "$as_me: error: cannot compute sizeof (int), 77
16910 See \`config.log' for more details." >&2;}
16911 { (exit 1); exit 1; }; } ;;
16912 esac
16913 else
16914 if test "$cross_compiling" = yes; then
16915 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16916 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16917 { (exit 1); exit 1; }; }
16918 else
16919 cat >conftest.$ac_ext <<_ACEOF
16920 /* confdefs.h. */
16921 _ACEOF
16922 cat confdefs.h >>conftest.$ac_ext
16923 cat >>conftest.$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925 $ac_includes_default
16926 long longval () { return (long) (sizeof (int)); }
16927 unsigned long ulongval () { return (long) (sizeof (int)); }
16928 #include <stdio.h>
16929 #include <stdlib.h>
16930 int
16931 main ()
16932 {
16933
16934 FILE *f = fopen ("conftest.val", "w");
16935 if (! f)
16936 exit (1);
16937 if (((long) (sizeof (int))) < 0)
16938 {
16939 long i = longval ();
16940 if (i != ((long) (sizeof (int))))
16941 exit (1);
16942 fprintf (f, "%ld\n", i);
16943 }
16944 else
16945 {
16946 unsigned long i = ulongval ();
16947 if (i != ((long) (sizeof (int))))
16948 exit (1);
16949 fprintf (f, "%lu\n", i);
16950 }
16951 exit (ferror (f) || fclose (f) != 0);
16952
16953 ;
16954 return 0;
16955 }
16956 _ACEOF
16957 rm -f conftest$ac_exeext
16958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16959 (eval $ac_link) 2>&5
16960 ac_status=$?
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964 (eval $ac_try) 2>&5
16965 ac_status=$?
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; }; then
16968 ac_cv_sizeof_int=`cat conftest.val`
16969 else
16970 echo "$as_me: program exited with status $ac_status" >&5
16971 echo "$as_me: failed program was:" >&5
16972 sed 's/^/| /' conftest.$ac_ext >&5
16973
16974 ( exit $ac_status )
16975 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16976 See \`config.log' for more details." >&5
16977 echo "$as_me: error: cannot compute sizeof (int), 77
16978 See \`config.log' for more details." >&2;}
16979 { (exit 1); exit 1; }; }
16980 fi
16981 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16982 fi
16983 fi
16984 rm -f conftest.val
16985 else
16986 ac_cv_sizeof_int=0
16987 fi
16988 fi
16989 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16990 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16991 cat >>confdefs.h <<_ACEOF
16992 #define SIZEOF_INT $ac_cv_sizeof_int
16993 _ACEOF
16994
16995
16996 echo "$as_me:$LINENO: checking for long" >&5
16997 echo $ECHO_N "checking for long... $ECHO_C" >&6
16998 if test "${ac_cv_type_long+set}" = set; then
16999 echo $ECHO_N "(cached) $ECHO_C" >&6
17000 else
17001 cat >conftest.$ac_ext <<_ACEOF
17002 /* confdefs.h. */
17003 _ACEOF
17004 cat confdefs.h >>conftest.$ac_ext
17005 cat >>conftest.$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17007 $ac_includes_default
17008 int
17009 main ()
17010 {
17011 if ((long *) 0)
17012 return 0;
17013 if (sizeof (long))
17014 return 0;
17015 ;
17016 return 0;
17017 }
17018 _ACEOF
17019 rm -f conftest.$ac_objext
17020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17021 (eval $ac_compile) 2>conftest.er1
17022 ac_status=$?
17023 grep -v '^ *+' conftest.er1 >conftest.err
17024 rm -f conftest.er1
17025 cat conftest.err >&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); } &&
17028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17030 (eval $ac_try) 2>&5
17031 ac_status=$?
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); }; } &&
17034 { ac_try='test -s conftest.$ac_objext'
17035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17036 (eval $ac_try) 2>&5
17037 ac_status=$?
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); }; }; then
17040 ac_cv_type_long=yes
17041 else
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.$ac_ext >&5
17044
17045 ac_cv_type_long=no
17046 fi
17047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17048 fi
17049 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17050 echo "${ECHO_T}$ac_cv_type_long" >&6
17051
17052 echo "$as_me:$LINENO: checking size of long" >&5
17053 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17054 if test "${ac_cv_sizeof_long+set}" = set; then
17055 echo $ECHO_N "(cached) $ECHO_C" >&6
17056 else
17057 if test "$ac_cv_type_long" = yes; then
17058 # The cast to unsigned long works around a bug in the HP C Compiler
17059 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17060 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17061 # This bug is HP SR number 8606223364.
17062 if test "$cross_compiling" = yes; then
17063 # Depending upon the size, compute the lo and hi bounds.
17064 cat >conftest.$ac_ext <<_ACEOF
17065 /* confdefs.h. */
17066 _ACEOF
17067 cat confdefs.h >>conftest.$ac_ext
17068 cat >>conftest.$ac_ext <<_ACEOF
17069 /* end confdefs.h. */
17070 $ac_includes_default
17071 int
17072 main ()
17073 {
17074 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17075 test_array [0] = 0
17076
17077 ;
17078 return 0;
17079 }
17080 _ACEOF
17081 rm -f conftest.$ac_objext
17082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17083 (eval $ac_compile) 2>conftest.er1
17084 ac_status=$?
17085 grep -v '^ *+' conftest.er1 >conftest.err
17086 rm -f conftest.er1
17087 cat conftest.err >&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); } &&
17090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17093 ac_status=$?
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; } &&
17096 { ac_try='test -s conftest.$ac_objext'
17097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17098 (eval $ac_try) 2>&5
17099 ac_status=$?
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); }; }; then
17102 ac_lo=0 ac_mid=0
17103 while :; do
17104 cat >conftest.$ac_ext <<_ACEOF
17105 /* confdefs.h. */
17106 _ACEOF
17107 cat confdefs.h >>conftest.$ac_ext
17108 cat >>conftest.$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110 $ac_includes_default
17111 int
17112 main ()
17113 {
17114 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17115 test_array [0] = 0
17116
17117 ;
17118 return 0;
17119 }
17120 _ACEOF
17121 rm -f conftest.$ac_objext
17122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17123 (eval $ac_compile) 2>conftest.er1
17124 ac_status=$?
17125 grep -v '^ *+' conftest.er1 >conftest.err
17126 rm -f conftest.er1
17127 cat conftest.err >&5
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); } &&
17130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17132 (eval $ac_try) 2>&5
17133 ac_status=$?
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); }; } &&
17136 { ac_try='test -s conftest.$ac_objext'
17137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17138 (eval $ac_try) 2>&5
17139 ac_status=$?
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); }; }; then
17142 ac_hi=$ac_mid; break
17143 else
17144 echo "$as_me: failed program was:" >&5
17145 sed 's/^/| /' conftest.$ac_ext >&5
17146
17147 ac_lo=`expr $ac_mid + 1`
17148 if test $ac_lo -le $ac_mid; then
17149 ac_lo= ac_hi=
17150 break
17151 fi
17152 ac_mid=`expr 2 '*' $ac_mid + 1`
17153 fi
17154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17155 done
17156 else
17157 echo "$as_me: failed program was:" >&5
17158 sed 's/^/| /' conftest.$ac_ext >&5
17159
17160 cat >conftest.$ac_ext <<_ACEOF
17161 /* confdefs.h. */
17162 _ACEOF
17163 cat confdefs.h >>conftest.$ac_ext
17164 cat >>conftest.$ac_ext <<_ACEOF
17165 /* end confdefs.h. */
17166 $ac_includes_default
17167 int
17168 main ()
17169 {
17170 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17171 test_array [0] = 0
17172
17173 ;
17174 return 0;
17175 }
17176 _ACEOF
17177 rm -f conftest.$ac_objext
17178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17179 (eval $ac_compile) 2>conftest.er1
17180 ac_status=$?
17181 grep -v '^ *+' conftest.er1 >conftest.err
17182 rm -f conftest.er1
17183 cat conftest.err >&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); } &&
17186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17188 (eval $ac_try) 2>&5
17189 ac_status=$?
17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); }; } &&
17192 { ac_try='test -s conftest.$ac_objext'
17193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17194 (eval $ac_try) 2>&5
17195 ac_status=$?
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); }; }; then
17198 ac_hi=-1 ac_mid=-1
17199 while :; do
17200 cat >conftest.$ac_ext <<_ACEOF
17201 /* confdefs.h. */
17202 _ACEOF
17203 cat confdefs.h >>conftest.$ac_ext
17204 cat >>conftest.$ac_ext <<_ACEOF
17205 /* end confdefs.h. */
17206 $ac_includes_default
17207 int
17208 main ()
17209 {
17210 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17211 test_array [0] = 0
17212
17213 ;
17214 return 0;
17215 }
17216 _ACEOF
17217 rm -f conftest.$ac_objext
17218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17219 (eval $ac_compile) 2>conftest.er1
17220 ac_status=$?
17221 grep -v '^ *+' conftest.er1 >conftest.err
17222 rm -f conftest.er1
17223 cat conftest.err >&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); } &&
17226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228 (eval $ac_try) 2>&5
17229 ac_status=$?
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; } &&
17232 { ac_try='test -s conftest.$ac_objext'
17233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17234 (eval $ac_try) 2>&5
17235 ac_status=$?
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); }; }; then
17238 ac_lo=$ac_mid; break
17239 else
17240 echo "$as_me: failed program was:" >&5
17241 sed 's/^/| /' conftest.$ac_ext >&5
17242
17243 ac_hi=`expr '(' $ac_mid ')' - 1`
17244 if test $ac_mid -le $ac_hi; then
17245 ac_lo= ac_hi=
17246 break
17247 fi
17248 ac_mid=`expr 2 '*' $ac_mid`
17249 fi
17250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17251 done
17252 else
17253 echo "$as_me: failed program was:" >&5
17254 sed 's/^/| /' conftest.$ac_ext >&5
17255
17256 ac_lo= ac_hi=
17257 fi
17258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17259 fi
17260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17261 # Binary search between lo and hi bounds.
17262 while test "x$ac_lo" != "x$ac_hi"; do
17263 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17264 cat >conftest.$ac_ext <<_ACEOF
17265 /* confdefs.h. */
17266 _ACEOF
17267 cat confdefs.h >>conftest.$ac_ext
17268 cat >>conftest.$ac_ext <<_ACEOF
17269 /* end confdefs.h. */
17270 $ac_includes_default
17271 int
17272 main ()
17273 {
17274 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17275 test_array [0] = 0
17276
17277 ;
17278 return 0;
17279 }
17280 _ACEOF
17281 rm -f conftest.$ac_objext
17282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17283 (eval $ac_compile) 2>conftest.er1
17284 ac_status=$?
17285 grep -v '^ *+' conftest.er1 >conftest.err
17286 rm -f conftest.er1
17287 cat conftest.err >&5
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); } &&
17290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17292 (eval $ac_try) 2>&5
17293 ac_status=$?
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); }; } &&
17296 { ac_try='test -s conftest.$ac_objext'
17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17298 (eval $ac_try) 2>&5
17299 ac_status=$?
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; }; then
17302 ac_hi=$ac_mid
17303 else
17304 echo "$as_me: failed program was:" >&5
17305 sed 's/^/| /' conftest.$ac_ext >&5
17306
17307 ac_lo=`expr '(' $ac_mid ')' + 1`
17308 fi
17309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17310 done
17311 case $ac_lo in
17312 ?*) ac_cv_sizeof_long=$ac_lo;;
17313 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17314 See \`config.log' for more details." >&5
17315 echo "$as_me: error: cannot compute sizeof (long), 77
17316 See \`config.log' for more details." >&2;}
17317 { (exit 1); exit 1; }; } ;;
17318 esac
17319 else
17320 if test "$cross_compiling" = yes; then
17321 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17322 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17323 { (exit 1); exit 1; }; }
17324 else
17325 cat >conftest.$ac_ext <<_ACEOF
17326 /* confdefs.h. */
17327 _ACEOF
17328 cat confdefs.h >>conftest.$ac_ext
17329 cat >>conftest.$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17331 $ac_includes_default
17332 long longval () { return (long) (sizeof (long)); }
17333 unsigned long ulongval () { return (long) (sizeof (long)); }
17334 #include <stdio.h>
17335 #include <stdlib.h>
17336 int
17337 main ()
17338 {
17339
17340 FILE *f = fopen ("conftest.val", "w");
17341 if (! f)
17342 exit (1);
17343 if (((long) (sizeof (long))) < 0)
17344 {
17345 long i = longval ();
17346 if (i != ((long) (sizeof (long))))
17347 exit (1);
17348 fprintf (f, "%ld\n", i);
17349 }
17350 else
17351 {
17352 unsigned long i = ulongval ();
17353 if (i != ((long) (sizeof (long))))
17354 exit (1);
17355 fprintf (f, "%lu\n", i);
17356 }
17357 exit (ferror (f) || fclose (f) != 0);
17358
17359 ;
17360 return 0;
17361 }
17362 _ACEOF
17363 rm -f conftest$ac_exeext
17364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17365 (eval $ac_link) 2>&5
17366 ac_status=$?
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17370 (eval $ac_try) 2>&5
17371 ac_status=$?
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); }; }; then
17374 ac_cv_sizeof_long=`cat conftest.val`
17375 else
17376 echo "$as_me: program exited with status $ac_status" >&5
17377 echo "$as_me: failed program was:" >&5
17378 sed 's/^/| /' conftest.$ac_ext >&5
17379
17380 ( exit $ac_status )
17381 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17382 See \`config.log' for more details." >&5
17383 echo "$as_me: error: cannot compute sizeof (long), 77
17384 See \`config.log' for more details." >&2;}
17385 { (exit 1); exit 1; }; }
17386 fi
17387 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17388 fi
17389 fi
17390 rm -f conftest.val
17391 else
17392 ac_cv_sizeof_long=0
17393 fi
17394 fi
17395 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17396 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17397 cat >>confdefs.h <<_ACEOF
17398 #define SIZEOF_LONG $ac_cv_sizeof_long
17399 _ACEOF
17400
17401
17402 echo "$as_me:$LINENO: checking for size_t" >&5
17403 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17404 if test "${ac_cv_type_size_t+set}" = set; then
17405 echo $ECHO_N "(cached) $ECHO_C" >&6
17406 else
17407 cat >conftest.$ac_ext <<_ACEOF
17408 /* confdefs.h. */
17409 _ACEOF
17410 cat confdefs.h >>conftest.$ac_ext
17411 cat >>conftest.$ac_ext <<_ACEOF
17412 /* end confdefs.h. */
17413 $ac_includes_default
17414 int
17415 main ()
17416 {
17417 if ((size_t *) 0)
17418 return 0;
17419 if (sizeof (size_t))
17420 return 0;
17421 ;
17422 return 0;
17423 }
17424 _ACEOF
17425 rm -f conftest.$ac_objext
17426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17427 (eval $ac_compile) 2>conftest.er1
17428 ac_status=$?
17429 grep -v '^ *+' conftest.er1 >conftest.err
17430 rm -f conftest.er1
17431 cat conftest.err >&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); } &&
17434 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17436 (eval $ac_try) 2>&5
17437 ac_status=$?
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); }; } &&
17440 { ac_try='test -s conftest.$ac_objext'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17443 ac_status=$?
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; }; then
17446 ac_cv_type_size_t=yes
17447 else
17448 echo "$as_me: failed program was:" >&5
17449 sed 's/^/| /' conftest.$ac_ext >&5
17450
17451 ac_cv_type_size_t=no
17452 fi
17453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17454 fi
17455 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17456 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17457
17458 echo "$as_me:$LINENO: checking size of size_t" >&5
17459 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17460 if test "${ac_cv_sizeof_size_t+set}" = set; then
17461 echo $ECHO_N "(cached) $ECHO_C" >&6
17462 else
17463 if test "$ac_cv_type_size_t" = yes; then
17464 # The cast to unsigned long works around a bug in the HP C Compiler
17465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17467 # This bug is HP SR number 8606223364.
17468 if test "$cross_compiling" = yes; then
17469 # Depending upon the size, compute the lo and hi bounds.
17470 cat >conftest.$ac_ext <<_ACEOF
17471 /* confdefs.h. */
17472 _ACEOF
17473 cat confdefs.h >>conftest.$ac_ext
17474 cat >>conftest.$ac_ext <<_ACEOF
17475 /* end confdefs.h. */
17476 $ac_includes_default
17477 int
17478 main ()
17479 {
17480 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17481 test_array [0] = 0
17482
17483 ;
17484 return 0;
17485 }
17486 _ACEOF
17487 rm -f conftest.$ac_objext
17488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17489 (eval $ac_compile) 2>conftest.er1
17490 ac_status=$?
17491 grep -v '^ *+' conftest.er1 >conftest.err
17492 rm -f conftest.er1
17493 cat conftest.err >&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); } &&
17496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17498 (eval $ac_try) 2>&5
17499 ac_status=$?
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); }; } &&
17502 { ac_try='test -s conftest.$ac_objext'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17505 ac_status=$?
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; }; then
17508 ac_lo=0 ac_mid=0
17509 while :; do
17510 cat >conftest.$ac_ext <<_ACEOF
17511 /* confdefs.h. */
17512 _ACEOF
17513 cat confdefs.h >>conftest.$ac_ext
17514 cat >>conftest.$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17516 $ac_includes_default
17517 int
17518 main ()
17519 {
17520 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17521 test_array [0] = 0
17522
17523 ;
17524 return 0;
17525 }
17526 _ACEOF
17527 rm -f conftest.$ac_objext
17528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17529 (eval $ac_compile) 2>conftest.er1
17530 ac_status=$?
17531 grep -v '^ *+' conftest.er1 >conftest.err
17532 rm -f conftest.er1
17533 cat conftest.err >&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } &&
17536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17538 (eval $ac_try) 2>&5
17539 ac_status=$?
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); }; } &&
17542 { ac_try='test -s conftest.$ac_objext'
17543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17544 (eval $ac_try) 2>&5
17545 ac_status=$?
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); }; }; then
17548 ac_hi=$ac_mid; break
17549 else
17550 echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.$ac_ext >&5
17552
17553 ac_lo=`expr $ac_mid + 1`
17554 if test $ac_lo -le $ac_mid; then
17555 ac_lo= ac_hi=
17556 break
17557 fi
17558 ac_mid=`expr 2 '*' $ac_mid + 1`
17559 fi
17560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17561 done
17562 else
17563 echo "$as_me: failed program was:" >&5
17564 sed 's/^/| /' conftest.$ac_ext >&5
17565
17566 cat >conftest.$ac_ext <<_ACEOF
17567 /* confdefs.h. */
17568 _ACEOF
17569 cat confdefs.h >>conftest.$ac_ext
17570 cat >>conftest.$ac_ext <<_ACEOF
17571 /* end confdefs.h. */
17572 $ac_includes_default
17573 int
17574 main ()
17575 {
17576 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17577 test_array [0] = 0
17578
17579 ;
17580 return 0;
17581 }
17582 _ACEOF
17583 rm -f conftest.$ac_objext
17584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17585 (eval $ac_compile) 2>conftest.er1
17586 ac_status=$?
17587 grep -v '^ *+' conftest.er1 >conftest.err
17588 rm -f conftest.er1
17589 cat conftest.err >&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); } &&
17592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17594 (eval $ac_try) 2>&5
17595 ac_status=$?
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); }; } &&
17598 { ac_try='test -s conftest.$ac_objext'
17599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17600 (eval $ac_try) 2>&5
17601 ac_status=$?
17602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603 (exit $ac_status); }; }; then
17604 ac_hi=-1 ac_mid=-1
17605 while :; do
17606 cat >conftest.$ac_ext <<_ACEOF
17607 /* confdefs.h. */
17608 _ACEOF
17609 cat confdefs.h >>conftest.$ac_ext
17610 cat >>conftest.$ac_ext <<_ACEOF
17611 /* end confdefs.h. */
17612 $ac_includes_default
17613 int
17614 main ()
17615 {
17616 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17617 test_array [0] = 0
17618
17619 ;
17620 return 0;
17621 }
17622 _ACEOF
17623 rm -f conftest.$ac_objext
17624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17625 (eval $ac_compile) 2>conftest.er1
17626 ac_status=$?
17627 grep -v '^ *+' conftest.er1 >conftest.err
17628 rm -f conftest.er1
17629 cat conftest.err >&5
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); } &&
17632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17634 (eval $ac_try) 2>&5
17635 ac_status=$?
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); }; } &&
17638 { ac_try='test -s conftest.$ac_objext'
17639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17640 (eval $ac_try) 2>&5
17641 ac_status=$?
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; }; then
17644 ac_lo=$ac_mid; break
17645 else
17646 echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.$ac_ext >&5
17648
17649 ac_hi=`expr '(' $ac_mid ')' - 1`
17650 if test $ac_mid -le $ac_hi; then
17651 ac_lo= ac_hi=
17652 break
17653 fi
17654 ac_mid=`expr 2 '*' $ac_mid`
17655 fi
17656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17657 done
17658 else
17659 echo "$as_me: failed program was:" >&5
17660 sed 's/^/| /' conftest.$ac_ext >&5
17661
17662 ac_lo= ac_hi=
17663 fi
17664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17665 fi
17666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17667 # Binary search between lo and hi bounds.
17668 while test "x$ac_lo" != "x$ac_hi"; do
17669 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17670 cat >conftest.$ac_ext <<_ACEOF
17671 /* confdefs.h. */
17672 _ACEOF
17673 cat confdefs.h >>conftest.$ac_ext
17674 cat >>conftest.$ac_ext <<_ACEOF
17675 /* end confdefs.h. */
17676 $ac_includes_default
17677 int
17678 main ()
17679 {
17680 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17681 test_array [0] = 0
17682
17683 ;
17684 return 0;
17685 }
17686 _ACEOF
17687 rm -f conftest.$ac_objext
17688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17689 (eval $ac_compile) 2>conftest.er1
17690 ac_status=$?
17691 grep -v '^ *+' conftest.er1 >conftest.err
17692 rm -f conftest.er1
17693 cat conftest.err >&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } &&
17696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698 (eval $ac_try) 2>&5
17699 ac_status=$?
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); }; } &&
17702 { ac_try='test -s conftest.$ac_objext'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17705 ac_status=$?
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; }; then
17708 ac_hi=$ac_mid
17709 else
17710 echo "$as_me: failed program was:" >&5
17711 sed 's/^/| /' conftest.$ac_ext >&5
17712
17713 ac_lo=`expr '(' $ac_mid ')' + 1`
17714 fi
17715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17716 done
17717 case $ac_lo in
17718 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17719 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17720 See \`config.log' for more details." >&5
17721 echo "$as_me: error: cannot compute sizeof (size_t), 77
17722 See \`config.log' for more details." >&2;}
17723 { (exit 1); exit 1; }; } ;;
17724 esac
17725 else
17726 if test "$cross_compiling" = yes; then
17727 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17728 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17729 { (exit 1); exit 1; }; }
17730 else
17731 cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h. */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 $ac_includes_default
17738 long longval () { return (long) (sizeof (size_t)); }
17739 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17740 #include <stdio.h>
17741 #include <stdlib.h>
17742 int
17743 main ()
17744 {
17745
17746 FILE *f = fopen ("conftest.val", "w");
17747 if (! f)
17748 exit (1);
17749 if (((long) (sizeof (size_t))) < 0)
17750 {
17751 long i = longval ();
17752 if (i != ((long) (sizeof (size_t))))
17753 exit (1);
17754 fprintf (f, "%ld\n", i);
17755 }
17756 else
17757 {
17758 unsigned long i = ulongval ();
17759 if (i != ((long) (sizeof (size_t))))
17760 exit (1);
17761 fprintf (f, "%lu\n", i);
17762 }
17763 exit (ferror (f) || fclose (f) != 0);
17764
17765 ;
17766 return 0;
17767 }
17768 _ACEOF
17769 rm -f conftest$ac_exeext
17770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17771 (eval $ac_link) 2>&5
17772 ac_status=$?
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17777 ac_status=$?
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; }; then
17780 ac_cv_sizeof_size_t=`cat conftest.val`
17781 else
17782 echo "$as_me: program exited with status $ac_status" >&5
17783 echo "$as_me: failed program was:" >&5
17784 sed 's/^/| /' conftest.$ac_ext >&5
17785
17786 ( exit $ac_status )
17787 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17788 See \`config.log' for more details." >&5
17789 echo "$as_me: error: cannot compute sizeof (size_t), 77
17790 See \`config.log' for more details." >&2;}
17791 { (exit 1); exit 1; }; }
17792 fi
17793 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17794 fi
17795 fi
17796 rm -f conftest.val
17797 else
17798 ac_cv_sizeof_size_t=0
17799 fi
17800 fi
17801 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17802 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17803 cat >>confdefs.h <<_ACEOF
17804 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17805 _ACEOF
17806
17807
17808
17809 case "${host}" in
17810 arm-*-linux* )
17811 echo "$as_me:$LINENO: checking for long long" >&5
17812 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17813 if test "${ac_cv_type_long_long+set}" = set; then
17814 echo $ECHO_N "(cached) $ECHO_C" >&6
17815 else
17816 cat >conftest.$ac_ext <<_ACEOF
17817 /* confdefs.h. */
17818 _ACEOF
17819 cat confdefs.h >>conftest.$ac_ext
17820 cat >>conftest.$ac_ext <<_ACEOF
17821 /* end confdefs.h. */
17822 $ac_includes_default
17823 int
17824 main ()
17825 {
17826 if ((long long *) 0)
17827 return 0;
17828 if (sizeof (long long))
17829 return 0;
17830 ;
17831 return 0;
17832 }
17833 _ACEOF
17834 rm -f conftest.$ac_objext
17835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17836 (eval $ac_compile) 2>conftest.er1
17837 ac_status=$?
17838 grep -v '^ *+' conftest.er1 >conftest.err
17839 rm -f conftest.er1
17840 cat conftest.err >&5
17841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842 (exit $ac_status); } &&
17843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17845 (eval $ac_try) 2>&5
17846 ac_status=$?
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); }; } &&
17849 { ac_try='test -s conftest.$ac_objext'
17850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851 (eval $ac_try) 2>&5
17852 ac_status=$?
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; }; then
17855 ac_cv_type_long_long=yes
17856 else
17857 echo "$as_me: failed program was:" >&5
17858 sed 's/^/| /' conftest.$ac_ext >&5
17859
17860 ac_cv_type_long_long=no
17861 fi
17862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17863 fi
17864 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17865 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17866
17867 echo "$as_me:$LINENO: checking size of long long" >&5
17868 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17869 if test "${ac_cv_sizeof_long_long+set}" = set; then
17870 echo $ECHO_N "(cached) $ECHO_C" >&6
17871 else
17872 if test "$ac_cv_type_long_long" = yes; then
17873 # The cast to unsigned long works around a bug in the HP C Compiler
17874 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17875 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17876 # This bug is HP SR number 8606223364.
17877 if test "$cross_compiling" = yes; then
17878 # Depending upon the size, compute the lo and hi bounds.
17879 cat >conftest.$ac_ext <<_ACEOF
17880 /* confdefs.h. */
17881 _ACEOF
17882 cat confdefs.h >>conftest.$ac_ext
17883 cat >>conftest.$ac_ext <<_ACEOF
17884 /* end confdefs.h. */
17885 $ac_includes_default
17886 int
17887 main ()
17888 {
17889 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17890 test_array [0] = 0
17891
17892 ;
17893 return 0;
17894 }
17895 _ACEOF
17896 rm -f conftest.$ac_objext
17897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17898 (eval $ac_compile) 2>conftest.er1
17899 ac_status=$?
17900 grep -v '^ *+' conftest.er1 >conftest.err
17901 rm -f conftest.er1
17902 cat conftest.err >&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); } &&
17905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17907 (eval $ac_try) 2>&5
17908 ac_status=$?
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); }; } &&
17911 { ac_try='test -s conftest.$ac_objext'
17912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17913 (eval $ac_try) 2>&5
17914 ac_status=$?
17915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17916 (exit $ac_status); }; }; then
17917 ac_lo=0 ac_mid=0
17918 while :; do
17919 cat >conftest.$ac_ext <<_ACEOF
17920 /* confdefs.h. */
17921 _ACEOF
17922 cat confdefs.h >>conftest.$ac_ext
17923 cat >>conftest.$ac_ext <<_ACEOF
17924 /* end confdefs.h. */
17925 $ac_includes_default
17926 int
17927 main ()
17928 {
17929 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17930 test_array [0] = 0
17931
17932 ;
17933 return 0;
17934 }
17935 _ACEOF
17936 rm -f conftest.$ac_objext
17937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17938 (eval $ac_compile) 2>conftest.er1
17939 ac_status=$?
17940 grep -v '^ *+' conftest.er1 >conftest.err
17941 rm -f conftest.er1
17942 cat conftest.err >&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } &&
17945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947 (eval $ac_try) 2>&5
17948 ac_status=$?
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); }; } &&
17951 { ac_try='test -s conftest.$ac_objext'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17954 ac_status=$?
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; }; then
17957 ac_hi=$ac_mid; break
17958 else
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.$ac_ext >&5
17961
17962 ac_lo=`expr $ac_mid + 1`
17963 if test $ac_lo -le $ac_mid; then
17964 ac_lo= ac_hi=
17965 break
17966 fi
17967 ac_mid=`expr 2 '*' $ac_mid + 1`
17968 fi
17969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17970 done
17971 else
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.$ac_ext >&5
17974
17975 cat >conftest.$ac_ext <<_ACEOF
17976 /* confdefs.h. */
17977 _ACEOF
17978 cat confdefs.h >>conftest.$ac_ext
17979 cat >>conftest.$ac_ext <<_ACEOF
17980 /* end confdefs.h. */
17981 $ac_includes_default
17982 int
17983 main ()
17984 {
17985 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17986 test_array [0] = 0
17987
17988 ;
17989 return 0;
17990 }
17991 _ACEOF
17992 rm -f conftest.$ac_objext
17993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17994 (eval $ac_compile) 2>conftest.er1
17995 ac_status=$?
17996 grep -v '^ *+' conftest.er1 >conftest.err
17997 rm -f conftest.er1
17998 cat conftest.err >&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } &&
18001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18003 (eval $ac_try) 2>&5
18004 ac_status=$?
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); }; } &&
18007 { ac_try='test -s conftest.$ac_objext'
18008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 (eval $ac_try) 2>&5
18010 ac_status=$?
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; }; then
18013 ac_hi=-1 ac_mid=-1
18014 while :; do
18015 cat >conftest.$ac_ext <<_ACEOF
18016 /* confdefs.h. */
18017 _ACEOF
18018 cat confdefs.h >>conftest.$ac_ext
18019 cat >>conftest.$ac_ext <<_ACEOF
18020 /* end confdefs.h. */
18021 $ac_includes_default
18022 int
18023 main ()
18024 {
18025 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18026 test_array [0] = 0
18027
18028 ;
18029 return 0;
18030 }
18031 _ACEOF
18032 rm -f conftest.$ac_objext
18033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18034 (eval $ac_compile) 2>conftest.er1
18035 ac_status=$?
18036 grep -v '^ *+' conftest.er1 >conftest.err
18037 rm -f conftest.er1
18038 cat conftest.err >&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); } &&
18041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18043 (eval $ac_try) 2>&5
18044 ac_status=$?
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); }; } &&
18047 { ac_try='test -s conftest.$ac_objext'
18048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18049 (eval $ac_try) 2>&5
18050 ac_status=$?
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); }; }; then
18053 ac_lo=$ac_mid; break
18054 else
18055 echo "$as_me: failed program was:" >&5
18056 sed 's/^/| /' conftest.$ac_ext >&5
18057
18058 ac_hi=`expr '(' $ac_mid ')' - 1`
18059 if test $ac_mid -le $ac_hi; then
18060 ac_lo= ac_hi=
18061 break
18062 fi
18063 ac_mid=`expr 2 '*' $ac_mid`
18064 fi
18065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18066 done
18067 else
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.$ac_ext >&5
18070
18071 ac_lo= ac_hi=
18072 fi
18073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18074 fi
18075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18076 # Binary search between lo and hi bounds.
18077 while test "x$ac_lo" != "x$ac_hi"; do
18078 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18079 cat >conftest.$ac_ext <<_ACEOF
18080 /* confdefs.h. */
18081 _ACEOF
18082 cat confdefs.h >>conftest.$ac_ext
18083 cat >>conftest.$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18085 $ac_includes_default
18086 int
18087 main ()
18088 {
18089 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18090 test_array [0] = 0
18091
18092 ;
18093 return 0;
18094 }
18095 _ACEOF
18096 rm -f conftest.$ac_objext
18097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18098 (eval $ac_compile) 2>conftest.er1
18099 ac_status=$?
18100 grep -v '^ *+' conftest.er1 >conftest.err
18101 rm -f conftest.er1
18102 cat conftest.err >&5
18103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18104 (exit $ac_status); } &&
18105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18107 (eval $ac_try) 2>&5
18108 ac_status=$?
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); }; } &&
18111 { ac_try='test -s conftest.$ac_objext'
18112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113 (eval $ac_try) 2>&5
18114 ac_status=$?
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; }; then
18117 ac_hi=$ac_mid
18118 else
18119 echo "$as_me: failed program was:" >&5
18120 sed 's/^/| /' conftest.$ac_ext >&5
18121
18122 ac_lo=`expr '(' $ac_mid ')' + 1`
18123 fi
18124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18125 done
18126 case $ac_lo in
18127 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18128 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18129 See \`config.log' for more details." >&5
18130 echo "$as_me: error: cannot compute sizeof (long long), 77
18131 See \`config.log' for more details." >&2;}
18132 { (exit 1); exit 1; }; } ;;
18133 esac
18134 else
18135 if test "$cross_compiling" = yes; then
18136 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18137 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18138 { (exit 1); exit 1; }; }
18139 else
18140 cat >conftest.$ac_ext <<_ACEOF
18141 /* confdefs.h. */
18142 _ACEOF
18143 cat confdefs.h >>conftest.$ac_ext
18144 cat >>conftest.$ac_ext <<_ACEOF
18145 /* end confdefs.h. */
18146 $ac_includes_default
18147 long longval () { return (long) (sizeof (long long)); }
18148 unsigned long ulongval () { return (long) (sizeof (long long)); }
18149 #include <stdio.h>
18150 #include <stdlib.h>
18151 int
18152 main ()
18153 {
18154
18155 FILE *f = fopen ("conftest.val", "w");
18156 if (! f)
18157 exit (1);
18158 if (((long) (sizeof (long long))) < 0)
18159 {
18160 long i = longval ();
18161 if (i != ((long) (sizeof (long long))))
18162 exit (1);
18163 fprintf (f, "%ld\n", i);
18164 }
18165 else
18166 {
18167 unsigned long i = ulongval ();
18168 if (i != ((long) (sizeof (long long))))
18169 exit (1);
18170 fprintf (f, "%lu\n", i);
18171 }
18172 exit (ferror (f) || fclose (f) != 0);
18173
18174 ;
18175 return 0;
18176 }
18177 _ACEOF
18178 rm -f conftest$ac_exeext
18179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18180 (eval $ac_link) 2>&5
18181 ac_status=$?
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18185 (eval $ac_try) 2>&5
18186 ac_status=$?
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; }; then
18189 ac_cv_sizeof_long_long=`cat conftest.val`
18190 else
18191 echo "$as_me: program exited with status $ac_status" >&5
18192 echo "$as_me: failed program was:" >&5
18193 sed 's/^/| /' conftest.$ac_ext >&5
18194
18195 ( exit $ac_status )
18196 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18197 See \`config.log' for more details." >&5
18198 echo "$as_me: error: cannot compute sizeof (long long), 77
18199 See \`config.log' for more details." >&2;}
18200 { (exit 1); exit 1; }; }
18201 fi
18202 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18203 fi
18204 fi
18205 rm -f conftest.val
18206 else
18207 ac_cv_sizeof_long_long=0
18208 fi
18209 fi
18210 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18211 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18212 cat >>confdefs.h <<_ACEOF
18213 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18214 _ACEOF
18215
18216
18217 ;;
18218 *-hp-hpux* )
18219 echo "$as_me:$LINENO: checking for long long" >&5
18220 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18221 if test "${ac_cv_type_long_long+set}" = set; then
18222 echo $ECHO_N "(cached) $ECHO_C" >&6
18223 else
18224 cat >conftest.$ac_ext <<_ACEOF
18225 /* confdefs.h. */
18226 _ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230 $ac_includes_default
18231 int
18232 main ()
18233 {
18234 if ((long long *) 0)
18235 return 0;
18236 if (sizeof (long long))
18237 return 0;
18238 ;
18239 return 0;
18240 }
18241 _ACEOF
18242 rm -f conftest.$ac_objext
18243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18244 (eval $ac_compile) 2>conftest.er1
18245 ac_status=$?
18246 grep -v '^ *+' conftest.er1 >conftest.err
18247 rm -f conftest.er1
18248 cat conftest.err >&5
18249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18250 (exit $ac_status); } &&
18251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18253 (eval $ac_try) 2>&5
18254 ac_status=$?
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); }; } &&
18257 { ac_try='test -s conftest.$ac_objext'
18258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18259 (eval $ac_try) 2>&5
18260 ac_status=$?
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); }; }; then
18263 ac_cv_type_long_long=yes
18264 else
18265 echo "$as_me: failed program was:" >&5
18266 sed 's/^/| /' conftest.$ac_ext >&5
18267
18268 ac_cv_type_long_long=no
18269 fi
18270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18271 fi
18272 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18273 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18274
18275 echo "$as_me:$LINENO: checking size of long long" >&5
18276 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18277 if test "${ac_cv_sizeof_long_long+set}" = set; then
18278 echo $ECHO_N "(cached) $ECHO_C" >&6
18279 else
18280 if test "$ac_cv_type_long_long" = yes; then
18281 # The cast to unsigned long works around a bug in the HP C Compiler
18282 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18283 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18284 # This bug is HP SR number 8606223364.
18285 if test "$cross_compiling" = yes; then
18286 # Depending upon the size, compute the lo and hi bounds.
18287 cat >conftest.$ac_ext <<_ACEOF
18288 /* confdefs.h. */
18289 _ACEOF
18290 cat confdefs.h >>conftest.$ac_ext
18291 cat >>conftest.$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293 $ac_includes_default
18294 int
18295 main ()
18296 {
18297 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18298 test_array [0] = 0
18299
18300 ;
18301 return 0;
18302 }
18303 _ACEOF
18304 rm -f conftest.$ac_objext
18305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18306 (eval $ac_compile) 2>conftest.er1
18307 ac_status=$?
18308 grep -v '^ *+' conftest.er1 >conftest.err
18309 rm -f conftest.er1
18310 cat conftest.err >&5
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); } &&
18313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315 (eval $ac_try) 2>&5
18316 ac_status=$?
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); }; } &&
18319 { ac_try='test -s conftest.$ac_objext'
18320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18321 (eval $ac_try) 2>&5
18322 ac_status=$?
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); }; }; then
18325 ac_lo=0 ac_mid=0
18326 while :; do
18327 cat >conftest.$ac_ext <<_ACEOF
18328 /* confdefs.h. */
18329 _ACEOF
18330 cat confdefs.h >>conftest.$ac_ext
18331 cat >>conftest.$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18333 $ac_includes_default
18334 int
18335 main ()
18336 {
18337 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18338 test_array [0] = 0
18339
18340 ;
18341 return 0;
18342 }
18343 _ACEOF
18344 rm -f conftest.$ac_objext
18345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18346 (eval $ac_compile) 2>conftest.er1
18347 ac_status=$?
18348 grep -v '^ *+' conftest.er1 >conftest.err
18349 rm -f conftest.er1
18350 cat conftest.err >&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); } &&
18353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18355 (eval $ac_try) 2>&5
18356 ac_status=$?
18357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); }; } &&
18359 { ac_try='test -s conftest.$ac_objext'
18360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18361 (eval $ac_try) 2>&5
18362 ac_status=$?
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); }; }; then
18365 ac_hi=$ac_mid; break
18366 else
18367 echo "$as_me: failed program was:" >&5
18368 sed 's/^/| /' conftest.$ac_ext >&5
18369
18370 ac_lo=`expr $ac_mid + 1`
18371 if test $ac_lo -le $ac_mid; then
18372 ac_lo= ac_hi=
18373 break
18374 fi
18375 ac_mid=`expr 2 '*' $ac_mid + 1`
18376 fi
18377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18378 done
18379 else
18380 echo "$as_me: failed program was:" >&5
18381 sed 's/^/| /' conftest.$ac_ext >&5
18382
18383 cat >conftest.$ac_ext <<_ACEOF
18384 /* confdefs.h. */
18385 _ACEOF
18386 cat confdefs.h >>conftest.$ac_ext
18387 cat >>conftest.$ac_ext <<_ACEOF
18388 /* end confdefs.h. */
18389 $ac_includes_default
18390 int
18391 main ()
18392 {
18393 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18394 test_array [0] = 0
18395
18396 ;
18397 return 0;
18398 }
18399 _ACEOF
18400 rm -f conftest.$ac_objext
18401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18402 (eval $ac_compile) 2>conftest.er1
18403 ac_status=$?
18404 grep -v '^ *+' conftest.er1 >conftest.err
18405 rm -f conftest.er1
18406 cat conftest.err >&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); } &&
18409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18411 (eval $ac_try) 2>&5
18412 ac_status=$?
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); }; } &&
18415 { ac_try='test -s conftest.$ac_objext'
18416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18417 (eval $ac_try) 2>&5
18418 ac_status=$?
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); }; }; then
18421 ac_hi=-1 ac_mid=-1
18422 while :; do
18423 cat >conftest.$ac_ext <<_ACEOF
18424 /* confdefs.h. */
18425 _ACEOF
18426 cat confdefs.h >>conftest.$ac_ext
18427 cat >>conftest.$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18429 $ac_includes_default
18430 int
18431 main ()
18432 {
18433 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18434 test_array [0] = 0
18435
18436 ;
18437 return 0;
18438 }
18439 _ACEOF
18440 rm -f conftest.$ac_objext
18441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18442 (eval $ac_compile) 2>conftest.er1
18443 ac_status=$?
18444 grep -v '^ *+' conftest.er1 >conftest.err
18445 rm -f conftest.er1
18446 cat conftest.err >&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } &&
18449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18451 (eval $ac_try) 2>&5
18452 ac_status=$?
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); }; } &&
18455 { ac_try='test -s conftest.$ac_objext'
18456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18457 (eval $ac_try) 2>&5
18458 ac_status=$?
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); }; }; then
18461 ac_lo=$ac_mid; break
18462 else
18463 echo "$as_me: failed program was:" >&5
18464 sed 's/^/| /' conftest.$ac_ext >&5
18465
18466 ac_hi=`expr '(' $ac_mid ')' - 1`
18467 if test $ac_mid -le $ac_hi; then
18468 ac_lo= ac_hi=
18469 break
18470 fi
18471 ac_mid=`expr 2 '*' $ac_mid`
18472 fi
18473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18474 done
18475 else
18476 echo "$as_me: failed program was:" >&5
18477 sed 's/^/| /' conftest.$ac_ext >&5
18478
18479 ac_lo= ac_hi=
18480 fi
18481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18482 fi
18483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18484 # Binary search between lo and hi bounds.
18485 while test "x$ac_lo" != "x$ac_hi"; do
18486 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18487 cat >conftest.$ac_ext <<_ACEOF
18488 /* confdefs.h. */
18489 _ACEOF
18490 cat confdefs.h >>conftest.$ac_ext
18491 cat >>conftest.$ac_ext <<_ACEOF
18492 /* end confdefs.h. */
18493 $ac_includes_default
18494 int
18495 main ()
18496 {
18497 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18498 test_array [0] = 0
18499
18500 ;
18501 return 0;
18502 }
18503 _ACEOF
18504 rm -f conftest.$ac_objext
18505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18506 (eval $ac_compile) 2>conftest.er1
18507 ac_status=$?
18508 grep -v '^ *+' conftest.er1 >conftest.err
18509 rm -f conftest.er1
18510 cat conftest.err >&5
18511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512 (exit $ac_status); } &&
18513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18515 (eval $ac_try) 2>&5
18516 ac_status=$?
18517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518 (exit $ac_status); }; } &&
18519 { ac_try='test -s conftest.$ac_objext'
18520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18521 (eval $ac_try) 2>&5
18522 ac_status=$?
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); }; }; then
18525 ac_hi=$ac_mid
18526 else
18527 echo "$as_me: failed program was:" >&5
18528 sed 's/^/| /' conftest.$ac_ext >&5
18529
18530 ac_lo=`expr '(' $ac_mid ')' + 1`
18531 fi
18532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18533 done
18534 case $ac_lo in
18535 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18536 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18537 See \`config.log' for more details." >&5
18538 echo "$as_me: error: cannot compute sizeof (long long), 77
18539 See \`config.log' for more details." >&2;}
18540 { (exit 1); exit 1; }; } ;;
18541 esac
18542 else
18543 if test "$cross_compiling" = yes; then
18544 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18545 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18546 { (exit 1); exit 1; }; }
18547 else
18548 cat >conftest.$ac_ext <<_ACEOF
18549 /* confdefs.h. */
18550 _ACEOF
18551 cat confdefs.h >>conftest.$ac_ext
18552 cat >>conftest.$ac_ext <<_ACEOF
18553 /* end confdefs.h. */
18554 $ac_includes_default
18555 long longval () { return (long) (sizeof (long long)); }
18556 unsigned long ulongval () { return (long) (sizeof (long long)); }
18557 #include <stdio.h>
18558 #include <stdlib.h>
18559 int
18560 main ()
18561 {
18562
18563 FILE *f = fopen ("conftest.val", "w");
18564 if (! f)
18565 exit (1);
18566 if (((long) (sizeof (long long))) < 0)
18567 {
18568 long i = longval ();
18569 if (i != ((long) (sizeof (long long))))
18570 exit (1);
18571 fprintf (f, "%ld\n", i);
18572 }
18573 else
18574 {
18575 unsigned long i = ulongval ();
18576 if (i != ((long) (sizeof (long long))))
18577 exit (1);
18578 fprintf (f, "%lu\n", i);
18579 }
18580 exit (ferror (f) || fclose (f) != 0);
18581
18582 ;
18583 return 0;
18584 }
18585 _ACEOF
18586 rm -f conftest$ac_exeext
18587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18588 (eval $ac_link) 2>&5
18589 ac_status=$?
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18594 ac_status=$?
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; }; then
18597 ac_cv_sizeof_long_long=`cat conftest.val`
18598 else
18599 echo "$as_me: program exited with status $ac_status" >&5
18600 echo "$as_me: failed program was:" >&5
18601 sed 's/^/| /' conftest.$ac_ext >&5
18602
18603 ( exit $ac_status )
18604 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18605 See \`config.log' for more details." >&5
18606 echo "$as_me: error: cannot compute sizeof (long long), 77
18607 See \`config.log' for more details." >&2;}
18608 { (exit 1); exit 1; }; }
18609 fi
18610 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18611 fi
18612 fi
18613 rm -f conftest.val
18614 else
18615 ac_cv_sizeof_long_long=0
18616 fi
18617 fi
18618 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18619 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18620 cat >>confdefs.h <<_ACEOF
18621 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18622 _ACEOF
18623
18624
18625 if test "$ac_cv_sizeof_long_long" != "0"; then
18626 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
18627 fi
18628 ;;
18629 * )
18630 echo "$as_me:$LINENO: checking for long long" >&5
18631 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18632 if test "${ac_cv_type_long_long+set}" = set; then
18633 echo $ECHO_N "(cached) $ECHO_C" >&6
18634 else
18635 cat >conftest.$ac_ext <<_ACEOF
18636 /* confdefs.h. */
18637 _ACEOF
18638 cat confdefs.h >>conftest.$ac_ext
18639 cat >>conftest.$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 $ac_includes_default
18642 int
18643 main ()
18644 {
18645 if ((long long *) 0)
18646 return 0;
18647 if (sizeof (long long))
18648 return 0;
18649 ;
18650 return 0;
18651 }
18652 _ACEOF
18653 rm -f conftest.$ac_objext
18654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18655 (eval $ac_compile) 2>conftest.er1
18656 ac_status=$?
18657 grep -v '^ *+' conftest.er1 >conftest.err
18658 rm -f conftest.er1
18659 cat conftest.err >&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } &&
18662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18664 (eval $ac_try) 2>&5
18665 ac_status=$?
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); }; } &&
18668 { ac_try='test -s conftest.$ac_objext'
18669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18670 (eval $ac_try) 2>&5
18671 ac_status=$?
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); }; }; then
18674 ac_cv_type_long_long=yes
18675 else
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18678
18679 ac_cv_type_long_long=no
18680 fi
18681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18682 fi
18683 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18684 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18685
18686 echo "$as_me:$LINENO: checking size of long long" >&5
18687 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18688 if test "${ac_cv_sizeof_long_long+set}" = set; then
18689 echo $ECHO_N "(cached) $ECHO_C" >&6
18690 else
18691 if test "$ac_cv_type_long_long" = yes; then
18692 # The cast to unsigned long works around a bug in the HP C Compiler
18693 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18694 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18695 # This bug is HP SR number 8606223364.
18696 if test "$cross_compiling" = yes; then
18697 # Depending upon the size, compute the lo and hi bounds.
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))) >= 0)];
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=0 ac_mid=0
18737 while :; do
18738 cat >conftest.$ac_ext <<_ACEOF
18739 /* confdefs.h. */
18740 _ACEOF
18741 cat confdefs.h >>conftest.$ac_ext
18742 cat >>conftest.$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18744 $ac_includes_default
18745 int
18746 main ()
18747 {
18748 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18749 test_array [0] = 0
18750
18751 ;
18752 return 0;
18753 }
18754 _ACEOF
18755 rm -f conftest.$ac_objext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18757 (eval $ac_compile) 2>conftest.er1
18758 ac_status=$?
18759 grep -v '^ *+' conftest.er1 >conftest.err
18760 rm -f conftest.er1
18761 cat conftest.err >&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } &&
18764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18767 ac_status=$?
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; } &&
18770 { ac_try='test -s conftest.$ac_objext'
18771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772 (eval $ac_try) 2>&5
18773 ac_status=$?
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; }; then
18776 ac_hi=$ac_mid; break
18777 else
18778 echo "$as_me: failed program was:" >&5
18779 sed 's/^/| /' conftest.$ac_ext >&5
18780
18781 ac_lo=`expr $ac_mid + 1`
18782 if test $ac_lo -le $ac_mid; then
18783 ac_lo= ac_hi=
18784 break
18785 fi
18786 ac_mid=`expr 2 '*' $ac_mid + 1`
18787 fi
18788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18789 done
18790 else
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.$ac_ext >&5
18793
18794 cat >conftest.$ac_ext <<_ACEOF
18795 /* confdefs.h. */
18796 _ACEOF
18797 cat confdefs.h >>conftest.$ac_ext
18798 cat >>conftest.$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18800 $ac_includes_default
18801 int
18802 main ()
18803 {
18804 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18805 test_array [0] = 0
18806
18807 ;
18808 return 0;
18809 }
18810 _ACEOF
18811 rm -f conftest.$ac_objext
18812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18813 (eval $ac_compile) 2>conftest.er1
18814 ac_status=$?
18815 grep -v '^ *+' conftest.er1 >conftest.err
18816 rm -f conftest.er1
18817 cat conftest.err >&5
18818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819 (exit $ac_status); } &&
18820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18822 (eval $ac_try) 2>&5
18823 ac_status=$?
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); }; } &&
18826 { ac_try='test -s conftest.$ac_objext'
18827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18828 (eval $ac_try) 2>&5
18829 ac_status=$?
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); }; }; then
18832 ac_hi=-1 ac_mid=-1
18833 while :; do
18834 cat >conftest.$ac_ext <<_ACEOF
18835 /* confdefs.h. */
18836 _ACEOF
18837 cat confdefs.h >>conftest.$ac_ext
18838 cat >>conftest.$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18840 $ac_includes_default
18841 int
18842 main ()
18843 {
18844 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18845 test_array [0] = 0
18846
18847 ;
18848 return 0;
18849 }
18850 _ACEOF
18851 rm -f conftest.$ac_objext
18852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18853 (eval $ac_compile) 2>conftest.er1
18854 ac_status=$?
18855 grep -v '^ *+' conftest.er1 >conftest.err
18856 rm -f conftest.er1
18857 cat conftest.err >&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); } &&
18860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18863 ac_status=$?
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; } &&
18866 { ac_try='test -s conftest.$ac_objext'
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_lo=$ac_mid; break
18873 else
18874 echo "$as_me: failed program was:" >&5
18875 sed 's/^/| /' conftest.$ac_ext >&5
18876
18877 ac_hi=`expr '(' $ac_mid ')' - 1`
18878 if test $ac_mid -le $ac_hi; then
18879 ac_lo= ac_hi=
18880 break
18881 fi
18882 ac_mid=`expr 2 '*' $ac_mid`
18883 fi
18884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18885 done
18886 else
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.$ac_ext >&5
18889
18890 ac_lo= ac_hi=
18891 fi
18892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18893 fi
18894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18895 # Binary search between lo and hi bounds.
18896 while test "x$ac_lo" != "x$ac_hi"; do
18897 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18898 cat >conftest.$ac_ext <<_ACEOF
18899 /* confdefs.h. */
18900 _ACEOF
18901 cat confdefs.h >>conftest.$ac_ext
18902 cat >>conftest.$ac_ext <<_ACEOF
18903 /* end confdefs.h. */
18904 $ac_includes_default
18905 int
18906 main ()
18907 {
18908 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18909 test_array [0] = 0
18910
18911 ;
18912 return 0;
18913 }
18914 _ACEOF
18915 rm -f conftest.$ac_objext
18916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18917 (eval $ac_compile) 2>conftest.er1
18918 ac_status=$?
18919 grep -v '^ *+' conftest.er1 >conftest.err
18920 rm -f conftest.er1
18921 cat conftest.err >&5
18922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923 (exit $ac_status); } &&
18924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926 (eval $ac_try) 2>&5
18927 ac_status=$?
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); }; } &&
18930 { ac_try='test -s conftest.$ac_objext'
18931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18932 (eval $ac_try) 2>&5
18933 ac_status=$?
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); }; }; then
18936 ac_hi=$ac_mid
18937 else
18938 echo "$as_me: failed program was:" >&5
18939 sed 's/^/| /' conftest.$ac_ext >&5
18940
18941 ac_lo=`expr '(' $ac_mid ')' + 1`
18942 fi
18943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18944 done
18945 case $ac_lo in
18946 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18947 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18948 See \`config.log' for more details." >&5
18949 echo "$as_me: error: cannot compute sizeof (long long), 77
18950 See \`config.log' for more details." >&2;}
18951 { (exit 1); exit 1; }; } ;;
18952 esac
18953 else
18954 if test "$cross_compiling" = yes; then
18955 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18956 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18957 { (exit 1); exit 1; }; }
18958 else
18959 cat >conftest.$ac_ext <<_ACEOF
18960 /* confdefs.h. */
18961 _ACEOF
18962 cat confdefs.h >>conftest.$ac_ext
18963 cat >>conftest.$ac_ext <<_ACEOF
18964 /* end confdefs.h. */
18965 $ac_includes_default
18966 long longval () { return (long) (sizeof (long long)); }
18967 unsigned long ulongval () { return (long) (sizeof (long long)); }
18968 #include <stdio.h>
18969 #include <stdlib.h>
18970 int
18971 main ()
18972 {
18973
18974 FILE *f = fopen ("conftest.val", "w");
18975 if (! f)
18976 exit (1);
18977 if (((long) (sizeof (long long))) < 0)
18978 {
18979 long i = longval ();
18980 if (i != ((long) (sizeof (long long))))
18981 exit (1);
18982 fprintf (f, "%ld\n", i);
18983 }
18984 else
18985 {
18986 unsigned long i = ulongval ();
18987 if (i != ((long) (sizeof (long long))))
18988 exit (1);
18989 fprintf (f, "%lu\n", i);
18990 }
18991 exit (ferror (f) || fclose (f) != 0);
18992
18993 ;
18994 return 0;
18995 }
18996 _ACEOF
18997 rm -f conftest$ac_exeext
18998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18999 (eval $ac_link) 2>&5
19000 ac_status=$?
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004 (eval $ac_try) 2>&5
19005 ac_status=$?
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); }; }; then
19008 ac_cv_sizeof_long_long=`cat conftest.val`
19009 else
19010 echo "$as_me: program exited with status $ac_status" >&5
19011 echo "$as_me: failed program was:" >&5
19012 sed 's/^/| /' conftest.$ac_ext >&5
19013
19014 ( exit $ac_status )
19015 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19016 See \`config.log' for more details." >&5
19017 echo "$as_me: error: cannot compute sizeof (long long), 77
19018 See \`config.log' for more details." >&2;}
19019 { (exit 1); exit 1; }; }
19020 fi
19021 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19022 fi
19023 fi
19024 rm -f conftest.val
19025 else
19026 ac_cv_sizeof_long_long=0
19027 fi
19028 fi
19029 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19030 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19031 cat >>confdefs.h <<_ACEOF
19032 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19033 _ACEOF
19034
19035
19036 esac
19037
19038 echo "$as_me:$LINENO: checking for wchar_t" >&5
19039 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19040 if test "${ac_cv_type_wchar_t+set}" = set; then
19041 echo $ECHO_N "(cached) $ECHO_C" >&6
19042 else
19043 cat >conftest.$ac_ext <<_ACEOF
19044 /* confdefs.h. */
19045 _ACEOF
19046 cat confdefs.h >>conftest.$ac_ext
19047 cat >>conftest.$ac_ext <<_ACEOF
19048 /* end confdefs.h. */
19049
19050 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19051 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19052 # error "fake wchar_t"
19053 #endif
19054 #ifdef HAVE_WCHAR_H
19055 # ifdef __CYGWIN__
19056 # include <stddef.h>
19057 # endif
19058 # include <wchar.h>
19059 #endif
19060 #ifdef HAVE_STDLIB_H
19061 # include <stdlib.h>
19062 #endif
19063 #include <stdio.h>
19064
19065
19066
19067 int
19068 main ()
19069 {
19070 if ((wchar_t *) 0)
19071 return 0;
19072 if (sizeof (wchar_t))
19073 return 0;
19074 ;
19075 return 0;
19076 }
19077 _ACEOF
19078 rm -f conftest.$ac_objext
19079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19080 (eval $ac_compile) 2>conftest.er1
19081 ac_status=$?
19082 grep -v '^ *+' conftest.er1 >conftest.err
19083 rm -f conftest.er1
19084 cat conftest.err >&5
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); } &&
19087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19089 (eval $ac_try) 2>&5
19090 ac_status=$?
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); }; } &&
19093 { ac_try='test -s conftest.$ac_objext'
19094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19095 (eval $ac_try) 2>&5
19096 ac_status=$?
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); }; }; then
19099 ac_cv_type_wchar_t=yes
19100 else
19101 echo "$as_me: failed program was:" >&5
19102 sed 's/^/| /' conftest.$ac_ext >&5
19103
19104 ac_cv_type_wchar_t=no
19105 fi
19106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19107 fi
19108 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19109 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19110
19111 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19112 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19113 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19114 echo $ECHO_N "(cached) $ECHO_C" >&6
19115 else
19116 if test "$ac_cv_type_wchar_t" = yes; then
19117 # The cast to unsigned long works around a bug in the HP C Compiler
19118 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19119 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19120 # This bug is HP SR number 8606223364.
19121 if test "$cross_compiling" = yes; then
19122 # Depending upon the size, compute the lo and hi bounds.
19123 cat >conftest.$ac_ext <<_ACEOF
19124 /* confdefs.h. */
19125 _ACEOF
19126 cat confdefs.h >>conftest.$ac_ext
19127 cat >>conftest.$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19129
19130 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19131 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19132 # error "fake wchar_t"
19133 #endif
19134 #ifdef HAVE_WCHAR_H
19135 # ifdef __CYGWIN__
19136 # include <stddef.h>
19137 # endif
19138 # include <wchar.h>
19139 #endif
19140 #ifdef HAVE_STDLIB_H
19141 # include <stdlib.h>
19142 #endif
19143 #include <stdio.h>
19144
19145
19146
19147 int
19148 main ()
19149 {
19150 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19151 test_array [0] = 0
19152
19153 ;
19154 return 0;
19155 }
19156 _ACEOF
19157 rm -f conftest.$ac_objext
19158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19159 (eval $ac_compile) 2>conftest.er1
19160 ac_status=$?
19161 grep -v '^ *+' conftest.er1 >conftest.err
19162 rm -f conftest.er1
19163 cat conftest.err >&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } &&
19166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19168 (eval $ac_try) 2>&5
19169 ac_status=$?
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); }; } &&
19172 { ac_try='test -s conftest.$ac_objext'
19173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19174 (eval $ac_try) 2>&5
19175 ac_status=$?
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); }; }; then
19178 ac_lo=0 ac_mid=0
19179 while :; do
19180 cat >conftest.$ac_ext <<_ACEOF
19181 /* confdefs.h. */
19182 _ACEOF
19183 cat confdefs.h >>conftest.$ac_ext
19184 cat >>conftest.$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19186
19187 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19188 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19189 # error "fake wchar_t"
19190 #endif
19191 #ifdef HAVE_WCHAR_H
19192 # ifdef __CYGWIN__
19193 # include <stddef.h>
19194 # endif
19195 # include <wchar.h>
19196 #endif
19197 #ifdef HAVE_STDLIB_H
19198 # include <stdlib.h>
19199 #endif
19200 #include <stdio.h>
19201
19202
19203
19204 int
19205 main ()
19206 {
19207 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19208 test_array [0] = 0
19209
19210 ;
19211 return 0;
19212 }
19213 _ACEOF
19214 rm -f conftest.$ac_objext
19215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19216 (eval $ac_compile) 2>conftest.er1
19217 ac_status=$?
19218 grep -v '^ *+' conftest.er1 >conftest.err
19219 rm -f conftest.er1
19220 cat conftest.err >&5
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); } &&
19223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19225 (eval $ac_try) 2>&5
19226 ac_status=$?
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); }; } &&
19229 { ac_try='test -s conftest.$ac_objext'
19230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19231 (eval $ac_try) 2>&5
19232 ac_status=$?
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); }; }; then
19235 ac_hi=$ac_mid; break
19236 else
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19239
19240 ac_lo=`expr $ac_mid + 1`
19241 if test $ac_lo -le $ac_mid; then
19242 ac_lo= ac_hi=
19243 break
19244 fi
19245 ac_mid=`expr 2 '*' $ac_mid + 1`
19246 fi
19247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19248 done
19249 else
19250 echo "$as_me: failed program was:" >&5
19251 sed 's/^/| /' conftest.$ac_ext >&5
19252
19253 cat >conftest.$ac_ext <<_ACEOF
19254 /* confdefs.h. */
19255 _ACEOF
19256 cat confdefs.h >>conftest.$ac_ext
19257 cat >>conftest.$ac_ext <<_ACEOF
19258 /* end confdefs.h. */
19259
19260 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19261 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19262 # error "fake wchar_t"
19263 #endif
19264 #ifdef HAVE_WCHAR_H
19265 # ifdef __CYGWIN__
19266 # include <stddef.h>
19267 # endif
19268 # include <wchar.h>
19269 #endif
19270 #ifdef HAVE_STDLIB_H
19271 # include <stdlib.h>
19272 #endif
19273 #include <stdio.h>
19274
19275
19276
19277 int
19278 main ()
19279 {
19280 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19281 test_array [0] = 0
19282
19283 ;
19284 return 0;
19285 }
19286 _ACEOF
19287 rm -f conftest.$ac_objext
19288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19289 (eval $ac_compile) 2>conftest.er1
19290 ac_status=$?
19291 grep -v '^ *+' conftest.er1 >conftest.err
19292 rm -f conftest.er1
19293 cat conftest.err >&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } &&
19296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19298 (eval $ac_try) 2>&5
19299 ac_status=$?
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); }; } &&
19302 { ac_try='test -s conftest.$ac_objext'
19303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19304 (eval $ac_try) 2>&5
19305 ac_status=$?
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); }; }; then
19308 ac_hi=-1 ac_mid=-1
19309 while :; do
19310 cat >conftest.$ac_ext <<_ACEOF
19311 /* confdefs.h. */
19312 _ACEOF
19313 cat confdefs.h >>conftest.$ac_ext
19314 cat >>conftest.$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19316
19317 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19318 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19319 # error "fake wchar_t"
19320 #endif
19321 #ifdef HAVE_WCHAR_H
19322 # ifdef __CYGWIN__
19323 # include <stddef.h>
19324 # endif
19325 # include <wchar.h>
19326 #endif
19327 #ifdef HAVE_STDLIB_H
19328 # include <stdlib.h>
19329 #endif
19330 #include <stdio.h>
19331
19332
19333
19334 int
19335 main ()
19336 {
19337 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19338 test_array [0] = 0
19339
19340 ;
19341 return 0;
19342 }
19343 _ACEOF
19344 rm -f conftest.$ac_objext
19345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19346 (eval $ac_compile) 2>conftest.er1
19347 ac_status=$?
19348 grep -v '^ *+' conftest.er1 >conftest.err
19349 rm -f conftest.er1
19350 cat conftest.err >&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); } &&
19353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19355 (eval $ac_try) 2>&5
19356 ac_status=$?
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); }; } &&
19359 { ac_try='test -s conftest.$ac_objext'
19360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361 (eval $ac_try) 2>&5
19362 ac_status=$?
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; }; then
19365 ac_lo=$ac_mid; break
19366 else
19367 echo "$as_me: failed program was:" >&5
19368 sed 's/^/| /' conftest.$ac_ext >&5
19369
19370 ac_hi=`expr '(' $ac_mid ')' - 1`
19371 if test $ac_mid -le $ac_hi; then
19372 ac_lo= ac_hi=
19373 break
19374 fi
19375 ac_mid=`expr 2 '*' $ac_mid`
19376 fi
19377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19378 done
19379 else
19380 echo "$as_me: failed program was:" >&5
19381 sed 's/^/| /' conftest.$ac_ext >&5
19382
19383 ac_lo= ac_hi=
19384 fi
19385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19386 fi
19387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19388 # Binary search between lo and hi bounds.
19389 while test "x$ac_lo" != "x$ac_hi"; do
19390 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19391 cat >conftest.$ac_ext <<_ACEOF
19392 /* confdefs.h. */
19393 _ACEOF
19394 cat confdefs.h >>conftest.$ac_ext
19395 cat >>conftest.$ac_ext <<_ACEOF
19396 /* end confdefs.h. */
19397
19398 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19399 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19400 # error "fake wchar_t"
19401 #endif
19402 #ifdef HAVE_WCHAR_H
19403 # ifdef __CYGWIN__
19404 # include <stddef.h>
19405 # endif
19406 # include <wchar.h>
19407 #endif
19408 #ifdef HAVE_STDLIB_H
19409 # include <stdlib.h>
19410 #endif
19411 #include <stdio.h>
19412
19413
19414
19415 int
19416 main ()
19417 {
19418 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19419 test_array [0] = 0
19420
19421 ;
19422 return 0;
19423 }
19424 _ACEOF
19425 rm -f conftest.$ac_objext
19426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19427 (eval $ac_compile) 2>conftest.er1
19428 ac_status=$?
19429 grep -v '^ *+' conftest.er1 >conftest.err
19430 rm -f conftest.er1
19431 cat conftest.err >&5
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); } &&
19434 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19436 (eval $ac_try) 2>&5
19437 ac_status=$?
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); }; } &&
19440 { ac_try='test -s conftest.$ac_objext'
19441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19442 (eval $ac_try) 2>&5
19443 ac_status=$?
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); }; }; then
19446 ac_hi=$ac_mid
19447 else
19448 echo "$as_me: failed program was:" >&5
19449 sed 's/^/| /' conftest.$ac_ext >&5
19450
19451 ac_lo=`expr '(' $ac_mid ')' + 1`
19452 fi
19453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19454 done
19455 case $ac_lo in
19456 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
19457 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19458 See \`config.log' for more details." >&5
19459 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19460 See \`config.log' for more details." >&2;}
19461 { (exit 1); exit 1; }; } ;;
19462 esac
19463 else
19464 if test "$cross_compiling" = yes; then
19465 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19466 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19467 { (exit 1); exit 1; }; }
19468 else
19469 cat >conftest.$ac_ext <<_ACEOF
19470 /* confdefs.h. */
19471 _ACEOF
19472 cat confdefs.h >>conftest.$ac_ext
19473 cat >>conftest.$ac_ext <<_ACEOF
19474 /* end confdefs.h. */
19475
19476 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19477 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19478 # error "fake wchar_t"
19479 #endif
19480 #ifdef HAVE_WCHAR_H
19481 # ifdef __CYGWIN__
19482 # include <stddef.h>
19483 # endif
19484 # include <wchar.h>
19485 #endif
19486 #ifdef HAVE_STDLIB_H
19487 # include <stdlib.h>
19488 #endif
19489 #include <stdio.h>
19490
19491
19492
19493 long longval () { return (long) (sizeof (wchar_t)); }
19494 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19495 #include <stdio.h>
19496 #include <stdlib.h>
19497 int
19498 main ()
19499 {
19500
19501 FILE *f = fopen ("conftest.val", "w");
19502 if (! f)
19503 exit (1);
19504 if (((long) (sizeof (wchar_t))) < 0)
19505 {
19506 long i = longval ();
19507 if (i != ((long) (sizeof (wchar_t))))
19508 exit (1);
19509 fprintf (f, "%ld\n", i);
19510 }
19511 else
19512 {
19513 unsigned long i = ulongval ();
19514 if (i != ((long) (sizeof (wchar_t))))
19515 exit (1);
19516 fprintf (f, "%lu\n", i);
19517 }
19518 exit (ferror (f) || fclose (f) != 0);
19519
19520 ;
19521 return 0;
19522 }
19523 _ACEOF
19524 rm -f conftest$ac_exeext
19525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19526 (eval $ac_link) 2>&5
19527 ac_status=$?
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531 (eval $ac_try) 2>&5
19532 ac_status=$?
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); }; }; then
19535 ac_cv_sizeof_wchar_t=`cat conftest.val`
19536 else
19537 echo "$as_me: program exited with status $ac_status" >&5
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.$ac_ext >&5
19540
19541 ( exit $ac_status )
19542 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19543 See \`config.log' for more details." >&5
19544 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19545 See \`config.log' for more details." >&2;}
19546 { (exit 1); exit 1; }; }
19547 fi
19548 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19549 fi
19550 fi
19551 rm -f conftest.val
19552 else
19553 ac_cv_sizeof_wchar_t=0
19554 fi
19555 fi
19556 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19557 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19558 cat >>confdefs.h <<_ACEOF
19559 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19560 _ACEOF
19561
19562
19563 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19564 wxUSE_WCHAR_T=yes
19565 else
19566 wxUSE_WCHAR_T=no
19567 fi
19568
19569 echo "$as_me:$LINENO: checking for va_copy" >&5
19570 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19571 if test "${wx_cv_func_va_copy+set}" = set; then
19572 echo $ECHO_N "(cached) $ECHO_C" >&6
19573 else
19574
19575 cat >conftest.$ac_ext <<_ACEOF
19576
19577 #include <stdarg.h>
19578 void foo(char *f, ...)
19579 {
19580 va_list ap1, ap2;
19581 va_start(ap1, f);
19582 va_copy(ap2, ap1);
19583 va_end(ap2);
19584 va_end(ap1);
19585 }
19586 int main()
19587 {
19588 foo("hi", 17);
19589 return 0;
19590 }
19591 _ACEOF
19592 rm -f conftest.$ac_objext conftest$ac_exeext
19593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19594 (eval $ac_link) 2>conftest.er1
19595 ac_status=$?
19596 grep -v '^ *+' conftest.er1 >conftest.err
19597 rm -f conftest.er1
19598 cat conftest.err >&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); } &&
19601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19604 ac_status=$?
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; } &&
19607 { ac_try='test -s conftest$ac_exeext'
19608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19609 (eval $ac_try) 2>&5
19610 ac_status=$?
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; }; then
19613 wx_cv_func_va_copy=yes
19614 else
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.$ac_ext >&5
19617
19618 wx_cv_func_va_copy=no
19619
19620 fi
19621 rm -f conftest.err conftest.$ac_objext \
19622 conftest$ac_exeext conftest.$ac_ext
19623
19624
19625 fi
19626 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19627 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19628
19629 if test $wx_cv_func_va_copy = "yes"; then
19630 cat >>confdefs.h <<\_ACEOF
19631 #define HAVE_VA_COPY 1
19632 _ACEOF
19633
19634 else
19635 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19636 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19637 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19638 echo $ECHO_N "(cached) $ECHO_C" >&6
19639 else
19640
19641 if test "$cross_compiling" = yes; then
19642 wx_cv_type_va_list_lvalue=yes
19643
19644 else
19645 cat >conftest.$ac_ext <<_ACEOF
19646
19647 #include <stdarg.h>
19648 int foo(char *f, ...)
19649 {
19650 va_list ap1, ap2;
19651 va_start(ap1, f);
19652 ap2 = ap1;
19653 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19654 return 1;
19655 va_end(ap2);
19656 va_end(ap1);
19657 return 0;
19658 }
19659 int main()
19660 {
19661 return foo("hi", 17);
19662 }
19663 _ACEOF
19664 rm -f conftest$ac_exeext
19665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19666 (eval $ac_link) 2>&5
19667 ac_status=$?
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19671 (eval $ac_try) 2>&5
19672 ac_status=$?
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); }; }; then
19675 wx_cv_type_va_list_lvalue=yes
19676 else
19677 echo "$as_me: program exited with status $ac_status" >&5
19678 echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.$ac_ext >&5
19680
19681 ( exit $ac_status )
19682 wx_cv_type_va_list_lvalue=no
19683 fi
19684 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19685 fi
19686
19687
19688 fi
19689 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19690 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19691
19692 if test $wx_cv_type_va_list_lvalue != "yes"; then
19693 cat >>confdefs.h <<\_ACEOF
19694 #define VA_LIST_IS_ARRAY 1
19695 _ACEOF
19696
19697 fi
19698 fi
19699
19700 # Check whether --enable-largefile or --disable-largefile was given.
19701 if test "${enable_largefile+set}" = set; then
19702 enableval="$enable_largefile"
19703
19704 fi;
19705 if test "$enable_largefile" != no; then
19706 wx_largefile=no
19707
19708 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19709 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19710 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19711 echo $ECHO_N "(cached) $ECHO_C" >&6
19712 else
19713
19714 cat >conftest.$ac_ext <<_ACEOF
19715 /* confdefs.h. */
19716 _ACEOF
19717 cat confdefs.h >>conftest.$ac_ext
19718 cat >>conftest.$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 #define _FILE_OFFSET_BITS 64
19721 #include <sys/types.h>
19722 int
19723 main ()
19724 {
19725 typedef struct {
19726 unsigned int field: sizeof(off_t) == 8;
19727 } wxlf;
19728
19729 ;
19730 return 0;
19731 }
19732 _ACEOF
19733 rm -f conftest.$ac_objext
19734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19735 (eval $ac_compile) 2>conftest.er1
19736 ac_status=$?
19737 grep -v '^ *+' conftest.er1 >conftest.err
19738 rm -f conftest.er1
19739 cat conftest.err >&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); } &&
19742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19744 (eval $ac_try) 2>&5
19745 ac_status=$?
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); }; } &&
19748 { ac_try='test -s conftest.$ac_objext'
19749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19750 (eval $ac_try) 2>&5
19751 ac_status=$?
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); }; }; then
19754 ac_cv_sys_file_offset_bits=64
19755 else
19756 echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.$ac_ext >&5
19758
19759 ac_cv_sys_file_offset_bits=no
19760 fi
19761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19762
19763
19764 fi
19765 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19766 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19767
19768 if test "$ac_cv_sys_file_offset_bits" != no; then
19769 wx_largefile=yes
19770 cat >>confdefs.h <<_ACEOF
19771 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19772 _ACEOF
19773
19774 fi
19775
19776 if test "x$wx_largefile" != "xyes"; then
19777
19778 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19779 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19780 if test "${ac_cv_sys_large_files+set}" = set; then
19781 echo $ECHO_N "(cached) $ECHO_C" >&6
19782 else
19783
19784 cat >conftest.$ac_ext <<_ACEOF
19785 /* confdefs.h. */
19786 _ACEOF
19787 cat confdefs.h >>conftest.$ac_ext
19788 cat >>conftest.$ac_ext <<_ACEOF
19789 /* end confdefs.h. */
19790 #define _LARGE_FILES 1
19791 #include <sys/types.h>
19792 int
19793 main ()
19794 {
19795 typedef struct {
19796 unsigned int field: sizeof(off_t) == 8;
19797 } wxlf;
19798
19799 ;
19800 return 0;
19801 }
19802 _ACEOF
19803 rm -f conftest.$ac_objext
19804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19805 (eval $ac_compile) 2>conftest.er1
19806 ac_status=$?
19807 grep -v '^ *+' conftest.er1 >conftest.err
19808 rm -f conftest.er1
19809 cat conftest.err >&5
19810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19811 (exit $ac_status); } &&
19812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19814 (eval $ac_try) 2>&5
19815 ac_status=$?
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); }; } &&
19818 { ac_try='test -s conftest.$ac_objext'
19819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820 (eval $ac_try) 2>&5
19821 ac_status=$?
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); }; }; then
19824 ac_cv_sys_large_files=1
19825 else
19826 echo "$as_me: failed program was:" >&5
19827 sed 's/^/| /' conftest.$ac_ext >&5
19828
19829 ac_cv_sys_large_files=no
19830 fi
19831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19832
19833
19834 fi
19835 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19836 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19837
19838 if test "$ac_cv_sys_large_files" != no; then
19839 wx_largefile=yes
19840 cat >>confdefs.h <<_ACEOF
19841 #define _LARGE_FILES $ac_cv_sys_large_files
19842 _ACEOF
19843
19844 fi
19845
19846 fi
19847
19848 echo "$as_me:$LINENO: checking if large file support is available" >&5
19849 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19850 if test "x$wx_largefile" = "xyes"; then
19851 cat >>confdefs.h <<\_ACEOF
19852 #define HAVE_LARGEFILE_SUPPORT 1
19853 _ACEOF
19854
19855 fi
19856 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19857 echo "${ECHO_T}$wx_largefile" >&6
19858 fi
19859
19860
19861 if test "x$wx_largefile" = "xyes"; then
19862 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19863 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19864
19865 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
19866 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
19867 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
19868 if test "${wx_cv_STDC_EXT_required+set}" = set; then
19869 echo $ECHO_N "(cached) $ECHO_C" >&6
19870 else
19871
19872
19873
19874 ac_ext=cc
19875 ac_cpp='$CXXCPP $CPPFLAGS'
19876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19879
19880 cat >conftest.$ac_ext <<_ACEOF
19881 /* confdefs.h. */
19882 _ACEOF
19883 cat confdefs.h >>conftest.$ac_ext
19884 cat >>conftest.$ac_ext <<_ACEOF
19885 /* end confdefs.h. */
19886
19887 int
19888 main ()
19889 {
19890
19891 #ifndef __STDC_EXT__
19892 choke me
19893 #endif
19894
19895 ;
19896 return 0;
19897 }
19898 _ACEOF
19899 rm -f conftest.$ac_objext
19900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19901 (eval $ac_compile) 2>conftest.er1
19902 ac_status=$?
19903 grep -v '^ *+' conftest.er1 >conftest.err
19904 rm -f conftest.er1
19905 cat conftest.err >&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); } &&
19908 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19910 (eval $ac_try) 2>&5
19911 ac_status=$?
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); }; } &&
19914 { ac_try='test -s conftest.$ac_objext'
19915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19916 (eval $ac_try) 2>&5
19917 ac_status=$?
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); }; }; then
19920 wx_cv_STDC_EXT_required=no
19921 else
19922 echo "$as_me: failed program was:" >&5
19923 sed 's/^/| /' conftest.$ac_ext >&5
19924
19925 wx_cv_STDC_EXT_required=yes
19926
19927 fi
19928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19929 ac_ext=c
19930 ac_cpp='$CPP $CPPFLAGS'
19931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19934
19935
19936
19937 fi
19938 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
19939 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
19940 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
19941 CXXFLAGS="$CXXFLAGS -D__STDC_EXT__"
19942 fi
19943 fi
19944 else
19945 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
19946 fi
19947 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19948 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19949 if test "${ac_cv_sys_largefile_source+set}" = set; then
19950 echo $ECHO_N "(cached) $ECHO_C" >&6
19951 else
19952 while :; do
19953 ac_cv_sys_largefile_source=no
19954 cat >conftest.$ac_ext <<_ACEOF
19955 /* confdefs.h. */
19956 _ACEOF
19957 cat confdefs.h >>conftest.$ac_ext
19958 cat >>conftest.$ac_ext <<_ACEOF
19959 /* end confdefs.h. */
19960 #include <stdio.h>
19961 int
19962 main ()
19963 {
19964 return !fseeko;
19965 ;
19966 return 0;
19967 }
19968 _ACEOF
19969 rm -f conftest.$ac_objext
19970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19971 (eval $ac_compile) 2>conftest.er1
19972 ac_status=$?
19973 grep -v '^ *+' conftest.er1 >conftest.err
19974 rm -f conftest.er1
19975 cat conftest.err >&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } &&
19978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19980 (eval $ac_try) 2>&5
19981 ac_status=$?
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); }; } &&
19984 { ac_try='test -s conftest.$ac_objext'
19985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19986 (eval $ac_try) 2>&5
19987 ac_status=$?
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; }; then
19990 break
19991 else
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.$ac_ext >&5
19994
19995 fi
19996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19997 cat >conftest.$ac_ext <<_ACEOF
19998 /* confdefs.h. */
19999 _ACEOF
20000 cat confdefs.h >>conftest.$ac_ext
20001 cat >>conftest.$ac_ext <<_ACEOF
20002 /* end confdefs.h. */
20003 #define _LARGEFILE_SOURCE 1
20004 #include <stdio.h>
20005 int
20006 main ()
20007 {
20008 return !fseeko;
20009 ;
20010 return 0;
20011 }
20012 _ACEOF
20013 rm -f conftest.$ac_objext
20014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20015 (eval $ac_compile) 2>conftest.er1
20016 ac_status=$?
20017 grep -v '^ *+' conftest.er1 >conftest.err
20018 rm -f conftest.er1
20019 cat conftest.err >&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } &&
20022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20025 ac_status=$?
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; } &&
20028 { ac_try='test -s conftest.$ac_objext'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20031 ac_status=$?
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; }; then
20034 ac_cv_sys_largefile_source=1; break
20035 else
20036 echo "$as_me: failed program was:" >&5
20037 sed 's/^/| /' conftest.$ac_ext >&5
20038
20039 fi
20040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20041 break
20042 done
20043 fi
20044 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20045 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20046 if test "$ac_cv_sys_largefile_source" != no; then
20047
20048 cat >>confdefs.h <<_ACEOF
20049 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20050 _ACEOF
20051
20052 fi
20053 rm -f conftest*
20054
20055 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20056 # in glibc 2.1.3, but that breaks too many other things.
20057 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20058 echo "$as_me:$LINENO: checking for fseeko" >&5
20059 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20060 if test "${ac_cv_func_fseeko+set}" = set; then
20061 echo $ECHO_N "(cached) $ECHO_C" >&6
20062 else
20063 cat >conftest.$ac_ext <<_ACEOF
20064 /* confdefs.h. */
20065 _ACEOF
20066 cat confdefs.h >>conftest.$ac_ext
20067 cat >>conftest.$ac_ext <<_ACEOF
20068 /* end confdefs.h. */
20069 #include <stdio.h>
20070 int
20071 main ()
20072 {
20073 return fseeko && fseeko (stdin, 0, 0);
20074 ;
20075 return 0;
20076 }
20077 _ACEOF
20078 rm -f conftest.$ac_objext conftest$ac_exeext
20079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20080 (eval $ac_link) 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_exeext'
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_func_fseeko=yes
20100 else
20101 echo "$as_me: failed program was:" >&5
20102 sed 's/^/| /' conftest.$ac_ext >&5
20103
20104 ac_cv_func_fseeko=no
20105 fi
20106 rm -f conftest.err conftest.$ac_objext \
20107 conftest$ac_exeext conftest.$ac_ext
20108 fi
20109 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20110 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20111 if test $ac_cv_func_fseeko = yes; then
20112
20113 cat >>confdefs.h <<\_ACEOF
20114 #define HAVE_FSEEKO 1
20115 _ACEOF
20116
20117 fi
20118
20119 if test "$ac_cv_sys_largefile_source" != no; then
20120 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20121 fi
20122 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20123 fi
20124
20125 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20126 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20127 if test "${ac_cv_c_bigendian+set}" = set; then
20128 echo $ECHO_N "(cached) $ECHO_C" >&6
20129 else
20130 ac_cv_c_bigendian=unknown
20131 # See if sys/param.h defines the BYTE_ORDER macro.
20132 cat >conftest.$ac_ext <<_ACEOF
20133 /* confdefs.h. */
20134 _ACEOF
20135 cat confdefs.h >>conftest.$ac_ext
20136 cat >>conftest.$ac_ext <<_ACEOF
20137 /* end confdefs.h. */
20138 #include <sys/types.h>
20139 #include <sys/param.h>
20140 int
20141 main ()
20142 {
20143
20144 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20145 bogus endian macros
20146 #endif
20147 ;
20148 return 0;
20149 }
20150 _ACEOF
20151 rm -f conftest.$ac_objext
20152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20153 (eval $ac_compile) 2>conftest.er1
20154 ac_status=$?
20155 grep -v '^ *+' conftest.er1 >conftest.err
20156 rm -f conftest.er1
20157 cat conftest.err >&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); } &&
20160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20162 (eval $ac_try) 2>&5
20163 ac_status=$?
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); }; } &&
20166 { ac_try='test -s conftest.$ac_objext'
20167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20168 (eval $ac_try) 2>&5
20169 ac_status=$?
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); }; }; then
20172 # It does; now see whether it defined to BIG_ENDIAN or not.
20173 cat >conftest.$ac_ext <<_ACEOF
20174 /* confdefs.h. */
20175 _ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 #include <sys/types.h>
20180 #include <sys/param.h>
20181 int
20182 main ()
20183 {
20184
20185 #if BYTE_ORDER != BIG_ENDIAN
20186 not big endian
20187 #endif
20188 ;
20189 return 0;
20190 }
20191 _ACEOF
20192 rm -f conftest.$ac_objext
20193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20194 (eval $ac_compile) 2>conftest.er1
20195 ac_status=$?
20196 grep -v '^ *+' conftest.er1 >conftest.err
20197 rm -f conftest.er1
20198 cat conftest.err >&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); } &&
20201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20204 ac_status=$?
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; } &&
20207 { ac_try='test -s conftest.$ac_objext'
20208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209 (eval $ac_try) 2>&5
20210 ac_status=$?
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 ac_cv_c_bigendian=yes
20214 else
20215 echo "$as_me: failed program was:" >&5
20216 sed 's/^/| /' conftest.$ac_ext >&5
20217
20218 ac_cv_c_bigendian=no
20219 fi
20220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20221 else
20222 echo "$as_me: failed program was:" >&5
20223 sed 's/^/| /' conftest.$ac_ext >&5
20224
20225 fi
20226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20227 if test $ac_cv_c_bigendian = unknown; then
20228 if test "$cross_compiling" = yes; then
20229 ac_cv_c_bigendian=unknown
20230 else
20231 cat >conftest.$ac_ext <<_ACEOF
20232 /* confdefs.h. */
20233 _ACEOF
20234 cat confdefs.h >>conftest.$ac_ext
20235 cat >>conftest.$ac_ext <<_ACEOF
20236 /* end confdefs.h. */
20237 main () {
20238 /* Are we little or big endian? From Harbison&Steele. */
20239 union
20240 {
20241 long l;
20242 char c[sizeof (long)];
20243 } u;
20244 u.l = 1;
20245 exit (u.c[sizeof (long) - 1] == 1);
20246 }
20247 _ACEOF
20248 rm -f conftest$ac_exeext
20249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20250 (eval $ac_link) 2>&5
20251 ac_status=$?
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20255 (eval $ac_try) 2>&5
20256 ac_status=$?
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; }; then
20259 ac_cv_c_bigendian=no
20260 else
20261 echo "$as_me: program exited with status $ac_status" >&5
20262 echo "$as_me: failed program was:" >&5
20263 sed 's/^/| /' conftest.$ac_ext >&5
20264
20265 ( exit $ac_status )
20266 ac_cv_c_bigendian=yes
20267 fi
20268 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20269 fi
20270 fi
20271 fi
20272 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20273 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20274 if test $ac_cv_c_bigendian = unknown; then
20275 { 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
20276 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;}
20277 fi
20278 if test $ac_cv_c_bigendian = yes; then
20279 cat >>confdefs.h <<\_ACEOF
20280 #define WORDS_BIGENDIAN 1
20281 _ACEOF
20282
20283 fi
20284
20285
20286 ac_ext=cc
20287 ac_cpp='$CXXCPP $CPPFLAGS'
20288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20291 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20292 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20293 if test -z "$CXXCPP"; then
20294 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20295 echo $ECHO_N "(cached) $ECHO_C" >&6
20296 else
20297 # Double quotes because CXXCPP needs to be expanded
20298 for CXXCPP in "$CXX -E" "/lib/cpp"
20299 do
20300 ac_preproc_ok=false
20301 for ac_cxx_preproc_warn_flag in '' yes
20302 do
20303 # Use a header file that comes with gcc, so configuring glibc
20304 # with a fresh cross-compiler works.
20305 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20306 # <limits.h> exists even on freestanding compilers.
20307 # On the NeXT, cc -E runs the code through the compiler's parser,
20308 # not just through cpp. "Syntax error" is here to catch this case.
20309 cat >conftest.$ac_ext <<_ACEOF
20310 /* confdefs.h. */
20311 _ACEOF
20312 cat confdefs.h >>conftest.$ac_ext
20313 cat >>conftest.$ac_ext <<_ACEOF
20314 /* end confdefs.h. */
20315 #ifdef __STDC__
20316 # include <limits.h>
20317 #else
20318 # include <assert.h>
20319 #endif
20320 Syntax error
20321 _ACEOF
20322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20323 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20324 ac_status=$?
20325 grep -v '^ *+' conftest.er1 >conftest.err
20326 rm -f conftest.er1
20327 cat conftest.err >&5
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); } >/dev/null; then
20330 if test -s conftest.err; then
20331 ac_cpp_err=$ac_cxx_preproc_warn_flag
20332 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20333 else
20334 ac_cpp_err=
20335 fi
20336 else
20337 ac_cpp_err=yes
20338 fi
20339 if test -z "$ac_cpp_err"; then
20340 :
20341 else
20342 echo "$as_me: failed program was:" >&5
20343 sed 's/^/| /' conftest.$ac_ext >&5
20344
20345 # Broken: fails on valid input.
20346 continue
20347 fi
20348 rm -f conftest.err conftest.$ac_ext
20349
20350 # OK, works on sane cases. Now check whether non-existent headers
20351 # can be detected and how.
20352 cat >conftest.$ac_ext <<_ACEOF
20353 /* confdefs.h. */
20354 _ACEOF
20355 cat confdefs.h >>conftest.$ac_ext
20356 cat >>conftest.$ac_ext <<_ACEOF
20357 /* end confdefs.h. */
20358 #include <ac_nonexistent.h>
20359 _ACEOF
20360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20362 ac_status=$?
20363 grep -v '^ *+' conftest.er1 >conftest.err
20364 rm -f conftest.er1
20365 cat conftest.err >&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); } >/dev/null; then
20368 if test -s conftest.err; then
20369 ac_cpp_err=$ac_cxx_preproc_warn_flag
20370 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20371 else
20372 ac_cpp_err=
20373 fi
20374 else
20375 ac_cpp_err=yes
20376 fi
20377 if test -z "$ac_cpp_err"; then
20378 # Broken: success on invalid input.
20379 continue
20380 else
20381 echo "$as_me: failed program was:" >&5
20382 sed 's/^/| /' conftest.$ac_ext >&5
20383
20384 # Passes both tests.
20385 ac_preproc_ok=:
20386 break
20387 fi
20388 rm -f conftest.err conftest.$ac_ext
20389
20390 done
20391 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20392 rm -f conftest.err conftest.$ac_ext
20393 if $ac_preproc_ok; then
20394 break
20395 fi
20396
20397 done
20398 ac_cv_prog_CXXCPP=$CXXCPP
20399
20400 fi
20401 CXXCPP=$ac_cv_prog_CXXCPP
20402 else
20403 ac_cv_prog_CXXCPP=$CXXCPP
20404 fi
20405 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20406 echo "${ECHO_T}$CXXCPP" >&6
20407 ac_preproc_ok=false
20408 for ac_cxx_preproc_warn_flag in '' yes
20409 do
20410 # Use a header file that comes with gcc, so configuring glibc
20411 # with a fresh cross-compiler works.
20412 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20413 # <limits.h> exists even on freestanding compilers.
20414 # On the NeXT, cc -E runs the code through the compiler's parser,
20415 # not just through cpp. "Syntax error" is here to catch this case.
20416 cat >conftest.$ac_ext <<_ACEOF
20417 /* confdefs.h. */
20418 _ACEOF
20419 cat confdefs.h >>conftest.$ac_ext
20420 cat >>conftest.$ac_ext <<_ACEOF
20421 /* end confdefs.h. */
20422 #ifdef __STDC__
20423 # include <limits.h>
20424 #else
20425 # include <assert.h>
20426 #endif
20427 Syntax error
20428 _ACEOF
20429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20430 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20431 ac_status=$?
20432 grep -v '^ *+' conftest.er1 >conftest.err
20433 rm -f conftest.er1
20434 cat conftest.err >&5
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); } >/dev/null; then
20437 if test -s conftest.err; then
20438 ac_cpp_err=$ac_cxx_preproc_warn_flag
20439 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20440 else
20441 ac_cpp_err=
20442 fi
20443 else
20444 ac_cpp_err=yes
20445 fi
20446 if test -z "$ac_cpp_err"; then
20447 :
20448 else
20449 echo "$as_me: failed program was:" >&5
20450 sed 's/^/| /' conftest.$ac_ext >&5
20451
20452 # Broken: fails on valid input.
20453 continue
20454 fi
20455 rm -f conftest.err conftest.$ac_ext
20456
20457 # OK, works on sane cases. Now check whether non-existent headers
20458 # can be detected and how.
20459 cat >conftest.$ac_ext <<_ACEOF
20460 /* confdefs.h. */
20461 _ACEOF
20462 cat confdefs.h >>conftest.$ac_ext
20463 cat >>conftest.$ac_ext <<_ACEOF
20464 /* end confdefs.h. */
20465 #include <ac_nonexistent.h>
20466 _ACEOF
20467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20468 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20469 ac_status=$?
20470 grep -v '^ *+' conftest.er1 >conftest.err
20471 rm -f conftest.er1
20472 cat conftest.err >&5
20473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20474 (exit $ac_status); } >/dev/null; then
20475 if test -s conftest.err; then
20476 ac_cpp_err=$ac_cxx_preproc_warn_flag
20477 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20478 else
20479 ac_cpp_err=
20480 fi
20481 else
20482 ac_cpp_err=yes
20483 fi
20484 if test -z "$ac_cpp_err"; then
20485 # Broken: success on invalid input.
20486 continue
20487 else
20488 echo "$as_me: failed program was:" >&5
20489 sed 's/^/| /' conftest.$ac_ext >&5
20490
20491 # Passes both tests.
20492 ac_preproc_ok=:
20493 break
20494 fi
20495 rm -f conftest.err conftest.$ac_ext
20496
20497 done
20498 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20499 rm -f conftest.err conftest.$ac_ext
20500 if $ac_preproc_ok; then
20501 :
20502 else
20503 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20504 See \`config.log' for more details." >&5
20505 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20506 See \`config.log' for more details." >&2;}
20507 { (exit 1); exit 1; }; }
20508 fi
20509
20510 ac_ext=cc
20511 ac_cpp='$CXXCPP $CPPFLAGS'
20512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20515
20516
20517
20518
20519
20520 ac_ext=cc
20521 ac_cpp='$CXXCPP $CPPFLAGS'
20522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20525
20526
20527
20528 for ac_header in iostream
20529 do
20530 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20532 echo "$as_me:$LINENO: checking for $ac_header" >&5
20533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20535 echo $ECHO_N "(cached) $ECHO_C" >&6
20536 fi
20537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20539 else
20540 # Is the header compilable?
20541 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20542 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20543 cat >conftest.$ac_ext <<_ACEOF
20544 /* confdefs.h. */
20545 _ACEOF
20546 cat confdefs.h >>conftest.$ac_ext
20547 cat >>conftest.$ac_ext <<_ACEOF
20548 /* end confdefs.h. */
20549 $ac_includes_default
20550 #include <$ac_header>
20551 _ACEOF
20552 rm -f conftest.$ac_objext
20553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20554 (eval $ac_compile) 2>conftest.er1
20555 ac_status=$?
20556 grep -v '^ *+' conftest.er1 >conftest.err
20557 rm -f conftest.er1
20558 cat conftest.err >&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } &&
20561 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20563 (eval $ac_try) 2>&5
20564 ac_status=$?
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); }; } &&
20567 { ac_try='test -s conftest.$ac_objext'
20568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20569 (eval $ac_try) 2>&5
20570 ac_status=$?
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); }; }; then
20573 ac_header_compiler=yes
20574 else
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.$ac_ext >&5
20577
20578 ac_header_compiler=no
20579 fi
20580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20582 echo "${ECHO_T}$ac_header_compiler" >&6
20583
20584 # Is the header present?
20585 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20587 cat >conftest.$ac_ext <<_ACEOF
20588 /* confdefs.h. */
20589 _ACEOF
20590 cat confdefs.h >>conftest.$ac_ext
20591 cat >>conftest.$ac_ext <<_ACEOF
20592 /* end confdefs.h. */
20593 #include <$ac_header>
20594 _ACEOF
20595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20596 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20597 ac_status=$?
20598 grep -v '^ *+' conftest.er1 >conftest.err
20599 rm -f conftest.er1
20600 cat conftest.err >&5
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); } >/dev/null; then
20603 if test -s conftest.err; then
20604 ac_cpp_err=$ac_cxx_preproc_warn_flag
20605 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20606 else
20607 ac_cpp_err=
20608 fi
20609 else
20610 ac_cpp_err=yes
20611 fi
20612 if test -z "$ac_cpp_err"; then
20613 ac_header_preproc=yes
20614 else
20615 echo "$as_me: failed program was:" >&5
20616 sed 's/^/| /' conftest.$ac_ext >&5
20617
20618 ac_header_preproc=no
20619 fi
20620 rm -f conftest.err conftest.$ac_ext
20621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20622 echo "${ECHO_T}$ac_header_preproc" >&6
20623
20624 # So? What about this header?
20625 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20626 yes:no: )
20627 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20628 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20630 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20631 ac_header_preproc=yes
20632 ;;
20633 no:yes:* )
20634 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20635 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20636 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20637 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20638 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20639 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20640 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20641 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20644 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20645 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20646 (
20647 cat <<\_ASBOX
20648 ## ----------------------------------------- ##
20649 ## Report this to wx-dev@lists.wxwidgets.org ##
20650 ## ----------------------------------------- ##
20651 _ASBOX
20652 ) |
20653 sed "s/^/$as_me: WARNING: /" >&2
20654 ;;
20655 esac
20656 echo "$as_me:$LINENO: checking for $ac_header" >&5
20657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20659 echo $ECHO_N "(cached) $ECHO_C" >&6
20660 else
20661 eval "$as_ac_Header=\$ac_header_preproc"
20662 fi
20663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20665
20666 fi
20667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20668 cat >>confdefs.h <<_ACEOF
20669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20670 _ACEOF
20671
20672 fi
20673
20674 done
20675
20676
20677 if test "$ac_cv_header_iostream" = "yes" ; then
20678 :
20679 else
20680 cat >>confdefs.h <<\_ACEOF
20681 #define wxUSE_IOSTREAMH 1
20682 _ACEOF
20683
20684 fi
20685
20686 ac_ext=c
20687 ac_cpp='$CPP $CPPFLAGS'
20688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20691
20692
20693
20694
20695 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20696 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20697 if test "${wx_cv_cpp_bool+set}" = set; then
20698 echo $ECHO_N "(cached) $ECHO_C" >&6
20699 else
20700
20701
20702
20703 ac_ext=cc
20704 ac_cpp='$CXXCPP $CPPFLAGS'
20705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20708
20709
20710 cat >conftest.$ac_ext <<_ACEOF
20711 /* confdefs.h. */
20712 _ACEOF
20713 cat confdefs.h >>conftest.$ac_ext
20714 cat >>conftest.$ac_ext <<_ACEOF
20715 /* end confdefs.h. */
20716
20717
20718 int
20719 main ()
20720 {
20721
20722 bool b = true;
20723
20724 return 0;
20725
20726 ;
20727 return 0;
20728 }
20729 _ACEOF
20730 rm -f conftest.$ac_objext
20731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20732 (eval $ac_compile) 2>conftest.er1
20733 ac_status=$?
20734 grep -v '^ *+' conftest.er1 >conftest.err
20735 rm -f conftest.er1
20736 cat conftest.err >&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); } &&
20739 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20741 (eval $ac_try) 2>&5
20742 ac_status=$?
20743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20744 (exit $ac_status); }; } &&
20745 { ac_try='test -s conftest.$ac_objext'
20746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20747 (eval $ac_try) 2>&5
20748 ac_status=$?
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); }; }; then
20751
20752 wx_cv_cpp_bool=yes
20753
20754 else
20755 echo "$as_me: failed program was:" >&5
20756 sed 's/^/| /' conftest.$ac_ext >&5
20757
20758
20759 wx_cv_cpp_bool=no
20760
20761
20762 fi
20763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20764
20765 ac_ext=c
20766 ac_cpp='$CPP $CPPFLAGS'
20767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20770
20771
20772 fi
20773 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20774 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20775
20776 if test "$wx_cv_cpp_bool" = "yes"; then
20777 cat >>confdefs.h <<\_ACEOF
20778 #define HAVE_BOOL 1
20779 _ACEOF
20780
20781 fi
20782
20783
20784
20785 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20786 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20787 if test "${wx_cv_explicit+set}" = set; then
20788 echo $ECHO_N "(cached) $ECHO_C" >&6
20789 else
20790
20791
20792
20793 ac_ext=cc
20794 ac_cpp='$CXXCPP $CPPFLAGS'
20795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20798
20799
20800 cat >conftest.$ac_ext <<_ACEOF
20801 /* confdefs.h. */
20802 _ACEOF
20803 cat confdefs.h >>conftest.$ac_ext
20804 cat >>conftest.$ac_ext <<_ACEOF
20805 /* end confdefs.h. */
20806
20807 class Foo { public: explicit Foo(int) {} };
20808
20809 int
20810 main ()
20811 {
20812
20813 return 0;
20814
20815 ;
20816 return 0;
20817 }
20818 _ACEOF
20819 rm -f conftest.$ac_objext
20820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20821 (eval $ac_compile) 2>conftest.er1
20822 ac_status=$?
20823 grep -v '^ *+' conftest.er1 >conftest.err
20824 rm -f conftest.er1
20825 cat conftest.err >&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); } &&
20828 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20830 (eval $ac_try) 2>&5
20831 ac_status=$?
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); }; } &&
20834 { ac_try='test -s conftest.$ac_objext'
20835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20836 (eval $ac_try) 2>&5
20837 ac_status=$?
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); }; }; then
20840
20841 cat >conftest.$ac_ext <<_ACEOF
20842 /* confdefs.h. */
20843 _ACEOF
20844 cat confdefs.h >>conftest.$ac_ext
20845 cat >>conftest.$ac_ext <<_ACEOF
20846 /* end confdefs.h. */
20847
20848 class Foo { public: explicit Foo(int) {} };
20849 static void TakeFoo(const Foo& foo) { }
20850
20851 int
20852 main ()
20853 {
20854
20855 TakeFoo(17);
20856 return 0;
20857
20858 ;
20859 return 0;
20860 }
20861 _ACEOF
20862 rm -f conftest.$ac_objext
20863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20864 (eval $ac_compile) 2>conftest.er1
20865 ac_status=$?
20866 grep -v '^ *+' conftest.er1 >conftest.err
20867 rm -f conftest.er1
20868 cat conftest.err >&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } &&
20871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20873 (eval $ac_try) 2>&5
20874 ac_status=$?
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); }; } &&
20877 { ac_try='test -s conftest.$ac_objext'
20878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20879 (eval $ac_try) 2>&5
20880 ac_status=$?
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); }; }; then
20883 wx_cv_explicit=no
20884 else
20885 echo "$as_me: failed program was:" >&5
20886 sed 's/^/| /' conftest.$ac_ext >&5
20887
20888 wx_cv_explicit=yes
20889
20890 fi
20891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20892
20893 else
20894 echo "$as_me: failed program was:" >&5
20895 sed 's/^/| /' conftest.$ac_ext >&5
20896
20897 wx_cv_explicit=no
20898
20899 fi
20900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20901
20902 ac_ext=c
20903 ac_cpp='$CPP $CPPFLAGS'
20904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20907
20908
20909 fi
20910 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20911 echo "${ECHO_T}$wx_cv_explicit" >&6
20912
20913 if test "$wx_cv_explicit" = "yes"; then
20914 cat >>confdefs.h <<\_ACEOF
20915 #define HAVE_EXPLICIT 1
20916 _ACEOF
20917
20918 fi
20919
20920
20921 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20922 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20923 if test "${ac_cv_cxx_const_cast+set}" = set; then
20924 echo $ECHO_N "(cached) $ECHO_C" >&6
20925 else
20926
20927
20928 ac_ext=cc
20929 ac_cpp='$CXXCPP $CPPFLAGS'
20930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20933
20934 cat >conftest.$ac_ext <<_ACEOF
20935 /* confdefs.h. */
20936 _ACEOF
20937 cat confdefs.h >>conftest.$ac_ext
20938 cat >>conftest.$ac_ext <<_ACEOF
20939 /* end confdefs.h. */
20940
20941 int
20942 main ()
20943 {
20944 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20945 ;
20946 return 0;
20947 }
20948 _ACEOF
20949 rm -f conftest.$ac_objext
20950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20951 (eval $ac_compile) 2>conftest.er1
20952 ac_status=$?
20953 grep -v '^ *+' conftest.er1 >conftest.err
20954 rm -f conftest.er1
20955 cat conftest.err >&5
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); } &&
20958 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20960 (eval $ac_try) 2>&5
20961 ac_status=$?
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); }; } &&
20964 { ac_try='test -s conftest.$ac_objext'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20967 ac_status=$?
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; }; then
20970 ac_cv_cxx_const_cast=yes
20971 else
20972 echo "$as_me: failed program was:" >&5
20973 sed 's/^/| /' conftest.$ac_ext >&5
20974
20975 ac_cv_cxx_const_cast=no
20976 fi
20977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20978 ac_ext=c
20979 ac_cpp='$CPP $CPPFLAGS'
20980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20983
20984
20985 fi
20986 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
20987 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
20988 if test "$ac_cv_cxx_const_cast" = yes; then
20989
20990 cat >>confdefs.h <<\_ACEOF
20991 #define HAVE_CONST_CAST
20992 _ACEOF
20993
20994 fi
20995
20996 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
20997 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
20998 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
20999 echo $ECHO_N "(cached) $ECHO_C" >&6
21000 else
21001
21002
21003 ac_ext=cc
21004 ac_cpp='$CXXCPP $CPPFLAGS'
21005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21008
21009 cat >conftest.$ac_ext <<_ACEOF
21010 /* confdefs.h. */
21011 _ACEOF
21012 cat confdefs.h >>conftest.$ac_ext
21013 cat >>conftest.$ac_ext <<_ACEOF
21014 /* end confdefs.h. */
21015 #include <typeinfo>
21016 class Base { public : Base () {} virtual void f () = 0;};
21017 class Derived : public Base { public : Derived () {} virtual void f () {} };
21018 class Unrelated { public : Unrelated () {} };
21019 int g (Unrelated&) { return 0; }
21020 int
21021 main ()
21022 {
21023
21024 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21025 ;
21026 return 0;
21027 }
21028 _ACEOF
21029 rm -f conftest.$ac_objext
21030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21031 (eval $ac_compile) 2>conftest.er1
21032 ac_status=$?
21033 grep -v '^ *+' conftest.er1 >conftest.err
21034 rm -f conftest.er1
21035 cat conftest.err >&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); } &&
21038 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040 (eval $ac_try) 2>&5
21041 ac_status=$?
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; } &&
21044 { ac_try='test -s conftest.$ac_objext'
21045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21046 (eval $ac_try) 2>&5
21047 ac_status=$?
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); }; }; then
21050 ac_cv_cxx_reinterpret_cast=yes
21051 else
21052 echo "$as_me: failed program was:" >&5
21053 sed 's/^/| /' conftest.$ac_ext >&5
21054
21055 ac_cv_cxx_reinterpret_cast=no
21056 fi
21057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21058 ac_ext=c
21059 ac_cpp='$CPP $CPPFLAGS'
21060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21063
21064
21065 fi
21066 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21067 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21068 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21069
21070 cat >>confdefs.h <<\_ACEOF
21071 #define HAVE_REINTERPRET_CAST
21072 _ACEOF
21073
21074 fi
21075
21076 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21077 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21078 if test "${ac_cv_cxx_static_cast+set}" = set; then
21079 echo $ECHO_N "(cached) $ECHO_C" >&6
21080 else
21081
21082
21083 ac_ext=cc
21084 ac_cpp='$CXXCPP $CPPFLAGS'
21085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21088
21089 cat >conftest.$ac_ext <<_ACEOF
21090 /* confdefs.h. */
21091 _ACEOF
21092 cat confdefs.h >>conftest.$ac_ext
21093 cat >>conftest.$ac_ext <<_ACEOF
21094 /* end confdefs.h. */
21095 #include <typeinfo>
21096 class Base { public : Base () {} virtual void f () = 0; };
21097 class Derived : public Base { public : Derived () {} virtual void f () {} };
21098 int g (Derived&) { return 0; }
21099 int
21100 main ()
21101 {
21102
21103 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21104 ;
21105 return 0;
21106 }
21107 _ACEOF
21108 rm -f conftest.$ac_objext
21109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21110 (eval $ac_compile) 2>conftest.er1
21111 ac_status=$?
21112 grep -v '^ *+' conftest.er1 >conftest.err
21113 rm -f conftest.er1
21114 cat conftest.err >&5
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); } &&
21117 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21119 (eval $ac_try) 2>&5
21120 ac_status=$?
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); }; } &&
21123 { ac_try='test -s conftest.$ac_objext'
21124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21125 (eval $ac_try) 2>&5
21126 ac_status=$?
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); }; }; then
21129 ac_cv_cxx_static_cast=yes
21130 else
21131 echo "$as_me: failed program was:" >&5
21132 sed 's/^/| /' conftest.$ac_ext >&5
21133
21134 ac_cv_cxx_static_cast=no
21135 fi
21136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21137 ac_ext=c
21138 ac_cpp='$CPP $CPPFLAGS'
21139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21142
21143
21144 fi
21145 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21146 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21147 if test "$ac_cv_cxx_static_cast" = yes; then
21148
21149 cat >>confdefs.h <<\_ACEOF
21150 #define HAVE_STATIC_CAST
21151 _ACEOF
21152
21153 fi
21154
21155
21156 if test "x$SUNCXX" = xyes; then
21157 CXXFLAGS="$CXXFLAGS -features=tmplife"
21158 fi
21159
21160 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21161 ac_ext=cc
21162 ac_cpp='$CXXCPP $CPPFLAGS'
21163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21166
21167
21168 if test "$wxUSE_UNICODE" = "yes"; then
21169 std_string="std::wstring"
21170 char_type="wchar_t"
21171 else
21172 std_string="std::string"
21173 char_type="char"
21174 fi
21175
21176 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21177 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21178 cat >conftest.$ac_ext <<_ACEOF
21179 /* confdefs.h. */
21180 _ACEOF
21181 cat confdefs.h >>conftest.$ac_ext
21182 cat >>conftest.$ac_ext <<_ACEOF
21183 /* end confdefs.h. */
21184 #include <string>
21185 int
21186 main ()
21187 {
21188 $std_string foo;
21189 ;
21190 return 0;
21191 }
21192 _ACEOF
21193 rm -f conftest.$ac_objext
21194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21195 (eval $ac_compile) 2>conftest.er1
21196 ac_status=$?
21197 grep -v '^ *+' conftest.er1 >conftest.err
21198 rm -f conftest.er1
21199 cat conftest.err >&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); } &&
21202 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21205 ac_status=$?
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; } &&
21208 { ac_try='test -s conftest.$ac_objext'
21209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21210 (eval $ac_try) 2>&5
21211 ac_status=$?
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); }; }; then
21214 echo "$as_me:$LINENO: result: yes" >&5
21215 echo "${ECHO_T}yes" >&6
21216 cat >>confdefs.h <<\_ACEOF
21217 #define HAVE_STD_WSTRING 1
21218 _ACEOF
21219
21220 else
21221 echo "$as_me: failed program was:" >&5
21222 sed 's/^/| /' conftest.$ac_ext >&5
21223
21224 echo "$as_me:$LINENO: result: no" >&5
21225 echo "${ECHO_T}no" >&6
21226 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21227 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21228 cat >conftest.$ac_ext <<_ACEOF
21229 /* confdefs.h. */
21230 _ACEOF
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234
21235 #ifdef HAVE_WCHAR_H
21236 # ifdef __CYGWIN__
21237 # include <stddef.h>
21238 # endif
21239 # include <wchar.h>
21240 #endif
21241 #ifdef HAVE_STDLIB_H
21242 # include <stdlib.h>
21243 #endif
21244 #include <stdio.h>
21245 #include <string>
21246
21247 int
21248 main ()
21249 {
21250 std::basic_string<$char_type> foo;
21251 const $char_type* dummy = foo.c_str();
21252 ;
21253 return 0;
21254 }
21255 _ACEOF
21256 rm -f conftest.$ac_objext
21257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21258 (eval $ac_compile) 2>conftest.er1
21259 ac_status=$?
21260 grep -v '^ *+' conftest.er1 >conftest.err
21261 rm -f conftest.er1
21262 cat conftest.err >&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); } &&
21265 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21267 (eval $ac_try) 2>&5
21268 ac_status=$?
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); }; } &&
21271 { ac_try='test -s conftest.$ac_objext'
21272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21273 (eval $ac_try) 2>&5
21274 ac_status=$?
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); }; }; then
21277 echo "$as_me:$LINENO: result: yes" >&5
21278 echo "${ECHO_T}yes" >&6
21279 else
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.$ac_ext >&5
21282
21283 echo "$as_me:$LINENO: result: no" >&5
21284 echo "${ECHO_T}no" >&6
21285 if test "$wxUSE_STL" = "yes"; then
21286 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21287 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21288 { (exit 1); exit 1; }; }
21289 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
21290 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21291 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21292 { (exit 1); exit 1; }; }
21293 else
21294 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21295 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21296 wxUSE_STD_STRING=no
21297 fi
21298
21299
21300 fi
21301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21302
21303 fi
21304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21305
21306 ac_ext=c
21307 ac_cpp='$CPP $CPPFLAGS'
21308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21311
21312 fi
21313
21314 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21315 ac_ext=cc
21316 ac_cpp='$CXXCPP $CPPFLAGS'
21317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21320
21321
21322 echo "$as_me:$LINENO: checking for std::istream" >&5
21323 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21324 if test "${ac_cv_type_std__istream+set}" = set; then
21325 echo $ECHO_N "(cached) $ECHO_C" >&6
21326 else
21327 cat >conftest.$ac_ext <<_ACEOF
21328 /* confdefs.h. */
21329 _ACEOF
21330 cat confdefs.h >>conftest.$ac_ext
21331 cat >>conftest.$ac_ext <<_ACEOF
21332 /* end confdefs.h. */
21333 #include <iostream>
21334
21335 int
21336 main ()
21337 {
21338 if ((std::istream *) 0)
21339 return 0;
21340 if (sizeof (std::istream))
21341 return 0;
21342 ;
21343 return 0;
21344 }
21345 _ACEOF
21346 rm -f conftest.$ac_objext
21347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21348 (eval $ac_compile) 2>conftest.er1
21349 ac_status=$?
21350 grep -v '^ *+' conftest.er1 >conftest.err
21351 rm -f conftest.er1
21352 cat conftest.err >&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } &&
21355 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21357 (eval $ac_try) 2>&5
21358 ac_status=$?
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); }; } &&
21361 { ac_try='test -s conftest.$ac_objext'
21362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21363 (eval $ac_try) 2>&5
21364 ac_status=$?
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); }; }; then
21367 ac_cv_type_std__istream=yes
21368 else
21369 echo "$as_me: failed program was:" >&5
21370 sed 's/^/| /' conftest.$ac_ext >&5
21371
21372 ac_cv_type_std__istream=no
21373 fi
21374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21375 fi
21376 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21377 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21378 if test $ac_cv_type_std__istream = yes; then
21379
21380 cat >>confdefs.h <<_ACEOF
21381 #define HAVE_STD__ISTREAM 1
21382 _ACEOF
21383
21384
21385 else
21386 wxUSE_STD_IOSTREAM=no
21387 fi
21388 echo "$as_me:$LINENO: checking for std::ostream" >&5
21389 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21390 if test "${ac_cv_type_std__ostream+set}" = set; then
21391 echo $ECHO_N "(cached) $ECHO_C" >&6
21392 else
21393 cat >conftest.$ac_ext <<_ACEOF
21394 /* confdefs.h. */
21395 _ACEOF
21396 cat confdefs.h >>conftest.$ac_ext
21397 cat >>conftest.$ac_ext <<_ACEOF
21398 /* end confdefs.h. */
21399 #include <iostream>
21400
21401 int
21402 main ()
21403 {
21404 if ((std::ostream *) 0)
21405 return 0;
21406 if (sizeof (std::ostream))
21407 return 0;
21408 ;
21409 return 0;
21410 }
21411 _ACEOF
21412 rm -f conftest.$ac_objext
21413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21414 (eval $ac_compile) 2>conftest.er1
21415 ac_status=$?
21416 grep -v '^ *+' conftest.er1 >conftest.err
21417 rm -f conftest.er1
21418 cat conftest.err >&5
21419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420 (exit $ac_status); } &&
21421 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21423 (eval $ac_try) 2>&5
21424 ac_status=$?
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); }; } &&
21427 { ac_try='test -s conftest.$ac_objext'
21428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21429 (eval $ac_try) 2>&5
21430 ac_status=$?
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); }; }; then
21433 ac_cv_type_std__ostream=yes
21434 else
21435 echo "$as_me: failed program was:" >&5
21436 sed 's/^/| /' conftest.$ac_ext >&5
21437
21438 ac_cv_type_std__ostream=no
21439 fi
21440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21441 fi
21442 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21443 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21444 if test $ac_cv_type_std__ostream = yes; then
21445
21446 cat >>confdefs.h <<_ACEOF
21447 #define HAVE_STD__OSTREAM 1
21448 _ACEOF
21449
21450
21451 else
21452 wxUSE_STD_IOSTREAM=no
21453 fi
21454
21455
21456 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21457 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
21458 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21459 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21460 { (exit 1); exit 1; }; }
21461 else
21462 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21463 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21464 fi
21465 fi
21466
21467 ac_ext=c
21468 ac_cpp='$CPP $CPPFLAGS'
21469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21472
21473 fi
21474
21475 if test "$wxUSE_STL" = "yes"; then
21476 ac_ext=cc
21477 ac_cpp='$CXXCPP $CPPFLAGS'
21478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21481
21482
21483 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21484 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21485 cat >conftest.$ac_ext <<_ACEOF
21486 /* confdefs.h. */
21487 _ACEOF
21488 cat confdefs.h >>conftest.$ac_ext
21489 cat >>conftest.$ac_ext <<_ACEOF
21490 /* end confdefs.h. */
21491 #include <string>
21492 #include <functional>
21493 #include <algorithm>
21494 #include <vector>
21495 #include <list>
21496 int
21497 main ()
21498 {
21499 std::vector<int> moo;
21500 std::list<int> foo;
21501 std::vector<int>::iterator it =
21502 std::find_if(moo.begin(), moo.end(),
21503 std::bind2nd(std::less<int>(), 3));
21504 ;
21505 return 0;
21506 }
21507 _ACEOF
21508 rm -f conftest.$ac_objext
21509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21510 (eval $ac_compile) 2>conftest.er1
21511 ac_status=$?
21512 grep -v '^ *+' conftest.er1 >conftest.err
21513 rm -f conftest.er1
21514 cat conftest.err >&5
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); } &&
21517 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21519 (eval $ac_try) 2>&5
21520 ac_status=$?
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); }; } &&
21523 { ac_try='test -s conftest.$ac_objext'
21524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21525 (eval $ac_try) 2>&5
21526 ac_status=$?
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); }; }; then
21529 echo "$as_me:$LINENO: result: yes" >&5
21530 echo "${ECHO_T}yes" >&6
21531 else
21532 echo "$as_me: failed program was:" >&5
21533 sed 's/^/| /' conftest.$ac_ext >&5
21534
21535 echo "$as_me:$LINENO: result: no" >&5
21536 echo "${ECHO_T}no" >&6
21537 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21538 echo "$as_me: error: Basic STL functionality missing" >&2;}
21539 { (exit 1); exit 1; }; }
21540 fi
21541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21542
21543 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21544 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21545 cat >conftest.$ac_ext <<_ACEOF
21546 /* confdefs.h. */
21547 _ACEOF
21548 cat confdefs.h >>conftest.$ac_ext
21549 cat >>conftest.$ac_ext <<_ACEOF
21550 /* end confdefs.h. */
21551 #include <string>
21552 int
21553 main ()
21554 {
21555 std::string foo, bar;
21556 foo.compare(bar);
21557 foo.compare(1, 1, bar);
21558 foo.compare(1, 1, bar, 1, 1);
21559 foo.compare("");
21560 foo.compare(1, 1, "");
21561 foo.compare(1, 1, "", 2);
21562 ;
21563 return 0;
21564 }
21565 _ACEOF
21566 rm -f conftest.$ac_objext
21567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21568 (eval $ac_compile) 2>conftest.er1
21569 ac_status=$?
21570 grep -v '^ *+' conftest.er1 >conftest.err
21571 rm -f conftest.er1
21572 cat conftest.err >&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } &&
21575 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21577 (eval $ac_try) 2>&5
21578 ac_status=$?
21579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21580 (exit $ac_status); }; } &&
21581 { ac_try='test -s conftest.$ac_objext'
21582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21583 (eval $ac_try) 2>&5
21584 ac_status=$?
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); }; }; then
21587 echo "$as_me:$LINENO: result: yes" >&5
21588 echo "${ECHO_T}yes" >&6
21589 cat >>confdefs.h <<\_ACEOF
21590 #define HAVE_STD_STRING_COMPARE 1
21591 _ACEOF
21592
21593 else
21594 echo "$as_me: failed program was:" >&5
21595 sed 's/^/| /' conftest.$ac_ext >&5
21596
21597 echo "$as_me:$LINENO: result: no" >&5
21598 echo "${ECHO_T}no" >&6
21599 fi
21600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21601
21602 if test "${ac_cv_header_hash_map+set}" = set; then
21603 echo "$as_me:$LINENO: checking for hash_map" >&5
21604 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21605 if test "${ac_cv_header_hash_map+set}" = set; then
21606 echo $ECHO_N "(cached) $ECHO_C" >&6
21607 fi
21608 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21609 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21610 else
21611 # Is the header compilable?
21612 echo "$as_me:$LINENO: checking hash_map usability" >&5
21613 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21614 cat >conftest.$ac_ext <<_ACEOF
21615 /* confdefs.h. */
21616 _ACEOF
21617 cat confdefs.h >>conftest.$ac_ext
21618 cat >>conftest.$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21620 $ac_includes_default
21621 #include <hash_map>
21622 _ACEOF
21623 rm -f conftest.$ac_objext
21624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21625 (eval $ac_compile) 2>conftest.er1
21626 ac_status=$?
21627 grep -v '^ *+' conftest.er1 >conftest.err
21628 rm -f conftest.er1
21629 cat conftest.err >&5
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); } &&
21632 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21634 (eval $ac_try) 2>&5
21635 ac_status=$?
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); }; } &&
21638 { ac_try='test -s conftest.$ac_objext'
21639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640 (eval $ac_try) 2>&5
21641 ac_status=$?
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); }; }; then
21644 ac_header_compiler=yes
21645 else
21646 echo "$as_me: failed program was:" >&5
21647 sed 's/^/| /' conftest.$ac_ext >&5
21648
21649 ac_header_compiler=no
21650 fi
21651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21653 echo "${ECHO_T}$ac_header_compiler" >&6
21654
21655 # Is the header present?
21656 echo "$as_me:$LINENO: checking hash_map presence" >&5
21657 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21658 cat >conftest.$ac_ext <<_ACEOF
21659 /* confdefs.h. */
21660 _ACEOF
21661 cat confdefs.h >>conftest.$ac_ext
21662 cat >>conftest.$ac_ext <<_ACEOF
21663 /* end confdefs.h. */
21664 #include <hash_map>
21665 _ACEOF
21666 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21667 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21668 ac_status=$?
21669 grep -v '^ *+' conftest.er1 >conftest.err
21670 rm -f conftest.er1
21671 cat conftest.err >&5
21672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673 (exit $ac_status); } >/dev/null; then
21674 if test -s conftest.err; then
21675 ac_cpp_err=$ac_cxx_preproc_warn_flag
21676 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21677 else
21678 ac_cpp_err=
21679 fi
21680 else
21681 ac_cpp_err=yes
21682 fi
21683 if test -z "$ac_cpp_err"; then
21684 ac_header_preproc=yes
21685 else
21686 echo "$as_me: failed program was:" >&5
21687 sed 's/^/| /' conftest.$ac_ext >&5
21688
21689 ac_header_preproc=no
21690 fi
21691 rm -f conftest.err conftest.$ac_ext
21692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21693 echo "${ECHO_T}$ac_header_preproc" >&6
21694
21695 # So? What about this header?
21696 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21697 yes:no: )
21698 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21699 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21700 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21701 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21702 ac_header_preproc=yes
21703 ;;
21704 no:yes:* )
21705 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21706 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21707 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21708 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21709 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21710 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21711 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21712 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21713 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21714 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21715 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21716 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21717 (
21718 cat <<\_ASBOX
21719 ## ----------------------------------------- ##
21720 ## Report this to wx-dev@lists.wxwidgets.org ##
21721 ## ----------------------------------------- ##
21722 _ASBOX
21723 ) |
21724 sed "s/^/$as_me: WARNING: /" >&2
21725 ;;
21726 esac
21727 echo "$as_me:$LINENO: checking for hash_map" >&5
21728 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21729 if test "${ac_cv_header_hash_map+set}" = set; then
21730 echo $ECHO_N "(cached) $ECHO_C" >&6
21731 else
21732 ac_cv_header_hash_map=$ac_header_preproc
21733 fi
21734 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21735 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21736
21737 fi
21738 if test $ac_cv_header_hash_map = yes; then
21739 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21740 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21741 cat >conftest.$ac_ext <<_ACEOF
21742 /* confdefs.h. */
21743 _ACEOF
21744 cat confdefs.h >>conftest.$ac_ext
21745 cat >>conftest.$ac_ext <<_ACEOF
21746 /* end confdefs.h. */
21747 #include <hash_map>
21748 #include <hash_set>
21749 int
21750 main ()
21751 {
21752 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21753 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21754 ;
21755 return 0;
21756 }
21757 _ACEOF
21758 rm -f conftest.$ac_objext
21759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21760 (eval $ac_compile) 2>conftest.er1
21761 ac_status=$?
21762 grep -v '^ *+' conftest.er1 >conftest.err
21763 rm -f conftest.er1
21764 cat conftest.err >&5
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); } &&
21767 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21769 (eval $ac_try) 2>&5
21770 ac_status=$?
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); }; } &&
21773 { ac_try='test -s conftest.$ac_objext'
21774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21775 (eval $ac_try) 2>&5
21776 ac_status=$?
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); }; }; then
21779 echo "$as_me:$LINENO: result: yes" >&5
21780 echo "${ECHO_T}yes" >&6
21781 cat >>confdefs.h <<\_ACEOF
21782 #define HAVE_HASH_MAP 1
21783 _ACEOF
21784
21785 cat >>confdefs.h <<\_ACEOF
21786 #define HAVE_STD_HASH_MAP 1
21787 _ACEOF
21788
21789 else
21790 echo "$as_me: failed program was:" >&5
21791 sed 's/^/| /' conftest.$ac_ext >&5
21792
21793 echo "$as_me:$LINENO: result: no" >&5
21794 echo "${ECHO_T}no" >&6
21795 fi
21796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21797
21798 fi
21799
21800
21801
21802 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21803 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21804 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21805 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21807 fi
21808 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21809 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21810 else
21811 # Is the header compilable?
21812 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21813 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21814 cat >conftest.$ac_ext <<_ACEOF
21815 /* confdefs.h. */
21816 _ACEOF
21817 cat confdefs.h >>conftest.$ac_ext
21818 cat >>conftest.$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21820 $ac_includes_default
21821 #include <ext/hash_map>
21822 _ACEOF
21823 rm -f conftest.$ac_objext
21824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21825 (eval $ac_compile) 2>conftest.er1
21826 ac_status=$?
21827 grep -v '^ *+' conftest.er1 >conftest.err
21828 rm -f conftest.er1
21829 cat conftest.err >&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); } &&
21832 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21834 (eval $ac_try) 2>&5
21835 ac_status=$?
21836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837 (exit $ac_status); }; } &&
21838 { ac_try='test -s conftest.$ac_objext'
21839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21840 (eval $ac_try) 2>&5
21841 ac_status=$?
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); }; }; then
21844 ac_header_compiler=yes
21845 else
21846 echo "$as_me: failed program was:" >&5
21847 sed 's/^/| /' conftest.$ac_ext >&5
21848
21849 ac_header_compiler=no
21850 fi
21851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21853 echo "${ECHO_T}$ac_header_compiler" >&6
21854
21855 # Is the header present?
21856 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21857 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21858 cat >conftest.$ac_ext <<_ACEOF
21859 /* confdefs.h. */
21860 _ACEOF
21861 cat confdefs.h >>conftest.$ac_ext
21862 cat >>conftest.$ac_ext <<_ACEOF
21863 /* end confdefs.h. */
21864 #include <ext/hash_map>
21865 _ACEOF
21866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21868 ac_status=$?
21869 grep -v '^ *+' conftest.er1 >conftest.err
21870 rm -f conftest.er1
21871 cat conftest.err >&5
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); } >/dev/null; then
21874 if test -s conftest.err; then
21875 ac_cpp_err=$ac_cxx_preproc_warn_flag
21876 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21877 else
21878 ac_cpp_err=
21879 fi
21880 else
21881 ac_cpp_err=yes
21882 fi
21883 if test -z "$ac_cpp_err"; then
21884 ac_header_preproc=yes
21885 else
21886 echo "$as_me: failed program was:" >&5
21887 sed 's/^/| /' conftest.$ac_ext >&5
21888
21889 ac_header_preproc=no
21890 fi
21891 rm -f conftest.err conftest.$ac_ext
21892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21893 echo "${ECHO_T}$ac_header_preproc" >&6
21894
21895 # So? What about this header?
21896 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21897 yes:no: )
21898 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21899 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21900 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21901 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21902 ac_header_preproc=yes
21903 ;;
21904 no:yes:* )
21905 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21906 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21907 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21908 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21909 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21910 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21911 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21912 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21913 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21914 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21915 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21916 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21917 (
21918 cat <<\_ASBOX
21919 ## ----------------------------------------- ##
21920 ## Report this to wx-dev@lists.wxwidgets.org ##
21921 ## ----------------------------------------- ##
21922 _ASBOX
21923 ) |
21924 sed "s/^/$as_me: WARNING: /" >&2
21925 ;;
21926 esac
21927 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21928 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21929 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21930 echo $ECHO_N "(cached) $ECHO_C" >&6
21931 else
21932 ac_cv_header_ext_hash_map=$ac_header_preproc
21933 fi
21934 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21935 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21936
21937 fi
21938 if test $ac_cv_header_ext_hash_map = yes; then
21939 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21940 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21941 cat >conftest.$ac_ext <<_ACEOF
21942 /* confdefs.h. */
21943 _ACEOF
21944 cat confdefs.h >>conftest.$ac_ext
21945 cat >>conftest.$ac_ext <<_ACEOF
21946 /* end confdefs.h. */
21947 #include <ext/hash_map>
21948 #include <ext/hash_set>
21949 int
21950 main ()
21951 {
21952 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21953 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21954 ;
21955 return 0;
21956 }
21957 _ACEOF
21958 rm -f conftest.$ac_objext
21959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21960 (eval $ac_compile) 2>conftest.er1
21961 ac_status=$?
21962 grep -v '^ *+' conftest.er1 >conftest.err
21963 rm -f conftest.er1
21964 cat conftest.err >&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); } &&
21967 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21969 (eval $ac_try) 2>&5
21970 ac_status=$?
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); }; } &&
21973 { ac_try='test -s conftest.$ac_objext'
21974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21975 (eval $ac_try) 2>&5
21976 ac_status=$?
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); }; }; then
21979 echo "$as_me:$LINENO: result: yes" >&5
21980 echo "${ECHO_T}yes" >&6
21981 cat >>confdefs.h <<\_ACEOF
21982 #define HAVE_EXT_HASH_MAP 1
21983 _ACEOF
21984
21985 cat >>confdefs.h <<\_ACEOF
21986 #define HAVE_GNU_CXX_HASH_MAP 1
21987 _ACEOF
21988
21989 else
21990 echo "$as_me: failed program was:" >&5
21991 sed 's/^/| /' conftest.$ac_ext >&5
21992
21993 echo "$as_me:$LINENO: result: no" >&5
21994 echo "${ECHO_T}no" >&6
21995 fi
21996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21997
21998 fi
21999
22000
22001
22002 ac_ext=c
22003 ac_cpp='$CPP $CPPFLAGS'
22004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22007
22008 fi
22009
22010
22011 SEARCH_INCLUDE="\
22012 /usr/local/include \
22013 \
22014 /usr/Motif-2.1/include \
22015 /usr/Motif-1.2/include \
22016 /usr/include/Motif1.2 \
22017 /opt/xpm/include/X11 \
22018 /opt/GBxpm/include/ \
22019 /opt/GBxpm/X11/include/ \
22020 \
22021 /usr/dt/include \
22022 /usr/openwin/include \
22023 \
22024 /usr/include/Xm \
22025 \
22026 /usr/X11R6/include \
22027 /usr/X11R6.4/include \
22028 /usr/X11R5/include \
22029 /usr/X11R4/include \
22030 \
22031 /usr/include/X11R6 \
22032 /usr/include/X11R5 \
22033 /usr/include/X11R4 \
22034 \
22035 /usr/local/X11R6/include \
22036 /usr/local/X11R5/include \
22037 /usr/local/X11R4/include \
22038 \
22039 /usr/local/include/X11R6 \
22040 /usr/local/include/X11R5 \
22041 /usr/local/include/X11R4 \
22042 \
22043 /usr/X11/include \
22044 /usr/include/X11 \
22045 /usr/local/X11/include \
22046 /usr/local/include/X11 \
22047 \
22048 /usr/X386/include \
22049 /usr/x386/include \
22050 /usr/XFree86/include/X11 \
22051 \
22052 /usr/pkg/include \
22053 \
22054 X:/XFree86/include \
22055 X:/XFree86/include/X11 \
22056 \
22057 /usr/include/gtk \
22058 /usr/local/include/gtk \
22059 /usr/include/glib \
22060 /usr/local/include/glib \
22061 \
22062 /usr/include/qt \
22063 /usr/local/include/qt \
22064 \
22065 /usr/local/arm/3.3.2/include \
22066 \
22067 /usr/include/windows \
22068 /usr/include/wine \
22069 /usr/local/include/wine \
22070 \
22071 /usr/unsupported/include \
22072 /usr/athena/include \
22073 /usr/local/x11r5/include \
22074 /usr/lpp/Xamples/include \
22075 \
22076 /usr/openwin/share/include"
22077
22078 SEARCH_LIB="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
22079
22080 if test "$build" != "$host" -a "$GCC" = yes; then
22081 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22082 cross_root=`dirname $cross_root`
22083 cross_root=`dirname $cross_root`
22084
22085 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22086 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22087
22088 if test -z "$PKG_CONFIG_PATH"; then
22089 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22090 export PKG_CONFIG_PATH
22091 fi
22092
22093 if test -z "$x_includes" -o "$x_includes" = NONE; then
22094
22095 ac_find_includes=
22096 for ac_dir in $SEARCH_INCLUDE /usr/include;
22097 do
22098 if test -f "$ac_dir/X11/Intrinsic.h"; then
22099 ac_find_includes=$ac_dir
22100 break
22101 fi
22102 done
22103
22104 x_includes=$ac_find_includes
22105 fi
22106 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22107
22108 ac_find_libraries=
22109 for ac_dir in $SEARCH_LIB /usr/lib;
22110 do
22111 for ac_extension in a so sl dylib dll.a; do
22112 if test -f "$ac_dir/libXt.$ac_extension"; then
22113 ac_find_libraries=$ac_dir
22114 break 2
22115 fi
22116 done
22117 done
22118
22119 x_libraries=$ac_find_libraries
22120 fi
22121 fi
22122 fi
22123
22124
22125 cat >confcache <<\_ACEOF
22126 # This file is a shell script that caches the results of configure
22127 # tests run on this system so they can be shared between configure
22128 # scripts and configure runs, see configure's option --config-cache.
22129 # It is not useful on other systems. If it contains results you don't
22130 # want to keep, you may remove or edit it.
22131 #
22132 # config.status only pays attention to the cache file if you give it
22133 # the --recheck option to rerun configure.
22134 #
22135 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22136 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22137 # following values.
22138
22139 _ACEOF
22140
22141 # The following way of writing the cache mishandles newlines in values,
22142 # but we know of no workaround that is simple, portable, and efficient.
22143 # So, don't put newlines in cache variables' values.
22144 # Ultrix sh set writes to stderr and can't be redirected directly,
22145 # and sets the high bit in the cache file unless we assign to the vars.
22146 {
22147 (set) 2>&1 |
22148 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22149 *ac_space=\ *)
22150 # `set' does not quote correctly, so add quotes (double-quote
22151 # substitution turns \\\\ into \\, and sed turns \\ into \).
22152 sed -n \
22153 "s/'/'\\\\''/g;
22154 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22155 ;;
22156 *)
22157 # `set' quotes correctly as required by POSIX, so do not add quotes.
22158 sed -n \
22159 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22160 ;;
22161 esac;
22162 } |
22163 sed '
22164 t clear
22165 : clear
22166 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22167 t end
22168 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22169 : end' >>confcache
22170 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22171 if test -w $cache_file; then
22172 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22173 cat confcache >$cache_file
22174 else
22175 echo "not updating unwritable cache $cache_file"
22176 fi
22177 fi
22178 rm -f confcache
22179
22180 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22181 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22182 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22183 if test "${wx_cv_lib_glibc21+set}" = set; then
22184 echo $ECHO_N "(cached) $ECHO_C" >&6
22185 else
22186
22187 cat >conftest.$ac_ext <<_ACEOF
22188 /* confdefs.h. */
22189 _ACEOF
22190 cat confdefs.h >>conftest.$ac_ext
22191 cat >>conftest.$ac_ext <<_ACEOF
22192 /* end confdefs.h. */
22193 #include <features.h>
22194 int
22195 main ()
22196 {
22197
22198 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22199 not glibc 2.1
22200 #endif
22201
22202 ;
22203 return 0;
22204 }
22205 _ACEOF
22206 rm -f conftest.$ac_objext
22207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22208 (eval $ac_compile) 2>conftest.er1
22209 ac_status=$?
22210 grep -v '^ *+' conftest.er1 >conftest.err
22211 rm -f conftest.er1
22212 cat conftest.err >&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); } &&
22215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22217 (eval $ac_try) 2>&5
22218 ac_status=$?
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); }; } &&
22221 { ac_try='test -s conftest.$ac_objext'
22222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22223 (eval $ac_try) 2>&5
22224 ac_status=$?
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); }; }; then
22227
22228 wx_cv_lib_glibc21=yes
22229
22230 else
22231 echo "$as_me: failed program was:" >&5
22232 sed 's/^/| /' conftest.$ac_ext >&5
22233
22234
22235 wx_cv_lib_glibc21=no
22236
22237
22238 fi
22239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22240
22241 fi
22242 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22243 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22244 if test "$wx_cv_lib_glibc21" = "yes"; then
22245 cat >>confdefs.h <<\_ACEOF
22246 #define wxHAVE_GLIBC2 1
22247 _ACEOF
22248
22249 fi
22250 fi
22251
22252 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22253 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22254 cat >>confdefs.h <<\_ACEOF
22255 #define _GNU_SOURCE 1
22256 _ACEOF
22257
22258 fi
22259 fi
22260
22261
22262
22263 if test "$wxUSE_REGEX" != "no"; then
22264 cat >>confdefs.h <<\_ACEOF
22265 #define wxUSE_REGEX 1
22266 _ACEOF
22267
22268
22269 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22270 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22271 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22272 wxUSE_REGEX=builtin
22273 fi
22274
22275 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22276 if test "${ac_cv_header_regex_h+set}" = set; then
22277 echo "$as_me:$LINENO: checking for regex.h" >&5
22278 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22279 if test "${ac_cv_header_regex_h+set}" = set; then
22280 echo $ECHO_N "(cached) $ECHO_C" >&6
22281 fi
22282 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22283 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22284 else
22285 # Is the header compilable?
22286 echo "$as_me:$LINENO: checking regex.h usability" >&5
22287 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22288 cat >conftest.$ac_ext <<_ACEOF
22289 /* confdefs.h. */
22290 _ACEOF
22291 cat confdefs.h >>conftest.$ac_ext
22292 cat >>conftest.$ac_ext <<_ACEOF
22293 /* end confdefs.h. */
22294 $ac_includes_default
22295 #include <regex.h>
22296 _ACEOF
22297 rm -f conftest.$ac_objext
22298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22299 (eval $ac_compile) 2>conftest.er1
22300 ac_status=$?
22301 grep -v '^ *+' conftest.er1 >conftest.err
22302 rm -f conftest.er1
22303 cat conftest.err >&5
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); } &&
22306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22308 (eval $ac_try) 2>&5
22309 ac_status=$?
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); }; } &&
22312 { ac_try='test -s conftest.$ac_objext'
22313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22314 (eval $ac_try) 2>&5
22315 ac_status=$?
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); }; }; then
22318 ac_header_compiler=yes
22319 else
22320 echo "$as_me: failed program was:" >&5
22321 sed 's/^/| /' conftest.$ac_ext >&5
22322
22323 ac_header_compiler=no
22324 fi
22325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22327 echo "${ECHO_T}$ac_header_compiler" >&6
22328
22329 # Is the header present?
22330 echo "$as_me:$LINENO: checking regex.h presence" >&5
22331 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
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 <regex.h>
22339 _ACEOF
22340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22342 ac_status=$?
22343 grep -v '^ *+' conftest.er1 >conftest.err
22344 rm -f conftest.er1
22345 cat conftest.err >&5
22346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347 (exit $ac_status); } >/dev/null; then
22348 if test -s conftest.err; then
22349 ac_cpp_err=$ac_c_preproc_warn_flag
22350 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22351 else
22352 ac_cpp_err=
22353 fi
22354 else
22355 ac_cpp_err=yes
22356 fi
22357 if test -z "$ac_cpp_err"; then
22358 ac_header_preproc=yes
22359 else
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.$ac_ext >&5
22362
22363 ac_header_preproc=no
22364 fi
22365 rm -f conftest.err conftest.$ac_ext
22366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22367 echo "${ECHO_T}$ac_header_preproc" >&6
22368
22369 # So? What about this header?
22370 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22371 yes:no: )
22372 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22373 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22374 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22375 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22376 ac_header_preproc=yes
22377 ;;
22378 no:yes:* )
22379 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22380 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22381 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22382 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22383 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22384 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22385 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22386 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22387 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22388 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22389 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22390 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22391 (
22392 cat <<\_ASBOX
22393 ## ----------------------------------------- ##
22394 ## Report this to wx-dev@lists.wxwidgets.org ##
22395 ## ----------------------------------------- ##
22396 _ASBOX
22397 ) |
22398 sed "s/^/$as_me: WARNING: /" >&2
22399 ;;
22400 esac
22401 echo "$as_me:$LINENO: checking for regex.h" >&5
22402 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22403 if test "${ac_cv_header_regex_h+set}" = set; then
22404 echo $ECHO_N "(cached) $ECHO_C" >&6
22405 else
22406 ac_cv_header_regex_h=$ac_header_preproc
22407 fi
22408 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22409 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22410
22411 fi
22412 if test $ac_cv_header_regex_h = yes; then
22413
22414 for ac_func in regcomp
22415 do
22416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22417 echo "$as_me:$LINENO: checking for $ac_func" >&5
22418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22419 if eval "test \"\${$as_ac_var+set}\" = set"; then
22420 echo $ECHO_N "(cached) $ECHO_C" >&6
22421 else
22422 cat >conftest.$ac_ext <<_ACEOF
22423 /* confdefs.h. */
22424 _ACEOF
22425 cat confdefs.h >>conftest.$ac_ext
22426 cat >>conftest.$ac_ext <<_ACEOF
22427 /* end confdefs.h. */
22428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22430 #define $ac_func innocuous_$ac_func
22431
22432 /* System header to define __stub macros and hopefully few prototypes,
22433 which can conflict with char $ac_func (); below.
22434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22435 <limits.h> exists even on freestanding compilers. */
22436
22437 #ifdef __STDC__
22438 # include <limits.h>
22439 #else
22440 # include <assert.h>
22441 #endif
22442
22443 #undef $ac_func
22444
22445 /* Override any gcc2 internal prototype to avoid an error. */
22446 #ifdef __cplusplus
22447 extern "C"
22448 {
22449 #endif
22450 /* We use char because int might match the return type of a gcc2
22451 builtin and then its argument prototype would still apply. */
22452 char $ac_func ();
22453 /* The GNU C library defines this for functions which it implements
22454 to always fail with ENOSYS. Some functions are actually named
22455 something starting with __ and the normal name is an alias. */
22456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22457 choke me
22458 #else
22459 char (*f) () = $ac_func;
22460 #endif
22461 #ifdef __cplusplus
22462 }
22463 #endif
22464
22465 int
22466 main ()
22467 {
22468 return f != $ac_func;
22469 ;
22470 return 0;
22471 }
22472 _ACEOF
22473 rm -f conftest.$ac_objext conftest$ac_exeext
22474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22475 (eval $ac_link) 2>conftest.er1
22476 ac_status=$?
22477 grep -v '^ *+' conftest.er1 >conftest.err
22478 rm -f conftest.er1
22479 cat conftest.err >&5
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); } &&
22482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22484 (eval $ac_try) 2>&5
22485 ac_status=$?
22486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487 (exit $ac_status); }; } &&
22488 { ac_try='test -s conftest$ac_exeext'
22489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22490 (eval $ac_try) 2>&5
22491 ac_status=$?
22492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493 (exit $ac_status); }; }; then
22494 eval "$as_ac_var=yes"
22495 else
22496 echo "$as_me: failed program was:" >&5
22497 sed 's/^/| /' conftest.$ac_ext >&5
22498
22499 eval "$as_ac_var=no"
22500 fi
22501 rm -f conftest.err conftest.$ac_objext \
22502 conftest$ac_exeext conftest.$ac_ext
22503 fi
22504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22506 if test `eval echo '${'$as_ac_var'}'` = yes; then
22507 cat >>confdefs.h <<_ACEOF
22508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22509 _ACEOF
22510
22511 fi
22512 done
22513
22514 fi
22515
22516
22517
22518 if test "x$ac_cv_func_regcomp" != "xyes"; then
22519 if test "$wxUSE_REGEX" = "sys" ; then
22520 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22521 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22522 { (exit 1); exit 1; }; }
22523 else
22524 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22525 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22526 wxUSE_REGEX=builtin
22527 fi
22528 else
22529 wxUSE_REGEX=sys
22530 cat >>confdefs.h <<\_ACEOF
22531 #define WX_NO_REGEX_ADVANCED 1
22532 _ACEOF
22533
22534 fi
22535 fi
22536 fi
22537
22538
22539 ZLIB_LINK=
22540 if test "$wxUSE_ZLIB" != "no" ; then
22541 cat >>confdefs.h <<\_ACEOF
22542 #define wxUSE_ZLIB 1
22543 _ACEOF
22544
22545
22546 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22547 if test "$USE_DARWIN" = 1; then
22548 system_zlib_h_ok="yes"
22549 else
22550 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22551 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22552 if test "${ac_cv_header_zlib_h+set}" = set; then
22553 echo $ECHO_N "(cached) $ECHO_C" >&6
22554 else
22555 if test "$cross_compiling" = yes; then
22556 unset ac_cv_header_zlib_h
22557
22558 else
22559 cat >conftest.$ac_ext <<_ACEOF
22560 /* confdefs.h. */
22561 _ACEOF
22562 cat confdefs.h >>conftest.$ac_ext
22563 cat >>conftest.$ac_ext <<_ACEOF
22564 /* end confdefs.h. */
22565
22566 #include <zlib.h>
22567 #include <stdio.h>
22568
22569 int main()
22570 {
22571 FILE *f=fopen("conftestval", "w");
22572 if (!f) exit(1);
22573 fprintf(f, "%s",
22574 ZLIB_VERSION[0] == '1' &&
22575 (ZLIB_VERSION[2] > '1' ||
22576 (ZLIB_VERSION[2] == '1' &&
22577 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22578 exit(0);
22579 }
22580
22581 _ACEOF
22582 rm -f conftest$ac_exeext
22583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22584 (eval $ac_link) 2>&5
22585 ac_status=$?
22586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22589 (eval $ac_try) 2>&5
22590 ac_status=$?
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; }; then
22593 ac_cv_header_zlib_h=`cat conftestval`
22594 else
22595 echo "$as_me: program exited with status $ac_status" >&5
22596 echo "$as_me: failed program was:" >&5
22597 sed 's/^/| /' conftest.$ac_ext >&5
22598
22599 ( exit $ac_status )
22600 ac_cv_header_zlib_h=no
22601 fi
22602 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22603 fi
22604
22605 fi
22606 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22607 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22608 if test "${ac_cv_header_zlib_h+set}" = set; then
22609 echo "$as_me:$LINENO: checking for zlib.h" >&5
22610 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22611 if test "${ac_cv_header_zlib_h+set}" = set; then
22612 echo $ECHO_N "(cached) $ECHO_C" >&6
22613 fi
22614 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22615 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22616 else
22617 # Is the header compilable?
22618 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22619 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22620 cat >conftest.$ac_ext <<_ACEOF
22621 /* confdefs.h. */
22622 _ACEOF
22623 cat confdefs.h >>conftest.$ac_ext
22624 cat >>conftest.$ac_ext <<_ACEOF
22625 /* end confdefs.h. */
22626 $ac_includes_default
22627 #include <zlib.h>
22628 _ACEOF
22629 rm -f conftest.$ac_objext
22630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22631 (eval $ac_compile) 2>conftest.er1
22632 ac_status=$?
22633 grep -v '^ *+' conftest.er1 >conftest.err
22634 rm -f conftest.er1
22635 cat conftest.err >&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); } &&
22638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22640 (eval $ac_try) 2>&5
22641 ac_status=$?
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); }; } &&
22644 { ac_try='test -s conftest.$ac_objext'
22645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22646 (eval $ac_try) 2>&5
22647 ac_status=$?
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); }; }; then
22650 ac_header_compiler=yes
22651 else
22652 echo "$as_me: failed program was:" >&5
22653 sed 's/^/| /' conftest.$ac_ext >&5
22654
22655 ac_header_compiler=no
22656 fi
22657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22658 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22659 echo "${ECHO_T}$ac_header_compiler" >&6
22660
22661 # Is the header present?
22662 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22663 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22664 cat >conftest.$ac_ext <<_ACEOF
22665 /* confdefs.h. */
22666 _ACEOF
22667 cat confdefs.h >>conftest.$ac_ext
22668 cat >>conftest.$ac_ext <<_ACEOF
22669 /* end confdefs.h. */
22670 #include <zlib.h>
22671 _ACEOF
22672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22673 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22674 ac_status=$?
22675 grep -v '^ *+' conftest.er1 >conftest.err
22676 rm -f conftest.er1
22677 cat conftest.err >&5
22678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679 (exit $ac_status); } >/dev/null; then
22680 if test -s conftest.err; then
22681 ac_cpp_err=$ac_c_preproc_warn_flag
22682 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22683 else
22684 ac_cpp_err=
22685 fi
22686 else
22687 ac_cpp_err=yes
22688 fi
22689 if test -z "$ac_cpp_err"; then
22690 ac_header_preproc=yes
22691 else
22692 echo "$as_me: failed program was:" >&5
22693 sed 's/^/| /' conftest.$ac_ext >&5
22694
22695 ac_header_preproc=no
22696 fi
22697 rm -f conftest.err conftest.$ac_ext
22698 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22699 echo "${ECHO_T}$ac_header_preproc" >&6
22700
22701 # So? What about this header?
22702 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22703 yes:no: )
22704 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22705 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22706 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22707 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22708 ac_header_preproc=yes
22709 ;;
22710 no:yes:* )
22711 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22712 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22713 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22714 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22715 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22716 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22717 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22718 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22719 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22720 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22721 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22722 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22723 (
22724 cat <<\_ASBOX
22725 ## ----------------------------------------- ##
22726 ## Report this to wx-dev@lists.wxwidgets.org ##
22727 ## ----------------------------------------- ##
22728 _ASBOX
22729 ) |
22730 sed "s/^/$as_me: WARNING: /" >&2
22731 ;;
22732 esac
22733 echo "$as_me:$LINENO: checking for zlib.h" >&5
22734 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22735 if test "${ac_cv_header_zlib_h+set}" = set; then
22736 echo $ECHO_N "(cached) $ECHO_C" >&6
22737 else
22738 ac_cv_header_zlib_h=$ac_header_preproc
22739 fi
22740 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22741 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22742
22743 fi
22744
22745
22746
22747 system_zlib_h_ok=$ac_cv_header_zlib_h
22748 fi
22749
22750 if test "$system_zlib_h_ok" = "yes"; then
22751 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22752 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22753 if test "${ac_cv_lib_z_deflate+set}" = set; then
22754 echo $ECHO_N "(cached) $ECHO_C" >&6
22755 else
22756 ac_check_lib_save_LIBS=$LIBS
22757 LIBS="-lz $LIBS"
22758 cat >conftest.$ac_ext <<_ACEOF
22759 /* confdefs.h. */
22760 _ACEOF
22761 cat confdefs.h >>conftest.$ac_ext
22762 cat >>conftest.$ac_ext <<_ACEOF
22763 /* end confdefs.h. */
22764
22765 /* Override any gcc2 internal prototype to avoid an error. */
22766 #ifdef __cplusplus
22767 extern "C"
22768 #endif
22769 /* We use char because int might match the return type of a gcc2
22770 builtin and then its argument prototype would still apply. */
22771 char deflate ();
22772 int
22773 main ()
22774 {
22775 deflate ();
22776 ;
22777 return 0;
22778 }
22779 _ACEOF
22780 rm -f conftest.$ac_objext conftest$ac_exeext
22781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22782 (eval $ac_link) 2>conftest.er1
22783 ac_status=$?
22784 grep -v '^ *+' conftest.er1 >conftest.err
22785 rm -f conftest.er1
22786 cat conftest.err >&5
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); } &&
22789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
22795 { ac_try='test -s conftest$ac_exeext'
22796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22797 (eval $ac_try) 2>&5
22798 ac_status=$?
22799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800 (exit $ac_status); }; }; then
22801 ac_cv_lib_z_deflate=yes
22802 else
22803 echo "$as_me: failed program was:" >&5
22804 sed 's/^/| /' conftest.$ac_ext >&5
22805
22806 ac_cv_lib_z_deflate=no
22807 fi
22808 rm -f conftest.err conftest.$ac_objext \
22809 conftest$ac_exeext conftest.$ac_ext
22810 LIBS=$ac_check_lib_save_LIBS
22811 fi
22812 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22813 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22814 if test $ac_cv_lib_z_deflate = yes; then
22815 ZLIB_LINK=" -lz"
22816 fi
22817
22818 fi
22819
22820 if test "x$ZLIB_LINK" = "x" ; then
22821 if test "$wxUSE_ZLIB" = "sys" ; then
22822 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22823 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22824 { (exit 1); exit 1; }; }
22825 else
22826 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22827 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22828 wxUSE_ZLIB=builtin
22829 fi
22830 else
22831 wxUSE_ZLIB=sys
22832 fi
22833 fi
22834 fi
22835
22836
22837 PNG_LINK=
22838 if test "$wxUSE_LIBPNG" != "no" ; then
22839 cat >>confdefs.h <<\_ACEOF
22840 #define wxUSE_LIBPNG 1
22841 _ACEOF
22842
22843
22844 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22845 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22846 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22847 wxUSE_LIBPNG=sys
22848 fi
22849
22850 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22851 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22852 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22853 wxUSE_LIBPNG=builtin
22854 fi
22855
22856 if test "$wxUSE_MGL" != 1 ; then
22857 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22858 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22859 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22860 if test "${ac_cv_header_png_h+set}" = set; then
22861 echo $ECHO_N "(cached) $ECHO_C" >&6
22862 else
22863 if test "$cross_compiling" = yes; then
22864 unset ac_cv_header_png_h
22865
22866 else
22867 cat >conftest.$ac_ext <<_ACEOF
22868 /* confdefs.h. */
22869 _ACEOF
22870 cat confdefs.h >>conftest.$ac_ext
22871 cat >>conftest.$ac_ext <<_ACEOF
22872 /* end confdefs.h. */
22873
22874 #include <png.h>
22875 #include <stdio.h>
22876
22877 int main()
22878 {
22879 FILE *f=fopen("conftestval", "w");
22880 if (!f) exit(1);
22881 fprintf(f, "%s",
22882 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22883 exit(0);
22884 }
22885
22886 _ACEOF
22887 rm -f conftest$ac_exeext
22888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22889 (eval $ac_link) 2>&5
22890 ac_status=$?
22891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22892 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22894 (eval $ac_try) 2>&5
22895 ac_status=$?
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); }; }; then
22898 ac_cv_header_png_h=`cat conftestval`
22899 else
22900 echo "$as_me: program exited with status $ac_status" >&5
22901 echo "$as_me: failed program was:" >&5
22902 sed 's/^/| /' conftest.$ac_ext >&5
22903
22904 ( exit $ac_status )
22905 ac_cv_header_png_h=no
22906 fi
22907 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22908 fi
22909
22910 fi
22911 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22912 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22913 if test "${ac_cv_header_png_h+set}" = set; then
22914 echo "$as_me:$LINENO: checking for png.h" >&5
22915 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22916 if test "${ac_cv_header_png_h+set}" = set; then
22917 echo $ECHO_N "(cached) $ECHO_C" >&6
22918 fi
22919 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22920 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22921 else
22922 # Is the header compilable?
22923 echo "$as_me:$LINENO: checking png.h usability" >&5
22924 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22925 cat >conftest.$ac_ext <<_ACEOF
22926 /* confdefs.h. */
22927 _ACEOF
22928 cat confdefs.h >>conftest.$ac_ext
22929 cat >>conftest.$ac_ext <<_ACEOF
22930 /* end confdefs.h. */
22931 $ac_includes_default
22932 #include <png.h>
22933 _ACEOF
22934 rm -f conftest.$ac_objext
22935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22936 (eval $ac_compile) 2>conftest.er1
22937 ac_status=$?
22938 grep -v '^ *+' conftest.er1 >conftest.err
22939 rm -f conftest.er1
22940 cat conftest.err >&5
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); } &&
22943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22945 (eval $ac_try) 2>&5
22946 ac_status=$?
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); }; } &&
22949 { ac_try='test -s conftest.$ac_objext'
22950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22951 (eval $ac_try) 2>&5
22952 ac_status=$?
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); }; }; then
22955 ac_header_compiler=yes
22956 else
22957 echo "$as_me: failed program was:" >&5
22958 sed 's/^/| /' conftest.$ac_ext >&5
22959
22960 ac_header_compiler=no
22961 fi
22962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22963 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22964 echo "${ECHO_T}$ac_header_compiler" >&6
22965
22966 # Is the header present?
22967 echo "$as_me:$LINENO: checking png.h presence" >&5
22968 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22969 cat >conftest.$ac_ext <<_ACEOF
22970 /* confdefs.h. */
22971 _ACEOF
22972 cat confdefs.h >>conftest.$ac_ext
22973 cat >>conftest.$ac_ext <<_ACEOF
22974 /* end confdefs.h. */
22975 #include <png.h>
22976 _ACEOF
22977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22978 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22979 ac_status=$?
22980 grep -v '^ *+' conftest.er1 >conftest.err
22981 rm -f conftest.er1
22982 cat conftest.err >&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); } >/dev/null; then
22985 if test -s conftest.err; then
22986 ac_cpp_err=$ac_c_preproc_warn_flag
22987 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22988 else
22989 ac_cpp_err=
22990 fi
22991 else
22992 ac_cpp_err=yes
22993 fi
22994 if test -z "$ac_cpp_err"; then
22995 ac_header_preproc=yes
22996 else
22997 echo "$as_me: failed program was:" >&5
22998 sed 's/^/| /' conftest.$ac_ext >&5
22999
23000 ac_header_preproc=no
23001 fi
23002 rm -f conftest.err conftest.$ac_ext
23003 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23004 echo "${ECHO_T}$ac_header_preproc" >&6
23005
23006 # So? What about this header?
23007 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23008 yes:no: )
23009 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23010 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23011 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23012 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23013 ac_header_preproc=yes
23014 ;;
23015 no:yes:* )
23016 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23017 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23018 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23019 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23020 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23021 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23022 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23023 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23024 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23025 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23026 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23027 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23028 (
23029 cat <<\_ASBOX
23030 ## ----------------------------------------- ##
23031 ## Report this to wx-dev@lists.wxwidgets.org ##
23032 ## ----------------------------------------- ##
23033 _ASBOX
23034 ) |
23035 sed "s/^/$as_me: WARNING: /" >&2
23036 ;;
23037 esac
23038 echo "$as_me:$LINENO: checking for png.h" >&5
23039 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23040 if test "${ac_cv_header_png_h+set}" = set; then
23041 echo $ECHO_N "(cached) $ECHO_C" >&6
23042 else
23043 ac_cv_header_png_h=$ac_header_preproc
23044 fi
23045 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23046 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23047
23048 fi
23049
23050
23051
23052 if test "$ac_cv_header_png_h" = "yes"; then
23053 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23054 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23055 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23056 echo $ECHO_N "(cached) $ECHO_C" >&6
23057 else
23058 ac_check_lib_save_LIBS=$LIBS
23059 LIBS="-lpng -lz -lm $LIBS"
23060 cat >conftest.$ac_ext <<_ACEOF
23061 /* confdefs.h. */
23062 _ACEOF
23063 cat confdefs.h >>conftest.$ac_ext
23064 cat >>conftest.$ac_ext <<_ACEOF
23065 /* end confdefs.h. */
23066
23067 /* Override any gcc2 internal prototype to avoid an error. */
23068 #ifdef __cplusplus
23069 extern "C"
23070 #endif
23071 /* We use char because int might match the return type of a gcc2
23072 builtin and then its argument prototype would still apply. */
23073 char png_check_sig ();
23074 int
23075 main ()
23076 {
23077 png_check_sig ();
23078 ;
23079 return 0;
23080 }
23081 _ACEOF
23082 rm -f conftest.$ac_objext conftest$ac_exeext
23083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23084 (eval $ac_link) 2>conftest.er1
23085 ac_status=$?
23086 grep -v '^ *+' conftest.er1 >conftest.err
23087 rm -f conftest.er1
23088 cat conftest.err >&5
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); } &&
23091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23093 (eval $ac_try) 2>&5
23094 ac_status=$?
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); }; } &&
23097 { ac_try='test -s conftest$ac_exeext'
23098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23099 (eval $ac_try) 2>&5
23100 ac_status=$?
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); }; }; then
23103 ac_cv_lib_png_png_check_sig=yes
23104 else
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.$ac_ext >&5
23107
23108 ac_cv_lib_png_png_check_sig=no
23109 fi
23110 rm -f conftest.err conftest.$ac_objext \
23111 conftest$ac_exeext conftest.$ac_ext
23112 LIBS=$ac_check_lib_save_LIBS
23113 fi
23114 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23115 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23116 if test $ac_cv_lib_png_png_check_sig = yes; then
23117 PNG_LINK=" -lpng -lz"
23118 fi
23119
23120 fi
23121
23122 if test "x$PNG_LINK" = "x" ; then
23123 if test "$wxUSE_LIBPNG" = "sys" ; then
23124 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23125 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23126 { (exit 1); exit 1; }; }
23127 else
23128 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23129 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23130 wxUSE_LIBPNG=builtin
23131 fi
23132 else
23133 wxUSE_LIBPNG=sys
23134 fi
23135 fi
23136 fi
23137
23138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
23139 fi
23140
23141
23142 JPEG_LINK=
23143 if test "$wxUSE_LIBJPEG" != "no" ; then
23144 cat >>confdefs.h <<\_ACEOF
23145 #define wxUSE_LIBJPEG 1
23146 _ACEOF
23147
23148
23149 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23150 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23151 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23152 wxUSE_LIBJPEG=sys
23153 fi
23154
23155 if test "$wxUSE_MGL" != 1 ; then
23156 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23157 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23158 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23159 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23160 echo $ECHO_N "(cached) $ECHO_C" >&6
23161 else
23162 cat >conftest.$ac_ext <<_ACEOF
23163 /* confdefs.h. */
23164 _ACEOF
23165 cat confdefs.h >>conftest.$ac_ext
23166 cat >>conftest.$ac_ext <<_ACEOF
23167 /* end confdefs.h. */
23168
23169 #undef HAVE_STDLIB_H
23170 #include <stdio.h>
23171 #include <jpeglib.h>
23172
23173 int
23174 main ()
23175 {
23176
23177
23178 ;
23179 return 0;
23180 }
23181 _ACEOF
23182 rm -f conftest.$ac_objext
23183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23184 (eval $ac_compile) 2>conftest.er1
23185 ac_status=$?
23186 grep -v '^ *+' conftest.er1 >conftest.err
23187 rm -f conftest.er1
23188 cat conftest.err >&5
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); } &&
23191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23193 (eval $ac_try) 2>&5
23194 ac_status=$?
23195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23196 (exit $ac_status); }; } &&
23197 { ac_try='test -s conftest.$ac_objext'
23198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23199 (eval $ac_try) 2>&5
23200 ac_status=$?
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); }; }; then
23203 ac_cv_header_jpeglib_h=yes
23204 else
23205 echo "$as_me: failed program was:" >&5
23206 sed 's/^/| /' conftest.$ac_ext >&5
23207
23208 ac_cv_header_jpeglib_h=no
23209
23210 fi
23211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23212
23213 fi
23214
23215 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23216 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23217
23218 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23219 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23220 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23221 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23222 echo $ECHO_N "(cached) $ECHO_C" >&6
23223 else
23224 ac_check_lib_save_LIBS=$LIBS
23225 LIBS="-ljpeg $LIBS"
23226 cat >conftest.$ac_ext <<_ACEOF
23227 /* confdefs.h. */
23228 _ACEOF
23229 cat confdefs.h >>conftest.$ac_ext
23230 cat >>conftest.$ac_ext <<_ACEOF
23231 /* end confdefs.h. */
23232
23233 /* Override any gcc2 internal prototype to avoid an error. */
23234 #ifdef __cplusplus
23235 extern "C"
23236 #endif
23237 /* We use char because int might match the return type of a gcc2
23238 builtin and then its argument prototype would still apply. */
23239 char jpeg_read_header ();
23240 int
23241 main ()
23242 {
23243 jpeg_read_header ();
23244 ;
23245 return 0;
23246 }
23247 _ACEOF
23248 rm -f conftest.$ac_objext conftest$ac_exeext
23249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23250 (eval $ac_link) 2>conftest.er1
23251 ac_status=$?
23252 grep -v '^ *+' conftest.er1 >conftest.err
23253 rm -f conftest.er1
23254 cat conftest.err >&5
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); } &&
23257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23259 (eval $ac_try) 2>&5
23260 ac_status=$?
23261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23262 (exit $ac_status); }; } &&
23263 { ac_try='test -s conftest$ac_exeext'
23264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23265 (eval $ac_try) 2>&5
23266 ac_status=$?
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); }; }; then
23269 ac_cv_lib_jpeg_jpeg_read_header=yes
23270 else
23271 echo "$as_me: failed program was:" >&5
23272 sed 's/^/| /' conftest.$ac_ext >&5
23273
23274 ac_cv_lib_jpeg_jpeg_read_header=no
23275 fi
23276 rm -f conftest.err conftest.$ac_objext \
23277 conftest$ac_exeext conftest.$ac_ext
23278 LIBS=$ac_check_lib_save_LIBS
23279 fi
23280 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23281 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23282 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23283 JPEG_LINK=" -ljpeg"
23284 fi
23285
23286 fi
23287
23288 if test "x$JPEG_LINK" = "x" ; then
23289 if test "$wxUSE_LIBJPEG" = "sys" ; then
23290 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23291 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23292 { (exit 1); exit 1; }; }
23293 else
23294 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23295 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23296 wxUSE_LIBJPEG=builtin
23297 fi
23298 else
23299 wxUSE_LIBJPEG=sys
23300 fi
23301 fi
23302 fi
23303 fi
23304
23305
23306 TIFF_LINK=
23307 TIFF_PREREQ_LINKS=-lm
23308 if test "$wxUSE_LIBTIFF" != "no" ; then
23309 cat >>confdefs.h <<\_ACEOF
23310 #define wxUSE_LIBTIFF 1
23311 _ACEOF
23312
23313
23314 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23315 if test "$wxUSE_LIBJPEG" = "sys"; then
23316 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
23317 fi
23318 if test "$wxUSE_ZLIB" = "sys"; then
23319 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23320 fi
23321 if test "${ac_cv_header_tiffio_h+set}" = set; then
23322 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23323 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23324 if test "${ac_cv_header_tiffio_h+set}" = set; then
23325 echo $ECHO_N "(cached) $ECHO_C" >&6
23326 fi
23327 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23328 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23329 else
23330 # Is the header compilable?
23331 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23332 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23333 cat >conftest.$ac_ext <<_ACEOF
23334 /* confdefs.h. */
23335 _ACEOF
23336 cat confdefs.h >>conftest.$ac_ext
23337 cat >>conftest.$ac_ext <<_ACEOF
23338 /* end confdefs.h. */
23339 $ac_includes_default
23340 #include <tiffio.h>
23341 _ACEOF
23342 rm -f conftest.$ac_objext
23343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23344 (eval $ac_compile) 2>conftest.er1
23345 ac_status=$?
23346 grep -v '^ *+' conftest.er1 >conftest.err
23347 rm -f conftest.er1
23348 cat conftest.err >&5
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); } &&
23351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23353 (eval $ac_try) 2>&5
23354 ac_status=$?
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); }; } &&
23357 { ac_try='test -s conftest.$ac_objext'
23358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23359 (eval $ac_try) 2>&5
23360 ac_status=$?
23361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362 (exit $ac_status); }; }; then
23363 ac_header_compiler=yes
23364 else
23365 echo "$as_me: failed program was:" >&5
23366 sed 's/^/| /' conftest.$ac_ext >&5
23367
23368 ac_header_compiler=no
23369 fi
23370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23371 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23372 echo "${ECHO_T}$ac_header_compiler" >&6
23373
23374 # Is the header present?
23375 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23376 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23377 cat >conftest.$ac_ext <<_ACEOF
23378 /* confdefs.h. */
23379 _ACEOF
23380 cat confdefs.h >>conftest.$ac_ext
23381 cat >>conftest.$ac_ext <<_ACEOF
23382 /* end confdefs.h. */
23383 #include <tiffio.h>
23384 _ACEOF
23385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23386 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23387 ac_status=$?
23388 grep -v '^ *+' conftest.er1 >conftest.err
23389 rm -f conftest.er1
23390 cat conftest.err >&5
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); } >/dev/null; then
23393 if test -s conftest.err; then
23394 ac_cpp_err=$ac_c_preproc_warn_flag
23395 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23396 else
23397 ac_cpp_err=
23398 fi
23399 else
23400 ac_cpp_err=yes
23401 fi
23402 if test -z "$ac_cpp_err"; then
23403 ac_header_preproc=yes
23404 else
23405 echo "$as_me: failed program was:" >&5
23406 sed 's/^/| /' conftest.$ac_ext >&5
23407
23408 ac_header_preproc=no
23409 fi
23410 rm -f conftest.err conftest.$ac_ext
23411 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23412 echo "${ECHO_T}$ac_header_preproc" >&6
23413
23414 # So? What about this header?
23415 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23416 yes:no: )
23417 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23418 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23419 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23420 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23421 ac_header_preproc=yes
23422 ;;
23423 no:yes:* )
23424 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23425 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23426 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23427 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23428 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23429 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23430 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23431 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23432 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23433 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23434 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23435 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23436 (
23437 cat <<\_ASBOX
23438 ## ----------------------------------------- ##
23439 ## Report this to wx-dev@lists.wxwidgets.org ##
23440 ## ----------------------------------------- ##
23441 _ASBOX
23442 ) |
23443 sed "s/^/$as_me: WARNING: /" >&2
23444 ;;
23445 esac
23446 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23447 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23448 if test "${ac_cv_header_tiffio_h+set}" = set; then
23449 echo $ECHO_N "(cached) $ECHO_C" >&6
23450 else
23451 ac_cv_header_tiffio_h=$ac_header_preproc
23452 fi
23453 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23454 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23455
23456 fi
23457 if test $ac_cv_header_tiffio_h = yes; then
23458
23459 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23460 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23461 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23462 echo $ECHO_N "(cached) $ECHO_C" >&6
23463 else
23464 ac_check_lib_save_LIBS=$LIBS
23465 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23466 cat >conftest.$ac_ext <<_ACEOF
23467 /* confdefs.h. */
23468 _ACEOF
23469 cat confdefs.h >>conftest.$ac_ext
23470 cat >>conftest.$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23472
23473 /* Override any gcc2 internal prototype to avoid an error. */
23474 #ifdef __cplusplus
23475 extern "C"
23476 #endif
23477 /* We use char because int might match the return type of a gcc2
23478 builtin and then its argument prototype would still apply. */
23479 char TIFFError ();
23480 int
23481 main ()
23482 {
23483 TIFFError ();
23484 ;
23485 return 0;
23486 }
23487 _ACEOF
23488 rm -f conftest.$ac_objext conftest$ac_exeext
23489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23490 (eval $ac_link) 2>conftest.er1
23491 ac_status=$?
23492 grep -v '^ *+' conftest.er1 >conftest.err
23493 rm -f conftest.er1
23494 cat conftest.err >&5
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); } &&
23497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23499 (eval $ac_try) 2>&5
23500 ac_status=$?
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); }; } &&
23503 { ac_try='test -s conftest$ac_exeext'
23504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23505 (eval $ac_try) 2>&5
23506 ac_status=$?
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); }; }; then
23509 ac_cv_lib_tiff_TIFFError=yes
23510 else
23511 echo "$as_me: failed program was:" >&5
23512 sed 's/^/| /' conftest.$ac_ext >&5
23513
23514 ac_cv_lib_tiff_TIFFError=no
23515 fi
23516 rm -f conftest.err conftest.$ac_objext \
23517 conftest$ac_exeext conftest.$ac_ext
23518 LIBS=$ac_check_lib_save_LIBS
23519 fi
23520 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23521 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23522 if test $ac_cv_lib_tiff_TIFFError = yes; then
23523 TIFF_LINK=" -ltiff"
23524 fi
23525
23526
23527
23528 fi
23529
23530
23531
23532 if test "x$TIFF_LINK" = "x" ; then
23533 if test "$wxUSE_LIBTIFF" = "sys" ; then
23534 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23535 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23536 { (exit 1); exit 1; }; }
23537 else
23538 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23539 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23540 wxUSE_LIBTIFF=builtin
23541 fi
23542 else
23543 wxUSE_LIBTIFF=sys
23544 fi
23545 fi
23546 fi
23547
23548
23549 if test "$wxUSE_WCHAR_T" != "yes"; then
23550 if test "$wxUSE_EXPAT" != "no"; then
23551 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23552 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23553 wxUSE_EXPAT=no
23554 fi
23555 if test "$wxUSE_XML" != "no"; then
23556 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23557 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23558 wxUSE_XML=no
23559 fi
23560 fi
23561
23562 if test "$wxUSE_EXPAT" != "no"; then
23563 wxUSE_XML=yes
23564 cat >>confdefs.h <<\_ACEOF
23565 #define wxUSE_EXPAT 1
23566 _ACEOF
23567
23568 cat >>confdefs.h <<\_ACEOF
23569 #define wxUSE_XML 1
23570 _ACEOF
23571
23572
23573 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23574 if test "${ac_cv_header_expat_h+set}" = set; then
23575 echo "$as_me:$LINENO: checking for expat.h" >&5
23576 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23577 if test "${ac_cv_header_expat_h+set}" = set; then
23578 echo $ECHO_N "(cached) $ECHO_C" >&6
23579 fi
23580 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23581 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23582 else
23583 # Is the header compilable?
23584 echo "$as_me:$LINENO: checking expat.h usability" >&5
23585 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23586 cat >conftest.$ac_ext <<_ACEOF
23587 /* confdefs.h. */
23588 _ACEOF
23589 cat confdefs.h >>conftest.$ac_ext
23590 cat >>conftest.$ac_ext <<_ACEOF
23591 /* end confdefs.h. */
23592 $ac_includes_default
23593 #include <expat.h>
23594 _ACEOF
23595 rm -f conftest.$ac_objext
23596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23597 (eval $ac_compile) 2>conftest.er1
23598 ac_status=$?
23599 grep -v '^ *+' conftest.er1 >conftest.err
23600 rm -f conftest.er1
23601 cat conftest.err >&5
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); } &&
23604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23606 (eval $ac_try) 2>&5
23607 ac_status=$?
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); }; } &&
23610 { ac_try='test -s conftest.$ac_objext'
23611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23612 (eval $ac_try) 2>&5
23613 ac_status=$?
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); }; }; then
23616 ac_header_compiler=yes
23617 else
23618 echo "$as_me: failed program was:" >&5
23619 sed 's/^/| /' conftest.$ac_ext >&5
23620
23621 ac_header_compiler=no
23622 fi
23623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23624 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23625 echo "${ECHO_T}$ac_header_compiler" >&6
23626
23627 # Is the header present?
23628 echo "$as_me:$LINENO: checking expat.h presence" >&5
23629 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23630 cat >conftest.$ac_ext <<_ACEOF
23631 /* confdefs.h. */
23632 _ACEOF
23633 cat confdefs.h >>conftest.$ac_ext
23634 cat >>conftest.$ac_ext <<_ACEOF
23635 /* end confdefs.h. */
23636 #include <expat.h>
23637 _ACEOF
23638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23639 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23640 ac_status=$?
23641 grep -v '^ *+' conftest.er1 >conftest.err
23642 rm -f conftest.er1
23643 cat conftest.err >&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); } >/dev/null; then
23646 if test -s conftest.err; then
23647 ac_cpp_err=$ac_c_preproc_warn_flag
23648 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23649 else
23650 ac_cpp_err=
23651 fi
23652 else
23653 ac_cpp_err=yes
23654 fi
23655 if test -z "$ac_cpp_err"; then
23656 ac_header_preproc=yes
23657 else
23658 echo "$as_me: failed program was:" >&5
23659 sed 's/^/| /' conftest.$ac_ext >&5
23660
23661 ac_header_preproc=no
23662 fi
23663 rm -f conftest.err conftest.$ac_ext
23664 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23665 echo "${ECHO_T}$ac_header_preproc" >&6
23666
23667 # So? What about this header?
23668 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23669 yes:no: )
23670 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23671 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23672 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23673 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23674 ac_header_preproc=yes
23675 ;;
23676 no:yes:* )
23677 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23678 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23679 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23680 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23681 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23682 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23683 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23684 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23685 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23686 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23687 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23688 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23689 (
23690 cat <<\_ASBOX
23691 ## ----------------------------------------- ##
23692 ## Report this to wx-dev@lists.wxwidgets.org ##
23693 ## ----------------------------------------- ##
23694 _ASBOX
23695 ) |
23696 sed "s/^/$as_me: WARNING: /" >&2
23697 ;;
23698 esac
23699 echo "$as_me:$LINENO: checking for expat.h" >&5
23700 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23701 if test "${ac_cv_header_expat_h+set}" = set; then
23702 echo $ECHO_N "(cached) $ECHO_C" >&6
23703 else
23704 ac_cv_header_expat_h=$ac_header_preproc
23705 fi
23706 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23707 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23708
23709 fi
23710 if test $ac_cv_header_expat_h = yes; then
23711 found_expat_h=1
23712 fi
23713
23714
23715 if test "x$found_expat_h" = "x1"; then
23716 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23717 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23718 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23719 echo $ECHO_N "(cached) $ECHO_C" >&6
23720 else
23721
23722
23723
23724 ac_ext=cc
23725 ac_cpp='$CXXCPP $CPPFLAGS'
23726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23729
23730 cat >conftest.$ac_ext <<_ACEOF
23731 /* confdefs.h. */
23732 _ACEOF
23733 cat confdefs.h >>conftest.$ac_ext
23734 cat >>conftest.$ac_ext <<_ACEOF
23735 /* end confdefs.h. */
23736 #include <expat.h>
23737 int
23738 main ()
23739 {
23740
23741 ;
23742 return 0;
23743 }
23744 _ACEOF
23745 rm -f conftest.$ac_objext
23746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23747 (eval $ac_compile) 2>conftest.er1
23748 ac_status=$?
23749 grep -v '^ *+' conftest.er1 >conftest.err
23750 rm -f conftest.er1
23751 cat conftest.err >&5
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); } &&
23754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756 (eval $ac_try) 2>&5
23757 ac_status=$?
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); }; } &&
23760 { ac_try='test -s conftest.$ac_objext'
23761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23762 (eval $ac_try) 2>&5
23763 ac_status=$?
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); }; }; then
23766 wx_cv_expat_is_not_broken=yes
23767 else
23768 echo "$as_me: failed program was:" >&5
23769 sed 's/^/| /' conftest.$ac_ext >&5
23770
23771 wx_cv_expat_is_not_broken=no
23772
23773 fi
23774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23775 ac_ext=c
23776 ac_cpp='$CPP $CPPFLAGS'
23777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23780
23781
23782
23783 fi
23784 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23785 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23786 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23787 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23788 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23789 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23790 echo $ECHO_N "(cached) $ECHO_C" >&6
23791 else
23792 ac_check_lib_save_LIBS=$LIBS
23793 LIBS="-lexpat $LIBS"
23794 cat >conftest.$ac_ext <<_ACEOF
23795 /* confdefs.h. */
23796 _ACEOF
23797 cat confdefs.h >>conftest.$ac_ext
23798 cat >>conftest.$ac_ext <<_ACEOF
23799 /* end confdefs.h. */
23800
23801 /* Override any gcc2 internal prototype to avoid an error. */
23802 #ifdef __cplusplus
23803 extern "C"
23804 #endif
23805 /* We use char because int might match the return type of a gcc2
23806 builtin and then its argument prototype would still apply. */
23807 char XML_ParserCreate ();
23808 int
23809 main ()
23810 {
23811 XML_ParserCreate ();
23812 ;
23813 return 0;
23814 }
23815 _ACEOF
23816 rm -f conftest.$ac_objext conftest$ac_exeext
23817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23818 (eval $ac_link) 2>conftest.er1
23819 ac_status=$?
23820 grep -v '^ *+' conftest.er1 >conftest.err
23821 rm -f conftest.er1
23822 cat conftest.err >&5
23823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23824 (exit $ac_status); } &&
23825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23827 (eval $ac_try) 2>&5
23828 ac_status=$?
23829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830 (exit $ac_status); }; } &&
23831 { ac_try='test -s conftest$ac_exeext'
23832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23833 (eval $ac_try) 2>&5
23834 ac_status=$?
23835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23836 (exit $ac_status); }; }; then
23837 ac_cv_lib_expat_XML_ParserCreate=yes
23838 else
23839 echo "$as_me: failed program was:" >&5
23840 sed 's/^/| /' conftest.$ac_ext >&5
23841
23842 ac_cv_lib_expat_XML_ParserCreate=no
23843 fi
23844 rm -f conftest.err conftest.$ac_objext \
23845 conftest$ac_exeext conftest.$ac_ext
23846 LIBS=$ac_check_lib_save_LIBS
23847 fi
23848 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23849 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23850 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23851 EXPAT_LINK=" -lexpat"
23852 fi
23853
23854 fi
23855 fi
23856 if test "x$EXPAT_LINK" = "x" ; then
23857 if test "$wxUSE_EXPAT" = "sys" ; then
23858 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23859 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23860 { (exit 1); exit 1; }; }
23861 else
23862 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23863 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23864 wxUSE_EXPAT=builtin
23865 fi
23866 else
23867 wxUSE_EXPAT=sys
23868 fi
23869 fi
23870 if test "$wxUSE_EXPAT" = "builtin" ; then
23871
23872
23873 subdirs="$subdirs src/expat"
23874
23875 fi
23876 fi
23877
23878
23879
23880 if test "$wxUSE_LIBMSPACK" != "no"; then
23881 if test "${ac_cv_header_mspack_h+set}" = set; then
23882 echo "$as_me:$LINENO: checking for mspack.h" >&5
23883 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23884 if test "${ac_cv_header_mspack_h+set}" = set; then
23885 echo $ECHO_N "(cached) $ECHO_C" >&6
23886 fi
23887 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23888 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23889 else
23890 # Is the header compilable?
23891 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23892 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23893 cat >conftest.$ac_ext <<_ACEOF
23894 /* confdefs.h. */
23895 _ACEOF
23896 cat confdefs.h >>conftest.$ac_ext
23897 cat >>conftest.$ac_ext <<_ACEOF
23898 /* end confdefs.h. */
23899 $ac_includes_default
23900 #include <mspack.h>
23901 _ACEOF
23902 rm -f conftest.$ac_objext
23903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23904 (eval $ac_compile) 2>conftest.er1
23905 ac_status=$?
23906 grep -v '^ *+' conftest.er1 >conftest.err
23907 rm -f conftest.er1
23908 cat conftest.err >&5
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); } &&
23911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23913 (eval $ac_try) 2>&5
23914 ac_status=$?
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); }; } &&
23917 { ac_try='test -s conftest.$ac_objext'
23918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23919 (eval $ac_try) 2>&5
23920 ac_status=$?
23921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23922 (exit $ac_status); }; }; then
23923 ac_header_compiler=yes
23924 else
23925 echo "$as_me: failed program was:" >&5
23926 sed 's/^/| /' conftest.$ac_ext >&5
23927
23928 ac_header_compiler=no
23929 fi
23930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23931 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23932 echo "${ECHO_T}$ac_header_compiler" >&6
23933
23934 # Is the header present?
23935 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23936 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23937 cat >conftest.$ac_ext <<_ACEOF
23938 /* confdefs.h. */
23939 _ACEOF
23940 cat confdefs.h >>conftest.$ac_ext
23941 cat >>conftest.$ac_ext <<_ACEOF
23942 /* end confdefs.h. */
23943 #include <mspack.h>
23944 _ACEOF
23945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23946 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23947 ac_status=$?
23948 grep -v '^ *+' conftest.er1 >conftest.err
23949 rm -f conftest.er1
23950 cat conftest.err >&5
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); } >/dev/null; then
23953 if test -s conftest.err; then
23954 ac_cpp_err=$ac_c_preproc_warn_flag
23955 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23956 else
23957 ac_cpp_err=
23958 fi
23959 else
23960 ac_cpp_err=yes
23961 fi
23962 if test -z "$ac_cpp_err"; then
23963 ac_header_preproc=yes
23964 else
23965 echo "$as_me: failed program was:" >&5
23966 sed 's/^/| /' conftest.$ac_ext >&5
23967
23968 ac_header_preproc=no
23969 fi
23970 rm -f conftest.err conftest.$ac_ext
23971 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23972 echo "${ECHO_T}$ac_header_preproc" >&6
23973
23974 # So? What about this header?
23975 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23976 yes:no: )
23977 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23978 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23979 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23980 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23981 ac_header_preproc=yes
23982 ;;
23983 no:yes:* )
23984 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23985 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23986 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23987 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23988 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23989 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23990 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23991 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23992 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23993 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23994 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23995 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23996 (
23997 cat <<\_ASBOX
23998 ## ----------------------------------------- ##
23999 ## Report this to wx-dev@lists.wxwidgets.org ##
24000 ## ----------------------------------------- ##
24001 _ASBOX
24002 ) |
24003 sed "s/^/$as_me: WARNING: /" >&2
24004 ;;
24005 esac
24006 echo "$as_me:$LINENO: checking for mspack.h" >&5
24007 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24008 if test "${ac_cv_header_mspack_h+set}" = set; then
24009 echo $ECHO_N "(cached) $ECHO_C" >&6
24010 else
24011 ac_cv_header_mspack_h=$ac_header_preproc
24012 fi
24013 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24014 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24015
24016 fi
24017 if test $ac_cv_header_mspack_h = yes; then
24018 found_mspack_h=1
24019 fi
24020
24021
24022 if test "x$found_mspack_h" = "x1"; then
24023 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24024 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24025 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24026 echo $ECHO_N "(cached) $ECHO_C" >&6
24027 else
24028 ac_check_lib_save_LIBS=$LIBS
24029 LIBS="-lmspack $LIBS"
24030 cat >conftest.$ac_ext <<_ACEOF
24031 /* confdefs.h. */
24032 _ACEOF
24033 cat confdefs.h >>conftest.$ac_ext
24034 cat >>conftest.$ac_ext <<_ACEOF
24035 /* end confdefs.h. */
24036
24037 /* Override any gcc2 internal prototype to avoid an error. */
24038 #ifdef __cplusplus
24039 extern "C"
24040 #endif
24041 /* We use char because int might match the return type of a gcc2
24042 builtin and then its argument prototype would still apply. */
24043 char mspack_create_chm_decompressor ();
24044 int
24045 main ()
24046 {
24047 mspack_create_chm_decompressor ();
24048 ;
24049 return 0;
24050 }
24051 _ACEOF
24052 rm -f conftest.$ac_objext conftest$ac_exeext
24053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24054 (eval $ac_link) 2>conftest.er1
24055 ac_status=$?
24056 grep -v '^ *+' conftest.er1 >conftest.err
24057 rm -f conftest.er1
24058 cat conftest.err >&5
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); } &&
24061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24063 (eval $ac_try) 2>&5
24064 ac_status=$?
24065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066 (exit $ac_status); }; } &&
24067 { ac_try='test -s conftest$ac_exeext'
24068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24069 (eval $ac_try) 2>&5
24070 ac_status=$?
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); }; }; then
24073 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
24074 else
24075 echo "$as_me: failed program was:" >&5
24076 sed 's/^/| /' conftest.$ac_ext >&5
24077
24078 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
24079 fi
24080 rm -f conftest.err conftest.$ac_objext \
24081 conftest$ac_exeext conftest.$ac_ext
24082 LIBS=$ac_check_lib_save_LIBS
24083 fi
24084 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24085 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24086 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24087 MSPACK_LINK=" -lmspack"
24088 fi
24089
24090 fi
24091 if test "x$MSPACK_LINK" = "x" ; then
24092 wxUSE_LIBMSPACK=no
24093 fi
24094 fi
24095
24096 if test "$wxUSE_LIBMSPACK" != "no"; then
24097 cat >>confdefs.h <<\_ACEOF
24098 #define wxUSE_LIBMSPACK 1
24099 _ACEOF
24100
24101 fi
24102
24103
24104
24105 AFMINSTALL=
24106 WIN32INSTALL=
24107
24108 TOOLKIT=
24109 TOOLKIT_INCLUDE=
24110 WIDGET_SET=
24111
24112 if test "$USE_WIN32" = 1 ; then
24113
24114 for ac_header in w32api.h
24115 do
24116 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24118 echo "$as_me:$LINENO: checking for $ac_header" >&5
24119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24121 echo $ECHO_N "(cached) $ECHO_C" >&6
24122 fi
24123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24125 else
24126 # Is the header compilable?
24127 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24128 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24129 cat >conftest.$ac_ext <<_ACEOF
24130 /* confdefs.h. */
24131 _ACEOF
24132 cat confdefs.h >>conftest.$ac_ext
24133 cat >>conftest.$ac_ext <<_ACEOF
24134 /* end confdefs.h. */
24135 $ac_includes_default
24136 #include <$ac_header>
24137 _ACEOF
24138 rm -f conftest.$ac_objext
24139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24140 (eval $ac_compile) 2>conftest.er1
24141 ac_status=$?
24142 grep -v '^ *+' conftest.er1 >conftest.err
24143 rm -f conftest.er1
24144 cat conftest.err >&5
24145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24146 (exit $ac_status); } &&
24147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24149 (eval $ac_try) 2>&5
24150 ac_status=$?
24151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24152 (exit $ac_status); }; } &&
24153 { ac_try='test -s conftest.$ac_objext'
24154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24155 (eval $ac_try) 2>&5
24156 ac_status=$?
24157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24158 (exit $ac_status); }; }; then
24159 ac_header_compiler=yes
24160 else
24161 echo "$as_me: failed program was:" >&5
24162 sed 's/^/| /' conftest.$ac_ext >&5
24163
24164 ac_header_compiler=no
24165 fi
24166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24168 echo "${ECHO_T}$ac_header_compiler" >&6
24169
24170 # Is the header present?
24171 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24172 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24173 cat >conftest.$ac_ext <<_ACEOF
24174 /* confdefs.h. */
24175 _ACEOF
24176 cat confdefs.h >>conftest.$ac_ext
24177 cat >>conftest.$ac_ext <<_ACEOF
24178 /* end confdefs.h. */
24179 #include <$ac_header>
24180 _ACEOF
24181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24183 ac_status=$?
24184 grep -v '^ *+' conftest.er1 >conftest.err
24185 rm -f conftest.er1
24186 cat conftest.err >&5
24187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24188 (exit $ac_status); } >/dev/null; then
24189 if test -s conftest.err; then
24190 ac_cpp_err=$ac_c_preproc_warn_flag
24191 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24192 else
24193 ac_cpp_err=
24194 fi
24195 else
24196 ac_cpp_err=yes
24197 fi
24198 if test -z "$ac_cpp_err"; then
24199 ac_header_preproc=yes
24200 else
24201 echo "$as_me: failed program was:" >&5
24202 sed 's/^/| /' conftest.$ac_ext >&5
24203
24204 ac_header_preproc=no
24205 fi
24206 rm -f conftest.err conftest.$ac_ext
24207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24208 echo "${ECHO_T}$ac_header_preproc" >&6
24209
24210 # So? What about this header?
24211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24212 yes:no: )
24213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24217 ac_header_preproc=yes
24218 ;;
24219 no:yes:* )
24220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24232 (
24233 cat <<\_ASBOX
24234 ## ----------------------------------------- ##
24235 ## Report this to wx-dev@lists.wxwidgets.org ##
24236 ## ----------------------------------------- ##
24237 _ASBOX
24238 ) |
24239 sed "s/^/$as_me: WARNING: /" >&2
24240 ;;
24241 esac
24242 echo "$as_me:$LINENO: checking for $ac_header" >&5
24243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24245 echo $ECHO_N "(cached) $ECHO_C" >&6
24246 else
24247 eval "$as_ac_Header=\$ac_header_preproc"
24248 fi
24249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24251
24252 fi
24253 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24254 cat >>confdefs.h <<_ACEOF
24255 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24256 _ACEOF
24257
24258 fi
24259
24260 done
24261
24262 if test "${ac_cv_header_windows_h+set}" = set; then
24263 echo "$as_me:$LINENO: checking for windows.h" >&5
24264 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24265 if test "${ac_cv_header_windows_h+set}" = set; then
24266 echo $ECHO_N "(cached) $ECHO_C" >&6
24267 fi
24268 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24269 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24270 else
24271 # Is the header compilable?
24272 echo "$as_me:$LINENO: checking windows.h usability" >&5
24273 echo $ECHO_N "checking windows.h 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 <windows.h>
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 windows.h presence" >&5
24317 echo $ECHO_N "checking windows.h 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 <windows.h>
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: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24359 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24360 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24361 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24362 ac_header_preproc=yes
24363 ;;
24364 no:yes:* )
24365 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24366 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24367 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24368 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24369 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24370 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24371 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24372 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24373 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24374 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24375 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24376 echo "$as_me: WARNING: windows.h: 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 windows.h" >&5
24388 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24389 if test "${ac_cv_header_windows_h+set}" = set; then
24390 echo $ECHO_N "(cached) $ECHO_C" >&6
24391 else
24392 ac_cv_header_windows_h=$ac_header_preproc
24393 fi
24394 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24395 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24396
24397 fi
24398 if test $ac_cv_header_windows_h = yes; then
24399 :
24400 else
24401
24402 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24403 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24404 { (exit 1); exit 1; }; }
24405
24406 fi
24407
24408
24409
24410 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24411
24412 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24413 LIBS="$LIBS -loleacc"
24414 fi
24415
24416 case "${host}" in
24417 *-*-cygwin* )
24418 LIBS="$LIBS -lkernel32 -luser32"
24419 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
24420 esac
24421
24422 if test "$wxUSE_ODBC" = "sys" ; then
24423 wxUSE_ODBC = "yes"
24424 fi
24425 if test "$wxUSE_ODBC" = "yes" ; then
24426 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
24427 cat >>confdefs.h <<\_ACEOF
24428 #define wxUSE_ODBC 1
24429 _ACEOF
24430
24431 fi
24432
24433 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24434 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
24435
24436 WIN32INSTALL=win32install
24437 fi
24438
24439 if test "$wxUSE_GUI" = "yes"; then
24440 USE_GUI=1
24441
24442 GUI_TK_LIBRARY=
24443
24444 WXGTK12=
24445 WXGTK127=
24446 WXGTK20=
24447 WXGPE=
24448
24449 if test "$wxUSE_COCOA" = 1 ; then
24450 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24451 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24452 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24453 wxUSE_PRINTING_ARCHITECTURE=no
24454 fi
24455 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24456 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24457 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24458 wxUSE_DRAG_AND_DROP=no
24459 fi
24460 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24461 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24462 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24463 wxUSE_DRAGIMAGE=no
24464 fi
24465 fi
24466
24467 if test "$wxUSE_MSW" = 1 ; then
24468 TOOLKIT=MSW
24469 GUIDIST=MSW_DIST
24470
24471 case "${host}" in
24472 *-*-mingw32* )
24473 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24474 esac
24475 fi
24476
24477 if test "$wxUSE_GTK" = 1; then
24478 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24479 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24480
24481 gtk_version_cached=1
24482 if test "${wx_cv_lib_gtk+set}" = set; then
24483 echo $ECHO_N "(cached) $ECHO_C" >&6
24484 else
24485
24486 gtk_version_cached=0
24487 echo "$as_me:$LINENO: result: " >&5
24488 echo "${ECHO_T}" >&6
24489
24490 GTK_MODULES=
24491 if test "$wxUSE_THREADS" = "yes"; then
24492 GTK_MODULES=gthread
24493 fi
24494
24495 wx_cv_lib_gtk=
24496 if test "x$wxGTK_VERSION" != "x1"; then
24497 # Check whether --enable-gtktest or --disable-gtktest was given.
24498 if test "${enable_gtktest+set}" = set; then
24499 enableval="$enable_gtktest"
24500
24501 else
24502 enable_gtktest=yes
24503 fi;
24504
24505 pkg_config_args=gtk+-2.0
24506 for module in . $GTK_MODULES
24507 do
24508 case "$module" in
24509 gthread)
24510 pkg_config_args="$pkg_config_args gthread-2.0"
24511 ;;
24512 esac
24513 done
24514
24515 no_gtk=""
24516
24517 # Extract the first word of "pkg-config", so it can be a program name with args.
24518 set dummy pkg-config; ac_word=$2
24519 echo "$as_me:$LINENO: checking for $ac_word" >&5
24520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24521 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24522 echo $ECHO_N "(cached) $ECHO_C" >&6
24523 else
24524 case $PKG_CONFIG in
24525 [\\/]* | ?:[\\/]*)
24526 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24527 ;;
24528 *)
24529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24530 for as_dir in $PATH
24531 do
24532 IFS=$as_save_IFS
24533 test -z "$as_dir" && as_dir=.
24534 for ac_exec_ext in '' $ac_executable_extensions; do
24535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24536 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24538 break 2
24539 fi
24540 done
24541 done
24542
24543 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24544 ;;
24545 esac
24546 fi
24547 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24548
24549 if test -n "$PKG_CONFIG"; then
24550 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24551 echo "${ECHO_T}$PKG_CONFIG" >&6
24552 else
24553 echo "$as_me:$LINENO: result: no" >&5
24554 echo "${ECHO_T}no" >&6
24555 fi
24556
24557
24558 if test x$PKG_CONFIG != xno ; then
24559 if pkg-config --atleast-pkgconfig-version 0.7 ; then
24560 :
24561 else
24562 echo "*** pkg-config too old; version 0.7 or better required."
24563 no_gtk=yes
24564 PKG_CONFIG=no
24565 fi
24566 else
24567 no_gtk=yes
24568 fi
24569
24570 min_gtk_version=2.0.0
24571 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24572 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24573
24574 if test x$PKG_CONFIG != xno ; then
24575 ## don't try to run the test against uninstalled libtool libs
24576 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24577 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24578 enable_gtktest=no
24579 fi
24580
24581 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24582 :
24583 else
24584 no_gtk=yes
24585 fi
24586 fi
24587
24588 if test x"$no_gtk" = x ; then
24589 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
24590 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
24591 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24592 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24593 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24594 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24595 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24596 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24597 if test "x$enable_gtktest" = "xyes" ; then
24598 ac_save_CFLAGS="$CFLAGS"
24599 ac_save_LIBS="$LIBS"
24600 CFLAGS="$CFLAGS $GTK_CFLAGS"
24601 LIBS="$GTK_LIBS $LIBS"
24602 rm -f conf.gtktest
24603 if test "$cross_compiling" = yes; then
24604 echo $ac_n "cross compiling; assumed OK... $ac_c"
24605 else
24606 cat >conftest.$ac_ext <<_ACEOF
24607 /* confdefs.h. */
24608 _ACEOF
24609 cat confdefs.h >>conftest.$ac_ext
24610 cat >>conftest.$ac_ext <<_ACEOF
24611 /* end confdefs.h. */
24612
24613 #include <gtk/gtk.h>
24614 #include <stdio.h>
24615 #include <stdlib.h>
24616
24617 int
24618 main ()
24619 {
24620 int major, minor, micro;
24621 char *tmp_version;
24622
24623 system ("touch conf.gtktest");
24624
24625 /* HP/UX 9 (%@#!) writes to sscanf strings */
24626 tmp_version = g_strdup("$min_gtk_version");
24627 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24628 printf("%s, bad version string\n", "$min_gtk_version");
24629 exit(1);
24630 }
24631
24632 if ((gtk_major_version != $gtk_config_major_version) ||
24633 (gtk_minor_version != $gtk_config_minor_version) ||
24634 (gtk_micro_version != $gtk_config_micro_version))
24635 {
24636 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24637 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24638 gtk_major_version, gtk_minor_version, gtk_micro_version);
24639 printf ("*** was found! If pkg-config was correct, then it is best\n");
24640 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24641 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24642 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24643 printf("*** required on your system.\n");
24644 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24645 printf("*** to point to the correct configuration files\n");
24646 }
24647 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24648 (gtk_minor_version != GTK_MINOR_VERSION) ||
24649 (gtk_micro_version != GTK_MICRO_VERSION))
24650 {
24651 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24652 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24653 printf("*** library (version %d.%d.%d)\n",
24654 gtk_major_version, gtk_minor_version, gtk_micro_version);
24655 }
24656 else
24657 {
24658 if ((gtk_major_version > major) ||
24659 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24660 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24661 {
24662 return 0;
24663 }
24664 else
24665 {
24666 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24667 gtk_major_version, gtk_minor_version, gtk_micro_version);
24668 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24669 major, minor, micro);
24670 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24671 printf("***\n");
24672 printf("*** If you have already installed a sufficiently new version, this error\n");
24673 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24674 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24675 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24676 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24677 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24678 printf("*** so that the correct libraries are found at run-time))\n");
24679 }
24680 }
24681 return 1;
24682 }
24683
24684 _ACEOF
24685 rm -f conftest$ac_exeext
24686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24687 (eval $ac_link) 2>&5
24688 ac_status=$?
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24692 (eval $ac_try) 2>&5
24693 ac_status=$?
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); }; }; then
24696 :
24697 else
24698 echo "$as_me: program exited with status $ac_status" >&5
24699 echo "$as_me: failed program was:" >&5
24700 sed 's/^/| /' conftest.$ac_ext >&5
24701
24702 ( exit $ac_status )
24703 no_gtk=yes
24704 fi
24705 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24706 fi
24707 CFLAGS="$ac_save_CFLAGS"
24708 LIBS="$ac_save_LIBS"
24709 fi
24710 fi
24711 if test "x$no_gtk" = x ; then
24712 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24713 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24714 wx_cv_lib_gtk=2.0
24715 else
24716 echo "$as_me:$LINENO: result: no" >&5
24717 echo "${ECHO_T}no" >&6
24718 if test "$PKG_CONFIG" = "no" ; then
24719 echo "*** A new enough version of pkg-config was not found."
24720 echo "*** See http://pkgconfig.sourceforge.net"
24721 else
24722 if test -f conf.gtktest ; then
24723 :
24724 else
24725 echo "*** Could not run GTK+ test program, checking why..."
24726 ac_save_CFLAGS="$CFLAGS"
24727 ac_save_LIBS="$LIBS"
24728 CFLAGS="$CFLAGS $GTK_CFLAGS"
24729 LIBS="$LIBS $GTK_LIBS"
24730 cat >conftest.$ac_ext <<_ACEOF
24731 /* confdefs.h. */
24732 _ACEOF
24733 cat confdefs.h >>conftest.$ac_ext
24734 cat >>conftest.$ac_ext <<_ACEOF
24735 /* end confdefs.h. */
24736
24737 #include <gtk/gtk.h>
24738 #include <stdio.h>
24739
24740 int
24741 main ()
24742 {
24743 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24744 ;
24745 return 0;
24746 }
24747 _ACEOF
24748 rm -f conftest.$ac_objext conftest$ac_exeext
24749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24750 (eval $ac_link) 2>conftest.er1
24751 ac_status=$?
24752 grep -v '^ *+' conftest.er1 >conftest.err
24753 rm -f conftest.er1
24754 cat conftest.err >&5
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); } &&
24757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24759 (eval $ac_try) 2>&5
24760 ac_status=$?
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); }; } &&
24763 { ac_try='test -s conftest$ac_exeext'
24764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24765 (eval $ac_try) 2>&5
24766 ac_status=$?
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); }; }; then
24769 echo "*** The test program compiled, but did not run. This usually means"
24770 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24771 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24772 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24773 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24774 echo "*** is required on your system"
24775 echo "***"
24776 echo "*** If you have an old version installed, it is best to remove it, although"
24777 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24778 else
24779 echo "$as_me: failed program was:" >&5
24780 sed 's/^/| /' conftest.$ac_ext >&5
24781
24782 echo "*** The test program failed to compile or link. See the file config.log for the"
24783 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24784 fi
24785 rm -f conftest.err conftest.$ac_objext \
24786 conftest$ac_exeext conftest.$ac_ext
24787 CFLAGS="$ac_save_CFLAGS"
24788 LIBS="$ac_save_LIBS"
24789 fi
24790 fi
24791 GTK_CFLAGS=""
24792 GTK_LIBS=""
24793 :
24794 fi
24795
24796
24797 rm -f conf.gtktest
24798
24799 fi
24800
24801 if test -z "$wx_cv_lib_gtk"; then
24802 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
24803
24804 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24805 if test "${with_gtk_prefix+set}" = set; then
24806 withval="$with_gtk_prefix"
24807 gtk_config_prefix="$withval"
24808 else
24809 gtk_config_prefix=""
24810 fi;
24811
24812 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24813 if test "${with_gtk_exec_prefix+set}" = set; then
24814 withval="$with_gtk_exec_prefix"
24815 gtk_config_exec_prefix="$withval"
24816 else
24817 gtk_config_exec_prefix=""
24818 fi;
24819 # Check whether --enable-gtktest or --disable-gtktest was given.
24820 if test "${enable_gtktest+set}" = set; then
24821 enableval="$enable_gtktest"
24822
24823 else
24824 enable_gtktest=yes
24825 fi;
24826
24827 for module in . $GTK_MODULES
24828 do
24829 case "$module" in
24830 gthread)
24831 gtk_config_args="$gtk_config_args gthread"
24832 ;;
24833 esac
24834 done
24835
24836 if test x$gtk_config_exec_prefix != x ; then
24837 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24838 if test x${GTK_CONFIG+set} != xset ; then
24839 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24840 fi
24841 fi
24842 if test x$gtk_config_prefix != x ; then
24843 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24844 if test x${GTK_CONFIG+set} != xset ; then
24845 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24846 fi
24847 fi
24848
24849 # Extract the first word of "gtk-config", so it can be a program name with args.
24850 set dummy gtk-config; ac_word=$2
24851 echo "$as_me:$LINENO: checking for $ac_word" >&5
24852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24853 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24854 echo $ECHO_N "(cached) $ECHO_C" >&6
24855 else
24856 case $GTK_CONFIG in
24857 [\\/]* | ?:[\\/]*)
24858 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24859 ;;
24860 *)
24861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24862 for as_dir in $PATH
24863 do
24864 IFS=$as_save_IFS
24865 test -z "$as_dir" && as_dir=.
24866 for ac_exec_ext in '' $ac_executable_extensions; do
24867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24868 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24870 break 2
24871 fi
24872 done
24873 done
24874
24875 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24876 ;;
24877 esac
24878 fi
24879 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24880
24881 if test -n "$GTK_CONFIG"; then
24882 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24883 echo "${ECHO_T}$GTK_CONFIG" >&6
24884 else
24885 echo "$as_me:$LINENO: result: no" >&5
24886 echo "${ECHO_T}no" >&6
24887 fi
24888
24889 min_gtk_version=1.2.7
24890 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24891 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24892 no_gtk=""
24893 if test "$GTK_CONFIG" = "no" ; then
24894 no_gtk=yes
24895 else
24896 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24897 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24898 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24899 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24900 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24901 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24902 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24903 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24904 if test "x$enable_gtktest" = "xyes" ; then
24905 ac_save_CFLAGS="$CFLAGS"
24906 ac_save_LIBS="$LIBS"
24907 CFLAGS="$CFLAGS $GTK_CFLAGS"
24908 LIBS="$GTK_LIBS $LIBS"
24909 rm -f conf.gtktest
24910 if test "$cross_compiling" = yes; then
24911 echo $ac_n "cross compiling; assumed OK... $ac_c"
24912 else
24913 cat >conftest.$ac_ext <<_ACEOF
24914 /* confdefs.h. */
24915 _ACEOF
24916 cat confdefs.h >>conftest.$ac_ext
24917 cat >>conftest.$ac_ext <<_ACEOF
24918 /* end confdefs.h. */
24919
24920 #include <gtk/gtk.h>
24921 #include <stdio.h>
24922 #include <stdlib.h>
24923
24924 int
24925 main ()
24926 {
24927 int major, minor, micro;
24928 char *tmp_version;
24929
24930 system ("touch conf.gtktest");
24931
24932 /* HP/UX 9 (%@#!) writes to sscanf strings */
24933 tmp_version = g_strdup("$min_gtk_version");
24934 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24935 printf("%s, bad version string\n", "$min_gtk_version");
24936 exit(1);
24937 }
24938
24939 if ((gtk_major_version != $gtk_config_major_version) ||
24940 (gtk_minor_version != $gtk_config_minor_version) ||
24941 (gtk_micro_version != $gtk_config_micro_version))
24942 {
24943 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24944 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24945 gtk_major_version, gtk_minor_version, gtk_micro_version);
24946 printf ("*** was found! If gtk-config was correct, then it is best\n");
24947 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24948 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24949 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24950 printf("*** required on your system.\n");
24951 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24952 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24953 printf("*** before re-running configure\n");
24954 }
24955 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24956 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24957 (gtk_minor_version != GTK_MINOR_VERSION) ||
24958 (gtk_micro_version != GTK_MICRO_VERSION))
24959 {
24960 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24961 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24962 printf("*** library (version %d.%d.%d)\n",
24963 gtk_major_version, gtk_minor_version, gtk_micro_version);
24964 }
24965 #endif /* defined (GTK_MAJOR_VERSION) ... */
24966 else
24967 {
24968 if ((gtk_major_version > major) ||
24969 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24970 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24971 {
24972 return 0;
24973 }
24974 else
24975 {
24976 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24977 gtk_major_version, gtk_minor_version, gtk_micro_version);
24978 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24979 major, minor, micro);
24980 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24981 printf("***\n");
24982 printf("*** If you have already installed a sufficiently new version, this error\n");
24983 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24984 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24985 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24986 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24987 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24988 printf("*** so that the correct libraries are found at run-time))\n");
24989 }
24990 }
24991 return 1;
24992 }
24993
24994 _ACEOF
24995 rm -f conftest$ac_exeext
24996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24997 (eval $ac_link) 2>&5
24998 ac_status=$?
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25002 (eval $ac_try) 2>&5
25003 ac_status=$?
25004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25005 (exit $ac_status); }; }; then
25006 :
25007 else
25008 echo "$as_me: program exited with status $ac_status" >&5
25009 echo "$as_me: failed program was:" >&5
25010 sed 's/^/| /' conftest.$ac_ext >&5
25011
25012 ( exit $ac_status )
25013 no_gtk=yes
25014 fi
25015 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25016 fi
25017 CFLAGS="$ac_save_CFLAGS"
25018 LIBS="$ac_save_LIBS"
25019 fi
25020 fi
25021 if test "x$no_gtk" = x ; then
25022 echo "$as_me:$LINENO: result: yes" >&5
25023 echo "${ECHO_T}yes" >&6
25024 wx_cv_lib_gtk=1.2.7
25025 else
25026 echo "$as_me:$LINENO: result: no" >&5
25027 echo "${ECHO_T}no" >&6
25028 if test "$GTK_CONFIG" = "no" ; then
25029 echo "*** The gtk-config script installed by GTK could not be found"
25030 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25031 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25032 echo "*** full path to gtk-config."
25033 else
25034 if test -f conf.gtktest ; then
25035 :
25036 else
25037 echo "*** Could not run GTK test program, checking why..."
25038 CFLAGS="$CFLAGS $GTK_CFLAGS"
25039 LIBS="$LIBS $GTK_LIBS"
25040 cat >conftest.$ac_ext <<_ACEOF
25041 /* confdefs.h. */
25042 _ACEOF
25043 cat confdefs.h >>conftest.$ac_ext
25044 cat >>conftest.$ac_ext <<_ACEOF
25045 /* end confdefs.h. */
25046
25047 #include <gtk/gtk.h>
25048 #include <stdio.h>
25049
25050 int
25051 main ()
25052 {
25053 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25054 ;
25055 return 0;
25056 }
25057 _ACEOF
25058 rm -f conftest.$ac_objext conftest$ac_exeext
25059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25060 (eval $ac_link) 2>conftest.er1
25061 ac_status=$?
25062 grep -v '^ *+' conftest.er1 >conftest.err
25063 rm -f conftest.er1
25064 cat conftest.err >&5
25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25066 (exit $ac_status); } &&
25067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25069 (eval $ac_try) 2>&5
25070 ac_status=$?
25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072 (exit $ac_status); }; } &&
25073 { ac_try='test -s conftest$ac_exeext'
25074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25075 (eval $ac_try) 2>&5
25076 ac_status=$?
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); }; }; then
25079 echo "*** The test program compiled, but did not run. This usually means"
25080 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25081 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25082 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25083 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25084 echo "*** is required on your system"
25085 echo "***"
25086 echo "*** If you have an old version installed, it is best to remove it, although"
25087 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25088 echo "***"
25089 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25090 echo "*** came with the system with the command"
25091 echo "***"
25092 echo "*** rpm --erase --nodeps gtk gtk-devel"
25093 else
25094 echo "$as_me: failed program was:" >&5
25095 sed 's/^/| /' conftest.$ac_ext >&5
25096
25097 echo "*** The test program failed to compile or link. See the file config.log for the"
25098 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25099 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25100 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25101 fi
25102 rm -f conftest.err conftest.$ac_objext \
25103 conftest$ac_exeext conftest.$ac_ext
25104 CFLAGS="$ac_save_CFLAGS"
25105 LIBS="$ac_save_LIBS"
25106 fi
25107 fi
25108 GTK_CFLAGS=""
25109 GTK_LIBS=""
25110 :
25111 fi
25112
25113
25114 rm -f conf.gtktest
25115
25116
25117 if test -z "$wx_cv_lib_gtk"; then
25118
25119 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25120 if test "${with_gtk_prefix+set}" = set; then
25121 withval="$with_gtk_prefix"
25122 gtk_config_prefix="$withval"
25123 else
25124 gtk_config_prefix=""
25125 fi;
25126
25127 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25128 if test "${with_gtk_exec_prefix+set}" = set; then
25129 withval="$with_gtk_exec_prefix"
25130 gtk_config_exec_prefix="$withval"
25131 else
25132 gtk_config_exec_prefix=""
25133 fi;
25134 # Check whether --enable-gtktest or --disable-gtktest was given.
25135 if test "${enable_gtktest+set}" = set; then
25136 enableval="$enable_gtktest"
25137
25138 else
25139 enable_gtktest=yes
25140 fi;
25141
25142 for module in . $GTK_MODULES
25143 do
25144 case "$module" in
25145 gthread)
25146 gtk_config_args="$gtk_config_args gthread"
25147 ;;
25148 esac
25149 done
25150
25151 if test x$gtk_config_exec_prefix != x ; then
25152 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25153 if test x${GTK_CONFIG+set} != xset ; then
25154 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
25155 fi
25156 fi
25157 if test x$gtk_config_prefix != x ; then
25158 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
25159 if test x${GTK_CONFIG+set} != xset ; then
25160 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
25161 fi
25162 fi
25163
25164 # Extract the first word of "gtk-config", so it can be a program name with args.
25165 set dummy gtk-config; ac_word=$2
25166 echo "$as_me:$LINENO: checking for $ac_word" >&5
25167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25168 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25169 echo $ECHO_N "(cached) $ECHO_C" >&6
25170 else
25171 case $GTK_CONFIG in
25172 [\\/]* | ?:[\\/]*)
25173 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25174 ;;
25175 *)
25176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25177 for as_dir in $PATH
25178 do
25179 IFS=$as_save_IFS
25180 test -z "$as_dir" && as_dir=.
25181 for ac_exec_ext in '' $ac_executable_extensions; do
25182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25183 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25185 break 2
25186 fi
25187 done
25188 done
25189
25190 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25191 ;;
25192 esac
25193 fi
25194 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25195
25196 if test -n "$GTK_CONFIG"; then
25197 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25198 echo "${ECHO_T}$GTK_CONFIG" >&6
25199 else
25200 echo "$as_me:$LINENO: result: no" >&5
25201 echo "${ECHO_T}no" >&6
25202 fi
25203
25204 min_gtk_version=1.2.3
25205 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25206 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25207 no_gtk=""
25208 if test "$GTK_CONFIG" = "no" ; then
25209 no_gtk=yes
25210 else
25211 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25212 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25213 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25214 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25215 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25216 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25217 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25218 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25219 if test "x$enable_gtktest" = "xyes" ; then
25220 ac_save_CFLAGS="$CFLAGS"
25221 ac_save_LIBS="$LIBS"
25222 CFLAGS="$CFLAGS $GTK_CFLAGS"
25223 LIBS="$GTK_LIBS $LIBS"
25224 rm -f conf.gtktest
25225 if test "$cross_compiling" = yes; then
25226 echo $ac_n "cross compiling; assumed OK... $ac_c"
25227 else
25228 cat >conftest.$ac_ext <<_ACEOF
25229 /* confdefs.h. */
25230 _ACEOF
25231 cat confdefs.h >>conftest.$ac_ext
25232 cat >>conftest.$ac_ext <<_ACEOF
25233 /* end confdefs.h. */
25234
25235 #include <gtk/gtk.h>
25236 #include <stdio.h>
25237 #include <stdlib.h>
25238
25239 int
25240 main ()
25241 {
25242 int major, minor, micro;
25243 char *tmp_version;
25244
25245 system ("touch conf.gtktest");
25246
25247 /* HP/UX 9 (%@#!) writes to sscanf strings */
25248 tmp_version = g_strdup("$min_gtk_version");
25249 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25250 printf("%s, bad version string\n", "$min_gtk_version");
25251 exit(1);
25252 }
25253
25254 if ((gtk_major_version != $gtk_config_major_version) ||
25255 (gtk_minor_version != $gtk_config_minor_version) ||
25256 (gtk_micro_version != $gtk_config_micro_version))
25257 {
25258 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25259 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25260 gtk_major_version, gtk_minor_version, gtk_micro_version);
25261 printf ("*** was found! If gtk-config was correct, then it is best\n");
25262 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25263 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25264 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25265 printf("*** required on your system.\n");
25266 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25267 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25268 printf("*** before re-running configure\n");
25269 }
25270 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25271 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25272 (gtk_minor_version != GTK_MINOR_VERSION) ||
25273 (gtk_micro_version != GTK_MICRO_VERSION))
25274 {
25275 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25276 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25277 printf("*** library (version %d.%d.%d)\n",
25278 gtk_major_version, gtk_minor_version, gtk_micro_version);
25279 }
25280 #endif /* defined (GTK_MAJOR_VERSION) ... */
25281 else
25282 {
25283 if ((gtk_major_version > major) ||
25284 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25285 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25286 {
25287 return 0;
25288 }
25289 else
25290 {
25291 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25292 gtk_major_version, gtk_minor_version, gtk_micro_version);
25293 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25294 major, minor, micro);
25295 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25296 printf("***\n");
25297 printf("*** If you have already installed a sufficiently new version, this error\n");
25298 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25299 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25300 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25301 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25302 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25303 printf("*** so that the correct libraries are found at run-time))\n");
25304 }
25305 }
25306 return 1;
25307 }
25308
25309 _ACEOF
25310 rm -f conftest$ac_exeext
25311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25312 (eval $ac_link) 2>&5
25313 ac_status=$?
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25317 (eval $ac_try) 2>&5
25318 ac_status=$?
25319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25320 (exit $ac_status); }; }; then
25321 :
25322 else
25323 echo "$as_me: program exited with status $ac_status" >&5
25324 echo "$as_me: failed program was:" >&5
25325 sed 's/^/| /' conftest.$ac_ext >&5
25326
25327 ( exit $ac_status )
25328 no_gtk=yes
25329 fi
25330 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25331 fi
25332 CFLAGS="$ac_save_CFLAGS"
25333 LIBS="$ac_save_LIBS"
25334 fi
25335 fi
25336 if test "x$no_gtk" = x ; then
25337 echo "$as_me:$LINENO: result: yes" >&5
25338 echo "${ECHO_T}yes" >&6
25339 wx_cv_lib_gtk=1.2.3
25340 else
25341 echo "$as_me:$LINENO: result: no" >&5
25342 echo "${ECHO_T}no" >&6
25343 if test "$GTK_CONFIG" = "no" ; then
25344 echo "*** The gtk-config script installed by GTK could not be found"
25345 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25346 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25347 echo "*** full path to gtk-config."
25348 else
25349 if test -f conf.gtktest ; then
25350 :
25351 else
25352 echo "*** Could not run GTK test program, checking why..."
25353 CFLAGS="$CFLAGS $GTK_CFLAGS"
25354 LIBS="$LIBS $GTK_LIBS"
25355 cat >conftest.$ac_ext <<_ACEOF
25356 /* confdefs.h. */
25357 _ACEOF
25358 cat confdefs.h >>conftest.$ac_ext
25359 cat >>conftest.$ac_ext <<_ACEOF
25360 /* end confdefs.h. */
25361
25362 #include <gtk/gtk.h>
25363 #include <stdio.h>
25364
25365 int
25366 main ()
25367 {
25368 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25369 ;
25370 return 0;
25371 }
25372 _ACEOF
25373 rm -f conftest.$ac_objext conftest$ac_exeext
25374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25375 (eval $ac_link) 2>conftest.er1
25376 ac_status=$?
25377 grep -v '^ *+' conftest.er1 >conftest.err
25378 rm -f conftest.er1
25379 cat conftest.err >&5
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); } &&
25382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25384 (eval $ac_try) 2>&5
25385 ac_status=$?
25386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25387 (exit $ac_status); }; } &&
25388 { ac_try='test -s conftest$ac_exeext'
25389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25390 (eval $ac_try) 2>&5
25391 ac_status=$?
25392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25393 (exit $ac_status); }; }; then
25394 echo "*** The test program compiled, but did not run. This usually means"
25395 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25396 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25397 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25398 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25399 echo "*** is required on your system"
25400 echo "***"
25401 echo "*** If you have an old version installed, it is best to remove it, although"
25402 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25403 echo "***"
25404 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25405 echo "*** came with the system with the command"
25406 echo "***"
25407 echo "*** rpm --erase --nodeps gtk gtk-devel"
25408 else
25409 echo "$as_me: failed program was:" >&5
25410 sed 's/^/| /' conftest.$ac_ext >&5
25411
25412 echo "*** The test program failed to compile or link. See the file config.log for the"
25413 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25414 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25415 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25416 fi
25417 rm -f conftest.err conftest.$ac_objext \
25418 conftest$ac_exeext conftest.$ac_ext
25419 CFLAGS="$ac_save_CFLAGS"
25420 LIBS="$ac_save_LIBS"
25421 fi
25422 fi
25423 GTK_CFLAGS=""
25424 GTK_LIBS=""
25425 :
25426 fi
25427
25428
25429 rm -f conf.gtktest
25430
25431 fi
25432 fi
25433 fi
25434
25435 if test -z "$wx_cv_lib_gtk"; then
25436 wx_cv_lib_gtk=none
25437 else
25438 wx_cv_cflags_gtk=$GTK_CFLAGS
25439 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
25440 fi
25441
25442
25443 fi
25444
25445
25446 if test "$gtk_version_cached" = 1; then
25447 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25448 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25449 fi
25450
25451 case "$wx_cv_lib_gtk" in
25452 2.0) WXGTK20=1
25453 TOOLKIT_VERSION=2
25454 ;;
25455 1.2.7) WXGTK127=1
25456 WXGTK12=1
25457 ;;
25458 1.2.3) WXGTK12=1
25459 ;;
25460 *) { { echo "$as_me:$LINENO: error:
25461 The development files for GTK+ were not found. For GTK+ 2, please
25462 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25463 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25464 and that the version is 1.2.3 or above. Also check that the
25465 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25466 --libs' are in the LD_LIBRARY_PATH or equivalent.
25467 " >&5
25468 echo "$as_me: error:
25469 The development files for GTK+ were not found. For GTK+ 2, please
25470 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25471 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25472 and that the version is 1.2.3 or above. Also check that the
25473 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25474 --libs' are in the LD_LIBRARY_PATH or equivalent.
25475 " >&2;}
25476 { (exit 1); exit 1; }; }
25477 ;;
25478 esac
25479
25480 if test "$WXGTK20" = 1; then
25481 save_CFLAGS="$CFLAGS"
25482 save_LIBS="$LIBS"
25483 CFLAGS="$CFLAGS $wx_cv_cflags_gtk"
25484 LIBS="$LIBS $wx_cv_libs_gtk"
25485
25486 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
25487 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
25488 cat >conftest.$ac_ext <<_ACEOF
25489 /* confdefs.h. */
25490 _ACEOF
25491 cat confdefs.h >>conftest.$ac_ext
25492 cat >>conftest.$ac_ext <<_ACEOF
25493 /* end confdefs.h. */
25494
25495 #include <gtk/gtk.h>
25496
25497 int
25498 main ()
25499 {
25500
25501 void *f = gtk_icon_size_lookup;
25502
25503 ;
25504 return 0;
25505 }
25506 _ACEOF
25507 rm -f conftest.$ac_objext
25508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25509 (eval $ac_compile) 2>conftest.er1
25510 ac_status=$?
25511 grep -v '^ *+' conftest.er1 >conftest.err
25512 rm -f conftest.er1
25513 cat conftest.err >&5
25514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515 (exit $ac_status); } &&
25516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25518 (eval $ac_try) 2>&5
25519 ac_status=$?
25520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25521 (exit $ac_status); }; } &&
25522 { ac_try='test -s conftest.$ac_objext'
25523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25524 (eval $ac_try) 2>&5
25525 ac_status=$?
25526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25527 (exit $ac_status); }; }; then
25528
25529 echo "$as_me:$LINENO: result: no" >&5
25530 echo "${ECHO_T}no" >&6
25531
25532 else
25533 echo "$as_me: failed program was:" >&5
25534 sed 's/^/| /' conftest.$ac_ext >&5
25535
25536
25537 cat >>confdefs.h <<\_ACEOF
25538 #define NEED_GTK_ICON_SIZE_LOOKUP 1
25539 _ACEOF
25540
25541 echo "$as_me:$LINENO: result: yes" >&5
25542 echo "${ECHO_T}yes" >&6
25543
25544 fi
25545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25546
25547 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25548 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25549 cat >conftest.$ac_ext <<_ACEOF
25550 /* confdefs.h. */
25551 _ACEOF
25552 cat confdefs.h >>conftest.$ac_ext
25553 cat >>conftest.$ac_ext <<_ACEOF
25554 /* end confdefs.h. */
25555
25556 #include <gtk/gtk.h>
25557
25558 int
25559 main ()
25560 {
25561
25562 #if !GTK_CHECK_VERSION(2,4,0)
25563 Not GTK+ 2.4
25564 #endif
25565
25566 ;
25567 return 0;
25568 }
25569 _ACEOF
25570 rm -f conftest.$ac_objext
25571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25572 (eval $ac_compile) 2>conftest.er1
25573 ac_status=$?
25574 grep -v '^ *+' conftest.er1 >conftest.err
25575 rm -f conftest.er1
25576 cat conftest.err >&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); } &&
25579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25581 (eval $ac_try) 2>&5
25582 ac_status=$?
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); }; } &&
25585 { ac_try='test -s conftest.$ac_objext'
25586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25587 (eval $ac_try) 2>&5
25588 ac_status=$?
25589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25590 (exit $ac_status); }; }; then
25591
25592 cat >>confdefs.h <<\_ACEOF
25593 #define __WXGTK24__ 1
25594 _ACEOF
25595
25596 echo "$as_me:$LINENO: result: yes" >&5
25597 echo "${ECHO_T}yes" >&6
25598
25599 else
25600 echo "$as_me: failed program was:" >&5
25601 sed 's/^/| /' conftest.$ac_ext >&5
25602
25603
25604 echo "$as_me:$LINENO: result: no" >&5
25605 echo "${ECHO_T}no" >&6
25606
25607 fi
25608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25609
25610 CFLAGS="$save_CFLAGS"
25611 LIBS="$save_LIBS"
25612 else
25613 if test "$wxUSE_UNICODE" = "yes"; then
25614 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25615 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25616 wxUSE_UNICODE=no
25617 fi
25618 fi
25619
25620 if test "$USE_DARWIN" != 1; then
25621
25622 for ac_func in poll
25623 do
25624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25625 echo "$as_me:$LINENO: checking for $ac_func" >&5
25626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25627 if eval "test \"\${$as_ac_var+set}\" = set"; then
25628 echo $ECHO_N "(cached) $ECHO_C" >&6
25629 else
25630 cat >conftest.$ac_ext <<_ACEOF
25631 /* confdefs.h. */
25632 _ACEOF
25633 cat confdefs.h >>conftest.$ac_ext
25634 cat >>conftest.$ac_ext <<_ACEOF
25635 /* end confdefs.h. */
25636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25638 #define $ac_func innocuous_$ac_func
25639
25640 /* System header to define __stub macros and hopefully few prototypes,
25641 which can conflict with char $ac_func (); below.
25642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25643 <limits.h> exists even on freestanding compilers. */
25644
25645 #ifdef __STDC__
25646 # include <limits.h>
25647 #else
25648 # include <assert.h>
25649 #endif
25650
25651 #undef $ac_func
25652
25653 /* Override any gcc2 internal prototype to avoid an error. */
25654 #ifdef __cplusplus
25655 extern "C"
25656 {
25657 #endif
25658 /* We use char because int might match the return type of a gcc2
25659 builtin and then its argument prototype would still apply. */
25660 char $ac_func ();
25661 /* The GNU C library defines this for functions which it implements
25662 to always fail with ENOSYS. Some functions are actually named
25663 something starting with __ and the normal name is an alias. */
25664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25665 choke me
25666 #else
25667 char (*f) () = $ac_func;
25668 #endif
25669 #ifdef __cplusplus
25670 }
25671 #endif
25672
25673 int
25674 main ()
25675 {
25676 return f != $ac_func;
25677 ;
25678 return 0;
25679 }
25680 _ACEOF
25681 rm -f conftest.$ac_objext conftest$ac_exeext
25682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25683 (eval $ac_link) 2>conftest.er1
25684 ac_status=$?
25685 grep -v '^ *+' conftest.er1 >conftest.err
25686 rm -f conftest.er1
25687 cat conftest.err >&5
25688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25689 (exit $ac_status); } &&
25690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25692 (eval $ac_try) 2>&5
25693 ac_status=$?
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); }; } &&
25696 { ac_try='test -s conftest$ac_exeext'
25697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25698 (eval $ac_try) 2>&5
25699 ac_status=$?
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); }; }; then
25702 eval "$as_ac_var=yes"
25703 else
25704 echo "$as_me: failed program was:" >&5
25705 sed 's/^/| /' conftest.$ac_ext >&5
25706
25707 eval "$as_ac_var=no"
25708 fi
25709 rm -f conftest.err conftest.$ac_objext \
25710 conftest$ac_exeext conftest.$ac_ext
25711 fi
25712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25714 if test `eval echo '${'$as_ac_var'}'` = yes; then
25715 cat >>confdefs.h <<_ACEOF
25716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25717 _ACEOF
25718
25719 fi
25720 done
25721
25722 fi
25723
25724 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
25725 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25726
25727 AFMINSTALL=afminstall
25728 TOOLKIT=GTK
25729 GUIDIST=GTK_DIST
25730
25731 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25732 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25733 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25734 echo $ECHO_N "(cached) $ECHO_C" >&6
25735 else
25736 ac_check_lib_save_LIBS=$LIBS
25737 LIBS="-lgdk $LIBS"
25738 cat >conftest.$ac_ext <<_ACEOF
25739 /* confdefs.h. */
25740 _ACEOF
25741 cat confdefs.h >>conftest.$ac_ext
25742 cat >>conftest.$ac_ext <<_ACEOF
25743 /* end confdefs.h. */
25744
25745 /* Override any gcc2 internal prototype to avoid an error. */
25746 #ifdef __cplusplus
25747 extern "C"
25748 #endif
25749 /* We use char because int might match the return type of a gcc2
25750 builtin and then its argument prototype would still apply. */
25751 char gdk_im_open ();
25752 int
25753 main ()
25754 {
25755 gdk_im_open ();
25756 ;
25757 return 0;
25758 }
25759 _ACEOF
25760 rm -f conftest.$ac_objext conftest$ac_exeext
25761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25762 (eval $ac_link) 2>conftest.er1
25763 ac_status=$?
25764 grep -v '^ *+' conftest.er1 >conftest.err
25765 rm -f conftest.er1
25766 cat conftest.err >&5
25767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25768 (exit $ac_status); } &&
25769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
25775 { ac_try='test -s conftest$ac_exeext'
25776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25777 (eval $ac_try) 2>&5
25778 ac_status=$?
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); }; }; then
25781 ac_cv_lib_gdk_gdk_im_open=yes
25782 else
25783 echo "$as_me: failed program was:" >&5
25784 sed 's/^/| /' conftest.$ac_ext >&5
25785
25786 ac_cv_lib_gdk_gdk_im_open=no
25787 fi
25788 rm -f conftest.err conftest.$ac_objext \
25789 conftest$ac_exeext conftest.$ac_ext
25790 LIBS=$ac_check_lib_save_LIBS
25791 fi
25792 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25793 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25794 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25795 cat >>confdefs.h <<\_ACEOF
25796 #define HAVE_XIM 1
25797 _ACEOF
25798
25799 fi
25800
25801
25802
25803 if test "$wxUSE_GPE" = "yes"; then
25804 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25805 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25806
25807 ac_find_libraries=
25808 for ac_dir in $SEARCH_LIB /usr/lib;
25809 do
25810 for ac_extension in a so sl dylib dll.a; do
25811 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25812 ac_find_libraries=$ac_dir
25813 break 2
25814 fi
25815 done
25816 done
25817
25818 if test "$ac_find_libraries" != "" ; then
25819
25820 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25821 result=$?
25822 if test $result = 0; then
25823 ac_path_to_link=""
25824 else
25825 ac_path_to_link=" -L$ac_find_libraries"
25826 fi
25827
25828 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25829 WXGPE=1
25830 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25831 echo "${ECHO_T}found at $ac_find_libraries" >&6
25832 else
25833 echo "$as_me:$LINENO: result: not found" >&5
25834 echo "${ECHO_T}not found" >&6
25835 fi
25836
25837 fi
25838 fi
25839
25840 if test "$wxUSE_MGL" = 1; then
25841 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25842 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25843 if test "x$MGL_ROOT" = x ; then
25844 echo "$as_me:$LINENO: result: not found" >&5
25845 echo "${ECHO_T}not found" >&6
25846 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25847 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25848 { (exit 1); exit 1; }; }
25849 else
25850 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25851 echo "${ECHO_T}$MGL_ROOT" >&6
25852 fi
25853
25854 echo "$as_me:$LINENO: checking for libmgl location" >&5
25855 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25856 case "${host}" in
25857 *-*-linux* )
25858 if test "x$wxUSE_SHARED" = xyes ; then
25859 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25860 else
25861 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25862 fi
25863 ;;
25864 *-pc-msdosdjgpp )
25865 mgl_os_candidates="dos32/dj2"
25866 ;;
25867 *)
25868 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25869 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25870 { (exit 1); exit 1; }; }
25871 esac
25872
25873 mgl_lib_type=""
25874 mgl_os=""
25875
25876 for mgl_os_i in $mgl_os_candidates ; do
25877 if test "x$mgl_os" = x ; then
25878 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25879 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
25880 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
25881 mgl_lib_type=debug
25882 mgl_os=$mgl_os_i
25883 fi
25884 fi
25885 if test "x$mgl_lib_type" = x ; then
25886 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
25887 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
25888 mgl_lib_type=release
25889 mgl_os=$mgl_os_i
25890 fi
25891 fi
25892 fi
25893 done
25894
25895 if test "x$mgl_os" = x ; then
25896 echo "$as_me:$LINENO: result: not found" >&5
25897 echo "${ECHO_T}not found" >&6
25898 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25899 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25900 { (exit 1); exit 1; }; }
25901 fi
25902 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25903 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25904
25905 wxUSE_UNIVERSAL="yes"
25906
25907 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
25908 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25909
25910 AFMINSTALL=afminstall
25911 TOOLKIT=MGL
25912 GUIDIST=MGL_DIST
25913 fi
25914
25915 if test "$wxUSE_MICROWIN" = 1; then
25916 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25917 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25918 if test "x$MICROWINDOWS" = x ; then
25919 echo "$as_me:$LINENO: result: not found" >&5
25920 echo "${ECHO_T}not found" >&6
25921 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25922 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25923 { (exit 1); exit 1; }; }
25924 else
25925 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25926 echo "${ECHO_T}$MICROWINDOWS" >&6
25927 fi
25928
25929 if test -f $MICROWINDOWS/lib/libmwin.a; then
25930 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25931 echo "${ECHO_T}MicroWindows' libraries found." >&6
25932 else
25933 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25934 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25935 { (exit 1); exit 1; }; }
25936 fi
25937
25938 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
25939 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25940
25941 wxUSE_UNIVERSAL="yes"
25942
25943 AFMINSTALL=afminstall
25944 TOOLKIT=MICROWIN
25945 GUIDIST=MICROWIN_DIST
25946
25947 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25948 fi
25949
25950 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25951
25952 if test "x$ac_path_x_has_been_run" != xyes; then
25953 echo "$as_me:$LINENO: checking for X" >&5
25954 echo $ECHO_N "checking for X... $ECHO_C" >&6
25955
25956 ac_path_x_has_been_run=yes
25957
25958 # Check whether --with-x or --without-x was given.
25959 if test "${with_x+set}" = set; then
25960 withval="$with_x"
25961
25962 fi;
25963 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25964 if test "x$with_x" = xno; then
25965 # The user explicitly disabled X.
25966 have_x=disabled
25967 else
25968 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
25969 # Both variables are already set.
25970 have_x=yes
25971 else
25972 if test "${ac_cv_have_x+set}" = set; then
25973 echo $ECHO_N "(cached) $ECHO_C" >&6
25974 else
25975 # One or both of the vars are not set, and there is no cached value.
25976 ac_x_includes=no ac_x_libraries=no
25977 rm -fr conftest.dir
25978 if mkdir conftest.dir; then
25979 cd conftest.dir
25980 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25981 cat >Imakefile <<'_ACEOF'
25982 acfindx:
25983 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25984 _ACEOF
25985 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
25986 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25987 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25988 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25989 for ac_extension in a so sl; do
25990 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
25991 test -f $ac_im_libdir/libX11.$ac_extension; then
25992 ac_im_usrlibdir=$ac_im_libdir; break
25993 fi
25994 done
25995 # Screen out bogus values from the imake configuration. They are
25996 # bogus both because they are the default anyway, and because
25997 # using them would break gcc on systems where it needs fixed includes.
25998 case $ac_im_incroot in
25999 /usr/include) ;;
26000 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
26001 esac
26002 case $ac_im_usrlibdir in
26003 /usr/lib | /lib) ;;
26004 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
26005 esac
26006 fi
26007 cd ..
26008 rm -fr conftest.dir
26009 fi
26010
26011 # Standard set of common directories for X headers.
26012 # Check X11 before X11Rn because it is often a symlink to the current release.
26013 ac_x_header_dirs='
26014 /usr/X11/include
26015 /usr/X11R6/include
26016 /usr/X11R5/include
26017 /usr/X11R4/include
26018
26019 /usr/include/X11
26020 /usr/include/X11R6
26021 /usr/include/X11R5
26022 /usr/include/X11R4
26023
26024 /usr/local/X11/include
26025 /usr/local/X11R6/include
26026 /usr/local/X11R5/include
26027 /usr/local/X11R4/include
26028
26029 /usr/local/include/X11
26030 /usr/local/include/X11R6
26031 /usr/local/include/X11R5
26032 /usr/local/include/X11R4
26033
26034 /usr/X386/include
26035 /usr/x386/include
26036 /usr/XFree86/include/X11
26037
26038 /usr/include
26039 /usr/local/include
26040 /usr/unsupported/include
26041 /usr/athena/include
26042 /usr/local/x11r5/include
26043 /usr/lpp/Xamples/include
26044
26045 /usr/openwin/include
26046 /usr/openwin/share/include'
26047
26048 if test "$ac_x_includes" = no; then
26049 # Guess where to find include files, by looking for a specified header file.
26050 # First, try using that file with no special directory specified.
26051 cat >conftest.$ac_ext <<_ACEOF
26052 /* confdefs.h. */
26053 _ACEOF
26054 cat confdefs.h >>conftest.$ac_ext
26055 cat >>conftest.$ac_ext <<_ACEOF
26056 /* end confdefs.h. */
26057 #include <X11/Intrinsic.h>
26058 _ACEOF
26059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26061 ac_status=$?
26062 grep -v '^ *+' conftest.er1 >conftest.err
26063 rm -f conftest.er1
26064 cat conftest.err >&5
26065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26066 (exit $ac_status); } >/dev/null; then
26067 if test -s conftest.err; then
26068 ac_cpp_err=$ac_c_preproc_warn_flag
26069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26070 else
26071 ac_cpp_err=
26072 fi
26073 else
26074 ac_cpp_err=yes
26075 fi
26076 if test -z "$ac_cpp_err"; then
26077 # We can compile using X headers with no special include directory.
26078 ac_x_includes=
26079 else
26080 echo "$as_me: failed program was:" >&5
26081 sed 's/^/| /' conftest.$ac_ext >&5
26082
26083 for ac_dir in $ac_x_header_dirs; do
26084 if test -r "$ac_dir/X11/Intrinsic.h"; then
26085 ac_x_includes=$ac_dir
26086 break
26087 fi
26088 done
26089 fi
26090 rm -f conftest.err conftest.$ac_ext
26091 fi # $ac_x_includes = no
26092
26093 if test "$ac_x_libraries" = no; then
26094 # Check for the libraries.
26095 # See if we find them without any special options.
26096 # Don't add to $LIBS permanently.
26097 ac_save_LIBS=$LIBS
26098 LIBS="-lXt $LIBS"
26099 cat >conftest.$ac_ext <<_ACEOF
26100 /* confdefs.h. */
26101 _ACEOF
26102 cat confdefs.h >>conftest.$ac_ext
26103 cat >>conftest.$ac_ext <<_ACEOF
26104 /* end confdefs.h. */
26105 #include <X11/Intrinsic.h>
26106 int
26107 main ()
26108 {
26109 XtMalloc (0)
26110 ;
26111 return 0;
26112 }
26113 _ACEOF
26114 rm -f conftest.$ac_objext conftest$ac_exeext
26115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26116 (eval $ac_link) 2>conftest.er1
26117 ac_status=$?
26118 grep -v '^ *+' conftest.er1 >conftest.err
26119 rm -f conftest.er1
26120 cat conftest.err >&5
26121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26122 (exit $ac_status); } &&
26123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26125 (eval $ac_try) 2>&5
26126 ac_status=$?
26127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26128 (exit $ac_status); }; } &&
26129 { ac_try='test -s conftest$ac_exeext'
26130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26131 (eval $ac_try) 2>&5
26132 ac_status=$?
26133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26134 (exit $ac_status); }; }; then
26135 LIBS=$ac_save_LIBS
26136 # We can link X programs with no special library path.
26137 ac_x_libraries=
26138 else
26139 echo "$as_me: failed program was:" >&5
26140 sed 's/^/| /' conftest.$ac_ext >&5
26141
26142 LIBS=$ac_save_LIBS
26143 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26144 do
26145 # Don't even attempt the hair of trying to link an X program!
26146 for ac_extension in a so sl; do
26147 if test -r $ac_dir/libXt.$ac_extension; then
26148 ac_x_libraries=$ac_dir
26149 break 2
26150 fi
26151 done
26152 done
26153 fi
26154 rm -f conftest.err conftest.$ac_objext \
26155 conftest$ac_exeext conftest.$ac_ext
26156 fi # $ac_x_libraries = no
26157
26158 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
26159 # Didn't find X anywhere. Cache the known absence of X.
26160 ac_cv_have_x="have_x=no"
26161 else
26162 # Record where we found X for the cache.
26163 ac_cv_have_x="have_x=yes \
26164 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26165 fi
26166 fi
26167
26168 fi
26169 eval "$ac_cv_have_x"
26170 fi # $with_x != no
26171
26172 if test "$have_x" != yes; then
26173 echo "$as_me:$LINENO: result: $have_x" >&5
26174 echo "${ECHO_T}$have_x" >&6
26175 no_x=yes
26176 else
26177 # If each of the values was on the command line, it overrides each guess.
26178 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
26179 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
26180 # Update the cache value to reflect the command line values.
26181 ac_cv_have_x="have_x=yes \
26182 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26183 # It might be that x_includes is empty (headers are found in the
26184 # standard search path. Then output the corresponding message
26185 ac_out_x_includes=$x_includes
26186 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
26187 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26188 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26189 fi
26190
26191 fi
26192 if test "$no_x" = yes; then
26193 # Not all programs may use this symbol, but it does not hurt to define it.
26194
26195 cat >>confdefs.h <<\_ACEOF
26196 #define X_DISPLAY_MISSING 1
26197 _ACEOF
26198
26199 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26200 else
26201 if test -n "$x_includes"; then
26202 X_CFLAGS="$X_CFLAGS -I$x_includes"
26203 fi
26204
26205 # It would also be nice to do this for all -L options, not just this one.
26206 if test -n "$x_libraries"; then
26207 X_LIBS="$X_LIBS -L$x_libraries"
26208 # For Solaris; some versions of Sun CC require a space after -R and
26209 # others require no space. Words are not sufficient . . . .
26210 case `(uname -sr) 2>/dev/null` in
26211 "SunOS 5"*)
26212 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26213 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26214 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26215 cat >conftest.$ac_ext <<_ACEOF
26216 /* confdefs.h. */
26217 _ACEOF
26218 cat confdefs.h >>conftest.$ac_ext
26219 cat >>conftest.$ac_ext <<_ACEOF
26220 /* end confdefs.h. */
26221
26222 int
26223 main ()
26224 {
26225
26226 ;
26227 return 0;
26228 }
26229 _ACEOF
26230 rm -f conftest.$ac_objext conftest$ac_exeext
26231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26232 (eval $ac_link) 2>conftest.er1
26233 ac_status=$?
26234 grep -v '^ *+' conftest.er1 >conftest.err
26235 rm -f conftest.er1
26236 cat conftest.err >&5
26237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238 (exit $ac_status); } &&
26239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26241 (eval $ac_try) 2>&5
26242 ac_status=$?
26243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244 (exit $ac_status); }; } &&
26245 { ac_try='test -s conftest$ac_exeext'
26246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26247 (eval $ac_try) 2>&5
26248 ac_status=$?
26249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26250 (exit $ac_status); }; }; then
26251 ac_R_nospace=yes
26252 else
26253 echo "$as_me: failed program was:" >&5
26254 sed 's/^/| /' conftest.$ac_ext >&5
26255
26256 ac_R_nospace=no
26257 fi
26258 rm -f conftest.err conftest.$ac_objext \
26259 conftest$ac_exeext conftest.$ac_ext
26260 if test $ac_R_nospace = yes; then
26261 echo "$as_me:$LINENO: result: no" >&5
26262 echo "${ECHO_T}no" >&6
26263 X_LIBS="$X_LIBS -R$x_libraries"
26264 else
26265 LIBS="$ac_xsave_LIBS -R $x_libraries"
26266 cat >conftest.$ac_ext <<_ACEOF
26267 /* confdefs.h. */
26268 _ACEOF
26269 cat confdefs.h >>conftest.$ac_ext
26270 cat >>conftest.$ac_ext <<_ACEOF
26271 /* end confdefs.h. */
26272
26273 int
26274 main ()
26275 {
26276
26277 ;
26278 return 0;
26279 }
26280 _ACEOF
26281 rm -f conftest.$ac_objext conftest$ac_exeext
26282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26283 (eval $ac_link) 2>conftest.er1
26284 ac_status=$?
26285 grep -v '^ *+' conftest.er1 >conftest.err
26286 rm -f conftest.er1
26287 cat conftest.err >&5
26288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289 (exit $ac_status); } &&
26290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26292 (eval $ac_try) 2>&5
26293 ac_status=$?
26294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26295 (exit $ac_status); }; } &&
26296 { ac_try='test -s conftest$ac_exeext'
26297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26298 (eval $ac_try) 2>&5
26299 ac_status=$?
26300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26301 (exit $ac_status); }; }; then
26302 ac_R_space=yes
26303 else
26304 echo "$as_me: failed program was:" >&5
26305 sed 's/^/| /' conftest.$ac_ext >&5
26306
26307 ac_R_space=no
26308 fi
26309 rm -f conftest.err conftest.$ac_objext \
26310 conftest$ac_exeext conftest.$ac_ext
26311 if test $ac_R_space = yes; then
26312 echo "$as_me:$LINENO: result: yes" >&5
26313 echo "${ECHO_T}yes" >&6
26314 X_LIBS="$X_LIBS -R $x_libraries"
26315 else
26316 echo "$as_me:$LINENO: result: neither works" >&5
26317 echo "${ECHO_T}neither works" >&6
26318 fi
26319 fi
26320 LIBS=$ac_xsave_LIBS
26321 esac
26322 fi
26323
26324 # Check for system-dependent libraries X programs must link with.
26325 # Do this before checking for the system-independent R6 libraries
26326 # (-lICE), since we may need -lsocket or whatever for X linking.
26327
26328 if test "$ISC" = yes; then
26329 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
26330 else
26331 # Martyn Johnson says this is needed for Ultrix, if the X
26332 # libraries were built with DECnet support. And Karl Berry says
26333 # the Alpha needs dnet_stub (dnet does not exist).
26334 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
26335 cat >conftest.$ac_ext <<_ACEOF
26336 /* confdefs.h. */
26337 _ACEOF
26338 cat confdefs.h >>conftest.$ac_ext
26339 cat >>conftest.$ac_ext <<_ACEOF
26340 /* end confdefs.h. */
26341
26342 /* Override any gcc2 internal prototype to avoid an error. */
26343 #ifdef __cplusplus
26344 extern "C"
26345 #endif
26346 /* We use char because int might match the return type of a gcc2
26347 builtin and then its argument prototype would still apply. */
26348 char XOpenDisplay ();
26349 int
26350 main ()
26351 {
26352 XOpenDisplay ();
26353 ;
26354 return 0;
26355 }
26356 _ACEOF
26357 rm -f conftest.$ac_objext conftest$ac_exeext
26358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26359 (eval $ac_link) 2>conftest.er1
26360 ac_status=$?
26361 grep -v '^ *+' conftest.er1 >conftest.err
26362 rm -f conftest.er1
26363 cat conftest.err >&5
26364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365 (exit $ac_status); } &&
26366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26368 (eval $ac_try) 2>&5
26369 ac_status=$?
26370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26371 (exit $ac_status); }; } &&
26372 { ac_try='test -s conftest$ac_exeext'
26373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26374 (eval $ac_try) 2>&5
26375 ac_status=$?
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); }; }; then
26378 :
26379 else
26380 echo "$as_me: failed program was:" >&5
26381 sed 's/^/| /' conftest.$ac_ext >&5
26382
26383 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26384 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26385 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26386 echo $ECHO_N "(cached) $ECHO_C" >&6
26387 else
26388 ac_check_lib_save_LIBS=$LIBS
26389 LIBS="-ldnet $LIBS"
26390 cat >conftest.$ac_ext <<_ACEOF
26391 /* confdefs.h. */
26392 _ACEOF
26393 cat confdefs.h >>conftest.$ac_ext
26394 cat >>conftest.$ac_ext <<_ACEOF
26395 /* end confdefs.h. */
26396
26397 /* Override any gcc2 internal prototype to avoid an error. */
26398 #ifdef __cplusplus
26399 extern "C"
26400 #endif
26401 /* We use char because int might match the return type of a gcc2
26402 builtin and then its argument prototype would still apply. */
26403 char dnet_ntoa ();
26404 int
26405 main ()
26406 {
26407 dnet_ntoa ();
26408 ;
26409 return 0;
26410 }
26411 _ACEOF
26412 rm -f conftest.$ac_objext conftest$ac_exeext
26413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26414 (eval $ac_link) 2>conftest.er1
26415 ac_status=$?
26416 grep -v '^ *+' conftest.er1 >conftest.err
26417 rm -f conftest.er1
26418 cat conftest.err >&5
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); } &&
26421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26423 (eval $ac_try) 2>&5
26424 ac_status=$?
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); }; } &&
26427 { ac_try='test -s conftest$ac_exeext'
26428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26429 (eval $ac_try) 2>&5
26430 ac_status=$?
26431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26432 (exit $ac_status); }; }; then
26433 ac_cv_lib_dnet_dnet_ntoa=yes
26434 else
26435 echo "$as_me: failed program was:" >&5
26436 sed 's/^/| /' conftest.$ac_ext >&5
26437
26438 ac_cv_lib_dnet_dnet_ntoa=no
26439 fi
26440 rm -f conftest.err conftest.$ac_objext \
26441 conftest$ac_exeext conftest.$ac_ext
26442 LIBS=$ac_check_lib_save_LIBS
26443 fi
26444 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26445 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26446 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26447 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26448 fi
26449
26450 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26451 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26452 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26453 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26454 echo $ECHO_N "(cached) $ECHO_C" >&6
26455 else
26456 ac_check_lib_save_LIBS=$LIBS
26457 LIBS="-ldnet_stub $LIBS"
26458 cat >conftest.$ac_ext <<_ACEOF
26459 /* confdefs.h. */
26460 _ACEOF
26461 cat confdefs.h >>conftest.$ac_ext
26462 cat >>conftest.$ac_ext <<_ACEOF
26463 /* end confdefs.h. */
26464
26465 /* Override any gcc2 internal prototype to avoid an error. */
26466 #ifdef __cplusplus
26467 extern "C"
26468 #endif
26469 /* We use char because int might match the return type of a gcc2
26470 builtin and then its argument prototype would still apply. */
26471 char dnet_ntoa ();
26472 int
26473 main ()
26474 {
26475 dnet_ntoa ();
26476 ;
26477 return 0;
26478 }
26479 _ACEOF
26480 rm -f conftest.$ac_objext conftest$ac_exeext
26481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26482 (eval $ac_link) 2>conftest.er1
26483 ac_status=$?
26484 grep -v '^ *+' conftest.er1 >conftest.err
26485 rm -f conftest.er1
26486 cat conftest.err >&5
26487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26488 (exit $ac_status); } &&
26489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26491 (eval $ac_try) 2>&5
26492 ac_status=$?
26493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26494 (exit $ac_status); }; } &&
26495 { ac_try='test -s conftest$ac_exeext'
26496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26497 (eval $ac_try) 2>&5
26498 ac_status=$?
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); }; }; then
26501 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26502 else
26503 echo "$as_me: failed program was:" >&5
26504 sed 's/^/| /' conftest.$ac_ext >&5
26505
26506 ac_cv_lib_dnet_stub_dnet_ntoa=no
26507 fi
26508 rm -f conftest.err conftest.$ac_objext \
26509 conftest$ac_exeext conftest.$ac_ext
26510 LIBS=$ac_check_lib_save_LIBS
26511 fi
26512 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26513 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26514 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26515 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26516 fi
26517
26518 fi
26519 fi
26520 rm -f conftest.err conftest.$ac_objext \
26521 conftest$ac_exeext conftest.$ac_ext
26522 LIBS="$ac_xsave_LIBS"
26523
26524 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26525 # to get the SysV transport functions.
26526 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26527 # needs -lnsl.
26528 # The nsl library prevents programs from opening the X display
26529 # on Irix 5.2, according to T.E. Dickey.
26530 # The functions gethostbyname, getservbyname, and inet_addr are
26531 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26532 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26533 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26534 if test "${ac_cv_func_gethostbyname+set}" = set; then
26535 echo $ECHO_N "(cached) $ECHO_C" >&6
26536 else
26537 cat >conftest.$ac_ext <<_ACEOF
26538 /* confdefs.h. */
26539 _ACEOF
26540 cat confdefs.h >>conftest.$ac_ext
26541 cat >>conftest.$ac_ext <<_ACEOF
26542 /* end confdefs.h. */
26543 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26545 #define gethostbyname innocuous_gethostbyname
26546
26547 /* System header to define __stub macros and hopefully few prototypes,
26548 which can conflict with char gethostbyname (); below.
26549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26550 <limits.h> exists even on freestanding compilers. */
26551
26552 #ifdef __STDC__
26553 # include <limits.h>
26554 #else
26555 # include <assert.h>
26556 #endif
26557
26558 #undef gethostbyname
26559
26560 /* Override any gcc2 internal prototype to avoid an error. */
26561 #ifdef __cplusplus
26562 extern "C"
26563 {
26564 #endif
26565 /* We use char because int might match the return type of a gcc2
26566 builtin and then its argument prototype would still apply. */
26567 char gethostbyname ();
26568 /* The GNU C library defines this for functions which it implements
26569 to always fail with ENOSYS. Some functions are actually named
26570 something starting with __ and the normal name is an alias. */
26571 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26572 choke me
26573 #else
26574 char (*f) () = gethostbyname;
26575 #endif
26576 #ifdef __cplusplus
26577 }
26578 #endif
26579
26580 int
26581 main ()
26582 {
26583 return f != gethostbyname;
26584 ;
26585 return 0;
26586 }
26587 _ACEOF
26588 rm -f conftest.$ac_objext conftest$ac_exeext
26589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26590 (eval $ac_link) 2>conftest.er1
26591 ac_status=$?
26592 grep -v '^ *+' conftest.er1 >conftest.err
26593 rm -f conftest.er1
26594 cat conftest.err >&5
26595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26596 (exit $ac_status); } &&
26597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26599 (eval $ac_try) 2>&5
26600 ac_status=$?
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); }; } &&
26603 { ac_try='test -s conftest$ac_exeext'
26604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26605 (eval $ac_try) 2>&5
26606 ac_status=$?
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); }; }; then
26609 ac_cv_func_gethostbyname=yes
26610 else
26611 echo "$as_me: failed program was:" >&5
26612 sed 's/^/| /' conftest.$ac_ext >&5
26613
26614 ac_cv_func_gethostbyname=no
26615 fi
26616 rm -f conftest.err conftest.$ac_objext \
26617 conftest$ac_exeext conftest.$ac_ext
26618 fi
26619 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26620 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26621
26622 if test $ac_cv_func_gethostbyname = no; then
26623 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26624 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26625 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26626 echo $ECHO_N "(cached) $ECHO_C" >&6
26627 else
26628 ac_check_lib_save_LIBS=$LIBS
26629 LIBS="-lnsl $LIBS"
26630 cat >conftest.$ac_ext <<_ACEOF
26631 /* confdefs.h. */
26632 _ACEOF
26633 cat confdefs.h >>conftest.$ac_ext
26634 cat >>conftest.$ac_ext <<_ACEOF
26635 /* end confdefs.h. */
26636
26637 /* Override any gcc2 internal prototype to avoid an error. */
26638 #ifdef __cplusplus
26639 extern "C"
26640 #endif
26641 /* We use char because int might match the return type of a gcc2
26642 builtin and then its argument prototype would still apply. */
26643 char gethostbyname ();
26644 int
26645 main ()
26646 {
26647 gethostbyname ();
26648 ;
26649 return 0;
26650 }
26651 _ACEOF
26652 rm -f conftest.$ac_objext conftest$ac_exeext
26653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26654 (eval $ac_link) 2>conftest.er1
26655 ac_status=$?
26656 grep -v '^ *+' conftest.er1 >conftest.err
26657 rm -f conftest.er1
26658 cat conftest.err >&5
26659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26660 (exit $ac_status); } &&
26661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26663 (eval $ac_try) 2>&5
26664 ac_status=$?
26665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26666 (exit $ac_status); }; } &&
26667 { ac_try='test -s conftest$ac_exeext'
26668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26669 (eval $ac_try) 2>&5
26670 ac_status=$?
26671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672 (exit $ac_status); }; }; then
26673 ac_cv_lib_nsl_gethostbyname=yes
26674 else
26675 echo "$as_me: failed program was:" >&5
26676 sed 's/^/| /' conftest.$ac_ext >&5
26677
26678 ac_cv_lib_nsl_gethostbyname=no
26679 fi
26680 rm -f conftest.err conftest.$ac_objext \
26681 conftest$ac_exeext conftest.$ac_ext
26682 LIBS=$ac_check_lib_save_LIBS
26683 fi
26684 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26685 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26686 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26687 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26688 fi
26689
26690 if test $ac_cv_lib_nsl_gethostbyname = no; then
26691 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26692 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26693 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26694 echo $ECHO_N "(cached) $ECHO_C" >&6
26695 else
26696 ac_check_lib_save_LIBS=$LIBS
26697 LIBS="-lbsd $LIBS"
26698 cat >conftest.$ac_ext <<_ACEOF
26699 /* confdefs.h. */
26700 _ACEOF
26701 cat confdefs.h >>conftest.$ac_ext
26702 cat >>conftest.$ac_ext <<_ACEOF
26703 /* end confdefs.h. */
26704
26705 /* Override any gcc2 internal prototype to avoid an error. */
26706 #ifdef __cplusplus
26707 extern "C"
26708 #endif
26709 /* We use char because int might match the return type of a gcc2
26710 builtin and then its argument prototype would still apply. */
26711 char gethostbyname ();
26712 int
26713 main ()
26714 {
26715 gethostbyname ();
26716 ;
26717 return 0;
26718 }
26719 _ACEOF
26720 rm -f conftest.$ac_objext conftest$ac_exeext
26721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26722 (eval $ac_link) 2>conftest.er1
26723 ac_status=$?
26724 grep -v '^ *+' conftest.er1 >conftest.err
26725 rm -f conftest.er1
26726 cat conftest.err >&5
26727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 (exit $ac_status); } &&
26729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26731 (eval $ac_try) 2>&5
26732 ac_status=$?
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); }; } &&
26735 { ac_try='test -s conftest$ac_exeext'
26736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737 (eval $ac_try) 2>&5
26738 ac_status=$?
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); }; }; then
26741 ac_cv_lib_bsd_gethostbyname=yes
26742 else
26743 echo "$as_me: failed program was:" >&5
26744 sed 's/^/| /' conftest.$ac_ext >&5
26745
26746 ac_cv_lib_bsd_gethostbyname=no
26747 fi
26748 rm -f conftest.err conftest.$ac_objext \
26749 conftest$ac_exeext conftest.$ac_ext
26750 LIBS=$ac_check_lib_save_LIBS
26751 fi
26752 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26753 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26754 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26755 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26756 fi
26757
26758 fi
26759 fi
26760
26761 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26762 # socket/setsockopt and other routines are undefined under SCO ODT
26763 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26764 # on later versions), says Simon Leinen: it contains gethostby*
26765 # variants that don't use the name server (or something). -lsocket
26766 # must be given before -lnsl if both are needed. We assume that
26767 # if connect needs -lnsl, so does gethostbyname.
26768 echo "$as_me:$LINENO: checking for connect" >&5
26769 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26770 if test "${ac_cv_func_connect+set}" = set; then
26771 echo $ECHO_N "(cached) $ECHO_C" >&6
26772 else
26773 cat >conftest.$ac_ext <<_ACEOF
26774 /* confdefs.h. */
26775 _ACEOF
26776 cat confdefs.h >>conftest.$ac_ext
26777 cat >>conftest.$ac_ext <<_ACEOF
26778 /* end confdefs.h. */
26779 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26781 #define connect innocuous_connect
26782
26783 /* System header to define __stub macros and hopefully few prototypes,
26784 which can conflict with char connect (); below.
26785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26786 <limits.h> exists even on freestanding compilers. */
26787
26788 #ifdef __STDC__
26789 # include <limits.h>
26790 #else
26791 # include <assert.h>
26792 #endif
26793
26794 #undef connect
26795
26796 /* Override any gcc2 internal prototype to avoid an error. */
26797 #ifdef __cplusplus
26798 extern "C"
26799 {
26800 #endif
26801 /* We use char because int might match the return type of a gcc2
26802 builtin and then its argument prototype would still apply. */
26803 char connect ();
26804 /* The GNU C library defines this for functions which it implements
26805 to always fail with ENOSYS. Some functions are actually named
26806 something starting with __ and the normal name is an alias. */
26807 #if defined (__stub_connect) || defined (__stub___connect)
26808 choke me
26809 #else
26810 char (*f) () = connect;
26811 #endif
26812 #ifdef __cplusplus
26813 }
26814 #endif
26815
26816 int
26817 main ()
26818 {
26819 return f != connect;
26820 ;
26821 return 0;
26822 }
26823 _ACEOF
26824 rm -f conftest.$ac_objext conftest$ac_exeext
26825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26826 (eval $ac_link) 2>conftest.er1
26827 ac_status=$?
26828 grep -v '^ *+' conftest.er1 >conftest.err
26829 rm -f conftest.er1
26830 cat conftest.err >&5
26831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26832 (exit $ac_status); } &&
26833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26835 (eval $ac_try) 2>&5
26836 ac_status=$?
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); }; } &&
26839 { ac_try='test -s conftest$ac_exeext'
26840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26841 (eval $ac_try) 2>&5
26842 ac_status=$?
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); }; }; then
26845 ac_cv_func_connect=yes
26846 else
26847 echo "$as_me: failed program was:" >&5
26848 sed 's/^/| /' conftest.$ac_ext >&5
26849
26850 ac_cv_func_connect=no
26851 fi
26852 rm -f conftest.err conftest.$ac_objext \
26853 conftest$ac_exeext conftest.$ac_ext
26854 fi
26855 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26856 echo "${ECHO_T}$ac_cv_func_connect" >&6
26857
26858 if test $ac_cv_func_connect = no; then
26859 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26860 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26861 if test "${ac_cv_lib_socket_connect+set}" = set; then
26862 echo $ECHO_N "(cached) $ECHO_C" >&6
26863 else
26864 ac_check_lib_save_LIBS=$LIBS
26865 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26866 cat >conftest.$ac_ext <<_ACEOF
26867 /* confdefs.h. */
26868 _ACEOF
26869 cat confdefs.h >>conftest.$ac_ext
26870 cat >>conftest.$ac_ext <<_ACEOF
26871 /* end confdefs.h. */
26872
26873 /* Override any gcc2 internal prototype to avoid an error. */
26874 #ifdef __cplusplus
26875 extern "C"
26876 #endif
26877 /* We use char because int might match the return type of a gcc2
26878 builtin and then its argument prototype would still apply. */
26879 char connect ();
26880 int
26881 main ()
26882 {
26883 connect ();
26884 ;
26885 return 0;
26886 }
26887 _ACEOF
26888 rm -f conftest.$ac_objext conftest$ac_exeext
26889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26890 (eval $ac_link) 2>conftest.er1
26891 ac_status=$?
26892 grep -v '^ *+' conftest.er1 >conftest.err
26893 rm -f conftest.er1
26894 cat conftest.err >&5
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); } &&
26897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26899 (eval $ac_try) 2>&5
26900 ac_status=$?
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); }; } &&
26903 { ac_try='test -s conftest$ac_exeext'
26904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26905 (eval $ac_try) 2>&5
26906 ac_status=$?
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); }; }; then
26909 ac_cv_lib_socket_connect=yes
26910 else
26911 echo "$as_me: failed program was:" >&5
26912 sed 's/^/| /' conftest.$ac_ext >&5
26913
26914 ac_cv_lib_socket_connect=no
26915 fi
26916 rm -f conftest.err conftest.$ac_objext \
26917 conftest$ac_exeext conftest.$ac_ext
26918 LIBS=$ac_check_lib_save_LIBS
26919 fi
26920 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26921 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26922 if test $ac_cv_lib_socket_connect = yes; then
26923 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26924 fi
26925
26926 fi
26927
26928 # Guillermo Gomez says -lposix is necessary on A/UX.
26929 echo "$as_me:$LINENO: checking for remove" >&5
26930 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26931 if test "${ac_cv_func_remove+set}" = set; then
26932 echo $ECHO_N "(cached) $ECHO_C" >&6
26933 else
26934 cat >conftest.$ac_ext <<_ACEOF
26935 /* confdefs.h. */
26936 _ACEOF
26937 cat confdefs.h >>conftest.$ac_ext
26938 cat >>conftest.$ac_ext <<_ACEOF
26939 /* end confdefs.h. */
26940 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26942 #define remove innocuous_remove
26943
26944 /* System header to define __stub macros and hopefully few prototypes,
26945 which can conflict with char remove (); below.
26946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26947 <limits.h> exists even on freestanding compilers. */
26948
26949 #ifdef __STDC__
26950 # include <limits.h>
26951 #else
26952 # include <assert.h>
26953 #endif
26954
26955 #undef remove
26956
26957 /* Override any gcc2 internal prototype to avoid an error. */
26958 #ifdef __cplusplus
26959 extern "C"
26960 {
26961 #endif
26962 /* We use char because int might match the return type of a gcc2
26963 builtin and then its argument prototype would still apply. */
26964 char remove ();
26965 /* The GNU C library defines this for functions which it implements
26966 to always fail with ENOSYS. Some functions are actually named
26967 something starting with __ and the normal name is an alias. */
26968 #if defined (__stub_remove) || defined (__stub___remove)
26969 choke me
26970 #else
26971 char (*f) () = remove;
26972 #endif
26973 #ifdef __cplusplus
26974 }
26975 #endif
26976
26977 int
26978 main ()
26979 {
26980 return f != remove;
26981 ;
26982 return 0;
26983 }
26984 _ACEOF
26985 rm -f conftest.$ac_objext conftest$ac_exeext
26986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26987 (eval $ac_link) 2>conftest.er1
26988 ac_status=$?
26989 grep -v '^ *+' conftest.er1 >conftest.err
26990 rm -f conftest.er1
26991 cat conftest.err >&5
26992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26993 (exit $ac_status); } &&
26994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26996 (eval $ac_try) 2>&5
26997 ac_status=$?
26998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26999 (exit $ac_status); }; } &&
27000 { ac_try='test -s conftest$ac_exeext'
27001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27002 (eval $ac_try) 2>&5
27003 ac_status=$?
27004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005 (exit $ac_status); }; }; then
27006 ac_cv_func_remove=yes
27007 else
27008 echo "$as_me: failed program was:" >&5
27009 sed 's/^/| /' conftest.$ac_ext >&5
27010
27011 ac_cv_func_remove=no
27012 fi
27013 rm -f conftest.err conftest.$ac_objext \
27014 conftest$ac_exeext conftest.$ac_ext
27015 fi
27016 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27017 echo "${ECHO_T}$ac_cv_func_remove" >&6
27018
27019 if test $ac_cv_func_remove = no; then
27020 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27021 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27022 if test "${ac_cv_lib_posix_remove+set}" = set; then
27023 echo $ECHO_N "(cached) $ECHO_C" >&6
27024 else
27025 ac_check_lib_save_LIBS=$LIBS
27026 LIBS="-lposix $LIBS"
27027 cat >conftest.$ac_ext <<_ACEOF
27028 /* confdefs.h. */
27029 _ACEOF
27030 cat confdefs.h >>conftest.$ac_ext
27031 cat >>conftest.$ac_ext <<_ACEOF
27032 /* end confdefs.h. */
27033
27034 /* Override any gcc2 internal prototype to avoid an error. */
27035 #ifdef __cplusplus
27036 extern "C"
27037 #endif
27038 /* We use char because int might match the return type of a gcc2
27039 builtin and then its argument prototype would still apply. */
27040 char remove ();
27041 int
27042 main ()
27043 {
27044 remove ();
27045 ;
27046 return 0;
27047 }
27048 _ACEOF
27049 rm -f conftest.$ac_objext conftest$ac_exeext
27050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27051 (eval $ac_link) 2>conftest.er1
27052 ac_status=$?
27053 grep -v '^ *+' conftest.er1 >conftest.err
27054 rm -f conftest.er1
27055 cat conftest.err >&5
27056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057 (exit $ac_status); } &&
27058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27060 (eval $ac_try) 2>&5
27061 ac_status=$?
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); }; } &&
27064 { ac_try='test -s conftest$ac_exeext'
27065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27066 (eval $ac_try) 2>&5
27067 ac_status=$?
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); }; }; then
27070 ac_cv_lib_posix_remove=yes
27071 else
27072 echo "$as_me: failed program was:" >&5
27073 sed 's/^/| /' conftest.$ac_ext >&5
27074
27075 ac_cv_lib_posix_remove=no
27076 fi
27077 rm -f conftest.err conftest.$ac_objext \
27078 conftest$ac_exeext conftest.$ac_ext
27079 LIBS=$ac_check_lib_save_LIBS
27080 fi
27081 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27082 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27083 if test $ac_cv_lib_posix_remove = yes; then
27084 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
27085 fi
27086
27087 fi
27088
27089 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27090 echo "$as_me:$LINENO: checking for shmat" >&5
27091 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27092 if test "${ac_cv_func_shmat+set}" = set; then
27093 echo $ECHO_N "(cached) $ECHO_C" >&6
27094 else
27095 cat >conftest.$ac_ext <<_ACEOF
27096 /* confdefs.h. */
27097 _ACEOF
27098 cat confdefs.h >>conftest.$ac_ext
27099 cat >>conftest.$ac_ext <<_ACEOF
27100 /* end confdefs.h. */
27101 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27103 #define shmat innocuous_shmat
27104
27105 /* System header to define __stub macros and hopefully few prototypes,
27106 which can conflict with char shmat (); below.
27107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27108 <limits.h> exists even on freestanding compilers. */
27109
27110 #ifdef __STDC__
27111 # include <limits.h>
27112 #else
27113 # include <assert.h>
27114 #endif
27115
27116 #undef shmat
27117
27118 /* Override any gcc2 internal prototype to avoid an error. */
27119 #ifdef __cplusplus
27120 extern "C"
27121 {
27122 #endif
27123 /* We use char because int might match the return type of a gcc2
27124 builtin and then its argument prototype would still apply. */
27125 char shmat ();
27126 /* The GNU C library defines this for functions which it implements
27127 to always fail with ENOSYS. Some functions are actually named
27128 something starting with __ and the normal name is an alias. */
27129 #if defined (__stub_shmat) || defined (__stub___shmat)
27130 choke me
27131 #else
27132 char (*f) () = shmat;
27133 #endif
27134 #ifdef __cplusplus
27135 }
27136 #endif
27137
27138 int
27139 main ()
27140 {
27141 return f != shmat;
27142 ;
27143 return 0;
27144 }
27145 _ACEOF
27146 rm -f conftest.$ac_objext conftest$ac_exeext
27147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27148 (eval $ac_link) 2>conftest.er1
27149 ac_status=$?
27150 grep -v '^ *+' conftest.er1 >conftest.err
27151 rm -f conftest.er1
27152 cat conftest.err >&5
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); } &&
27155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27157 (eval $ac_try) 2>&5
27158 ac_status=$?
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); }; } &&
27161 { ac_try='test -s conftest$ac_exeext'
27162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27163 (eval $ac_try) 2>&5
27164 ac_status=$?
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); }; }; then
27167 ac_cv_func_shmat=yes
27168 else
27169 echo "$as_me: failed program was:" >&5
27170 sed 's/^/| /' conftest.$ac_ext >&5
27171
27172 ac_cv_func_shmat=no
27173 fi
27174 rm -f conftest.err conftest.$ac_objext \
27175 conftest$ac_exeext conftest.$ac_ext
27176 fi
27177 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27178 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27179
27180 if test $ac_cv_func_shmat = no; then
27181 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27182 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27183 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27184 echo $ECHO_N "(cached) $ECHO_C" >&6
27185 else
27186 ac_check_lib_save_LIBS=$LIBS
27187 LIBS="-lipc $LIBS"
27188 cat >conftest.$ac_ext <<_ACEOF
27189 /* confdefs.h. */
27190 _ACEOF
27191 cat confdefs.h >>conftest.$ac_ext
27192 cat >>conftest.$ac_ext <<_ACEOF
27193 /* end confdefs.h. */
27194
27195 /* Override any gcc2 internal prototype to avoid an error. */
27196 #ifdef __cplusplus
27197 extern "C"
27198 #endif
27199 /* We use char because int might match the return type of a gcc2
27200 builtin and then its argument prototype would still apply. */
27201 char shmat ();
27202 int
27203 main ()
27204 {
27205 shmat ();
27206 ;
27207 return 0;
27208 }
27209 _ACEOF
27210 rm -f conftest.$ac_objext conftest$ac_exeext
27211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27212 (eval $ac_link) 2>conftest.er1
27213 ac_status=$?
27214 grep -v '^ *+' conftest.er1 >conftest.err
27215 rm -f conftest.er1
27216 cat conftest.err >&5
27217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27218 (exit $ac_status); } &&
27219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27221 (eval $ac_try) 2>&5
27222 ac_status=$?
27223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27224 (exit $ac_status); }; } &&
27225 { ac_try='test -s conftest$ac_exeext'
27226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27227 (eval $ac_try) 2>&5
27228 ac_status=$?
27229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27230 (exit $ac_status); }; }; then
27231 ac_cv_lib_ipc_shmat=yes
27232 else
27233 echo "$as_me: failed program was:" >&5
27234 sed 's/^/| /' conftest.$ac_ext >&5
27235
27236 ac_cv_lib_ipc_shmat=no
27237 fi
27238 rm -f conftest.err conftest.$ac_objext \
27239 conftest$ac_exeext conftest.$ac_ext
27240 LIBS=$ac_check_lib_save_LIBS
27241 fi
27242 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27243 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27244 if test $ac_cv_lib_ipc_shmat = yes; then
27245 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27246 fi
27247
27248 fi
27249 fi
27250
27251 # Check for libraries that X11R6 Xt/Xaw programs need.
27252 ac_save_LDFLAGS=$LDFLAGS
27253 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27254 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27255 # check for ICE first), but we must link in the order -lSM -lICE or
27256 # we get undefined symbols. So assume we have SM if we have ICE.
27257 # These have to be linked with before -lX11, unlike the other
27258 # libraries we check for below, so use a different variable.
27259 # John Interrante, Karl Berry
27260 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27261 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27262 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6
27264 else
27265 ac_check_lib_save_LIBS=$LIBS
27266 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27267 cat >conftest.$ac_ext <<_ACEOF
27268 /* confdefs.h. */
27269 _ACEOF
27270 cat confdefs.h >>conftest.$ac_ext
27271 cat >>conftest.$ac_ext <<_ACEOF
27272 /* end confdefs.h. */
27273
27274 /* Override any gcc2 internal prototype to avoid an error. */
27275 #ifdef __cplusplus
27276 extern "C"
27277 #endif
27278 /* We use char because int might match the return type of a gcc2
27279 builtin and then its argument prototype would still apply. */
27280 char IceConnectionNumber ();
27281 int
27282 main ()
27283 {
27284 IceConnectionNumber ();
27285 ;
27286 return 0;
27287 }
27288 _ACEOF
27289 rm -f conftest.$ac_objext conftest$ac_exeext
27290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27291 (eval $ac_link) 2>conftest.er1
27292 ac_status=$?
27293 grep -v '^ *+' conftest.er1 >conftest.err
27294 rm -f conftest.er1
27295 cat conftest.err >&5
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); } &&
27298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27300 (eval $ac_try) 2>&5
27301 ac_status=$?
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); }; } &&
27304 { ac_try='test -s conftest$ac_exeext'
27305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27306 (eval $ac_try) 2>&5
27307 ac_status=$?
27308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27309 (exit $ac_status); }; }; then
27310 ac_cv_lib_ICE_IceConnectionNumber=yes
27311 else
27312 echo "$as_me: failed program was:" >&5
27313 sed 's/^/| /' conftest.$ac_ext >&5
27314
27315 ac_cv_lib_ICE_IceConnectionNumber=no
27316 fi
27317 rm -f conftest.err conftest.$ac_objext \
27318 conftest$ac_exeext conftest.$ac_ext
27319 LIBS=$ac_check_lib_save_LIBS
27320 fi
27321 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27322 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27323 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27324 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27325 fi
27326
27327 LDFLAGS=$ac_save_LDFLAGS
27328
27329 fi
27330
27331
27332 if test "$no_x" = "yes"; then
27333 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27334 echo "$as_me: error: X11 not found" >&2;}
27335 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
27336 fi
27337
27338 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27339 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
27340 AFMINSTALL=afminstall
27341 COMPILED_X_PROGRAM=0
27342
27343 fi
27344
27345 if test "$wxUSE_X11" = 1; then
27346 if test "$wxUSE_NANOX" = "yes"; then
27347 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27348 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27349 if test "x$MICROWIN" = x ; then
27350 echo "$as_me:$LINENO: result: not found" >&5
27351 echo "${ECHO_T}not found" >&6
27352 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27353 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27354 { (exit 1); exit 1; }; }
27355 else
27356 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27357 echo "${ECHO_T}$MICROWIN" >&6
27358 cat >>confdefs.h <<\_ACEOF
27359 #define wxUSE_NANOX 1
27360 _ACEOF
27361
27362 fi
27363 fi
27364
27365 if test "$wxUSE_UNICODE" = "yes"; then
27366
27367 succeeded=no
27368
27369 if test -z "$PKG_CONFIG"; then
27370 # Extract the first word of "pkg-config", so it can be a program name with args.
27371 set dummy pkg-config; ac_word=$2
27372 echo "$as_me:$LINENO: checking for $ac_word" >&5
27373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27374 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27375 echo $ECHO_N "(cached) $ECHO_C" >&6
27376 else
27377 case $PKG_CONFIG in
27378 [\\/]* | ?:[\\/]*)
27379 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27380 ;;
27381 *)
27382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27383 for as_dir in $PATH
27384 do
27385 IFS=$as_save_IFS
27386 test -z "$as_dir" && as_dir=.
27387 for ac_exec_ext in '' $ac_executable_extensions; do
27388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27389 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27391 break 2
27392 fi
27393 done
27394 done
27395
27396 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27397 ;;
27398 esac
27399 fi
27400 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27401
27402 if test -n "$PKG_CONFIG"; then
27403 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27404 echo "${ECHO_T}$PKG_CONFIG" >&6
27405 else
27406 echo "$as_me:$LINENO: result: no" >&5
27407 echo "${ECHO_T}no" >&6
27408 fi
27409
27410 fi
27411
27412 if test "$PKG_CONFIG" = "no" ; then
27413 echo "*** The pkg-config script could not be found. Make sure it is"
27414 echo "*** in your path, or set the PKG_CONFIG environment variable"
27415 echo "*** to the full path to pkg-config."
27416 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27417 else
27418 PKG_CONFIG_MIN_VERSION=0.9.0
27419 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27420 echo "$as_me:$LINENO: checking for pangox" >&5
27421 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27422
27423 if $PKG_CONFIG --exists "pangox" ; then
27424 echo "$as_me:$LINENO: result: yes" >&5
27425 echo "${ECHO_T}yes" >&6
27426 succeeded=yes
27427
27428 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27429 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27430 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
27431 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27432 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27433
27434 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27435 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27436 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
27437 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27438 echo "${ECHO_T}$PANGOX_LIBS" >&6
27439 else
27440 PANGOX_CFLAGS=""
27441 PANGOX_LIBS=""
27442 ## If we have a custom action on failure, don't print errors, but
27443 ## do set a variable so people can do so.
27444 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27445
27446 fi
27447
27448
27449
27450 else
27451 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27452 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27453 fi
27454 fi
27455
27456 if test $succeeded = yes; then
27457
27458 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
27459 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
27460
27461 else
27462
27463 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27464 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27465 { (exit 1); exit 1; }; }
27466
27467
27468 fi
27469
27470
27471 succeeded=no
27472
27473 if test -z "$PKG_CONFIG"; then
27474 # Extract the first word of "pkg-config", so it can be a program name with args.
27475 set dummy pkg-config; ac_word=$2
27476 echo "$as_me:$LINENO: checking for $ac_word" >&5
27477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27478 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27479 echo $ECHO_N "(cached) $ECHO_C" >&6
27480 else
27481 case $PKG_CONFIG in
27482 [\\/]* | ?:[\\/]*)
27483 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27484 ;;
27485 *)
27486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27487 for as_dir in $PATH
27488 do
27489 IFS=$as_save_IFS
27490 test -z "$as_dir" && as_dir=.
27491 for ac_exec_ext in '' $ac_executable_extensions; do
27492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27493 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27495 break 2
27496 fi
27497 done
27498 done
27499
27500 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27501 ;;
27502 esac
27503 fi
27504 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27505
27506 if test -n "$PKG_CONFIG"; then
27507 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27508 echo "${ECHO_T}$PKG_CONFIG" >&6
27509 else
27510 echo "$as_me:$LINENO: result: no" >&5
27511 echo "${ECHO_T}no" >&6
27512 fi
27513
27514 fi
27515
27516 if test "$PKG_CONFIG" = "no" ; then
27517 echo "*** The pkg-config script could not be found. Make sure it is"
27518 echo "*** in your path, or set the PKG_CONFIG environment variable"
27519 echo "*** to the full path to pkg-config."
27520 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27521 else
27522 PKG_CONFIG_MIN_VERSION=0.9.0
27523 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27524 echo "$as_me:$LINENO: checking for pangoft2" >&5
27525 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27526
27527 if $PKG_CONFIG --exists "pangoft2" ; then
27528 echo "$as_me:$LINENO: result: yes" >&5
27529 echo "${ECHO_T}yes" >&6
27530 succeeded=yes
27531
27532 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27533 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27534 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
27535 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27536 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27537
27538 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27539 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27540 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
27541 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27542 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27543 else
27544 PANGOFT2_CFLAGS=""
27545 PANGOFT2_LIBS=""
27546 ## If we have a custom action on failure, don't print errors, but
27547 ## do set a variable so people can do so.
27548 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27549
27550 fi
27551
27552
27553
27554 else
27555 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27556 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27557 fi
27558 fi
27559
27560 if test $succeeded = yes; then
27561
27562 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
27563 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27564
27565 else
27566
27567 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27568 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27569 wxUSE_PRINTING_ARCHITECTURE="no"
27570
27571
27572 fi
27573
27574
27575 succeeded=no
27576
27577 if test -z "$PKG_CONFIG"; then
27578 # Extract the first word of "pkg-config", so it can be a program name with args.
27579 set dummy pkg-config; ac_word=$2
27580 echo "$as_me:$LINENO: checking for $ac_word" >&5
27581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27582 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27583 echo $ECHO_N "(cached) $ECHO_C" >&6
27584 else
27585 case $PKG_CONFIG in
27586 [\\/]* | ?:[\\/]*)
27587 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27588 ;;
27589 *)
27590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27591 for as_dir in $PATH
27592 do
27593 IFS=$as_save_IFS
27594 test -z "$as_dir" && as_dir=.
27595 for ac_exec_ext in '' $ac_executable_extensions; do
27596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27597 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27599 break 2
27600 fi
27601 done
27602 done
27603
27604 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27605 ;;
27606 esac
27607 fi
27608 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27609
27610 if test -n "$PKG_CONFIG"; then
27611 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27612 echo "${ECHO_T}$PKG_CONFIG" >&6
27613 else
27614 echo "$as_me:$LINENO: result: no" >&5
27615 echo "${ECHO_T}no" >&6
27616 fi
27617
27618 fi
27619
27620 if test "$PKG_CONFIG" = "no" ; then
27621 echo "*** The pkg-config script could not be found. Make sure it is"
27622 echo "*** in your path, or set the PKG_CONFIG environment variable"
27623 echo "*** to the full path to pkg-config."
27624 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27625 else
27626 PKG_CONFIG_MIN_VERSION=0.9.0
27627 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27628 echo "$as_me:$LINENO: checking for pangoxft" >&5
27629 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27630
27631 if $PKG_CONFIG --exists "pangoxft" ; then
27632 echo "$as_me:$LINENO: result: yes" >&5
27633 echo "${ECHO_T}yes" >&6
27634 succeeded=yes
27635
27636 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27637 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27638 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
27639 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27640 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27641
27642 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27643 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27644 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
27645 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27646 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27647 else
27648 PANGOXFT_CFLAGS=""
27649 PANGOXFT_LIBS=""
27650 ## If we have a custom action on failure, don't print errors, but
27651 ## do set a variable so people can do so.
27652 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27653
27654 fi
27655
27656
27657
27658 else
27659 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27660 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27661 fi
27662 fi
27663
27664 if test $succeeded = yes; then
27665
27666 cat >>confdefs.h <<\_ACEOF
27667 #define HAVE_PANGO_XFT 1
27668 _ACEOF
27669
27670 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
27671 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27672
27673 else
27674
27675 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27676 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27677
27678
27679 fi
27680
27681 save_CFLAGS="$CFLAGS"
27682 save_LIBS="$LIBS"
27683 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
27684 LIBS="$LIBS $PANGOX_LIBS"
27685
27686 for ac_func in pango_font_family_is_monospace
27687 do
27688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27689 echo "$as_me:$LINENO: checking for $ac_func" >&5
27690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27691 if eval "test \"\${$as_ac_var+set}\" = set"; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27693 else
27694 cat >conftest.$ac_ext <<_ACEOF
27695 /* confdefs.h. */
27696 _ACEOF
27697 cat confdefs.h >>conftest.$ac_ext
27698 cat >>conftest.$ac_ext <<_ACEOF
27699 /* end confdefs.h. */
27700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27702 #define $ac_func innocuous_$ac_func
27703
27704 /* System header to define __stub macros and hopefully few prototypes,
27705 which can conflict with char $ac_func (); below.
27706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27707 <limits.h> exists even on freestanding compilers. */
27708
27709 #ifdef __STDC__
27710 # include <limits.h>
27711 #else
27712 # include <assert.h>
27713 #endif
27714
27715 #undef $ac_func
27716
27717 /* Override any gcc2 internal prototype to avoid an error. */
27718 #ifdef __cplusplus
27719 extern "C"
27720 {
27721 #endif
27722 /* We use char because int might match the return type of a gcc2
27723 builtin and then its argument prototype would still apply. */
27724 char $ac_func ();
27725 /* The GNU C library defines this for functions which it implements
27726 to always fail with ENOSYS. Some functions are actually named
27727 something starting with __ and the normal name is an alias. */
27728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27729 choke me
27730 #else
27731 char (*f) () = $ac_func;
27732 #endif
27733 #ifdef __cplusplus
27734 }
27735 #endif
27736
27737 int
27738 main ()
27739 {
27740 return f != $ac_func;
27741 ;
27742 return 0;
27743 }
27744 _ACEOF
27745 rm -f conftest.$ac_objext conftest$ac_exeext
27746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27747 (eval $ac_link) 2>conftest.er1
27748 ac_status=$?
27749 grep -v '^ *+' conftest.er1 >conftest.err
27750 rm -f conftest.er1
27751 cat conftest.err >&5
27752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27753 (exit $ac_status); } &&
27754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27756 (eval $ac_try) 2>&5
27757 ac_status=$?
27758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759 (exit $ac_status); }; } &&
27760 { ac_try='test -s conftest$ac_exeext'
27761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27762 (eval $ac_try) 2>&5
27763 ac_status=$?
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); }; }; then
27766 eval "$as_ac_var=yes"
27767 else
27768 echo "$as_me: failed program was:" >&5
27769 sed 's/^/| /' conftest.$ac_ext >&5
27770
27771 eval "$as_ac_var=no"
27772 fi
27773 rm -f conftest.err conftest.$ac_objext \
27774 conftest$ac_exeext conftest.$ac_ext
27775 fi
27776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27778 if test `eval echo '${'$as_ac_var'}'` = yes; then
27779 cat >>confdefs.h <<_ACEOF
27780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27781 _ACEOF
27782
27783 fi
27784 done
27785
27786 CFLAGS="$save_CFLAGS"
27787 LIBS="$save_LIBS"
27788 fi
27789
27790 wxUSE_UNIVERSAL="yes"
27791
27792 if test "$wxUSE_NANOX" = "yes"; then
27793 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27794 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"
27795 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27796 else
27797 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
27798 fi
27799
27800 TOOLKIT=X11
27801 GUIDIST=X11_DIST
27802 fi
27803
27804 if test "$wxUSE_MOTIF" = 1; then
27805 if test "$wxUSE_UNICODE" = "yes"; then
27806 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
27807 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
27808 { (exit 1); exit 1; }; }
27809 fi
27810
27811 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27812 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27813
27814 ac_find_includes=
27815 for ac_dir in $SEARCH_INCLUDE /usr/include;
27816 do
27817 if test -f "$ac_dir/Xm/Xm.h"; then
27818 ac_find_includes=$ac_dir
27819 break
27820 fi
27821 done
27822
27823 if test "$ac_find_includes" != "" ; then
27824 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27825 echo "${ECHO_T}found in $ac_find_includes" >&6
27826
27827 if test "x$ac_find_includes" = "x/usr/include"; then
27828 ac_path_to_include=""
27829 else
27830 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
27831 result=$?
27832 if test $result = 0; then
27833 ac_path_to_include=""
27834 else
27835 ac_path_to_include=" -I$ac_find_includes"
27836 fi
27837 fi
27838
27839 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
27840 else
27841 save_CFLAGS=$CFLAGS
27842 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27843
27844 cat >conftest.$ac_ext <<_ACEOF
27845 /* confdefs.h. */
27846 _ACEOF
27847 cat confdefs.h >>conftest.$ac_ext
27848 cat >>conftest.$ac_ext <<_ACEOF
27849 /* end confdefs.h. */
27850
27851 #include <Xm/Xm.h>
27852
27853 int
27854 main ()
27855 {
27856
27857 int version;
27858 version = xmUseVersion;
27859
27860 ;
27861 return 0;
27862 }
27863 _ACEOF
27864 rm -f conftest.$ac_objext
27865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27866 (eval $ac_compile) 2>conftest.er1
27867 ac_status=$?
27868 grep -v '^ *+' conftest.er1 >conftest.err
27869 rm -f conftest.er1
27870 cat conftest.err >&5
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); } &&
27873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27875 (eval $ac_try) 2>&5
27876 ac_status=$?
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); }; } &&
27879 { ac_try='test -s conftest.$ac_objext'
27880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27881 (eval $ac_try) 2>&5
27882 ac_status=$?
27883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884 (exit $ac_status); }; }; then
27885
27886 echo "$as_me:$LINENO: result: found in default search path" >&5
27887 echo "${ECHO_T}found in default search path" >&6
27888 COMPILED_X_PROGRAM=1
27889
27890 else
27891 echo "$as_me: failed program was:" >&5
27892 sed 's/^/| /' conftest.$ac_ext >&5
27893
27894
27895 echo "$as_me:$LINENO: result: no" >&5
27896 echo "${ECHO_T}no" >&6
27897 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
27898 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
27899 { (exit 1); exit 1; }; }
27900
27901
27902 fi
27903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27904
27905 CFLAGS=$save_CFLAGS
27906 fi
27907
27908 if test "$COMPILED_X_PROGRAM" = 0; then
27909 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27910 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27911
27912 ac_find_libraries=
27913 for ac_dir in $SEARCH_LIB /usr/lib;
27914 do
27915 for ac_extension in a so sl dylib dll.a; do
27916 if test -f "$ac_dir/libXm.$ac_extension"; then
27917 ac_find_libraries=$ac_dir
27918 break 2
27919 fi
27920 done
27921 done
27922
27923 if test "$ac_find_libraries" != "" ; then
27924 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27925 echo "${ECHO_T}found at $ac_find_libraries" >&6
27926
27927
27928 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27929 result=$?
27930 if test $result = 0; then
27931 ac_path_to_link=""
27932 else
27933 ac_path_to_link=" -L$ac_find_libraries"
27934 fi
27935
27936 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
27937 else
27938 save_CFLAGS=$CFLAGS
27939 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27940
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
27948 #include <Xm/Xm.h>
27949
27950 int
27951 main ()
27952 {
27953
27954 int version;
27955 version = xmUseVersion;
27956
27957 ;
27958 return 0;
27959 }
27960 _ACEOF
27961 rm -f conftest.$ac_objext
27962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27963 (eval $ac_compile) 2>conftest.er1
27964 ac_status=$?
27965 grep -v '^ *+' conftest.er1 >conftest.err
27966 rm -f conftest.er1
27967 cat conftest.err >&5
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); } &&
27970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27972 (eval $ac_try) 2>&5
27973 ac_status=$?
27974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27975 (exit $ac_status); }; } &&
27976 { ac_try='test -s conftest.$ac_objext'
27977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27978 (eval $ac_try) 2>&5
27979 ac_status=$?
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); }; }; then
27982
27983 echo "$as_me:$LINENO: result: found in default search path" >&5
27984 echo "${ECHO_T}found in default search path" >&6
27985 COMPILED_X_PROGRAM=1
27986
27987 else
27988 echo "$as_me: failed program was:" >&5
27989 sed 's/^/| /' conftest.$ac_ext >&5
27990
27991
27992 echo "$as_me:$LINENO: result: no" >&5
27993 echo "${ECHO_T}no" >&6
27994 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27995 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27996 { (exit 1); exit 1; }; }
27997
27998
27999 fi
28000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28001
28002 CFLAGS=$save_CFLAGS
28003 fi
28004 fi
28005
28006 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28007 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28008 libp_link=""
28009 libsm_ice_link=""
28010 libs_found=0
28011 for libp in "" " -lXp"; do
28012 if test "$libs_found" = "0"; then
28013 for libsm_ice in "" " -lSM -lICE"; do
28014 if test "$libs_found" = "0"; then
28015 save_LIBS="$LIBS"
28016 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28017 save_CFLAGS=$CFLAGS
28018 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28019
28020 cat >conftest.$ac_ext <<_ACEOF
28021 /* confdefs.h. */
28022 _ACEOF
28023 cat confdefs.h >>conftest.$ac_ext
28024 cat >>conftest.$ac_ext <<_ACEOF
28025 /* end confdefs.h. */
28026
28027 #include <Xm/Xm.h>
28028 #include <Xm/List.h>
28029
28030 int
28031 main ()
28032 {
28033
28034 XmString string = NULL;
28035 Widget w = NULL;
28036 int position = 0;
28037 XmListAddItem(w, string, position);
28038
28039 ;
28040 return 0;
28041 }
28042 _ACEOF
28043 rm -f conftest.$ac_objext conftest$ac_exeext
28044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28045 (eval $ac_link) 2>conftest.er1
28046 ac_status=$?
28047 grep -v '^ *+' conftest.er1 >conftest.err
28048 rm -f conftest.er1
28049 cat conftest.err >&5
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); } &&
28052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28054 (eval $ac_try) 2>&5
28055 ac_status=$?
28056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28057 (exit $ac_status); }; } &&
28058 { ac_try='test -s conftest$ac_exeext'
28059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28060 (eval $ac_try) 2>&5
28061 ac_status=$?
28062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28063 (exit $ac_status); }; }; then
28064
28065 libp_link="$libp"
28066 libsm_ice_link="$libsm_ice"
28067 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28068 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28069 libs_found=1
28070
28071 else
28072 echo "$as_me: failed program was:" >&5
28073 sed 's/^/| /' conftest.$ac_ext >&5
28074
28075
28076
28077 fi
28078 rm -f conftest.err conftest.$ac_objext \
28079 conftest$ac_exeext conftest.$ac_ext
28080
28081 LIBS="$save_LIBS"
28082 CFLAGS=$save_CFLAGS
28083 fi
28084 done
28085 fi
28086 done
28087
28088 if test "$libs_found" = "0"; then
28089 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28090 echo "${ECHO_T}can't find the right libraries" >&6
28091 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28092 echo "$as_me: error: can't link a simple motif program" >&2;}
28093 { (exit 1); exit 1; }; }
28094 fi
28095
28096 save_CFLAGS=$CFLAGS
28097 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28098 echo "$as_me:$LINENO: checking for Motif 2" >&5
28099 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28100 cat >conftest.$ac_ext <<_ACEOF
28101 /* confdefs.h. */
28102 _ACEOF
28103 cat confdefs.h >>conftest.$ac_ext
28104 cat >>conftest.$ac_ext <<_ACEOF
28105 /* end confdefs.h. */
28106
28107 #include <Xm/Xm.h>
28108
28109 int
28110 main ()
28111 {
28112
28113 #if XmVersion < 2000
28114 Not Motif 2
28115 #endif
28116
28117 ;
28118 return 0;
28119 }
28120 _ACEOF
28121 rm -f conftest.$ac_objext
28122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28123 (eval $ac_compile) 2>conftest.er1
28124 ac_status=$?
28125 grep -v '^ *+' conftest.er1 >conftest.err
28126 rm -f conftest.er1
28127 cat conftest.err >&5
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); } &&
28130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28132 (eval $ac_try) 2>&5
28133 ac_status=$?
28134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28135 (exit $ac_status); }; } &&
28136 { ac_try='test -s conftest.$ac_objext'
28137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28138 (eval $ac_try) 2>&5
28139 ac_status=$?
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); }; }; then
28142
28143 cat >>confdefs.h <<\_ACEOF
28144 #define __WXMOTIF20__ 1
28145 _ACEOF
28146
28147 echo "$as_me:$LINENO: result: found" >&5
28148 echo "${ECHO_T}found" >&6
28149
28150 else
28151 echo "$as_me: failed program was:" >&5
28152 sed 's/^/| /' conftest.$ac_ext >&5
28153
28154
28155 cat >>confdefs.h <<\_ACEOF
28156 #define __WXMOTIF20__ 0
28157 _ACEOF
28158
28159 echo "$as_me:$LINENO: result: not found" >&5
28160 echo "${ECHO_T}not found" >&6
28161
28162 fi
28163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28164
28165 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
28166 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
28167 cat >conftest.$ac_ext <<_ACEOF
28168 /* confdefs.h. */
28169 _ACEOF
28170 cat confdefs.h >>conftest.$ac_ext
28171 cat >>conftest.$ac_ext <<_ACEOF
28172 /* end confdefs.h. */
28173
28174 #include <Xm/Xm.h>
28175
28176 int
28177 main ()
28178 {
28179
28180 #if !defined(LesstifVersion) || LesstifVersion <= 0
28181 Not Lesstif
28182 #endif
28183
28184 ;
28185 return 0;
28186 }
28187 _ACEOF
28188 rm -f conftest.$ac_objext
28189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28190 (eval $ac_compile) 2>conftest.er1
28191 ac_status=$?
28192 grep -v '^ *+' conftest.er1 >conftest.err
28193 rm -f conftest.er1
28194 cat conftest.err >&5
28195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 (exit $ac_status); } &&
28197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28199 (eval $ac_try) 2>&5
28200 ac_status=$?
28201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 (exit $ac_status); }; } &&
28203 { ac_try='test -s conftest.$ac_objext'
28204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28205 (eval $ac_try) 2>&5
28206 ac_status=$?
28207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208 (exit $ac_status); }; }; then
28209
28210 cat >>confdefs.h <<\_ACEOF
28211 #define __WXLESSTIF__ 1
28212 _ACEOF
28213
28214 echo "$as_me:$LINENO: result: yes" >&5
28215 echo "${ECHO_T}yes" >&6
28216
28217 else
28218 echo "$as_me: failed program was:" >&5
28219 sed 's/^/| /' conftest.$ac_ext >&5
28220
28221
28222 cat >>confdefs.h <<\_ACEOF
28223 #define __WXLESSTIF__ 0
28224 _ACEOF
28225
28226 echo "$as_me:$LINENO: result: no" >&5
28227 echo "${ECHO_T}no" >&6
28228
28229 fi
28230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28231 CFLAGS=$save_CFLAGS
28232
28233 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28234 TOOLKIT=MOTIF
28235 GUIDIST=MOTIF_DIST
28236 fi
28237
28238 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28239 if test "$wxUSE_LIBXPM" = "sys"; then
28240 echo "$as_me:$LINENO: checking for Xpm library" >&5
28241 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28242
28243 ac_find_libraries=
28244 for ac_dir in $SEARCH_LIB /usr/lib;
28245 do
28246 for ac_extension in a so sl dylib dll.a; do
28247 if test -f "$ac_dir/libXpm.$ac_extension"; then
28248 ac_find_libraries=$ac_dir
28249 break 2
28250 fi
28251 done
28252 done
28253
28254 if test "$ac_find_libraries" != "" ; then
28255
28256 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28257 result=$?
28258 if test $result = 0; then
28259 ac_path_to_link=""
28260 else
28261 ac_path_to_link=" -L$ac_find_libraries"
28262 fi
28263
28264 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28265 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28266 echo "${ECHO_T}found at $ac_find_libraries" >&6
28267
28268 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28269 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28270 if test "${wx_cv_x11_xpm_h+set}" = set; then
28271 echo $ECHO_N "(cached) $ECHO_C" >&6
28272 else
28273
28274 save_CFLAGS=$CFLAGS
28275 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28276
28277 cat >conftest.$ac_ext <<_ACEOF
28278 /* confdefs.h. */
28279 _ACEOF
28280 cat confdefs.h >>conftest.$ac_ext
28281 cat >>conftest.$ac_ext <<_ACEOF
28282 /* end confdefs.h. */
28283
28284 #include <X11/xpm.h>
28285
28286 int
28287 main ()
28288 {
28289
28290 int version;
28291 version = XpmLibraryVersion();
28292
28293 ;
28294 return 0;
28295 }
28296 _ACEOF
28297 rm -f conftest.$ac_objext
28298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28299 (eval $ac_compile) 2>conftest.er1
28300 ac_status=$?
28301 grep -v '^ *+' conftest.er1 >conftest.err
28302 rm -f conftest.er1
28303 cat conftest.err >&5
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); } &&
28306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28308 (eval $ac_try) 2>&5
28309 ac_status=$?
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); }; } &&
28312 { ac_try='test -s conftest.$ac_objext'
28313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28314 (eval $ac_try) 2>&5
28315 ac_status=$?
28316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28317 (exit $ac_status); }; }; then
28318 wx_cv_x11_xpm_h=yes
28319 else
28320 echo "$as_me: failed program was:" >&5
28321 sed 's/^/| /' conftest.$ac_ext >&5
28322
28323 wx_cv_x11_xpm_h=no
28324
28325 fi
28326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28327
28328 CFLAGS=$save_CFLAGS
28329
28330
28331 fi
28332 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28333 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28334
28335 if test $wx_cv_x11_xpm_h = "yes"; then
28336 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
28337 cat >>confdefs.h <<\_ACEOF
28338 #define wxHAVE_LIB_XPM 1
28339 _ACEOF
28340
28341 else
28342 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28343 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28344 fi
28345 fi
28346
28347 fi
28348
28349 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28350 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28351 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28352 echo $ECHO_N "(cached) $ECHO_C" >&6
28353 else
28354 ac_check_lib_save_LIBS=$LIBS
28355 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28356 cat >conftest.$ac_ext <<_ACEOF
28357 /* confdefs.h. */
28358 _ACEOF
28359 cat confdefs.h >>conftest.$ac_ext
28360 cat >>conftest.$ac_ext <<_ACEOF
28361 /* end confdefs.h. */
28362
28363 /* Override any gcc2 internal prototype to avoid an error. */
28364 #ifdef __cplusplus
28365 extern "C"
28366 #endif
28367 /* We use char because int might match the return type of a gcc2
28368 builtin and then its argument prototype would still apply. */
28369 char XShapeQueryExtension ();
28370 int
28371 main ()
28372 {
28373 XShapeQueryExtension ();
28374 ;
28375 return 0;
28376 }
28377 _ACEOF
28378 rm -f conftest.$ac_objext conftest$ac_exeext
28379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28380 (eval $ac_link) 2>conftest.er1
28381 ac_status=$?
28382 grep -v '^ *+' conftest.er1 >conftest.err
28383 rm -f conftest.er1
28384 cat conftest.err >&5
28385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28386 (exit $ac_status); } &&
28387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28389 (eval $ac_try) 2>&5
28390 ac_status=$?
28391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392 (exit $ac_status); }; } &&
28393 { ac_try='test -s conftest$ac_exeext'
28394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28395 (eval $ac_try) 2>&5
28396 ac_status=$?
28397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398 (exit $ac_status); }; }; then
28399 ac_cv_lib_Xext_XShapeQueryExtension=yes
28400 else
28401 echo "$as_me: failed program was:" >&5
28402 sed 's/^/| /' conftest.$ac_ext >&5
28403
28404 ac_cv_lib_Xext_XShapeQueryExtension=no
28405 fi
28406 rm -f conftest.err conftest.$ac_objext \
28407 conftest$ac_exeext conftest.$ac_ext
28408 LIBS=$ac_check_lib_save_LIBS
28409 fi
28410 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28411 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28412 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28413
28414 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
28415 wxHAVE_XEXT_LIB=1
28416
28417 fi
28418
28419
28420 if test "$wxHAVE_XEXT_LIB" = 1; then
28421 save_CFLAGS="$CFLAGS"
28422 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28423
28424 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28425 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28426 cat >conftest.$ac_ext <<_ACEOF
28427 /* confdefs.h. */
28428 _ACEOF
28429 cat confdefs.h >>conftest.$ac_ext
28430 cat >>conftest.$ac_ext <<_ACEOF
28431 /* end confdefs.h. */
28432
28433 #include <X11/Xlib.h>
28434 #include <X11/extensions/shape.h>
28435
28436 int
28437 main ()
28438 {
28439
28440 int dummy1, dummy2;
28441 XShapeQueryExtension((Display*)NULL,
28442 (int*)NULL, (int*)NULL);
28443
28444 ;
28445 return 0;
28446 }
28447 _ACEOF
28448 rm -f conftest.$ac_objext
28449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28450 (eval $ac_compile) 2>conftest.er1
28451 ac_status=$?
28452 grep -v '^ *+' conftest.er1 >conftest.err
28453 rm -f conftest.er1
28454 cat conftest.err >&5
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); } &&
28457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28459 (eval $ac_try) 2>&5
28460 ac_status=$?
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); }; } &&
28463 { ac_try='test -s conftest.$ac_objext'
28464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28465 (eval $ac_try) 2>&5
28466 ac_status=$?
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 (exit $ac_status); }; }; then
28469
28470 cat >>confdefs.h <<\_ACEOF
28471 #define HAVE_XSHAPE 1
28472 _ACEOF
28473
28474 echo "$as_me:$LINENO: result: found" >&5
28475 echo "${ECHO_T}found" >&6
28476
28477 else
28478 echo "$as_me: failed program was:" >&5
28479 sed 's/^/| /' conftest.$ac_ext >&5
28480
28481
28482 echo "$as_me:$LINENO: result: not found" >&5
28483 echo "${ECHO_T}not found" >&6
28484
28485 fi
28486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28487 CFLAGS="$save_CFLAGS"
28488
28489 fi
28490 fi
28491
28492 if test "$wxUSE_MAC" = 1; then
28493 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28494 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28495 if test "$GCC" = yes; then
28496 echo "$as_me:$LINENO: result: gcc" >&5
28497 echo "${ECHO_T}gcc" >&6
28498 CPPFLAGS_PASCAL="-fpascal-strings"
28499 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28500 echo "$as_me:$LINENO: result: xlc" >&5
28501 echo "${ECHO_T}xlc" >&6
28502 CPPFLAGS_PASCAL="-qmacpstr"
28503 else
28504 echo "$as_me:$LINENO: result: none" >&5
28505 echo "${ECHO_T}none" >&6
28506 fi
28507
28508 if test "x$wxUSE_UNIX" = "xyes"; then
28509 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28510 else
28511 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28512 fi
28513
28514 TOOLKIT=MAC
28515 GUIDIST=MACX_DIST
28516 WXBASEPORT="_carbon"
28517 fi
28518
28519 if test "$wxUSE_COCOA" = 1; then
28520 TOOLKIT=COCOA
28521 GUIDIST=COCOA_DIST
28522 fi
28523
28524 if test "$wxUSE_PM" = 1; then
28525 TOOLKIT=PM
28526 GUIDIST=PM_DIST
28527 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28528 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28529 if test "${wx_cv_spbcdata+set}" = set; then
28530 echo $ECHO_N "(cached) $ECHO_C" >&6
28531 else
28532
28533 cat >conftest.$ac_ext <<_ACEOF
28534 /* confdefs.h. */
28535 _ACEOF
28536 cat confdefs.h >>conftest.$ac_ext
28537 cat >>conftest.$ac_ext <<_ACEOF
28538 /* end confdefs.h. */
28539
28540 #define INCL_PM
28541 #include <os2.h>
28542
28543 int
28544 main ()
28545 {
28546
28547 SPBCDATA test;
28548
28549 ;
28550 return 0;
28551 }
28552 _ACEOF
28553 rm -f conftest.$ac_objext
28554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28555 (eval $ac_compile) 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_objext'
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 wx_cv_spbcdata=yes
28575 else
28576 echo "$as_me: failed program was:" >&5
28577 sed 's/^/| /' conftest.$ac_ext >&5
28578
28579 wx_cv_spbcdata=no
28580
28581 fi
28582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28583
28584
28585 fi
28586 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28587 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28588
28589 if test $wx_cv_spbcdata = "yes"; then
28590 cat >>confdefs.h <<\_ACEOF
28591 #define HAVE_SPBCDATA 1
28592 _ACEOF
28593
28594 fi
28595 fi
28596
28597 if test "$TOOLKIT" = "PM" ; then
28598 TOOLKIT_DIR="os2"
28599 else
28600 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28601 fi
28602
28603 if test "$wxUSE_UNIVERSAL" = "yes"; then
28604 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28605 WIDGET_SET=univ
28606 fi
28607
28608 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28609 DISTDIR="wx\$(TOOLKIT)"
28610 else
28611 USE_GUI=0
28612
28613 TOOLKIT_DIR="base"
28614
28615 if test "$USE_WIN32" = 1 ; then
28616 TOOLKIT="MSW"
28617 fi
28618
28619 GUIDIST="BASE_DIST"
28620 DISTDIR="wxBase"
28621 fi
28622
28623
28624 if test "$wxUSE_GUI" = "yes"; then
28625 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
28626
28627 for ac_header in X11/Xlib.h
28628 do
28629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28631 echo "$as_me:$LINENO: checking for $ac_header" >&5
28632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28634 echo $ECHO_N "(cached) $ECHO_C" >&6
28635 fi
28636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28638 else
28639 # Is the header compilable?
28640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28642 cat >conftest.$ac_ext <<_ACEOF
28643 /* confdefs.h. */
28644 _ACEOF
28645 cat confdefs.h >>conftest.$ac_ext
28646 cat >>conftest.$ac_ext <<_ACEOF
28647 /* end confdefs.h. */
28648 $ac_includes_default
28649 #include <$ac_header>
28650 _ACEOF
28651 rm -f conftest.$ac_objext
28652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28653 (eval $ac_compile) 2>conftest.er1
28654 ac_status=$?
28655 grep -v '^ *+' conftest.er1 >conftest.err
28656 rm -f conftest.er1
28657 cat conftest.err >&5
28658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28659 (exit $ac_status); } &&
28660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28662 (eval $ac_try) 2>&5
28663 ac_status=$?
28664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28665 (exit $ac_status); }; } &&
28666 { ac_try='test -s conftest.$ac_objext'
28667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28668 (eval $ac_try) 2>&5
28669 ac_status=$?
28670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28671 (exit $ac_status); }; }; then
28672 ac_header_compiler=yes
28673 else
28674 echo "$as_me: failed program was:" >&5
28675 sed 's/^/| /' conftest.$ac_ext >&5
28676
28677 ac_header_compiler=no
28678 fi
28679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28681 echo "${ECHO_T}$ac_header_compiler" >&6
28682
28683 # Is the header present?
28684 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28686 cat >conftest.$ac_ext <<_ACEOF
28687 /* confdefs.h. */
28688 _ACEOF
28689 cat confdefs.h >>conftest.$ac_ext
28690 cat >>conftest.$ac_ext <<_ACEOF
28691 /* end confdefs.h. */
28692 #include <$ac_header>
28693 _ACEOF
28694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28696 ac_status=$?
28697 grep -v '^ *+' conftest.er1 >conftest.err
28698 rm -f conftest.er1
28699 cat conftest.err >&5
28700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28701 (exit $ac_status); } >/dev/null; then
28702 if test -s conftest.err; then
28703 ac_cpp_err=$ac_c_preproc_warn_flag
28704 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28705 else
28706 ac_cpp_err=
28707 fi
28708 else
28709 ac_cpp_err=yes
28710 fi
28711 if test -z "$ac_cpp_err"; then
28712 ac_header_preproc=yes
28713 else
28714 echo "$as_me: failed program was:" >&5
28715 sed 's/^/| /' conftest.$ac_ext >&5
28716
28717 ac_header_preproc=no
28718 fi
28719 rm -f conftest.err conftest.$ac_ext
28720 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28721 echo "${ECHO_T}$ac_header_preproc" >&6
28722
28723 # So? What about this header?
28724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28725 yes:no: )
28726 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28729 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28730 ac_header_preproc=yes
28731 ;;
28732 no:yes:* )
28733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28737 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28738 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28739 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28740 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28743 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28744 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28745 (
28746 cat <<\_ASBOX
28747 ## ----------------------------------------- ##
28748 ## Report this to wx-dev@lists.wxwidgets.org ##
28749 ## ----------------------------------------- ##
28750 _ASBOX
28751 ) |
28752 sed "s/^/$as_me: WARNING: /" >&2
28753 ;;
28754 esac
28755 echo "$as_me:$LINENO: checking for $ac_header" >&5
28756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28758 echo $ECHO_N "(cached) $ECHO_C" >&6
28759 else
28760 eval "$as_ac_Header=\$ac_header_preproc"
28761 fi
28762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28764
28765 fi
28766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28767 cat >>confdefs.h <<_ACEOF
28768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28769 _ACEOF
28770
28771 fi
28772
28773 done
28774
28775
28776 for ac_header in X11/XKBlib.h
28777 do
28778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28779 echo "$as_me:$LINENO: checking for $ac_header" >&5
28780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28782 echo $ECHO_N "(cached) $ECHO_C" >&6
28783 else
28784 cat >conftest.$ac_ext <<_ACEOF
28785 /* confdefs.h. */
28786 _ACEOF
28787 cat confdefs.h >>conftest.$ac_ext
28788 cat >>conftest.$ac_ext <<_ACEOF
28789 /* end confdefs.h. */
28790
28791 #if HAVE_X11_XLIB_H
28792 #include <X11/Xlib.h>
28793 #endif
28794
28795
28796 #include <$ac_header>
28797 _ACEOF
28798 rm -f conftest.$ac_objext
28799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28800 (eval $ac_compile) 2>conftest.er1
28801 ac_status=$?
28802 grep -v '^ *+' conftest.er1 >conftest.err
28803 rm -f conftest.er1
28804 cat conftest.err >&5
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); } &&
28807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28809 (eval $ac_try) 2>&5
28810 ac_status=$?
28811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812 (exit $ac_status); }; } &&
28813 { ac_try='test -s conftest.$ac_objext'
28814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28815 (eval $ac_try) 2>&5
28816 ac_status=$?
28817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28818 (exit $ac_status); }; }; then
28819 eval "$as_ac_Header=yes"
28820 else
28821 echo "$as_me: failed program was:" >&5
28822 sed 's/^/| /' conftest.$ac_ext >&5
28823
28824 eval "$as_ac_Header=no"
28825 fi
28826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28827 fi
28828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28831 cat >>confdefs.h <<_ACEOF
28832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28833 _ACEOF
28834
28835 fi
28836
28837 done
28838
28839 fi
28840 fi
28841
28842
28843
28844 IODBC_C_SRC=""
28845
28846
28847 if test "$TOOLKIT" != "MSW" ; then
28848
28849 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28850
28851 if test "${ac_cv_header_sql_h+set}" = set; then
28852 echo "$as_me:$LINENO: checking for sql.h" >&5
28853 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28854 if test "${ac_cv_header_sql_h+set}" = set; then
28855 echo $ECHO_N "(cached) $ECHO_C" >&6
28856 fi
28857 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28858 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28859 else
28860 # Is the header compilable?
28861 echo "$as_me:$LINENO: checking sql.h usability" >&5
28862 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28863 cat >conftest.$ac_ext <<_ACEOF
28864 /* confdefs.h. */
28865 _ACEOF
28866 cat confdefs.h >>conftest.$ac_ext
28867 cat >>conftest.$ac_ext <<_ACEOF
28868 /* end confdefs.h. */
28869 $ac_includes_default
28870 #include <sql.h>
28871 _ACEOF
28872 rm -f conftest.$ac_objext
28873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28874 (eval $ac_compile) 2>conftest.er1
28875 ac_status=$?
28876 grep -v '^ *+' conftest.er1 >conftest.err
28877 rm -f conftest.er1
28878 cat conftest.err >&5
28879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880 (exit $ac_status); } &&
28881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28883 (eval $ac_try) 2>&5
28884 ac_status=$?
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); }; } &&
28887 { ac_try='test -s conftest.$ac_objext'
28888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28889 (eval $ac_try) 2>&5
28890 ac_status=$?
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); }; }; then
28893 ac_header_compiler=yes
28894 else
28895 echo "$as_me: failed program was:" >&5
28896 sed 's/^/| /' conftest.$ac_ext >&5
28897
28898 ac_header_compiler=no
28899 fi
28900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28901 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28902 echo "${ECHO_T}$ac_header_compiler" >&6
28903
28904 # Is the header present?
28905 echo "$as_me:$LINENO: checking sql.h presence" >&5
28906 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28907 cat >conftest.$ac_ext <<_ACEOF
28908 /* confdefs.h. */
28909 _ACEOF
28910 cat confdefs.h >>conftest.$ac_ext
28911 cat >>conftest.$ac_ext <<_ACEOF
28912 /* end confdefs.h. */
28913 #include <sql.h>
28914 _ACEOF
28915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28916 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28917 ac_status=$?
28918 grep -v '^ *+' conftest.er1 >conftest.err
28919 rm -f conftest.er1
28920 cat conftest.err >&5
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 (exit $ac_status); } >/dev/null; then
28923 if test -s conftest.err; then
28924 ac_cpp_err=$ac_c_preproc_warn_flag
28925 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28926 else
28927 ac_cpp_err=
28928 fi
28929 else
28930 ac_cpp_err=yes
28931 fi
28932 if test -z "$ac_cpp_err"; then
28933 ac_header_preproc=yes
28934 else
28935 echo "$as_me: failed program was:" >&5
28936 sed 's/^/| /' conftest.$ac_ext >&5
28937
28938 ac_header_preproc=no
28939 fi
28940 rm -f conftest.err conftest.$ac_ext
28941 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28942 echo "${ECHO_T}$ac_header_preproc" >&6
28943
28944 # So? What about this header?
28945 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28946 yes:no: )
28947 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28948 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28949 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28950 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28951 ac_header_preproc=yes
28952 ;;
28953 no:yes:* )
28954 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28955 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28956 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28957 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28958 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28959 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28960 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28961 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28962 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28963 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28964 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28965 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28966 (
28967 cat <<\_ASBOX
28968 ## ----------------------------------------- ##
28969 ## Report this to wx-dev@lists.wxwidgets.org ##
28970 ## ----------------------------------------- ##
28971 _ASBOX
28972 ) |
28973 sed "s/^/$as_me: WARNING: /" >&2
28974 ;;
28975 esac
28976 echo "$as_me:$LINENO: checking for sql.h" >&5
28977 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28978 if test "${ac_cv_header_sql_h+set}" = set; then
28979 echo $ECHO_N "(cached) $ECHO_C" >&6
28980 else
28981 ac_cv_header_sql_h=$ac_header_preproc
28982 fi
28983 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28984 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28985
28986 fi
28987 if test $ac_cv_header_sql_h = yes; then
28988 found_sql_h=1
28989 fi
28990
28991
28992 if test "x$found_sql_h" = "x1" ; then
28993 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28994 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28995 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28996 echo $ECHO_N "(cached) $ECHO_C" >&6
28997 else
28998 ac_check_lib_save_LIBS=$LIBS
28999 LIBS="-liodbc $LIBS"
29000 cat >conftest.$ac_ext <<_ACEOF
29001 /* confdefs.h. */
29002 _ACEOF
29003 cat confdefs.h >>conftest.$ac_ext
29004 cat >>conftest.$ac_ext <<_ACEOF
29005 /* end confdefs.h. */
29006
29007 /* Override any gcc2 internal prototype to avoid an error. */
29008 #ifdef __cplusplus
29009 extern "C"
29010 #endif
29011 /* We use char because int might match the return type of a gcc2
29012 builtin and then its argument prototype would still apply. */
29013 char SQLAllocEnv ();
29014 int
29015 main ()
29016 {
29017 SQLAllocEnv ();
29018 ;
29019 return 0;
29020 }
29021 _ACEOF
29022 rm -f conftest.$ac_objext conftest$ac_exeext
29023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29024 (eval $ac_link) 2>conftest.er1
29025 ac_status=$?
29026 grep -v '^ *+' conftest.er1 >conftest.err
29027 rm -f conftest.er1
29028 cat conftest.err >&5
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); } &&
29031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29033 (eval $ac_try) 2>&5
29034 ac_status=$?
29035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29036 (exit $ac_status); }; } &&
29037 { ac_try='test -s conftest$ac_exeext'
29038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29039 (eval $ac_try) 2>&5
29040 ac_status=$?
29041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29042 (exit $ac_status); }; }; then
29043 ac_cv_lib_iodbc_SQLAllocEnv=yes
29044 else
29045 echo "$as_me: failed program was:" >&5
29046 sed 's/^/| /' conftest.$ac_ext >&5
29047
29048 ac_cv_lib_iodbc_SQLAllocEnv=no
29049 fi
29050 rm -f conftest.err conftest.$ac_objext \
29051 conftest$ac_exeext conftest.$ac_ext
29052 LIBS=$ac_check_lib_save_LIBS
29053 fi
29054 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29055 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29056 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29057 ODBC_LINK=" -liodbc"
29058 else
29059
29060 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29061 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29062 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29063 echo $ECHO_N "(cached) $ECHO_C" >&6
29064 else
29065 ac_check_lib_save_LIBS=$LIBS
29066 LIBS="-lunixodbc $LIBS"
29067 cat >conftest.$ac_ext <<_ACEOF
29068 /* confdefs.h. */
29069 _ACEOF
29070 cat confdefs.h >>conftest.$ac_ext
29071 cat >>conftest.$ac_ext <<_ACEOF
29072 /* end confdefs.h. */
29073
29074 /* Override any gcc2 internal prototype to avoid an error. */
29075 #ifdef __cplusplus
29076 extern "C"
29077 #endif
29078 /* We use char because int might match the return type of a gcc2
29079 builtin and then its argument prototype would still apply. */
29080 char SQLAllocEnv ();
29081 int
29082 main ()
29083 {
29084 SQLAllocEnv ();
29085 ;
29086 return 0;
29087 }
29088 _ACEOF
29089 rm -f conftest.$ac_objext conftest$ac_exeext
29090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29091 (eval $ac_link) 2>conftest.er1
29092 ac_status=$?
29093 grep -v '^ *+' conftest.er1 >conftest.err
29094 rm -f conftest.er1
29095 cat conftest.err >&5
29096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29097 (exit $ac_status); } &&
29098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29100 (eval $ac_try) 2>&5
29101 ac_status=$?
29102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29103 (exit $ac_status); }; } &&
29104 { ac_try='test -s conftest$ac_exeext'
29105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29106 (eval $ac_try) 2>&5
29107 ac_status=$?
29108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29109 (exit $ac_status); }; }; then
29110 ac_cv_lib_unixodbc_SQLAllocEnv=yes
29111 else
29112 echo "$as_me: failed program was:" >&5
29113 sed 's/^/| /' conftest.$ac_ext >&5
29114
29115 ac_cv_lib_unixodbc_SQLAllocEnv=no
29116 fi
29117 rm -f conftest.err conftest.$ac_objext \
29118 conftest$ac_exeext conftest.$ac_ext
29119 LIBS=$ac_check_lib_save_LIBS
29120 fi
29121 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29122 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29123 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29124 ODBC_LINK=" -lunixodbc"
29125 else
29126
29127 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29128 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29129 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29130 echo $ECHO_N "(cached) $ECHO_C" >&6
29131 else
29132 ac_check_lib_save_LIBS=$LIBS
29133 LIBS="-lodbc $LIBS"
29134 cat >conftest.$ac_ext <<_ACEOF
29135 /* confdefs.h. */
29136 _ACEOF
29137 cat confdefs.h >>conftest.$ac_ext
29138 cat >>conftest.$ac_ext <<_ACEOF
29139 /* end confdefs.h. */
29140
29141 /* Override any gcc2 internal prototype to avoid an error. */
29142 #ifdef __cplusplus
29143 extern "C"
29144 #endif
29145 /* We use char because int might match the return type of a gcc2
29146 builtin and then its argument prototype would still apply. */
29147 char SQLAllocEnv ();
29148 int
29149 main ()
29150 {
29151 SQLAllocEnv ();
29152 ;
29153 return 0;
29154 }
29155 _ACEOF
29156 rm -f conftest.$ac_objext conftest$ac_exeext
29157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29158 (eval $ac_link) 2>conftest.er1
29159 ac_status=$?
29160 grep -v '^ *+' conftest.er1 >conftest.err
29161 rm -f conftest.er1
29162 cat conftest.err >&5
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); } &&
29165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29167 (eval $ac_try) 2>&5
29168 ac_status=$?
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); }; } &&
29171 { ac_try='test -s conftest$ac_exeext'
29172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29173 (eval $ac_try) 2>&5
29174 ac_status=$?
29175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29176 (exit $ac_status); }; }; then
29177 ac_cv_lib_odbc_SQLAllocEnv=yes
29178 else
29179 echo "$as_me: failed program was:" >&5
29180 sed 's/^/| /' conftest.$ac_ext >&5
29181
29182 ac_cv_lib_odbc_SQLAllocEnv=no
29183 fi
29184 rm -f conftest.err conftest.$ac_objext \
29185 conftest$ac_exeext conftest.$ac_ext
29186 LIBS=$ac_check_lib_save_LIBS
29187 fi
29188 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29189 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29190 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29191 ODBC_LINK=" -lodbc"
29192 fi
29193
29194
29195 fi
29196
29197
29198 fi
29199
29200 fi
29201 if test "x$ODBC_LINK" = "x" ; then
29202 if test "$wxUSE_ODBC" = "sys" ; then
29203 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29204 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29205 { (exit 1); exit 1; }; }
29206 else
29207 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29208 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29209 wxUSE_ODBC=builtin
29210 fi
29211 else
29212 wxUSE_ODBC=sys
29213 fi
29214 fi
29215
29216 if test "$wxUSE_ODBC" = "builtin" ; then
29217 cat >>confdefs.h <<\_ACEOF
29218 #define wxUSE_BUILTIN_IODBC 1
29219 _ACEOF
29220
29221 fi
29222 fi
29223
29224 if test "$wxUSE_ODBC" != "no" ; then
29225 cat >>confdefs.h <<\_ACEOF
29226 #define wxUSE_ODBC 1
29227 _ACEOF
29228
29229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
29230
29231 WXODBCFLAG="-D_IODBC_"
29232 fi
29233
29234
29235 if test "$wxUSE_DISPLAY" = "yes"; then
29236 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29237 echo "$as_me:$LINENO: checking for Xinerama" >&5
29238 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29239
29240 ac_find_libraries=
29241 for ac_dir in $SEARCH_LIB /usr/lib;
29242 do
29243 for ac_extension in a so sl dylib dll.a; do
29244 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29245 ac_find_libraries=$ac_dir
29246 break 2
29247 fi
29248 done
29249 done
29250
29251 if test "$ac_find_libraries" != "" ; then
29252
29253 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29254 result=$?
29255 if test $result = 0; then
29256 ac_path_to_link=""
29257 else
29258 ac_path_to_link=" -L$ac_find_libraries"
29259 fi
29260
29261 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29262 LDFLAGS="$LDFLAGS $ac_path_to_link"
29263 fi
29264 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
29265 echo "$as_me:$LINENO: result: yes" >&5
29266 echo "${ECHO_T}yes" >&6
29267
29268 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29269 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29270
29271 ac_find_libraries=
29272 for ac_dir in $SEARCH_LIB /usr/lib;
29273 do
29274 for ac_extension in a so sl dylib dll.a; do
29275 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29276 ac_find_libraries=$ac_dir
29277 break 2
29278 fi
29279 done
29280 done
29281
29282 if test "$ac_find_libraries" != "" ; then
29283 echo "$as_me:$LINENO: result: yes" >&5
29284 echo "${ECHO_T}yes" >&6
29285
29286 for ac_header in X11/extensions/xf86vmode.h
29287 do
29288 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29289 echo "$as_me:$LINENO: checking for $ac_header" >&5
29290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29292 echo $ECHO_N "(cached) $ECHO_C" >&6
29293 else
29294 cat >conftest.$ac_ext <<_ACEOF
29295 /* confdefs.h. */
29296 _ACEOF
29297 cat confdefs.h >>conftest.$ac_ext
29298 cat >>conftest.$ac_ext <<_ACEOF
29299 /* end confdefs.h. */
29300
29301 #if HAVE_X11_XLIB_H
29302 #include <X11/Xlib.h>
29303 #endif
29304
29305
29306 #include <$ac_header>
29307 _ACEOF
29308 rm -f conftest.$ac_objext
29309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29310 (eval $ac_compile) 2>conftest.er1
29311 ac_status=$?
29312 grep -v '^ *+' conftest.er1 >conftest.err
29313 rm -f conftest.er1
29314 cat conftest.err >&5
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); } &&
29317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29319 (eval $ac_try) 2>&5
29320 ac_status=$?
29321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29322 (exit $ac_status); }; } &&
29323 { ac_try='test -s conftest.$ac_objext'
29324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29325 (eval $ac_try) 2>&5
29326 ac_status=$?
29327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29328 (exit $ac_status); }; }; then
29329 eval "$as_ac_Header=yes"
29330 else
29331 echo "$as_me: failed program was:" >&5
29332 sed 's/^/| /' conftest.$ac_ext >&5
29333
29334 eval "$as_ac_Header=no"
29335 fi
29336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29337 fi
29338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29341 cat >>confdefs.h <<_ACEOF
29342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29343 _ACEOF
29344
29345 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
29346
29347 fi
29348
29349 done
29350
29351 else
29352 echo "$as_me:$LINENO: result: no" >&5
29353 echo "${ECHO_T}no" >&6
29354 fi
29355
29356 else
29357 echo "$as_me:$LINENO: result: no" >&5
29358 echo "${ECHO_T}no" >&6
29359 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29360 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29361 wxUSE_DISPLAY="no"
29362 fi
29363 elif test "$wxUSE_MSW" = 1; then
29364
29365
29366 for ac_header in multimon.h ddraw.h
29367 do
29368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29369 echo "$as_me:$LINENO: checking for $ac_header" >&5
29370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29372 echo $ECHO_N "(cached) $ECHO_C" >&6
29373 else
29374 cat >conftest.$ac_ext <<_ACEOF
29375 /* confdefs.h. */
29376 _ACEOF
29377 cat confdefs.h >>conftest.$ac_ext
29378 cat >>conftest.$ac_ext <<_ACEOF
29379 /* end confdefs.h. */
29380 #include <windows.h>
29381
29382 #include <$ac_header>
29383 _ACEOF
29384 rm -f conftest.$ac_objext
29385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29386 (eval $ac_compile) 2>conftest.er1
29387 ac_status=$?
29388 grep -v '^ *+' conftest.er1 >conftest.err
29389 rm -f conftest.er1
29390 cat conftest.err >&5
29391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29392 (exit $ac_status); } &&
29393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29395 (eval $ac_try) 2>&5
29396 ac_status=$?
29397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398 (exit $ac_status); }; } &&
29399 { ac_try='test -s conftest.$ac_objext'
29400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29401 (eval $ac_try) 2>&5
29402 ac_status=$?
29403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29404 (exit $ac_status); }; }; then
29405 eval "$as_ac_Header=yes"
29406 else
29407 echo "$as_me: failed program was:" >&5
29408 sed 's/^/| /' conftest.$ac_ext >&5
29409
29410 eval "$as_ac_Header=no"
29411 fi
29412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29413 fi
29414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29417 cat >>confdefs.h <<_ACEOF
29418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29419 _ACEOF
29420
29421 else
29422
29423 wxUSE_DISPLAY="no"
29424 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29425 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29426
29427 fi
29428
29429 done
29430
29431 fi
29432 fi
29433
29434
29435 USE_OPENGL=0
29436 if test "$wxUSE_OPENGL" = "yes"; then
29437 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29438 OPENGL_LIBS="-framework OpenGL -framework AGL"
29439 elif test "$wxUSE_MSW" = 1; then
29440 OPENGL_LIBS="-lopengl32 -lglu32"
29441 else
29442
29443
29444 ac_find_includes=
29445 for ac_dir in $SEARCH_INCLUDE /usr/include;
29446 do
29447 if test -f "$ac_dir/GL/gl.h"; then
29448 ac_find_includes=$ac_dir
29449 break
29450 fi
29451 done
29452
29453 if test "$ac_find_includes" != "" ; then
29454 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29455 echo "${ECHO_T}found in $ac_find_includes" >&6
29456
29457 if test "x$ac_find_includes" = "x/usr/include"; then
29458 ac_path_to_include=""
29459 else
29460 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
29461 result=$?
29462 if test $result = 0; then
29463 ac_path_to_include=""
29464 else
29465 ac_path_to_include=" -I$ac_find_includes"
29466 fi
29467 fi
29468
29469 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
29470 fi
29471
29472 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29473 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29474 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29475 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29476 echo $ECHO_N "(cached) $ECHO_C" >&6
29477 fi
29478 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29479 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29480 else
29481 # Is the header compilable?
29482 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29483 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29484 cat >conftest.$ac_ext <<_ACEOF
29485 /* confdefs.h. */
29486 _ACEOF
29487 cat confdefs.h >>conftest.$ac_ext
29488 cat >>conftest.$ac_ext <<_ACEOF
29489 /* end confdefs.h. */
29490 $ac_includes_default
29491 #include <GL/gl.h>
29492 _ACEOF
29493 rm -f conftest.$ac_objext
29494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29495 (eval $ac_compile) 2>conftest.er1
29496 ac_status=$?
29497 grep -v '^ *+' conftest.er1 >conftest.err
29498 rm -f conftest.er1
29499 cat conftest.err >&5
29500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501 (exit $ac_status); } &&
29502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29504 (eval $ac_try) 2>&5
29505 ac_status=$?
29506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29507 (exit $ac_status); }; } &&
29508 { ac_try='test -s conftest.$ac_objext'
29509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29510 (eval $ac_try) 2>&5
29511 ac_status=$?
29512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29513 (exit $ac_status); }; }; then
29514 ac_header_compiler=yes
29515 else
29516 echo "$as_me: failed program was:" >&5
29517 sed 's/^/| /' conftest.$ac_ext >&5
29518
29519 ac_header_compiler=no
29520 fi
29521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29523 echo "${ECHO_T}$ac_header_compiler" >&6
29524
29525 # Is the header present?
29526 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29527 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29528 cat >conftest.$ac_ext <<_ACEOF
29529 /* confdefs.h. */
29530 _ACEOF
29531 cat confdefs.h >>conftest.$ac_ext
29532 cat >>conftest.$ac_ext <<_ACEOF
29533 /* end confdefs.h. */
29534 #include <GL/gl.h>
29535 _ACEOF
29536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29537 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29538 ac_status=$?
29539 grep -v '^ *+' conftest.er1 >conftest.err
29540 rm -f conftest.er1
29541 cat conftest.err >&5
29542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29543 (exit $ac_status); } >/dev/null; then
29544 if test -s conftest.err; then
29545 ac_cpp_err=$ac_c_preproc_warn_flag
29546 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29547 else
29548 ac_cpp_err=
29549 fi
29550 else
29551 ac_cpp_err=yes
29552 fi
29553 if test -z "$ac_cpp_err"; then
29554 ac_header_preproc=yes
29555 else
29556 echo "$as_me: failed program was:" >&5
29557 sed 's/^/| /' conftest.$ac_ext >&5
29558
29559 ac_header_preproc=no
29560 fi
29561 rm -f conftest.err conftest.$ac_ext
29562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29563 echo "${ECHO_T}$ac_header_preproc" >&6
29564
29565 # So? What about this header?
29566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29567 yes:no: )
29568 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29569 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29570 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29571 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29572 ac_header_preproc=yes
29573 ;;
29574 no:yes:* )
29575 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29576 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29577 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29578 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29579 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29580 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29581 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29582 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29583 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29584 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29585 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29586 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29587 (
29588 cat <<\_ASBOX
29589 ## ----------------------------------------- ##
29590 ## Report this to wx-dev@lists.wxwidgets.org ##
29591 ## ----------------------------------------- ##
29592 _ASBOX
29593 ) |
29594 sed "s/^/$as_me: WARNING: /" >&2
29595 ;;
29596 esac
29597 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29598 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29599 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29600 echo $ECHO_N "(cached) $ECHO_C" >&6
29601 else
29602 ac_cv_header_GL_gl_h=$ac_header_preproc
29603 fi
29604 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29605 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29606
29607 fi
29608 if test $ac_cv_header_GL_gl_h = yes; then
29609
29610 found_gl=0
29611
29612 echo "$as_me:$LINENO: checking for -lGL" >&5
29613 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29614
29615 ac_find_libraries=
29616 for ac_dir in $SEARCH_LIB /usr/lib;
29617 do
29618 for ac_extension in a so sl dylib dll.a; do
29619 if test -f "$ac_dir/libGL.$ac_extension"; then
29620 ac_find_libraries=$ac_dir
29621 break 2
29622 fi
29623 done
29624 done
29625
29626 if test "$ac_find_libraries" != "" ; then
29627 echo "$as_me:$LINENO: result: yes" >&5
29628 echo "${ECHO_T}yes" >&6
29629
29630
29631 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29632 result=$?
29633 if test $result = 0; then
29634 ac_path_to_link=""
29635 else
29636 ac_path_to_link=" -L$ac_find_libraries"
29637 fi
29638
29639 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29640 LDFLAGS_GL="$ac_path_to_link"
29641 fi
29642
29643 echo "$as_me:$LINENO: checking for -lGLU" >&5
29644 echo $ECHO_N "checking for -lGLU... $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 dll.a; do
29650 if test -f "$ac_dir/libGLU.$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 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29668 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29669 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
29670 fi
29671
29672 found_gl=1
29673 OPENGL_LIBS="-lGL -lGLU"
29674 echo "$as_me:$LINENO: result: yes" >&5
29675 echo "${ECHO_T}yes" >&6
29676 else
29677 echo "$as_me:$LINENO: result: no" >&5
29678 echo "${ECHO_T}no" >&6
29679 fi
29680 else
29681 echo "$as_me:$LINENO: result: no" >&5
29682 echo "${ECHO_T}no" >&6
29683 fi
29684
29685 if test "$found_gl" != 1; then
29686 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29687 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29688
29689 ac_find_libraries=
29690 for ac_dir in $SEARCH_LIB /usr/lib;
29691 do
29692 for ac_extension in a so sl dylib dll.a; do
29693 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29694 ac_find_libraries=$ac_dir
29695 break 2
29696 fi
29697 done
29698 done
29699
29700 if test "$ac_find_libraries" != "" ; then
29701
29702 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29703 result=$?
29704 if test $result = 0; then
29705 ac_path_to_link=""
29706 else
29707 ac_path_to_link=" -L$ac_find_libraries"
29708 fi
29709
29710 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
29711 OPENGL_LIBS="-lMesaGL -lMesaGLU"
29712 echo "$as_me:$LINENO: result: yes" >&5
29713 echo "${ECHO_T}yes" >&6
29714 else
29715 echo "$as_me:$LINENO: result: no" >&5
29716 echo "${ECHO_T}no" >&6
29717 fi
29718 fi
29719
29720 fi
29721
29722
29723
29724 if test "x$OPENGL_LIBS" = "x"; then
29725 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29726 echo "$as_me: error: OpenGL libraries not available" >&2;}
29727 { (exit 1); exit 1; }; }
29728 fi
29729 fi
29730
29731 if test "$wxUSE_OPENGL" = "yes"; then
29732 USE_OPENGL=1
29733 cat >>confdefs.h <<\_ACEOF
29734 #define wxUSE_OPENGL 1
29735 _ACEOF
29736
29737 cat >>confdefs.h <<\_ACEOF
29738 #define wxUSE_GLCANVAS 1
29739 _ACEOF
29740
29741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29742 fi
29743 fi
29744
29745
29746 if test -n "$TOOLKIT" ; then
29747 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29748 fi
29749
29750
29751
29752 if test "$wxUSE_SHARED" = "yes"; then
29753 case "${host}" in
29754 *-pc-msdosdjgpp )
29755 wxUSE_SHARED=no
29756 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29757 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29758 ;;
29759 esac
29760 fi
29761
29762 if test "$wxUSE_SHARED" = "yes"; then
29763
29764
29765 found_versioning=no
29766
29767
29768 if test $found_versioning = no ; then
29769 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29770 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29771 if test "${wx_cv_version_script+set}" = set; then
29772 echo $ECHO_N "(cached) $ECHO_C" >&6
29773 else
29774
29775 echo "VER_1 { *; };" >conftest.sym
29776 echo "int main() { return 0; }" >conftest.cpp
29777
29778 if { ac_try='
29779 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29780 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29782 (eval $ac_try) 2>&5
29783 ac_status=$?
29784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785 (exit $ac_status); }; } ; then
29786 if test -s conftest.stderr ; then
29787 wx_cv_version_script=no
29788 else
29789 wx_cv_version_script=yes
29790 fi
29791 else
29792 wx_cv_version_script=no
29793 fi
29794
29795 if test $wx_cv_version_script = yes
29796 then
29797 echo "struct B { virtual ~B() { } }; \
29798 struct D : public B { }; \
29799 void F() { D d; }" > conftest.cpp
29800
29801 if { ac_try='
29802 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29803 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29805 (eval $ac_try) 2>&5
29806 ac_status=$?
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); }; } &&
29809 { ac_try='
29810 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29811 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29813 (eval $ac_try) 2>&5
29814 ac_status=$?
29815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29816 (exit $ac_status); }; }
29817 then
29818 if { ac_try='
29819 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29820 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29822 (eval $ac_try) 2>&5
29823 ac_status=$?
29824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29825 (exit $ac_status); }; }
29826 then
29827 wx_cv_version_script=yes
29828 else
29829 wx_cv_version_script=no
29830 fi
29831 fi
29832 fi
29833
29834 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29835 rm -f conftest1.output conftest2.output conftest3.output
29836
29837 fi
29838 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29839 echo "${ECHO_T}$wx_cv_version_script" >&6
29840 if test $wx_cv_version_script = yes ; then
29841 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
29842 fi
29843 fi
29844
29845
29846 case "${host}" in
29847 *-*-linux* | *-*-gnu* )
29848 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29849 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29850 ;;
29851
29852 *-*-solaris2* )
29853 if test "$GCC" = yes ; then
29854 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
29855
29856 saveLdflags="$LDFLAGS"
29857 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29858 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29859 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29860 cat >conftest.$ac_ext <<_ACEOF
29861 /* confdefs.h. */
29862 _ACEOF
29863 cat confdefs.h >>conftest.$ac_ext
29864 cat >>conftest.$ac_ext <<_ACEOF
29865 /* end confdefs.h. */
29866
29867 int
29868 main ()
29869 {
29870
29871 ;
29872 return 0;
29873 }
29874 _ACEOF
29875 rm -f conftest.$ac_objext conftest$ac_exeext
29876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29877 (eval $ac_link) 2>conftest.er1
29878 ac_status=$?
29879 grep -v '^ *+' conftest.er1 >conftest.err
29880 rm -f conftest.er1
29881 cat conftest.err >&5
29882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29883 (exit $ac_status); } &&
29884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29886 (eval $ac_try) 2>&5
29887 ac_status=$?
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); }; } &&
29890 { ac_try='test -s conftest$ac_exeext'
29891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29892 (eval $ac_try) 2>&5
29893 ac_status=$?
29894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29895 (exit $ac_status); }; }; then
29896
29897 echo "$as_me:$LINENO: result: yes" >&5
29898 echo "${ECHO_T}yes" >&6
29899 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29900 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29901
29902 else
29903 echo "$as_me: failed program was:" >&5
29904 sed 's/^/| /' conftest.$ac_ext >&5
29905
29906
29907 echo "$as_me:$LINENO: result: no" >&5
29908 echo "${ECHO_T}no" >&6
29909 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29910 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29911 LDFLAGS="$saveLdflags -Wl,-R,/"
29912 cat >conftest.$ac_ext <<_ACEOF
29913 /* confdefs.h. */
29914 _ACEOF
29915 cat confdefs.h >>conftest.$ac_ext
29916 cat >>conftest.$ac_ext <<_ACEOF
29917 /* end confdefs.h. */
29918
29919 int
29920 main ()
29921 {
29922
29923 ;
29924 return 0;
29925 }
29926 _ACEOF
29927 rm -f conftest.$ac_objext conftest$ac_exeext
29928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29929 (eval $ac_link) 2>conftest.er1
29930 ac_status=$?
29931 grep -v '^ *+' conftest.er1 >conftest.err
29932 rm -f conftest.er1
29933 cat conftest.err >&5
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); } &&
29936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29938 (eval $ac_try) 2>&5
29939 ac_status=$?
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); }; } &&
29942 { ac_try='test -s conftest$ac_exeext'
29943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29944 (eval $ac_try) 2>&5
29945 ac_status=$?
29946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29947 (exit $ac_status); }; }; then
29948
29949 echo "$as_me:$LINENO: result: yes" >&5
29950 echo "${ECHO_T}yes" >&6
29951 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
29952 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29953
29954 else
29955 echo "$as_me: failed program was:" >&5
29956 sed 's/^/| /' conftest.$ac_ext >&5
29957
29958
29959 echo "$as_me:$LINENO: result: no" >&5
29960 echo "${ECHO_T}no" >&6
29961
29962 fi
29963 rm -f conftest.err conftest.$ac_objext \
29964 conftest$ac_exeext conftest.$ac_ext
29965
29966 fi
29967 rm -f conftest.err conftest.$ac_objext \
29968 conftest$ac_exeext conftest.$ac_ext
29969 LDFLAGS="$saveLdflags"
29970 else
29971 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
29972 WXCONFIG_RPATH="-R\$libdir"
29973 fi
29974 ;;
29975
29976 *-*-darwin* )
29977 install_name_tool=`which install_name_tool`
29978 if test "$install_name_tool" -a -x "$install_name_tool"; then
29979 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29980 cat <<EOF >change-install-names
29981 #!/bin/sh
29982 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29983 inst_cmd="install_name_tool "
29984 for i in \${libnames} ; do
29985 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29986 done
29987 \${inst_cmd} \${3}
29988 EOF
29989 chmod +x change-install-names
29990 fi
29991 ;;
29992
29993 *-*-cygwin* | *-*-mingw32* )
29994 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29995 ;;
29996
29997 *-*-hpux* )
29998 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
29999 WXCONFIG_RPATH="-Wl,+b,\$libdir"
30000 ;;
30001
30002 esac
30003
30004 if test $wxUSE_RPATH = "no"; then
30005 SAMPLES_RPATH_FLAG=''
30006 SAMPLES_RPATH_POSTLINK=''
30007 WXCONFIG_RPATH=''
30008 fi
30009
30010 SHARED=1
30011
30012 else
30013
30014 config_linkage_component="-static"
30015 SHARED=0
30016
30017 fi
30018
30019
30020 UNICODE=0
30021 lib_unicode_suffix=
30022 WX_CHARTYPE="ansi"
30023 if test "$wxUSE_UNICODE" = "yes"; then
30024 lib_unicode_suffix=u
30025 WX_CHARTYPE="unicode"
30026 UNICODE=1
30027 fi
30028
30029 lib_debug_suffix=
30030 WX_DEBUGTYPE="release"
30031 DEBUG_FLAG=0
30032 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
30033 lib_debug_suffix=d
30034 WX_DEBUGTYPE="debug"
30035 DEBUG_FLAG=1
30036 fi
30037
30038 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
30039 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
30040
30041 DEBUG_INFO=0
30042 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30043 DEBUG_INFO=1
30044 fi
30045
30046 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30047
30048 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30049
30050 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30051
30052 if test "$cross_compiling" = "yes"; then
30053 HOST_SUFFIX="-$host_alias"
30054 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
30055 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
30056 fi
30057
30058 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30059 if test "${TOOLKIT_DIR}" = "os2"; then
30060 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30061 else
30062 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30063 fi
30064
30065
30066
30067 if test "$wxUSE_COCOA" = 1; then
30068
30069
30070 ac_ext=c
30071 ac_cpp='$CPP $CPPFLAGS'
30072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30075
30076 ac_ext=m
30077
30078 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30079 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30080 cat >conftest.$ac_ext <<_ACEOF
30081 /* confdefs.h. */
30082 _ACEOF
30083 cat confdefs.h >>conftest.$ac_ext
30084 cat >>conftest.$ac_ext <<_ACEOF
30085 /* end confdefs.h. */
30086 #include <AppKit/NSEvent.h>
30087 #include <CoreFoundation/CoreFoundation.h>
30088
30089 int
30090 main ()
30091 {
30092
30093 ;
30094 return 0;
30095 }
30096 _ACEOF
30097 rm -f conftest.$ac_objext
30098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30099 (eval $ac_compile) 2>conftest.er1
30100 ac_status=$?
30101 grep -v '^ *+' conftest.er1 >conftest.err
30102 rm -f conftest.er1
30103 cat conftest.err >&5
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); } &&
30106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30108 (eval $ac_try) 2>&5
30109 ac_status=$?
30110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111 (exit $ac_status); }; } &&
30112 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
30118 echo "$as_me:$LINENO: result: no" >&5
30119 echo "${ECHO_T}no" >&6
30120 else
30121 echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.$ac_ext >&5
30123
30124 echo "$as_me:$LINENO: result: yes" >&5
30125 echo "${ECHO_T}yes" >&6
30126 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30127 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30128 cat >conftest.$ac_ext <<_ACEOF
30129 /* confdefs.h. */
30130 _ACEOF
30131 cat confdefs.h >>conftest.$ac_ext
30132 cat >>conftest.$ac_ext <<_ACEOF
30133 /* end confdefs.h. */
30134 #define __Point__ 1
30135 #include <AppKit/NSEvent.h>
30136 #include <CoreFoundation/CoreFoundation.h>
30137
30138 int
30139 main ()
30140 {
30141
30142 ;
30143 return 0;
30144 }
30145 _ACEOF
30146 rm -f conftest.$ac_objext
30147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30148 (eval $ac_compile) 2>conftest.er1
30149 ac_status=$?
30150 grep -v '^ *+' conftest.er1 >conftest.err
30151 rm -f conftest.er1
30152 cat conftest.err >&5
30153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30154 (exit $ac_status); } &&
30155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30157 (eval $ac_try) 2>&5
30158 ac_status=$?
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); }; } &&
30161 { ac_try='test -s conftest.$ac_objext'
30162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30163 (eval $ac_try) 2>&5
30164 ac_status=$?
30165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166 (exit $ac_status); }; }; then
30167 echo "$as_me:$LINENO: result: yes" >&5
30168 echo "${ECHO_T}yes" >&6
30169 cat >>confdefs.h <<\_ACEOF
30170 #define __Point__ 1
30171 _ACEOF
30172
30173
30174 else
30175 echo "$as_me: failed program was:" >&5
30176 sed 's/^/| /' conftest.$ac_ext >&5
30177
30178 { { echo "$as_me:$LINENO: error: no
30179 See \`config.log' for more details." >&5
30180 echo "$as_me: error: no
30181 See \`config.log' for more details." >&2;}
30182 { (exit 1); exit 1; }; }
30183
30184 fi
30185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30186
30187 fi
30188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30189 ac_ext=c
30190 ac_cpp='$CPP $CPPFLAGS'
30191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30194
30195 fi
30196
30197 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30198 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30199 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30200
30201 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30202
30203 # Extract the first word of "Rez", so it can be a program name with args.
30204 set dummy Rez; ac_word=$2
30205 echo "$as_me:$LINENO: checking for $ac_word" >&5
30206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30207 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30208 echo $ECHO_N "(cached) $ECHO_C" >&6
30209 else
30210 if test -n "$RESCOMP"; then
30211 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
30212 else
30213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30214 for as_dir in $PATH
30215 do
30216 IFS=$as_save_IFS
30217 test -z "$as_dir" && as_dir=.
30218 for ac_exec_ext in '' $ac_executable_extensions; do
30219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30220 ac_cv_prog_RESCOMP="Rez"
30221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30222 break 2
30223 fi
30224 done
30225 done
30226
30227 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
30228 fi
30229 fi
30230 RESCOMP=$ac_cv_prog_RESCOMP
30231 if test -n "$RESCOMP"; then
30232 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30233 echo "${ECHO_T}$RESCOMP" >&6
30234 else
30235 echo "$as_me:$LINENO: result: no" >&5
30236 echo "${ECHO_T}no" >&6
30237 fi
30238
30239 # Extract the first word of "DeRez", so it can be a program name with args.
30240 set dummy DeRez; ac_word=$2
30241 echo "$as_me:$LINENO: checking for $ac_word" >&5
30242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30243 if test "${ac_cv_prog_DEREZ+set}" = set; then
30244 echo $ECHO_N "(cached) $ECHO_C" >&6
30245 else
30246 if test -n "$DEREZ"; then
30247 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
30248 else
30249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30250 for as_dir in $PATH
30251 do
30252 IFS=$as_save_IFS
30253 test -z "$as_dir" && as_dir=.
30254 for ac_exec_ext in '' $ac_executable_extensions; do
30255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30256 ac_cv_prog_DEREZ="DeRez"
30257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30258 break 2
30259 fi
30260 done
30261 done
30262
30263 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
30264 fi
30265 fi
30266 DEREZ=$ac_cv_prog_DEREZ
30267 if test -n "$DEREZ"; then
30268 echo "$as_me:$LINENO: result: $DEREZ" >&5
30269 echo "${ECHO_T}$DEREZ" >&6
30270 else
30271 echo "$as_me:$LINENO: result: no" >&5
30272 echo "${ECHO_T}no" >&6
30273 fi
30274
30275 # Extract the first word of "SetFile", so it can be a program name with args.
30276 set dummy SetFile; ac_word=$2
30277 echo "$as_me:$LINENO: checking for $ac_word" >&5
30278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30279 if test "${ac_cv_prog_SETFILE+set}" = set; then
30280 echo $ECHO_N "(cached) $ECHO_C" >&6
30281 else
30282 if test -n "$SETFILE"; then
30283 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
30284 else
30285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30286 for as_dir in $PATH
30287 do
30288 IFS=$as_save_IFS
30289 test -z "$as_dir" && as_dir=.
30290 for ac_exec_ext in '' $ac_executable_extensions; do
30291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30292 ac_cv_prog_SETFILE="SetFile"
30293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30294 break 2
30295 fi
30296 done
30297 done
30298
30299 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
30300 fi
30301 fi
30302 SETFILE=$ac_cv_prog_SETFILE
30303 if test -n "$SETFILE"; then
30304 echo "$as_me:$LINENO: result: $SETFILE" >&5
30305 echo "${ECHO_T}$SETFILE" >&6
30306 else
30307 echo "$as_me:$LINENO: result: no" >&5
30308 echo "${ECHO_T}no" >&6
30309 fi
30310
30311
30312 MACSETFILE="\$(SETFILE)"
30313
30314 if test "$wxUSE_MAC" = 1; then
30315 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30316
30317 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30318 else
30319 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30320 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30321 fi
30322 else
30323 MACSETFILE="@true"
30324 MACRESWXCONFIG="@true"
30325
30326 if test "$wxUSE_PM" = 1; then
30327 MACRESCOMP="emxbind -ep"
30328 else
30329 MACRESCOMP="@true"
30330 fi
30331 fi
30332
30333
30334
30335 echo "$as_me:$LINENO: checking for mode_t" >&5
30336 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30337 if test "${ac_cv_type_mode_t+set}" = set; then
30338 echo $ECHO_N "(cached) $ECHO_C" >&6
30339 else
30340 cat >conftest.$ac_ext <<_ACEOF
30341 /* confdefs.h. */
30342 _ACEOF
30343 cat confdefs.h >>conftest.$ac_ext
30344 cat >>conftest.$ac_ext <<_ACEOF
30345 /* end confdefs.h. */
30346 $ac_includes_default
30347 int
30348 main ()
30349 {
30350 if ((mode_t *) 0)
30351 return 0;
30352 if (sizeof (mode_t))
30353 return 0;
30354 ;
30355 return 0;
30356 }
30357 _ACEOF
30358 rm -f conftest.$ac_objext
30359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30360 (eval $ac_compile) 2>conftest.er1
30361 ac_status=$?
30362 grep -v '^ *+' conftest.er1 >conftest.err
30363 rm -f conftest.er1
30364 cat conftest.err >&5
30365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366 (exit $ac_status); } &&
30367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369 (eval $ac_try) 2>&5
30370 ac_status=$?
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); }; } &&
30373 { ac_try='test -s conftest.$ac_objext'
30374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375 (eval $ac_try) 2>&5
30376 ac_status=$?
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); }; }; then
30379 ac_cv_type_mode_t=yes
30380 else
30381 echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.$ac_ext >&5
30383
30384 ac_cv_type_mode_t=no
30385 fi
30386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30387 fi
30388 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30389 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30390 if test $ac_cv_type_mode_t = yes; then
30391 :
30392 else
30393
30394 cat >>confdefs.h <<_ACEOF
30395 #define mode_t int
30396 _ACEOF
30397
30398 fi
30399
30400 echo "$as_me:$LINENO: checking for off_t" >&5
30401 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30402 if test "${ac_cv_type_off_t+set}" = set; then
30403 echo $ECHO_N "(cached) $ECHO_C" >&6
30404 else
30405 cat >conftest.$ac_ext <<_ACEOF
30406 /* confdefs.h. */
30407 _ACEOF
30408 cat confdefs.h >>conftest.$ac_ext
30409 cat >>conftest.$ac_ext <<_ACEOF
30410 /* end confdefs.h. */
30411 $ac_includes_default
30412 int
30413 main ()
30414 {
30415 if ((off_t *) 0)
30416 return 0;
30417 if (sizeof (off_t))
30418 return 0;
30419 ;
30420 return 0;
30421 }
30422 _ACEOF
30423 rm -f conftest.$ac_objext
30424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30425 (eval $ac_compile) 2>conftest.er1
30426 ac_status=$?
30427 grep -v '^ *+' conftest.er1 >conftest.err
30428 rm -f conftest.er1
30429 cat conftest.err >&5
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); } &&
30432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30434 (eval $ac_try) 2>&5
30435 ac_status=$?
30436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30437 (exit $ac_status); }; } &&
30438 { ac_try='test -s conftest.$ac_objext'
30439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30440 (eval $ac_try) 2>&5
30441 ac_status=$?
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); }; }; then
30444 ac_cv_type_off_t=yes
30445 else
30446 echo "$as_me: failed program was:" >&5
30447 sed 's/^/| /' conftest.$ac_ext >&5
30448
30449 ac_cv_type_off_t=no
30450 fi
30451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30452 fi
30453 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30454 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30455 if test $ac_cv_type_off_t = yes; then
30456 :
30457 else
30458
30459 cat >>confdefs.h <<_ACEOF
30460 #define off_t long
30461 _ACEOF
30462
30463 fi
30464
30465 echo "$as_me:$LINENO: checking for pid_t" >&5
30466 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30467 if test "${ac_cv_type_pid_t+set}" = set; then
30468 echo $ECHO_N "(cached) $ECHO_C" >&6
30469 else
30470 cat >conftest.$ac_ext <<_ACEOF
30471 /* confdefs.h. */
30472 _ACEOF
30473 cat confdefs.h >>conftest.$ac_ext
30474 cat >>conftest.$ac_ext <<_ACEOF
30475 /* end confdefs.h. */
30476 $ac_includes_default
30477 int
30478 main ()
30479 {
30480 if ((pid_t *) 0)
30481 return 0;
30482 if (sizeof (pid_t))
30483 return 0;
30484 ;
30485 return 0;
30486 }
30487 _ACEOF
30488 rm -f conftest.$ac_objext
30489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30490 (eval $ac_compile) 2>conftest.er1
30491 ac_status=$?
30492 grep -v '^ *+' conftest.er1 >conftest.err
30493 rm -f conftest.er1
30494 cat conftest.err >&5
30495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30496 (exit $ac_status); } &&
30497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30499 (eval $ac_try) 2>&5
30500 ac_status=$?
30501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30502 (exit $ac_status); }; } &&
30503 { ac_try='test -s conftest.$ac_objext'
30504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30505 (eval $ac_try) 2>&5
30506 ac_status=$?
30507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30508 (exit $ac_status); }; }; then
30509 ac_cv_type_pid_t=yes
30510 else
30511 echo "$as_me: failed program was:" >&5
30512 sed 's/^/| /' conftest.$ac_ext >&5
30513
30514 ac_cv_type_pid_t=no
30515 fi
30516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30517 fi
30518 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30519 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30520 if test $ac_cv_type_pid_t = yes; then
30521 :
30522 else
30523
30524 cat >>confdefs.h <<_ACEOF
30525 #define pid_t int
30526 _ACEOF
30527
30528 fi
30529
30530 echo "$as_me:$LINENO: checking for size_t" >&5
30531 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30532 if test "${ac_cv_type_size_t+set}" = set; then
30533 echo $ECHO_N "(cached) $ECHO_C" >&6
30534 else
30535 cat >conftest.$ac_ext <<_ACEOF
30536 /* confdefs.h. */
30537 _ACEOF
30538 cat confdefs.h >>conftest.$ac_ext
30539 cat >>conftest.$ac_ext <<_ACEOF
30540 /* end confdefs.h. */
30541 $ac_includes_default
30542 int
30543 main ()
30544 {
30545 if ((size_t *) 0)
30546 return 0;
30547 if (sizeof (size_t))
30548 return 0;
30549 ;
30550 return 0;
30551 }
30552 _ACEOF
30553 rm -f conftest.$ac_objext
30554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30555 (eval $ac_compile) 2>conftest.er1
30556 ac_status=$?
30557 grep -v '^ *+' conftest.er1 >conftest.err
30558 rm -f conftest.er1
30559 cat conftest.err >&5
30560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30561 (exit $ac_status); } &&
30562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30564 (eval $ac_try) 2>&5
30565 ac_status=$?
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); }; } &&
30568 { ac_try='test -s conftest.$ac_objext'
30569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30570 (eval $ac_try) 2>&5
30571 ac_status=$?
30572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30573 (exit $ac_status); }; }; then
30574 ac_cv_type_size_t=yes
30575 else
30576 echo "$as_me: failed program was:" >&5
30577 sed 's/^/| /' conftest.$ac_ext >&5
30578
30579 ac_cv_type_size_t=no
30580 fi
30581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30582 fi
30583 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30584 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30585 if test $ac_cv_type_size_t = yes; then
30586 :
30587 else
30588
30589 cat >>confdefs.h <<_ACEOF
30590 #define size_t unsigned
30591 _ACEOF
30592
30593 fi
30594
30595 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30596 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30597 if test "${ac_cv_type_uid_t+set}" = set; then
30598 echo $ECHO_N "(cached) $ECHO_C" >&6
30599 else
30600 cat >conftest.$ac_ext <<_ACEOF
30601 /* confdefs.h. */
30602 _ACEOF
30603 cat confdefs.h >>conftest.$ac_ext
30604 cat >>conftest.$ac_ext <<_ACEOF
30605 /* end confdefs.h. */
30606 #include <sys/types.h>
30607
30608 _ACEOF
30609 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30610 $EGREP "uid_t" >/dev/null 2>&1; then
30611 ac_cv_type_uid_t=yes
30612 else
30613 ac_cv_type_uid_t=no
30614 fi
30615 rm -f conftest*
30616
30617 fi
30618 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30619 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30620 if test $ac_cv_type_uid_t = no; then
30621
30622 cat >>confdefs.h <<\_ACEOF
30623 #define uid_t int
30624 _ACEOF
30625
30626
30627 cat >>confdefs.h <<\_ACEOF
30628 #define gid_t int
30629 _ACEOF
30630
30631 fi
30632
30633
30634 echo "$as_me:$LINENO: checking for ssize_t" >&5
30635 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30636 if test "${ac_cv_type_ssize_t+set}" = set; then
30637 echo $ECHO_N "(cached) $ECHO_C" >&6
30638 else
30639 cat >conftest.$ac_ext <<_ACEOF
30640 /* confdefs.h. */
30641 _ACEOF
30642 cat confdefs.h >>conftest.$ac_ext
30643 cat >>conftest.$ac_ext <<_ACEOF
30644 /* end confdefs.h. */
30645 $ac_includes_default
30646 int
30647 main ()
30648 {
30649 if ((ssize_t *) 0)
30650 return 0;
30651 if (sizeof (ssize_t))
30652 return 0;
30653 ;
30654 return 0;
30655 }
30656 _ACEOF
30657 rm -f conftest.$ac_objext
30658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30659 (eval $ac_compile) 2>conftest.er1
30660 ac_status=$?
30661 grep -v '^ *+' conftest.er1 >conftest.err
30662 rm -f conftest.er1
30663 cat conftest.err >&5
30664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30665 (exit $ac_status); } &&
30666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30668 (eval $ac_try) 2>&5
30669 ac_status=$?
30670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671 (exit $ac_status); }; } &&
30672 { ac_try='test -s conftest.$ac_objext'
30673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30674 (eval $ac_try) 2>&5
30675 ac_status=$?
30676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30677 (exit $ac_status); }; }; then
30678 ac_cv_type_ssize_t=yes
30679 else
30680 echo "$as_me: failed program was:" >&5
30681 sed 's/^/| /' conftest.$ac_ext >&5
30682
30683 ac_cv_type_ssize_t=no
30684 fi
30685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30686 fi
30687 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30688 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30689 if test $ac_cv_type_ssize_t = yes; then
30690
30691 cat >>confdefs.h <<_ACEOF
30692 #define HAVE_SSIZE_T 1
30693 _ACEOF
30694
30695
30696 fi
30697
30698
30699
30700
30701 ac_ext=cc
30702 ac_cpp='$CXXCPP $CPPFLAGS'
30703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30706
30707 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30708 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30709 if test "${wx_cv_size_t_is_uint+set}" = set; then
30710 echo $ECHO_N "(cached) $ECHO_C" >&6
30711 else
30712
30713 cat >conftest.$ac_ext <<_ACEOF
30714 /* confdefs.h. */
30715 _ACEOF
30716 cat confdefs.h >>conftest.$ac_ext
30717 cat >>conftest.$ac_ext <<_ACEOF
30718 /* end confdefs.h. */
30719 #include <stddef.h>
30720 int
30721 main ()
30722 {
30723
30724 return 0; }
30725
30726 struct Foo { void foo(size_t); void foo(unsigned int); };
30727
30728 int bar() {
30729
30730 ;
30731 return 0;
30732 }
30733 _ACEOF
30734 rm -f conftest.$ac_objext
30735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30736 (eval $ac_compile) 2>conftest.er1
30737 ac_status=$?
30738 grep -v '^ *+' conftest.er1 >conftest.err
30739 rm -f conftest.er1
30740 cat conftest.err >&5
30741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30742 (exit $ac_status); } &&
30743 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30745 (eval $ac_try) 2>&5
30746 ac_status=$?
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); }; } &&
30749 { ac_try='test -s conftest.$ac_objext'
30750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30751 (eval $ac_try) 2>&5
30752 ac_status=$?
30753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30754 (exit $ac_status); }; }; then
30755 wx_cv_size_t_is_uint=no
30756 else
30757 echo "$as_me: failed program was:" >&5
30758 sed 's/^/| /' conftest.$ac_ext >&5
30759
30760 wx_cv_size_t_is_uint=yes
30761
30762 fi
30763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30764
30765
30766 fi
30767 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30768 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30769
30770 if test "$wx_cv_size_t_is_uint" = "yes"; then
30771 cat >>confdefs.h <<\_ACEOF
30772 #define wxSIZE_T_IS_UINT 1
30773 _ACEOF
30774
30775 else
30776 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30777 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30778 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30779 echo $ECHO_N "(cached) $ECHO_C" >&6
30780 else
30781 cat >conftest.$ac_ext <<_ACEOF
30782 /* confdefs.h. */
30783 _ACEOF
30784 cat confdefs.h >>conftest.$ac_ext
30785 cat >>conftest.$ac_ext <<_ACEOF
30786 /* end confdefs.h. */
30787 #include <stddef.h>
30788 int
30789 main ()
30790 {
30791
30792 return 0; }
30793
30794 struct Foo { void foo(size_t); void foo(unsigned long); };
30795
30796 int bar() {
30797
30798 ;
30799 return 0;
30800 }
30801 _ACEOF
30802 rm -f conftest.$ac_objext
30803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30804 (eval $ac_compile) 2>conftest.er1
30805 ac_status=$?
30806 grep -v '^ *+' conftest.er1 >conftest.err
30807 rm -f conftest.er1
30808 cat conftest.err >&5
30809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30810 (exit $ac_status); } &&
30811 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30813 (eval $ac_try) 2>&5
30814 ac_status=$?
30815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30816 (exit $ac_status); }; } &&
30817 { ac_try='test -s conftest.$ac_objext'
30818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30819 (eval $ac_try) 2>&5
30820 ac_status=$?
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); }; }; then
30823 wx_cv_size_t_is_ulong=no
30824 else
30825 echo "$as_me: failed program was:" >&5
30826 sed 's/^/| /' conftest.$ac_ext >&5
30827
30828 wx_cv_size_t_is_ulong=yes
30829
30830 fi
30831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30832
30833 fi
30834 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30835 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30836
30837 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30838 cat >>confdefs.h <<\_ACEOF
30839 #define wxSIZE_T_IS_ULONG 1
30840 _ACEOF
30841
30842 fi
30843 fi
30844
30845 ac_ext=c
30846 ac_cpp='$CPP $CPPFLAGS'
30847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30850
30851
30852
30853 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30854 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30855 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30856 echo $ECHO_N "(cached) $ECHO_C" >&6
30857 else
30858
30859 cat >conftest.$ac_ext <<_ACEOF
30860 /* confdefs.h. */
30861 _ACEOF
30862 cat confdefs.h >>conftest.$ac_ext
30863 cat >>conftest.$ac_ext <<_ACEOF
30864 /* end confdefs.h. */
30865 #include <pwd.h>
30866 int
30867 main ()
30868 {
30869
30870 char *p;
30871 struct passwd *pw;
30872 p = pw->pw_gecos;
30873
30874 ;
30875 return 0;
30876 }
30877 _ACEOF
30878 rm -f conftest.$ac_objext
30879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30880 (eval $ac_compile) 2>conftest.er1
30881 ac_status=$?
30882 grep -v '^ *+' conftest.er1 >conftest.err
30883 rm -f conftest.er1
30884 cat conftest.err >&5
30885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30886 (exit $ac_status); } &&
30887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30889 (eval $ac_try) 2>&5
30890 ac_status=$?
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); }; } &&
30893 { ac_try='test -s conftest.$ac_objext'
30894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30895 (eval $ac_try) 2>&5
30896 ac_status=$?
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); }; }; then
30899
30900 wx_cv_struct_pw_gecos=yes
30901
30902 else
30903 echo "$as_me: failed program was:" >&5
30904 sed 's/^/| /' conftest.$ac_ext >&5
30905
30906
30907 wx_cv_struct_pw_gecos=no
30908
30909
30910 fi
30911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30912
30913
30914 fi
30915 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30916 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30917
30918 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30919 cat >>confdefs.h <<\_ACEOF
30920 #define HAVE_PW_GECOS 1
30921 _ACEOF
30922
30923 fi
30924
30925
30926 if test "$wxUSE_WCHAR_T" = "yes"; then
30927 cat >>confdefs.h <<\_ACEOF
30928 #define wxUSE_WCHAR_T 1
30929 _ACEOF
30930
30931
30932 WCSLEN_FOUND=0
30933 WCHAR_LINK=
30934
30935 for ac_func in wcslen
30936 do
30937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30938 echo "$as_me:$LINENO: checking for $ac_func" >&5
30939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30940 if eval "test \"\${$as_ac_var+set}\" = set"; then
30941 echo $ECHO_N "(cached) $ECHO_C" >&6
30942 else
30943 cat >conftest.$ac_ext <<_ACEOF
30944 /* confdefs.h. */
30945 _ACEOF
30946 cat confdefs.h >>conftest.$ac_ext
30947 cat >>conftest.$ac_ext <<_ACEOF
30948 /* end confdefs.h. */
30949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30951 #define $ac_func innocuous_$ac_func
30952
30953 /* System header to define __stub macros and hopefully few prototypes,
30954 which can conflict with char $ac_func (); below.
30955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30956 <limits.h> exists even on freestanding compilers. */
30957
30958 #ifdef __STDC__
30959 # include <limits.h>
30960 #else
30961 # include <assert.h>
30962 #endif
30963
30964 #undef $ac_func
30965
30966 /* Override any gcc2 internal prototype to avoid an error. */
30967 #ifdef __cplusplus
30968 extern "C"
30969 {
30970 #endif
30971 /* We use char because int might match the return type of a gcc2
30972 builtin and then its argument prototype would still apply. */
30973 char $ac_func ();
30974 /* The GNU C library defines this for functions which it implements
30975 to always fail with ENOSYS. Some functions are actually named
30976 something starting with __ and the normal name is an alias. */
30977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30978 choke me
30979 #else
30980 char (*f) () = $ac_func;
30981 #endif
30982 #ifdef __cplusplus
30983 }
30984 #endif
30985
30986 int
30987 main ()
30988 {
30989 return f != $ac_func;
30990 ;
30991 return 0;
30992 }
30993 _ACEOF
30994 rm -f conftest.$ac_objext conftest$ac_exeext
30995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30996 (eval $ac_link) 2>conftest.er1
30997 ac_status=$?
30998 grep -v '^ *+' conftest.er1 >conftest.err
30999 rm -f conftest.er1
31000 cat conftest.err >&5
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); } &&
31003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31005 (eval $ac_try) 2>&5
31006 ac_status=$?
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); }; } &&
31009 { ac_try='test -s conftest$ac_exeext'
31010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31011 (eval $ac_try) 2>&5
31012 ac_status=$?
31013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31014 (exit $ac_status); }; }; then
31015 eval "$as_ac_var=yes"
31016 else
31017 echo "$as_me: failed program was:" >&5
31018 sed 's/^/| /' conftest.$ac_ext >&5
31019
31020 eval "$as_ac_var=no"
31021 fi
31022 rm -f conftest.err conftest.$ac_objext \
31023 conftest$ac_exeext conftest.$ac_ext
31024 fi
31025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31027 if test `eval echo '${'$as_ac_var'}'` = yes; then
31028 cat >>confdefs.h <<_ACEOF
31029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31030 _ACEOF
31031 WCSLEN_FOUND=1
31032 fi
31033 done
31034
31035
31036 if test "$WCSLEN_FOUND" = 0; then
31037 if test "$TOOLKIT" = "MSW"; then
31038 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
31039 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
31040 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
31041 echo $ECHO_N "(cached) $ECHO_C" >&6
31042 else
31043 ac_check_lib_save_LIBS=$LIBS
31044 LIBS="-lmsvcrt $LIBS"
31045 cat >conftest.$ac_ext <<_ACEOF
31046 /* confdefs.h. */
31047 _ACEOF
31048 cat confdefs.h >>conftest.$ac_ext
31049 cat >>conftest.$ac_ext <<_ACEOF
31050 /* end confdefs.h. */
31051
31052 /* Override any gcc2 internal prototype to avoid an error. */
31053 #ifdef __cplusplus
31054 extern "C"
31055 #endif
31056 /* We use char because int might match the return type of a gcc2
31057 builtin and then its argument prototype would still apply. */
31058 char wcslen ();
31059 int
31060 main ()
31061 {
31062 wcslen ();
31063 ;
31064 return 0;
31065 }
31066 _ACEOF
31067 rm -f conftest.$ac_objext conftest$ac_exeext
31068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31069 (eval $ac_link) 2>conftest.er1
31070 ac_status=$?
31071 grep -v '^ *+' conftest.er1 >conftest.err
31072 rm -f conftest.er1
31073 cat conftest.err >&5
31074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31075 (exit $ac_status); } &&
31076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31078 (eval $ac_try) 2>&5
31079 ac_status=$?
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); }; } &&
31082 { ac_try='test -s conftest$ac_exeext'
31083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31084 (eval $ac_try) 2>&5
31085 ac_status=$?
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; }; then
31088 ac_cv_lib_msvcrt_wcslen=yes
31089 else
31090 echo "$as_me: failed program was:" >&5
31091 sed 's/^/| /' conftest.$ac_ext >&5
31092
31093 ac_cv_lib_msvcrt_wcslen=no
31094 fi
31095 rm -f conftest.err conftest.$ac_objext \
31096 conftest$ac_exeext conftest.$ac_ext
31097 LIBS=$ac_check_lib_save_LIBS
31098 fi
31099 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31100 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31101 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31102 WCHAR_OK=1
31103 fi
31104
31105 else
31106 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31107 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31108 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31109 echo $ECHO_N "(cached) $ECHO_C" >&6
31110 else
31111 ac_check_lib_save_LIBS=$LIBS
31112 LIBS="-lw $LIBS"
31113 cat >conftest.$ac_ext <<_ACEOF
31114 /* confdefs.h. */
31115 _ACEOF
31116 cat confdefs.h >>conftest.$ac_ext
31117 cat >>conftest.$ac_ext <<_ACEOF
31118 /* end confdefs.h. */
31119
31120 /* Override any gcc2 internal prototype to avoid an error. */
31121 #ifdef __cplusplus
31122 extern "C"
31123 #endif
31124 /* We use char because int might match the return type of a gcc2
31125 builtin and then its argument prototype would still apply. */
31126 char wcslen ();
31127 int
31128 main ()
31129 {
31130 wcslen ();
31131 ;
31132 return 0;
31133 }
31134 _ACEOF
31135 rm -f conftest.$ac_objext conftest$ac_exeext
31136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31137 (eval $ac_link) 2>conftest.er1
31138 ac_status=$?
31139 grep -v '^ *+' conftest.er1 >conftest.err
31140 rm -f conftest.er1
31141 cat conftest.err >&5
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); } &&
31144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31146 (eval $ac_try) 2>&5
31147 ac_status=$?
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); }; } &&
31150 { ac_try='test -s conftest$ac_exeext'
31151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31152 (eval $ac_try) 2>&5
31153 ac_status=$?
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); }; }; then
31156 ac_cv_lib_w_wcslen=yes
31157 else
31158 echo "$as_me: failed program was:" >&5
31159 sed 's/^/| /' conftest.$ac_ext >&5
31160
31161 ac_cv_lib_w_wcslen=no
31162 fi
31163 rm -f conftest.err conftest.$ac_objext \
31164 conftest$ac_exeext conftest.$ac_ext
31165 LIBS=$ac_check_lib_save_LIBS
31166 fi
31167 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31168 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31169 if test $ac_cv_lib_w_wcslen = yes; then
31170
31171 WCHAR_LINK=" -lw"
31172 WCSLEN_FOUND=1
31173
31174 fi
31175
31176 fi
31177 fi
31178
31179 if test "$WCSLEN_FOUND" = 1; then
31180 cat >>confdefs.h <<\_ACEOF
31181 #define HAVE_WCSLEN 1
31182 _ACEOF
31183
31184 fi
31185
31186 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
31187 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31188 fi
31189
31190 echo "$as_me:$LINENO: checking for mbstate_t" >&5
31191 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
31192 if test "${ac_cv_type_mbstate_t+set}" = set; then
31193 echo $ECHO_N "(cached) $ECHO_C" >&6
31194 else
31195 cat >conftest.$ac_ext <<_ACEOF
31196 /* confdefs.h. */
31197 _ACEOF
31198 cat confdefs.h >>conftest.$ac_ext
31199 cat >>conftest.$ac_ext <<_ACEOF
31200 /* end confdefs.h. */
31201 #include <wchar.h>
31202
31203 int
31204 main ()
31205 {
31206 if ((mbstate_t *) 0)
31207 return 0;
31208 if (sizeof (mbstate_t))
31209 return 0;
31210 ;
31211 return 0;
31212 }
31213 _ACEOF
31214 rm -f conftest.$ac_objext
31215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31216 (eval $ac_compile) 2>conftest.er1
31217 ac_status=$?
31218 grep -v '^ *+' conftest.er1 >conftest.err
31219 rm -f conftest.er1
31220 cat conftest.err >&5
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); } &&
31223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31225 (eval $ac_try) 2>&5
31226 ac_status=$?
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); }; } &&
31229 { ac_try='test -s conftest.$ac_objext'
31230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31231 (eval $ac_try) 2>&5
31232 ac_status=$?
31233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31234 (exit $ac_status); }; }; then
31235 ac_cv_type_mbstate_t=yes
31236 else
31237 echo "$as_me: failed program was:" >&5
31238 sed 's/^/| /' conftest.$ac_ext >&5
31239
31240 ac_cv_type_mbstate_t=no
31241 fi
31242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31243 fi
31244 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
31245 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
31246 if test $ac_cv_type_mbstate_t = yes; then
31247
31248 cat >>confdefs.h <<_ACEOF
31249 #define HAVE_MBSTATE_T 1
31250 _ACEOF
31251
31252
31253 for ac_func in wcsrtombs
31254 do
31255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31256 echo "$as_me:$LINENO: checking for $ac_func" >&5
31257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31258 if eval "test \"\${$as_ac_var+set}\" = set"; then
31259 echo $ECHO_N "(cached) $ECHO_C" >&6
31260 else
31261 cat >conftest.$ac_ext <<_ACEOF
31262 /* confdefs.h. */
31263 _ACEOF
31264 cat confdefs.h >>conftest.$ac_ext
31265 cat >>conftest.$ac_ext <<_ACEOF
31266 /* end confdefs.h. */
31267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31269 #define $ac_func innocuous_$ac_func
31270
31271 /* System header to define __stub macros and hopefully few prototypes,
31272 which can conflict with char $ac_func (); below.
31273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31274 <limits.h> exists even on freestanding compilers. */
31275
31276 #ifdef __STDC__
31277 # include <limits.h>
31278 #else
31279 # include <assert.h>
31280 #endif
31281
31282 #undef $ac_func
31283
31284 /* Override any gcc2 internal prototype to avoid an error. */
31285 #ifdef __cplusplus
31286 extern "C"
31287 {
31288 #endif
31289 /* We use char because int might match the return type of a gcc2
31290 builtin and then its argument prototype would still apply. */
31291 char $ac_func ();
31292 /* The GNU C library defines this for functions which it implements
31293 to always fail with ENOSYS. Some functions are actually named
31294 something starting with __ and the normal name is an alias. */
31295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31296 choke me
31297 #else
31298 char (*f) () = $ac_func;
31299 #endif
31300 #ifdef __cplusplus
31301 }
31302 #endif
31303
31304 int
31305 main ()
31306 {
31307 return f != $ac_func;
31308 ;
31309 return 0;
31310 }
31311 _ACEOF
31312 rm -f conftest.$ac_objext conftest$ac_exeext
31313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31314 (eval $ac_link) 2>conftest.er1
31315 ac_status=$?
31316 grep -v '^ *+' conftest.er1 >conftest.err
31317 rm -f conftest.er1
31318 cat conftest.err >&5
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); } &&
31321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31323 (eval $ac_try) 2>&5
31324 ac_status=$?
31325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31326 (exit $ac_status); }; } &&
31327 { ac_try='test -s conftest$ac_exeext'
31328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31329 (eval $ac_try) 2>&5
31330 ac_status=$?
31331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31332 (exit $ac_status); }; }; then
31333 eval "$as_ac_var=yes"
31334 else
31335 echo "$as_me: failed program was:" >&5
31336 sed 's/^/| /' conftest.$ac_ext >&5
31337
31338 eval "$as_ac_var=no"
31339 fi
31340 rm -f conftest.err conftest.$ac_objext \
31341 conftest$ac_exeext conftest.$ac_ext
31342 fi
31343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31345 if test `eval echo '${'$as_ac_var'}'` = yes; then
31346 cat >>confdefs.h <<_ACEOF
31347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31348 _ACEOF
31349
31350 fi
31351 done
31352
31353 fi
31354
31355 else
31356 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31357 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31358 fi
31359
31360
31361
31362 ac_ext=cc
31363 ac_cpp='$CXXCPP $CPPFLAGS'
31364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31367
31368
31369
31370
31371 for ac_func in snprintf vsnprintf
31372 do
31373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31374 echo "$as_me:$LINENO: checking for $ac_func" >&5
31375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31376 if eval "test \"\${$as_ac_var+set}\" = set"; then
31377 echo $ECHO_N "(cached) $ECHO_C" >&6
31378 else
31379 cat >conftest.$ac_ext <<_ACEOF
31380 /* confdefs.h. */
31381 _ACEOF
31382 cat confdefs.h >>conftest.$ac_ext
31383 cat >>conftest.$ac_ext <<_ACEOF
31384 /* end confdefs.h. */
31385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31387 #define $ac_func innocuous_$ac_func
31388
31389 /* System header to define __stub macros and hopefully few prototypes,
31390 which can conflict with char $ac_func (); below.
31391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31392 <limits.h> exists even on freestanding compilers. */
31393
31394 #ifdef __STDC__
31395 # include <limits.h>
31396 #else
31397 # include <assert.h>
31398 #endif
31399
31400 #undef $ac_func
31401
31402 /* Override any gcc2 internal prototype to avoid an error. */
31403 #ifdef __cplusplus
31404 extern "C"
31405 {
31406 #endif
31407 /* We use char because int might match the return type of a gcc2
31408 builtin and then its argument prototype would still apply. */
31409 char $ac_func ();
31410 /* The GNU C library defines this for functions which it implements
31411 to always fail with ENOSYS. Some functions are actually named
31412 something starting with __ and the normal name is an alias. */
31413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31414 choke me
31415 #else
31416 char (*f) () = $ac_func;
31417 #endif
31418 #ifdef __cplusplus
31419 }
31420 #endif
31421
31422 int
31423 main ()
31424 {
31425 return f != $ac_func;
31426 ;
31427 return 0;
31428 }
31429 _ACEOF
31430 rm -f conftest.$ac_objext conftest$ac_exeext
31431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31432 (eval $ac_link) 2>conftest.er1
31433 ac_status=$?
31434 grep -v '^ *+' conftest.er1 >conftest.err
31435 rm -f conftest.er1
31436 cat conftest.err >&5
31437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438 (exit $ac_status); } &&
31439 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31441 (eval $ac_try) 2>&5
31442 ac_status=$?
31443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31444 (exit $ac_status); }; } &&
31445 { ac_try='test -s conftest$ac_exeext'
31446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31447 (eval $ac_try) 2>&5
31448 ac_status=$?
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); }; }; then
31451 eval "$as_ac_var=yes"
31452 else
31453 echo "$as_me: failed program was:" >&5
31454 sed 's/^/| /' conftest.$ac_ext >&5
31455
31456 eval "$as_ac_var=no"
31457 fi
31458 rm -f conftest.err conftest.$ac_objext \
31459 conftest$ac_exeext conftest.$ac_ext
31460 fi
31461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31463 if test `eval echo '${'$as_ac_var'}'` = yes; then
31464 cat >>confdefs.h <<_ACEOF
31465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31466 _ACEOF
31467
31468 fi
31469 done
31470
31471
31472 if test "$ac_cv_func_vsnprintf" = "yes"; then
31473 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31474 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31475 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31476 echo $ECHO_N "(cached) $ECHO_C" >&6
31477 else
31478
31479 cat >conftest.$ac_ext <<_ACEOF
31480 /* confdefs.h. */
31481 _ACEOF
31482 cat confdefs.h >>conftest.$ac_ext
31483 cat >>conftest.$ac_ext <<_ACEOF
31484 /* end confdefs.h. */
31485
31486 #include <stdio.h>
31487 #include <stdarg.h>
31488 #ifdef __MSL__
31489 #if __MSL__ >= 0x6000
31490 namespace std {}
31491 using namespace std;
31492 #endif
31493 #endif
31494
31495 int
31496 main ()
31497 {
31498
31499 char *buf;
31500 va_list ap;
31501 const char *fmt = "%s";
31502 vsnprintf(buf, 10u, fmt, ap);
31503
31504 ;
31505 return 0;
31506 }
31507 _ACEOF
31508 rm -f conftest.$ac_objext
31509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31510 (eval $ac_compile) 2>conftest.er1
31511 ac_status=$?
31512 grep -v '^ *+' conftest.er1 >conftest.err
31513 rm -f conftest.er1
31514 cat conftest.err >&5
31515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31516 (exit $ac_status); } &&
31517 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31519 (eval $ac_try) 2>&5
31520 ac_status=$?
31521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31522 (exit $ac_status); }; } &&
31523 { ac_try='test -s conftest.$ac_objext'
31524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31525 (eval $ac_try) 2>&5
31526 ac_status=$?
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); }; }; then
31529 wx_cv_func_vsnprintf_decl=yes
31530 else
31531 echo "$as_me: failed program was:" >&5
31532 sed 's/^/| /' conftest.$ac_ext >&5
31533
31534 wx_cv_func_vsnprintf_decl=no
31535
31536 fi
31537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31538
31539
31540 fi
31541 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31542 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31543
31544 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31545 cat >>confdefs.h <<\_ACEOF
31546 #define HAVE_VSNPRINTF_DECL 1
31547 _ACEOF
31548
31549 fi
31550 fi
31551
31552 if test "$ac_cv_func_snprintf" = "yes"; then
31553 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
31554 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
31555 if test "${wx_cv_func_snprintf_decl+set}" = set; then
31556 echo $ECHO_N "(cached) $ECHO_C" >&6
31557 else
31558
31559 cat >conftest.$ac_ext <<_ACEOF
31560 /* confdefs.h. */
31561 _ACEOF
31562 cat confdefs.h >>conftest.$ac_ext
31563 cat >>conftest.$ac_ext <<_ACEOF
31564 /* end confdefs.h. */
31565
31566 #include <stdio.h>
31567 #include <stdarg.h>
31568 #ifdef __MSL__
31569 #if __MSL__ >= 0x6000
31570 namespace std {}
31571 using namespace std;
31572 #endif
31573 #endif
31574
31575 int
31576 main ()
31577 {
31578
31579 char *buf;
31580 const char *fmt = "%s";
31581 snprintf(buf, 10u, fmt, "wx");
31582
31583 ;
31584 return 0;
31585 }
31586 _ACEOF
31587 rm -f conftest.$ac_objext
31588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31589 (eval $ac_compile) 2>conftest.er1
31590 ac_status=$?
31591 grep -v '^ *+' conftest.er1 >conftest.err
31592 rm -f conftest.er1
31593 cat conftest.err >&5
31594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31595 (exit $ac_status); } &&
31596 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31598 (eval $ac_try) 2>&5
31599 ac_status=$?
31600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31601 (exit $ac_status); }; } &&
31602 { ac_try='test -s conftest.$ac_objext'
31603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31604 (eval $ac_try) 2>&5
31605 ac_status=$?
31606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31607 (exit $ac_status); }; }; then
31608 wx_cv_func_snprintf_decl=yes
31609 else
31610 echo "$as_me: failed program was:" >&5
31611 sed 's/^/| /' conftest.$ac_ext >&5
31612
31613 wx_cv_func_snprintf_decl=no
31614
31615 fi
31616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31617
31618
31619 fi
31620 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
31621 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
31622
31623 if test "$wx_cv_func_snprintf_decl" = "yes"; then
31624 cat >>confdefs.h <<\_ACEOF
31625 #define HAVE_SNPRINTF_DECL 1
31626 _ACEOF
31627
31628 fi
31629 fi
31630
31631 if test "$wxUSE_UNICODE" = yes; then
31632
31633
31634
31635
31636
31637
31638 for ac_func in wputc wputchar putws fputws wprintf vswprintf
31639 do
31640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31641 echo "$as_me:$LINENO: checking for $ac_func" >&5
31642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31643 if eval "test \"\${$as_ac_var+set}\" = set"; then
31644 echo $ECHO_N "(cached) $ECHO_C" >&6
31645 else
31646 cat >conftest.$ac_ext <<_ACEOF
31647 /* confdefs.h. */
31648 _ACEOF
31649 cat confdefs.h >>conftest.$ac_ext
31650 cat >>conftest.$ac_ext <<_ACEOF
31651 /* end confdefs.h. */
31652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31654 #define $ac_func innocuous_$ac_func
31655
31656 /* System header to define __stub macros and hopefully few prototypes,
31657 which can conflict with char $ac_func (); below.
31658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31659 <limits.h> exists even on freestanding compilers. */
31660
31661 #ifdef __STDC__
31662 # include <limits.h>
31663 #else
31664 # include <assert.h>
31665 #endif
31666
31667 #undef $ac_func
31668
31669 /* Override any gcc2 internal prototype to avoid an error. */
31670 #ifdef __cplusplus
31671 extern "C"
31672 {
31673 #endif
31674 /* We use char because int might match the return type of a gcc2
31675 builtin and then its argument prototype would still apply. */
31676 char $ac_func ();
31677 /* The GNU C library defines this for functions which it implements
31678 to always fail with ENOSYS. Some functions are actually named
31679 something starting with __ and the normal name is an alias. */
31680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31681 choke me
31682 #else
31683 char (*f) () = $ac_func;
31684 #endif
31685 #ifdef __cplusplus
31686 }
31687 #endif
31688
31689 int
31690 main ()
31691 {
31692 return f != $ac_func;
31693 ;
31694 return 0;
31695 }
31696 _ACEOF
31697 rm -f conftest.$ac_objext conftest$ac_exeext
31698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31699 (eval $ac_link) 2>conftest.er1
31700 ac_status=$?
31701 grep -v '^ *+' conftest.er1 >conftest.err
31702 rm -f conftest.er1
31703 cat conftest.err >&5
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); } &&
31706 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31708 (eval $ac_try) 2>&5
31709 ac_status=$?
31710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711 (exit $ac_status); }; } &&
31712 { ac_try='test -s conftest$ac_exeext'
31713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31714 (eval $ac_try) 2>&5
31715 ac_status=$?
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); }; }; then
31718 eval "$as_ac_var=yes"
31719 else
31720 echo "$as_me: failed program was:" >&5
31721 sed 's/^/| /' conftest.$ac_ext >&5
31722
31723 eval "$as_ac_var=no"
31724 fi
31725 rm -f conftest.err conftest.$ac_objext \
31726 conftest$ac_exeext conftest.$ac_ext
31727 fi
31728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31730 if test `eval echo '${'$as_ac_var'}'` = yes; then
31731 cat >>confdefs.h <<_ACEOF
31732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31733 _ACEOF
31734
31735 fi
31736 done
31737
31738
31739 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31740 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31741 cat >conftest.$ac_ext <<_ACEOF
31742 /* confdefs.h. */
31743 _ACEOF
31744 cat confdefs.h >>conftest.$ac_ext
31745 cat >>conftest.$ac_ext <<_ACEOF
31746 /* end confdefs.h. */
31747 #include <wchar.h>
31748 int
31749 main ()
31750 {
31751 &_vsnwprintf;
31752 ;
31753 return 0;
31754 }
31755 _ACEOF
31756 rm -f conftest.$ac_objext
31757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31758 (eval $ac_compile) 2>conftest.er1
31759 ac_status=$?
31760 grep -v '^ *+' conftest.er1 >conftest.err
31761 rm -f conftest.er1
31762 cat conftest.err >&5
31763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31764 (exit $ac_status); } &&
31765 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31767 (eval $ac_try) 2>&5
31768 ac_status=$?
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); }; } &&
31771 { ac_try='test -s conftest.$ac_objext'
31772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31773 (eval $ac_try) 2>&5
31774 ac_status=$?
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); }; }; then
31777 echo "$as_me:$LINENO: result: yes" >&5
31778 echo "${ECHO_T}yes" >&6
31779 cat >>confdefs.h <<\_ACEOF
31780 #define HAVE__VSNWPRINTF 1
31781 _ACEOF
31782
31783 else
31784 echo "$as_me: failed program was:" >&5
31785 sed 's/^/| /' conftest.$ac_ext >&5
31786
31787 echo "$as_me:$LINENO: result: no" >&5
31788 echo "${ECHO_T}no" >&6
31789 fi
31790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
31791 fi
31792
31793 ac_ext=c
31794 ac_cpp='$CPP $CPPFLAGS'
31795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31798
31799
31800 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
31801
31802 for ac_func in fnmatch
31803 do
31804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31805 echo "$as_me:$LINENO: checking for $ac_func" >&5
31806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31807 if eval "test \"\${$as_ac_var+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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31818 #define $ac_func innocuous_$ac_func
31819
31820 /* System header to define __stub macros and hopefully few prototypes,
31821 which can conflict with char $ac_func (); below.
31822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31823 <limits.h> exists even on freestanding compilers. */
31824
31825 #ifdef __STDC__
31826 # include <limits.h>
31827 #else
31828 # include <assert.h>
31829 #endif
31830
31831 #undef $ac_func
31832
31833 /* Override any gcc2 internal prototype to avoid an error. */
31834 #ifdef __cplusplus
31835 extern "C"
31836 {
31837 #endif
31838 /* We use char because int might match the return type of a gcc2
31839 builtin and then its argument prototype would still apply. */
31840 char $ac_func ();
31841 /* The GNU C library defines this for functions which it implements
31842 to always fail with ENOSYS. Some functions are actually named
31843 something starting with __ and the normal name is an alias. */
31844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31845 choke me
31846 #else
31847 char (*f) () = $ac_func;
31848 #endif
31849 #ifdef __cplusplus
31850 }
31851 #endif
31852
31853 int
31854 main ()
31855 {
31856 return f != $ac_func;
31857 ;
31858 return 0;
31859 }
31860 _ACEOF
31861 rm -f conftest.$ac_objext conftest$ac_exeext
31862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31863 (eval $ac_link) 2>conftest.er1
31864 ac_status=$?
31865 grep -v '^ *+' conftest.er1 >conftest.err
31866 rm -f conftest.er1
31867 cat conftest.err >&5
31868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869 (exit $ac_status); } &&
31870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31872 (eval $ac_try) 2>&5
31873 ac_status=$?
31874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31875 (exit $ac_status); }; } &&
31876 { ac_try='test -s conftest$ac_exeext'
31877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31878 (eval $ac_try) 2>&5
31879 ac_status=$?
31880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31881 (exit $ac_status); }; }; then
31882 eval "$as_ac_var=yes"
31883 else
31884 echo "$as_me: failed program was:" >&5
31885 sed 's/^/| /' conftest.$ac_ext >&5
31886
31887 eval "$as_ac_var=no"
31888 fi
31889 rm -f conftest.err conftest.$ac_objext \
31890 conftest$ac_exeext conftest.$ac_ext
31891 fi
31892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31894 if test `eval echo '${'$as_ac_var'}'` = yes; then
31895 cat >>confdefs.h <<_ACEOF
31896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31897 _ACEOF
31898
31899 fi
31900 done
31901
31902 fi
31903
31904 if test "$wxUSE_FILE" = "yes"; then
31905
31906 for ac_func in fsync
31907 do
31908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31909 echo "$as_me:$LINENO: checking for $ac_func" >&5
31910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31911 if eval "test \"\${$as_ac_var+set}\" = set"; then
31912 echo $ECHO_N "(cached) $ECHO_C" >&6
31913 else
31914 cat >conftest.$ac_ext <<_ACEOF
31915 /* confdefs.h. */
31916 _ACEOF
31917 cat confdefs.h >>conftest.$ac_ext
31918 cat >>conftest.$ac_ext <<_ACEOF
31919 /* end confdefs.h. */
31920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31922 #define $ac_func innocuous_$ac_func
31923
31924 /* System header to define __stub macros and hopefully few prototypes,
31925 which can conflict with char $ac_func (); below.
31926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31927 <limits.h> exists even on freestanding compilers. */
31928
31929 #ifdef __STDC__
31930 # include <limits.h>
31931 #else
31932 # include <assert.h>
31933 #endif
31934
31935 #undef $ac_func
31936
31937 /* Override any gcc2 internal prototype to avoid an error. */
31938 #ifdef __cplusplus
31939 extern "C"
31940 {
31941 #endif
31942 /* We use char because int might match the return type of a gcc2
31943 builtin and then its argument prototype would still apply. */
31944 char $ac_func ();
31945 /* The GNU C library defines this for functions which it implements
31946 to always fail with ENOSYS. Some functions are actually named
31947 something starting with __ and the normal name is an alias. */
31948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31949 choke me
31950 #else
31951 char (*f) () = $ac_func;
31952 #endif
31953 #ifdef __cplusplus
31954 }
31955 #endif
31956
31957 int
31958 main ()
31959 {
31960 return f != $ac_func;
31961 ;
31962 return 0;
31963 }
31964 _ACEOF
31965 rm -f conftest.$ac_objext conftest$ac_exeext
31966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31967 (eval $ac_link) 2>conftest.er1
31968 ac_status=$?
31969 grep -v '^ *+' conftest.er1 >conftest.err
31970 rm -f conftest.er1
31971 cat conftest.err >&5
31972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31973 (exit $ac_status); } &&
31974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31976 (eval $ac_try) 2>&5
31977 ac_status=$?
31978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31979 (exit $ac_status); }; } &&
31980 { ac_try='test -s conftest$ac_exeext'
31981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31982 (eval $ac_try) 2>&5
31983 ac_status=$?
31984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31985 (exit $ac_status); }; }; then
31986 eval "$as_ac_var=yes"
31987 else
31988 echo "$as_me: failed program was:" >&5
31989 sed 's/^/| /' conftest.$ac_ext >&5
31990
31991 eval "$as_ac_var=no"
31992 fi
31993 rm -f conftest.err conftest.$ac_objext \
31994 conftest$ac_exeext conftest.$ac_ext
31995 fi
31996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31998 if test `eval echo '${'$as_ac_var'}'` = yes; then
31999 cat >>confdefs.h <<_ACEOF
32000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32001 _ACEOF
32002
32003 fi
32004 done
32005
32006 fi
32007
32008
32009 if test "$TOOLKIT" != "MSW"; then
32010
32011
32012
32013
32014 ac_ext=cc
32015 ac_cpp='$CXXCPP $CPPFLAGS'
32016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32019
32020
32021
32022
32023 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
32024 if test "${with_libiconv_prefix+set}" = set; then
32025 withval="$with_libiconv_prefix"
32026
32027 for dir in `echo "$withval" | tr : ' '`; do
32028 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
32029 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
32030 done
32031
32032 fi;
32033
32034 echo "$as_me:$LINENO: checking for iconv" >&5
32035 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
32036 if test "${am_cv_func_iconv+set}" = set; then
32037 echo $ECHO_N "(cached) $ECHO_C" >&6
32038 else
32039
32040 am_cv_func_iconv="no, consider installing GNU libiconv"
32041 am_cv_lib_iconv=no
32042 cat >conftest.$ac_ext <<_ACEOF
32043 /* confdefs.h. */
32044 _ACEOF
32045 cat confdefs.h >>conftest.$ac_ext
32046 cat >>conftest.$ac_ext <<_ACEOF
32047 /* end confdefs.h. */
32048 #include <stdlib.h>
32049 #include <iconv.h>
32050 int
32051 main ()
32052 {
32053 iconv_t cd = iconv_open("","");
32054 iconv(cd,NULL,NULL,NULL,NULL);
32055 iconv_close(cd);
32056 ;
32057 return 0;
32058 }
32059 _ACEOF
32060 rm -f conftest.$ac_objext conftest$ac_exeext
32061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32062 (eval $ac_link) 2>conftest.er1
32063 ac_status=$?
32064 grep -v '^ *+' conftest.er1 >conftest.err
32065 rm -f conftest.er1
32066 cat conftest.err >&5
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); } &&
32069 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32071 (eval $ac_try) 2>&5
32072 ac_status=$?
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); }; } &&
32075 { ac_try='test -s conftest$ac_exeext'
32076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32077 (eval $ac_try) 2>&5
32078 ac_status=$?
32079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32080 (exit $ac_status); }; }; then
32081 am_cv_func_iconv=yes
32082 else
32083 echo "$as_me: failed program was:" >&5
32084 sed 's/^/| /' conftest.$ac_ext >&5
32085
32086 fi
32087 rm -f conftest.err conftest.$ac_objext \
32088 conftest$ac_exeext conftest.$ac_ext
32089 if test "$am_cv_func_iconv" != yes; then
32090 am_save_LIBS="$LIBS"
32091 LIBS="$LIBS -liconv"
32092 cat >conftest.$ac_ext <<_ACEOF
32093 /* confdefs.h. */
32094 _ACEOF
32095 cat confdefs.h >>conftest.$ac_ext
32096 cat >>conftest.$ac_ext <<_ACEOF
32097 /* end confdefs.h. */
32098 #include <stdlib.h>
32099 #include <iconv.h>
32100 int
32101 main ()
32102 {
32103 iconv_t cd = iconv_open("","");
32104 iconv(cd,NULL,NULL,NULL,NULL);
32105 iconv_close(cd);
32106 ;
32107 return 0;
32108 }
32109 _ACEOF
32110 rm -f conftest.$ac_objext conftest$ac_exeext
32111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32112 (eval $ac_link) 2>conftest.er1
32113 ac_status=$?
32114 grep -v '^ *+' conftest.er1 >conftest.err
32115 rm -f conftest.er1
32116 cat conftest.err >&5
32117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32118 (exit $ac_status); } &&
32119 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32121 (eval $ac_try) 2>&5
32122 ac_status=$?
32123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32124 (exit $ac_status); }; } &&
32125 { ac_try='test -s conftest$ac_exeext'
32126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32127 (eval $ac_try) 2>&5
32128 ac_status=$?
32129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32130 (exit $ac_status); }; }; then
32131 am_cv_lib_iconv=yes
32132 am_cv_func_iconv=yes
32133 else
32134 echo "$as_me: failed program was:" >&5
32135 sed 's/^/| /' conftest.$ac_ext >&5
32136
32137 fi
32138 rm -f conftest.err conftest.$ac_objext \
32139 conftest$ac_exeext conftest.$ac_ext
32140 LIBS="$am_save_LIBS"
32141 fi
32142
32143 fi
32144 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
32145 echo "${ECHO_T}$am_cv_func_iconv" >&6
32146 if test "$am_cv_func_iconv" = yes; then
32147
32148 cat >>confdefs.h <<\_ACEOF
32149 #define HAVE_ICONV 1
32150 _ACEOF
32151
32152 echo "$as_me:$LINENO: checking if iconv needs const" >&5
32153 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
32154 if test "${wx_cv_func_iconv_const+set}" = set; then
32155 echo $ECHO_N "(cached) $ECHO_C" >&6
32156 else
32157 cat >conftest.$ac_ext <<_ACEOF
32158 /* confdefs.h. */
32159 _ACEOF
32160 cat confdefs.h >>conftest.$ac_ext
32161 cat >>conftest.$ac_ext <<_ACEOF
32162 /* end confdefs.h. */
32163
32164 #include <stdlib.h>
32165 #include <iconv.h>
32166 extern
32167 #ifdef __cplusplus
32168 "C"
32169 #endif
32170 #if defined(__STDC__) || defined(__cplusplus)
32171 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
32172 #else
32173 size_t iconv();
32174 #endif
32175
32176 int
32177 main ()
32178 {
32179
32180 ;
32181 return 0;
32182 }
32183 _ACEOF
32184 rm -f conftest.$ac_objext
32185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32186 (eval $ac_compile) 2>conftest.er1
32187 ac_status=$?
32188 grep -v '^ *+' conftest.er1 >conftest.err
32189 rm -f conftest.er1
32190 cat conftest.err >&5
32191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32192 (exit $ac_status); } &&
32193 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32195 (eval $ac_try) 2>&5
32196 ac_status=$?
32197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32198 (exit $ac_status); }; } &&
32199 { ac_try='test -s conftest.$ac_objext'
32200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32201 (eval $ac_try) 2>&5
32202 ac_status=$?
32203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32204 (exit $ac_status); }; }; then
32205 wx_cv_func_iconv_const="no"
32206 else
32207 echo "$as_me: failed program was:" >&5
32208 sed 's/^/| /' conftest.$ac_ext >&5
32209
32210 wx_cv_func_iconv_const="yes"
32211
32212 fi
32213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32214
32215 fi
32216 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
32217 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
32218
32219 iconv_const=
32220 if test "x$wx_cv_func_iconv_const" = "xyes"; then
32221 iconv_const="const"
32222 fi
32223
32224
32225 cat >>confdefs.h <<_ACEOF
32226 #define ICONV_CONST $iconv_const
32227 _ACEOF
32228
32229 fi
32230 LIBICONV=
32231 if test "$am_cv_lib_iconv" = yes; then
32232 LIBICONV="-liconv"
32233 fi
32234
32235
32236 LIBS="$LIBICONV $LIBS"
32237 ac_ext=c
32238 ac_cpp='$CPP $CPPFLAGS'
32239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32242
32243
32244 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32245
32246 for ac_func in sigaction
32247 do
32248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32249 echo "$as_me:$LINENO: checking for $ac_func" >&5
32250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32251 if eval "test \"\${$as_ac_var+set}\" = set"; then
32252 echo $ECHO_N "(cached) $ECHO_C" >&6
32253 else
32254 cat >conftest.$ac_ext <<_ACEOF
32255 /* confdefs.h. */
32256 _ACEOF
32257 cat confdefs.h >>conftest.$ac_ext
32258 cat >>conftest.$ac_ext <<_ACEOF
32259 /* end confdefs.h. */
32260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32262 #define $ac_func innocuous_$ac_func
32263
32264 /* System header to define __stub macros and hopefully few prototypes,
32265 which can conflict with char $ac_func (); below.
32266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32267 <limits.h> exists even on freestanding compilers. */
32268
32269 #ifdef __STDC__
32270 # include <limits.h>
32271 #else
32272 # include <assert.h>
32273 #endif
32274
32275 #undef $ac_func
32276
32277 /* Override any gcc2 internal prototype to avoid an error. */
32278 #ifdef __cplusplus
32279 extern "C"
32280 {
32281 #endif
32282 /* We use char because int might match the return type of a gcc2
32283 builtin and then its argument prototype would still apply. */
32284 char $ac_func ();
32285 /* The GNU C library defines this for functions which it implements
32286 to always fail with ENOSYS. Some functions are actually named
32287 something starting with __ and the normal name is an alias. */
32288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32289 choke me
32290 #else
32291 char (*f) () = $ac_func;
32292 #endif
32293 #ifdef __cplusplus
32294 }
32295 #endif
32296
32297 int
32298 main ()
32299 {
32300 return f != $ac_func;
32301 ;
32302 return 0;
32303 }
32304 _ACEOF
32305 rm -f conftest.$ac_objext conftest$ac_exeext
32306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32307 (eval $ac_link) 2>conftest.er1
32308 ac_status=$?
32309 grep -v '^ *+' conftest.er1 >conftest.err
32310 rm -f conftest.er1
32311 cat conftest.err >&5
32312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32313 (exit $ac_status); } &&
32314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32316 (eval $ac_try) 2>&5
32317 ac_status=$?
32318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32319 (exit $ac_status); }; } &&
32320 { ac_try='test -s conftest$ac_exeext'
32321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32322 (eval $ac_try) 2>&5
32323 ac_status=$?
32324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 (exit $ac_status); }; }; then
32326 eval "$as_ac_var=yes"
32327 else
32328 echo "$as_me: failed program was:" >&5
32329 sed 's/^/| /' conftest.$ac_ext >&5
32330
32331 eval "$as_ac_var=no"
32332 fi
32333 rm -f conftest.err conftest.$ac_objext \
32334 conftest$ac_exeext conftest.$ac_ext
32335 fi
32336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32338 if test `eval echo '${'$as_ac_var'}'` = yes; then
32339 cat >>confdefs.h <<_ACEOF
32340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32341 _ACEOF
32342
32343 fi
32344 done
32345
32346
32347 if test "$ac_cv_func_sigaction" = "no"; then
32348 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
32349 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
32350 wxUSE_ON_FATAL_EXCEPTION=no
32351 fi
32352
32353 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32354
32355
32356 ac_ext=cc
32357 ac_cpp='$CXXCPP $CPPFLAGS'
32358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32361
32362
32363 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32364 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32365 if test "${wx_cv_type_sa_handler+set}" = set; then
32366 echo $ECHO_N "(cached) $ECHO_C" >&6
32367 else
32368
32369 cat >conftest.$ac_ext <<_ACEOF
32370 /* confdefs.h. */
32371 _ACEOF
32372 cat confdefs.h >>conftest.$ac_ext
32373 cat >>conftest.$ac_ext <<_ACEOF
32374 /* end confdefs.h. */
32375 #include <signal.h>
32376 int
32377 main ()
32378 {
32379
32380 extern void testSigHandler(int);
32381
32382 struct sigaction sa;
32383 sa.sa_handler = testSigHandler;
32384
32385 ;
32386 return 0;
32387 }
32388 _ACEOF
32389 rm -f conftest.$ac_objext
32390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32391 (eval $ac_compile) 2>conftest.er1
32392 ac_status=$?
32393 grep -v '^ *+' conftest.er1 >conftest.err
32394 rm -f conftest.er1
32395 cat conftest.err >&5
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); } &&
32398 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32400 (eval $ac_try) 2>&5
32401 ac_status=$?
32402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32403 (exit $ac_status); }; } &&
32404 { ac_try='test -s conftest.$ac_objext'
32405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32406 (eval $ac_try) 2>&5
32407 ac_status=$?
32408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32409 (exit $ac_status); }; }; then
32410
32411 wx_cv_type_sa_handler=int
32412
32413 else
32414 echo "$as_me: failed program was:" >&5
32415 sed 's/^/| /' conftest.$ac_ext >&5
32416
32417
32418 wx_cv_type_sa_handler=void
32419
32420 fi
32421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32422
32423 fi
32424 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32425 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32426
32427 ac_ext=c
32428 ac_cpp='$CPP $CPPFLAGS'
32429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32432
32433
32434 cat >>confdefs.h <<_ACEOF
32435 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32436 _ACEOF
32437
32438 fi
32439 fi
32440
32441 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32442
32443
32444 ac_ext=cc
32445 ac_cpp='$CXXCPP $CPPFLAGS'
32446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32449
32450
32451 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32452 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32453 if test "${wx_cv_func_backtrace+set}" = set; then
32454 echo $ECHO_N "(cached) $ECHO_C" >&6
32455 else
32456
32457 cat >conftest.$ac_ext <<_ACEOF
32458 /* confdefs.h. */
32459 _ACEOF
32460 cat confdefs.h >>conftest.$ac_ext
32461 cat >>conftest.$ac_ext <<_ACEOF
32462 /* end confdefs.h. */
32463 #include <execinfo.h>
32464 int
32465 main ()
32466 {
32467
32468 void *trace[1];
32469 char **messages;
32470
32471 backtrace(trace, 1);
32472 messages = backtrace_symbols(trace, 1);
32473
32474 ;
32475 return 0;
32476 }
32477 _ACEOF
32478 rm -f conftest.$ac_objext
32479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32480 (eval $ac_compile) 2>conftest.er1
32481 ac_status=$?
32482 grep -v '^ *+' conftest.er1 >conftest.err
32483 rm -f conftest.er1
32484 cat conftest.err >&5
32485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32486 (exit $ac_status); } &&
32487 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32489 (eval $ac_try) 2>&5
32490 ac_status=$?
32491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492 (exit $ac_status); }; } &&
32493 { ac_try='test -s conftest.$ac_objext'
32494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32495 (eval $ac_try) 2>&5
32496 ac_status=$?
32497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498 (exit $ac_status); }; }; then
32499 wx_cv_func_backtrace=yes
32500 else
32501 echo "$as_me: failed program was:" >&5
32502 sed 's/^/| /' conftest.$ac_ext >&5
32503
32504 wx_cv_func_backtrace=no
32505
32506 fi
32507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32508
32509
32510 fi
32511 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
32512 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
32513
32514
32515 if test "$wx_cv_func_backtrace" = "no"; then
32516 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
32517 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
32518 wxUSE_STACKWALKER=no
32519 else
32520 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
32521 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
32522 if test "${wx_cv_func_cxa_demangle+set}" = set; then
32523 echo $ECHO_N "(cached) $ECHO_C" >&6
32524 else
32525
32526 cat >conftest.$ac_ext <<_ACEOF
32527 /* confdefs.h. */
32528 _ACEOF
32529 cat confdefs.h >>conftest.$ac_ext
32530 cat >>conftest.$ac_ext <<_ACEOF
32531 /* end confdefs.h. */
32532 #include <cxxabi.h>
32533 int
32534 main ()
32535 {
32536
32537 int rc;
32538 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
32539
32540 ;
32541 return 0;
32542 }
32543 _ACEOF
32544 rm -f conftest.$ac_objext conftest$ac_exeext
32545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32546 (eval $ac_link) 2>conftest.er1
32547 ac_status=$?
32548 grep -v '^ *+' conftest.er1 >conftest.err
32549 rm -f conftest.er1
32550 cat conftest.err >&5
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); } &&
32553 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32555 (eval $ac_try) 2>&5
32556 ac_status=$?
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); }; } &&
32559 { ac_try='test -s conftest$ac_exeext'
32560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32561 (eval $ac_try) 2>&5
32562 ac_status=$?
32563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32564 (exit $ac_status); }; }; then
32565 wx_cv_func_cxa_demangle=yes
32566 else
32567 echo "$as_me: failed program was:" >&5
32568 sed 's/^/| /' conftest.$ac_ext >&5
32569
32570 wx_cv_func_cxa_demangle=no
32571
32572 fi
32573 rm -f conftest.err conftest.$ac_objext \
32574 conftest$ac_exeext conftest.$ac_ext
32575
32576
32577 fi
32578 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
32579 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
32580
32581 if test "$wx_cv_func_cxa_demangle" = "yes"; then
32582 cat >>confdefs.h <<\_ACEOF
32583 #define HAVE_CXA_DEMANGLE 1
32584 _ACEOF
32585
32586 fi
32587 fi
32588
32589 ac_ext=c
32590 ac_cpp='$CPP $CPPFLAGS'
32591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32594
32595 fi
32596
32597 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
32598 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
32599 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
32600 wxUSE_STACKWALKER=no
32601 fi
32602
32603
32604
32605
32606 for ac_func in mkstemp mktemp
32607 do
32608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32609 echo "$as_me:$LINENO: checking for $ac_func" >&5
32610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32611 if eval "test \"\${$as_ac_var+set}\" = set"; then
32612 echo $ECHO_N "(cached) $ECHO_C" >&6
32613 else
32614 cat >conftest.$ac_ext <<_ACEOF
32615 /* confdefs.h. */
32616 _ACEOF
32617 cat confdefs.h >>conftest.$ac_ext
32618 cat >>conftest.$ac_ext <<_ACEOF
32619 /* end confdefs.h. */
32620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32622 #define $ac_func innocuous_$ac_func
32623
32624 /* System header to define __stub macros and hopefully few prototypes,
32625 which can conflict with char $ac_func (); below.
32626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32627 <limits.h> exists even on freestanding compilers. */
32628
32629 #ifdef __STDC__
32630 # include <limits.h>
32631 #else
32632 # include <assert.h>
32633 #endif
32634
32635 #undef $ac_func
32636
32637 /* Override any gcc2 internal prototype to avoid an error. */
32638 #ifdef __cplusplus
32639 extern "C"
32640 {
32641 #endif
32642 /* We use char because int might match the return type of a gcc2
32643 builtin and then its argument prototype would still apply. */
32644 char $ac_func ();
32645 /* The GNU C library defines this for functions which it implements
32646 to always fail with ENOSYS. Some functions are actually named
32647 something starting with __ and the normal name is an alias. */
32648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32649 choke me
32650 #else
32651 char (*f) () = $ac_func;
32652 #endif
32653 #ifdef __cplusplus
32654 }
32655 #endif
32656
32657 int
32658 main ()
32659 {
32660 return f != $ac_func;
32661 ;
32662 return 0;
32663 }
32664 _ACEOF
32665 rm -f conftest.$ac_objext conftest$ac_exeext
32666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32667 (eval $ac_link) 2>conftest.er1
32668 ac_status=$?
32669 grep -v '^ *+' conftest.er1 >conftest.err
32670 rm -f conftest.er1
32671 cat conftest.err >&5
32672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673 (exit $ac_status); } &&
32674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32676 (eval $ac_try) 2>&5
32677 ac_status=$?
32678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32679 (exit $ac_status); }; } &&
32680 { ac_try='test -s conftest$ac_exeext'
32681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32682 (eval $ac_try) 2>&5
32683 ac_status=$?
32684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32685 (exit $ac_status); }; }; then
32686 eval "$as_ac_var=yes"
32687 else
32688 echo "$as_me: failed program was:" >&5
32689 sed 's/^/| /' conftest.$ac_ext >&5
32690
32691 eval "$as_ac_var=no"
32692 fi
32693 rm -f conftest.err conftest.$ac_objext \
32694 conftest$ac_exeext conftest.$ac_ext
32695 fi
32696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32698 if test `eval echo '${'$as_ac_var'}'` = yes; then
32699 cat >>confdefs.h <<_ACEOF
32700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32701 _ACEOF
32702 break
32703 fi
32704 done
32705
32706
32707 echo "$as_me:$LINENO: checking for statfs" >&5
32708 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
32709 if test "${wx_cv_func_statfs+set}" = set; then
32710 echo $ECHO_N "(cached) $ECHO_C" >&6
32711 else
32712 cat >conftest.$ac_ext <<_ACEOF
32713 /* confdefs.h. */
32714 _ACEOF
32715 cat confdefs.h >>conftest.$ac_ext
32716 cat >>conftest.$ac_ext <<_ACEOF
32717 /* end confdefs.h. */
32718
32719 #if defined(__BSD__)
32720 #include <sys/param.h>
32721 #include <sys/mount.h>
32722 #else
32723 #include <sys/vfs.h>
32724 #endif
32725
32726 int
32727 main ()
32728 {
32729
32730 long l;
32731 struct statfs fs;
32732 statfs("/", &fs);
32733 l = fs.f_bsize;
32734 l += fs.f_blocks;
32735 l += fs.f_bavail;
32736
32737 ;
32738 return 0;
32739 }
32740 _ACEOF
32741 rm -f conftest.$ac_objext
32742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32743 (eval $ac_compile) 2>conftest.er1
32744 ac_status=$?
32745 grep -v '^ *+' conftest.er1 >conftest.err
32746 rm -f conftest.er1
32747 cat conftest.err >&5
32748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32749 (exit $ac_status); } &&
32750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32752 (eval $ac_try) 2>&5
32753 ac_status=$?
32754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755 (exit $ac_status); }; } &&
32756 { ac_try='test -s conftest.$ac_objext'
32757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32758 (eval $ac_try) 2>&5
32759 ac_status=$?
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); }; }; then
32762 wx_cv_func_statfs=yes
32763 else
32764 echo "$as_me: failed program was:" >&5
32765 sed 's/^/| /' conftest.$ac_ext >&5
32766
32767 wx_cv_func_statfs=no
32768
32769 fi
32770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32771
32772 fi
32773 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32774 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32775
32776 if test "$wx_cv_func_statfs" = "yes"; then
32777
32778
32779 ac_ext=cc
32780 ac_cpp='$CXXCPP $CPPFLAGS'
32781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32784
32785 echo "$as_me:$LINENO: checking for statfs declaration" >&5
32786 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
32787 if test "${wx_cv_func_statfs_decl+set}" = set; then
32788 echo $ECHO_N "(cached) $ECHO_C" >&6
32789 else
32790 cat >conftest.$ac_ext <<_ACEOF
32791 /* confdefs.h. */
32792 _ACEOF
32793 cat confdefs.h >>conftest.$ac_ext
32794 cat >>conftest.$ac_ext <<_ACEOF
32795 /* end confdefs.h. */
32796
32797 #if defined(__BSD__)
32798 #include <sys/param.h>
32799 #include <sys/mount.h>
32800 #else
32801 #include <sys/vfs.h>
32802 #endif
32803
32804 int
32805 main ()
32806 {
32807
32808 struct statfs fs;
32809 statfs("", &fs);
32810
32811 ;
32812 return 0;
32813 }
32814 _ACEOF
32815 rm -f conftest.$ac_objext
32816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32817 (eval $ac_compile) 2>conftest.er1
32818 ac_status=$?
32819 grep -v '^ *+' conftest.er1 >conftest.err
32820 rm -f conftest.er1
32821 cat conftest.err >&5
32822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32823 (exit $ac_status); } &&
32824 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32826 (eval $ac_try) 2>&5
32827 ac_status=$?
32828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32829 (exit $ac_status); }; } &&
32830 { ac_try='test -s conftest.$ac_objext'
32831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32832 (eval $ac_try) 2>&5
32833 ac_status=$?
32834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32835 (exit $ac_status); }; }; then
32836 wx_cv_func_statfs_decl=yes
32837 else
32838 echo "$as_me: failed program was:" >&5
32839 sed 's/^/| /' conftest.$ac_ext >&5
32840
32841 wx_cv_func_statfs_decl=no
32842
32843 fi
32844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32845
32846 fi
32847 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
32848 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
32849 ac_ext=c
32850 ac_cpp='$CPP $CPPFLAGS'
32851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32854
32855
32856 if test "$wx_cv_func_statfs_decl" = "yes"; then
32857 cat >>confdefs.h <<\_ACEOF
32858 #define HAVE_STATFS_DECL 1
32859 _ACEOF
32860
32861 fi
32862
32863 wx_cv_type_statvfs_t="struct statfs"
32864 cat >>confdefs.h <<\_ACEOF
32865 #define HAVE_STATFS 1
32866 _ACEOF
32867
32868 else
32869 echo "$as_me:$LINENO: checking for statvfs" >&5
32870 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32871 if test "${wx_cv_func_statvfs+set}" = set; then
32872 echo $ECHO_N "(cached) $ECHO_C" >&6
32873 else
32874 cat >conftest.$ac_ext <<_ACEOF
32875 /* confdefs.h. */
32876 _ACEOF
32877 cat confdefs.h >>conftest.$ac_ext
32878 cat >>conftest.$ac_ext <<_ACEOF
32879 /* end confdefs.h. */
32880
32881 #include <stddef.h>
32882 #include <sys/statvfs.h>
32883
32884 int
32885 main ()
32886 {
32887
32888 statvfs("/", NULL);
32889
32890 ;
32891 return 0;
32892 }
32893 _ACEOF
32894 rm -f conftest.$ac_objext
32895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32896 (eval $ac_compile) 2>conftest.er1
32897 ac_status=$?
32898 grep -v '^ *+' conftest.er1 >conftest.err
32899 rm -f conftest.er1
32900 cat conftest.err >&5
32901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32902 (exit $ac_status); } &&
32903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32905 (eval $ac_try) 2>&5
32906 ac_status=$?
32907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32908 (exit $ac_status); }; } &&
32909 { ac_try='test -s conftest.$ac_objext'
32910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32911 (eval $ac_try) 2>&5
32912 ac_status=$?
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); }; }; then
32915 wx_cv_func_statvfs=yes
32916 else
32917 echo "$as_me: failed program was:" >&5
32918 sed 's/^/| /' conftest.$ac_ext >&5
32919
32920 wx_cv_func_statvfs=no
32921
32922 fi
32923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32924
32925 fi
32926 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32927 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32928
32929 if test "$wx_cv_func_statvfs" = "yes"; then
32930
32931
32932 ac_ext=cc
32933 ac_cpp='$CXXCPP $CPPFLAGS'
32934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32937
32938
32939 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32940 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32941 if test "${wx_cv_type_statvfs_t+set}" = set; then
32942 echo $ECHO_N "(cached) $ECHO_C" >&6
32943 else
32944 cat >conftest.$ac_ext <<_ACEOF
32945 /* confdefs.h. */
32946 _ACEOF
32947 cat confdefs.h >>conftest.$ac_ext
32948 cat >>conftest.$ac_ext <<_ACEOF
32949 /* end confdefs.h. */
32950
32951 #include <sys/statvfs.h>
32952
32953 int
32954 main ()
32955 {
32956
32957 long l;
32958 statvfs_t fs;
32959 statvfs("/", &fs);
32960 l = fs.f_bsize;
32961 l += fs.f_blocks;
32962 l += fs.f_bavail;
32963
32964 ;
32965 return 0;
32966 }
32967 _ACEOF
32968 rm -f conftest.$ac_objext
32969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32970 (eval $ac_compile) 2>conftest.er1
32971 ac_status=$?
32972 grep -v '^ *+' conftest.er1 >conftest.err
32973 rm -f conftest.er1
32974 cat conftest.err >&5
32975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32976 (exit $ac_status); } &&
32977 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32979 (eval $ac_try) 2>&5
32980 ac_status=$?
32981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982 (exit $ac_status); }; } &&
32983 { ac_try='test -s conftest.$ac_objext'
32984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32985 (eval $ac_try) 2>&5
32986 ac_status=$?
32987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32988 (exit $ac_status); }; }; then
32989 wx_cv_type_statvfs_t=statvfs_t
32990 else
32991 echo "$as_me: failed program was:" >&5
32992 sed 's/^/| /' conftest.$ac_ext >&5
32993
32994
32995 cat >conftest.$ac_ext <<_ACEOF
32996 /* confdefs.h. */
32997 _ACEOF
32998 cat confdefs.h >>conftest.$ac_ext
32999 cat >>conftest.$ac_ext <<_ACEOF
33000 /* end confdefs.h. */
33001
33002 #include <sys/statvfs.h>
33003
33004 int
33005 main ()
33006 {
33007
33008 long l;
33009 struct statvfs fs;
33010 statvfs("/", &fs);
33011 l = fs.f_bsize;
33012 l += fs.f_blocks;
33013 l += fs.f_bavail;
33014
33015 ;
33016 return 0;
33017 }
33018 _ACEOF
33019 rm -f conftest.$ac_objext
33020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33021 (eval $ac_compile) 2>conftest.er1
33022 ac_status=$?
33023 grep -v '^ *+' conftest.er1 >conftest.err
33024 rm -f conftest.er1
33025 cat conftest.err >&5
33026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33027 (exit $ac_status); } &&
33028 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33030 (eval $ac_try) 2>&5
33031 ac_status=$?
33032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33033 (exit $ac_status); }; } &&
33034 { ac_try='test -s conftest.$ac_objext'
33035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33036 (eval $ac_try) 2>&5
33037 ac_status=$?
33038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33039 (exit $ac_status); }; }; then
33040 wx_cv_type_statvfs_t="struct statvfs"
33041 else
33042 echo "$as_me: failed program was:" >&5
33043 sed 's/^/| /' conftest.$ac_ext >&5
33044
33045 wx_cv_type_statvfs_t="unknown"
33046
33047 fi
33048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33049
33050
33051 fi
33052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33053
33054 fi
33055 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
33056 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
33057
33058 ac_ext=c
33059 ac_cpp='$CPP $CPPFLAGS'
33060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33063
33064
33065 if test "$wx_cv_type_statvfs_t" != "unknown"; then
33066 cat >>confdefs.h <<\_ACEOF
33067 #define HAVE_STATVFS 1
33068 _ACEOF
33069
33070 fi
33071 else
33072 wx_cv_type_statvfs_t="unknown"
33073 fi
33074 fi
33075
33076 if test "$wx_cv_type_statvfs_t" != "unknown"; then
33077 cat >>confdefs.h <<_ACEOF
33078 #define WX_STATFS_T $wx_cv_type_statvfs_t
33079 _ACEOF
33080
33081 else
33082 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
33083 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
33084 fi
33085
33086 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
33087
33088
33089 for ac_func in fcntl flock
33090 do
33091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33092 echo "$as_me:$LINENO: checking for $ac_func" >&5
33093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33094 if eval "test \"\${$as_ac_var+set}\" = set"; then
33095 echo $ECHO_N "(cached) $ECHO_C" >&6
33096 else
33097 cat >conftest.$ac_ext <<_ACEOF
33098 /* confdefs.h. */
33099 _ACEOF
33100 cat confdefs.h >>conftest.$ac_ext
33101 cat >>conftest.$ac_ext <<_ACEOF
33102 /* end confdefs.h. */
33103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33105 #define $ac_func innocuous_$ac_func
33106
33107 /* System header to define __stub macros and hopefully few prototypes,
33108 which can conflict with char $ac_func (); below.
33109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33110 <limits.h> exists even on freestanding compilers. */
33111
33112 #ifdef __STDC__
33113 # include <limits.h>
33114 #else
33115 # include <assert.h>
33116 #endif
33117
33118 #undef $ac_func
33119
33120 /* Override any gcc2 internal prototype to avoid an error. */
33121 #ifdef __cplusplus
33122 extern "C"
33123 {
33124 #endif
33125 /* We use char because int might match the return type of a gcc2
33126 builtin and then its argument prototype would still apply. */
33127 char $ac_func ();
33128 /* The GNU C library defines this for functions which it implements
33129 to always fail with ENOSYS. Some functions are actually named
33130 something starting with __ and the normal name is an alias. */
33131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33132 choke me
33133 #else
33134 char (*f) () = $ac_func;
33135 #endif
33136 #ifdef __cplusplus
33137 }
33138 #endif
33139
33140 int
33141 main ()
33142 {
33143 return f != $ac_func;
33144 ;
33145 return 0;
33146 }
33147 _ACEOF
33148 rm -f conftest.$ac_objext conftest$ac_exeext
33149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33150 (eval $ac_link) 2>conftest.er1
33151 ac_status=$?
33152 grep -v '^ *+' conftest.er1 >conftest.err
33153 rm -f conftest.er1
33154 cat conftest.err >&5
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); } &&
33157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33159 (eval $ac_try) 2>&5
33160 ac_status=$?
33161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162 (exit $ac_status); }; } &&
33163 { ac_try='test -s conftest$ac_exeext'
33164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33165 (eval $ac_try) 2>&5
33166 ac_status=$?
33167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33168 (exit $ac_status); }; }; then
33169 eval "$as_ac_var=yes"
33170 else
33171 echo "$as_me: failed program was:" >&5
33172 sed 's/^/| /' conftest.$ac_ext >&5
33173
33174 eval "$as_ac_var=no"
33175 fi
33176 rm -f conftest.err conftest.$ac_objext \
33177 conftest$ac_exeext conftest.$ac_ext
33178 fi
33179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33181 if test `eval echo '${'$as_ac_var'}'` = yes; then
33182 cat >>confdefs.h <<_ACEOF
33183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33184 _ACEOF
33185 break
33186 fi
33187 done
33188
33189
33190 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
33191 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
33192 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
33193 wxUSE_SNGLINST_CHECKER=no
33194 fi
33195 fi
33196
33197
33198 for ac_func in timegm
33199 do
33200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33201 echo "$as_me:$LINENO: checking for $ac_func" >&5
33202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33203 if eval "test \"\${$as_ac_var+set}\" = set"; then
33204 echo $ECHO_N "(cached) $ECHO_C" >&6
33205 else
33206 cat >conftest.$ac_ext <<_ACEOF
33207 /* confdefs.h. */
33208 _ACEOF
33209 cat confdefs.h >>conftest.$ac_ext
33210 cat >>conftest.$ac_ext <<_ACEOF
33211 /* end confdefs.h. */
33212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33214 #define $ac_func innocuous_$ac_func
33215
33216 /* System header to define __stub macros and hopefully few prototypes,
33217 which can conflict with char $ac_func (); below.
33218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33219 <limits.h> exists even on freestanding compilers. */
33220
33221 #ifdef __STDC__
33222 # include <limits.h>
33223 #else
33224 # include <assert.h>
33225 #endif
33226
33227 #undef $ac_func
33228
33229 /* Override any gcc2 internal prototype to avoid an error. */
33230 #ifdef __cplusplus
33231 extern "C"
33232 {
33233 #endif
33234 /* We use char because int might match the return type of a gcc2
33235 builtin and then its argument prototype would still apply. */
33236 char $ac_func ();
33237 /* The GNU C library defines this for functions which it implements
33238 to always fail with ENOSYS. Some functions are actually named
33239 something starting with __ and the normal name is an alias. */
33240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33241 choke me
33242 #else
33243 char (*f) () = $ac_func;
33244 #endif
33245 #ifdef __cplusplus
33246 }
33247 #endif
33248
33249 int
33250 main ()
33251 {
33252 return f != $ac_func;
33253 ;
33254 return 0;
33255 }
33256 _ACEOF
33257 rm -f conftest.$ac_objext conftest$ac_exeext
33258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33259 (eval $ac_link) 2>conftest.er1
33260 ac_status=$?
33261 grep -v '^ *+' conftest.er1 >conftest.err
33262 rm -f conftest.er1
33263 cat conftest.err >&5
33264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33265 (exit $ac_status); } &&
33266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33268 (eval $ac_try) 2>&5
33269 ac_status=$?
33270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271 (exit $ac_status); }; } &&
33272 { ac_try='test -s conftest$ac_exeext'
33273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33274 (eval $ac_try) 2>&5
33275 ac_status=$?
33276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33277 (exit $ac_status); }; }; then
33278 eval "$as_ac_var=yes"
33279 else
33280 echo "$as_me: failed program was:" >&5
33281 sed 's/^/| /' conftest.$ac_ext >&5
33282
33283 eval "$as_ac_var=no"
33284 fi
33285 rm -f conftest.err conftest.$ac_objext \
33286 conftest$ac_exeext conftest.$ac_ext
33287 fi
33288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33290 if test `eval echo '${'$as_ac_var'}'` = yes; then
33291 cat >>confdefs.h <<_ACEOF
33292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33293 _ACEOF
33294
33295 fi
33296 done
33297
33298
33299
33300
33301 for ac_func in putenv setenv
33302 do
33303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33304 echo "$as_me:$LINENO: checking for $ac_func" >&5
33305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33306 if eval "test \"\${$as_ac_var+set}\" = set"; then
33307 echo $ECHO_N "(cached) $ECHO_C" >&6
33308 else
33309 cat >conftest.$ac_ext <<_ACEOF
33310 /* confdefs.h. */
33311 _ACEOF
33312 cat confdefs.h >>conftest.$ac_ext
33313 cat >>conftest.$ac_ext <<_ACEOF
33314 /* end confdefs.h. */
33315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33317 #define $ac_func innocuous_$ac_func
33318
33319 /* System header to define __stub macros and hopefully few prototypes,
33320 which can conflict with char $ac_func (); below.
33321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33322 <limits.h> exists even on freestanding compilers. */
33323
33324 #ifdef __STDC__
33325 # include <limits.h>
33326 #else
33327 # include <assert.h>
33328 #endif
33329
33330 #undef $ac_func
33331
33332 /* Override any gcc2 internal prototype to avoid an error. */
33333 #ifdef __cplusplus
33334 extern "C"
33335 {
33336 #endif
33337 /* We use char because int might match the return type of a gcc2
33338 builtin and then its argument prototype would still apply. */
33339 char $ac_func ();
33340 /* The GNU C library defines this for functions which it implements
33341 to always fail with ENOSYS. Some functions are actually named
33342 something starting with __ and the normal name is an alias. */
33343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33344 choke me
33345 #else
33346 char (*f) () = $ac_func;
33347 #endif
33348 #ifdef __cplusplus
33349 }
33350 #endif
33351
33352 int
33353 main ()
33354 {
33355 return f != $ac_func;
33356 ;
33357 return 0;
33358 }
33359 _ACEOF
33360 rm -f conftest.$ac_objext conftest$ac_exeext
33361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33362 (eval $ac_link) 2>conftest.er1
33363 ac_status=$?
33364 grep -v '^ *+' conftest.er1 >conftest.err
33365 rm -f conftest.er1
33366 cat conftest.err >&5
33367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368 (exit $ac_status); } &&
33369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33371 (eval $ac_try) 2>&5
33372 ac_status=$?
33373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33374 (exit $ac_status); }; } &&
33375 { ac_try='test -s conftest$ac_exeext'
33376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33377 (eval $ac_try) 2>&5
33378 ac_status=$?
33379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33380 (exit $ac_status); }; }; then
33381 eval "$as_ac_var=yes"
33382 else
33383 echo "$as_me: failed program was:" >&5
33384 sed 's/^/| /' conftest.$ac_ext >&5
33385
33386 eval "$as_ac_var=no"
33387 fi
33388 rm -f conftest.err conftest.$ac_objext \
33389 conftest$ac_exeext conftest.$ac_ext
33390 fi
33391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33393 if test `eval echo '${'$as_ac_var'}'` = yes; then
33394 cat >>confdefs.h <<_ACEOF
33395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33396 _ACEOF
33397 break
33398 fi
33399 done
33400
33401
33402 HAVE_SOME_SLEEP_FUNC=0
33403 if test "$USE_BEOS" = 1; then
33404 cat >>confdefs.h <<\_ACEOF
33405 #define HAVE_SLEEP 1
33406 _ACEOF
33407
33408 HAVE_SOME_SLEEP_FUNC=1
33409 fi
33410
33411 if test "$USE_DARWIN" = 1; then
33412 cat >>confdefs.h <<\_ACEOF
33413 #define HAVE_USLEEP 1
33414 _ACEOF
33415
33416 HAVE_SOME_SLEEP_FUNC=1
33417 fi
33418
33419 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
33420 POSIX4_LINK=
33421
33422 for ac_func in nanosleep
33423 do
33424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33425 echo "$as_me:$LINENO: checking for $ac_func" >&5
33426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33427 if eval "test \"\${$as_ac_var+set}\" = set"; then
33428 echo $ECHO_N "(cached) $ECHO_C" >&6
33429 else
33430 cat >conftest.$ac_ext <<_ACEOF
33431 /* confdefs.h. */
33432 _ACEOF
33433 cat confdefs.h >>conftest.$ac_ext
33434 cat >>conftest.$ac_ext <<_ACEOF
33435 /* end confdefs.h. */
33436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33438 #define $ac_func innocuous_$ac_func
33439
33440 /* System header to define __stub macros and hopefully few prototypes,
33441 which can conflict with char $ac_func (); below.
33442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33443 <limits.h> exists even on freestanding compilers. */
33444
33445 #ifdef __STDC__
33446 # include <limits.h>
33447 #else
33448 # include <assert.h>
33449 #endif
33450
33451 #undef $ac_func
33452
33453 /* Override any gcc2 internal prototype to avoid an error. */
33454 #ifdef __cplusplus
33455 extern "C"
33456 {
33457 #endif
33458 /* We use char because int might match the return type of a gcc2
33459 builtin and then its argument prototype would still apply. */
33460 char $ac_func ();
33461 /* The GNU C library defines this for functions which it implements
33462 to always fail with ENOSYS. Some functions are actually named
33463 something starting with __ and the normal name is an alias. */
33464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33465 choke me
33466 #else
33467 char (*f) () = $ac_func;
33468 #endif
33469 #ifdef __cplusplus
33470 }
33471 #endif
33472
33473 int
33474 main ()
33475 {
33476 return f != $ac_func;
33477 ;
33478 return 0;
33479 }
33480 _ACEOF
33481 rm -f conftest.$ac_objext conftest$ac_exeext
33482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33483 (eval $ac_link) 2>conftest.er1
33484 ac_status=$?
33485 grep -v '^ *+' conftest.er1 >conftest.err
33486 rm -f conftest.er1
33487 cat conftest.err >&5
33488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33489 (exit $ac_status); } &&
33490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33492 (eval $ac_try) 2>&5
33493 ac_status=$?
33494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33495 (exit $ac_status); }; } &&
33496 { ac_try='test -s conftest$ac_exeext'
33497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33498 (eval $ac_try) 2>&5
33499 ac_status=$?
33500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33501 (exit $ac_status); }; }; then
33502 eval "$as_ac_var=yes"
33503 else
33504 echo "$as_me: failed program was:" >&5
33505 sed 's/^/| /' conftest.$ac_ext >&5
33506
33507 eval "$as_ac_var=no"
33508 fi
33509 rm -f conftest.err conftest.$ac_objext \
33510 conftest$ac_exeext conftest.$ac_ext
33511 fi
33512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33514 if test `eval echo '${'$as_ac_var'}'` = yes; then
33515 cat >>confdefs.h <<_ACEOF
33516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33517 _ACEOF
33518 cat >>confdefs.h <<\_ACEOF
33519 #define HAVE_NANOSLEEP 1
33520 _ACEOF
33521
33522 else
33523
33524 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
33525 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
33526 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
33527 echo $ECHO_N "(cached) $ECHO_C" >&6
33528 else
33529 ac_check_lib_save_LIBS=$LIBS
33530 LIBS="-lposix4 $LIBS"
33531 cat >conftest.$ac_ext <<_ACEOF
33532 /* confdefs.h. */
33533 _ACEOF
33534 cat confdefs.h >>conftest.$ac_ext
33535 cat >>conftest.$ac_ext <<_ACEOF
33536 /* end confdefs.h. */
33537
33538 /* Override any gcc2 internal prototype to avoid an error. */
33539 #ifdef __cplusplus
33540 extern "C"
33541 #endif
33542 /* We use char because int might match the return type of a gcc2
33543 builtin and then its argument prototype would still apply. */
33544 char nanosleep ();
33545 int
33546 main ()
33547 {
33548 nanosleep ();
33549 ;
33550 return 0;
33551 }
33552 _ACEOF
33553 rm -f conftest.$ac_objext conftest$ac_exeext
33554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33555 (eval $ac_link) 2>conftest.er1
33556 ac_status=$?
33557 grep -v '^ *+' conftest.er1 >conftest.err
33558 rm -f conftest.er1
33559 cat conftest.err >&5
33560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33561 (exit $ac_status); } &&
33562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33564 (eval $ac_try) 2>&5
33565 ac_status=$?
33566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33567 (exit $ac_status); }; } &&
33568 { ac_try='test -s conftest$ac_exeext'
33569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33570 (eval $ac_try) 2>&5
33571 ac_status=$?
33572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33573 (exit $ac_status); }; }; then
33574 ac_cv_lib_posix4_nanosleep=yes
33575 else
33576 echo "$as_me: failed program was:" >&5
33577 sed 's/^/| /' conftest.$ac_ext >&5
33578
33579 ac_cv_lib_posix4_nanosleep=no
33580 fi
33581 rm -f conftest.err conftest.$ac_objext \
33582 conftest$ac_exeext conftest.$ac_ext
33583 LIBS=$ac_check_lib_save_LIBS
33584 fi
33585 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
33586 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
33587 if test $ac_cv_lib_posix4_nanosleep = yes; then
33588
33589 cat >>confdefs.h <<\_ACEOF
33590 #define HAVE_NANOSLEEP 1
33591 _ACEOF
33592
33593 POSIX4_LINK=" -lposix4"
33594
33595 else
33596
33597
33598 for ac_func in usleep
33599 do
33600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33601 echo "$as_me:$LINENO: checking for $ac_func" >&5
33602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33603 if eval "test \"\${$as_ac_var+set}\" = set"; then
33604 echo $ECHO_N "(cached) $ECHO_C" >&6
33605 else
33606 cat >conftest.$ac_ext <<_ACEOF
33607 /* confdefs.h. */
33608 _ACEOF
33609 cat confdefs.h >>conftest.$ac_ext
33610 cat >>conftest.$ac_ext <<_ACEOF
33611 /* end confdefs.h. */
33612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33614 #define $ac_func innocuous_$ac_func
33615
33616 /* System header to define __stub macros and hopefully few prototypes,
33617 which can conflict with char $ac_func (); below.
33618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33619 <limits.h> exists even on freestanding compilers. */
33620
33621 #ifdef __STDC__
33622 # include <limits.h>
33623 #else
33624 # include <assert.h>
33625 #endif
33626
33627 #undef $ac_func
33628
33629 /* Override any gcc2 internal prototype to avoid an error. */
33630 #ifdef __cplusplus
33631 extern "C"
33632 {
33633 #endif
33634 /* We use char because int might match the return type of a gcc2
33635 builtin and then its argument prototype would still apply. */
33636 char $ac_func ();
33637 /* The GNU C library defines this for functions which it implements
33638 to always fail with ENOSYS. Some functions are actually named
33639 something starting with __ and the normal name is an alias. */
33640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33641 choke me
33642 #else
33643 char (*f) () = $ac_func;
33644 #endif
33645 #ifdef __cplusplus
33646 }
33647 #endif
33648
33649 int
33650 main ()
33651 {
33652 return f != $ac_func;
33653 ;
33654 return 0;
33655 }
33656 _ACEOF
33657 rm -f conftest.$ac_objext conftest$ac_exeext
33658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33659 (eval $ac_link) 2>conftest.er1
33660 ac_status=$?
33661 grep -v '^ *+' conftest.er1 >conftest.err
33662 rm -f conftest.er1
33663 cat conftest.err >&5
33664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33665 (exit $ac_status); } &&
33666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33668 (eval $ac_try) 2>&5
33669 ac_status=$?
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); }; } &&
33672 { ac_try='test -s conftest$ac_exeext'
33673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33674 (eval $ac_try) 2>&5
33675 ac_status=$?
33676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33677 (exit $ac_status); }; }; then
33678 eval "$as_ac_var=yes"
33679 else
33680 echo "$as_me: failed program was:" >&5
33681 sed 's/^/| /' conftest.$ac_ext >&5
33682
33683 eval "$as_ac_var=no"
33684 fi
33685 rm -f conftest.err conftest.$ac_objext \
33686 conftest$ac_exeext conftest.$ac_ext
33687 fi
33688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33690 if test `eval echo '${'$as_ac_var'}'` = yes; then
33691 cat >>confdefs.h <<_ACEOF
33692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33693 _ACEOF
33694 cat >>confdefs.h <<\_ACEOF
33695 #define HAVE_USLEEP 1
33696 _ACEOF
33697
33698 else
33699 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
33700 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
33701
33702 fi
33703 done
33704
33705
33706
33707 fi
33708
33709
33710
33711 fi
33712 done
33713
33714 fi
33715
33716
33717
33718 for ac_func in uname gethostname
33719 do
33720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33721 echo "$as_me:$LINENO: checking for $ac_func" >&5
33722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33723 if eval "test \"\${$as_ac_var+set}\" = set"; then
33724 echo $ECHO_N "(cached) $ECHO_C" >&6
33725 else
33726 cat >conftest.$ac_ext <<_ACEOF
33727 /* confdefs.h. */
33728 _ACEOF
33729 cat confdefs.h >>conftest.$ac_ext
33730 cat >>conftest.$ac_ext <<_ACEOF
33731 /* end confdefs.h. */
33732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33734 #define $ac_func innocuous_$ac_func
33735
33736 /* System header to define __stub macros and hopefully few prototypes,
33737 which can conflict with char $ac_func (); below.
33738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33739 <limits.h> exists even on freestanding compilers. */
33740
33741 #ifdef __STDC__
33742 # include <limits.h>
33743 #else
33744 # include <assert.h>
33745 #endif
33746
33747 #undef $ac_func
33748
33749 /* Override any gcc2 internal prototype to avoid an error. */
33750 #ifdef __cplusplus
33751 extern "C"
33752 {
33753 #endif
33754 /* We use char because int might match the return type of a gcc2
33755 builtin and then its argument prototype would still apply. */
33756 char $ac_func ();
33757 /* The GNU C library defines this for functions which it implements
33758 to always fail with ENOSYS. Some functions are actually named
33759 something starting with __ and the normal name is an alias. */
33760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33761 choke me
33762 #else
33763 char (*f) () = $ac_func;
33764 #endif
33765 #ifdef __cplusplus
33766 }
33767 #endif
33768
33769 int
33770 main ()
33771 {
33772 return f != $ac_func;
33773 ;
33774 return 0;
33775 }
33776 _ACEOF
33777 rm -f conftest.$ac_objext conftest$ac_exeext
33778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33779 (eval $ac_link) 2>conftest.er1
33780 ac_status=$?
33781 grep -v '^ *+' conftest.er1 >conftest.err
33782 rm -f conftest.er1
33783 cat conftest.err >&5
33784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33785 (exit $ac_status); } &&
33786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33788 (eval $ac_try) 2>&5
33789 ac_status=$?
33790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33791 (exit $ac_status); }; } &&
33792 { ac_try='test -s conftest$ac_exeext'
33793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33794 (eval $ac_try) 2>&5
33795 ac_status=$?
33796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33797 (exit $ac_status); }; }; then
33798 eval "$as_ac_var=yes"
33799 else
33800 echo "$as_me: failed program was:" >&5
33801 sed 's/^/| /' conftest.$ac_ext >&5
33802
33803 eval "$as_ac_var=no"
33804 fi
33805 rm -f conftest.err conftest.$ac_objext \
33806 conftest$ac_exeext conftest.$ac_ext
33807 fi
33808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33810 if test `eval echo '${'$as_ac_var'}'` = yes; then
33811 cat >>confdefs.h <<_ACEOF
33812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33813 _ACEOF
33814 break
33815 fi
33816 done
33817
33818
33819
33820
33821 ac_ext=cc
33822 ac_cpp='$CXXCPP $CPPFLAGS'
33823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33826
33827
33828
33829 for ac_func in strtok_r
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_cxx_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
33926 fi
33927 done
33928
33929
33930 ac_ext=c
33931 ac_cpp='$CPP $CPPFLAGS'
33932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33935
33936
33937 INET_LINK=
33938
33939 for ac_func in inet_addr
33940 do
33941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33942 echo "$as_me:$LINENO: checking for $ac_func" >&5
33943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33944 if eval "test \"\${$as_ac_var+set}\" = set"; then
33945 echo $ECHO_N "(cached) $ECHO_C" >&6
33946 else
33947 cat >conftest.$ac_ext <<_ACEOF
33948 /* confdefs.h. */
33949 _ACEOF
33950 cat confdefs.h >>conftest.$ac_ext
33951 cat >>conftest.$ac_ext <<_ACEOF
33952 /* end confdefs.h. */
33953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33955 #define $ac_func innocuous_$ac_func
33956
33957 /* System header to define __stub macros and hopefully few prototypes,
33958 which can conflict with char $ac_func (); below.
33959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33960 <limits.h> exists even on freestanding compilers. */
33961
33962 #ifdef __STDC__
33963 # include <limits.h>
33964 #else
33965 # include <assert.h>
33966 #endif
33967
33968 #undef $ac_func
33969
33970 /* Override any gcc2 internal prototype to avoid an error. */
33971 #ifdef __cplusplus
33972 extern "C"
33973 {
33974 #endif
33975 /* We use char because int might match the return type of a gcc2
33976 builtin and then its argument prototype would still apply. */
33977 char $ac_func ();
33978 /* The GNU C library defines this for functions which it implements
33979 to always fail with ENOSYS. Some functions are actually named
33980 something starting with __ and the normal name is an alias. */
33981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33982 choke me
33983 #else
33984 char (*f) () = $ac_func;
33985 #endif
33986 #ifdef __cplusplus
33987 }
33988 #endif
33989
33990 int
33991 main ()
33992 {
33993 return f != $ac_func;
33994 ;
33995 return 0;
33996 }
33997 _ACEOF
33998 rm -f conftest.$ac_objext conftest$ac_exeext
33999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34000 (eval $ac_link) 2>conftest.er1
34001 ac_status=$?
34002 grep -v '^ *+' conftest.er1 >conftest.err
34003 rm -f conftest.er1
34004 cat conftest.err >&5
34005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34006 (exit $ac_status); } &&
34007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34009 (eval $ac_try) 2>&5
34010 ac_status=$?
34011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34012 (exit $ac_status); }; } &&
34013 { ac_try='test -s conftest$ac_exeext'
34014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34015 (eval $ac_try) 2>&5
34016 ac_status=$?
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); }; }; then
34019 eval "$as_ac_var=yes"
34020 else
34021 echo "$as_me: failed program was:" >&5
34022 sed 's/^/| /' conftest.$ac_ext >&5
34023
34024 eval "$as_ac_var=no"
34025 fi
34026 rm -f conftest.err conftest.$ac_objext \
34027 conftest$ac_exeext conftest.$ac_ext
34028 fi
34029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34031 if test `eval echo '${'$as_ac_var'}'` = yes; then
34032 cat >>confdefs.h <<_ACEOF
34033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34034 _ACEOF
34035 cat >>confdefs.h <<\_ACEOF
34036 #define HAVE_INET_ADDR 1
34037 _ACEOF
34038
34039 else
34040
34041 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
34042 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
34043 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
34044 echo $ECHO_N "(cached) $ECHO_C" >&6
34045 else
34046 ac_check_lib_save_LIBS=$LIBS
34047 LIBS="-lnsl $LIBS"
34048 cat >conftest.$ac_ext <<_ACEOF
34049 /* confdefs.h. */
34050 _ACEOF
34051 cat confdefs.h >>conftest.$ac_ext
34052 cat >>conftest.$ac_ext <<_ACEOF
34053 /* end confdefs.h. */
34054
34055 /* Override any gcc2 internal prototype to avoid an error. */
34056 #ifdef __cplusplus
34057 extern "C"
34058 #endif
34059 /* We use char because int might match the return type of a gcc2
34060 builtin and then its argument prototype would still apply. */
34061 char inet_addr ();
34062 int
34063 main ()
34064 {
34065 inet_addr ();
34066 ;
34067 return 0;
34068 }
34069 _ACEOF
34070 rm -f conftest.$ac_objext conftest$ac_exeext
34071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34072 (eval $ac_link) 2>conftest.er1
34073 ac_status=$?
34074 grep -v '^ *+' conftest.er1 >conftest.err
34075 rm -f conftest.er1
34076 cat conftest.err >&5
34077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34078 (exit $ac_status); } &&
34079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34081 (eval $ac_try) 2>&5
34082 ac_status=$?
34083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34084 (exit $ac_status); }; } &&
34085 { ac_try='test -s conftest$ac_exeext'
34086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34087 (eval $ac_try) 2>&5
34088 ac_status=$?
34089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34090 (exit $ac_status); }; }; then
34091 ac_cv_lib_nsl_inet_addr=yes
34092 else
34093 echo "$as_me: failed program was:" >&5
34094 sed 's/^/| /' conftest.$ac_ext >&5
34095
34096 ac_cv_lib_nsl_inet_addr=no
34097 fi
34098 rm -f conftest.err conftest.$ac_objext \
34099 conftest$ac_exeext conftest.$ac_ext
34100 LIBS=$ac_check_lib_save_LIBS
34101 fi
34102 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
34103 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
34104 if test $ac_cv_lib_nsl_inet_addr = yes; then
34105 INET_LINK="nsl"
34106 else
34107
34108 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
34109 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
34110 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
34111 echo $ECHO_N "(cached) $ECHO_C" >&6
34112 else
34113 ac_check_lib_save_LIBS=$LIBS
34114 LIBS="-lresolv $LIBS"
34115 cat >conftest.$ac_ext <<_ACEOF
34116 /* confdefs.h. */
34117 _ACEOF
34118 cat confdefs.h >>conftest.$ac_ext
34119 cat >>conftest.$ac_ext <<_ACEOF
34120 /* end confdefs.h. */
34121
34122 /* Override any gcc2 internal prototype to avoid an error. */
34123 #ifdef __cplusplus
34124 extern "C"
34125 #endif
34126 /* We use char because int might match the return type of a gcc2
34127 builtin and then its argument prototype would still apply. */
34128 char inet_addr ();
34129 int
34130 main ()
34131 {
34132 inet_addr ();
34133 ;
34134 return 0;
34135 }
34136 _ACEOF
34137 rm -f conftest.$ac_objext conftest$ac_exeext
34138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34139 (eval $ac_link) 2>conftest.er1
34140 ac_status=$?
34141 grep -v '^ *+' conftest.er1 >conftest.err
34142 rm -f conftest.er1
34143 cat conftest.err >&5
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); } &&
34146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34148 (eval $ac_try) 2>&5
34149 ac_status=$?
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); }; } &&
34152 { ac_try='test -s conftest$ac_exeext'
34153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34154 (eval $ac_try) 2>&5
34155 ac_status=$?
34156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34157 (exit $ac_status); }; }; then
34158 ac_cv_lib_resolv_inet_addr=yes
34159 else
34160 echo "$as_me: failed program was:" >&5
34161 sed 's/^/| /' conftest.$ac_ext >&5
34162
34163 ac_cv_lib_resolv_inet_addr=no
34164 fi
34165 rm -f conftest.err conftest.$ac_objext \
34166 conftest$ac_exeext conftest.$ac_ext
34167 LIBS=$ac_check_lib_save_LIBS
34168 fi
34169 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
34170 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
34171 if test $ac_cv_lib_resolv_inet_addr = yes; then
34172 INET_LINK="resolv"
34173 else
34174
34175 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
34176 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
34177 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
34178 echo $ECHO_N "(cached) $ECHO_C" >&6
34179 else
34180 ac_check_lib_save_LIBS=$LIBS
34181 LIBS="-lsocket $LIBS"
34182 cat >conftest.$ac_ext <<_ACEOF
34183 /* confdefs.h. */
34184 _ACEOF
34185 cat confdefs.h >>conftest.$ac_ext
34186 cat >>conftest.$ac_ext <<_ACEOF
34187 /* end confdefs.h. */
34188
34189 /* Override any gcc2 internal prototype to avoid an error. */
34190 #ifdef __cplusplus
34191 extern "C"
34192 #endif
34193 /* We use char because int might match the return type of a gcc2
34194 builtin and then its argument prototype would still apply. */
34195 char inet_addr ();
34196 int
34197 main ()
34198 {
34199 inet_addr ();
34200 ;
34201 return 0;
34202 }
34203 _ACEOF
34204 rm -f conftest.$ac_objext conftest$ac_exeext
34205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34206 (eval $ac_link) 2>conftest.er1
34207 ac_status=$?
34208 grep -v '^ *+' conftest.er1 >conftest.err
34209 rm -f conftest.er1
34210 cat conftest.err >&5
34211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34212 (exit $ac_status); } &&
34213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34215 (eval $ac_try) 2>&5
34216 ac_status=$?
34217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34218 (exit $ac_status); }; } &&
34219 { ac_try='test -s conftest$ac_exeext'
34220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34221 (eval $ac_try) 2>&5
34222 ac_status=$?
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); }; }; then
34225 ac_cv_lib_socket_inet_addr=yes
34226 else
34227 echo "$as_me: failed program was:" >&5
34228 sed 's/^/| /' conftest.$ac_ext >&5
34229
34230 ac_cv_lib_socket_inet_addr=no
34231 fi
34232 rm -f conftest.err conftest.$ac_objext \
34233 conftest$ac_exeext conftest.$ac_ext
34234 LIBS=$ac_check_lib_save_LIBS
34235 fi
34236 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
34237 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
34238 if test $ac_cv_lib_socket_inet_addr = yes; then
34239 INET_LINK="socket"
34240
34241 fi
34242
34243
34244
34245 fi
34246
34247
34248
34249 fi
34250
34251
34252
34253 fi
34254 done
34255
34256
34257
34258 for ac_func in inet_aton
34259 do
34260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34261 echo "$as_me:$LINENO: checking for $ac_func" >&5
34262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34263 if eval "test \"\${$as_ac_var+set}\" = set"; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34265 else
34266 cat >conftest.$ac_ext <<_ACEOF
34267 /* confdefs.h. */
34268 _ACEOF
34269 cat confdefs.h >>conftest.$ac_ext
34270 cat >>conftest.$ac_ext <<_ACEOF
34271 /* end confdefs.h. */
34272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34274 #define $ac_func innocuous_$ac_func
34275
34276 /* System header to define __stub macros and hopefully few prototypes,
34277 which can conflict with char $ac_func (); below.
34278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34279 <limits.h> exists even on freestanding compilers. */
34280
34281 #ifdef __STDC__
34282 # include <limits.h>
34283 #else
34284 # include <assert.h>
34285 #endif
34286
34287 #undef $ac_func
34288
34289 /* Override any gcc2 internal prototype to avoid an error. */
34290 #ifdef __cplusplus
34291 extern "C"
34292 {
34293 #endif
34294 /* We use char because int might match the return type of a gcc2
34295 builtin and then its argument prototype would still apply. */
34296 char $ac_func ();
34297 /* The GNU C library defines this for functions which it implements
34298 to always fail with ENOSYS. Some functions are actually named
34299 something starting with __ and the normal name is an alias. */
34300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34301 choke me
34302 #else
34303 char (*f) () = $ac_func;
34304 #endif
34305 #ifdef __cplusplus
34306 }
34307 #endif
34308
34309 int
34310 main ()
34311 {
34312 return f != $ac_func;
34313 ;
34314 return 0;
34315 }
34316 _ACEOF
34317 rm -f conftest.$ac_objext conftest$ac_exeext
34318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34319 (eval $ac_link) 2>conftest.er1
34320 ac_status=$?
34321 grep -v '^ *+' conftest.er1 >conftest.err
34322 rm -f conftest.er1
34323 cat conftest.err >&5
34324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34325 (exit $ac_status); } &&
34326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34328 (eval $ac_try) 2>&5
34329 ac_status=$?
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); }; } &&
34332 { ac_try='test -s conftest$ac_exeext'
34333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34334 (eval $ac_try) 2>&5
34335 ac_status=$?
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); }; }; then
34338 eval "$as_ac_var=yes"
34339 else
34340 echo "$as_me: failed program was:" >&5
34341 sed 's/^/| /' conftest.$ac_ext >&5
34342
34343 eval "$as_ac_var=no"
34344 fi
34345 rm -f conftest.err conftest.$ac_objext \
34346 conftest$ac_exeext conftest.$ac_ext
34347 fi
34348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34350 if test `eval echo '${'$as_ac_var'}'` = yes; then
34351 cat >>confdefs.h <<_ACEOF
34352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34353 _ACEOF
34354 cat >>confdefs.h <<\_ACEOF
34355 #define HAVE_INET_ATON 1
34356 _ACEOF
34357
34358 else
34359
34360 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
34361 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
34362 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
34363 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
34364 echo $ECHO_N "(cached) $ECHO_C" >&6
34365 else
34366 ac_check_lib_save_LIBS=$LIBS
34367 LIBS="-l$INET_LINK $LIBS"
34368 cat >conftest.$ac_ext <<_ACEOF
34369 /* confdefs.h. */
34370 _ACEOF
34371 cat confdefs.h >>conftest.$ac_ext
34372 cat >>conftest.$ac_ext <<_ACEOF
34373 /* end confdefs.h. */
34374
34375 /* Override any gcc2 internal prototype to avoid an error. */
34376 #ifdef __cplusplus
34377 extern "C"
34378 #endif
34379 /* We use char because int might match the return type of a gcc2
34380 builtin and then its argument prototype would still apply. */
34381 char inet_aton ();
34382 int
34383 main ()
34384 {
34385 inet_aton ();
34386 ;
34387 return 0;
34388 }
34389 _ACEOF
34390 rm -f conftest.$ac_objext conftest$ac_exeext
34391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34392 (eval $ac_link) 2>conftest.er1
34393 ac_status=$?
34394 grep -v '^ *+' conftest.er1 >conftest.err
34395 rm -f conftest.er1
34396 cat conftest.err >&5
34397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34398 (exit $ac_status); } &&
34399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34401 (eval $ac_try) 2>&5
34402 ac_status=$?
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); }; } &&
34405 { ac_try='test -s conftest$ac_exeext'
34406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34407 (eval $ac_try) 2>&5
34408 ac_status=$?
34409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34410 (exit $ac_status); }; }; then
34411 eval "$as_ac_Lib=yes"
34412 else
34413 echo "$as_me: failed program was:" >&5
34414 sed 's/^/| /' conftest.$ac_ext >&5
34415
34416 eval "$as_ac_Lib=no"
34417 fi
34418 rm -f conftest.err conftest.$ac_objext \
34419 conftest$ac_exeext conftest.$ac_ext
34420 LIBS=$ac_check_lib_save_LIBS
34421 fi
34422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
34423 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
34424 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
34425 cat >>confdefs.h <<\_ACEOF
34426 #define HAVE_INET_ATON 1
34427 _ACEOF
34428
34429 fi
34430
34431
34432 fi
34433 done
34434
34435
34436 if test "x$INET_LINK" != "x"; then
34437 cat >>confdefs.h <<\_ACEOF
34438 #define HAVE_INET_ADDR 1
34439 _ACEOF
34440
34441 INET_LINK=" -l$INET_LINK"
34442 fi
34443
34444 fi
34445
34446
34447
34448 EXTRALIBS_ESD=
34449 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34450 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34451 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34452 echo $ECHO_N "(cached) $ECHO_C" >&6
34453 else
34454 ac_check_lib_save_LIBS=$LIBS
34455 LIBS="-lesd $LIBS"
34456 cat >conftest.$ac_ext <<_ACEOF
34457 /* confdefs.h. */
34458 _ACEOF
34459 cat confdefs.h >>conftest.$ac_ext
34460 cat >>conftest.$ac_ext <<_ACEOF
34461 /* end confdefs.h. */
34462
34463 /* Override any gcc2 internal prototype to avoid an error. */
34464 #ifdef __cplusplus
34465 extern "C"
34466 #endif
34467 /* We use char because int might match the return type of a gcc2
34468 builtin and then its argument prototype would still apply. */
34469 char esd_close ();
34470 int
34471 main ()
34472 {
34473 esd_close ();
34474 ;
34475 return 0;
34476 }
34477 _ACEOF
34478 rm -f conftest.$ac_objext conftest$ac_exeext
34479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34480 (eval $ac_link) 2>conftest.er1
34481 ac_status=$?
34482 grep -v '^ *+' conftest.er1 >conftest.err
34483 rm -f conftest.er1
34484 cat conftest.err >&5
34485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34486 (exit $ac_status); } &&
34487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34489 (eval $ac_try) 2>&5
34490 ac_status=$?
34491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34492 (exit $ac_status); }; } &&
34493 { ac_try='test -s conftest$ac_exeext'
34494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34495 (eval $ac_try) 2>&5
34496 ac_status=$?
34497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34498 (exit $ac_status); }; }; then
34499 ac_cv_lib_esd_esd_close=yes
34500 else
34501 echo "$as_me: failed program was:" >&5
34502 sed 's/^/| /' conftest.$ac_ext >&5
34503
34504 ac_cv_lib_esd_esd_close=no
34505 fi
34506 rm -f conftest.err conftest.$ac_objext \
34507 conftest$ac_exeext conftest.$ac_ext
34508 LIBS=$ac_check_lib_save_LIBS
34509 fi
34510 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
34511 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
34512 if test $ac_cv_lib_esd_esd_close = yes; then
34513
34514
34515 for ac_header in esd.h
34516 do
34517 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34519 echo "$as_me:$LINENO: checking for $ac_header" >&5
34520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34522 echo $ECHO_N "(cached) $ECHO_C" >&6
34523 fi
34524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34526 else
34527 # Is the header compilable?
34528 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34529 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34530 cat >conftest.$ac_ext <<_ACEOF
34531 /* confdefs.h. */
34532 _ACEOF
34533 cat confdefs.h >>conftest.$ac_ext
34534 cat >>conftest.$ac_ext <<_ACEOF
34535 /* end confdefs.h. */
34536 $ac_includes_default
34537 #include <$ac_header>
34538 _ACEOF
34539 rm -f conftest.$ac_objext
34540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34541 (eval $ac_compile) 2>conftest.er1
34542 ac_status=$?
34543 grep -v '^ *+' conftest.er1 >conftest.err
34544 rm -f conftest.er1
34545 cat conftest.err >&5
34546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34547 (exit $ac_status); } &&
34548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34550 (eval $ac_try) 2>&5
34551 ac_status=$?
34552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34553 (exit $ac_status); }; } &&
34554 { ac_try='test -s conftest.$ac_objext'
34555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34556 (eval $ac_try) 2>&5
34557 ac_status=$?
34558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34559 (exit $ac_status); }; }; then
34560 ac_header_compiler=yes
34561 else
34562 echo "$as_me: failed program was:" >&5
34563 sed 's/^/| /' conftest.$ac_ext >&5
34564
34565 ac_header_compiler=no
34566 fi
34567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34568 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34569 echo "${ECHO_T}$ac_header_compiler" >&6
34570
34571 # Is the header present?
34572 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34573 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34574 cat >conftest.$ac_ext <<_ACEOF
34575 /* confdefs.h. */
34576 _ACEOF
34577 cat confdefs.h >>conftest.$ac_ext
34578 cat >>conftest.$ac_ext <<_ACEOF
34579 /* end confdefs.h. */
34580 #include <$ac_header>
34581 _ACEOF
34582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34584 ac_status=$?
34585 grep -v '^ *+' conftest.er1 >conftest.err
34586 rm -f conftest.er1
34587 cat conftest.err >&5
34588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34589 (exit $ac_status); } >/dev/null; then
34590 if test -s conftest.err; then
34591 ac_cpp_err=$ac_c_preproc_warn_flag
34592 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34593 else
34594 ac_cpp_err=
34595 fi
34596 else
34597 ac_cpp_err=yes
34598 fi
34599 if test -z "$ac_cpp_err"; then
34600 ac_header_preproc=yes
34601 else
34602 echo "$as_me: failed program was:" >&5
34603 sed 's/^/| /' conftest.$ac_ext >&5
34604
34605 ac_header_preproc=no
34606 fi
34607 rm -f conftest.err conftest.$ac_ext
34608 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34609 echo "${ECHO_T}$ac_header_preproc" >&6
34610
34611 # So? What about this header?
34612 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34613 yes:no: )
34614 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34615 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34617 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34618 ac_header_preproc=yes
34619 ;;
34620 no:yes:* )
34621 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34622 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34623 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34624 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34625 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34626 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34627 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34628 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34630 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34631 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34632 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34633 (
34634 cat <<\_ASBOX
34635 ## ----------------------------------------- ##
34636 ## Report this to wx-dev@lists.wxwidgets.org ##
34637 ## ----------------------------------------- ##
34638 _ASBOX
34639 ) |
34640 sed "s/^/$as_me: WARNING: /" >&2
34641 ;;
34642 esac
34643 echo "$as_me:$LINENO: checking for $ac_header" >&5
34644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34646 echo $ECHO_N "(cached) $ECHO_C" >&6
34647 else
34648 eval "$as_ac_Header=\$ac_header_preproc"
34649 fi
34650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34652
34653 fi
34654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34655 cat >>confdefs.h <<_ACEOF
34656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34657 _ACEOF
34658
34659 EXTRALIBS_ESD="-lesd"
34660
34661 fi
34662
34663 done
34664
34665
34666 fi
34667
34668
34669
34670 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
34671 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
34672 cat >conftest.$ac_ext <<_ACEOF
34673 /* confdefs.h. */
34674 _ACEOF
34675 cat confdefs.h >>conftest.$ac_ext
34676 cat >>conftest.$ac_ext <<_ACEOF
34677 /* end confdefs.h. */
34678 #ifdef __linux__
34679 #include <linux/cdrom.h>
34680 #else
34681 /* For Solaris */
34682 #include <sys/cdio.h>
34683 #endif
34684
34685 int
34686 main ()
34687 {
34688 struct cdrom_tocentry entry, old_entry;
34689 ;
34690 return 0;
34691 }
34692 _ACEOF
34693 rm -f conftest.$ac_objext
34694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34695 (eval $ac_compile) 2>conftest.er1
34696 ac_status=$?
34697 grep -v '^ *+' conftest.er1 >conftest.err
34698 rm -f conftest.er1
34699 cat conftest.err >&5
34700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34701 (exit $ac_status); } &&
34702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34704 (eval $ac_try) 2>&5
34705 ac_status=$?
34706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34707 (exit $ac_status); }; } &&
34708 { ac_try='test -s conftest.$ac_objext'
34709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34710 (eval $ac_try) 2>&5
34711 ac_status=$?
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); }; }; then
34714 echo "$as_me:$LINENO: result: yes" >&5
34715 echo "${ECHO_T}yes" >&6
34716 cat >>confdefs.h <<\_ACEOF
34717 #define HAVE_KNOWN_CDROM_INTERFACE 1
34718 _ACEOF
34719
34720 else
34721 echo "$as_me: failed program was:" >&5
34722 sed 's/^/| /' conftest.$ac_ext >&5
34723
34724 echo "$as_me:$LINENO: result: no" >&5
34725 echo "${ECHO_T}no" >&6
34726 fi
34727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34728
34729
34730 cat >confcache <<\_ACEOF
34731 # This file is a shell script that caches the results of configure
34732 # tests run on this system so they can be shared between configure
34733 # scripts and configure runs, see configure's option --config-cache.
34734 # It is not useful on other systems. If it contains results you don't
34735 # want to keep, you may remove or edit it.
34736 #
34737 # config.status only pays attention to the cache file if you give it
34738 # the --recheck option to rerun configure.
34739 #
34740 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34741 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34742 # following values.
34743
34744 _ACEOF
34745
34746 # The following way of writing the cache mishandles newlines in values,
34747 # but we know of no workaround that is simple, portable, and efficient.
34748 # So, don't put newlines in cache variables' values.
34749 # Ultrix sh set writes to stderr and can't be redirected directly,
34750 # and sets the high bit in the cache file unless we assign to the vars.
34751 {
34752 (set) 2>&1 |
34753 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34754 *ac_space=\ *)
34755 # `set' does not quote correctly, so add quotes (double-quote
34756 # substitution turns \\\\ into \\, and sed turns \\ into \).
34757 sed -n \
34758 "s/'/'\\\\''/g;
34759 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34760 ;;
34761 *)
34762 # `set' quotes correctly as required by POSIX, so do not add quotes.
34763 sed -n \
34764 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34765 ;;
34766 esac;
34767 } |
34768 sed '
34769 t clear
34770 : clear
34771 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34772 t end
34773 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34774 : end' >>confcache
34775 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34776 if test -w $cache_file; then
34777 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34778 cat confcache >$cache_file
34779 else
34780 echo "not updating unwritable cache $cache_file"
34781 fi
34782 fi
34783 rm -f confcache
34784
34785
34786 CPP_MT_FLAG=
34787 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34788
34789
34790 THREADS_LINK=
34791 THREADS_CFLAGS=
34792
34793 if test "$wxUSE_THREADS" = "yes" ; then
34794 if test "$USE_BEOS" = 1; then
34795 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
34796 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
34797 wxUSE_THREADS="no"
34798 fi
34799 fi
34800
34801 if test "$wxUSE_THREADS" = "yes" ; then
34802
34803
34804 THREAD_OPTS="-pthread"
34805 case "${host}" in
34806 *-*-solaris2* | *-*-sunos4* )
34807 if test "x$GCC" = "xyes"; then
34808 THREAD_OPTS="-pthreads $THREAD_OPTS"
34809 else
34810 THREAD_OPTS="-mt $THREAD_OPTS"
34811 fi
34812 ;;
34813 *-*-freebsd*)
34814 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
34815 ;;
34816 *-*-darwin* | *-*-cygwin* )
34817 THREAD_OPTS=""
34818 ;;
34819 *-*-aix*)
34820 THREAD_OPTS="pthreads"
34821 ;;
34822 *-hp-hpux* )
34823 if test "x$GCC" = "xyes"; then
34824 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
34825 THREAD_OPTS=""
34826 else
34827 THREAD_OPTS=""
34828 fi
34829 ;;
34830
34831 *-*-irix* )
34832 if test "x$GCC" = "xyes"; then
34833 THREAD_OPTS=""
34834 fi
34835 ;;
34836
34837 *-*-*UnixWare*)
34838 if test "x$GCC" != "xyes"; then
34839 THREAD_OPTS="-Ethread"
34840 fi
34841 ;;
34842 esac
34843
34844 THREAD_OPTS="$THREAD_OPTS pthread none"
34845
34846 THREADS_OK=no
34847 for flag in $THREAD_OPTS; do
34848 case $flag in
34849 none)
34850 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34851 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34852 ;;
34853
34854 -*)
34855 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34856 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34857 THREADS_CFLAGS="$flag"
34858 ;;
34859
34860 *)
34861 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34862 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34863 THREADS_LINK="-l$flag"
34864 ;;
34865 esac
34866
34867 save_LIBS="$LIBS"
34868 save_CFLAGS="$CFLAGS"
34869 LIBS="$THREADS_LINK $LIBS"
34870 CFLAGS="$THREADS_CFLAGS $CFLAGS"
34871
34872 cat >conftest.$ac_ext <<_ACEOF
34873 /* confdefs.h. */
34874 _ACEOF
34875 cat confdefs.h >>conftest.$ac_ext
34876 cat >>conftest.$ac_ext <<_ACEOF
34877 /* end confdefs.h. */
34878 #include <pthread.h>
34879 int
34880 main ()
34881 {
34882 pthread_create(0,0,0,0);
34883 ;
34884 return 0;
34885 }
34886 _ACEOF
34887 rm -f conftest.$ac_objext conftest$ac_exeext
34888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34889 (eval $ac_link) 2>conftest.er1
34890 ac_status=$?
34891 grep -v '^ *+' conftest.er1 >conftest.err
34892 rm -f conftest.er1
34893 cat conftest.err >&5
34894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34895 (exit $ac_status); } &&
34896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34898 (eval $ac_try) 2>&5
34899 ac_status=$?
34900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34901 (exit $ac_status); }; } &&
34902 { ac_try='test -s conftest$ac_exeext'
34903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34904 (eval $ac_try) 2>&5
34905 ac_status=$?
34906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907 (exit $ac_status); }; }; then
34908 THREADS_OK=yes
34909 else
34910 echo "$as_me: failed program was:" >&5
34911 sed 's/^/| /' conftest.$ac_ext >&5
34912
34913 fi
34914 rm -f conftest.err conftest.$ac_objext \
34915 conftest$ac_exeext conftest.$ac_ext
34916
34917 LIBS="$save_LIBS"
34918 CFLAGS="$save_CFLAGS"
34919
34920 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34921 echo "${ECHO_T}$THREADS_OK" >&6
34922 if test "x$THREADS_OK" = "xyes"; then
34923 break;
34924 fi
34925
34926 THREADS_LINK=""
34927 THREADS_CFLAGS=""
34928 done
34929
34930 if test "x$THREADS_OK" != "xyes"; then
34931 wxUSE_THREADS=no
34932 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34933 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34934 else
34935 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
34936 LIBS="$THREADS_LINK $LIBS"
34937
34938 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34939 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34940 flag=no
34941 case "${host}" in
34942 *-aix*)
34943 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
34944 flag="-D_THREAD_SAFE"
34945 ;;
34946 *-freebsd*)
34947 flag="-D_THREAD_SAFE"
34948 ;;
34949 *-hp-hpux* )
34950 flag="-D_REENTRANT"
34951 if test "x$GCC" != "xyes"; then
34952 flag="$flag -D_RWSTD_MULTI_THREAD"
34953 fi
34954 ;;
34955 *solaris* | alpha*-osf*)
34956 flag="-D_REENTRANT"
34957 ;;
34958 esac
34959 echo "$as_me:$LINENO: result: ${flag}" >&5
34960 echo "${ECHO_T}${flag}" >&6
34961 if test "x$flag" != xno; then
34962 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
34963 fi
34964
34965 if test "x$THREADS_CFLAGS" != "x"; then
34966 CFLAGS="$CFLAGS $THREADS_CFLAGS"
34967 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
34968 fi
34969 fi
34970 fi
34971
34972 if test "$wxUSE_THREADS" = "yes" ; then
34973
34974 for ac_func in thr_setconcurrency
34975 do
34976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34977 echo "$as_me:$LINENO: checking for $ac_func" >&5
34978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34979 if eval "test \"\${$as_ac_var+set}\" = set"; then
34980 echo $ECHO_N "(cached) $ECHO_C" >&6
34981 else
34982 cat >conftest.$ac_ext <<_ACEOF
34983 /* confdefs.h. */
34984 _ACEOF
34985 cat confdefs.h >>conftest.$ac_ext
34986 cat >>conftest.$ac_ext <<_ACEOF
34987 /* end confdefs.h. */
34988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34990 #define $ac_func innocuous_$ac_func
34991
34992 /* System header to define __stub macros and hopefully few prototypes,
34993 which can conflict with char $ac_func (); below.
34994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34995 <limits.h> exists even on freestanding compilers. */
34996
34997 #ifdef __STDC__
34998 # include <limits.h>
34999 #else
35000 # include <assert.h>
35001 #endif
35002
35003 #undef $ac_func
35004
35005 /* Override any gcc2 internal prototype to avoid an error. */
35006 #ifdef __cplusplus
35007 extern "C"
35008 {
35009 #endif
35010 /* We use char because int might match the return type of a gcc2
35011 builtin and then its argument prototype would still apply. */
35012 char $ac_func ();
35013 /* The GNU C library defines this for functions which it implements
35014 to always fail with ENOSYS. Some functions are actually named
35015 something starting with __ and the normal name is an alias. */
35016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35017 choke me
35018 #else
35019 char (*f) () = $ac_func;
35020 #endif
35021 #ifdef __cplusplus
35022 }
35023 #endif
35024
35025 int
35026 main ()
35027 {
35028 return f != $ac_func;
35029 ;
35030 return 0;
35031 }
35032 _ACEOF
35033 rm -f conftest.$ac_objext conftest$ac_exeext
35034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35035 (eval $ac_link) 2>conftest.er1
35036 ac_status=$?
35037 grep -v '^ *+' conftest.er1 >conftest.err
35038 rm -f conftest.er1
35039 cat conftest.err >&5
35040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35041 (exit $ac_status); } &&
35042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35044 (eval $ac_try) 2>&5
35045 ac_status=$?
35046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35047 (exit $ac_status); }; } &&
35048 { ac_try='test -s conftest$ac_exeext'
35049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35050 (eval $ac_try) 2>&5
35051 ac_status=$?
35052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35053 (exit $ac_status); }; }; then
35054 eval "$as_ac_var=yes"
35055 else
35056 echo "$as_me: failed program was:" >&5
35057 sed 's/^/| /' conftest.$ac_ext >&5
35058
35059 eval "$as_ac_var=no"
35060 fi
35061 rm -f conftest.err conftest.$ac_objext \
35062 conftest$ac_exeext conftest.$ac_ext
35063 fi
35064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35066 if test `eval echo '${'$as_ac_var'}'` = yes; then
35067 cat >>confdefs.h <<_ACEOF
35068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35069 _ACEOF
35070
35071 fi
35072 done
35073
35074
35075 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
35076 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
35077 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
35078 echo $ECHO_N "(cached) $ECHO_C" >&6
35079 else
35080
35081 cat >conftest.$ac_ext <<_ACEOF
35082 /* confdefs.h. */
35083 _ACEOF
35084 cat confdefs.h >>conftest.$ac_ext
35085 cat >>conftest.$ac_ext <<_ACEOF
35086 /* end confdefs.h. */
35087 #include <pthread.h>
35088 void ThreadCleanupFunc(void *p);
35089
35090 int
35091 main ()
35092 {
35093
35094 void *p;
35095 pthread_cleanup_push(ThreadCleanupFunc, p);
35096 pthread_cleanup_pop(0);
35097
35098 ;
35099 return 0;
35100 }
35101 _ACEOF
35102 rm -f conftest.$ac_objext
35103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35104 (eval $ac_compile) 2>conftest.er1
35105 ac_status=$?
35106 grep -v '^ *+' conftest.er1 >conftest.err
35107 rm -f conftest.er1
35108 cat conftest.err >&5
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); } &&
35111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35113 (eval $ac_try) 2>&5
35114 ac_status=$?
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); }; } &&
35117 { ac_try='test -s conftest.$ac_objext'
35118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35119 (eval $ac_try) 2>&5
35120 ac_status=$?
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); }; }; then
35123
35124 wx_cv_func_pthread_cleanup=yes
35125
35126 else
35127 echo "$as_me: failed program was:" >&5
35128 sed 's/^/| /' conftest.$ac_ext >&5
35129
35130
35131 wx_cv_func_pthread_cleanup=no
35132
35133
35134 fi
35135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35136
35137 fi
35138 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
35139 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
35140 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
35141 cat >>confdefs.h <<\_ACEOF
35142 #define wxHAVE_PTHREAD_CLEANUP 1
35143 _ACEOF
35144
35145 fi
35146
35147
35148 for ac_header in sched.h
35149 do
35150 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35152 echo "$as_me:$LINENO: checking for $ac_header" >&5
35153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35155 echo $ECHO_N "(cached) $ECHO_C" >&6
35156 fi
35157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35159 else
35160 # Is the header compilable?
35161 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35162 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35163 cat >conftest.$ac_ext <<_ACEOF
35164 /* confdefs.h. */
35165 _ACEOF
35166 cat confdefs.h >>conftest.$ac_ext
35167 cat >>conftest.$ac_ext <<_ACEOF
35168 /* end confdefs.h. */
35169 $ac_includes_default
35170 #include <$ac_header>
35171 _ACEOF
35172 rm -f conftest.$ac_objext
35173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35174 (eval $ac_compile) 2>conftest.er1
35175 ac_status=$?
35176 grep -v '^ *+' conftest.er1 >conftest.err
35177 rm -f conftest.er1
35178 cat conftest.err >&5
35179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35180 (exit $ac_status); } &&
35181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35183 (eval $ac_try) 2>&5
35184 ac_status=$?
35185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35186 (exit $ac_status); }; } &&
35187 { ac_try='test -s conftest.$ac_objext'
35188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35189 (eval $ac_try) 2>&5
35190 ac_status=$?
35191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35192 (exit $ac_status); }; }; then
35193 ac_header_compiler=yes
35194 else
35195 echo "$as_me: failed program was:" >&5
35196 sed 's/^/| /' conftest.$ac_ext >&5
35197
35198 ac_header_compiler=no
35199 fi
35200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35201 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35202 echo "${ECHO_T}$ac_header_compiler" >&6
35203
35204 # Is the header present?
35205 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35206 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35207 cat >conftest.$ac_ext <<_ACEOF
35208 /* confdefs.h. */
35209 _ACEOF
35210 cat confdefs.h >>conftest.$ac_ext
35211 cat >>conftest.$ac_ext <<_ACEOF
35212 /* end confdefs.h. */
35213 #include <$ac_header>
35214 _ACEOF
35215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35217 ac_status=$?
35218 grep -v '^ *+' conftest.er1 >conftest.err
35219 rm -f conftest.er1
35220 cat conftest.err >&5
35221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35222 (exit $ac_status); } >/dev/null; then
35223 if test -s conftest.err; then
35224 ac_cpp_err=$ac_c_preproc_warn_flag
35225 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35226 else
35227 ac_cpp_err=
35228 fi
35229 else
35230 ac_cpp_err=yes
35231 fi
35232 if test -z "$ac_cpp_err"; then
35233 ac_header_preproc=yes
35234 else
35235 echo "$as_me: failed program was:" >&5
35236 sed 's/^/| /' conftest.$ac_ext >&5
35237
35238 ac_header_preproc=no
35239 fi
35240 rm -f conftest.err conftest.$ac_ext
35241 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35242 echo "${ECHO_T}$ac_header_preproc" >&6
35243
35244 # So? What about this header?
35245 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35246 yes:no: )
35247 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35248 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35250 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35251 ac_header_preproc=yes
35252 ;;
35253 no:yes:* )
35254 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35255 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35256 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35257 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35258 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35259 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35260 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35261 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35263 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35264 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35265 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35266 (
35267 cat <<\_ASBOX
35268 ## ----------------------------------------- ##
35269 ## Report this to wx-dev@lists.wxwidgets.org ##
35270 ## ----------------------------------------- ##
35271 _ASBOX
35272 ) |
35273 sed "s/^/$as_me: WARNING: /" >&2
35274 ;;
35275 esac
35276 echo "$as_me:$LINENO: checking for $ac_header" >&5
35277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35279 echo $ECHO_N "(cached) $ECHO_C" >&6
35280 else
35281 eval "$as_ac_Header=\$ac_header_preproc"
35282 fi
35283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35284 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35285
35286 fi
35287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35288 cat >>confdefs.h <<_ACEOF
35289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35290 _ACEOF
35291
35292 fi
35293
35294 done
35295
35296 if test "$ac_cv_header_sched_h" = "yes"; then
35297 echo "$as_me:$LINENO: checking for sched_yield" >&5
35298 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
35299 if test "${ac_cv_func_sched_yield+set}" = set; then
35300 echo $ECHO_N "(cached) $ECHO_C" >&6
35301 else
35302 cat >conftest.$ac_ext <<_ACEOF
35303 /* confdefs.h. */
35304 _ACEOF
35305 cat confdefs.h >>conftest.$ac_ext
35306 cat >>conftest.$ac_ext <<_ACEOF
35307 /* end confdefs.h. */
35308 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
35309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35310 #define sched_yield innocuous_sched_yield
35311
35312 /* System header to define __stub macros and hopefully few prototypes,
35313 which can conflict with char sched_yield (); below.
35314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35315 <limits.h> exists even on freestanding compilers. */
35316
35317 #ifdef __STDC__
35318 # include <limits.h>
35319 #else
35320 # include <assert.h>
35321 #endif
35322
35323 #undef sched_yield
35324
35325 /* Override any gcc2 internal prototype to avoid an error. */
35326 #ifdef __cplusplus
35327 extern "C"
35328 {
35329 #endif
35330 /* We use char because int might match the return type of a gcc2
35331 builtin and then its argument prototype would still apply. */
35332 char sched_yield ();
35333 /* The GNU C library defines this for functions which it implements
35334 to always fail with ENOSYS. Some functions are actually named
35335 something starting with __ and the normal name is an alias. */
35336 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
35337 choke me
35338 #else
35339 char (*f) () = sched_yield;
35340 #endif
35341 #ifdef __cplusplus
35342 }
35343 #endif
35344
35345 int
35346 main ()
35347 {
35348 return f != sched_yield;
35349 ;
35350 return 0;
35351 }
35352 _ACEOF
35353 rm -f conftest.$ac_objext conftest$ac_exeext
35354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35355 (eval $ac_link) 2>conftest.er1
35356 ac_status=$?
35357 grep -v '^ *+' conftest.er1 >conftest.err
35358 rm -f conftest.er1
35359 cat conftest.err >&5
35360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361 (exit $ac_status); } &&
35362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35364 (eval $ac_try) 2>&5
35365 ac_status=$?
35366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367 (exit $ac_status); }; } &&
35368 { ac_try='test -s conftest$ac_exeext'
35369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35370 (eval $ac_try) 2>&5
35371 ac_status=$?
35372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373 (exit $ac_status); }; }; then
35374 ac_cv_func_sched_yield=yes
35375 else
35376 echo "$as_me: failed program was:" >&5
35377 sed 's/^/| /' conftest.$ac_ext >&5
35378
35379 ac_cv_func_sched_yield=no
35380 fi
35381 rm -f conftest.err conftest.$ac_objext \
35382 conftest$ac_exeext conftest.$ac_ext
35383 fi
35384 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
35385 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
35386 if test $ac_cv_func_sched_yield = yes; then
35387 cat >>confdefs.h <<\_ACEOF
35388 #define HAVE_SCHED_YIELD 1
35389 _ACEOF
35390
35391 else
35392
35393 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
35394 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
35395 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
35396 echo $ECHO_N "(cached) $ECHO_C" >&6
35397 else
35398 ac_check_lib_save_LIBS=$LIBS
35399 LIBS="-lposix4 $LIBS"
35400 cat >conftest.$ac_ext <<_ACEOF
35401 /* confdefs.h. */
35402 _ACEOF
35403 cat confdefs.h >>conftest.$ac_ext
35404 cat >>conftest.$ac_ext <<_ACEOF
35405 /* end confdefs.h. */
35406
35407 /* Override any gcc2 internal prototype to avoid an error. */
35408 #ifdef __cplusplus
35409 extern "C"
35410 #endif
35411 /* We use char because int might match the return type of a gcc2
35412 builtin and then its argument prototype would still apply. */
35413 char sched_yield ();
35414 int
35415 main ()
35416 {
35417 sched_yield ();
35418 ;
35419 return 0;
35420 }
35421 _ACEOF
35422 rm -f conftest.$ac_objext conftest$ac_exeext
35423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35424 (eval $ac_link) 2>conftest.er1
35425 ac_status=$?
35426 grep -v '^ *+' conftest.er1 >conftest.err
35427 rm -f conftest.er1
35428 cat conftest.err >&5
35429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35430 (exit $ac_status); } &&
35431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35433 (eval $ac_try) 2>&5
35434 ac_status=$?
35435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35436 (exit $ac_status); }; } &&
35437 { ac_try='test -s conftest$ac_exeext'
35438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35439 (eval $ac_try) 2>&5
35440 ac_status=$?
35441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35442 (exit $ac_status); }; }; then
35443 ac_cv_lib_posix4_sched_yield=yes
35444 else
35445 echo "$as_me: failed program was:" >&5
35446 sed 's/^/| /' conftest.$ac_ext >&5
35447
35448 ac_cv_lib_posix4_sched_yield=no
35449 fi
35450 rm -f conftest.err conftest.$ac_objext \
35451 conftest$ac_exeext conftest.$ac_ext
35452 LIBS=$ac_check_lib_save_LIBS
35453 fi
35454 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
35455 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
35456 if test $ac_cv_lib_posix4_sched_yield = yes; then
35457 cat >>confdefs.h <<\_ACEOF
35458 #define HAVE_SCHED_YIELD 1
35459 _ACEOF
35460 POSIX4_LINK=" -lposix4"
35461 else
35462 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
35463 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
35464
35465 fi
35466
35467
35468
35469 fi
35470
35471 fi
35472
35473 HAVE_PRIOR_FUNCS=0
35474 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
35475 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
35476 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
35477 echo $ECHO_N "(cached) $ECHO_C" >&6
35478 else
35479 cat >conftest.$ac_ext <<_ACEOF
35480 /* confdefs.h. */
35481 _ACEOF
35482 cat confdefs.h >>conftest.$ac_ext
35483 cat >>conftest.$ac_ext <<_ACEOF
35484 /* end confdefs.h. */
35485 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
35486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35487 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
35488
35489 /* System header to define __stub macros and hopefully few prototypes,
35490 which can conflict with char pthread_attr_getschedpolicy (); below.
35491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35492 <limits.h> exists even on freestanding compilers. */
35493
35494 #ifdef __STDC__
35495 # include <limits.h>
35496 #else
35497 # include <assert.h>
35498 #endif
35499
35500 #undef pthread_attr_getschedpolicy
35501
35502 /* Override any gcc2 internal prototype to avoid an error. */
35503 #ifdef __cplusplus
35504 extern "C"
35505 {
35506 #endif
35507 /* We use char because int might match the return type of a gcc2
35508 builtin and then its argument prototype would still apply. */
35509 char pthread_attr_getschedpolicy ();
35510 /* The GNU C library defines this for functions which it implements
35511 to always fail with ENOSYS. Some functions are actually named
35512 something starting with __ and the normal name is an alias. */
35513 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
35514 choke me
35515 #else
35516 char (*f) () = pthread_attr_getschedpolicy;
35517 #endif
35518 #ifdef __cplusplus
35519 }
35520 #endif
35521
35522 int
35523 main ()
35524 {
35525 return f != pthread_attr_getschedpolicy;
35526 ;
35527 return 0;
35528 }
35529 _ACEOF
35530 rm -f conftest.$ac_objext conftest$ac_exeext
35531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35532 (eval $ac_link) 2>conftest.er1
35533 ac_status=$?
35534 grep -v '^ *+' conftest.er1 >conftest.err
35535 rm -f conftest.er1
35536 cat conftest.err >&5
35537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35538 (exit $ac_status); } &&
35539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35541 (eval $ac_try) 2>&5
35542 ac_status=$?
35543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35544 (exit $ac_status); }; } &&
35545 { ac_try='test -s conftest$ac_exeext'
35546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35547 (eval $ac_try) 2>&5
35548 ac_status=$?
35549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35550 (exit $ac_status); }; }; then
35551 ac_cv_func_pthread_attr_getschedpolicy=yes
35552 else
35553 echo "$as_me: failed program was:" >&5
35554 sed 's/^/| /' conftest.$ac_ext >&5
35555
35556 ac_cv_func_pthread_attr_getschedpolicy=no
35557 fi
35558 rm -f conftest.err conftest.$ac_objext \
35559 conftest$ac_exeext conftest.$ac_ext
35560 fi
35561 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
35562 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
35563 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
35564 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
35565 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
35566 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
35567 echo $ECHO_N "(cached) $ECHO_C" >&6
35568 else
35569 cat >conftest.$ac_ext <<_ACEOF
35570 /* confdefs.h. */
35571 _ACEOF
35572 cat confdefs.h >>conftest.$ac_ext
35573 cat >>conftest.$ac_ext <<_ACEOF
35574 /* end confdefs.h. */
35575 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
35576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35577 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
35578
35579 /* System header to define __stub macros and hopefully few prototypes,
35580 which can conflict with char pthread_attr_setschedparam (); below.
35581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35582 <limits.h> exists even on freestanding compilers. */
35583
35584 #ifdef __STDC__
35585 # include <limits.h>
35586 #else
35587 # include <assert.h>
35588 #endif
35589
35590 #undef pthread_attr_setschedparam
35591
35592 /* Override any gcc2 internal prototype to avoid an error. */
35593 #ifdef __cplusplus
35594 extern "C"
35595 {
35596 #endif
35597 /* We use char because int might match the return type of a gcc2
35598 builtin and then its argument prototype would still apply. */
35599 char pthread_attr_setschedparam ();
35600 /* The GNU C library defines this for functions which it implements
35601 to always fail with ENOSYS. Some functions are actually named
35602 something starting with __ and the normal name is an alias. */
35603 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
35604 choke me
35605 #else
35606 char (*f) () = pthread_attr_setschedparam;
35607 #endif
35608 #ifdef __cplusplus
35609 }
35610 #endif
35611
35612 int
35613 main ()
35614 {
35615 return f != pthread_attr_setschedparam;
35616 ;
35617 return 0;
35618 }
35619 _ACEOF
35620 rm -f conftest.$ac_objext conftest$ac_exeext
35621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35622 (eval $ac_link) 2>conftest.er1
35623 ac_status=$?
35624 grep -v '^ *+' conftest.er1 >conftest.err
35625 rm -f conftest.er1
35626 cat conftest.err >&5
35627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35628 (exit $ac_status); } &&
35629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35631 (eval $ac_try) 2>&5
35632 ac_status=$?
35633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35634 (exit $ac_status); }; } &&
35635 { ac_try='test -s conftest$ac_exeext'
35636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35637 (eval $ac_try) 2>&5
35638 ac_status=$?
35639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35640 (exit $ac_status); }; }; then
35641 ac_cv_func_pthread_attr_setschedparam=yes
35642 else
35643 echo "$as_me: failed program was:" >&5
35644 sed 's/^/| /' conftest.$ac_ext >&5
35645
35646 ac_cv_func_pthread_attr_setschedparam=no
35647 fi
35648 rm -f conftest.err conftest.$ac_objext \
35649 conftest$ac_exeext conftest.$ac_ext
35650 fi
35651 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
35652 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
35653 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
35654 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
35655 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
35656 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
35657 echo $ECHO_N "(cached) $ECHO_C" >&6
35658 else
35659 cat >conftest.$ac_ext <<_ACEOF
35660 /* confdefs.h. */
35661 _ACEOF
35662 cat confdefs.h >>conftest.$ac_ext
35663 cat >>conftest.$ac_ext <<_ACEOF
35664 /* end confdefs.h. */
35665 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
35666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35667 #define sched_get_priority_max innocuous_sched_get_priority_max
35668
35669 /* System header to define __stub macros and hopefully few prototypes,
35670 which can conflict with char sched_get_priority_max (); below.
35671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35672 <limits.h> exists even on freestanding compilers. */
35673
35674 #ifdef __STDC__
35675 # include <limits.h>
35676 #else
35677 # include <assert.h>
35678 #endif
35679
35680 #undef sched_get_priority_max
35681
35682 /* Override any gcc2 internal prototype to avoid an error. */
35683 #ifdef __cplusplus
35684 extern "C"
35685 {
35686 #endif
35687 /* We use char because int might match the return type of a gcc2
35688 builtin and then its argument prototype would still apply. */
35689 char sched_get_priority_max ();
35690 /* The GNU C library defines this for functions which it implements
35691 to always fail with ENOSYS. Some functions are actually named
35692 something starting with __ and the normal name is an alias. */
35693 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
35694 choke me
35695 #else
35696 char (*f) () = sched_get_priority_max;
35697 #endif
35698 #ifdef __cplusplus
35699 }
35700 #endif
35701
35702 int
35703 main ()
35704 {
35705 return f != sched_get_priority_max;
35706 ;
35707 return 0;
35708 }
35709 _ACEOF
35710 rm -f conftest.$ac_objext conftest$ac_exeext
35711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35712 (eval $ac_link) 2>conftest.er1
35713 ac_status=$?
35714 grep -v '^ *+' conftest.er1 >conftest.err
35715 rm -f conftest.er1
35716 cat conftest.err >&5
35717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35718 (exit $ac_status); } &&
35719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35721 (eval $ac_try) 2>&5
35722 ac_status=$?
35723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35724 (exit $ac_status); }; } &&
35725 { ac_try='test -s conftest$ac_exeext'
35726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35727 (eval $ac_try) 2>&5
35728 ac_status=$?
35729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 (exit $ac_status); }; }; then
35731 ac_cv_func_sched_get_priority_max=yes
35732 else
35733 echo "$as_me: failed program was:" >&5
35734 sed 's/^/| /' conftest.$ac_ext >&5
35735
35736 ac_cv_func_sched_get_priority_max=no
35737 fi
35738 rm -f conftest.err conftest.$ac_objext \
35739 conftest$ac_exeext conftest.$ac_ext
35740 fi
35741 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
35742 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
35743 if test $ac_cv_func_sched_get_priority_max = yes; then
35744 HAVE_PRIOR_FUNCS=1
35745 else
35746 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
35747 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
35748 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
35749 echo $ECHO_N "(cached) $ECHO_C" >&6
35750 else
35751 ac_check_lib_save_LIBS=$LIBS
35752 LIBS="-lposix4 $LIBS"
35753 cat >conftest.$ac_ext <<_ACEOF
35754 /* confdefs.h. */
35755 _ACEOF
35756 cat confdefs.h >>conftest.$ac_ext
35757 cat >>conftest.$ac_ext <<_ACEOF
35758 /* end confdefs.h. */
35759
35760 /* Override any gcc2 internal prototype to avoid an error. */
35761 #ifdef __cplusplus
35762 extern "C"
35763 #endif
35764 /* We use char because int might match the return type of a gcc2
35765 builtin and then its argument prototype would still apply. */
35766 char sched_get_priority_max ();
35767 int
35768 main ()
35769 {
35770 sched_get_priority_max ();
35771 ;
35772 return 0;
35773 }
35774 _ACEOF
35775 rm -f conftest.$ac_objext conftest$ac_exeext
35776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35777 (eval $ac_link) 2>conftest.er1
35778 ac_status=$?
35779 grep -v '^ *+' conftest.er1 >conftest.err
35780 rm -f conftest.er1
35781 cat conftest.err >&5
35782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35783 (exit $ac_status); } &&
35784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35786 (eval $ac_try) 2>&5
35787 ac_status=$?
35788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35789 (exit $ac_status); }; } &&
35790 { ac_try='test -s conftest$ac_exeext'
35791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35792 (eval $ac_try) 2>&5
35793 ac_status=$?
35794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35795 (exit $ac_status); }; }; then
35796 ac_cv_lib_posix4_sched_get_priority_max=yes
35797 else
35798 echo "$as_me: failed program was:" >&5
35799 sed 's/^/| /' conftest.$ac_ext >&5
35800
35801 ac_cv_lib_posix4_sched_get_priority_max=no
35802 fi
35803 rm -f conftest.err conftest.$ac_objext \
35804 conftest$ac_exeext conftest.$ac_ext
35805 LIBS=$ac_check_lib_save_LIBS
35806 fi
35807 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
35808 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
35809 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
35810
35811 HAVE_PRIOR_FUNCS=1
35812 POSIX4_LINK=" -lposix4"
35813
35814 fi
35815
35816
35817 fi
35818
35819
35820 fi
35821
35822
35823 fi
35824
35825
35826 if test "$HAVE_PRIOR_FUNCS" = 1; then
35827 cat >>confdefs.h <<\_ACEOF
35828 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
35829 _ACEOF
35830
35831 else
35832 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
35833 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
35834 fi
35835
35836 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
35837 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
35838 if test "${ac_cv_func_pthread_cancel+set}" = set; then
35839 echo $ECHO_N "(cached) $ECHO_C" >&6
35840 else
35841 cat >conftest.$ac_ext <<_ACEOF
35842 /* confdefs.h. */
35843 _ACEOF
35844 cat confdefs.h >>conftest.$ac_ext
35845 cat >>conftest.$ac_ext <<_ACEOF
35846 /* end confdefs.h. */
35847 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
35848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35849 #define pthread_cancel innocuous_pthread_cancel
35850
35851 /* System header to define __stub macros and hopefully few prototypes,
35852 which can conflict with char pthread_cancel (); below.
35853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35854 <limits.h> exists even on freestanding compilers. */
35855
35856 #ifdef __STDC__
35857 # include <limits.h>
35858 #else
35859 # include <assert.h>
35860 #endif
35861
35862 #undef pthread_cancel
35863
35864 /* Override any gcc2 internal prototype to avoid an error. */
35865 #ifdef __cplusplus
35866 extern "C"
35867 {
35868 #endif
35869 /* We use char because int might match the return type of a gcc2
35870 builtin and then its argument prototype would still apply. */
35871 char pthread_cancel ();
35872 /* The GNU C library defines this for functions which it implements
35873 to always fail with ENOSYS. Some functions are actually named
35874 something starting with __ and the normal name is an alias. */
35875 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
35876 choke me
35877 #else
35878 char (*f) () = pthread_cancel;
35879 #endif
35880 #ifdef __cplusplus
35881 }
35882 #endif
35883
35884 int
35885 main ()
35886 {
35887 return f != pthread_cancel;
35888 ;
35889 return 0;
35890 }
35891 _ACEOF
35892 rm -f conftest.$ac_objext conftest$ac_exeext
35893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35894 (eval $ac_link) 2>conftest.er1
35895 ac_status=$?
35896 grep -v '^ *+' conftest.er1 >conftest.err
35897 rm -f conftest.er1
35898 cat conftest.err >&5
35899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35900 (exit $ac_status); } &&
35901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35903 (eval $ac_try) 2>&5
35904 ac_status=$?
35905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35906 (exit $ac_status); }; } &&
35907 { ac_try='test -s conftest$ac_exeext'
35908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35909 (eval $ac_try) 2>&5
35910 ac_status=$?
35911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 (exit $ac_status); }; }; then
35913 ac_cv_func_pthread_cancel=yes
35914 else
35915 echo "$as_me: failed program was:" >&5
35916 sed 's/^/| /' conftest.$ac_ext >&5
35917
35918 ac_cv_func_pthread_cancel=no
35919 fi
35920 rm -f conftest.err conftest.$ac_objext \
35921 conftest$ac_exeext conftest.$ac_ext
35922 fi
35923 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35924 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35925 if test $ac_cv_func_pthread_cancel = yes; then
35926 cat >>confdefs.h <<\_ACEOF
35927 #define HAVE_PTHREAD_CANCEL 1
35928 _ACEOF
35929
35930 else
35931 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35932 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35933 fi
35934
35935
35936 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
35937 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
35938 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
35939 echo $ECHO_N "(cached) $ECHO_C" >&6
35940 else
35941 cat >conftest.$ac_ext <<_ACEOF
35942 /* confdefs.h. */
35943 _ACEOF
35944 cat confdefs.h >>conftest.$ac_ext
35945 cat >>conftest.$ac_ext <<_ACEOF
35946 /* end confdefs.h. */
35947 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
35948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35949 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
35950
35951 /* System header to define __stub macros and hopefully few prototypes,
35952 which can conflict with char pthread_attr_setstacksize (); below.
35953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35954 <limits.h> exists even on freestanding compilers. */
35955
35956 #ifdef __STDC__
35957 # include <limits.h>
35958 #else
35959 # include <assert.h>
35960 #endif
35961
35962 #undef pthread_attr_setstacksize
35963
35964 /* Override any gcc2 internal prototype to avoid an error. */
35965 #ifdef __cplusplus
35966 extern "C"
35967 {
35968 #endif
35969 /* We use char because int might match the return type of a gcc2
35970 builtin and then its argument prototype would still apply. */
35971 char pthread_attr_setstacksize ();
35972 /* The GNU C library defines this for functions which it implements
35973 to always fail with ENOSYS. Some functions are actually named
35974 something starting with __ and the normal name is an alias. */
35975 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
35976 choke me
35977 #else
35978 char (*f) () = pthread_attr_setstacksize;
35979 #endif
35980 #ifdef __cplusplus
35981 }
35982 #endif
35983
35984 int
35985 main ()
35986 {
35987 return f != pthread_attr_setstacksize;
35988 ;
35989 return 0;
35990 }
35991 _ACEOF
35992 rm -f conftest.$ac_objext conftest$ac_exeext
35993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35994 (eval $ac_link) 2>conftest.er1
35995 ac_status=$?
35996 grep -v '^ *+' conftest.er1 >conftest.err
35997 rm -f conftest.er1
35998 cat conftest.err >&5
35999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36000 (exit $ac_status); } &&
36001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36003 (eval $ac_try) 2>&5
36004 ac_status=$?
36005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36006 (exit $ac_status); }; } &&
36007 { ac_try='test -s conftest$ac_exeext'
36008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36009 (eval $ac_try) 2>&5
36010 ac_status=$?
36011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36012 (exit $ac_status); }; }; then
36013 ac_cv_func_pthread_attr_setstacksize=yes
36014 else
36015 echo "$as_me: failed program was:" >&5
36016 sed 's/^/| /' conftest.$ac_ext >&5
36017
36018 ac_cv_func_pthread_attr_setstacksize=no
36019 fi
36020 rm -f conftest.err conftest.$ac_objext \
36021 conftest$ac_exeext conftest.$ac_ext
36022 fi
36023 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
36024 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
36025 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
36026 cat >>confdefs.h <<\_ACEOF
36027 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
36028 _ACEOF
36029
36030 fi
36031
36032
36033
36034 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
36035 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
36036 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
36037 echo $ECHO_N "(cached) $ECHO_C" >&6
36038 else
36039
36040 cat >conftest.$ac_ext <<_ACEOF
36041 /* confdefs.h. */
36042 _ACEOF
36043 cat confdefs.h >>conftest.$ac_ext
36044 cat >>conftest.$ac_ext <<_ACEOF
36045 /* end confdefs.h. */
36046 #include <pthread.h>
36047 int
36048 main ()
36049 {
36050
36051 pthread_mutexattr_t attr;
36052 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
36053
36054 ;
36055 return 0;
36056 }
36057 _ACEOF
36058 rm -f conftest.$ac_objext
36059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36060 (eval $ac_compile) 2>conftest.er1
36061 ac_status=$?
36062 grep -v '^ *+' conftest.er1 >conftest.err
36063 rm -f conftest.er1
36064 cat conftest.err >&5
36065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36066 (exit $ac_status); } &&
36067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36069 (eval $ac_try) 2>&5
36070 ac_status=$?
36071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36072 (exit $ac_status); }; } &&
36073 { ac_try='test -s conftest.$ac_objext'
36074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36075 (eval $ac_try) 2>&5
36076 ac_status=$?
36077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36078 (exit $ac_status); }; }; then
36079
36080 wx_cv_type_pthread_mutexattr_t=yes
36081
36082 else
36083 echo "$as_me: failed program was:" >&5
36084 sed 's/^/| /' conftest.$ac_ext >&5
36085
36086
36087 wx_cv_type_pthread_mutexattr_t=no
36088
36089
36090 fi
36091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36092
36093 fi
36094 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
36095 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
36096
36097 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
36098 cat >>confdefs.h <<\_ACEOF
36099 #define HAVE_PTHREAD_MUTEXATTR_T 1
36100 _ACEOF
36101
36102 else
36103 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
36104 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
36105 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
36106 echo $ECHO_N "(cached) $ECHO_C" >&6
36107 else
36108
36109 cat >conftest.$ac_ext <<_ACEOF
36110 /* confdefs.h. */
36111 _ACEOF
36112 cat confdefs.h >>conftest.$ac_ext
36113 cat >>conftest.$ac_ext <<_ACEOF
36114 /* end confdefs.h. */
36115 #include <pthread.h>
36116 int
36117 main ()
36118 {
36119
36120 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
36121
36122 ;
36123 return 0;
36124 }
36125 _ACEOF
36126 rm -f conftest.$ac_objext
36127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36128 (eval $ac_compile) 2>conftest.er1
36129 ac_status=$?
36130 grep -v '^ *+' conftest.er1 >conftest.err
36131 rm -f conftest.er1
36132 cat conftest.err >&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); } &&
36135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36137 (eval $ac_try) 2>&5
36138 ac_status=$?
36139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36140 (exit $ac_status); }; } &&
36141 { ac_try='test -s conftest.$ac_objext'
36142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36143 (eval $ac_try) 2>&5
36144 ac_status=$?
36145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146 (exit $ac_status); }; }; then
36147
36148 wx_cv_type_pthread_rec_mutex_init=yes
36149
36150 else
36151 echo "$as_me: failed program was:" >&5
36152 sed 's/^/| /' conftest.$ac_ext >&5
36153
36154
36155 wx_cv_type_pthread_rec_mutex_init=no
36156
36157
36158 fi
36159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36160
36161 fi
36162 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
36163 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
36164 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
36165 cat >>confdefs.h <<\_ACEOF
36166 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
36167 _ACEOF
36168
36169 else
36170 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
36171 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
36172 fi
36173 fi
36174 fi
36175
36176 else
36177 if test "$wxUSE_THREADS" = "yes" ; then
36178 case "${host}" in
36179 *-*-mingw32* )
36180 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
36181 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
36182 if test "${wx_cv_cflags_mthread+set}" = set; then
36183 echo $ECHO_N "(cached) $ECHO_C" >&6
36184 else
36185
36186 CFLAGS_OLD="$CFLAGS"
36187 CFLAGS="$CFLAGS -mthreads"
36188 cat >conftest.$ac_ext <<_ACEOF
36189 /* confdefs.h. */
36190 _ACEOF
36191 cat confdefs.h >>conftest.$ac_ext
36192 cat >>conftest.$ac_ext <<_ACEOF
36193 /* end confdefs.h. */
36194
36195 int
36196 main ()
36197 {
36198
36199 ;
36200 return 0;
36201 }
36202 _ACEOF
36203 rm -f conftest.$ac_objext
36204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36205 (eval $ac_compile) 2>conftest.er1
36206 ac_status=$?
36207 grep -v '^ *+' conftest.er1 >conftest.err
36208 rm -f conftest.er1
36209 cat conftest.err >&5
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); } &&
36212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36214 (eval $ac_try) 2>&5
36215 ac_status=$?
36216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36217 (exit $ac_status); }; } &&
36218 { ac_try='test -s conftest.$ac_objext'
36219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36220 (eval $ac_try) 2>&5
36221 ac_status=$?
36222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36223 (exit $ac_status); }; }; then
36224 wx_cv_cflags_mthread=yes
36225 else
36226 echo "$as_me: failed program was:" >&5
36227 sed 's/^/| /' conftest.$ac_ext >&5
36228
36229 wx_cv_cflags_mthread=no
36230
36231 fi
36232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36233
36234
36235 fi
36236 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
36237 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
36238
36239 if test "$wx_cv_cflags_mthread" = "yes"; then
36240 CXXFLAGS="$CXXFLAGS -mthreads"
36241 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
36242 LDFLAGS="$LDFLAGS -mthreads"
36243 else
36244 CFLAGS="$CFLAGS_OLD"
36245 fi
36246 ;;
36247 *-pc-os2*emx )
36248 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
36249 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
36250 LDFLAGS="$LDFLAGS -Zmt"
36251 ;;
36252 esac
36253 fi
36254 fi
36255
36256 if test "$wxUSE_THREADS" = "yes"; then
36257 cat >>confdefs.h <<\_ACEOF
36258 #define wxUSE_THREADS 1
36259 _ACEOF
36260
36261
36262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
36263 else
36264 if test "$ac_cv_func_strtok_r" = "yes"; then
36265 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
36266 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
36267 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
36268 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
36269 echo "$as_me:$LINENO: result: yes" >&5
36270 echo "${ECHO_T}yes" >&6
36271 else
36272 echo "$as_me:$LINENO: result: no" >&5
36273 echo "${ECHO_T}no" >&6
36274 fi
36275 fi
36276 fi
36277
36278 if test "$WXGTK20" = 1 ; then
36279 cat >>confdefs.h <<_ACEOF
36280 #define __WXGTK20__ $WXGTK20
36281 _ACEOF
36282
36283 WXGTK12=1
36284 fi
36285
36286 if test "$WXGTK12" = 1 ; then
36287 cat >>confdefs.h <<_ACEOF
36288 #define __WXGTK12__ $WXGTK12
36289 _ACEOF
36290
36291 fi
36292
36293 if test "$WXGTK127" = 1 ; then
36294 cat >>confdefs.h <<_ACEOF
36295 #define __WXGTK127__ $WXGTK127
36296 _ACEOF
36297
36298 fi
36299
36300 if test "$WXGPE" = 1 ; then
36301 cat >>confdefs.h <<_ACEOF
36302 #define __WXGPE__ $WXGPE
36303 _ACEOF
36304
36305 fi
36306
36307 WXDEBUG=
36308
36309 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
36310 WXDEBUG="-g"
36311 wxUSE_OPTIMISE=no
36312 fi
36313
36314 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
36315 wxUSE_DEBUG_INFO=yes
36316 if test "$GCC" = yes; then
36317 WXDEBUG="-ggdb"
36318 fi
36319 fi
36320
36321 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
36322 cat >>confdefs.h <<\_ACEOF
36323 #define WXDEBUG 1
36324 _ACEOF
36325
36326 WXDEBUG_DEFINE="-D__WXDEBUG__"
36327 else
36328 if test "$wxUSE_GTK" = 1 ; then
36329 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
36330 fi
36331 fi
36332
36333 if test "$wxUSE_MEM_TRACING" = "yes" ; then
36334 cat >>confdefs.h <<\_ACEOF
36335 #define wxUSE_MEMORY_TRACING 1
36336 _ACEOF
36337
36338 cat >>confdefs.h <<\_ACEOF
36339 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
36340 _ACEOF
36341
36342 cat >>confdefs.h <<\_ACEOF
36343 #define wxUSE_DEBUG_NEW_ALWAYS 1
36344 _ACEOF
36345
36346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
36347 fi
36348
36349 if test "$wxUSE_DMALLOC" = "yes" ; then
36350 DMALLOC_LIBS="-ldmallocthcxx"
36351 fi
36352
36353 PROFILE=
36354 if test "$wxUSE_PROFILE" = "yes" ; then
36355 PROFILE=" -pg"
36356 fi
36357
36358 CODE_GEN_FLAGS=
36359 CODE_GEN_FLAGS_CXX=
36360 if test "$GCC" = "yes" ; then
36361 if test "$wxUSE_NO_RTTI" = "yes" ; then
36362 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
36363 fi
36364 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36365 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
36366 fi
36367 if test "$wxUSE_PERMISSIVE" = "yes" ; then
36368 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
36369 fi
36370
36371 case "${host}" in
36372 powerpc*-*-aix* )
36373 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
36374 ;;
36375 *-hppa* )
36376 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
36377 ;;
36378 esac
36379 fi
36380
36381 OPTIMISE=
36382 if test "$wxUSE_OPTIMISE" = "no" ; then
36383 if test "$GCC" = yes ; then
36384 OPTIMISE="-O0"
36385 fi
36386 else
36387 if test "$GCC" = yes ; then
36388 OPTIMISE="-O2"
36389
36390 case "${host}" in
36391 i586-*-*|i686-*-* )
36392 OPTIMISE="${OPTIMISE} "
36393 ;;
36394 esac
36395 else
36396 OPTIMISE="-O"
36397 fi
36398 fi
36399
36400
36401 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
36402 cat >>confdefs.h <<\_ACEOF
36403 #define WXWIN_COMPATIBILITY_2_2 1
36404 _ACEOF
36405
36406
36407 WXWIN_COMPATIBILITY_2_4="yes"
36408 fi
36409
36410 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
36411 cat >>confdefs.h <<\_ACEOF
36412 #define WXWIN_COMPATIBILITY_2_4 1
36413 _ACEOF
36414
36415 fi
36416
36417
36418 if test "$wxUSE_GUI" = "yes"; then
36419 cat >>confdefs.h <<\_ACEOF
36420 #define wxUSE_GUI 1
36421 _ACEOF
36422
36423
36424 fi
36425
36426
36427 if test "$wxUSE_UNIX" = "yes"; then
36428 cat >>confdefs.h <<\_ACEOF
36429 #define wxUSE_UNIX 1
36430 _ACEOF
36431
36432 fi
36433
36434
36435 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36436
36437 HAVE_DL_FUNCS=0
36438 HAVE_SHL_FUNCS=0
36439 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36440 if test "$USE_DARWIN" = 1; then
36441 HAVE_DL_FUNCS=1
36442 elif test "$USE_DOS" = 1; then
36443 HAVE_DL_FUNCS=0
36444 else
36445
36446 for ac_func in dlopen
36447 do
36448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36449 echo "$as_me:$LINENO: checking for $ac_func" >&5
36450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36451 if eval "test \"\${$as_ac_var+set}\" = set"; then
36452 echo $ECHO_N "(cached) $ECHO_C" >&6
36453 else
36454 cat >conftest.$ac_ext <<_ACEOF
36455 /* confdefs.h. */
36456 _ACEOF
36457 cat confdefs.h >>conftest.$ac_ext
36458 cat >>conftest.$ac_ext <<_ACEOF
36459 /* end confdefs.h. */
36460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36462 #define $ac_func innocuous_$ac_func
36463
36464 /* System header to define __stub macros and hopefully few prototypes,
36465 which can conflict with char $ac_func (); below.
36466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36467 <limits.h> exists even on freestanding compilers. */
36468
36469 #ifdef __STDC__
36470 # include <limits.h>
36471 #else
36472 # include <assert.h>
36473 #endif
36474
36475 #undef $ac_func
36476
36477 /* Override any gcc2 internal prototype to avoid an error. */
36478 #ifdef __cplusplus
36479 extern "C"
36480 {
36481 #endif
36482 /* We use char because int might match the return type of a gcc2
36483 builtin and then its argument prototype would still apply. */
36484 char $ac_func ();
36485 /* The GNU C library defines this for functions which it implements
36486 to always fail with ENOSYS. Some functions are actually named
36487 something starting with __ and the normal name is an alias. */
36488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36489 choke me
36490 #else
36491 char (*f) () = $ac_func;
36492 #endif
36493 #ifdef __cplusplus
36494 }
36495 #endif
36496
36497 int
36498 main ()
36499 {
36500 return f != $ac_func;
36501 ;
36502 return 0;
36503 }
36504 _ACEOF
36505 rm -f conftest.$ac_objext conftest$ac_exeext
36506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36507 (eval $ac_link) 2>conftest.er1
36508 ac_status=$?
36509 grep -v '^ *+' conftest.er1 >conftest.err
36510 rm -f conftest.er1
36511 cat conftest.err >&5
36512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36513 (exit $ac_status); } &&
36514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36516 (eval $ac_try) 2>&5
36517 ac_status=$?
36518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36519 (exit $ac_status); }; } &&
36520 { ac_try='test -s conftest$ac_exeext'
36521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36522 (eval $ac_try) 2>&5
36523 ac_status=$?
36524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36525 (exit $ac_status); }; }; then
36526 eval "$as_ac_var=yes"
36527 else
36528 echo "$as_me: failed program was:" >&5
36529 sed 's/^/| /' conftest.$ac_ext >&5
36530
36531 eval "$as_ac_var=no"
36532 fi
36533 rm -f conftest.err conftest.$ac_objext \
36534 conftest$ac_exeext conftest.$ac_ext
36535 fi
36536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36538 if test `eval echo '${'$as_ac_var'}'` = yes; then
36539 cat >>confdefs.h <<_ACEOF
36540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36541 _ACEOF
36542
36543 cat >>confdefs.h <<\_ACEOF
36544 #define HAVE_DLOPEN 1
36545 _ACEOF
36546
36547 HAVE_DL_FUNCS=1
36548
36549 else
36550
36551 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
36552 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
36553 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
36554 echo $ECHO_N "(cached) $ECHO_C" >&6
36555 else
36556 ac_check_lib_save_LIBS=$LIBS
36557 LIBS="-ldl $LIBS"
36558 cat >conftest.$ac_ext <<_ACEOF
36559 /* confdefs.h. */
36560 _ACEOF
36561 cat confdefs.h >>conftest.$ac_ext
36562 cat >>conftest.$ac_ext <<_ACEOF
36563 /* end confdefs.h. */
36564
36565 /* Override any gcc2 internal prototype to avoid an error. */
36566 #ifdef __cplusplus
36567 extern "C"
36568 #endif
36569 /* We use char because int might match the return type of a gcc2
36570 builtin and then its argument prototype would still apply. */
36571 char dlopen ();
36572 int
36573 main ()
36574 {
36575 dlopen ();
36576 ;
36577 return 0;
36578 }
36579 _ACEOF
36580 rm -f conftest.$ac_objext conftest$ac_exeext
36581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36582 (eval $ac_link) 2>conftest.er1
36583 ac_status=$?
36584 grep -v '^ *+' conftest.er1 >conftest.err
36585 rm -f conftest.er1
36586 cat conftest.err >&5
36587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36588 (exit $ac_status); } &&
36589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36591 (eval $ac_try) 2>&5
36592 ac_status=$?
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); }; } &&
36595 { ac_try='test -s conftest$ac_exeext'
36596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36597 (eval $ac_try) 2>&5
36598 ac_status=$?
36599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36600 (exit $ac_status); }; }; then
36601 ac_cv_lib_dl_dlopen=yes
36602 else
36603 echo "$as_me: failed program was:" >&5
36604 sed 's/^/| /' conftest.$ac_ext >&5
36605
36606 ac_cv_lib_dl_dlopen=no
36607 fi
36608 rm -f conftest.err conftest.$ac_objext \
36609 conftest$ac_exeext conftest.$ac_ext
36610 LIBS=$ac_check_lib_save_LIBS
36611 fi
36612 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36613 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
36614 if test $ac_cv_lib_dl_dlopen = yes; then
36615
36616 cat >>confdefs.h <<\_ACEOF
36617 #define HAVE_DLOPEN 1
36618 _ACEOF
36619
36620 HAVE_DL_FUNCS=1
36621 DL_LINK=" -ldl$DL_LINK"
36622
36623 else
36624
36625
36626 for ac_func in shl_load
36627 do
36628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36629 echo "$as_me:$LINENO: checking for $ac_func" >&5
36630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36631 if eval "test \"\${$as_ac_var+set}\" = set"; then
36632 echo $ECHO_N "(cached) $ECHO_C" >&6
36633 else
36634 cat >conftest.$ac_ext <<_ACEOF
36635 /* confdefs.h. */
36636 _ACEOF
36637 cat confdefs.h >>conftest.$ac_ext
36638 cat >>conftest.$ac_ext <<_ACEOF
36639 /* end confdefs.h. */
36640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36642 #define $ac_func innocuous_$ac_func
36643
36644 /* System header to define __stub macros and hopefully few prototypes,
36645 which can conflict with char $ac_func (); below.
36646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36647 <limits.h> exists even on freestanding compilers. */
36648
36649 #ifdef __STDC__
36650 # include <limits.h>
36651 #else
36652 # include <assert.h>
36653 #endif
36654
36655 #undef $ac_func
36656
36657 /* Override any gcc2 internal prototype to avoid an error. */
36658 #ifdef __cplusplus
36659 extern "C"
36660 {
36661 #endif
36662 /* We use char because int might match the return type of a gcc2
36663 builtin and then its argument prototype would still apply. */
36664 char $ac_func ();
36665 /* The GNU C library defines this for functions which it implements
36666 to always fail with ENOSYS. Some functions are actually named
36667 something starting with __ and the normal name is an alias. */
36668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36669 choke me
36670 #else
36671 char (*f) () = $ac_func;
36672 #endif
36673 #ifdef __cplusplus
36674 }
36675 #endif
36676
36677 int
36678 main ()
36679 {
36680 return f != $ac_func;
36681 ;
36682 return 0;
36683 }
36684 _ACEOF
36685 rm -f conftest.$ac_objext conftest$ac_exeext
36686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36687 (eval $ac_link) 2>conftest.er1
36688 ac_status=$?
36689 grep -v '^ *+' conftest.er1 >conftest.err
36690 rm -f conftest.er1
36691 cat conftest.err >&5
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); } &&
36694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36696 (eval $ac_try) 2>&5
36697 ac_status=$?
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); }; } &&
36700 { ac_try='test -s conftest$ac_exeext'
36701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36702 (eval $ac_try) 2>&5
36703 ac_status=$?
36704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36705 (exit $ac_status); }; }; then
36706 eval "$as_ac_var=yes"
36707 else
36708 echo "$as_me: failed program was:" >&5
36709 sed 's/^/| /' conftest.$ac_ext >&5
36710
36711 eval "$as_ac_var=no"
36712 fi
36713 rm -f conftest.err conftest.$ac_objext \
36714 conftest$ac_exeext conftest.$ac_ext
36715 fi
36716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36718 if test `eval echo '${'$as_ac_var'}'` = yes; then
36719 cat >>confdefs.h <<_ACEOF
36720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36721 _ACEOF
36722
36723 cat >>confdefs.h <<\_ACEOF
36724 #define HAVE_SHL_LOAD 1
36725 _ACEOF
36726
36727 HAVE_SHL_FUNCS=1
36728
36729 else
36730
36731 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
36732 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
36733 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
36734 echo $ECHO_N "(cached) $ECHO_C" >&6
36735 else
36736 ac_check_lib_save_LIBS=$LIBS
36737 LIBS="-lshl_load $LIBS"
36738 cat >conftest.$ac_ext <<_ACEOF
36739 /* confdefs.h. */
36740 _ACEOF
36741 cat confdefs.h >>conftest.$ac_ext
36742 cat >>conftest.$ac_ext <<_ACEOF
36743 /* end confdefs.h. */
36744
36745 /* Override any gcc2 internal prototype to avoid an error. */
36746 #ifdef __cplusplus
36747 extern "C"
36748 #endif
36749 /* We use char because int might match the return type of a gcc2
36750 builtin and then its argument prototype would still apply. */
36751 char dld ();
36752 int
36753 main ()
36754 {
36755 dld ();
36756 ;
36757 return 0;
36758 }
36759 _ACEOF
36760 rm -f conftest.$ac_objext conftest$ac_exeext
36761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36762 (eval $ac_link) 2>conftest.er1
36763 ac_status=$?
36764 grep -v '^ *+' conftest.er1 >conftest.err
36765 rm -f conftest.er1
36766 cat conftest.err >&5
36767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36768 (exit $ac_status); } &&
36769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36771 (eval $ac_try) 2>&5
36772 ac_status=$?
36773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36774 (exit $ac_status); }; } &&
36775 { ac_try='test -s conftest$ac_exeext'
36776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36777 (eval $ac_try) 2>&5
36778 ac_status=$?
36779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36780 (exit $ac_status); }; }; then
36781 ac_cv_lib_shl_load_dld=yes
36782 else
36783 echo "$as_me: failed program was:" >&5
36784 sed 's/^/| /' conftest.$ac_ext >&5
36785
36786 ac_cv_lib_shl_load_dld=no
36787 fi
36788 rm -f conftest.err conftest.$ac_objext \
36789 conftest$ac_exeext conftest.$ac_ext
36790 LIBS=$ac_check_lib_save_LIBS
36791 fi
36792 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
36793 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
36794 if test $ac_cv_lib_shl_load_dld = yes; then
36795
36796 HAVE_SHL_FUNCS=1
36797 DL_LINK=" -ldld$DL_LINK"
36798
36799 fi
36800
36801
36802 fi
36803 done
36804
36805
36806 fi
36807
36808
36809 fi
36810 done
36811
36812
36813 if test "$HAVE_DL_FUNCS" = 1; then
36814
36815 for ac_func in dlerror
36816 do
36817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36818 echo "$as_me:$LINENO: checking for $ac_func" >&5
36819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36820 if eval "test \"\${$as_ac_var+set}\" = set"; then
36821 echo $ECHO_N "(cached) $ECHO_C" >&6
36822 else
36823 cat >conftest.$ac_ext <<_ACEOF
36824 /* confdefs.h. */
36825 _ACEOF
36826 cat confdefs.h >>conftest.$ac_ext
36827 cat >>conftest.$ac_ext <<_ACEOF
36828 /* end confdefs.h. */
36829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36831 #define $ac_func innocuous_$ac_func
36832
36833 /* System header to define __stub macros and hopefully few prototypes,
36834 which can conflict with char $ac_func (); below.
36835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36836 <limits.h> exists even on freestanding compilers. */
36837
36838 #ifdef __STDC__
36839 # include <limits.h>
36840 #else
36841 # include <assert.h>
36842 #endif
36843
36844 #undef $ac_func
36845
36846 /* Override any gcc2 internal prototype to avoid an error. */
36847 #ifdef __cplusplus
36848 extern "C"
36849 {
36850 #endif
36851 /* We use char because int might match the return type of a gcc2
36852 builtin and then its argument prototype would still apply. */
36853 char $ac_func ();
36854 /* The GNU C library defines this for functions which it implements
36855 to always fail with ENOSYS. Some functions are actually named
36856 something starting with __ and the normal name is an alias. */
36857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36858 choke me
36859 #else
36860 char (*f) () = $ac_func;
36861 #endif
36862 #ifdef __cplusplus
36863 }
36864 #endif
36865
36866 int
36867 main ()
36868 {
36869 return f != $ac_func;
36870 ;
36871 return 0;
36872 }
36873 _ACEOF
36874 rm -f conftest.$ac_objext conftest$ac_exeext
36875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36876 (eval $ac_link) 2>conftest.er1
36877 ac_status=$?
36878 grep -v '^ *+' conftest.er1 >conftest.err
36879 rm -f conftest.er1
36880 cat conftest.err >&5
36881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882 (exit $ac_status); } &&
36883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36885 (eval $ac_try) 2>&5
36886 ac_status=$?
36887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36888 (exit $ac_status); }; } &&
36889 { ac_try='test -s conftest$ac_exeext'
36890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36891 (eval $ac_try) 2>&5
36892 ac_status=$?
36893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36894 (exit $ac_status); }; }; then
36895 eval "$as_ac_var=yes"
36896 else
36897 echo "$as_me: failed program was:" >&5
36898 sed 's/^/| /' conftest.$ac_ext >&5
36899
36900 eval "$as_ac_var=no"
36901 fi
36902 rm -f conftest.err conftest.$ac_objext \
36903 conftest$ac_exeext conftest.$ac_ext
36904 fi
36905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36907 if test `eval echo '${'$as_ac_var'}'` = yes; then
36908 cat >>confdefs.h <<_ACEOF
36909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36910 _ACEOF
36911 cat >>confdefs.h <<\_ACEOF
36912 #define HAVE_DLERROR 1
36913 _ACEOF
36914
36915 else
36916
36917 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
36918 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
36919 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
36920 echo $ECHO_N "(cached) $ECHO_C" >&6
36921 else
36922 ac_check_lib_save_LIBS=$LIBS
36923 LIBS="-ldl $LIBS"
36924 cat >conftest.$ac_ext <<_ACEOF
36925 /* confdefs.h. */
36926 _ACEOF
36927 cat confdefs.h >>conftest.$ac_ext
36928 cat >>conftest.$ac_ext <<_ACEOF
36929 /* end confdefs.h. */
36930
36931 /* Override any gcc2 internal prototype to avoid an error. */
36932 #ifdef __cplusplus
36933 extern "C"
36934 #endif
36935 /* We use char because int might match the return type of a gcc2
36936 builtin and then its argument prototype would still apply. */
36937 char dlerror ();
36938 int
36939 main ()
36940 {
36941 dlerror ();
36942 ;
36943 return 0;
36944 }
36945 _ACEOF
36946 rm -f conftest.$ac_objext conftest$ac_exeext
36947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36948 (eval $ac_link) 2>conftest.er1
36949 ac_status=$?
36950 grep -v '^ *+' conftest.er1 >conftest.err
36951 rm -f conftest.er1
36952 cat conftest.err >&5
36953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954 (exit $ac_status); } &&
36955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36957 (eval $ac_try) 2>&5
36958 ac_status=$?
36959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36960 (exit $ac_status); }; } &&
36961 { ac_try='test -s conftest$ac_exeext'
36962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36963 (eval $ac_try) 2>&5
36964 ac_status=$?
36965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36966 (exit $ac_status); }; }; then
36967 ac_cv_lib_dl_dlerror=yes
36968 else
36969 echo "$as_me: failed program was:" >&5
36970 sed 's/^/| /' conftest.$ac_ext >&5
36971
36972 ac_cv_lib_dl_dlerror=no
36973 fi
36974 rm -f conftest.err conftest.$ac_objext \
36975 conftest$ac_exeext conftest.$ac_ext
36976 LIBS=$ac_check_lib_save_LIBS
36977 fi
36978 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
36979 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
36980 if test $ac_cv_lib_dl_dlerror = yes; then
36981 cat >>confdefs.h <<\_ACEOF
36982 #define HAVE_DLERROR 1
36983 _ACEOF
36984
36985 fi
36986
36987
36988
36989 fi
36990 done
36991
36992 fi
36993 fi
36994
36995 if test "$HAVE_DL_FUNCS" = 0; then
36996 if test "$HAVE_SHL_FUNCS" = 0; then
36997 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
36998 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36999 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
37000 wxUSE_DYNAMIC_LOADER=no
37001 wxUSE_DYNLIB_CLASS=no
37002 else
37003 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
37004 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
37005 fi
37006 fi
37007 fi
37008 fi
37009 fi
37010
37011 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
37012 cat >>confdefs.h <<\_ACEOF
37013 #define wxUSE_DYNAMIC_LOADER 1
37014 _ACEOF
37015
37016 fi
37017 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
37018 cat >>confdefs.h <<\_ACEOF
37019 #define wxUSE_DYNLIB_CLASS 1
37020 _ACEOF
37021
37022 fi
37023
37024
37025
37026 if test "$wxUSE_PLUGINS" = "yes" ; then
37027 if test "$wxUSE_SHARED" = "no" ; then
37028 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
37029 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
37030 wxUSE_PLUGINS=no
37031 fi
37032 if test "$wxUSE_MONOLITHIC" = "yes" ; then
37033 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
37034 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
37035 wxUSE_PLUGINS=no
37036 fi
37037 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
37038 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
37039 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
37040 wxUSE_PLUGINS=no
37041 fi
37042 if test "$wxUSE_PLUGINS" = "yes" ; then
37043 cat >>confdefs.h <<\_ACEOF
37044 #define wxUSE_PLUGINS 1
37045 _ACEOF
37046
37047 fi
37048 fi
37049
37050
37051 if test "$wxUSE_STL" = "yes"; then
37052 cat >>confdefs.h <<\_ACEOF
37053 #define wxUSE_STL 1
37054 _ACEOF
37055
37056 fi
37057
37058 if test "$wxUSE_APPLE_IEEE" = "yes"; then
37059 cat >>confdefs.h <<\_ACEOF
37060 #define wxUSE_APPLE_IEEE 1
37061 _ACEOF
37062
37063 fi
37064
37065 if test "$wxUSE_TIMER" = "yes"; then
37066 cat >>confdefs.h <<\_ACEOF
37067 #define wxUSE_TIMER 1
37068 _ACEOF
37069
37070 fi
37071
37072 if test "$USE_UNIX" = "1" ; then
37073 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
37074 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
37075 if test "${ac_cv_header_sys_soundcard+set}" = set; then
37076 echo $ECHO_N "(cached) $ECHO_C" >&6
37077 else
37078
37079 cat >conftest.$ac_ext <<_ACEOF
37080 /* confdefs.h. */
37081 _ACEOF
37082 cat confdefs.h >>conftest.$ac_ext
37083 cat >>conftest.$ac_ext <<_ACEOF
37084 /* end confdefs.h. */
37085
37086 #include <sys/soundcard.h>
37087
37088 int
37089 main ()
37090 {
37091
37092 ioctl(0, SNDCTL_DSP_SYNC, 0);
37093
37094 ;
37095 return 0;
37096 }
37097 _ACEOF
37098 rm -f conftest.$ac_objext conftest$ac_exeext
37099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37100 (eval $ac_link) 2>conftest.er1
37101 ac_status=$?
37102 grep -v '^ *+' conftest.er1 >conftest.err
37103 rm -f conftest.er1
37104 cat conftest.err >&5
37105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37106 (exit $ac_status); } &&
37107 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37109 (eval $ac_try) 2>&5
37110 ac_status=$?
37111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37112 (exit $ac_status); }; } &&
37113 { ac_try='test -s conftest$ac_exeext'
37114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37115 (eval $ac_try) 2>&5
37116 ac_status=$?
37117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37118 (exit $ac_status); }; }; then
37119 ac_cv_header_sys_soundcard=yes
37120 else
37121 echo "$as_me: failed program was:" >&5
37122 sed 's/^/| /' conftest.$ac_ext >&5
37123
37124
37125 saveLibs="$LIBS"
37126 LIBS="$saveLibs -lossaudio"
37127 cat >conftest.$ac_ext <<_ACEOF
37128 /* confdefs.h. */
37129 _ACEOF
37130 cat confdefs.h >>conftest.$ac_ext
37131 cat >>conftest.$ac_ext <<_ACEOF
37132 /* end confdefs.h. */
37133
37134 #include <sys/soundcard.h>
37135
37136 int
37137 main ()
37138 {
37139
37140 ioctl(0, SNDCTL_DSP_SYNC, 0);
37141
37142 ;
37143 return 0;
37144 }
37145 _ACEOF
37146 rm -f conftest.$ac_objext conftest$ac_exeext
37147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37148 (eval $ac_link) 2>conftest.er1
37149 ac_status=$?
37150 grep -v '^ *+' conftest.er1 >conftest.err
37151 rm -f conftest.er1
37152 cat conftest.err >&5
37153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37154 (exit $ac_status); } &&
37155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37157 (eval $ac_try) 2>&5
37158 ac_status=$?
37159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37160 (exit $ac_status); }; } &&
37161 { ac_try='test -s conftest$ac_exeext'
37162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37163 (eval $ac_try) 2>&5
37164 ac_status=$?
37165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37166 (exit $ac_status); }; }; then
37167 ac_cv_header_sys_soundcard=yes
37168 else
37169 echo "$as_me: failed program was:" >&5
37170 sed 's/^/| /' conftest.$ac_ext >&5
37171
37172
37173 LIBS="$saveLibs"
37174 ac_cv_header_sys_soundcard=no
37175
37176
37177 fi
37178 rm -f conftest.err conftest.$ac_objext \
37179 conftest$ac_exeext conftest.$ac_ext
37180
37181
37182 fi
37183 rm -f conftest.err conftest.$ac_objext \
37184 conftest$ac_exeext conftest.$ac_ext
37185
37186 fi
37187 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
37188 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
37189
37190 if test "$ac_cv_header_sys_soundcard" = "yes"; then
37191 cat >>confdefs.h <<\_ACEOF
37192 #define HAVE_SYS_SOUNDCARD_H 1
37193 _ACEOF
37194
37195 else
37196 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
37197 fi
37198 fi
37199 WITH_PLUGIN_SDL=0
37200 if test "$wxUSE_SOUND" = "yes"; then
37201 if test "$USE_UNIX" = "1" ; then
37202 if test "$wxUSE_LIBSDL" != "no"; then
37203
37204 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
37205 if test "${with_sdl_prefix+set}" = set; then
37206 withval="$with_sdl_prefix"
37207 sdl_prefix="$withval"
37208 else
37209 sdl_prefix=""
37210 fi;
37211
37212 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
37213 if test "${with_sdl_exec_prefix+set}" = set; then
37214 withval="$with_sdl_exec_prefix"
37215 sdl_exec_prefix="$withval"
37216 else
37217 sdl_exec_prefix=""
37218 fi;
37219 # Check whether --enable-sdltest or --disable-sdltest was given.
37220 if test "${enable_sdltest+set}" = set; then
37221 enableval="$enable_sdltest"
37222
37223 else
37224 enable_sdltest=yes
37225 fi;
37226
37227 if test x$sdl_exec_prefix != x ; then
37228 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
37229 if test x${SDL_CONFIG+set} != xset ; then
37230 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
37231 fi
37232 fi
37233 if test x$sdl_prefix != x ; then
37234 sdl_args="$sdl_args --prefix=$sdl_prefix"
37235 if test x${SDL_CONFIG+set} != xset ; then
37236 SDL_CONFIG=$sdl_prefix/bin/sdl-config
37237 fi
37238 fi
37239
37240
37241 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
37242 # Extract the first word of "sdl-config", so it can be a program name with args.
37243 set dummy sdl-config; ac_word=$2
37244 echo "$as_me:$LINENO: checking for $ac_word" >&5
37245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37246 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
37247 echo $ECHO_N "(cached) $ECHO_C" >&6
37248 else
37249 case $SDL_CONFIG in
37250 [\\/]* | ?:[\\/]*)
37251 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
37252 ;;
37253 *)
37254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37255 for as_dir in $PATH
37256 do
37257 IFS=$as_save_IFS
37258 test -z "$as_dir" && as_dir=.
37259 for ac_exec_ext in '' $ac_executable_extensions; do
37260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37261 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37263 break 2
37264 fi
37265 done
37266 done
37267
37268 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
37269 ;;
37270 esac
37271 fi
37272 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
37273
37274 if test -n "$SDL_CONFIG"; then
37275 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
37276 echo "${ECHO_T}$SDL_CONFIG" >&6
37277 else
37278 echo "$as_me:$LINENO: result: no" >&5
37279 echo "${ECHO_T}no" >&6
37280 fi
37281
37282 min_sdl_version=1.2.0
37283 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
37284 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
37285 no_sdl=""
37286 if test "$SDL_CONFIG" = "no" ; then
37287 no_sdl=yes
37288 else
37289 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
37290 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
37291
37292 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
37293 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
37294 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
37295 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
37296 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
37297 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
37298 if test "x$enable_sdltest" = "xyes" ; then
37299 ac_save_CFLAGS="$CFLAGS"
37300 ac_save_CXXFLAGS="$CXXFLAGS"
37301 ac_save_LIBS="$LIBS"
37302 CFLAGS="$CFLAGS $SDL_CFLAGS"
37303 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
37304 LIBS="$LIBS $SDL_LIBS"
37305 rm -f conf.sdltest
37306 if test "$cross_compiling" = yes; then
37307 echo $ac_n "cross compiling; assumed OK... $ac_c"
37308 else
37309 cat >conftest.$ac_ext <<_ACEOF
37310 /* confdefs.h. */
37311 _ACEOF
37312 cat confdefs.h >>conftest.$ac_ext
37313 cat >>conftest.$ac_ext <<_ACEOF
37314 /* end confdefs.h. */
37315
37316 #include <stdio.h>
37317 #include <stdlib.h>
37318 #include <string.h>
37319 #include "SDL.h"
37320
37321 char*
37322 my_strdup (char *str)
37323 {
37324 char *new_str;
37325
37326 if (str)
37327 {
37328 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
37329 strcpy (new_str, str);
37330 }
37331 else
37332 new_str = NULL;
37333
37334 return new_str;
37335 }
37336
37337 int main (int argc, char *argv[])
37338 {
37339 int major, minor, micro;
37340 char *tmp_version;
37341
37342 /* This hangs on some systems (?)
37343 system ("touch conf.sdltest");
37344 */
37345 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
37346
37347 /* HP/UX 9 (%@#!) writes to sscanf strings */
37348 tmp_version = my_strdup("$min_sdl_version");
37349 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
37350 printf("%s, bad version string\n", "$min_sdl_version");
37351 exit(1);
37352 }
37353
37354 if (($sdl_major_version > major) ||
37355 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
37356 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
37357 {
37358 return 0;
37359 }
37360 else
37361 {
37362 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
37363 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
37364 printf("*** best to upgrade to the required version.\n");
37365 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
37366 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
37367 printf("*** config.cache before re-running configure\n");
37368 return 1;
37369 }
37370 }
37371
37372
37373 _ACEOF
37374 rm -f conftest$ac_exeext
37375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37376 (eval $ac_link) 2>&5
37377 ac_status=$?
37378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37381 (eval $ac_try) 2>&5
37382 ac_status=$?
37383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37384 (exit $ac_status); }; }; then
37385 :
37386 else
37387 echo "$as_me: program exited with status $ac_status" >&5
37388 echo "$as_me: failed program was:" >&5
37389 sed 's/^/| /' conftest.$ac_ext >&5
37390
37391 ( exit $ac_status )
37392 no_sdl=yes
37393 fi
37394 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37395 fi
37396 CFLAGS="$ac_save_CFLAGS"
37397 CXXFLAGS="$ac_save_CXXFLAGS"
37398 LIBS="$ac_save_LIBS"
37399 fi
37400 fi
37401 if test "x$no_sdl" = x ; then
37402 echo "$as_me:$LINENO: result: yes" >&5
37403 echo "${ECHO_T}yes" >&6
37404
37405 EXTRALIBS_SDL="$SDL_LIBS"
37406 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
37407 cat >>confdefs.h <<\_ACEOF
37408 #define wxUSE_LIBSDL 1
37409 _ACEOF
37410
37411
37412 else
37413 echo "$as_me:$LINENO: result: no" >&5
37414 echo "${ECHO_T}no" >&6
37415 if test "$SDL_CONFIG" = "no" ; then
37416 echo "*** The sdl-config script installed by SDL could not be found"
37417 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
37418 echo "*** your path, or set the SDL_CONFIG environment variable to the"
37419 echo "*** full path to sdl-config."
37420 else
37421 if test -f conf.sdltest ; then
37422 :
37423 else
37424 echo "*** Could not run SDL test program, checking why..."
37425 CFLAGS="$CFLAGS $SDL_CFLAGS"
37426 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
37427 LIBS="$LIBS $SDL_LIBS"
37428 cat >conftest.$ac_ext <<_ACEOF
37429 /* confdefs.h. */
37430 _ACEOF
37431 cat confdefs.h >>conftest.$ac_ext
37432 cat >>conftest.$ac_ext <<_ACEOF
37433 /* end confdefs.h. */
37434
37435 #include <stdio.h>
37436 #include "SDL.h"
37437
37438 int main(int argc, char *argv[])
37439 { return 0; }
37440 #undef main
37441 #define main K_and_R_C_main
37442
37443 int
37444 main ()
37445 {
37446 return 0;
37447 ;
37448 return 0;
37449 }
37450 _ACEOF
37451 rm -f conftest.$ac_objext conftest$ac_exeext
37452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37453 (eval $ac_link) 2>conftest.er1
37454 ac_status=$?
37455 grep -v '^ *+' conftest.er1 >conftest.err
37456 rm -f conftest.er1
37457 cat conftest.err >&5
37458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459 (exit $ac_status); } &&
37460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37462 (eval $ac_try) 2>&5
37463 ac_status=$?
37464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37465 (exit $ac_status); }; } &&
37466 { ac_try='test -s conftest$ac_exeext'
37467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37468 (eval $ac_try) 2>&5
37469 ac_status=$?
37470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37471 (exit $ac_status); }; }; then
37472 echo "*** The test program compiled, but did not run. This usually means"
37473 echo "*** that the run-time linker is not finding SDL or finding the wrong"
37474 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
37475 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
37476 echo "*** to the installed location Also, make sure you have run ldconfig if that"
37477 echo "*** is required on your system"
37478 echo "***"
37479 echo "*** If you have an old version installed, it is best to remove it, although"
37480 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
37481 else
37482 echo "$as_me: failed program was:" >&5
37483 sed 's/^/| /' conftest.$ac_ext >&5
37484
37485 echo "*** The test program failed to compile or link. See the file config.log for the"
37486 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
37487 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
37488 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
37489 fi
37490 rm -f conftest.err conftest.$ac_objext \
37491 conftest$ac_exeext conftest.$ac_ext
37492 CFLAGS="$ac_save_CFLAGS"
37493 CXXFLAGS="$ac_save_CXXFLAGS"
37494 LIBS="$ac_save_LIBS"
37495 fi
37496 fi
37497 SDL_CFLAGS=""
37498 SDL_LIBS=""
37499 wxUSE_LIBSDL="no"
37500 fi
37501
37502
37503 rm -f conf.sdltest
37504
37505 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
37506 WITH_PLUGIN_SDL=1
37507 fi
37508 fi
37509 fi
37510
37511 cat >>confdefs.h <<\_ACEOF
37512 #define wxUSE_SOUND 1
37513 _ACEOF
37514
37515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
37516 fi
37517
37518 if test "$WXGTK20" = 1; then
37519 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37520 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37521
37522
37523 succeeded=no
37524
37525 if test -z "$PKG_CONFIG"; then
37526 # Extract the first word of "pkg-config", so it can be a program name with args.
37527 set dummy pkg-config; ac_word=$2
37528 echo "$as_me:$LINENO: checking for $ac_word" >&5
37529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37530 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37531 echo $ECHO_N "(cached) $ECHO_C" >&6
37532 else
37533 case $PKG_CONFIG in
37534 [\\/]* | ?:[\\/]*)
37535 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
37536 ;;
37537 *)
37538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37539 for as_dir in $PATH
37540 do
37541 IFS=$as_save_IFS
37542 test -z "$as_dir" && as_dir=.
37543 for ac_exec_ext in '' $ac_executable_extensions; do
37544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37545 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37547 break 2
37548 fi
37549 done
37550 done
37551
37552 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
37553 ;;
37554 esac
37555 fi
37556 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
37557
37558 if test -n "$PKG_CONFIG"; then
37559 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37560 echo "${ECHO_T}$PKG_CONFIG" >&6
37561 else
37562 echo "$as_me:$LINENO: result: no" >&5
37563 echo "${ECHO_T}no" >&6
37564 fi
37565
37566 fi
37567
37568 if test "$PKG_CONFIG" = "no" ; then
37569 echo "*** The pkg-config script could not be found. Make sure it is"
37570 echo "*** in your path, or set the PKG_CONFIG environment variable"
37571 echo "*** to the full path to pkg-config."
37572 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
37573 else
37574 PKG_CONFIG_MIN_VERSION=0.9.0
37575 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
37576 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
37577 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
37578
37579 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
37580 echo "$as_me:$LINENO: result: yes" >&5
37581 echo "${ECHO_T}yes" >&6
37582 succeeded=yes
37583
37584 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
37585 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
37586 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
37587 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
37588 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
37589
37590 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
37591 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
37592 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
37593 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
37594 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
37595 else
37596 LIBGNOMEPRINTUI_CFLAGS=""
37597 LIBGNOMEPRINTUI_LIBS=""
37598 ## If we have a custom action on failure, don't print errors, but
37599 ## do set a variable so people can do so.
37600 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
37601
37602 fi
37603
37604
37605
37606 else
37607 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
37608 echo "*** See http://www.freedesktop.org/software/pkgconfig"
37609 fi
37610 fi
37611
37612 if test $succeeded = yes; then
37613
37614 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
37615 cat >>confdefs.h <<\_ACEOF
37616 #define wxUSE_LIBGNOMEPRINT 1
37617 _ACEOF
37618
37619
37620 else
37621
37622 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
37623 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
37624 wxUSE_LIBGNOMEPRINT="no"
37625
37626
37627 fi
37628
37629 fi
37630 fi
37631 fi
37632
37633
37634 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
37635 cat >>confdefs.h <<\_ACEOF
37636 #define wxUSE_CMDLINE_PARSER 1
37637 _ACEOF
37638
37639 fi
37640
37641 if test "$wxUSE_STOPWATCH" = "yes"; then
37642 cat >>confdefs.h <<\_ACEOF
37643 #define wxUSE_STOPWATCH 1
37644 _ACEOF
37645
37646 fi
37647
37648 if test "$wxUSE_DATETIME" = "yes"; then
37649 cat >>confdefs.h <<\_ACEOF
37650 #define wxUSE_DATETIME 1
37651 _ACEOF
37652
37653 fi
37654
37655 if test "$wxUSE_FILE" = "yes"; then
37656 cat >>confdefs.h <<\_ACEOF
37657 #define wxUSE_FILE 1
37658 _ACEOF
37659
37660 fi
37661
37662 if test "$wxUSE_FFILE" = "yes"; then
37663 cat >>confdefs.h <<\_ACEOF
37664 #define wxUSE_FFILE 1
37665 _ACEOF
37666
37667 fi
37668
37669 if test "$wxUSE_FILESYSTEM" = "yes"; then
37670 cat >>confdefs.h <<\_ACEOF
37671 #define wxUSE_FILESYSTEM 1
37672 _ACEOF
37673
37674 fi
37675
37676 if test "$wxUSE_FS_ZIP" = "yes"; then
37677 cat >>confdefs.h <<\_ACEOF
37678 #define wxUSE_FS_ZIP 1
37679 _ACEOF
37680
37681 fi
37682
37683 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
37684 cat >>confdefs.h <<\_ACEOF
37685 #define wxUSE_ARCHIVE_STREAMS 1
37686 _ACEOF
37687
37688 fi
37689
37690 if test "$wxUSE_ZIPSTREAM" = "yes"; then
37691 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
37692 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
37693 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
37694 elif test "$wxUSE_ZLIB" = "no"; then
37695 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
37696 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
37697 else
37698 cat >>confdefs.h <<\_ACEOF
37699 #define wxUSE_ZIPSTREAM 1
37700 _ACEOF
37701
37702 fi
37703 fi
37704
37705 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37706 if test "$USE_UNIX" != 1; then
37707 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
37708 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
37709 wxUSE_ON_FATAL_EXCEPTION=no
37710 else
37711 cat >>confdefs.h <<\_ACEOF
37712 #define wxUSE_ON_FATAL_EXCEPTION 1
37713 _ACEOF
37714
37715 fi
37716 fi
37717
37718 if test "$wxUSE_STACKWALKER" = "yes"; then
37719 cat >>confdefs.h <<\_ACEOF
37720 #define wxUSE_STACKWALKER 1
37721 _ACEOF
37722
37723 fi
37724
37725 if test "$wxUSE_DEBUGREPORT" = "yes"; then
37726 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
37727 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
37728 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
37729 wxUSE_DEBUGREPORT=no
37730 else
37731 cat >>confdefs.h <<\_ACEOF
37732 #define wxUSE_DEBUGREPORT 1
37733 _ACEOF
37734
37735 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
37737 fi
37738 fi
37739 fi
37740
37741 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37742 cat >>confdefs.h <<\_ACEOF
37743 #define wxUSE_SNGLINST_CHECKER 1
37744 _ACEOF
37745
37746 fi
37747
37748 if test "$wxUSE_BUSYINFO" = "yes"; then
37749 cat >>confdefs.h <<\_ACEOF
37750 #define wxUSE_BUSYINFO 1
37751 _ACEOF
37752
37753 fi
37754
37755 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
37756 cat >>confdefs.h <<\_ACEOF
37757 #define wxUSE_STD_IOSTREAM 1
37758 _ACEOF
37759
37760 fi
37761
37762 if test "$wxUSE_STD_STRING" = "yes"; then
37763 cat >>confdefs.h <<\_ACEOF
37764 #define wxUSE_STD_STRING 1
37765 _ACEOF
37766
37767 fi
37768
37769 if test "$wxUSE_STDPATHS" = "yes"; then
37770 cat >>confdefs.h <<\_ACEOF
37771 #define wxUSE_STDPATHS 1
37772 _ACEOF
37773
37774 fi
37775
37776 if test "$wxUSE_TEXTBUFFER" = "yes"; then
37777 cat >>confdefs.h <<\_ACEOF
37778 #define wxUSE_TEXTBUFFER 1
37779 _ACEOF
37780
37781 fi
37782
37783 if test "$wxUSE_TEXTFILE" = "yes"; then
37784 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
37785 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
37786 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
37787 else
37788 cat >>confdefs.h <<\_ACEOF
37789 #define wxUSE_TEXTFILE 1
37790 _ACEOF
37791
37792 fi
37793 fi
37794
37795 if test "$wxUSE_CONFIG" = "yes" ; then
37796 if test "$wxUSE_TEXTFILE" != "yes"; then
37797 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
37798 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
37799 else
37800 cat >>confdefs.h <<\_ACEOF
37801 #define wxUSE_CONFIG 1
37802 _ACEOF
37803
37804 cat >>confdefs.h <<\_ACEOF
37805 #define wxUSE_CONFIG_NATIVE 1
37806 _ACEOF
37807
37808 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
37809 fi
37810 fi
37811
37812 if test "$wxUSE_INTL" = "yes" ; then
37813 if test "$wxUSE_FILE" != "yes"; then
37814 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
37815 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
37816 else
37817 cat >>confdefs.h <<\_ACEOF
37818 #define wxUSE_INTL 1
37819 _ACEOF
37820
37821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
37822 GUIDIST="$GUIDIST INTL_DIST"
37823 fi
37824 fi
37825
37826 if test "$wxUSE_LOG" = "yes"; then
37827 cat >>confdefs.h <<\_ACEOF
37828 #define wxUSE_LOG 1
37829 _ACEOF
37830
37831
37832 if test "$wxUSE_LOGGUI" = "yes"; then
37833 cat >>confdefs.h <<\_ACEOF
37834 #define wxUSE_LOGGUI 1
37835 _ACEOF
37836
37837 fi
37838
37839 if test "$wxUSE_LOGWINDOW" = "yes"; then
37840 cat >>confdefs.h <<\_ACEOF
37841 #define wxUSE_LOGWINDOW 1
37842 _ACEOF
37843
37844 fi
37845
37846 if test "$wxUSE_LOGDIALOG" = "yes"; then
37847 cat >>confdefs.h <<\_ACEOF
37848 #define wxUSE_LOG_DIALOG 1
37849 _ACEOF
37850
37851 fi
37852
37853 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
37854 fi
37855
37856 if test "$wxUSE_LONGLONG" = "yes"; then
37857 cat >>confdefs.h <<\_ACEOF
37858 #define wxUSE_LONGLONG 1
37859 _ACEOF
37860
37861 fi
37862
37863 if test "$wxUSE_GEOMETRY" = "yes"; then
37864 cat >>confdefs.h <<\_ACEOF
37865 #define wxUSE_GEOMETRY 1
37866 _ACEOF
37867
37868 fi
37869
37870 if test "$wxUSE_STREAMS" = "yes" ; then
37871 cat >>confdefs.h <<\_ACEOF
37872 #define wxUSE_STREAMS 1
37873 _ACEOF
37874
37875 fi
37876
37877
37878 if test "$wxUSE_DATETIME" = "yes"; then
37879
37880 for ac_func in strptime
37881 do
37882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37883 echo "$as_me:$LINENO: checking for $ac_func" >&5
37884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37885 if eval "test \"\${$as_ac_var+set}\" = set"; then
37886 echo $ECHO_N "(cached) $ECHO_C" >&6
37887 else
37888 cat >conftest.$ac_ext <<_ACEOF
37889 /* confdefs.h. */
37890 _ACEOF
37891 cat confdefs.h >>conftest.$ac_ext
37892 cat >>conftest.$ac_ext <<_ACEOF
37893 /* end confdefs.h. */
37894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37896 #define $ac_func innocuous_$ac_func
37897
37898 /* System header to define __stub macros and hopefully few prototypes,
37899 which can conflict with char $ac_func (); below.
37900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37901 <limits.h> exists even on freestanding compilers. */
37902
37903 #ifdef __STDC__
37904 # include <limits.h>
37905 #else
37906 # include <assert.h>
37907 #endif
37908
37909 #undef $ac_func
37910
37911 /* Override any gcc2 internal prototype to avoid an error. */
37912 #ifdef __cplusplus
37913 extern "C"
37914 {
37915 #endif
37916 /* We use char because int might match the return type of a gcc2
37917 builtin and then its argument prototype would still apply. */
37918 char $ac_func ();
37919 /* The GNU C library defines this for functions which it implements
37920 to always fail with ENOSYS. Some functions are actually named
37921 something starting with __ and the normal name is an alias. */
37922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37923 choke me
37924 #else
37925 char (*f) () = $ac_func;
37926 #endif
37927 #ifdef __cplusplus
37928 }
37929 #endif
37930
37931 int
37932 main ()
37933 {
37934 return f != $ac_func;
37935 ;
37936 return 0;
37937 }
37938 _ACEOF
37939 rm -f conftest.$ac_objext conftest$ac_exeext
37940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37941 (eval $ac_link) 2>conftest.er1
37942 ac_status=$?
37943 grep -v '^ *+' conftest.er1 >conftest.err
37944 rm -f conftest.er1
37945 cat conftest.err >&5
37946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37947 (exit $ac_status); } &&
37948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37950 (eval $ac_try) 2>&5
37951 ac_status=$?
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); }; } &&
37954 { ac_try='test -s conftest$ac_exeext'
37955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37956 (eval $ac_try) 2>&5
37957 ac_status=$?
37958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37959 (exit $ac_status); }; }; then
37960 eval "$as_ac_var=yes"
37961 else
37962 echo "$as_me: failed program was:" >&5
37963 sed 's/^/| /' conftest.$ac_ext >&5
37964
37965 eval "$as_ac_var=no"
37966 fi
37967 rm -f conftest.err conftest.$ac_objext \
37968 conftest$ac_exeext conftest.$ac_ext
37969 fi
37970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37972 if test `eval echo '${'$as_ac_var'}'` = yes; then
37973 cat >>confdefs.h <<_ACEOF
37974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37975 _ACEOF
37976
37977 fi
37978 done
37979
37980
37981 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
37982 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
37983 if test "${wx_cv_var_timezone+set}" = set; then
37984 echo $ECHO_N "(cached) $ECHO_C" >&6
37985 else
37986
37987 cat >conftest.$ac_ext <<_ACEOF
37988 /* confdefs.h. */
37989 _ACEOF
37990 cat confdefs.h >>conftest.$ac_ext
37991 cat >>conftest.$ac_ext <<_ACEOF
37992 /* end confdefs.h. */
37993
37994 #include <time.h>
37995
37996 int
37997 main ()
37998 {
37999
38000 int tz;
38001 tz = timezone;
38002
38003 ;
38004 return 0;
38005 }
38006 _ACEOF
38007 rm -f conftest.$ac_objext
38008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38009 (eval $ac_compile) 2>conftest.er1
38010 ac_status=$?
38011 grep -v '^ *+' conftest.er1 >conftest.err
38012 rm -f conftest.er1
38013 cat conftest.err >&5
38014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38015 (exit $ac_status); } &&
38016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38018 (eval $ac_try) 2>&5
38019 ac_status=$?
38020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38021 (exit $ac_status); }; } &&
38022 { ac_try='test -s conftest.$ac_objext'
38023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38024 (eval $ac_try) 2>&5
38025 ac_status=$?
38026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38027 (exit $ac_status); }; }; then
38028
38029 wx_cv_var_timezone=timezone
38030
38031 else
38032 echo "$as_me: failed program was:" >&5
38033 sed 's/^/| /' conftest.$ac_ext >&5
38034
38035
38036 cat >conftest.$ac_ext <<_ACEOF
38037 /* confdefs.h. */
38038 _ACEOF
38039 cat confdefs.h >>conftest.$ac_ext
38040 cat >>conftest.$ac_ext <<_ACEOF
38041 /* end confdefs.h. */
38042
38043 #include <time.h>
38044
38045 int
38046 main ()
38047 {
38048
38049 int tz;
38050 tz = _timezone;
38051
38052 ;
38053 return 0;
38054 }
38055 _ACEOF
38056 rm -f conftest.$ac_objext
38057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38058 (eval $ac_compile) 2>conftest.er1
38059 ac_status=$?
38060 grep -v '^ *+' conftest.er1 >conftest.err
38061 rm -f conftest.er1
38062 cat conftest.err >&5
38063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38064 (exit $ac_status); } &&
38065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38067 (eval $ac_try) 2>&5
38068 ac_status=$?
38069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38070 (exit $ac_status); }; } &&
38071 { ac_try='test -s conftest.$ac_objext'
38072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38073 (eval $ac_try) 2>&5
38074 ac_status=$?
38075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076 (exit $ac_status); }; }; then
38077
38078 wx_cv_var_timezone=_timezone
38079
38080 else
38081 echo "$as_me: failed program was:" >&5
38082 sed 's/^/| /' conftest.$ac_ext >&5
38083
38084
38085 cat >conftest.$ac_ext <<_ACEOF
38086 /* confdefs.h. */
38087 _ACEOF
38088 cat confdefs.h >>conftest.$ac_ext
38089 cat >>conftest.$ac_ext <<_ACEOF
38090 /* end confdefs.h. */
38091
38092 #include <time.h>
38093
38094 int
38095 main ()
38096 {
38097
38098 int tz;
38099 tz = __timezone;
38100
38101 ;
38102 return 0;
38103 }
38104 _ACEOF
38105 rm -f conftest.$ac_objext
38106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38107 (eval $ac_compile) 2>conftest.er1
38108 ac_status=$?
38109 grep -v '^ *+' conftest.er1 >conftest.err
38110 rm -f conftest.er1
38111 cat conftest.err >&5
38112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38113 (exit $ac_status); } &&
38114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38116 (eval $ac_try) 2>&5
38117 ac_status=$?
38118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38119 (exit $ac_status); }; } &&
38120 { ac_try='test -s conftest.$ac_objext'
38121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38122 (eval $ac_try) 2>&5
38123 ac_status=$?
38124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38125 (exit $ac_status); }; }; then
38126
38127 wx_cv_var_timezone=__timezone
38128
38129 else
38130 echo "$as_me: failed program was:" >&5
38131 sed 's/^/| /' conftest.$ac_ext >&5
38132
38133
38134 if test "$USE_DOS" = 0 ; then
38135 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
38136 echo "$as_me: WARNING: no timezone variable" >&2;}
38137 fi
38138
38139
38140 fi
38141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38142
38143
38144 fi
38145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38146
38147
38148 fi
38149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38150
38151
38152 fi
38153 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
38154 echo "${ECHO_T}$wx_cv_var_timezone" >&6
38155
38156 if test "x$wx_cv_var_timezone" != x ; then
38157 cat >>confdefs.h <<_ACEOF
38158 #define WX_TIMEZONE $wx_cv_var_timezone
38159 _ACEOF
38160
38161 fi
38162
38163
38164 for ac_func in localtime
38165 do
38166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38167 echo "$as_me:$LINENO: checking for $ac_func" >&5
38168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38169 if eval "test \"\${$as_ac_var+set}\" = set"; then
38170 echo $ECHO_N "(cached) $ECHO_C" >&6
38171 else
38172 cat >conftest.$ac_ext <<_ACEOF
38173 /* confdefs.h. */
38174 _ACEOF
38175 cat confdefs.h >>conftest.$ac_ext
38176 cat >>conftest.$ac_ext <<_ACEOF
38177 /* end confdefs.h. */
38178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38180 #define $ac_func innocuous_$ac_func
38181
38182 /* System header to define __stub macros and hopefully few prototypes,
38183 which can conflict with char $ac_func (); below.
38184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38185 <limits.h> exists even on freestanding compilers. */
38186
38187 #ifdef __STDC__
38188 # include <limits.h>
38189 #else
38190 # include <assert.h>
38191 #endif
38192
38193 #undef $ac_func
38194
38195 /* Override any gcc2 internal prototype to avoid an error. */
38196 #ifdef __cplusplus
38197 extern "C"
38198 {
38199 #endif
38200 /* We use char because int might match the return type of a gcc2
38201 builtin and then its argument prototype would still apply. */
38202 char $ac_func ();
38203 /* The GNU C library defines this for functions which it implements
38204 to always fail with ENOSYS. Some functions are actually named
38205 something starting with __ and the normal name is an alias. */
38206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38207 choke me
38208 #else
38209 char (*f) () = $ac_func;
38210 #endif
38211 #ifdef __cplusplus
38212 }
38213 #endif
38214
38215 int
38216 main ()
38217 {
38218 return f != $ac_func;
38219 ;
38220 return 0;
38221 }
38222 _ACEOF
38223 rm -f conftest.$ac_objext conftest$ac_exeext
38224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38225 (eval $ac_link) 2>conftest.er1
38226 ac_status=$?
38227 grep -v '^ *+' conftest.er1 >conftest.err
38228 rm -f conftest.er1
38229 cat conftest.err >&5
38230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38231 (exit $ac_status); } &&
38232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38234 (eval $ac_try) 2>&5
38235 ac_status=$?
38236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38237 (exit $ac_status); }; } &&
38238 { ac_try='test -s conftest$ac_exeext'
38239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38240 (eval $ac_try) 2>&5
38241 ac_status=$?
38242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38243 (exit $ac_status); }; }; then
38244 eval "$as_ac_var=yes"
38245 else
38246 echo "$as_me: failed program was:" >&5
38247 sed 's/^/| /' conftest.$ac_ext >&5
38248
38249 eval "$as_ac_var=no"
38250 fi
38251 rm -f conftest.err conftest.$ac_objext \
38252 conftest$ac_exeext conftest.$ac_ext
38253 fi
38254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38256 if test `eval echo '${'$as_ac_var'}'` = yes; then
38257 cat >>confdefs.h <<_ACEOF
38258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38259 _ACEOF
38260
38261 fi
38262 done
38263
38264
38265 if test "$ac_cv_func_localtime" = "yes"; then
38266 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
38267 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
38268 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
38269 echo $ECHO_N "(cached) $ECHO_C" >&6
38270 else
38271
38272 cat >conftest.$ac_ext <<_ACEOF
38273 /* confdefs.h. */
38274 _ACEOF
38275 cat confdefs.h >>conftest.$ac_ext
38276 cat >>conftest.$ac_ext <<_ACEOF
38277 /* end confdefs.h. */
38278
38279 #include <time.h>
38280
38281 int
38282 main ()
38283 {
38284
38285 struct tm tm;
38286 tm.tm_gmtoff++;
38287
38288 ;
38289 return 0;
38290 }
38291 _ACEOF
38292 rm -f conftest.$ac_objext
38293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38294 (eval $ac_compile) 2>conftest.er1
38295 ac_status=$?
38296 grep -v '^ *+' conftest.er1 >conftest.err
38297 rm -f conftest.er1
38298 cat conftest.err >&5
38299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38300 (exit $ac_status); } &&
38301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38303 (eval $ac_try) 2>&5
38304 ac_status=$?
38305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38306 (exit $ac_status); }; } &&
38307 { ac_try='test -s conftest.$ac_objext'
38308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38309 (eval $ac_try) 2>&5
38310 ac_status=$?
38311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38312 (exit $ac_status); }; }; then
38313
38314 wx_cv_struct_tm_has_gmtoff=yes
38315
38316 else
38317 echo "$as_me: failed program was:" >&5
38318 sed 's/^/| /' conftest.$ac_ext >&5
38319
38320 wx_cv_struct_tm_has_gmtoff=no
38321
38322 fi
38323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38324
38325 fi
38326 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
38327 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
38328 fi
38329
38330 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
38331 cat >>confdefs.h <<\_ACEOF
38332 #define WX_GMTOFF_IN_TM 1
38333 _ACEOF
38334
38335 fi
38336
38337
38338
38339 for ac_func in gettimeofday ftime
38340 do
38341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38342 echo "$as_me:$LINENO: checking for $ac_func" >&5
38343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38344 if eval "test \"\${$as_ac_var+set}\" = set"; then
38345 echo $ECHO_N "(cached) $ECHO_C" >&6
38346 else
38347 cat >conftest.$ac_ext <<_ACEOF
38348 /* confdefs.h. */
38349 _ACEOF
38350 cat confdefs.h >>conftest.$ac_ext
38351 cat >>conftest.$ac_ext <<_ACEOF
38352 /* end confdefs.h. */
38353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38355 #define $ac_func innocuous_$ac_func
38356
38357 /* System header to define __stub macros and hopefully few prototypes,
38358 which can conflict with char $ac_func (); below.
38359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38360 <limits.h> exists even on freestanding compilers. */
38361
38362 #ifdef __STDC__
38363 # include <limits.h>
38364 #else
38365 # include <assert.h>
38366 #endif
38367
38368 #undef $ac_func
38369
38370 /* Override any gcc2 internal prototype to avoid an error. */
38371 #ifdef __cplusplus
38372 extern "C"
38373 {
38374 #endif
38375 /* We use char because int might match the return type of a gcc2
38376 builtin and then its argument prototype would still apply. */
38377 char $ac_func ();
38378 /* The GNU C library defines this for functions which it implements
38379 to always fail with ENOSYS. Some functions are actually named
38380 something starting with __ and the normal name is an alias. */
38381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38382 choke me
38383 #else
38384 char (*f) () = $ac_func;
38385 #endif
38386 #ifdef __cplusplus
38387 }
38388 #endif
38389
38390 int
38391 main ()
38392 {
38393 return f != $ac_func;
38394 ;
38395 return 0;
38396 }
38397 _ACEOF
38398 rm -f conftest.$ac_objext conftest$ac_exeext
38399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38400 (eval $ac_link) 2>conftest.er1
38401 ac_status=$?
38402 grep -v '^ *+' conftest.er1 >conftest.err
38403 rm -f conftest.er1
38404 cat conftest.err >&5
38405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38406 (exit $ac_status); } &&
38407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38409 (eval $ac_try) 2>&5
38410 ac_status=$?
38411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 (exit $ac_status); }; } &&
38413 { ac_try='test -s conftest$ac_exeext'
38414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38415 (eval $ac_try) 2>&5
38416 ac_status=$?
38417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38418 (exit $ac_status); }; }; then
38419 eval "$as_ac_var=yes"
38420 else
38421 echo "$as_me: failed program was:" >&5
38422 sed 's/^/| /' conftest.$ac_ext >&5
38423
38424 eval "$as_ac_var=no"
38425 fi
38426 rm -f conftest.err conftest.$ac_objext \
38427 conftest$ac_exeext conftest.$ac_ext
38428 fi
38429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38431 if test `eval echo '${'$as_ac_var'}'` = yes; then
38432 cat >>confdefs.h <<_ACEOF
38433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38434 _ACEOF
38435 break
38436 fi
38437 done
38438
38439
38440 if test "$ac_cv_func_gettimeofday" = "yes"; then
38441 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
38442 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
38443 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
38444 echo $ECHO_N "(cached) $ECHO_C" >&6
38445 else
38446
38447
38448
38449 ac_ext=cc
38450 ac_cpp='$CXXCPP $CPPFLAGS'
38451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38454
38455
38456 cat >conftest.$ac_ext <<_ACEOF
38457 /* confdefs.h. */
38458 _ACEOF
38459 cat confdefs.h >>conftest.$ac_ext
38460 cat >>conftest.$ac_ext <<_ACEOF
38461 /* end confdefs.h. */
38462
38463 #include <sys/time.h>
38464 #include <unistd.h>
38465
38466 int
38467 main ()
38468 {
38469
38470 struct timeval tv;
38471 gettimeofday(&tv, NULL);
38472
38473 ;
38474 return 0;
38475 }
38476 _ACEOF
38477 rm -f conftest.$ac_objext
38478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38479 (eval $ac_compile) 2>conftest.er1
38480 ac_status=$?
38481 grep -v '^ *+' conftest.er1 >conftest.err
38482 rm -f conftest.er1
38483 cat conftest.err >&5
38484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38485 (exit $ac_status); } &&
38486 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38488 (eval $ac_try) 2>&5
38489 ac_status=$?
38490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38491 (exit $ac_status); }; } &&
38492 { ac_try='test -s conftest.$ac_objext'
38493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38494 (eval $ac_try) 2>&5
38495 ac_status=$?
38496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38497 (exit $ac_status); }; }; then
38498 wx_cv_func_gettimeofday_has_2_args=yes
38499 else
38500 echo "$as_me: failed program was:" >&5
38501 sed 's/^/| /' conftest.$ac_ext >&5
38502
38503 cat >conftest.$ac_ext <<_ACEOF
38504 /* confdefs.h. */
38505 _ACEOF
38506 cat confdefs.h >>conftest.$ac_ext
38507 cat >>conftest.$ac_ext <<_ACEOF
38508 /* end confdefs.h. */
38509
38510 #include <sys/time.h>
38511 #include <unistd.h>
38512
38513 int
38514 main ()
38515 {
38516
38517 struct timeval tv;
38518 gettimeofday(&tv);
38519
38520 ;
38521 return 0;
38522 }
38523 _ACEOF
38524 rm -f conftest.$ac_objext
38525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38526 (eval $ac_compile) 2>conftest.er1
38527 ac_status=$?
38528 grep -v '^ *+' conftest.er1 >conftest.err
38529 rm -f conftest.er1
38530 cat conftest.err >&5
38531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38532 (exit $ac_status); } &&
38533 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38535 (eval $ac_try) 2>&5
38536 ac_status=$?
38537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38538 (exit $ac_status); }; } &&
38539 { ac_try='test -s conftest.$ac_objext'
38540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38541 (eval $ac_try) 2>&5
38542 ac_status=$?
38543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38544 (exit $ac_status); }; }; then
38545 wx_cv_func_gettimeofday_has_2_args=no
38546 else
38547 echo "$as_me: failed program was:" >&5
38548 sed 's/^/| /' conftest.$ac_ext >&5
38549
38550
38551 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
38552 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
38553 wx_cv_func_gettimeofday_has_2_args=unknown
38554
38555
38556 fi
38557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38558
38559 fi
38560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38561 ac_ext=c
38562 ac_cpp='$CPP $CPPFLAGS'
38563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38566
38567
38568 fi
38569 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
38570 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
38571
38572 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
38573 cat >>confdefs.h <<\_ACEOF
38574 #define WX_GETTIMEOFDAY_NO_TZ 1
38575 _ACEOF
38576
38577 fi
38578 fi
38579
38580 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
38581 fi
38582
38583
38584 if test "$wxUSE_SOCKETS" = "yes"; then
38585 if test "$wxUSE_MGL" = "1"; then
38586 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
38587 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
38588 wxUSE_SOCKETS="no"
38589 fi
38590 fi
38591
38592 if test "$wxUSE_SOCKETS" = "yes"; then
38593 if test "$TOOLKIT" != "MSW"; then
38594 echo "$as_me:$LINENO: checking for socket" >&5
38595 echo $ECHO_N "checking for socket... $ECHO_C" >&6
38596 if test "${ac_cv_func_socket+set}" = set; then
38597 echo $ECHO_N "(cached) $ECHO_C" >&6
38598 else
38599 cat >conftest.$ac_ext <<_ACEOF
38600 /* confdefs.h. */
38601 _ACEOF
38602 cat confdefs.h >>conftest.$ac_ext
38603 cat >>conftest.$ac_ext <<_ACEOF
38604 /* end confdefs.h. */
38605 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
38606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38607 #define socket innocuous_socket
38608
38609 /* System header to define __stub macros and hopefully few prototypes,
38610 which can conflict with char socket (); below.
38611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38612 <limits.h> exists even on freestanding compilers. */
38613
38614 #ifdef __STDC__
38615 # include <limits.h>
38616 #else
38617 # include <assert.h>
38618 #endif
38619
38620 #undef socket
38621
38622 /* Override any gcc2 internal prototype to avoid an error. */
38623 #ifdef __cplusplus
38624 extern "C"
38625 {
38626 #endif
38627 /* We use char because int might match the return type of a gcc2
38628 builtin and then its argument prototype would still apply. */
38629 char socket ();
38630 /* The GNU C library defines this for functions which it implements
38631 to always fail with ENOSYS. Some functions are actually named
38632 something starting with __ and the normal name is an alias. */
38633 #if defined (__stub_socket) || defined (__stub___socket)
38634 choke me
38635 #else
38636 char (*f) () = socket;
38637 #endif
38638 #ifdef __cplusplus
38639 }
38640 #endif
38641
38642 int
38643 main ()
38644 {
38645 return f != socket;
38646 ;
38647 return 0;
38648 }
38649 _ACEOF
38650 rm -f conftest.$ac_objext conftest$ac_exeext
38651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38652 (eval $ac_link) 2>conftest.er1
38653 ac_status=$?
38654 grep -v '^ *+' conftest.er1 >conftest.err
38655 rm -f conftest.er1
38656 cat conftest.err >&5
38657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38658 (exit $ac_status); } &&
38659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38661 (eval $ac_try) 2>&5
38662 ac_status=$?
38663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38664 (exit $ac_status); }; } &&
38665 { ac_try='test -s conftest$ac_exeext'
38666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38667 (eval $ac_try) 2>&5
38668 ac_status=$?
38669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38670 (exit $ac_status); }; }; then
38671 ac_cv_func_socket=yes
38672 else
38673 echo "$as_me: failed program was:" >&5
38674 sed 's/^/| /' conftest.$ac_ext >&5
38675
38676 ac_cv_func_socket=no
38677 fi
38678 rm -f conftest.err conftest.$ac_objext \
38679 conftest$ac_exeext conftest.$ac_ext
38680 fi
38681 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
38682 echo "${ECHO_T}$ac_cv_func_socket" >&6
38683 if test $ac_cv_func_socket = yes; then
38684 :
38685 else
38686
38687 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38688 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
38689 if test "${ac_cv_lib_socket_socket+set}" = set; then
38690 echo $ECHO_N "(cached) $ECHO_C" >&6
38691 else
38692 ac_check_lib_save_LIBS=$LIBS
38693 LIBS="-lsocket $LIBS"
38694 cat >conftest.$ac_ext <<_ACEOF
38695 /* confdefs.h. */
38696 _ACEOF
38697 cat confdefs.h >>conftest.$ac_ext
38698 cat >>conftest.$ac_ext <<_ACEOF
38699 /* end confdefs.h. */
38700
38701 /* Override any gcc2 internal prototype to avoid an error. */
38702 #ifdef __cplusplus
38703 extern "C"
38704 #endif
38705 /* We use char because int might match the return type of a gcc2
38706 builtin and then its argument prototype would still apply. */
38707 char socket ();
38708 int
38709 main ()
38710 {
38711 socket ();
38712 ;
38713 return 0;
38714 }
38715 _ACEOF
38716 rm -f conftest.$ac_objext conftest$ac_exeext
38717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38718 (eval $ac_link) 2>conftest.er1
38719 ac_status=$?
38720 grep -v '^ *+' conftest.er1 >conftest.err
38721 rm -f conftest.er1
38722 cat conftest.err >&5
38723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38724 (exit $ac_status); } &&
38725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38727 (eval $ac_try) 2>&5
38728 ac_status=$?
38729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38730 (exit $ac_status); }; } &&
38731 { ac_try='test -s conftest$ac_exeext'
38732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38733 (eval $ac_try) 2>&5
38734 ac_status=$?
38735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38736 (exit $ac_status); }; }; then
38737 ac_cv_lib_socket_socket=yes
38738 else
38739 echo "$as_me: failed program was:" >&5
38740 sed 's/^/| /' conftest.$ac_ext >&5
38741
38742 ac_cv_lib_socket_socket=no
38743 fi
38744 rm -f conftest.err conftest.$ac_objext \
38745 conftest$ac_exeext conftest.$ac_ext
38746 LIBS=$ac_check_lib_save_LIBS
38747 fi
38748 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38749 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
38750 if test $ac_cv_lib_socket_socket = yes; then
38751 if test "$INET_LINK" != " -lsocket"; then
38752 INET_LINK="$INET_LINK -lsocket"
38753 fi
38754 else
38755
38756 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
38757 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
38758 wxUSE_SOCKETS=no
38759
38760
38761 fi
38762
38763
38764
38765 fi
38766
38767 fi
38768 fi
38769
38770 if test "$wxUSE_SOCKETS" = "yes" ; then
38771 if test "$TOOLKIT" != "MSW"; then
38772 ac_ext=cc
38773 ac_cpp='$CXXCPP $CPPFLAGS'
38774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38777
38778 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
38779 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
38780 if test "${wx_cv_type_getsockname3+set}" = set; then
38781 echo $ECHO_N "(cached) $ECHO_C" >&6
38782 else
38783
38784 cat >conftest.$ac_ext <<_ACEOF
38785 /* confdefs.h. */
38786 _ACEOF
38787 cat confdefs.h >>conftest.$ac_ext
38788 cat >>conftest.$ac_ext <<_ACEOF
38789 /* end confdefs.h. */
38790
38791 #include <sys/types.h>
38792 #include <sys/socket.h>
38793
38794 int
38795 main ()
38796 {
38797
38798 socklen_t len;
38799 getsockname(0, 0, &len);
38800
38801 ;
38802 return 0;
38803 }
38804 _ACEOF
38805 rm -f conftest.$ac_objext
38806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38807 (eval $ac_compile) 2>conftest.er1
38808 ac_status=$?
38809 grep -v '^ *+' conftest.er1 >conftest.err
38810 rm -f conftest.er1
38811 cat conftest.err >&5
38812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38813 (exit $ac_status); } &&
38814 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38816 (eval $ac_try) 2>&5
38817 ac_status=$?
38818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38819 (exit $ac_status); }; } &&
38820 { ac_try='test -s conftest.$ac_objext'
38821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38822 (eval $ac_try) 2>&5
38823 ac_status=$?
38824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38825 (exit $ac_status); }; }; then
38826 wx_cv_type_getsockname3=socklen_t
38827 else
38828 echo "$as_me: failed program was:" >&5
38829 sed 's/^/| /' conftest.$ac_ext >&5
38830
38831
38832 CFLAGS_OLD="$CFLAGS"
38833 if test "$GCC" = yes ; then
38834 CFLAGS="$CFLAGS -Werror"
38835 fi
38836
38837 cat >conftest.$ac_ext <<_ACEOF
38838 /* confdefs.h. */
38839 _ACEOF
38840 cat confdefs.h >>conftest.$ac_ext
38841 cat >>conftest.$ac_ext <<_ACEOF
38842 /* end confdefs.h. */
38843
38844 #include <sys/types.h>
38845 #include <sys/socket.h>
38846
38847 int
38848 main ()
38849 {
38850
38851 size_t len;
38852 getsockname(0, 0, &len);
38853
38854 ;
38855 return 0;
38856 }
38857 _ACEOF
38858 rm -f conftest.$ac_objext
38859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38860 (eval $ac_compile) 2>conftest.er1
38861 ac_status=$?
38862 grep -v '^ *+' conftest.er1 >conftest.err
38863 rm -f conftest.er1
38864 cat conftest.err >&5
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); } &&
38867 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38869 (eval $ac_try) 2>&5
38870 ac_status=$?
38871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38872 (exit $ac_status); }; } &&
38873 { ac_try='test -s conftest.$ac_objext'
38874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38875 (eval $ac_try) 2>&5
38876 ac_status=$?
38877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38878 (exit $ac_status); }; }; then
38879 wx_cv_type_getsockname3=size_t
38880 else
38881 echo "$as_me: failed program was:" >&5
38882 sed 's/^/| /' conftest.$ac_ext >&5
38883
38884 cat >conftest.$ac_ext <<_ACEOF
38885 /* confdefs.h. */
38886 _ACEOF
38887 cat confdefs.h >>conftest.$ac_ext
38888 cat >>conftest.$ac_ext <<_ACEOF
38889 /* end confdefs.h. */
38890
38891 #include <sys/types.h>
38892 #include <sys/socket.h>
38893
38894 int
38895 main ()
38896 {
38897
38898 int len;
38899 getsockname(0, 0, &len);
38900
38901 ;
38902 return 0;
38903 }
38904 _ACEOF
38905 rm -f conftest.$ac_objext
38906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38907 (eval $ac_compile) 2>conftest.er1
38908 ac_status=$?
38909 grep -v '^ *+' conftest.er1 >conftest.err
38910 rm -f conftest.er1
38911 cat conftest.err >&5
38912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38913 (exit $ac_status); } &&
38914 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38916 (eval $ac_try) 2>&5
38917 ac_status=$?
38918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919 (exit $ac_status); }; } &&
38920 { ac_try='test -s conftest.$ac_objext'
38921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38922 (eval $ac_try) 2>&5
38923 ac_status=$?
38924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38925 (exit $ac_status); }; }; then
38926 wx_cv_type_getsockname3=int
38927 else
38928 echo "$as_me: failed program was:" >&5
38929 sed 's/^/| /' conftest.$ac_ext >&5
38930
38931 wx_cv_type_getsockname3=unknown
38932
38933 fi
38934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38935
38936 fi
38937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38938
38939 CFLAGS="$CFLAGS_OLD"
38940
38941
38942 fi
38943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38944
38945 fi
38946 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
38947 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
38948
38949 if test "$wx_cv_type_getsockname3" = "unknown"; then
38950 wxUSE_SOCKETS=no
38951 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38952 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38953 else
38954 cat >>confdefs.h <<_ACEOF
38955 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
38956 _ACEOF
38957
38958 fi
38959 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
38960 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
38961 if test "${wx_cv_type_getsockopt5+set}" = set; then
38962 echo $ECHO_N "(cached) $ECHO_C" >&6
38963 else
38964
38965 cat >conftest.$ac_ext <<_ACEOF
38966 /* confdefs.h. */
38967 _ACEOF
38968 cat confdefs.h >>conftest.$ac_ext
38969 cat >>conftest.$ac_ext <<_ACEOF
38970 /* end confdefs.h. */
38971
38972 #include <sys/types.h>
38973 #include <sys/socket.h>
38974
38975 int
38976 main ()
38977 {
38978
38979 socklen_t len;
38980 getsockopt(0, 0, 0, 0, &len);
38981
38982 ;
38983 return 0;
38984 }
38985 _ACEOF
38986 rm -f conftest.$ac_objext
38987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38988 (eval $ac_compile) 2>conftest.er1
38989 ac_status=$?
38990 grep -v '^ *+' conftest.er1 >conftest.err
38991 rm -f conftest.er1
38992 cat conftest.err >&5
38993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38994 (exit $ac_status); } &&
38995 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38997 (eval $ac_try) 2>&5
38998 ac_status=$?
38999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39000 (exit $ac_status); }; } &&
39001 { ac_try='test -s conftest.$ac_objext'
39002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39003 (eval $ac_try) 2>&5
39004 ac_status=$?
39005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39006 (exit $ac_status); }; }; then
39007 wx_cv_type_getsockopt5=socklen_t
39008 else
39009 echo "$as_me: failed program was:" >&5
39010 sed 's/^/| /' conftest.$ac_ext >&5
39011
39012
39013 CFLAGS_OLD="$CFLAGS"
39014 if test "$GCC" = yes ; then
39015 CFLAGS="$CFLAGS -Werror"
39016 fi
39017
39018 cat >conftest.$ac_ext <<_ACEOF
39019 /* confdefs.h. */
39020 _ACEOF
39021 cat confdefs.h >>conftest.$ac_ext
39022 cat >>conftest.$ac_ext <<_ACEOF
39023 /* end confdefs.h. */
39024
39025 #include <sys/types.h>
39026 #include <sys/socket.h>
39027
39028 int
39029 main ()
39030 {
39031
39032 size_t len;
39033 getsockopt(0, 0, 0, 0, &len);
39034
39035 ;
39036 return 0;
39037 }
39038 _ACEOF
39039 rm -f conftest.$ac_objext
39040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39041 (eval $ac_compile) 2>conftest.er1
39042 ac_status=$?
39043 grep -v '^ *+' conftest.er1 >conftest.err
39044 rm -f conftest.er1
39045 cat conftest.err >&5
39046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39047 (exit $ac_status); } &&
39048 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39050 (eval $ac_try) 2>&5
39051 ac_status=$?
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); }; } &&
39054 { ac_try='test -s conftest.$ac_objext'
39055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39056 (eval $ac_try) 2>&5
39057 ac_status=$?
39058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39059 (exit $ac_status); }; }; then
39060 wx_cv_type_getsockopt5=size_t
39061 else
39062 echo "$as_me: failed program was:" >&5
39063 sed 's/^/| /' conftest.$ac_ext >&5
39064
39065 cat >conftest.$ac_ext <<_ACEOF
39066 /* confdefs.h. */
39067 _ACEOF
39068 cat confdefs.h >>conftest.$ac_ext
39069 cat >>conftest.$ac_ext <<_ACEOF
39070 /* end confdefs.h. */
39071
39072 #include <sys/types.h>
39073 #include <sys/socket.h>
39074
39075 int
39076 main ()
39077 {
39078
39079 int len;
39080 getsockopt(0, 0, 0, 0, &len);
39081
39082 ;
39083 return 0;
39084 }
39085 _ACEOF
39086 rm -f conftest.$ac_objext
39087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39088 (eval $ac_compile) 2>conftest.er1
39089 ac_status=$?
39090 grep -v '^ *+' conftest.er1 >conftest.err
39091 rm -f conftest.er1
39092 cat conftest.err >&5
39093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39094 (exit $ac_status); } &&
39095 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39097 (eval $ac_try) 2>&5
39098 ac_status=$?
39099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39100 (exit $ac_status); }; } &&
39101 { ac_try='test -s conftest.$ac_objext'
39102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39103 (eval $ac_try) 2>&5
39104 ac_status=$?
39105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39106 (exit $ac_status); }; }; then
39107 wx_cv_type_getsockopt5=int
39108 else
39109 echo "$as_me: failed program was:" >&5
39110 sed 's/^/| /' conftest.$ac_ext >&5
39111
39112 wx_cv_type_getsockopt5=unknown
39113
39114 fi
39115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39116
39117 fi
39118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39119
39120 CFLAGS="$CFLAGS_OLD"
39121
39122
39123 fi
39124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39125
39126 fi
39127 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
39128 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
39129
39130 if test "$wx_cv_type_getsockopt5" = "unknown"; then
39131 wxUSE_SOCKETS=no
39132 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
39133 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
39134 else
39135 cat >>confdefs.h <<_ACEOF
39136 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
39137 _ACEOF
39138
39139 fi
39140 ac_ext=c
39141 ac_cpp='$CPP $CPPFLAGS'
39142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39145
39146 fi
39147 fi
39148
39149 if test "$wxUSE_SOCKETS" = "yes" ; then
39150 cat >>confdefs.h <<\_ACEOF
39151 #define wxUSE_SOCKETS 1
39152 _ACEOF
39153
39154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
39155 fi
39156
39157 if test "$wxUSE_PROTOCOL" = "yes"; then
39158 if test "$wxUSE_SOCKETS" != "yes"; then
39159 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
39160 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
39161 wxUSE_PROTOCOL=no
39162 fi
39163 fi
39164
39165 if test "$wxUSE_PROTOCOL" = "yes"; then
39166 cat >>confdefs.h <<\_ACEOF
39167 #define wxUSE_PROTOCOL 1
39168 _ACEOF
39169
39170
39171 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
39172 cat >>confdefs.h <<\_ACEOF
39173 #define wxUSE_PROTOCOL_HTTP 1
39174 _ACEOF
39175
39176 fi
39177 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
39178 cat >>confdefs.h <<\_ACEOF
39179 #define wxUSE_PROTOCOL_FTP 1
39180 _ACEOF
39181
39182 fi
39183 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
39184 cat >>confdefs.h <<\_ACEOF
39185 #define wxUSE_PROTOCOL_FILE 1
39186 _ACEOF
39187
39188 fi
39189 else
39190 if test "$wxUSE_FS_INET" = "yes"; then
39191 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
39192 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
39193 wxUSE_FS_INET="no"
39194 fi
39195 fi
39196
39197 if test "$wxUSE_URL" = "yes"; then
39198 if test "$wxUSE_PROTOCOL" != "yes"; then
39199 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
39200 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
39201 wxUSE_URL=no
39202 fi
39203 if test "$wxUSE_URL" = "yes"; then
39204 cat >>confdefs.h <<\_ACEOF
39205 #define wxUSE_URL 1
39206 _ACEOF
39207
39208 fi
39209 fi
39210
39211 if test "$wxUSE_FS_INET" = "yes"; then
39212 cat >>confdefs.h <<\_ACEOF
39213 #define wxUSE_FS_INET 1
39214 _ACEOF
39215
39216 fi
39217
39218
39219 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
39220 wxUSE_JOYSTICK=no
39221
39222 if test "$TOOLKIT" = "MSW"; then
39223 wxUSE_JOYSTICK=yes
39224
39225 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
39226 if test "$USE_DARWIN" = 1; then
39227 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
39228 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
39229 ac_ext=cc
39230 ac_cpp='$CXXCPP $CPPFLAGS'
39231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39234
39235 cat >conftest.$ac_ext <<_ACEOF
39236 /* confdefs.h. */
39237 _ACEOF
39238 cat confdefs.h >>conftest.$ac_ext
39239 cat >>conftest.$ac_ext <<_ACEOF
39240 /* end confdefs.h. */
39241 #include <IOKit/hid/IOHIDLib.h>
39242 int
39243 main ()
39244 {
39245 IOHIDQueueInterface *qi = NULL;
39246 IOHIDCallbackFunction cb = NULL;
39247 qi->setEventCallout(NULL, cb, NULL, NULL);
39248 ;
39249 return 0;
39250 }
39251 _ACEOF
39252 rm -f conftest.$ac_objext
39253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39254 (eval $ac_compile) 2>conftest.er1
39255 ac_status=$?
39256 grep -v '^ *+' conftest.er1 >conftest.err
39257 rm -f conftest.er1
39258 cat conftest.err >&5
39259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39260 (exit $ac_status); } &&
39261 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39263 (eval $ac_try) 2>&5
39264 ac_status=$?
39265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39266 (exit $ac_status); }; } &&
39267 { ac_try='test -s conftest.$ac_objext'
39268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39269 (eval $ac_try) 2>&5
39270 ac_status=$?
39271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39272 (exit $ac_status); }; }; then
39273 wxUSE_JOYSTICK=yes
39274
39275 else
39276 echo "$as_me: failed program was:" >&5
39277 sed 's/^/| /' conftest.$ac_ext >&5
39278
39279 fi
39280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39281 ac_ext=c
39282 ac_cpp='$CPP $CPPFLAGS'
39283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39286
39287 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
39288 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
39289 fi
39290
39291 else
39292
39293 for ac_header in linux/joystick.h
39294 do
39295 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39297 echo "$as_me:$LINENO: checking for $ac_header" >&5
39298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39300 echo $ECHO_N "(cached) $ECHO_C" >&6
39301 fi
39302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39304 else
39305 # Is the header compilable?
39306 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39307 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39308 cat >conftest.$ac_ext <<_ACEOF
39309 /* confdefs.h. */
39310 _ACEOF
39311 cat confdefs.h >>conftest.$ac_ext
39312 cat >>conftest.$ac_ext <<_ACEOF
39313 /* end confdefs.h. */
39314 $ac_includes_default
39315 #include <$ac_header>
39316 _ACEOF
39317 rm -f conftest.$ac_objext
39318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39319 (eval $ac_compile) 2>conftest.er1
39320 ac_status=$?
39321 grep -v '^ *+' conftest.er1 >conftest.err
39322 rm -f conftest.er1
39323 cat conftest.err >&5
39324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39325 (exit $ac_status); } &&
39326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39328 (eval $ac_try) 2>&5
39329 ac_status=$?
39330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39331 (exit $ac_status); }; } &&
39332 { ac_try='test -s conftest.$ac_objext'
39333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39334 (eval $ac_try) 2>&5
39335 ac_status=$?
39336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39337 (exit $ac_status); }; }; then
39338 ac_header_compiler=yes
39339 else
39340 echo "$as_me: failed program was:" >&5
39341 sed 's/^/| /' conftest.$ac_ext >&5
39342
39343 ac_header_compiler=no
39344 fi
39345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39346 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39347 echo "${ECHO_T}$ac_header_compiler" >&6
39348
39349 # Is the header present?
39350 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39351 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39352 cat >conftest.$ac_ext <<_ACEOF
39353 /* confdefs.h. */
39354 _ACEOF
39355 cat confdefs.h >>conftest.$ac_ext
39356 cat >>conftest.$ac_ext <<_ACEOF
39357 /* end confdefs.h. */
39358 #include <$ac_header>
39359 _ACEOF
39360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39362 ac_status=$?
39363 grep -v '^ *+' conftest.er1 >conftest.err
39364 rm -f conftest.er1
39365 cat conftest.err >&5
39366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39367 (exit $ac_status); } >/dev/null; then
39368 if test -s conftest.err; then
39369 ac_cpp_err=$ac_c_preproc_warn_flag
39370 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39371 else
39372 ac_cpp_err=
39373 fi
39374 else
39375 ac_cpp_err=yes
39376 fi
39377 if test -z "$ac_cpp_err"; then
39378 ac_header_preproc=yes
39379 else
39380 echo "$as_me: failed program was:" >&5
39381 sed 's/^/| /' conftest.$ac_ext >&5
39382
39383 ac_header_preproc=no
39384 fi
39385 rm -f conftest.err conftest.$ac_ext
39386 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39387 echo "${ECHO_T}$ac_header_preproc" >&6
39388
39389 # So? What about this header?
39390 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39391 yes:no: )
39392 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39393 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39395 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39396 ac_header_preproc=yes
39397 ;;
39398 no:yes:* )
39399 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39400 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39401 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39402 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39403 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39404 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39405 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39406 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39409 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39410 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39411 (
39412 cat <<\_ASBOX
39413 ## ----------------------------------------- ##
39414 ## Report this to wx-dev@lists.wxwidgets.org ##
39415 ## ----------------------------------------- ##
39416 _ASBOX
39417 ) |
39418 sed "s/^/$as_me: WARNING: /" >&2
39419 ;;
39420 esac
39421 echo "$as_me:$LINENO: checking for $ac_header" >&5
39422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39424 echo $ECHO_N "(cached) $ECHO_C" >&6
39425 else
39426 eval "$as_ac_Header=\$ac_header_preproc"
39427 fi
39428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39429 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39430
39431 fi
39432 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39433 cat >>confdefs.h <<_ACEOF
39434 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39435 _ACEOF
39436 wxUSE_JOYSTICK=yes
39437 fi
39438
39439 done
39440
39441 fi
39442
39443 if test "$wxUSE_JOYSTICK" = "yes"; then
39444 cat >>confdefs.h <<\_ACEOF
39445 #define wxUSE_JOYSTICK 1
39446 _ACEOF
39447
39448 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
39449 else
39450 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
39451 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
39452 fi
39453 fi
39454
39455
39456
39457 if test "$wxUSE_FONTMAP" = "yes" ; then
39458 cat >>confdefs.h <<\_ACEOF
39459 #define wxUSE_FONTMAP 1
39460 _ACEOF
39461
39462 fi
39463
39464 if test "$wxUSE_UNICODE" = "yes" ; then
39465 cat >>confdefs.h <<\_ACEOF
39466 #define wxUSE_UNICODE 1
39467 _ACEOF
39468
39469
39470 if test "$USE_WIN32" != 1; then
39471 wxUSE_UNICODE_MSLU=no
39472 fi
39473
39474 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
39475 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
39476 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
39477 if test "${ac_cv_lib_unicows_main+set}" = set; then
39478 echo $ECHO_N "(cached) $ECHO_C" >&6
39479 else
39480 ac_check_lib_save_LIBS=$LIBS
39481 LIBS="-lunicows $LIBS"
39482 cat >conftest.$ac_ext <<_ACEOF
39483 /* confdefs.h. */
39484 _ACEOF
39485 cat confdefs.h >>conftest.$ac_ext
39486 cat >>conftest.$ac_ext <<_ACEOF
39487 /* end confdefs.h. */
39488
39489
39490 int
39491 main ()
39492 {
39493 main ();
39494 ;
39495 return 0;
39496 }
39497 _ACEOF
39498 rm -f conftest.$ac_objext conftest$ac_exeext
39499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39500 (eval $ac_link) 2>conftest.er1
39501 ac_status=$?
39502 grep -v '^ *+' conftest.er1 >conftest.err
39503 rm -f conftest.er1
39504 cat conftest.err >&5
39505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39506 (exit $ac_status); } &&
39507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39509 (eval $ac_try) 2>&5
39510 ac_status=$?
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); }; } &&
39513 { ac_try='test -s conftest$ac_exeext'
39514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39515 (eval $ac_try) 2>&5
39516 ac_status=$?
39517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39518 (exit $ac_status); }; }; then
39519 ac_cv_lib_unicows_main=yes
39520 else
39521 echo "$as_me: failed program was:" >&5
39522 sed 's/^/| /' conftest.$ac_ext >&5
39523
39524 ac_cv_lib_unicows_main=no
39525 fi
39526 rm -f conftest.err conftest.$ac_objext \
39527 conftest$ac_exeext conftest.$ac_ext
39528 LIBS=$ac_check_lib_save_LIBS
39529 fi
39530 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
39531 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
39532 if test $ac_cv_lib_unicows_main = yes; then
39533
39534 cat >>confdefs.h <<\_ACEOF
39535 #define wxUSE_UNICODE_MSLU 1
39536 _ACEOF
39537
39538
39539 else
39540
39541 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39542 Applications will only run on Windows NT/2000/XP!" >&5
39543 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39544 Applications will only run on Windows NT/2000/XP!" >&2;}
39545 wxUSE_UNICODE_MSLU=no
39546
39547 fi
39548
39549 fi
39550 fi
39551
39552 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
39553 cat >>confdefs.h <<\_ACEOF
39554 #define wxUSE_EXPERIMENTAL_PRINTF 1
39555 _ACEOF
39556
39557 fi
39558
39559
39560 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
39561 cat >>confdefs.h <<\_ACEOF
39562 #define wxUSE_POSTSCRIPT 1
39563 _ACEOF
39564
39565 fi
39566
39567 cat >>confdefs.h <<\_ACEOF
39568 #define wxUSE_AFM_FOR_POSTSCRIPT 1
39569 _ACEOF
39570
39571
39572 cat >>confdefs.h <<\_ACEOF
39573 #define wxUSE_NORMALIZED_PS_FONTS 1
39574 _ACEOF
39575
39576
39577
39578 if test "$wxUSE_CONSTRAINTS" = "yes"; then
39579 cat >>confdefs.h <<\_ACEOF
39580 #define wxUSE_CONSTRAINTS 1
39581 _ACEOF
39582
39583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
39584 fi
39585
39586 if test "$wxUSE_MDI" = "yes"; then
39587 cat >>confdefs.h <<\_ACEOF
39588 #define wxUSE_MDI 1
39589 _ACEOF
39590
39591
39592 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39593 cat >>confdefs.h <<\_ACEOF
39594 #define wxUSE_MDI_ARCHITECTURE 1
39595 _ACEOF
39596
39597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
39598 fi
39599 fi
39600
39601 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
39602 cat >>confdefs.h <<\_ACEOF
39603 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
39604 _ACEOF
39605
39606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
39607 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
39609 fi
39610 fi
39611
39612 if test "$wxUSE_HELP" = "yes"; then
39613 cat >>confdefs.h <<\_ACEOF
39614 #define wxUSE_HELP 1
39615 _ACEOF
39616
39617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
39618
39619 if test "$wxUSE_MSW" = 1; then
39620 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
39621 cat >>confdefs.h <<\_ACEOF
39622 #define wxUSE_MS_HTML_HELP 1
39623 _ACEOF
39624
39625 fi
39626 fi
39627
39628 if test "$wxUSE_WXHTML_HELP" = "yes"; then
39629 if test "$wxUSE_HTML" = "yes"; then
39630 cat >>confdefs.h <<\_ACEOF
39631 #define wxUSE_WXHTML_HELP 1
39632 _ACEOF
39633
39634 else
39635 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
39636 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
39637 wxUSE_WXHTML_HELP=no
39638 fi
39639 fi
39640 fi
39641
39642 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39643 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39644 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
39645 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
39646 else
39647 cat >>confdefs.h <<\_ACEOF
39648 #define wxUSE_PRINTING_ARCHITECTURE 1
39649 _ACEOF
39650
39651 fi
39652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
39653 fi
39654
39655 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
39656 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
39657 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
39658 { (exit 1); exit 1; }; }
39659 fi
39660
39661
39662 if test "$wxUSE_METAFILE" = "yes"; then
39663 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
39664 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
39665 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
39666 wxUSE_METAFILE=no
39667 fi
39668 fi
39669
39670
39671 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
39672 -o "$wxUSE_CLIPBOARD" = "yes" \
39673 -o "$wxUSE_OLE" = "yes" \
39674 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
39675
39676 for ac_header in ole2.h
39677 do
39678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39680 echo "$as_me:$LINENO: checking for $ac_header" >&5
39681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39683 echo $ECHO_N "(cached) $ECHO_C" >&6
39684 fi
39685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39687 else
39688 # Is the header compilable?
39689 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39690 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39691 cat >conftest.$ac_ext <<_ACEOF
39692 /* confdefs.h. */
39693 _ACEOF
39694 cat confdefs.h >>conftest.$ac_ext
39695 cat >>conftest.$ac_ext <<_ACEOF
39696 /* end confdefs.h. */
39697 $ac_includes_default
39698 #include <$ac_header>
39699 _ACEOF
39700 rm -f conftest.$ac_objext
39701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39702 (eval $ac_compile) 2>conftest.er1
39703 ac_status=$?
39704 grep -v '^ *+' conftest.er1 >conftest.err
39705 rm -f conftest.er1
39706 cat conftest.err >&5
39707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39708 (exit $ac_status); } &&
39709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39711 (eval $ac_try) 2>&5
39712 ac_status=$?
39713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39714 (exit $ac_status); }; } &&
39715 { ac_try='test -s conftest.$ac_objext'
39716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39717 (eval $ac_try) 2>&5
39718 ac_status=$?
39719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39720 (exit $ac_status); }; }; then
39721 ac_header_compiler=yes
39722 else
39723 echo "$as_me: failed program was:" >&5
39724 sed 's/^/| /' conftest.$ac_ext >&5
39725
39726 ac_header_compiler=no
39727 fi
39728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39729 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39730 echo "${ECHO_T}$ac_header_compiler" >&6
39731
39732 # Is the header present?
39733 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39734 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39735 cat >conftest.$ac_ext <<_ACEOF
39736 /* confdefs.h. */
39737 _ACEOF
39738 cat confdefs.h >>conftest.$ac_ext
39739 cat >>conftest.$ac_ext <<_ACEOF
39740 /* end confdefs.h. */
39741 #include <$ac_header>
39742 _ACEOF
39743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39745 ac_status=$?
39746 grep -v '^ *+' conftest.er1 >conftest.err
39747 rm -f conftest.er1
39748 cat conftest.err >&5
39749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39750 (exit $ac_status); } >/dev/null; then
39751 if test -s conftest.err; then
39752 ac_cpp_err=$ac_c_preproc_warn_flag
39753 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39754 else
39755 ac_cpp_err=
39756 fi
39757 else
39758 ac_cpp_err=yes
39759 fi
39760 if test -z "$ac_cpp_err"; then
39761 ac_header_preproc=yes
39762 else
39763 echo "$as_me: failed program was:" >&5
39764 sed 's/^/| /' conftest.$ac_ext >&5
39765
39766 ac_header_preproc=no
39767 fi
39768 rm -f conftest.err conftest.$ac_ext
39769 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39770 echo "${ECHO_T}$ac_header_preproc" >&6
39771
39772 # So? What about this header?
39773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39774 yes:no: )
39775 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39776 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39778 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39779 ac_header_preproc=yes
39780 ;;
39781 no:yes:* )
39782 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39783 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39784 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39785 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39786 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39787 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39788 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39789 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39791 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39792 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39793 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39794 (
39795 cat <<\_ASBOX
39796 ## ----------------------------------------- ##
39797 ## Report this to wx-dev@lists.wxwidgets.org ##
39798 ## ----------------------------------------- ##
39799 _ASBOX
39800 ) |
39801 sed "s/^/$as_me: WARNING: /" >&2
39802 ;;
39803 esac
39804 echo "$as_me:$LINENO: checking for $ac_header" >&5
39805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39807 echo $ECHO_N "(cached) $ECHO_C" >&6
39808 else
39809 eval "$as_ac_Header=\$ac_header_preproc"
39810 fi
39811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39812 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39813
39814 fi
39815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39816 cat >>confdefs.h <<_ACEOF
39817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39818 _ACEOF
39819
39820 fi
39821
39822 done
39823
39824
39825 if test "$ac_cv_header_ole2_h" = "yes" ; then
39826 if test "$GCC" = yes ; then
39827
39828
39829 ac_ext=cc
39830 ac_cpp='$CXXCPP $CPPFLAGS'
39831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39834
39835
39836 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
39837 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
39838 cat >conftest.$ac_ext <<_ACEOF
39839 /* confdefs.h. */
39840 _ACEOF
39841 cat confdefs.h >>conftest.$ac_ext
39842 cat >>conftest.$ac_ext <<_ACEOF
39843 /* end confdefs.h. */
39844 #include <windows.h>
39845 #include <ole2.h>
39846 int
39847 main ()
39848 {
39849
39850 ;
39851 return 0;
39852 }
39853 _ACEOF
39854 rm -f conftest.$ac_objext
39855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39856 (eval $ac_compile) 2>conftest.er1
39857 ac_status=$?
39858 grep -v '^ *+' conftest.er1 >conftest.err
39859 rm -f conftest.er1
39860 cat conftest.err >&5
39861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39862 (exit $ac_status); } &&
39863 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39865 (eval $ac_try) 2>&5
39866 ac_status=$?
39867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39868 (exit $ac_status); }; } &&
39869 { ac_try='test -s conftest.$ac_objext'
39870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39871 (eval $ac_try) 2>&5
39872 ac_status=$?
39873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39874 (exit $ac_status); }; }; then
39875 echo "$as_me:$LINENO: result: no" >&5
39876 echo "${ECHO_T}no" >&6
39877 else
39878 echo "$as_me: failed program was:" >&5
39879 sed 's/^/| /' conftest.$ac_ext >&5
39880
39881 echo "$as_me:$LINENO: result: yes" >&5
39882 echo "${ECHO_T}yes" >&6
39883 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
39884 fi
39885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39886 ac_ext=c
39887 ac_cpp='$CPP $CPPFLAGS'
39888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39891
39892 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
39893 if test "$wxUSE_OLE" = "yes" ; then
39894 cat >>confdefs.h <<\_ACEOF
39895 #define wxUSE_OLE 1
39896 _ACEOF
39897
39898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
39899 fi
39900 fi
39901
39902 if test "$wxUSE_DATAOBJ" = "yes" ; then
39903 cat >>confdefs.h <<\_ACEOF
39904 #define wxUSE_DATAOBJ 1
39905 _ACEOF
39906
39907 fi
39908 else
39909 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
39910 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
39911
39912 wxUSE_CLIPBOARD=no
39913 wxUSE_DRAG_AND_DROP=no
39914 wxUSE_DATAOBJ=no
39915 wxUSE_OLE=no
39916 fi
39917
39918 if test "$wxUSE_METAFILE" = "yes"; then
39919 cat >>confdefs.h <<\_ACEOF
39920 #define wxUSE_METAFILE 1
39921 _ACEOF
39922
39923
39924 cat >>confdefs.h <<\_ACEOF
39925 #define wxUSE_ENH_METAFILE 1
39926 _ACEOF
39927
39928 fi
39929 fi
39930
39931 if test "$wxUSE_IPC" = "yes"; then
39932 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
39933 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
39934 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
39935 wxUSE_IPC=no
39936 fi
39937
39938 if test "$wxUSE_IPC" = "yes"; then
39939 cat >>confdefs.h <<\_ACEOF
39940 #define wxUSE_IPC 1
39941 _ACEOF
39942
39943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
39944 fi
39945 fi
39946
39947 if test "$wxUSE_DATAOBJ" = "yes"; then
39948 if test "$wxUSE_MGL" = 1; then
39949 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
39950 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
39951 wxUSE_DATAOBJ=no
39952 else
39953 cat >>confdefs.h <<\_ACEOF
39954 #define wxUSE_DATAOBJ 1
39955 _ACEOF
39956
39957 fi
39958 else
39959 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
39960 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
39961 wxUSE_CLIPBOARD=no
39962 wxUSE_DRAG_AND_DROP=no
39963 fi
39964
39965 if test "$wxUSE_CLIPBOARD" = "yes"; then
39966 if test "$wxUSE_MGL" = 1; then
39967 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
39968 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
39969 wxUSE_CLIPBOARD=no
39970 fi
39971
39972 if test "$wxUSE_CLIPBOARD" = "yes"; then
39973 cat >>confdefs.h <<\_ACEOF
39974 #define wxUSE_CLIPBOARD 1
39975 _ACEOF
39976
39977 fi
39978 fi
39979
39980 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
39981 if test "$wxUSE_GTK" = 1; then
39982 if test "$WXGTK12" != 1; then
39983 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
39984 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
39985 wxUSE_DRAG_AND_DROP=no
39986 fi
39987 fi
39988
39989 if test "$wxUSE_MOTIF" = 1; then
39990 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
39991 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
39992 wxUSE_DRAG_AND_DROP=no
39993 fi
39994
39995 if test "$wxUSE_X11" = 1; then
39996 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
39997 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
39998 wxUSE_DRAG_AND_DROP=no
39999 fi
40000
40001 if test "$wxUSE_MGL" = 1; then
40002 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
40003 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
40004 wxUSE_DRAG_AND_DROP=no
40005 fi
40006
40007 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
40008 cat >>confdefs.h <<\_ACEOF
40009 #define wxUSE_DRAG_AND_DROP 1
40010 _ACEOF
40011
40012 fi
40013
40014 fi
40015
40016 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
40017 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
40018 fi
40019
40020 if test "$wxUSE_SPLINES" = "yes" ; then
40021 cat >>confdefs.h <<\_ACEOF
40022 #define wxUSE_SPLINES 1
40023 _ACEOF
40024
40025 fi
40026
40027 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
40028 cat >>confdefs.h <<\_ACEOF
40029 #define wxUSE_MOUSEWHEEL 1
40030 _ACEOF
40031
40032 fi
40033
40034
40035 USES_CONTROLS=0
40036 if test "$wxUSE_CONTROLS" = "yes"; then
40037 USES_CONTROLS=1
40038 fi
40039
40040 if test "$wxUSE_ACCEL" = "yes"; then
40041 cat >>confdefs.h <<\_ACEOF
40042 #define wxUSE_ACCEL 1
40043 _ACEOF
40044
40045 USES_CONTROLS=1
40046 fi
40047
40048 if test "$wxUSE_BUTTON" = "yes"; then
40049 cat >>confdefs.h <<\_ACEOF
40050 #define wxUSE_BUTTON 1
40051 _ACEOF
40052
40053 USES_CONTROLS=1
40054 fi
40055
40056 if test "$wxUSE_BMPBUTTON" = "yes"; then
40057 cat >>confdefs.h <<\_ACEOF
40058 #define wxUSE_BMPBUTTON 1
40059 _ACEOF
40060
40061 USES_CONTROLS=1
40062 fi
40063
40064 if test "$wxUSE_CALCTRL" = "yes"; then
40065 cat >>confdefs.h <<\_ACEOF
40066 #define wxUSE_CALENDARCTRL 1
40067 _ACEOF
40068
40069 USES_CONTROLS=1
40070 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
40071 fi
40072
40073 if test "$wxUSE_CARET" = "yes"; then
40074 cat >>confdefs.h <<\_ACEOF
40075 #define wxUSE_CARET 1
40076 _ACEOF
40077
40078 USES_CONTROLS=1
40079 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
40080 fi
40081
40082 if test "$wxUSE_COMBOBOX" = "yes"; then
40083 cat >>confdefs.h <<\_ACEOF
40084 #define wxUSE_COMBOBOX 1
40085 _ACEOF
40086
40087 USES_CONTROLS=1
40088 fi
40089
40090 if test "$wxUSE_CHOICE" = "yes"; then
40091 cat >>confdefs.h <<\_ACEOF
40092 #define wxUSE_CHOICE 1
40093 _ACEOF
40094
40095 USES_CONTROLS=1
40096 fi
40097
40098 if test "$wxUSE_CHOICEBOOK" = "yes"; then
40099 cat >>confdefs.h <<\_ACEOF
40100 #define wxUSE_CHOICEBOOK 1
40101 _ACEOF
40102
40103 USES_CONTROLS=1
40104 fi
40105
40106 if test "$wxUSE_CHECKBOX" = "yes"; then
40107 cat >>confdefs.h <<\_ACEOF
40108 #define wxUSE_CHECKBOX 1
40109 _ACEOF
40110
40111 USES_CONTROLS=1
40112 fi
40113
40114 if test "$wxUSE_CHECKLST" = "yes"; then
40115 cat >>confdefs.h <<\_ACEOF
40116 #define wxUSE_CHECKLISTBOX 1
40117 _ACEOF
40118
40119 USES_CONTROLS=1
40120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
40121 fi
40122
40123 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
40124 cat >>confdefs.h <<\_ACEOF
40125 #define wxUSE_DATEPICKCTRL 1
40126 _ACEOF
40127
40128 USES_CONTROLS=1
40129 fi
40130
40131 if test "$wxUSE_DISPLAY" = "yes"; then
40132 cat >>confdefs.h <<\_ACEOF
40133 #define wxUSE_DISPLAY 1
40134 _ACEOF
40135
40136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
40137 fi
40138
40139 if test "$wxUSE_GAUGE" = "yes"; then
40140 cat >>confdefs.h <<\_ACEOF
40141 #define wxUSE_GAUGE 1
40142 _ACEOF
40143
40144 USES_CONTROLS=1
40145 fi
40146
40147 if test "$wxUSE_GRID" = "yes"; then
40148 cat >>confdefs.h <<\_ACEOF
40149 #define wxUSE_GRID 1
40150 _ACEOF
40151
40152 USES_CONTROLS=1
40153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
40154 fi
40155
40156 if test "$wxUSE_IMAGLIST" = "yes"; then
40157 cat >>confdefs.h <<\_ACEOF
40158 #define wxUSE_IMAGLIST 1
40159 _ACEOF
40160
40161 fi
40162
40163 if test "$wxUSE_LISTBOOK" = "yes"; then
40164 cat >>confdefs.h <<\_ACEOF
40165 #define wxUSE_LISTBOOK 1
40166 _ACEOF
40167
40168 USES_CONTROLS=1
40169 fi
40170
40171 if test "$wxUSE_LISTBOX" = "yes"; then
40172 cat >>confdefs.h <<\_ACEOF
40173 #define wxUSE_LISTBOX 1
40174 _ACEOF
40175
40176 USES_CONTROLS=1
40177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
40178 fi
40179
40180 if test "$wxUSE_LISTCTRL" = "yes"; then
40181 if test "$wxUSE_IMAGLIST" = "yes"; then
40182 cat >>confdefs.h <<\_ACEOF
40183 #define wxUSE_LISTCTRL 1
40184 _ACEOF
40185
40186 USES_CONTROLS=1
40187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
40188 else
40189 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
40190 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
40191 fi
40192 fi
40193
40194 if test "$wxUSE_NOTEBOOK" = "yes"; then
40195 cat >>confdefs.h <<\_ACEOF
40196 #define wxUSE_NOTEBOOK 1
40197 _ACEOF
40198
40199 USES_CONTROLS=1
40200 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
40201 fi
40202
40203
40204 if test "$wxUSE_RADIOBOX" = "yes"; then
40205 cat >>confdefs.h <<\_ACEOF
40206 #define wxUSE_RADIOBOX 1
40207 _ACEOF
40208
40209 USES_CONTROLS=1
40210 fi
40211
40212 if test "$wxUSE_RADIOBTN" = "yes"; then
40213 cat >>confdefs.h <<\_ACEOF
40214 #define wxUSE_RADIOBTN 1
40215 _ACEOF
40216
40217 USES_CONTROLS=1
40218 fi
40219
40220 if test "$wxUSE_SASH" = "yes"; then
40221 cat >>confdefs.h <<\_ACEOF
40222 #define wxUSE_SASH 1
40223 _ACEOF
40224
40225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
40226 fi
40227
40228 if test "$wxUSE_SCROLLBAR" = "yes"; then
40229 cat >>confdefs.h <<\_ACEOF
40230 #define wxUSE_SCROLLBAR 1
40231 _ACEOF
40232
40233 USES_CONTROLS=1
40234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
40235 fi
40236
40237 if test "$wxUSE_SLIDER" = "yes"; then
40238 cat >>confdefs.h <<\_ACEOF
40239 #define wxUSE_SLIDER 1
40240 _ACEOF
40241
40242 USES_CONTROLS=1
40243 fi
40244
40245 if test "$wxUSE_SPINBTN" = "yes"; then
40246 cat >>confdefs.h <<\_ACEOF
40247 #define wxUSE_SPINBTN 1
40248 _ACEOF
40249
40250 USES_CONTROLS=1
40251 fi
40252
40253 if test "$wxUSE_SPINCTRL" = "yes"; then
40254 cat >>confdefs.h <<\_ACEOF
40255 #define wxUSE_SPINCTRL 1
40256 _ACEOF
40257
40258 USES_CONTROLS=1
40259 fi
40260
40261 if test "$wxUSE_SPLITTER" = "yes"; then
40262 cat >>confdefs.h <<\_ACEOF
40263 #define wxUSE_SPLITTER 1
40264 _ACEOF
40265
40266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
40267 fi
40268
40269 if test "$wxUSE_STATBMP" = "yes"; then
40270 cat >>confdefs.h <<\_ACEOF
40271 #define wxUSE_STATBMP 1
40272 _ACEOF
40273
40274 USES_CONTROLS=1
40275 fi
40276
40277 if test "$wxUSE_STATBOX" = "yes"; then
40278 cat >>confdefs.h <<\_ACEOF
40279 #define wxUSE_STATBOX 1
40280 _ACEOF
40281
40282 USES_CONTROLS=1
40283 fi
40284
40285 if test "$wxUSE_STATTEXT" = "yes"; then
40286 cat >>confdefs.h <<\_ACEOF
40287 #define wxUSE_STATTEXT 1
40288 _ACEOF
40289
40290 USES_CONTROLS=1
40291 fi
40292
40293 if test "$wxUSE_STATLINE" = "yes"; then
40294 cat >>confdefs.h <<\_ACEOF
40295 #define wxUSE_STATLINE 1
40296 _ACEOF
40297
40298 USES_CONTROLS=1
40299 fi
40300
40301 if test "$wxUSE_STATUSBAR" = "yes"; then
40302 cat >>confdefs.h <<\_ACEOF
40303 #define wxUSE_NATIVE_STATUSBAR 1
40304 _ACEOF
40305
40306 cat >>confdefs.h <<\_ACEOF
40307 #define wxUSE_STATUSBAR 1
40308 _ACEOF
40309
40310 USES_CONTROLS=1
40311
40312 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
40313 fi
40314
40315 if test "$wxUSE_TABDIALOG" = "yes"; then
40316 cat >>confdefs.h <<\_ACEOF
40317 #define wxUSE_TAB_DIALOG 1
40318 _ACEOF
40319
40320 fi
40321
40322 if test "$wxUSE_TEXTCTRL" = "yes"; then
40323 cat >>confdefs.h <<\_ACEOF
40324 #define wxUSE_TEXTCTRL 1
40325 _ACEOF
40326
40327 USES_CONTROLS=1
40328 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
40329 fi
40330
40331 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40332 if test "$wxUSE_COCOA" = 1 ; then
40333 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
40334 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
40335 wxUSE_TOGGLEBTN=no
40336 fi
40337 if test "$wxUSE_UNIVERSAL" = "yes"; then
40338 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
40339 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
40340 wxUSE_TOGGLEBTN=no
40341 fi
40342
40343 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40344 cat >>confdefs.h <<\_ACEOF
40345 #define wxUSE_TOGGLEBTN 1
40346 _ACEOF
40347
40348 USES_CONTROLS=1
40349 fi
40350 fi
40351
40352 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
40353 cat >>confdefs.h <<\_ACEOF
40354 #define wxUSE_TOOLBAR_SIMPLE 1
40355 _ACEOF
40356
40357 wxUSE_TOOLBAR="yes"
40358 USES_CONTROLS=1
40359 fi
40360
40361 if test "$wxUSE_TOOLBAR" = "yes"; then
40362 cat >>confdefs.h <<\_ACEOF
40363 #define wxUSE_TOOLBAR 1
40364 _ACEOF
40365
40366 USES_CONTROLS=1
40367
40368 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
40369 wxUSE_TOOLBAR_NATIVE="yes"
40370 fi
40371
40372 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
40373 cat >>confdefs.h <<\_ACEOF
40374 #define wxUSE_TOOLBAR_NATIVE 1
40375 _ACEOF
40376
40377 USES_CONTROLS=1
40378 fi
40379
40380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
40381 fi
40382
40383 if test "$wxUSE_TOOLTIPS" = "yes"; then
40384 if test "$wxUSE_MOTIF" = 1; then
40385 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
40386 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
40387 else
40388 if test "$wxUSE_UNIVERSAL" = "yes"; then
40389 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
40390 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
40391 else
40392 cat >>confdefs.h <<\_ACEOF
40393 #define wxUSE_TOOLTIPS 1
40394 _ACEOF
40395
40396 fi
40397 fi
40398 fi
40399
40400 if test "$wxUSE_TREECTRL" = "yes"; then
40401 if test "$wxUSE_IMAGLIST" = "yes"; then
40402 cat >>confdefs.h <<\_ACEOF
40403 #define wxUSE_TREECTRL 1
40404 _ACEOF
40405
40406 USES_CONTROLS=1
40407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
40408 else
40409 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
40410 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
40411 fi
40412 fi
40413
40414 if test "$wxUSE_POPUPWIN" = "yes"; then
40415 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40416 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
40417 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
40418 else
40419 if test "$wxUSE_PM" = 1; then
40420 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
40421 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
40422 else
40423 cat >>confdefs.h <<\_ACEOF
40424 #define wxUSE_POPUPWIN 1
40425 _ACEOF
40426
40427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
40428
40429 USES_CONTROLS=1
40430 fi
40431 fi
40432 fi
40433
40434 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
40435 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40436 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
40437 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
40438 else
40439 cat >>confdefs.h <<\_ACEOF
40440 #define wxUSE_DIALUP_MANAGER 1
40441 _ACEOF
40442
40443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
40444 fi
40445 fi
40446
40447 if test "$wxUSE_TIPWINDOW" = "yes"; then
40448 if test "$wxUSE_PM" = 1; then
40449 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
40450 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
40451 else
40452 cat >>confdefs.h <<\_ACEOF
40453 #define wxUSE_TIPWINDOW 1
40454 _ACEOF
40455
40456 fi
40457 fi
40458
40459 if test "$USES_CONTROLS" = 1; then
40460 cat >>confdefs.h <<\_ACEOF
40461 #define wxUSE_CONTROLS 1
40462 _ACEOF
40463
40464 fi
40465
40466
40467 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
40468 cat >>confdefs.h <<\_ACEOF
40469 #define wxUSE_ACCESSIBILITY 1
40470 _ACEOF
40471
40472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
40473 fi
40474
40475 if test "$wxUSE_DC_CACHEING" = "yes"; then
40476 cat >>confdefs.h <<\_ACEOF
40477 #define wxUSE_DC_CACHEING 1
40478 _ACEOF
40479
40480 fi
40481
40482 if test "$wxUSE_DRAGIMAGE" = "yes"; then
40483 cat >>confdefs.h <<\_ACEOF
40484 #define wxUSE_DRAGIMAGE 1
40485 _ACEOF
40486
40487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
40488 fi
40489
40490 if test "$wxUSE_EXCEPTIONS" = "yes"; then
40491 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40492 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
40493 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
40494 else
40495 cat >>confdefs.h <<\_ACEOF
40496 #define wxUSE_EXCEPTIONS 1
40497 _ACEOF
40498
40499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
40500 fi
40501 fi
40502
40503 USE_HTML=0
40504 if test "$wxUSE_HTML" = "yes"; then
40505 cat >>confdefs.h <<\_ACEOF
40506 #define wxUSE_HTML 1
40507 _ACEOF
40508
40509 USE_HTML=1
40510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
40511 if test "$wxUSE_MAC" = 1; then
40512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
40513 fi
40514 fi
40515 if test "$wxUSE_WEBKIT" = "yes"; then
40516 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
40517 old_CPPFLAGS="$CPPFLAGS"
40518 CPPFLAGS="$CPPFLAGS -x objective-c++"
40519 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
40520 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
40521 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
40522 echo $ECHO_N "(cached) $ECHO_C" >&6
40523 else
40524 cat >conftest.$ac_ext <<_ACEOF
40525 /* confdefs.h. */
40526 _ACEOF
40527 cat confdefs.h >>conftest.$ac_ext
40528 cat >>conftest.$ac_ext <<_ACEOF
40529 /* end confdefs.h. */
40530 #include <Carbon/Carbon.h>
40531
40532 #include <WebKit/HIWebView.h>
40533 _ACEOF
40534 rm -f conftest.$ac_objext
40535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40536 (eval $ac_compile) 2>conftest.er1
40537 ac_status=$?
40538 grep -v '^ *+' conftest.er1 >conftest.err
40539 rm -f conftest.er1
40540 cat conftest.err >&5
40541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40542 (exit $ac_status); } &&
40543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40545 (eval $ac_try) 2>&5
40546 ac_status=$?
40547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40548 (exit $ac_status); }; } &&
40549 { ac_try='test -s conftest.$ac_objext'
40550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40551 (eval $ac_try) 2>&5
40552 ac_status=$?
40553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40554 (exit $ac_status); }; }; then
40555 ac_cv_header_WebKit_HIWebView_h=yes
40556 else
40557 echo "$as_me: failed program was:" >&5
40558 sed 's/^/| /' conftest.$ac_ext >&5
40559
40560 ac_cv_header_WebKit_HIWebView_h=no
40561 fi
40562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40563 fi
40564 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
40565 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
40566 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
40567
40568 cat >>confdefs.h <<\_ACEOF
40569 #define wxUSE_WEBKIT 1
40570 _ACEOF
40571
40572 WEBKIT_LINK="-framework WebKit"
40573
40574 else
40575
40576 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
40577 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
40578 wxUSE_WEBKIT=no
40579
40580 fi
40581
40582
40583 CPPFLAGS="$old_CPPFLAGS"
40584 elif test "$wxUSE_COCOA" = 1; then
40585 cat >>confdefs.h <<\_ACEOF
40586 #define wxUSE_WEBKIT 1
40587 _ACEOF
40588
40589 else
40590 wxUSE_WEBKIT=no
40591 fi
40592 fi
40593
40594 USE_XRC=0
40595 if test "$wxUSE_XRC" = "yes"; then
40596 if test "$wxUSE_XML" != "yes"; then
40597 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
40598 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
40599 wxUSE_XRC=no
40600 else
40601 cat >>confdefs.h <<\_ACEOF
40602 #define wxUSE_XRC 1
40603 _ACEOF
40604
40605 USE_XRC=1
40606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
40607 fi
40608 fi
40609
40610 if test "$wxUSE_MENUS" = "yes"; then
40611 cat >>confdefs.h <<\_ACEOF
40612 #define wxUSE_MENUS 1
40613 _ACEOF
40614
40615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
40616 fi
40617
40618 if test "$wxUSE_METAFILE" = "yes"; then
40619 cat >>confdefs.h <<\_ACEOF
40620 #define wxUSE_METAFILE 1
40621 _ACEOF
40622
40623 fi
40624
40625 if test "$wxUSE_MIMETYPE" = "yes"; then
40626 cat >>confdefs.h <<\_ACEOF
40627 #define wxUSE_MIMETYPE 1
40628 _ACEOF
40629
40630 fi
40631
40632 if test "$wxUSE_MINIFRAME" = "yes"; then
40633 cat >>confdefs.h <<\_ACEOF
40634 #define wxUSE_MINIFRAME 1
40635 _ACEOF
40636
40637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
40638 fi
40639
40640 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
40641 cat >>confdefs.h <<\_ACEOF
40642 #define wxUSE_SYSTEM_OPTIONS 1
40643 _ACEOF
40644
40645 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
40646 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
40647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
40648 fi
40649 fi
40650
40651
40652 if test "$wxUSE_VALIDATORS" = "yes"; then
40653 cat >>confdefs.h <<\_ACEOF
40654 #define wxUSE_VALIDATORS 1
40655 _ACEOF
40656
40657 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
40658 fi
40659
40660 if test "$wxUSE_PALETTE" = "yes" ; then
40661 cat >>confdefs.h <<\_ACEOF
40662 #define wxUSE_PALETTE 1
40663 _ACEOF
40664
40665 fi
40666
40667 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
40668 LIBS=" -lunicows $LIBS"
40669 fi
40670
40671
40672 if test "$wxUSE_IMAGE" = "yes" ; then
40673 cat >>confdefs.h <<\_ACEOF
40674 #define wxUSE_IMAGE 1
40675 _ACEOF
40676
40677
40678 if test "$wxUSE_GIF" = "yes" ; then
40679 cat >>confdefs.h <<\_ACEOF
40680 #define wxUSE_GIF 1
40681 _ACEOF
40682
40683 fi
40684
40685 if test "$wxUSE_PCX" = "yes" ; then
40686 cat >>confdefs.h <<\_ACEOF
40687 #define wxUSE_PCX 1
40688 _ACEOF
40689
40690 fi
40691
40692 if test "$wxUSE_IFF" = "yes" ; then
40693 cat >>confdefs.h <<\_ACEOF
40694 #define wxUSE_IFF 1
40695 _ACEOF
40696
40697 fi
40698
40699 if test "$wxUSE_PNM" = "yes" ; then
40700 cat >>confdefs.h <<\_ACEOF
40701 #define wxUSE_PNM 1
40702 _ACEOF
40703
40704 fi
40705
40706 if test "$wxUSE_XPM" = "yes" ; then
40707 cat >>confdefs.h <<\_ACEOF
40708 #define wxUSE_XPM 1
40709 _ACEOF
40710
40711 fi
40712
40713 if test "$wxUSE_ICO_CUR" = "yes" ; then
40714 cat >>confdefs.h <<\_ACEOF
40715 #define wxUSE_ICO_CUR 1
40716 _ACEOF
40717
40718 fi
40719 fi
40720
40721
40722 if test "$wxUSE_CHOICEDLG" = "yes"; then
40723 cat >>confdefs.h <<\_ACEOF
40724 #define wxUSE_CHOICEDLG 1
40725 _ACEOF
40726
40727 fi
40728
40729 if test "$wxUSE_COLOURDLG" = "yes"; then
40730 cat >>confdefs.h <<\_ACEOF
40731 #define wxUSE_COLOURDLG 1
40732 _ACEOF
40733
40734 fi
40735
40736 if test "$wxUSE_FILEDLG" = "yes"; then
40737 cat >>confdefs.h <<\_ACEOF
40738 #define wxUSE_FILEDLG 1
40739 _ACEOF
40740
40741 fi
40742
40743 if test "$wxUSE_FINDREPLDLG" = "yes"; then
40744 cat >>confdefs.h <<\_ACEOF
40745 #define wxUSE_FINDREPLDLG 1
40746 _ACEOF
40747
40748 fi
40749
40750 if test "$wxUSE_FONTDLG" = "yes"; then
40751 cat >>confdefs.h <<\_ACEOF
40752 #define wxUSE_FONTDLG 1
40753 _ACEOF
40754
40755 fi
40756
40757 if test "$wxUSE_DIRDLG" = "yes"; then
40758 if test "$wxUSE_TREECTRL" != "yes"; then
40759 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
40760 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
40761 else
40762 cat >>confdefs.h <<\_ACEOF
40763 #define wxUSE_DIRDLG 1
40764 _ACEOF
40765
40766 fi
40767 fi
40768
40769 if test "$wxUSE_MSGDLG" = "yes"; then
40770 cat >>confdefs.h <<\_ACEOF
40771 #define wxUSE_MSGDLG 1
40772 _ACEOF
40773
40774 fi
40775
40776 if test "$wxUSE_NUMBERDLG" = "yes"; then
40777 cat >>confdefs.h <<\_ACEOF
40778 #define wxUSE_NUMBERDLG 1
40779 _ACEOF
40780
40781 fi
40782
40783 if test "$wxUSE_PROGRESSDLG" = "yes"; then
40784 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40785 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
40786 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
40787 else
40788 cat >>confdefs.h <<\_ACEOF
40789 #define wxUSE_PROGRESSDLG 1
40790 _ACEOF
40791
40792 fi
40793 fi
40794
40795 if test "$wxUSE_SPLASH" = "yes"; then
40796 cat >>confdefs.h <<\_ACEOF
40797 #define wxUSE_SPLASH 1
40798 _ACEOF
40799
40800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
40801 fi
40802
40803 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
40804 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40805 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
40806 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
40807 else
40808 cat >>confdefs.h <<\_ACEOF
40809 #define wxUSE_STARTUP_TIPS 1
40810 _ACEOF
40811
40812 fi
40813 fi
40814
40815 if test "$wxUSE_TEXTDLG" = "yes"; then
40816 cat >>confdefs.h <<\_ACEOF
40817 #define wxUSE_TEXTDLG 1
40818 _ACEOF
40819
40820 fi
40821
40822 if test "$wxUSE_WIZARDDLG" = "yes"; then
40823 cat >>confdefs.h <<\_ACEOF
40824 #define wxUSE_WIZARDDLG 1
40825 _ACEOF
40826
40827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
40828 fi
40829
40830
40831 if test "$wxUSE_MEDIACTRL" = "yes"; then
40832 if test "$wxUSE_GTK" = 1; then
40833 wxUSE_GSTREAMER="yes"
40834
40835
40836 succeeded=no
40837
40838 if test -z "$PKG_CONFIG"; then
40839 # Extract the first word of "pkg-config", so it can be a program name with args.
40840 set dummy pkg-config; ac_word=$2
40841 echo "$as_me:$LINENO: checking for $ac_word" >&5
40842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40843 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40844 echo $ECHO_N "(cached) $ECHO_C" >&6
40845 else
40846 case $PKG_CONFIG in
40847 [\\/]* | ?:[\\/]*)
40848 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40849 ;;
40850 *)
40851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40852 for as_dir in $PATH
40853 do
40854 IFS=$as_save_IFS
40855 test -z "$as_dir" && as_dir=.
40856 for ac_exec_ext in '' $ac_executable_extensions; do
40857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40858 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40860 break 2
40861 fi
40862 done
40863 done
40864
40865 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
40866 ;;
40867 esac
40868 fi
40869 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
40870
40871 if test -n "$PKG_CONFIG"; then
40872 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40873 echo "${ECHO_T}$PKG_CONFIG" >&6
40874 else
40875 echo "$as_me:$LINENO: result: no" >&5
40876 echo "${ECHO_T}no" >&6
40877 fi
40878
40879 fi
40880
40881 if test "$PKG_CONFIG" = "no" ; then
40882 echo "*** The pkg-config script could not be found. Make sure it is"
40883 echo "*** in your path, or set the PKG_CONFIG environment variable"
40884 echo "*** to the full path to pkg-config."
40885 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40886 else
40887 PKG_CONFIG_MIN_VERSION=0.9.0
40888 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40889 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
40890 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
40891
40892 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
40893 echo "$as_me:$LINENO: result: yes" >&5
40894 echo "${ECHO_T}yes" >&6
40895 succeeded=yes
40896
40897 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
40898 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
40899 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
40900 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
40901 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
40902
40903 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
40904 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
40905 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
40906 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
40907 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
40908 else
40909 GSTREAMER_CFLAGS=""
40910 GSTREAMER_LIBS=""
40911 ## If we have a custom action on failure, don't print errors, but
40912 ## do set a variable so people can do so.
40913 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
40914
40915 fi
40916
40917
40918
40919 else
40920 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40921 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40922 fi
40923 fi
40924
40925 if test $succeeded = yes; then
40926
40927 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
40928 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
40929
40930 else
40931
40932 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
40933 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
40934 wxUSE_GSTREAMER="no"
40935
40936 fi
40937
40938
40939
40940
40941
40942 if test "x$GST_INSPECT" == "x"; then
40943 # Extract the first word of "gst-inspect", so it can be a program name with args.
40944 set dummy gst-inspect; ac_word=$2
40945 echo "$as_me:$LINENO: checking for $ac_word" >&5
40946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40947 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
40948 echo $ECHO_N "(cached) $ECHO_C" >&6
40949 else
40950 if test -n "$GST_INSPECT"; then
40951 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
40952 else
40953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40954 for as_dir in $PATH
40955 do
40956 IFS=$as_save_IFS
40957 test -z "$as_dir" && as_dir=.
40958 for ac_exec_ext in '' $ac_executable_extensions; do
40959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40960 ac_cv_prog_GST_INSPECT="gst-inspect"
40961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40962 break 2
40963 fi
40964 done
40965 done
40966
40967 fi
40968 fi
40969 GST_INSPECT=$ac_cv_prog_GST_INSPECT
40970 if test -n "$GST_INSPECT"; then
40971 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
40972 echo "${ECHO_T}$GST_INSPECT" >&6
40973 else
40974 echo "$as_me:$LINENO: result: no" >&5
40975 echo "${ECHO_T}no" >&6
40976 fi
40977
40978 fi
40979
40980 if test "x$GST_INSPECT" != "x"; then
40981 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40982 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40983 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
40984 echo "$as_me:$LINENO: result: found." >&5
40985 echo "${ECHO_T}found." >&6
40986
40987 else
40988 echo "$as_me:$LINENO: result: not found." >&5
40989 echo "${ECHO_T}not found." >&6
40990
40991 wxUSE_GSTREAMER="no"
40992 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40993 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40994
40995 fi
40996 fi
40997
40998
40999 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
41000 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
41001 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
41002 echo $ECHO_N "(cached) $ECHO_C" >&6
41003 else
41004 cat >conftest.$ac_ext <<_ACEOF
41005 /* confdefs.h. */
41006 _ACEOF
41007 cat confdefs.h >>conftest.$ac_ext
41008 cat >>conftest.$ac_ext <<_ACEOF
41009 /* end confdefs.h. */
41010 #include <gst/gst.h>
41011
41012 #include <gst/xoverlay/xoverlay.h>
41013 _ACEOF
41014 rm -f conftest.$ac_objext
41015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41016 (eval $ac_compile) 2>conftest.er1
41017 ac_status=$?
41018 grep -v '^ *+' conftest.er1 >conftest.err
41019 rm -f conftest.er1
41020 cat conftest.err >&5
41021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41022 (exit $ac_status); } &&
41023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41025 (eval $ac_try) 2>&5
41026 ac_status=$?
41027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41028 (exit $ac_status); }; } &&
41029 { ac_try='test -s conftest.$ac_objext'
41030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41031 (eval $ac_try) 2>&5
41032 ac_status=$?
41033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41034 (exit $ac_status); }; }; then
41035 ac_cv_header_gst_xoverlay_xoverlay_h=yes
41036 else
41037 echo "$as_me: failed program was:" >&5
41038 sed 's/^/| /' conftest.$ac_ext >&5
41039
41040 ac_cv_header_gst_xoverlay_xoverlay_h=no
41041 fi
41042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41043 fi
41044 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
41045 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
41046 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
41047 :
41048 else
41049
41050 wxUSE_GSTREAMER="no"
41051 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
41052 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
41053
41054 fi
41055
41056
41057
41058 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
41059 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
41060
41061 ac_find_libraries=
41062 for ac_dir in $SEARCH_LIB /usr/lib;
41063 do
41064 for ac_extension in a so sl dylib dll.a; do
41065 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
41066 ac_find_libraries=$ac_dir
41067 break 2
41068 fi
41069 done
41070 done
41071
41072
41073 if test "$ac_find_libraries" = "" ; then
41074 echo "$as_me:$LINENO: result: no" >&5
41075 echo "${ECHO_T}no" >&6
41076 wxUSE_GSTREAMER="no"
41077 else
41078 echo "$as_me:$LINENO: result: yes" >&5
41079 echo "${ECHO_T}yes" >&6
41080 fi
41081
41082 if test "$wxUSE_GSTREAMER" = "yes"; then
41083 cat >>confdefs.h <<\_ACEOF
41084 #define wxUSE_GSTREAMER 1
41085 _ACEOF
41086
41087 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
41088 echo "${ECHO_T}GStreamer detection successful" >&6
41089 fi
41090 fi
41091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
41092 cat >>confdefs.h <<\_ACEOF
41093 #define wxUSE_MEDIACTRL 1
41094 _ACEOF
41095
41096 fi
41097
41098
41099 if test "$cross_compiling" = "yes"; then
41100 OSINFO="\"$host\""
41101 else
41102 OSINFO=`uname -s -r -m`
41103 OSINFO="\"$OSINFO\""
41104 fi
41105
41106 cat >>confdefs.h <<_ACEOF
41107 #define WXWIN_OS_DESCRIPTION $OSINFO
41108 _ACEOF
41109
41110
41111
41112 if test "x$prefix" != "xNONE"; then
41113 wxPREFIX=$prefix
41114 else
41115 wxPREFIX=$ac_default_prefix
41116 fi
41117
41118 cat >>confdefs.h <<_ACEOF
41119 #define wxINSTALL_PREFIX "$wxPREFIX"
41120 _ACEOF
41121
41122
41123
41124
41125 CORE_BASE_LIBS="net base"
41126 CORE_GUI_LIBS="adv core"
41127
41128 if test "$wxUSE_XML" = "yes" ; then
41129 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
41130 fi
41131 if test "$wxUSE_ODBC" != "no" ; then
41132 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
41133 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
41134 fi
41135 if test "$wxUSE_HTML" = "yes" ; then
41136 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
41137 fi
41138 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41139 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
41140 fi
41141 if test "$wxUSE_XRC" = "yes" ; then
41142 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
41143 fi
41144
41145 if test "$wxUSE_GUI" != "yes"; then
41146 CORE_GUI_LIBS=""
41147 fi
41148
41149
41150
41151
41152
41153
41154
41155
41156 if test "$wxUSE_MAC" = 1 ; then
41157 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
41158 if test "$USE_DARWIN" = 1; then
41159 LDFLAGS="$LDFLAGS -framework QuickTime"
41160 else
41161 LDFLAGS="$LDFLAGS -lQuickTimeLib"
41162 fi
41163 fi
41164 if test "$USE_DARWIN" = 1; then
41165 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
41166 else
41167 LDFLAGS="$LDFLAGS -lCarbonLib"
41168 fi
41169 fi
41170 if test "$wxUSE_COCOA" = 1 ; then
41171 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
41172 if test "$wxUSE_MEDIACTRL" = "yes"; then
41173 LDFLAGS="$LDFLAGS -framework QuickTime"
41174 fi
41175 fi
41176 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
41177 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
41178 fi
41179
41180
41181 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
41182
41183 have_cos=0
41184 have_floor=0
41185
41186 for ac_func in cos
41187 do
41188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41189 echo "$as_me:$LINENO: checking for $ac_func" >&5
41190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41191 if eval "test \"\${$as_ac_var+set}\" = set"; then
41192 echo $ECHO_N "(cached) $ECHO_C" >&6
41193 else
41194 cat >conftest.$ac_ext <<_ACEOF
41195 /* confdefs.h. */
41196 _ACEOF
41197 cat confdefs.h >>conftest.$ac_ext
41198 cat >>conftest.$ac_ext <<_ACEOF
41199 /* end confdefs.h. */
41200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41202 #define $ac_func innocuous_$ac_func
41203
41204 /* System header to define __stub macros and hopefully few prototypes,
41205 which can conflict with char $ac_func (); below.
41206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41207 <limits.h> exists even on freestanding compilers. */
41208
41209 #ifdef __STDC__
41210 # include <limits.h>
41211 #else
41212 # include <assert.h>
41213 #endif
41214
41215 #undef $ac_func
41216
41217 /* Override any gcc2 internal prototype to avoid an error. */
41218 #ifdef __cplusplus
41219 extern "C"
41220 {
41221 #endif
41222 /* We use char because int might match the return type of a gcc2
41223 builtin and then its argument prototype would still apply. */
41224 char $ac_func ();
41225 /* The GNU C library defines this for functions which it implements
41226 to always fail with ENOSYS. Some functions are actually named
41227 something starting with __ and the normal name is an alias. */
41228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41229 choke me
41230 #else
41231 char (*f) () = $ac_func;
41232 #endif
41233 #ifdef __cplusplus
41234 }
41235 #endif
41236
41237 int
41238 main ()
41239 {
41240 return f != $ac_func;
41241 ;
41242 return 0;
41243 }
41244 _ACEOF
41245 rm -f conftest.$ac_objext conftest$ac_exeext
41246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41247 (eval $ac_link) 2>conftest.er1
41248 ac_status=$?
41249 grep -v '^ *+' conftest.er1 >conftest.err
41250 rm -f conftest.er1
41251 cat conftest.err >&5
41252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41253 (exit $ac_status); } &&
41254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41256 (eval $ac_try) 2>&5
41257 ac_status=$?
41258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41259 (exit $ac_status); }; } &&
41260 { ac_try='test -s conftest$ac_exeext'
41261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41262 (eval $ac_try) 2>&5
41263 ac_status=$?
41264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41265 (exit $ac_status); }; }; then
41266 eval "$as_ac_var=yes"
41267 else
41268 echo "$as_me: failed program was:" >&5
41269 sed 's/^/| /' conftest.$ac_ext >&5
41270
41271 eval "$as_ac_var=no"
41272 fi
41273 rm -f conftest.err conftest.$ac_objext \
41274 conftest$ac_exeext conftest.$ac_ext
41275 fi
41276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41278 if test `eval echo '${'$as_ac_var'}'` = yes; then
41279 cat >>confdefs.h <<_ACEOF
41280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41281 _ACEOF
41282 have_cos=1
41283 fi
41284 done
41285
41286
41287 for ac_func in floor
41288 do
41289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41290 echo "$as_me:$LINENO: checking for $ac_func" >&5
41291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41292 if eval "test \"\${$as_ac_var+set}\" = set"; then
41293 echo $ECHO_N "(cached) $ECHO_C" >&6
41294 else
41295 cat >conftest.$ac_ext <<_ACEOF
41296 /* confdefs.h. */
41297 _ACEOF
41298 cat confdefs.h >>conftest.$ac_ext
41299 cat >>conftest.$ac_ext <<_ACEOF
41300 /* end confdefs.h. */
41301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41303 #define $ac_func innocuous_$ac_func
41304
41305 /* System header to define __stub macros and hopefully few prototypes,
41306 which can conflict with char $ac_func (); below.
41307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41308 <limits.h> exists even on freestanding compilers. */
41309
41310 #ifdef __STDC__
41311 # include <limits.h>
41312 #else
41313 # include <assert.h>
41314 #endif
41315
41316 #undef $ac_func
41317
41318 /* Override any gcc2 internal prototype to avoid an error. */
41319 #ifdef __cplusplus
41320 extern "C"
41321 {
41322 #endif
41323 /* We use char because int might match the return type of a gcc2
41324 builtin and then its argument prototype would still apply. */
41325 char $ac_func ();
41326 /* The GNU C library defines this for functions which it implements
41327 to always fail with ENOSYS. Some functions are actually named
41328 something starting with __ and the normal name is an alias. */
41329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41330 choke me
41331 #else
41332 char (*f) () = $ac_func;
41333 #endif
41334 #ifdef __cplusplus
41335 }
41336 #endif
41337
41338 int
41339 main ()
41340 {
41341 return f != $ac_func;
41342 ;
41343 return 0;
41344 }
41345 _ACEOF
41346 rm -f conftest.$ac_objext conftest$ac_exeext
41347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41348 (eval $ac_link) 2>conftest.er1
41349 ac_status=$?
41350 grep -v '^ *+' conftest.er1 >conftest.err
41351 rm -f conftest.er1
41352 cat conftest.err >&5
41353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41354 (exit $ac_status); } &&
41355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41357 (eval $ac_try) 2>&5
41358 ac_status=$?
41359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41360 (exit $ac_status); }; } &&
41361 { ac_try='test -s conftest$ac_exeext'
41362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41363 (eval $ac_try) 2>&5
41364 ac_status=$?
41365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41366 (exit $ac_status); }; }; then
41367 eval "$as_ac_var=yes"
41368 else
41369 echo "$as_me: failed program was:" >&5
41370 sed 's/^/| /' conftest.$ac_ext >&5
41371
41372 eval "$as_ac_var=no"
41373 fi
41374 rm -f conftest.err conftest.$ac_objext \
41375 conftest$ac_exeext conftest.$ac_ext
41376 fi
41377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41379 if test `eval echo '${'$as_ac_var'}'` = yes; then
41380 cat >>confdefs.h <<_ACEOF
41381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41382 _ACEOF
41383 have_floor=1
41384 fi
41385 done
41386
41387 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
41388 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
41389 if test "$have_cos" = 1 -a "$have_floor" = 1; then
41390 echo "$as_me:$LINENO: result: yes" >&5
41391 echo "${ECHO_T}yes" >&6
41392 else
41393 echo "$as_me:$LINENO: result: no" >&5
41394 echo "${ECHO_T}no" >&6
41395 LIBS="$LIBS -lm"
41396 # use different functions to avoid configure caching
41397 have_sin=0
41398 have_ceil=0
41399
41400 for ac_func in sin
41401 do
41402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41403 echo "$as_me:$LINENO: checking for $ac_func" >&5
41404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41405 if eval "test \"\${$as_ac_var+set}\" = set"; then
41406 echo $ECHO_N "(cached) $ECHO_C" >&6
41407 else
41408 cat >conftest.$ac_ext <<_ACEOF
41409 /* confdefs.h. */
41410 _ACEOF
41411 cat confdefs.h >>conftest.$ac_ext
41412 cat >>conftest.$ac_ext <<_ACEOF
41413 /* end confdefs.h. */
41414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41416 #define $ac_func innocuous_$ac_func
41417
41418 /* System header to define __stub macros and hopefully few prototypes,
41419 which can conflict with char $ac_func (); below.
41420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41421 <limits.h> exists even on freestanding compilers. */
41422
41423 #ifdef __STDC__
41424 # include <limits.h>
41425 #else
41426 # include <assert.h>
41427 #endif
41428
41429 #undef $ac_func
41430
41431 /* Override any gcc2 internal prototype to avoid an error. */
41432 #ifdef __cplusplus
41433 extern "C"
41434 {
41435 #endif
41436 /* We use char because int might match the return type of a gcc2
41437 builtin and then its argument prototype would still apply. */
41438 char $ac_func ();
41439 /* The GNU C library defines this for functions which it implements
41440 to always fail with ENOSYS. Some functions are actually named
41441 something starting with __ and the normal name is an alias. */
41442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41443 choke me
41444 #else
41445 char (*f) () = $ac_func;
41446 #endif
41447 #ifdef __cplusplus
41448 }
41449 #endif
41450
41451 int
41452 main ()
41453 {
41454 return f != $ac_func;
41455 ;
41456 return 0;
41457 }
41458 _ACEOF
41459 rm -f conftest.$ac_objext conftest$ac_exeext
41460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41461 (eval $ac_link) 2>conftest.er1
41462 ac_status=$?
41463 grep -v '^ *+' conftest.er1 >conftest.err
41464 rm -f conftest.er1
41465 cat conftest.err >&5
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); } &&
41468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41470 (eval $ac_try) 2>&5
41471 ac_status=$?
41472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473 (exit $ac_status); }; } &&
41474 { ac_try='test -s conftest$ac_exeext'
41475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41476 (eval $ac_try) 2>&5
41477 ac_status=$?
41478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41479 (exit $ac_status); }; }; then
41480 eval "$as_ac_var=yes"
41481 else
41482 echo "$as_me: failed program was:" >&5
41483 sed 's/^/| /' conftest.$ac_ext >&5
41484
41485 eval "$as_ac_var=no"
41486 fi
41487 rm -f conftest.err conftest.$ac_objext \
41488 conftest$ac_exeext conftest.$ac_ext
41489 fi
41490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41492 if test `eval echo '${'$as_ac_var'}'` = yes; then
41493 cat >>confdefs.h <<_ACEOF
41494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41495 _ACEOF
41496 have_sin=1
41497 fi
41498 done
41499
41500
41501 for ac_func in ceil
41502 do
41503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41504 echo "$as_me:$LINENO: checking for $ac_func" >&5
41505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41506 if eval "test \"\${$as_ac_var+set}\" = set"; then
41507 echo $ECHO_N "(cached) $ECHO_C" >&6
41508 else
41509 cat >conftest.$ac_ext <<_ACEOF
41510 /* confdefs.h. */
41511 _ACEOF
41512 cat confdefs.h >>conftest.$ac_ext
41513 cat >>conftest.$ac_ext <<_ACEOF
41514 /* end confdefs.h. */
41515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41517 #define $ac_func innocuous_$ac_func
41518
41519 /* System header to define __stub macros and hopefully few prototypes,
41520 which can conflict with char $ac_func (); below.
41521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41522 <limits.h> exists even on freestanding compilers. */
41523
41524 #ifdef __STDC__
41525 # include <limits.h>
41526 #else
41527 # include <assert.h>
41528 #endif
41529
41530 #undef $ac_func
41531
41532 /* Override any gcc2 internal prototype to avoid an error. */
41533 #ifdef __cplusplus
41534 extern "C"
41535 {
41536 #endif
41537 /* We use char because int might match the return type of a gcc2
41538 builtin and then its argument prototype would still apply. */
41539 char $ac_func ();
41540 /* The GNU C library defines this for functions which it implements
41541 to always fail with ENOSYS. Some functions are actually named
41542 something starting with __ and the normal name is an alias. */
41543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41544 choke me
41545 #else
41546 char (*f) () = $ac_func;
41547 #endif
41548 #ifdef __cplusplus
41549 }
41550 #endif
41551
41552 int
41553 main ()
41554 {
41555 return f != $ac_func;
41556 ;
41557 return 0;
41558 }
41559 _ACEOF
41560 rm -f conftest.$ac_objext conftest$ac_exeext
41561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41562 (eval $ac_link) 2>conftest.er1
41563 ac_status=$?
41564 grep -v '^ *+' conftest.er1 >conftest.err
41565 rm -f conftest.er1
41566 cat conftest.err >&5
41567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41568 (exit $ac_status); } &&
41569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41571 (eval $ac_try) 2>&5
41572 ac_status=$?
41573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41574 (exit $ac_status); }; } &&
41575 { ac_try='test -s conftest$ac_exeext'
41576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41577 (eval $ac_try) 2>&5
41578 ac_status=$?
41579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41580 (exit $ac_status); }; }; then
41581 eval "$as_ac_var=yes"
41582 else
41583 echo "$as_me: failed program was:" >&5
41584 sed 's/^/| /' conftest.$ac_ext >&5
41585
41586 eval "$as_ac_var=no"
41587 fi
41588 rm -f conftest.err conftest.$ac_objext \
41589 conftest$ac_exeext conftest.$ac_ext
41590 fi
41591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41593 if test `eval echo '${'$as_ac_var'}'` = yes; then
41594 cat >>confdefs.h <<_ACEOF
41595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41596 _ACEOF
41597 have_ceil=1
41598 fi
41599 done
41600
41601 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
41602 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
41603 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
41604 echo "$as_me:$LINENO: result: yes" >&5
41605 echo "${ECHO_T}yes" >&6
41606 else
41607 echo "$as_me:$LINENO: result: no" >&5
41608 echo "${ECHO_T}no" >&6
41609 # not sure we should warn the user, crash, etc.
41610 fi
41611 fi
41612
41613 if test "$wxUSE_GUI" = "yes"; then
41614
41615
41616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
41617 dynamic erase event exec font image minimal mobile \
41618 mobile/wxedit mobile/styles propsize render \
41619 richedit rotate shaped vscroll widgets"
41620
41621 if test "$wxUSE_MONOLITHIC" != "yes"; then
41622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
41623 fi
41624 if test "$TOOLKIT" = "MSW"; then
41625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
41626 if test "$wxUSE_UNIVERSAL" != "yes"; then
41627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
41628 fi
41629 fi
41630 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
41631 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
41632 fi
41633 else
41634 SAMPLES_SUBDIRS="console"
41635 fi
41636
41637
41638 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
41639 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
41640
41641 if test "$GXX" = yes ; then
41642 CWARNINGS="-Wall -Wundef"
41643 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
41644 fi
41645
41646 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
41647
41648 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
41649 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
41650 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
41651
41652 if test "x$MWCC" = "xyes"; then
41653
41654 CC="$CC -cwd source -I-"
41655 CXX="$CXX -cwd source -I-"
41656 fi
41657
41658
41659 LIBS=`echo $LIBS`
41660 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
41661 EXTRALIBS_XML="$EXPAT_LINK"
41662 EXTRALIBS_HTML="$MSPACK_LINK"
41663 EXTRALIBS_ODBC="$ODBC_LINK"
41664 if test "$wxUSE_GUI" = "yes"; then
41665 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
41666 fi
41667 if test "$wxUSE_OPENGL" = "yes"; then
41668 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
41669 fi
41670
41671 LDFLAGS="$LDFLAGS $PROFILE"
41672
41673 if test "$wxUSE_GTK" = 1; then
41674 WXCONFIG_INCLUDE=
41675 else
41676 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
41677 fi
41678
41679 WXCONFIG_EXTRALIBS="$LIBS"
41680
41681 if test "$wxUSE_REGEX" = "builtin" ; then
41682 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
41683 fi
41684 if test "$wxUSE_EXPAT" = "builtin" ; then
41685 wxconfig_3rdparty="expat $wxconfig_3rdparty"
41686 fi
41687 if test "$wxUSE_ODBC" = "builtin" ; then
41688 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
41689 fi
41690 if test "$wxUSE_LIBTIFF" = "builtin" ; then
41691 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
41692 fi
41693 if test "$wxUSE_LIBJPEG" = "builtin" ; then
41694 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
41695 fi
41696 if test "$wxUSE_LIBPNG" = "builtin" ; then
41697 wxconfig_3rdparty="png $wxconfig_3rdparty"
41698 fi
41699 if test "$wxUSE_ZLIB" = "builtin" ; then
41700 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
41701 fi
41702
41703 for i in $wxconfig_3rdparty ; do
41704 WXCONFIG_EXTRALIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
41705 done
41706
41707
41708 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
41709 WXUNIV=1
41710 else
41711 WXUNIV=0
41712 fi
41713
41714
41715
41716
41717
41718
41719
41720
41721
41722 if test $wxUSE_MONOLITHIC = "yes" ; then
41723 MONOLITHIC=1
41724 else
41725 MONOLITHIC=0
41726 fi
41727
41728 if test $wxUSE_PLUGINS = "yes" ; then
41729 USE_PLUGINS=1
41730 else
41731 USE_PLUGINS=0
41732 fi
41733
41734 if test $wxUSE_ODBC != "no" ; then
41735 USE_ODBC=1
41736 else
41737 USE_ODBC=0
41738 fi
41739
41740 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41741 USE_QA=1
41742 else
41743 USE_QA=0
41744 fi
41745
41746 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
41747 OFFICIAL_BUILD=1
41748 else
41749 OFFICIAL_BUILD=0
41750 fi
41751
41752
41753
41754
41755
41756
41757
41758
41759
41760
41761
41762
41763
41764
41765
41766
41767
41768
41769
41770
41771
41772
41773
41774 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
41775
41776
41777
41778
41779
41780
41781
41782
41783 case "$TOOLKIT" in
41784 GTK)
41785 TOOLKIT_USER="GTK+"
41786 if test "$WXGTK20" = 1; then
41787 TOOLKIT_USER="$TOOLKIT_USER 2"
41788 fi
41789 ;;
41790
41791 *)
41792 TOOLKIT_USER=$TOOLKIT_LOWERCASE
41793 ;;
41794 esac
41795
41796 if test "$wxUSE_WINE" = "yes"; then
41797 BAKEFILE_FORCE_PLATFORM=win32
41798 fi
41799
41800
41801
41802
41803 if test "x$BAKEFILE_HOST" = "x"; then
41804 BAKEFILE_HOST="${host}"
41805 fi
41806
41807 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
41808
41809 if test -n "$ac_tool_prefix"; then
41810 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
41811 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
41812 echo "$as_me:$LINENO: checking for $ac_word" >&5
41813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41814 if test "${ac_cv_prog_RANLIB+set}" = set; then
41815 echo $ECHO_N "(cached) $ECHO_C" >&6
41816 else
41817 if test -n "$RANLIB"; then
41818 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
41819 else
41820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41821 for as_dir in $PATH
41822 do
41823 IFS=$as_save_IFS
41824 test -z "$as_dir" && as_dir=.
41825 for ac_exec_ext in '' $ac_executable_extensions; do
41826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41827 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
41828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41829 break 2
41830 fi
41831 done
41832 done
41833
41834 fi
41835 fi
41836 RANLIB=$ac_cv_prog_RANLIB
41837 if test -n "$RANLIB"; then
41838 echo "$as_me:$LINENO: result: $RANLIB" >&5
41839 echo "${ECHO_T}$RANLIB" >&6
41840 else
41841 echo "$as_me:$LINENO: result: no" >&5
41842 echo "${ECHO_T}no" >&6
41843 fi
41844
41845 fi
41846 if test -z "$ac_cv_prog_RANLIB"; then
41847 ac_ct_RANLIB=$RANLIB
41848 # Extract the first word of "ranlib", so it can be a program name with args.
41849 set dummy ranlib; ac_word=$2
41850 echo "$as_me:$LINENO: checking for $ac_word" >&5
41851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41852 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
41853 echo $ECHO_N "(cached) $ECHO_C" >&6
41854 else
41855 if test -n "$ac_ct_RANLIB"; then
41856 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
41857 else
41858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41859 for as_dir in $PATH
41860 do
41861 IFS=$as_save_IFS
41862 test -z "$as_dir" && as_dir=.
41863 for ac_exec_ext in '' $ac_executable_extensions; do
41864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41865 ac_cv_prog_ac_ct_RANLIB="ranlib"
41866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41867 break 2
41868 fi
41869 done
41870 done
41871
41872 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
41873 fi
41874 fi
41875 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
41876 if test -n "$ac_ct_RANLIB"; then
41877 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
41878 echo "${ECHO_T}$ac_ct_RANLIB" >&6
41879 else
41880 echo "$as_me:$LINENO: result: no" >&5
41881 echo "${ECHO_T}no" >&6
41882 fi
41883
41884 RANLIB=$ac_ct_RANLIB
41885 else
41886 RANLIB="$ac_cv_prog_RANLIB"
41887 fi
41888
41889 # Find a good install program. We prefer a C program (faster),
41890 # so one script is as good as another. But avoid the broken or
41891 # incompatible versions:
41892 # SysV /etc/install, /usr/sbin/install
41893 # SunOS /usr/etc/install
41894 # IRIX /sbin/install
41895 # AIX /bin/install
41896 # AmigaOS /C/install, which installs bootblocks on floppy discs
41897 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
41898 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
41899 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
41900 # OS/2's system install, which has a completely different semantic
41901 # ./install, which can be erroneously created by make from ./install.sh.
41902 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
41903 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
41904 if test -z "$INSTALL"; then
41905 if test "${ac_cv_path_install+set}" = set; then
41906 echo $ECHO_N "(cached) $ECHO_C" >&6
41907 else
41908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41909 for as_dir in $PATH
41910 do
41911 IFS=$as_save_IFS
41912 test -z "$as_dir" && as_dir=.
41913 # Account for people who put trailing slashes in PATH elements.
41914 case $as_dir/ in
41915 ./ | .// | /cC/* | \
41916 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
41917 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
41918 /usr/ucb/* ) ;;
41919 *)
41920 # OSF1 and SCO ODT 3.0 have their own names for install.
41921 # Don't use installbsd from OSF since it installs stuff as root
41922 # by default.
41923 for ac_prog in ginstall scoinst install; do
41924 for ac_exec_ext in '' $ac_executable_extensions; do
41925 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
41926 if test $ac_prog = install &&
41927 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
41928 # AIX install. It has an incompatible calling convention.
41929 :
41930 elif test $ac_prog = install &&
41931 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
41932 # program-specific install script used by HP pwplus--don't use.
41933 :
41934 else
41935 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
41936 break 3
41937 fi
41938 fi
41939 done
41940 done
41941 ;;
41942 esac
41943 done
41944
41945
41946 fi
41947 if test "${ac_cv_path_install+set}" = set; then
41948 INSTALL=$ac_cv_path_install
41949 else
41950 # As a last resort, use the slow shell script. We don't cache a
41951 # path for INSTALL within a source directory, because that will
41952 # break other packages using the cache if that directory is
41953 # removed, or if the path is relative.
41954 INSTALL=$ac_install_sh
41955 fi
41956 fi
41957 echo "$as_me:$LINENO: result: $INSTALL" >&5
41958 echo "${ECHO_T}$INSTALL" >&6
41959
41960 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
41961 # It thinks the first close brace ends the variable substitution.
41962 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
41963
41964 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
41965
41966 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
41967
41968 echo "$as_me:$LINENO: checking whether ln -s works" >&5
41969 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
41970 LN_S=$as_ln_s
41971 if test "$LN_S" = "ln -s"; then
41972 echo "$as_me:$LINENO: result: yes" >&5
41973 echo "${ECHO_T}yes" >&6
41974 else
41975 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41976 echo "${ECHO_T}no, using $LN_S" >&6
41977 fi
41978
41979
41980 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41981 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41982 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41983 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41984 echo $ECHO_N "(cached) $ECHO_C" >&6
41985 else
41986 cat >conftest.make <<\_ACEOF
41987 all:
41988 @echo 'ac_maketemp="$(MAKE)"'
41989 _ACEOF
41990 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41991 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41992 if test -n "$ac_maketemp"; then
41993 eval ac_cv_prog_make_${ac_make}_set=yes
41994 else
41995 eval ac_cv_prog_make_${ac_make}_set=no
41996 fi
41997 rm -f conftest.make
41998 fi
41999 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
42000 echo "$as_me:$LINENO: result: yes" >&5
42001 echo "${ECHO_T}yes" >&6
42002 SET_MAKE=
42003 else
42004 echo "$as_me:$LINENO: result: no" >&5
42005 echo "${ECHO_T}no" >&6
42006 SET_MAKE="MAKE=${MAKE-make}"
42007 fi
42008
42009
42010
42011 if test -n "$ac_tool_prefix"; then
42012 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
42013 set dummy ${ac_tool_prefix}ar; ac_word=$2
42014 echo "$as_me:$LINENO: checking for $ac_word" >&5
42015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42016 if test "${ac_cv_prog_AR+set}" = set; then
42017 echo $ECHO_N "(cached) $ECHO_C" >&6
42018 else
42019 if test -n "$AR"; then
42020 ac_cv_prog_AR="$AR" # Let the user override the test.
42021 else
42022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42023 for as_dir in $PATH
42024 do
42025 IFS=$as_save_IFS
42026 test -z "$as_dir" && as_dir=.
42027 for ac_exec_ext in '' $ac_executable_extensions; do
42028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42029 ac_cv_prog_AR="${ac_tool_prefix}ar"
42030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42031 break 2
42032 fi
42033 done
42034 done
42035
42036 fi
42037 fi
42038 AR=$ac_cv_prog_AR
42039 if test -n "$AR"; then
42040 echo "$as_me:$LINENO: result: $AR" >&5
42041 echo "${ECHO_T}$AR" >&6
42042 else
42043 echo "$as_me:$LINENO: result: no" >&5
42044 echo "${ECHO_T}no" >&6
42045 fi
42046
42047 fi
42048 if test -z "$ac_cv_prog_AR"; then
42049 ac_ct_AR=$AR
42050 # Extract the first word of "ar", so it can be a program name with args.
42051 set dummy ar; ac_word=$2
42052 echo "$as_me:$LINENO: checking for $ac_word" >&5
42053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42054 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
42055 echo $ECHO_N "(cached) $ECHO_C" >&6
42056 else
42057 if test -n "$ac_ct_AR"; then
42058 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
42059 else
42060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42061 for as_dir in $PATH
42062 do
42063 IFS=$as_save_IFS
42064 test -z "$as_dir" && as_dir=.
42065 for ac_exec_ext in '' $ac_executable_extensions; do
42066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42067 ac_cv_prog_ac_ct_AR="ar"
42068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42069 break 2
42070 fi
42071 done
42072 done
42073
42074 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
42075 fi
42076 fi
42077 ac_ct_AR=$ac_cv_prog_ac_ct_AR
42078 if test -n "$ac_ct_AR"; then
42079 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
42080 echo "${ECHO_T}$ac_ct_AR" >&6
42081 else
42082 echo "$as_me:$LINENO: result: no" >&5
42083 echo "${ECHO_T}no" >&6
42084 fi
42085
42086 AR=$ac_ct_AR
42087 else
42088 AR="$ac_cv_prog_AR"
42089 fi
42090
42091 if test -n "$ac_tool_prefix"; then
42092 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
42093 set dummy ${ac_tool_prefix}strip; ac_word=$2
42094 echo "$as_me:$LINENO: checking for $ac_word" >&5
42095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42096 if test "${ac_cv_prog_STRIP+set}" = set; then
42097 echo $ECHO_N "(cached) $ECHO_C" >&6
42098 else
42099 if test -n "$STRIP"; then
42100 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
42101 else
42102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42103 for as_dir in $PATH
42104 do
42105 IFS=$as_save_IFS
42106 test -z "$as_dir" && as_dir=.
42107 for ac_exec_ext in '' $ac_executable_extensions; do
42108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42109 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
42110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42111 break 2
42112 fi
42113 done
42114 done
42115
42116 fi
42117 fi
42118 STRIP=$ac_cv_prog_STRIP
42119 if test -n "$STRIP"; then
42120 echo "$as_me:$LINENO: result: $STRIP" >&5
42121 echo "${ECHO_T}$STRIP" >&6
42122 else
42123 echo "$as_me:$LINENO: result: no" >&5
42124 echo "${ECHO_T}no" >&6
42125 fi
42126
42127 fi
42128 if test -z "$ac_cv_prog_STRIP"; then
42129 ac_ct_STRIP=$STRIP
42130 # Extract the first word of "strip", so it can be a program name with args.
42131 set dummy strip; ac_word=$2
42132 echo "$as_me:$LINENO: checking for $ac_word" >&5
42133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42134 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
42135 echo $ECHO_N "(cached) $ECHO_C" >&6
42136 else
42137 if test -n "$ac_ct_STRIP"; then
42138 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
42139 else
42140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42141 for as_dir in $PATH
42142 do
42143 IFS=$as_save_IFS
42144 test -z "$as_dir" && as_dir=.
42145 for ac_exec_ext in '' $ac_executable_extensions; do
42146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42147 ac_cv_prog_ac_ct_STRIP="strip"
42148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42149 break 2
42150 fi
42151 done
42152 done
42153
42154 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
42155 fi
42156 fi
42157 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
42158 if test -n "$ac_ct_STRIP"; then
42159 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
42160 echo "${ECHO_T}$ac_ct_STRIP" >&6
42161 else
42162 echo "$as_me:$LINENO: result: no" >&5
42163 echo "${ECHO_T}no" >&6
42164 fi
42165
42166 STRIP=$ac_ct_STRIP
42167 else
42168 STRIP="$ac_cv_prog_STRIP"
42169 fi
42170
42171 if test -n "$ac_tool_prefix"; then
42172 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
42173 set dummy ${ac_tool_prefix}nm; ac_word=$2
42174 echo "$as_me:$LINENO: checking for $ac_word" >&5
42175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42176 if test "${ac_cv_prog_NM+set}" = set; then
42177 echo $ECHO_N "(cached) $ECHO_C" >&6
42178 else
42179 if test -n "$NM"; then
42180 ac_cv_prog_NM="$NM" # Let the user override the test.
42181 else
42182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42183 for as_dir in $PATH
42184 do
42185 IFS=$as_save_IFS
42186 test -z "$as_dir" && as_dir=.
42187 for ac_exec_ext in '' $ac_executable_extensions; do
42188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42189 ac_cv_prog_NM="${ac_tool_prefix}nm"
42190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42191 break 2
42192 fi
42193 done
42194 done
42195
42196 fi
42197 fi
42198 NM=$ac_cv_prog_NM
42199 if test -n "$NM"; then
42200 echo "$as_me:$LINENO: result: $NM" >&5
42201 echo "${ECHO_T}$NM" >&6
42202 else
42203 echo "$as_me:$LINENO: result: no" >&5
42204 echo "${ECHO_T}no" >&6
42205 fi
42206
42207 fi
42208 if test -z "$ac_cv_prog_NM"; then
42209 ac_ct_NM=$NM
42210 # Extract the first word of "nm", so it can be a program name with args.
42211 set dummy nm; ac_word=$2
42212 echo "$as_me:$LINENO: checking for $ac_word" >&5
42213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42214 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
42215 echo $ECHO_N "(cached) $ECHO_C" >&6
42216 else
42217 if test -n "$ac_ct_NM"; then
42218 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
42219 else
42220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42221 for as_dir in $PATH
42222 do
42223 IFS=$as_save_IFS
42224 test -z "$as_dir" && as_dir=.
42225 for ac_exec_ext in '' $ac_executable_extensions; do
42226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42227 ac_cv_prog_ac_ct_NM="nm"
42228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42229 break 2
42230 fi
42231 done
42232 done
42233
42234 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
42235 fi
42236 fi
42237 ac_ct_NM=$ac_cv_prog_ac_ct_NM
42238 if test -n "$ac_ct_NM"; then
42239 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
42240 echo "${ECHO_T}$ac_ct_NM" >&6
42241 else
42242 echo "$as_me:$LINENO: result: no" >&5
42243 echo "${ECHO_T}no" >&6
42244 fi
42245
42246 NM=$ac_ct_NM
42247 else
42248 NM="$ac_cv_prog_NM"
42249 fi
42250
42251
42252 case ${BAKEFILE_HOST} in
42253 *-hp-hpux* )
42254 INSTALL_DIR="mkdir -p"
42255 ;;
42256 *) INSTALL_DIR="$INSTALL -d"
42257 ;;
42258 esac
42259
42260
42261 LDFLAGS_GUI=
42262 case ${BAKEFILE_HOST} in
42263 *-*-cygwin* | *-*-mingw32* )
42264 LDFLAGS_GUI="-mwindows"
42265 esac
42266
42267
42268 fi
42269
42270 echo "$as_me:$LINENO: checking if make is GNU make" >&5
42271 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
42272 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
42273 echo $ECHO_N "(cached) $ECHO_C" >&6
42274 else
42275
42276 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
42277 egrep -s GNU > /dev/null); then
42278 bakefile_cv_prog_makeisgnu="yes"
42279 else
42280 bakefile_cv_prog_makeisgnu="no"
42281 fi
42282
42283 fi
42284 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
42285 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
42286
42287 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
42288 IF_GNU_MAKE=""
42289 else
42290 IF_GNU_MAKE="#"
42291 fi
42292
42293
42294
42295 PLATFORM_UNIX=0
42296 PLATFORM_WIN32=0
42297 PLATFORM_MSDOS=0
42298 PLATFORM_MAC=0
42299 PLATFORM_MACOS=0
42300 PLATFORM_MACOSX=0
42301 PLATFORM_OS2=0
42302 PLATFORM_BEOS=0
42303
42304 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
42305 case "${BAKEFILE_HOST}" in
42306 *-*-mingw32* )
42307 PLATFORM_WIN32=1
42308 ;;
42309 *-pc-msdosdjgpp )
42310 PLATFORM_MSDOS=1
42311 ;;
42312 *-pc-os2_emx | *-pc-os2-emx )
42313 PLATFORM_OS2=1
42314 ;;
42315 *-*-darwin* )
42316 PLATFORM_MAC=1
42317 PLATFORM_MACOSX=1
42318 ;;
42319 *-*-beos* )
42320 PLATFORM_BEOS=1
42321 ;;
42322 powerpc-apple-macos* )
42323 PLATFORM_MAC=1
42324 PLATFORM_MACOS=1
42325 ;;
42326 * )
42327 PLATFORM_UNIX=1
42328 ;;
42329 esac
42330 else
42331 case "$BAKEFILE_FORCE_PLATFORM" in
42332 win32 )
42333 PLATFORM_WIN32=1
42334 ;;
42335 msdos )
42336 PLATFORM_MSDOS=1
42337 ;;
42338 os2 )
42339 PLATFORM_OS2=1
42340 ;;
42341 darwin )
42342 PLATFORM_MAC=1
42343 PLATFORM_MACOSX=1
42344 ;;
42345 unix )
42346 PLATFORM_UNIX=1
42347 ;;
42348 beos )
42349 PLATFORM_BEOS=1
42350 ;;
42351 * )
42352 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
42353 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
42354 { (exit 1); exit 1; }; }
42355 ;;
42356 esac
42357 fi
42358
42359
42360
42361
42362
42363
42364
42365
42366
42367
42368
42369 # Check whether --enable-omf or --disable-omf was given.
42370 if test "${enable_omf+set}" = set; then
42371 enableval="$enable_omf"
42372 bk_os2_use_omf="$enableval"
42373 fi;
42374
42375 case "${BAKEFILE_HOST}" in
42376 *-*-darwin* )
42377 if test "x$GCC" = "xyes"; then
42378 CFLAGS="$CFLAGS -fno-common"
42379 CXXFLAGS="$CXXFLAGS -fno-common"
42380 fi
42381 if test "x$XLCC" = "xyes"; then
42382 CFLAGS="$CFLAGS -qnocommon"
42383 CXXFLAGS="$CXXFLAGS -qnocommon"
42384 fi
42385 ;;
42386
42387 *-pc-os2_emx | *-pc-os2-emx )
42388 if test "x$bk_os2_use_omf" = "xyes" ; then
42389 AR=emxomfar
42390 RANLIB=:
42391 LDFLAGS="-Zomf $LDFLAGS"
42392 CFLAGS="-Zomf $CFLAGS"
42393 CXXFLAGS="-Zomf $CXXFLAGS"
42394 OS2_LIBEXT="lib"
42395 else
42396 OS2_LIBEXT="a"
42397 fi
42398 ;;
42399
42400 i*86-*-beos* )
42401 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
42402 ;;
42403 esac
42404
42405
42406 SO_SUFFIX="so"
42407 SO_SUFFIX_MODULE="so"
42408 EXEEXT=""
42409 LIBPREFIX="lib"
42410 LIBEXT=".a"
42411 DLLPREFIX="lib"
42412 DLLPREFIX_MODULE=""
42413 DLLIMP_SUFFIX=""
42414 dlldir="$libdir"
42415
42416 case "${BAKEFILE_HOST}" in
42417 *-hp-hpux* )
42418 SO_SUFFIX="sl"
42419 SO_SUFFIX_MODULE="sl"
42420 ;;
42421 *-*-aix* )
42422 SO_SUFFIX="a"
42423 SO_SUFFIX_MODULE="a"
42424 ;;
42425 *-*-cygwin* )
42426 SO_SUFFIX="dll"
42427 SO_SUFFIX_MODULE="dll"
42428 DLLIMP_SUFFIX="dll.a"
42429 EXEEXT=".exe"
42430 DLLPREFIX="cyg"
42431 dlldir="$bindir"
42432 ;;
42433 *-*-mingw32* )
42434 SO_SUFFIX="dll"
42435 SO_SUFFIX_MODULE="dll"
42436 DLLIMP_SUFFIX="dll.a"
42437 EXEEXT=".exe"
42438 DLLPREFIX=""
42439 dlldir="$bindir"
42440 ;;
42441 *-pc-msdosdjgpp )
42442 EXEEXT=".exe"
42443 DLLPREFIX=""
42444 dlldir="$bindir"
42445 ;;
42446 *-pc-os2_emx | *-pc-os2-emx )
42447 SO_SUFFIX="dll"
42448 SO_SUFFIX_MODULE="dll"
42449 DLLIMP_SUFFIX=$OS2_LIBEXT
42450 EXEEXT=".exe"
42451 DLLPREFIX=""
42452 LIBPREFIX=""
42453 LIBEXT=".$OS2_LIBEXT"
42454 dlldir="$bindir"
42455 ;;
42456 *-*-darwin* )
42457 SO_SUFFIX="dylib"
42458 SO_SUFFIX_MODULE="bundle"
42459 ;;
42460 esac
42461
42462 if test "x$DLLIMP_SUFFIX" = "x" ; then
42463 DLLIMP_SUFFIX="$SO_SUFFIX"
42464 fi
42465
42466
42467
42468
42469
42470
42471
42472
42473
42474
42475
42476
42477 PIC_FLAG=""
42478 if test "x$GCC" = "xyes"; then
42479 PIC_FLAG="-fPIC"
42480 fi
42481
42482 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
42483 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
42484 WINDOWS_IMPLIB=0
42485
42486 case "${BAKEFILE_HOST}" in
42487 *-hp-hpux* )
42488 if test "x$GCC" != "xyes"; then
42489 LDFLAGS="$LDFLAGS -L/usr/lib"
42490
42491 SHARED_LD_CC="${CC} -b -o"
42492 SHARED_LD_CXX="${CXX} -b -o"
42493 PIC_FLAG="+Z"
42494 fi
42495 ;;
42496
42497 *-*-linux* )
42498 if test "x$GCC" != "xyes"; then
42499 echo "$as_me:$LINENO: checking for Intel compiler" >&5
42500 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
42501 if test "${bakefile_cv_prog_icc+set}" = set; then
42502 echo $ECHO_N "(cached) $ECHO_C" >&6
42503 else
42504
42505 cat >conftest.$ac_ext <<_ACEOF
42506 /* confdefs.h. */
42507 _ACEOF
42508 cat confdefs.h >>conftest.$ac_ext
42509 cat >>conftest.$ac_ext <<_ACEOF
42510 /* end confdefs.h. */
42511
42512 int
42513 main ()
42514 {
42515
42516 #ifndef __INTEL_COMPILER
42517 #error Not icc
42518 #endif
42519
42520 ;
42521 return 0;
42522 }
42523 _ACEOF
42524 rm -f conftest.$ac_objext
42525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42526 (eval $ac_compile) 2>conftest.er1
42527 ac_status=$?
42528 grep -v '^ *+' conftest.er1 >conftest.err
42529 rm -f conftest.er1
42530 cat conftest.err >&5
42531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42532 (exit $ac_status); } &&
42533 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42535 (eval $ac_try) 2>&5
42536 ac_status=$?
42537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42538 (exit $ac_status); }; } &&
42539 { ac_try='test -s conftest.$ac_objext'
42540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42541 (eval $ac_try) 2>&5
42542 ac_status=$?
42543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42544 (exit $ac_status); }; }; then
42545 bakefile_cv_prog_icc=yes
42546 else
42547 echo "$as_me: failed program was:" >&5
42548 sed 's/^/| /' conftest.$ac_ext >&5
42549
42550 bakefile_cv_prog_icc=no
42551
42552 fi
42553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42554
42555 fi
42556 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
42557 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
42558 if test "$bakefile_cv_prog_icc" = "yes"; then
42559 PIC_FLAG="-KPIC"
42560 fi
42561 fi
42562 ;;
42563
42564 *-*-solaris2* )
42565 if test "x$GCC" != xyes ; then
42566 SHARED_LD_CC="${CC} -G -o"
42567 SHARED_LD_CXX="${CXX} -G -o"
42568 PIC_FLAG="-KPIC"
42569 fi
42570 ;;
42571
42572 *-*-darwin* )
42573
42574 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
42575 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
42576 if test "${wx_cv_gcc31+set}" = set; then
42577 echo $ECHO_N "(cached) $ECHO_C" >&6
42578 else
42579
42580 cat >conftest.$ac_ext <<_ACEOF
42581 /* confdefs.h. */
42582 _ACEOF
42583 cat confdefs.h >>conftest.$ac_ext
42584 cat >>conftest.$ac_ext <<_ACEOF
42585 /* end confdefs.h. */
42586
42587 int
42588 main ()
42589 {
42590
42591 #if (__GNUC__ < 3) || \
42592 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
42593 #error old gcc
42594 #endif
42595
42596 ;
42597 return 0;
42598 }
42599 _ACEOF
42600 rm -f conftest.$ac_objext
42601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42602 (eval $ac_compile) 2>conftest.er1
42603 ac_status=$?
42604 grep -v '^ *+' conftest.er1 >conftest.err
42605 rm -f conftest.er1
42606 cat conftest.err >&5
42607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42608 (exit $ac_status); } &&
42609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42611 (eval $ac_try) 2>&5
42612 ac_status=$?
42613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42614 (exit $ac_status); }; } &&
42615 { ac_try='test -s conftest.$ac_objext'
42616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42617 (eval $ac_try) 2>&5
42618 ac_status=$?
42619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42620 (exit $ac_status); }; }; then
42621
42622 wx_cv_gcc31=yes
42623
42624 else
42625 echo "$as_me: failed program was:" >&5
42626 sed 's/^/| /' conftest.$ac_ext >&5
42627
42628
42629 wx_cv_gcc31=no
42630
42631
42632 fi
42633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42634
42635 fi
42636 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
42637 echo "${ECHO_T}$wx_cv_gcc31" >&6
42638 if test "$wx_cv_gcc31" = "no"; then
42639
42640 D='$'
42641 cat <<EOF >shared-ld-sh
42642 #!/bin/sh
42643 #-----------------------------------------------------------------------------
42644 #-- Name: distrib/mac/shared-ld-sh
42645 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
42646 #-- Author: Gilles Depeyrot
42647 #-- Copyright: (c) 2002 Gilles Depeyrot
42648 #-- Licence: any use permitted
42649 #-----------------------------------------------------------------------------
42650
42651 verbose=0
42652 args=""
42653 objects=""
42654 linking_flag="-dynamiclib"
42655 ldargs="-r -keep_private_externs -nostdlib"
42656
42657 while test ${D}# -gt 0; do
42658 case ${D}1 in
42659
42660 -v)
42661 verbose=1
42662 ;;
42663
42664 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
42665 # collect these options and values
42666 args="${D}{args} ${D}1 ${D}2"
42667 shift
42668 ;;
42669
42670 -s|-Wl,*)
42671 # collect these load args
42672 ldargs="${D}{ldargs} ${D}1"
42673 ;;
42674
42675 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
42676 # collect these options
42677 args="${D}{args} ${D}1"
42678 ;;
42679
42680 -dynamiclib|-bundle)
42681 linking_flag="${D}1"
42682 ;;
42683
42684 -*)
42685 echo "shared-ld: unhandled option '${D}1'"
42686 exit 1
42687 ;;
42688
42689 *.o | *.a | *.dylib)
42690 # collect object files
42691 objects="${D}{objects} ${D}1"
42692 ;;
42693
42694 *)
42695 echo "shared-ld: unhandled argument '${D}1'"
42696 exit 1
42697 ;;
42698
42699 esac
42700 shift
42701 done
42702
42703 status=0
42704
42705 #
42706 # Link one module containing all the others
42707 #
42708 if test ${D}{verbose} = 1; then
42709 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
42710 fi
42711 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
42712 status=${D}?
42713
42714 #
42715 # Link the shared library from the single module created, but only if the
42716 # previous command didn't fail:
42717 #
42718 if test ${D}{status} = 0; then
42719 if test ${D}{verbose} = 1; then
42720 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
42721 fi
42722 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
42723 status=${D}?
42724 fi
42725
42726 #
42727 # Remove intermediate module
42728 #
42729 rm -f master.${D}${D}.o
42730
42731 exit ${D}status
42732 EOF
42733
42734 chmod +x shared-ld-sh
42735
42736 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
42737 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
42738 SHARED_LD_CXX="$SHARED_LD_CC"
42739 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
42740 else
42741 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
42742 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
42743 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
42744 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
42745 fi
42746
42747 if test "x$GCC" == "xyes"; then
42748 PIC_FLAG="-dynamic -fPIC"
42749 fi
42750 if test "x$XLCC" = "xyes"; then
42751 PIC_FLAG="-dynamic -DPIC"
42752 fi
42753 ;;
42754
42755 *-*-aix* )
42756 if test "x$GCC" != "xyes"; then
42757 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
42758 set dummy makeC++SharedLib; ac_word=$2
42759 echo "$as_me:$LINENO: checking for $ac_word" >&5
42760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42761 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
42762 echo $ECHO_N "(cached) $ECHO_C" >&6
42763 else
42764 if test -n "$AIX_CXX_LD"; then
42765 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
42766 else
42767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42768 for as_dir in $PATH
42769 do
42770 IFS=$as_save_IFS
42771 test -z "$as_dir" && as_dir=.
42772 for ac_exec_ext in '' $ac_executable_extensions; do
42773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42774 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
42775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42776 break 2
42777 fi
42778 done
42779 done
42780
42781 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
42782 fi
42783 fi
42784 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
42785 if test -n "$AIX_CXX_LD"; then
42786 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
42787 echo "${ECHO_T}$AIX_CXX_LD" >&6
42788 else
42789 echo "$as_me:$LINENO: result: no" >&5
42790 echo "${ECHO_T}no" >&6
42791 fi
42792
42793 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
42794 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
42795 fi
42796 ;;
42797
42798 *-*-beos* )
42799 SHARED_LD_CC="${LD} -nostart -o"
42800 SHARED_LD_CXX="${LD} -nostart -o"
42801 ;;
42802
42803 *-*-irix* )
42804 if test "x$GCC" != "xyes"; then
42805 PIC_FLAG="-KPIC"
42806 fi
42807 ;;
42808
42809 *-*-cygwin* | *-*-mingw32* )
42810 PIC_FLAG=""
42811 SHARED_LD_CC="\$(CC) -shared -o"
42812 SHARED_LD_CXX="\$(CXX) -shared -o"
42813 WINDOWS_IMPLIB=1
42814 ;;
42815
42816 *-pc-os2_emx | *-pc-os2-emx )
42817 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42818 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42819 PIC_FLAG=""
42820
42821 D='$'
42822 cat <<EOF >dllar.sh
42823 #!/bin/sh
42824 #
42825 # dllar - a tool to build both a .dll and an .a file
42826 # from a set of object (.o) files for EMX/OS2.
42827 #
42828 # Written by Andrew Zabolotny, bit@freya.etu.ru
42829 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
42830 #
42831 # This script will accept a set of files on the command line.
42832 # All the public symbols from the .o files will be exported into
42833 # a .DEF file, then linker will be run (through gcc) against them to
42834 # build a shared library consisting of all given .o files. All libraries
42835 # (.a) will be first decompressed into component .o files then act as
42836 # described above. You can optionally give a description (-d "description")
42837 # which will be put into .DLL. To see the list of accepted options (as well
42838 # as command-line format) simply run this program without options. The .DLL
42839 # is built to be imported by name (there is no guarantee that new versions
42840 # of the library you build will have same ordinals for same symbols).
42841 #
42842 # dllar is free software; you can redistribute it and/or modify
42843 # it under the terms of the GNU General Public License as published by
42844 # the Free Software Foundation; either version 2, or (at your option)
42845 # any later version.
42846 #
42847 # dllar is distributed in the hope that it will be useful,
42848 # but WITHOUT ANY WARRANTY; without even the implied warranty of
42849 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42850 # GNU General Public License for more details.
42851 #
42852 # You should have received a copy of the GNU General Public License
42853 # along with dllar; see the file COPYING. If not, write to the Free
42854 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
42855 # 02111-1307, USA.
42856
42857 # To successfuly run this program you will need:
42858 # - Current drive should have LFN support (HPFS, ext2, network, etc)
42859 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
42860 # - gcc
42861 # (used to build the .dll)
42862 # - emxexp
42863 # (used to create .def file from .o files)
42864 # - emximp
42865 # (used to create .a file from .def file)
42866 # - GNU text utilites (cat, sort, uniq)
42867 # used to process emxexp output
42868 # - GNU file utilities (mv, rm)
42869 # - GNU sed
42870 # - lxlite (optional, see flag below)
42871 # (used for general .dll cleanup)
42872 #
42873
42874 flag_USE_LXLITE=1;
42875
42876 #
42877 # helper functions
42878 # basnam, variant of basename, which does _not_ remove the path, _iff_
42879 # second argument (suffix to remove) is given
42880 basnam(){
42881 case ${D}# in
42882 1)
42883 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
42884 ;;
42885 2)
42886 echo ${D}1 | sed 's/'${D}2'${D}//'
42887 ;;
42888 *)
42889 echo "error in basnam ${D}*"
42890 exit 8
42891 ;;
42892 esac
42893 }
42894
42895 # Cleanup temporary files and output
42896 CleanUp() {
42897 cd ${D}curDir
42898 for i in ${D}inputFiles ; do
42899 case ${D}i in
42900 *!)
42901 rm -rf \`basnam ${D}i !\`
42902 ;;
42903 *)
42904 ;;
42905 esac
42906 done
42907
42908 # Kill result in case of failure as there is just to many stupid make/nmake
42909 # things out there which doesn't do this.
42910 if [ ${D}# -eq 0 ]; then
42911 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
42912 fi
42913 }
42914
42915 # Print usage and exit script with rc=1.
42916 PrintHelp() {
42917 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
42918 echo ' [-name-mangler-script script.sh]'
42919 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
42920 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
42921 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
42922 echo ' [*.o] [*.a]'
42923 echo '*> "output_file" should have no extension.'
42924 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
42925 echo ' The import library name is derived from this and is set to "name".a,'
42926 echo ' unless overridden by -import'
42927 echo '*> "importlib_name" should have no extension.'
42928 echo ' If it has the .o, or .a extension, it is automatically removed.'
42929 echo ' This name is used as the import library name and may be longer and'
42930 echo ' more descriptive than the DLL name which has to follow the old '
42931 echo ' 8.3 convention of FAT.'
42932 echo '*> "script.sh may be given to override the output_file name by a'
42933 echo ' different name. It is mainly useful if the regular make process'
42934 echo ' of some package does not take into account OS/2 restriction of'
42935 echo ' DLL name lengths. It takes the importlib name as input and is'
42936 echo ' supposed to procude a shorter name as output. The script should'
42937 echo ' expect to get importlib_name without extension and should produce'
42938 echo ' a (max.) 8 letter name without extension.'
42939 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
42940 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
42941 echo ' These flags will be put at the start of GCC command line.'
42942 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
42943 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
42944 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
42945 echo ' If the last character of a symbol is "*", all symbols beginning'
42946 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
42947 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
42948 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
42949 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
42950 echo ' C runtime DLLs.'
42951 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
42952 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
42953 echo ' unchanged to GCC at the end of command line.'
42954 echo '*> If you create a DLL from a library and you do not specify -o,'
42955 echo ' the basename for DLL and import library will be set to library name,'
42956 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
42957 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
42958 echo ' library will be renamed into gcc_s.a.'
42959 echo '--------'
42960 echo 'Example:'
42961 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
42962 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
42963 CleanUp
42964 exit 1
42965 }
42966
42967 # Execute a command.
42968 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
42969 # @Uses Whatever CleanUp() uses.
42970 doCommand() {
42971 echo "${D}*"
42972 eval ${D}*
42973 rcCmd=${D}?
42974
42975 if [ ${D}rcCmd -ne 0 ]; then
42976 echo "command failed, exit code="${D}rcCmd
42977 CleanUp
42978 exit ${D}rcCmd
42979 fi
42980 }
42981
42982 # main routine
42983 # setup globals
42984 cmdLine=${D}*
42985 outFile=""
42986 outimpFile=""
42987 inputFiles=""
42988 renameScript=""
42989 description=""
42990 CC=gcc.exe
42991 CFLAGS="-s -Zcrtdll"
42992 EXTRA_CFLAGS=""
42993 EXPORT_BY_ORDINALS=0
42994 exclude_symbols=""
42995 library_flags=""
42996 curDir=\`pwd\`
42997 curDirS=curDir
42998 case ${D}curDirS in
42999 */)
43000 ;;
43001 *)
43002 curDirS=${D}{curDirS}"/"
43003 ;;
43004 esac
43005 # Parse commandline
43006 libsToLink=0
43007 omfLinking=0
43008 while [ ${D}1 ]; do
43009 case ${D}1 in
43010 -ord*)
43011 EXPORT_BY_ORDINALS=1;
43012 ;;
43013 -o*)
43014 shift
43015 outFile=${D}1
43016 ;;
43017 -i*)
43018 shift
43019 outimpFile=${D}1
43020 ;;
43021 -name-mangler-script)
43022 shift
43023 renameScript=${D}1
43024 ;;
43025 -d*)
43026 shift
43027 description=${D}1
43028 ;;
43029 -f*)
43030 shift
43031 CFLAGS=${D}1
43032 ;;
43033 -c*)
43034 shift
43035 CC=${D}1
43036 ;;
43037 -h*)
43038 PrintHelp
43039 ;;
43040 -ex*)
43041 shift
43042 exclude_symbols=${D}{exclude_symbols}${D}1" "
43043 ;;
43044 -libf*)
43045 shift
43046 library_flags=${D}{library_flags}${D}1" "
43047 ;;
43048 -nocrt*)
43049 CFLAGS="-s"
43050 ;;
43051 -nolxl*)
43052 flag_USE_LXLITE=0
43053 ;;
43054 -* | /*)
43055 case ${D}1 in
43056 -L* | -l*)
43057 libsToLink=1
43058 ;;
43059 -Zomf)
43060 omfLinking=1
43061 ;;
43062 *)
43063 ;;
43064 esac
43065 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
43066 ;;
43067 *.dll)
43068 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
43069 if [ ${D}omfLinking -eq 1 ]; then
43070 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
43071 else
43072 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
43073 fi
43074 ;;
43075 *)
43076 found=0;
43077 if [ ${D}libsToLink -ne 0 ]; then
43078 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
43079 else
43080 for file in ${D}1 ; do
43081 if [ -f ${D}file ]; then
43082 inputFiles="${D}{inputFiles} ${D}file"
43083 found=1
43084 fi
43085 done
43086 if [ ${D}found -eq 0 ]; then
43087 echo "ERROR: No file(s) found: "${D}1
43088 exit 8
43089 fi
43090 fi
43091 ;;
43092 esac
43093 shift
43094 done # iterate cmdline words
43095
43096 #
43097 if [ -z "${D}inputFiles" ]; then
43098 echo "dllar: no input files"
43099 PrintHelp
43100 fi
43101
43102 # Now extract all .o files from .a files
43103 newInputFiles=""
43104 for file in ${D}inputFiles ; do
43105 case ${D}file in
43106 *.a | *.lib)
43107 case ${D}file in
43108 *.a)
43109 suffix=".a"
43110 AR="ar"
43111 ;;
43112 *.lib)
43113 suffix=".lib"
43114 AR="emxomfar"
43115 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
43116 ;;
43117 *)
43118 ;;
43119 esac
43120 dirname=\`basnam ${D}file ${D}suffix\`"_%"
43121 mkdir ${D}dirname
43122 if [ ${D}? -ne 0 ]; then
43123 echo "Failed to create subdirectory ./${D}dirname"
43124 CleanUp
43125 exit 8;
43126 fi
43127 # Append '!' to indicate archive
43128 newInputFiles="${D}newInputFiles ${D}{dirname}!"
43129 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
43130 cd ${D}curDir
43131 found=0;
43132 for subfile in ${D}dirname/*.o* ; do
43133 if [ -f ${D}subfile ]; then
43134 found=1
43135 if [ -s ${D}subfile ]; then
43136 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
43137 newInputFiles="${D}newInputFiles ${D}subfile"
43138 fi
43139 fi
43140 done
43141 if [ ${D}found -eq 0 ]; then
43142 echo "WARNING: there are no files in archive \\'${D}file\\'"
43143 fi
43144 ;;
43145 *)
43146 newInputFiles="${D}{newInputFiles} ${D}file"
43147 ;;
43148 esac
43149 done
43150 inputFiles="${D}newInputFiles"
43151
43152 # Output filename(s).
43153 do_backup=0;
43154 if [ -z ${D}outFile ]; then
43155 do_backup=1;
43156 set outFile ${D}inputFiles; outFile=${D}2
43157 fi
43158
43159 # If it is an archive, remove the '!' and the '_%' suffixes
43160 case ${D}outFile in
43161 *_%!)
43162 outFile=\`basnam ${D}outFile _%!\`
43163 ;;
43164 *)
43165 ;;
43166 esac
43167 case ${D}outFile in
43168 *.dll)
43169 outFile=\`basnam ${D}outFile .dll\`
43170 ;;
43171 *.DLL)
43172 outFile=\`basnam ${D}outFile .DLL\`
43173 ;;
43174 *.o)
43175 outFile=\`basnam ${D}outFile .o\`
43176 ;;
43177 *.obj)
43178 outFile=\`basnam ${D}outFile .obj\`
43179 ;;
43180 *.a)
43181 outFile=\`basnam ${D}outFile .a\`
43182 ;;
43183 *.lib)
43184 outFile=\`basnam ${D}outFile .lib\`
43185 ;;
43186 *)
43187 ;;
43188 esac
43189 case ${D}outimpFile in
43190 *.a)
43191 outimpFile=\`basnam ${D}outimpFile .a\`
43192 ;;
43193 *.lib)
43194 outimpFile=\`basnam ${D}outimpFile .lib\`
43195 ;;
43196 *)
43197 ;;
43198 esac
43199 if [ -z ${D}outimpFile ]; then
43200 outimpFile=${D}outFile
43201 fi
43202 defFile="${D}{outFile}.def"
43203 arcFile="${D}{outimpFile}.a"
43204 arcFile2="${D}{outimpFile}.lib"
43205
43206 #create ${D}dllFile as something matching 8.3 restrictions,
43207 if [ -z ${D}renameScript ] ; then
43208 dllFile="${D}outFile"
43209 else
43210 dllFile=\`${D}renameScript ${D}outimpFile\`
43211 fi
43212
43213 if [ ${D}do_backup -ne 0 ] ; then
43214 if [ -f ${D}arcFile ] ; then
43215 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
43216 fi
43217 if [ -f ${D}arcFile2 ] ; then
43218 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
43219 fi
43220 fi
43221
43222 # Extract public symbols from all the object files.
43223 tmpdefFile=${D}{defFile}_%
43224 rm -f ${D}tmpdefFile
43225 for file in ${D}inputFiles ; do
43226 case ${D}file in
43227 *!)
43228 ;;
43229 *)
43230 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
43231 ;;
43232 esac
43233 done
43234
43235 # Create the def file.
43236 rm -f ${D}defFile
43237 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
43238 dllFile="${D}{dllFile}.dll"
43239 if [ ! -z ${D}description ]; then
43240 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
43241 fi
43242 echo "EXPORTS" >> ${D}defFile
43243
43244 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
43245 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
43246
43247 # Checks if the export is ok or not.
43248 for word in ${D}exclude_symbols; do
43249 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
43250 mv ${D}{tmpdefFile}% ${D}tmpdefFile
43251 done
43252
43253
43254 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43255 sed "=" < ${D}tmpdefFile | \\
43256 sed '
43257 N
43258 : loop
43259 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
43260 t loop
43261 ' > ${D}{tmpdefFile}%
43262 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
43263 else
43264 rm -f ${D}{tmpdefFile}%
43265 fi
43266 cat ${D}tmpdefFile >> ${D}defFile
43267 rm -f ${D}tmpdefFile
43268
43269 # Do linking, create implib, and apply lxlite.
43270 gccCmdl="";
43271 for file in ${D}inputFiles ; do
43272 case ${D}file in
43273 *!)
43274 ;;
43275 *)
43276 gccCmdl="${D}gccCmdl ${D}file"
43277 ;;
43278 esac
43279 done
43280 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
43281 touch "${D}{outFile}.dll"
43282
43283 doCommand "emximp -o ${D}arcFile ${D}defFile"
43284 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
43285 add_flags="";
43286 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43287 add_flags="-ynd"
43288 fi
43289 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
43290 fi
43291 doCommand "emxomf -s -l ${D}arcFile"
43292
43293 # Successful exit.
43294 CleanUp 1
43295 exit 0
43296 EOF
43297
43298 chmod +x dllar.sh
43299 ;;
43300
43301 powerpc-apple-macos* | \
43302 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
43303 *-*-sunos4* | \
43304 *-*-osf* | \
43305 *-*-dgux5* | \
43306 *-*-sysv5* | \
43307 *-pc-msdosdjgpp )
43308 ;;
43309
43310 *)
43311 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
43312 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
43313 { (exit 1); exit 1; }; }
43314 esac
43315
43316 if test "x$PIC_FLAG" != "x" ; then
43317 PIC_FLAG="$PIC_FLAG -DPIC"
43318 fi
43319
43320 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
43321 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
43322 fi
43323 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
43324 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
43325 fi
43326
43327
43328
43329
43330
43331
43332
43333
43334
43335 USE_SOVERSION=0
43336 USE_SOVERLINUX=0
43337 USE_SOVERSOLARIS=0
43338 USE_SOVERCYGWIN=0
43339 USE_SOSYMLINKS=0
43340 USE_MACVERSION=0
43341 SONAME_FLAG=
43342
43343 case "${BAKEFILE_HOST}" in
43344 *-*-linux* | *-*-freebsd* )
43345 SONAME_FLAG="-Wl,-soname,"
43346 USE_SOVERSION=1
43347 USE_SOVERLINUX=1
43348 USE_SOSYMLINKS=1
43349 ;;
43350
43351 *-*-solaris2* )
43352 SONAME_FLAG="-h "
43353 USE_SOVERSION=1
43354 USE_SOVERSOLARIS=1
43355 USE_SOSYMLINKS=1
43356 ;;
43357
43358 *-*-darwin* )
43359 USE_MACVERSION=1
43360 USE_SOVERSION=1
43361 USE_SOSYMLINKS=1
43362 ;;
43363
43364 *-*-cygwin* )
43365 USE_SOVERSION=1
43366 USE_SOVERCYGWIN=1
43367 ;;
43368 esac
43369
43370
43371
43372
43373
43374
43375
43376
43377
43378
43379 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
43380 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
43381 DEPS_TRACKING=0
43382
43383 if test "x$GCC" = "xyes"; then
43384 DEPSMODE=gcc
43385 DEPS_TRACKING=1
43386 case "${BAKEFILE_HOST}" in
43387 *-*-darwin* )
43388 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
43389 ;;
43390 * )
43391 DEPSFLAG_GCC="-MMD"
43392 ;;
43393 esac
43394 echo "$as_me:$LINENO: result: gcc" >&5
43395 echo "${ECHO_T}gcc" >&6
43396 elif test "x$MWCC" = "xyes"; then
43397 DEPSMODE=mwcc
43398 DEPS_TRACKING=1
43399 DEPSFLAG_MWCC="-MM"
43400 echo "$as_me:$LINENO: result: mwcc" >&5
43401 echo "${ECHO_T}mwcc" >&6
43402 elif test "x$SUNCC" = "xyes"; then
43403 DEPSMODE=suncc
43404 DEPS_TRACKING=1
43405 DEPSFLAG_SUNCC="-xM1"
43406 echo "$as_me:$LINENO: result: suncc" >&5
43407 echo "${ECHO_T}suncc" >&6
43408 else
43409 echo "$as_me:$LINENO: result: none" >&5
43410 echo "${ECHO_T}none" >&6
43411 fi
43412
43413 if test $DEPS_TRACKING = 1 ; then
43414
43415 D='$'
43416 cat <<EOF >bk-deps
43417 #!/bin/sh
43418
43419 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43420 # script. It is used to track C/C++ files dependencies in portable way.
43421 #
43422 # Permission is given to use this file in any way.
43423
43424 DEPSMODE=${DEPSMODE}
43425 DEPSDIR=.deps
43426 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
43427 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
43428 DEPSFLAG_SUNCC="${DEPSFLAG_SUNCC}"
43429
43430 mkdir -p ${D}DEPSDIR
43431
43432 if test ${D}DEPSMODE = gcc ; then
43433 ${D}* ${D}{DEPSFLAG_GCC}
43434 status=${D}?
43435 if test ${D}{status} != 0 ; then
43436 exit ${D}{status}
43437 fi
43438 # move created file to the location we want it in:
43439 while test ${D}# -gt 0; do
43440 case "${D}1" in
43441 -o )
43442 shift
43443 objfile=${D}1
43444 ;;
43445 -* )
43446 ;;
43447 * )
43448 srcfile=${D}1
43449 ;;
43450 esac
43451 shift
43452 done
43453 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
43454 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
43455 if test -f ${D}depfile ; then
43456 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43457 rm -f ${D}depfile
43458 else
43459 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
43460 if test -f ${D}depfile ; then
43461 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43462 rm -f ${D}depfile
43463 fi
43464 fi
43465 exit 0
43466 elif test ${D}DEPSMODE = mwcc ; then
43467 ${D}*
43468 status=${D}?
43469 if test ${D}{status} != 0 ; then
43470 exit ${D}{status}
43471 fi
43472 # Run mwcc again with -MM and redirect into the dep file we want
43473 # NOTE: We can't use shift here because we need ${D}* to be valid
43474 prevarg=
43475 for arg in ${D}* ; do
43476 if test "${D}prevarg" = "-o"; then
43477 objfile=${D}arg
43478 else
43479 case "${D}arg" in
43480 -* )
43481 ;;
43482 * )
43483 srcfile=${D}arg
43484 ;;
43485 esac
43486 fi
43487 prevarg="${D}arg"
43488 done
43489 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
43490 exit 0
43491 elif test ${D}DEPSMODE = suncc; then
43492 ${D}* || exit
43493 # Run compiler again with deps flag and redirect into the dep file.
43494 # It doesn't work if the '-o FILE' option is used, but without it the
43495 # dependency file will contain the wrong name for the object. So it is
43496 # removed from the command line, and the dep file is fixed with sed.
43497 cmd=""
43498 while test ${D}# -gt 0; do
43499 case "${D}1" in
43500 -o )
43501 shift
43502 objfile=${D}1
43503 ;;
43504 * )
43505 eval arg${D}#=\\${D}1
43506 cmd="${D}cmd \\${D}arg${D}#"
43507 ;;
43508 esac
43509 shift
43510 done
43511 eval "${D}cmd ${D}DEPSFLAG_SUNCC" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
43512 exit 0
43513 else
43514 ${D}*
43515 exit ${D}?
43516 fi
43517 EOF
43518
43519 chmod +x bk-deps
43520 fi
43521
43522
43523
43524
43525 RESCOMP=
43526 SETFILE=
43527
43528 case ${BAKEFILE_HOST} in
43529 *-*-cygwin* | *-*-mingw32* )
43530 if test "$build" != "$host" ; then
43531 RESCOMP=$host_alias-windres
43532 else
43533 # Extract the first word of "windres", so it can be a program name with args.
43534 set dummy windres; ac_word=$2
43535 echo "$as_me:$LINENO: checking for $ac_word" >&5
43536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43537 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43538 echo $ECHO_N "(cached) $ECHO_C" >&6
43539 else
43540 if test -n "$RESCOMP"; then
43541 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
43542 else
43543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43544 for as_dir in $PATH
43545 do
43546 IFS=$as_save_IFS
43547 test -z "$as_dir" && as_dir=.
43548 for ac_exec_ext in '' $ac_executable_extensions; do
43549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43550 ac_cv_prog_RESCOMP="windres"
43551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43552 break 2
43553 fi
43554 done
43555 done
43556
43557 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
43558 fi
43559 fi
43560 RESCOMP=$ac_cv_prog_RESCOMP
43561 if test -n "$RESCOMP"; then
43562 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43563 echo "${ECHO_T}$RESCOMP" >&6
43564 else
43565 echo "$as_me:$LINENO: result: no" >&5
43566 echo "${ECHO_T}no" >&6
43567 fi
43568
43569 fi
43570 ;;
43571
43572 *-*-darwin* | powerpc-apple-macos* )
43573 # Extract the first word of "Rez", so it can be a program name with args.
43574 set dummy Rez; ac_word=$2
43575 echo "$as_me:$LINENO: checking for $ac_word" >&5
43576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43577 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43578 echo $ECHO_N "(cached) $ECHO_C" >&6
43579 else
43580 if test -n "$RESCOMP"; then
43581 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
43582 else
43583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43584 for as_dir in $PATH
43585 do
43586 IFS=$as_save_IFS
43587 test -z "$as_dir" && as_dir=.
43588 for ac_exec_ext in '' $ac_executable_extensions; do
43589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43590 ac_cv_prog_RESCOMP="Rez"
43591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43592 break 2
43593 fi
43594 done
43595 done
43596
43597 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
43598 fi
43599 fi
43600 RESCOMP=$ac_cv_prog_RESCOMP
43601 if test -n "$RESCOMP"; then
43602 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43603 echo "${ECHO_T}$RESCOMP" >&6
43604 else
43605 echo "$as_me:$LINENO: result: no" >&5
43606 echo "${ECHO_T}no" >&6
43607 fi
43608
43609 # Extract the first word of "SetFile", so it can be a program name with args.
43610 set dummy SetFile; ac_word=$2
43611 echo "$as_me:$LINENO: checking for $ac_word" >&5
43612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43613 if test "${ac_cv_prog_SETFILE+set}" = set; then
43614 echo $ECHO_N "(cached) $ECHO_C" >&6
43615 else
43616 if test -n "$SETFILE"; then
43617 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
43618 else
43619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43620 for as_dir in $PATH
43621 do
43622 IFS=$as_save_IFS
43623 test -z "$as_dir" && as_dir=.
43624 for ac_exec_ext in '' $ac_executable_extensions; do
43625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43626 ac_cv_prog_SETFILE="SetFile"
43627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43628 break 2
43629 fi
43630 done
43631 done
43632
43633 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
43634 fi
43635 fi
43636 SETFILE=$ac_cv_prog_SETFILE
43637 if test -n "$SETFILE"; then
43638 echo "$as_me:$LINENO: result: $SETFILE" >&5
43639 echo "${ECHO_T}$SETFILE" >&6
43640 else
43641 echo "$as_me:$LINENO: result: no" >&5
43642 echo "${ECHO_T}no" >&6
43643 fi
43644
43645 ;;
43646 esac
43647
43648
43649
43650
43651
43652 BAKEFILE_BAKEFILE_M4_VERSION="0.1.9"
43653
43654
43655 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.9"
43656
43657
43658
43659 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
43660 if test "${enable_precomp_headers+set}" = set; then
43661 enableval="$enable_precomp_headers"
43662 bk_use_pch="$enableval"
43663 fi;
43664
43665 GCC_PCH=0
43666
43667 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
43668 if test "x$GCC" = "xyes"; then
43669 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
43670 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
43671 cat >conftest.$ac_ext <<_ACEOF
43672 /* confdefs.h. */
43673 _ACEOF
43674 cat confdefs.h >>conftest.$ac_ext
43675 cat >>conftest.$ac_ext <<_ACEOF
43676 /* end confdefs.h. */
43677
43678 int
43679 main ()
43680 {
43681
43682 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
43683 #error "no pch support"
43684 #endif
43685 #if (__GNUC__ < 3)
43686 #error "no pch support"
43687 #endif
43688 #if (__GNUC__ == 3) && \
43689 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
43690 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
43691 #error "no pch support"
43692 #endif
43693
43694 ;
43695 return 0;
43696 }
43697 _ACEOF
43698 rm -f conftest.$ac_objext
43699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43700 (eval $ac_compile) 2>conftest.er1
43701 ac_status=$?
43702 grep -v '^ *+' conftest.er1 >conftest.err
43703 rm -f conftest.er1
43704 cat conftest.err >&5
43705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43706 (exit $ac_status); } &&
43707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43709 (eval $ac_try) 2>&5
43710 ac_status=$?
43711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43712 (exit $ac_status); }; } &&
43713 { ac_try='test -s conftest.$ac_objext'
43714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43715 (eval $ac_try) 2>&5
43716 ac_status=$?
43717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43718 (exit $ac_status); }; }; then
43719
43720 echo "$as_me:$LINENO: result: yes" >&5
43721 echo "${ECHO_T}yes" >&6
43722 GCC_PCH=1
43723
43724 else
43725 echo "$as_me: failed program was:" >&5
43726 sed 's/^/| /' conftest.$ac_ext >&5
43727
43728
43729 echo "$as_me:$LINENO: result: no" >&5
43730 echo "${ECHO_T}no" >&6
43731
43732 fi
43733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43734 if test $GCC_PCH = 1 ; then
43735
43736 D='$'
43737 cat <<EOF >bk-make-pch
43738 #!/bin/sh
43739
43740 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43741 # script. It is used to generated precompiled headers.
43742 #
43743 # Permission is given to use this file in any way.
43744
43745 outfile="${D}{1}"
43746 header="${D}{2}"
43747 shift
43748 shift
43749
43750 compiler=
43751 headerfile=
43752 while test ${D}{#} -gt 0; do
43753 case "${D}{1}" in
43754 -I* )
43755 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
43756 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
43757 headerfile="${D}{incdir}/${D}{header}"
43758 fi
43759 ;;
43760 esac
43761 compiler="${D}{compiler} ${D}{1}"
43762 shift
43763 done
43764
43765 if test "x${D}{headerfile}" = "x" ; then
43766 echo "error: can't find header ${D}{header} in include paths" >2
43767 else
43768 if test -f ${D}{outfile} ; then
43769 rm -f ${D}{outfile}
43770 else
43771 mkdir -p \`dirname ${D}{outfile}\`
43772 fi
43773 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
43774 mkdir -p .deps
43775 # can do this because gcc is >= 3.4:
43776 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
43777 exit ${D}{?}
43778 fi
43779 EOF
43780
43781 chmod +x bk-make-pch
43782 fi
43783 fi
43784 fi
43785
43786
43787
43788 COND_BUILD_DEBUG="#"
43789 if test "x$BUILD" = "xdebug" ; then
43790 COND_BUILD_DEBUG=""
43791 fi
43792
43793 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
43794 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
43795 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
43796 fi
43797
43798 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
43799 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
43800 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
43801 fi
43802
43803 COND_BUILD_DEBUG_UNICODE_0="#"
43804 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
43805 COND_BUILD_DEBUG_UNICODE_0=""
43806 fi
43807
43808 COND_BUILD_DEBUG_UNICODE_1="#"
43809 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
43810 COND_BUILD_DEBUG_UNICODE_1=""
43811 fi
43812
43813 COND_BUILD_RELEASE="#"
43814 if test "x$BUILD" = "xrelease" ; then
43815 COND_BUILD_RELEASE=""
43816 fi
43817
43818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
43819 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
43820 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
43821 fi
43822
43823 COND_BUILD_RELEASE_UNICODE_0="#"
43824 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
43825 COND_BUILD_RELEASE_UNICODE_0=""
43826 fi
43827
43828 COND_BUILD_RELEASE_UNICODE_1="#"
43829 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
43830 COND_BUILD_RELEASE_UNICODE_1=""
43831 fi
43832
43833 COND_DEBUG_FLAG_1="#"
43834 if test "x$DEBUG_FLAG" = "x1" ; then
43835 COND_DEBUG_FLAG_1=""
43836 fi
43837
43838 COND_DEBUG_INFO_0="#"
43839 if test "x$DEBUG_INFO" = "x0" ; then
43840 COND_DEBUG_INFO_0=""
43841 fi
43842
43843 COND_DEBUG_INFO_1="#"
43844 if test "x$DEBUG_INFO" = "x1" ; then
43845 COND_DEBUG_INFO_1=""
43846 fi
43847
43848 COND_DEPS_TRACKING_0="#"
43849 if test "x$DEPS_TRACKING" = "x0" ; then
43850 COND_DEPS_TRACKING_0=""
43851 fi
43852
43853 COND_DEPS_TRACKING_1="#"
43854 if test "x$DEPS_TRACKING" = "x1" ; then
43855 COND_DEPS_TRACKING_1=""
43856 fi
43857
43858 COND_GCC_PCH_1="#"
43859 if test "x$GCC_PCH" = "x1" ; then
43860 COND_GCC_PCH_1=""
43861 fi
43862
43863 COND_MONOLITHIC_0="#"
43864 if test "x$MONOLITHIC" = "x0" ; then
43865 COND_MONOLITHIC_0=""
43866 fi
43867
43868 COND_MONOLITHIC_0_SHARED_0="#"
43869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
43870 COND_MONOLITHIC_0_SHARED_0=""
43871 fi
43872
43873 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
43874 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
43875 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
43876 fi
43877
43878 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
43879 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43880 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
43881 fi
43882
43883 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
43884 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43885 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
43886 fi
43887
43888 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
43889 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43890 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
43891 fi
43892
43893 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
43894 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
43895 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
43896 fi
43897
43898 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
43899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43900 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
43901 fi
43902
43903 COND_MONOLITHIC_0_SHARED_1="#"
43904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
43905 COND_MONOLITHIC_0_SHARED_1=""
43906 fi
43907
43908 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
43909 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
43910 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
43911 fi
43912
43913 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
43914 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43915 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
43916 fi
43917
43918 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
43919 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43920 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
43921 fi
43922
43923 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
43924 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43925 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
43926 fi
43927
43928 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
43929 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
43930 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
43931 fi
43932
43933 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
43934 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43935 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
43936 fi
43937
43938 COND_MONOLITHIC_0_USE_ODBC_1="#"
43939 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
43940 COND_MONOLITHIC_0_USE_ODBC_1=""
43941 fi
43942
43943 COND_MONOLITHIC_1="#"
43944 if test "x$MONOLITHIC" = "x1" ; then
43945 COND_MONOLITHIC_1=""
43946 fi
43947
43948 COND_MONOLITHIC_1_SHARED_0="#"
43949 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
43950 COND_MONOLITHIC_1_SHARED_0=""
43951 fi
43952
43953 COND_MONOLITHIC_1_SHARED_1="#"
43954 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
43955 COND_MONOLITHIC_1_SHARED_1=""
43956 fi
43957
43958 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
43959 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
43960 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
43961 fi
43962
43963 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
43964 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
43965 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
43966 fi
43967
43968 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
43969 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43970 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
43971 fi
43972
43973 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
43974 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43975 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
43976 fi
43977
43978 COND_PLATFORM_MACOSX_1="#"
43979 if test "x$PLATFORM_MACOSX" = "x1" ; then
43980 COND_PLATFORM_MACOSX_1=""
43981 fi
43982
43983 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
43984 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
43985 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
43986 fi
43987
43988 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
43989 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
43990 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
43991 fi
43992
43993 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
43994 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
43995 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
43996 fi
43997
43998 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
43999 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
44000 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
44001 fi
44002
44003 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
44004 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
44005 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
44006 fi
44007
44008 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
44009 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44010 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
44011 fi
44012
44013 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
44014 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
44015 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
44016 fi
44017
44018 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
44019 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
44020 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
44021 fi
44022
44023 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
44024 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
44025 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
44026 fi
44027
44028 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
44029 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
44030 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
44031 fi
44032
44033 COND_PLATFORM_MACOS_1="#"
44034 if test "x$PLATFORM_MACOS" = "x1" ; then
44035 COND_PLATFORM_MACOS_1=""
44036 fi
44037
44038 COND_PLATFORM_MAC_1="#"
44039 if test "x$PLATFORM_MAC" = "x1" ; then
44040 COND_PLATFORM_MAC_1=""
44041 fi
44042
44043 COND_PLATFORM_MSDOS_1="#"
44044 if test "x$PLATFORM_MSDOS" = "x1" ; then
44045 COND_PLATFORM_MSDOS_1=""
44046 fi
44047
44048 COND_PLATFORM_OS2_1="#"
44049 if test "x$PLATFORM_OS2" = "x1" ; then
44050 COND_PLATFORM_OS2_1=""
44051 fi
44052
44053 COND_PLATFORM_UNIX_0="#"
44054 if test "x$PLATFORM_UNIX" = "x0" ; then
44055 COND_PLATFORM_UNIX_0=""
44056 fi
44057
44058 COND_PLATFORM_UNIX_1="#"
44059 if test "x$PLATFORM_UNIX" = "x1" ; then
44060 COND_PLATFORM_UNIX_1=""
44061 fi
44062
44063 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
44064 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
44065 COND_PLATFORM_UNIX_1_USE_GUI_1=""
44066 fi
44067
44068 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
44069 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
44070 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
44071 fi
44072
44073 COND_PLATFORM_WIN32_0="#"
44074 if test "x$PLATFORM_WIN32" = "x0" ; then
44075 COND_PLATFORM_WIN32_0=""
44076 fi
44077
44078 COND_PLATFORM_WIN32_1="#"
44079 if test "x$PLATFORM_WIN32" = "x1" ; then
44080 COND_PLATFORM_WIN32_1=""
44081 fi
44082
44083 COND_SHARED_0="#"
44084 if test "x$SHARED" = "x0" ; then
44085 COND_SHARED_0=""
44086 fi
44087
44088 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
44089 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
44090 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
44091 fi
44092
44093 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
44094 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
44095 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
44096 fi
44097
44098 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
44099 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
44100 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
44101 fi
44102
44103 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
44104 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
44105 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
44106 fi
44107
44108 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
44109 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44110 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
44111 fi
44112
44113 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
44114 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44115 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
44116 fi
44117
44118 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
44119 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44120 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
44121 fi
44122
44123 COND_SHARED_0_USE_XRC_1="#"
44124 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
44125 COND_SHARED_0_USE_XRC_1=""
44126 fi
44127
44128 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
44129 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
44130 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
44131 fi
44132
44133 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
44134 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
44135 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
44136 fi
44137
44138 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
44139 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
44140 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
44141 fi
44142
44143 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
44144 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
44145 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
44146 fi
44147
44148 COND_SHARED_1="#"
44149 if test "x$SHARED" = "x1" ; then
44150 COND_SHARED_1=""
44151 fi
44152
44153 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
44154 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
44155 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
44156 fi
44157
44158 COND_SHARED_1_USE_XRC_1="#"
44159 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
44160 COND_SHARED_1_USE_XRC_1=""
44161 fi
44162
44163 COND_TOOLKIT_="#"
44164 if test "x$TOOLKIT" = "x" ; then
44165 COND_TOOLKIT_=""
44166 fi
44167
44168 COND_TOOLKIT_COCOA="#"
44169 if test "x$TOOLKIT" = "xCOCOA" ; then
44170 COND_TOOLKIT_COCOA=""
44171 fi
44172
44173 COND_TOOLKIT_COCOA_USE_GUI_1="#"
44174 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
44175 COND_TOOLKIT_COCOA_USE_GUI_1=""
44176 fi
44177
44178 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
44179 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44180 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
44181 fi
44182
44183 COND_TOOLKIT_GTK="#"
44184 if test "x$TOOLKIT" = "xGTK" ; then
44185 COND_TOOLKIT_GTK=""
44186 fi
44187
44188 COND_TOOLKIT_GTK_USE_GUI_1="#"
44189 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
44190 COND_TOOLKIT_GTK_USE_GUI_1=""
44191 fi
44192
44193 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
44194 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44195 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
44196 fi
44197
44198 COND_TOOLKIT_MAC="#"
44199 if test "x$TOOLKIT" = "xMAC" ; then
44200 COND_TOOLKIT_MAC=""
44201 fi
44202
44203 COND_TOOLKIT_MAC_USE_GUI_1="#"
44204 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
44205 COND_TOOLKIT_MAC_USE_GUI_1=""
44206 fi
44207
44208 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
44209 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44210 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
44211 fi
44212
44213 COND_TOOLKIT_MGL="#"
44214 if test "x$TOOLKIT" = "xMGL" ; then
44215 COND_TOOLKIT_MGL=""
44216 fi
44217
44218 COND_TOOLKIT_MGL_USE_GUI_1="#"
44219 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
44220 COND_TOOLKIT_MGL_USE_GUI_1=""
44221 fi
44222
44223 COND_TOOLKIT_MOTIF="#"
44224 if test "x$TOOLKIT" = "xMOTIF" ; then
44225 COND_TOOLKIT_MOTIF=""
44226 fi
44227
44228 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
44229 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
44230 COND_TOOLKIT_MOTIF_USE_GUI_1=""
44231 fi
44232
44233 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
44234 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44235 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
44236 fi
44237
44238 COND_TOOLKIT_MSW="#"
44239 if test "x$TOOLKIT" = "xMSW" ; then
44240 COND_TOOLKIT_MSW=""
44241 fi
44242
44243 COND_TOOLKIT_MSW_USE_GUI_1="#"
44244 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
44245 COND_TOOLKIT_MSW_USE_GUI_1=""
44246 fi
44247
44248 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
44249 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44250 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
44251 fi
44252
44253 COND_TOOLKIT_PM="#"
44254 if test "x$TOOLKIT" = "xPM" ; then
44255 COND_TOOLKIT_PM=""
44256 fi
44257
44258 COND_TOOLKIT_PM_USE_GUI_1="#"
44259 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
44260 COND_TOOLKIT_PM_USE_GUI_1=""
44261 fi
44262
44263 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
44264 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44265 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
44266 fi
44267
44268 COND_TOOLKIT_WINCE="#"
44269 if test "x$TOOLKIT" = "xWINCE" ; then
44270 COND_TOOLKIT_WINCE=""
44271 fi
44272
44273 COND_TOOLKIT_WINCE_USE_GUI_1="#"
44274 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
44275 COND_TOOLKIT_WINCE_USE_GUI_1=""
44276 fi
44277
44278 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
44279 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44280 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
44281 fi
44282
44283 COND_TOOLKIT_X11="#"
44284 if test "x$TOOLKIT" = "xX11" ; then
44285 COND_TOOLKIT_X11=""
44286 fi
44287
44288 COND_TOOLKIT_X11_USE_GUI_1="#"
44289 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
44290 COND_TOOLKIT_X11_USE_GUI_1=""
44291 fi
44292
44293 COND_UNICODE_1="#"
44294 if test "x$UNICODE" = "x1" ; then
44295 COND_UNICODE_1=""
44296 fi
44297
44298 COND_USE_EXCEPTIONS_0="#"
44299 if test "x$USE_EXCEPTIONS" = "x0" ; then
44300 COND_USE_EXCEPTIONS_0=""
44301 fi
44302
44303 COND_USE_EXCEPTIONS_1="#"
44304 if test "x$USE_EXCEPTIONS" = "x1" ; then
44305 COND_USE_EXCEPTIONS_1=""
44306 fi
44307
44308 COND_USE_GUI_0="#"
44309 if test "x$USE_GUI" = "x0" ; then
44310 COND_USE_GUI_0=""
44311 fi
44312
44313 COND_USE_GUI_1="#"
44314 if test "x$USE_GUI" = "x1" ; then
44315 COND_USE_GUI_1=""
44316 fi
44317
44318 COND_USE_GUI_1_WXUNIV_0="#"
44319 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44320 COND_USE_GUI_1_WXUNIV_0=""
44321 fi
44322
44323 COND_USE_GUI_1_WXUNIV_1="#"
44324 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
44325 COND_USE_GUI_1_WXUNIV_1=""
44326 fi
44327
44328 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
44329 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44330 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
44331 fi
44332
44333 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
44334 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44335 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
44336 fi
44337
44338 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
44339 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44340 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
44341 fi
44342
44343 COND_USE_ODBC_1="#"
44344 if test "x$USE_ODBC" = "x1" ; then
44345 COND_USE_ODBC_1=""
44346 fi
44347
44348 COND_USE_OPENGL_1="#"
44349 if test "x$USE_OPENGL" = "x1" ; then
44350 COND_USE_OPENGL_1=""
44351 fi
44352
44353 COND_USE_PLUGINS_0="#"
44354 if test "x$USE_PLUGINS" = "x0" ; then
44355 COND_USE_PLUGINS_0=""
44356 fi
44357
44358 COND_USE_RTTI_0="#"
44359 if test "x$USE_RTTI" = "x0" ; then
44360 COND_USE_RTTI_0=""
44361 fi
44362
44363 COND_USE_RTTI_1="#"
44364 if test "x$USE_RTTI" = "x1" ; then
44365 COND_USE_RTTI_1=""
44366 fi
44367
44368 COND_USE_SOSYMLINKS_1="#"
44369 if test "x$USE_SOSYMLINKS" = "x1" ; then
44370 COND_USE_SOSYMLINKS_1=""
44371 fi
44372
44373 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
44374 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
44375 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
44376 fi
44377
44378 COND_USE_SOVERLINUX_1="#"
44379 if test "x$USE_SOVERLINUX" = "x1" ; then
44380 COND_USE_SOVERLINUX_1=""
44381 fi
44382
44383 COND_USE_SOVERSION_0="#"
44384 if test "x$USE_SOVERSION" = "x0" ; then
44385 COND_USE_SOVERSION_0=""
44386 fi
44387
44388 COND_USE_SOVERSOLARIS_1="#"
44389 if test "x$USE_SOVERSOLARIS" = "x1" ; then
44390 COND_USE_SOVERSOLARIS_1=""
44391 fi
44392
44393 COND_USE_THREADS_0="#"
44394 if test "x$USE_THREADS" = "x0" ; then
44395 COND_USE_THREADS_0=""
44396 fi
44397
44398 COND_USE_THREADS_1="#"
44399 if test "x$USE_THREADS" = "x1" ; then
44400 COND_USE_THREADS_1=""
44401 fi
44402
44403 COND_USE_XRC_1="#"
44404 if test "x$USE_XRC" = "x1" ; then
44405 COND_USE_XRC_1=""
44406 fi
44407
44408 COND_WINDOWS_IMPLIB_1="#"
44409 if test "x$WINDOWS_IMPLIB" = "x1" ; then
44410 COND_WINDOWS_IMPLIB_1=""
44411 fi
44412
44413 COND_WITH_PLUGIN_SDL_1="#"
44414 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
44415 COND_WITH_PLUGIN_SDL_1=""
44416 fi
44417
44418 COND_WXUNIV_0="#"
44419 if test "x$WXUNIV" = "x0" ; then
44420 COND_WXUNIV_0=""
44421 fi
44422
44423 COND_WXUNIV_1="#"
44424 if test "x$WXUNIV" = "x1" ; then
44425 COND_WXUNIV_1=""
44426 fi
44427
44428 COND_WXUSE_EXPAT_BUILTIN="#"
44429 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
44430 COND_WXUSE_EXPAT_BUILTIN=""
44431 fi
44432
44433 COND_WXUSE_LIBJPEG_BUILTIN="#"
44434 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44435 COND_WXUSE_LIBJPEG_BUILTIN=""
44436 fi
44437
44438 COND_WXUSE_LIBPNG_BUILTIN="#"
44439 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44440 COND_WXUSE_LIBPNG_BUILTIN=""
44441 fi
44442
44443 COND_WXUSE_LIBTIFF_BUILTIN="#"
44444 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44445 COND_WXUSE_LIBTIFF_BUILTIN=""
44446 fi
44447
44448 COND_WXUSE_ODBC_BUILTIN="#"
44449 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
44450 COND_WXUSE_ODBC_BUILTIN=""
44451 fi
44452
44453 COND_WXUSE_REGEX_BUILTIN="#"
44454 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
44455 COND_WXUSE_REGEX_BUILTIN=""
44456 fi
44457
44458 COND_WXUSE_ZLIB_BUILTIN="#"
44459 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
44460 COND_WXUSE_ZLIB_BUILTIN=""
44461 fi
44462
44463
44464
44465 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
44466 { { echo "$as_me:$LINENO: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&5
44467 echo "$as_me: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&2;}
44468 { (exit 1); exit 1; }; }
44469 fi
44470
44471 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
44472 { { 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
44473 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;}
44474 { (exit 1); exit 1; }; }
44475 fi
44476
44477
44478 if test "$wxUSE_WINE" = "yes"; then
44479 RESCOMP=wrc
44480 fi
44481
44482 if test "$wxUSE_SHARED" = "yes"; then
44483
44484 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
44485 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
44486
44487 case "${host}" in
44488 *-pc-os2_emx | *-pc-os2-emx )
44489 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44490 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44491 cp -p ${srcdir}/src/os2/dllnames.sh .
44492 cp -p ${srcdir}/src/os2/dllar.sh .
44493 ;;
44494 esac
44495 else
44496
44497 EXE_LINKER="$CXX -o"
44498
44499 fi
44500 if test "$wxUSE_OMF" = "yes"; then
44501 case "${host}" in
44502 *-pc-os2_emx | *-pc-os2-emx )
44503 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
44504 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
44505 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
44506 ;;
44507 esac
44508 fi
44509
44510 GCC_PRAGMA_FLAGS=""
44511 PCH_FLAGS=""
44512
44513 if test $GCC_PCH = 1 ; then
44514 PCH_FLAGS="-DWX_PRECOMP"
44515 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44516 else
44517 if test "$GCC" = yes; then
44518 echo "$as_me:$LINENO: checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA" >&5
44519 echo $ECHO_N "checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44520 cat >conftest.$ac_ext <<_ACEOF
44521 /* confdefs.h. */
44522 _ACEOF
44523 cat confdefs.h >>conftest.$ac_ext
44524 cat >>conftest.$ac_ext <<_ACEOF
44525 /* end confdefs.h. */
44526
44527 int
44528 main ()
44529 {
44530 #if (__GNUC__ < 4)
44531 Not GCC 4.0 or greater
44532 #endif
44533
44534 ;
44535 return 0;
44536 }
44537 _ACEOF
44538 rm -f conftest.$ac_objext
44539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44540 (eval $ac_compile) 2>conftest.er1
44541 ac_status=$?
44542 grep -v '^ *+' conftest.er1 >conftest.err
44543 rm -f conftest.er1
44544 cat conftest.err >&5
44545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44546 (exit $ac_status); } &&
44547 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44549 (eval $ac_try) 2>&5
44550 ac_status=$?
44551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44552 (exit $ac_status); }; } &&
44553 { ac_try='test -s conftest.$ac_objext'
44554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44555 (eval $ac_try) 2>&5
44556 ac_status=$?
44557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44558 (exit $ac_status); }; }; then
44559 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44560 echo "$as_me:$LINENO: result: yes" >&5
44561 echo "${ECHO_T}yes" >&6
44562 else
44563 echo "$as_me: failed program was:" >&5
44564 sed 's/^/| /' conftest.$ac_ext >&5
44565
44566 echo "$as_me:$LINENO: result: no" >&5
44567 echo "${ECHO_T}no" >&6
44568 case "${host}" in
44569 *-*-darwin* )
44570 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44571 ;;
44572 *-*-mingw32* )
44573 if test "$wxUSE_STL" = "yes" -o \
44574 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
44575 "$wxUSE_NO_RTTI" != "yes"; then
44576 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
44577 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44578 cat >conftest.$ac_ext <<_ACEOF
44579 /* confdefs.h. */
44580 _ACEOF
44581 cat confdefs.h >>conftest.$ac_ext
44582 cat >>conftest.$ac_ext <<_ACEOF
44583 /* end confdefs.h. */
44584
44585 int
44586 main ()
44587 {
44588 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44589 Not GCC 3.2 or greater
44590 #endif
44591
44592 ;
44593 return 0;
44594 }
44595 _ACEOF
44596 rm -f conftest.$ac_objext
44597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44598 (eval $ac_compile) 2>conftest.er1
44599 ac_status=$?
44600 grep -v '^ *+' conftest.er1 >conftest.err
44601 rm -f conftest.er1
44602 cat conftest.err >&5
44603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44604 (exit $ac_status); } &&
44605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44607 (eval $ac_try) 2>&5
44608 ac_status=$?
44609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44610 (exit $ac_status); }; } &&
44611 { ac_try='test -s conftest.$ac_objext'
44612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44613 (eval $ac_try) 2>&5
44614 ac_status=$?
44615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44616 (exit $ac_status); }; }; then
44617 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44618 echo "$as_me:$LINENO: result: yes" >&5
44619 echo "${ECHO_T}yes" >&6
44620 else
44621 echo "$as_me: failed program was:" >&5
44622 sed 's/^/| /' conftest.$ac_ext >&5
44623
44624 echo "$as_me:$LINENO: result: no" >&5
44625 echo "${ECHO_T}no" >&6
44626 fi
44627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44628 fi
44629 ;;
44630 *-pc-os2_emx | *-pc-os2-emx )
44631 if test "$wxUSE_STL" = "yes"; then
44632 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
44633 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44634 cat >conftest.$ac_ext <<_ACEOF
44635 /* confdefs.h. */
44636 _ACEOF
44637 cat confdefs.h >>conftest.$ac_ext
44638 cat >>conftest.$ac_ext <<_ACEOF
44639 /* end confdefs.h. */
44640
44641 int
44642 main ()
44643 {
44644 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44645 Not GCC 3.2 or greater
44646 #endif
44647
44648 ;
44649 return 0;
44650 }
44651 _ACEOF
44652 rm -f conftest.$ac_objext
44653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44654 (eval $ac_compile) 2>conftest.er1
44655 ac_status=$?
44656 grep -v '^ *+' conftest.er1 >conftest.err
44657 rm -f conftest.er1
44658 cat conftest.err >&5
44659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44660 (exit $ac_status); } &&
44661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44663 (eval $ac_try) 2>&5
44664 ac_status=$?
44665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44666 (exit $ac_status); }; } &&
44667 { ac_try='test -s conftest.$ac_objext'
44668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44669 (eval $ac_try) 2>&5
44670 ac_status=$?
44671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44672 (exit $ac_status); }; }; then
44673 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44674 echo "$as_me:$LINENO: result: yes" >&5
44675 echo "${ECHO_T}yes" >&6
44676 else
44677 echo "$as_me: failed program was:" >&5
44678 sed 's/^/| /' conftest.$ac_ext >&5
44679
44680 echo "$as_me:$LINENO: result: no" >&5
44681 echo "${ECHO_T}no" >&6
44682 fi
44683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44684 fi
44685 ;;
44686 esac
44687
44688 fi
44689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44690 fi
44691 fi
44692 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
44693
44694
44695 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
44696
44697
44698
44699
44700
44701
44702
44703
44704
44705
44706
44707
44708
44709
44710
44711
44712
44713
44714
44715
44716
44717
44718
44719
44720
44721
44722
44723
44724
44725
44726
44727
44728
44729
44730
44731
44732
44733
44734
44735
44736
44737
44738
44739
44740
44741
44742
44743
44744
44745
44746
44747
44748
44749
44750
44751
44752
44753
44754
44755
44756
44757
44758
44759 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44760 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44761 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
44762 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44763 echo $ECHO_N "(cached) $ECHO_C" >&6
44764 else
44765 cat >conftest.make <<\_ACEOF
44766 all:
44767 @echo 'ac_maketemp="$(MAKE)"'
44768 _ACEOF
44769 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44770 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44771 if test -n "$ac_maketemp"; then
44772 eval ac_cv_prog_make_${ac_make}_set=yes
44773 else
44774 eval ac_cv_prog_make_${ac_make}_set=no
44775 fi
44776 rm -f conftest.make
44777 fi
44778 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44779 echo "$as_me:$LINENO: result: yes" >&5
44780 echo "${ECHO_T}yes" >&6
44781 SET_MAKE=
44782 else
44783 echo "$as_me:$LINENO: result: no" >&5
44784 echo "${ECHO_T}no" >&6
44785 SET_MAKE="MAKE=${MAKE-make}"
44786 fi
44787
44788
44789
44790 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
44791
44792
44793 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
44794
44795
44796 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
44797
44798
44799 ac_config_files="$ac_config_files version-script Makefile"
44800
44801
44802 ac_config_commands="$ac_config_commands wx-config
44803 "
44804
44805
44806
44807
44808 if test "$wxUSE_GUI" = "yes"; then
44809 SUBDIRS="samples demos utils contrib"
44810 else SUBDIRS="samples utils"
44811 fi
44812
44813
44814
44815 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
44816 if test "${with_cppunit_prefix+set}" = set; then
44817 withval="$with_cppunit_prefix"
44818 cppunit_config_prefix="$withval"
44819 else
44820 cppunit_config_prefix=""
44821 fi;
44822
44823 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
44824 if test "${with_cppunit_exec_prefix+set}" = set; then
44825 withval="$with_cppunit_exec_prefix"
44826 cppunit_config_exec_prefix="$withval"
44827 else
44828 cppunit_config_exec_prefix=""
44829 fi;
44830
44831 if test x$cppunit_config_exec_prefix != x ; then
44832 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
44833 if test x${CPPUNIT_CONFIG+set} != xset ; then
44834 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
44835 fi
44836 fi
44837 if test x$cppunit_config_prefix != x ; then
44838 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
44839 if test x${CPPUNIT_CONFIG+set} != xset ; then
44840 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
44841 fi
44842 fi
44843
44844 # Extract the first word of "cppunit-config", so it can be a program name with args.
44845 set dummy cppunit-config; ac_word=$2
44846 echo "$as_me:$LINENO: checking for $ac_word" >&5
44847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44848 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
44849 echo $ECHO_N "(cached) $ECHO_C" >&6
44850 else
44851 case $CPPUNIT_CONFIG in
44852 [\\/]* | ?:[\\/]*)
44853 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
44854 ;;
44855 *)
44856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44857 for as_dir in $PATH
44858 do
44859 IFS=$as_save_IFS
44860 test -z "$as_dir" && as_dir=.
44861 for ac_exec_ext in '' $ac_executable_extensions; do
44862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44863 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44865 break 2
44866 fi
44867 done
44868 done
44869
44870 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
44871 ;;
44872 esac
44873 fi
44874 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
44875
44876 if test -n "$CPPUNIT_CONFIG"; then
44877 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
44878 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
44879 else
44880 echo "$as_me:$LINENO: result: no" >&5
44881 echo "${ECHO_T}no" >&6
44882 fi
44883
44884 cppunit_version_min=1.8.0
44885
44886 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
44887 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
44888 no_cppunit=""
44889 if test "$CPPUNIT_CONFIG" = "no" ; then
44890 no_cppunit=yes
44891 else
44892 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
44893 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
44894 cppunit_version=`$CPPUNIT_CONFIG --version`
44895
44896 cppunit_major_version=`echo $cppunit_version | \
44897 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44898 cppunit_minor_version=`echo $cppunit_version | \
44899 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44900 cppunit_micro_version=`echo $cppunit_version | \
44901 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44902
44903 cppunit_major_min=`echo $cppunit_version_min | \
44904 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44905 cppunit_minor_min=`echo $cppunit_version_min | \
44906 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44907 cppunit_micro_min=`echo $cppunit_version_min | \
44908 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44909
44910 cppunit_version_proper=`expr \
44911 $cppunit_major_version \> $cppunit_major_min \| \
44912 $cppunit_major_version \= $cppunit_major_min \& \
44913 $cppunit_minor_version \> $cppunit_minor_min \| \
44914 $cppunit_major_version \= $cppunit_major_min \& \
44915 $cppunit_minor_version \= $cppunit_minor_min \& \
44916 $cppunit_micro_version \>= $cppunit_micro_min `
44917
44918 if test "$cppunit_version_proper" = "1" ; then
44919 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
44920 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
44921 else
44922 echo "$as_me:$LINENO: result: no" >&5
44923 echo "${ECHO_T}no" >&6
44924 no_cppunit=yes
44925 fi
44926 fi
44927
44928 if test "x$no_cppunit" = x ; then
44929 SUBDIRS="$SUBDIRS tests"
44930 else
44931 CPPUNIT_CFLAGS=""
44932 CPPUNIT_LIBS=""
44933 :
44934 fi
44935
44936
44937
44938
44939
44940 for subdir in `echo $SUBDIRS`; do
44941 if test -d ${srcdir}/${subdir} ; then
44942 if test "$wxUSE_GUI" = "yes"; then
44943 if test ${subdir} = "samples"; then
44944 makefiles="samples/Makefile.in $makefiles"
44945 for sample in `echo $SAMPLES_SUBDIRS`; do
44946 if test -d $srcdir/samples/$sample; then
44947 makefiles="samples/$sample/Makefile.in $makefiles"
44948 fi
44949 done
44950 else
44951 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
44952 eval "disabled=\$$disabled_var"
44953 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
44954 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
44955 fi
44956 else if test ${subdir} = "samples"; then
44957 makefiles="samples/Makefile.in samples/console/Makefile.in"
44958 elif test ${subdir} = "utils"; then
44959 makefiles=""
44960 for util in HelpGen tex2rtf ; do
44961 if test -d $srcdir/utils/$util ; then
44962 makefiles="utils/$util/Makefile.in \
44963 utils/$util/src/Makefile.in \
44964 $makefiles"
44965 fi
44966 done
44967 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
44968 fi
44969 fi
44970
44971 for mkin in $makefiles ; do
44972 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
44973 ac_config_files="$ac_config_files $mk"
44974
44975 done
44976 fi
44977 done
44978
44979
44980 cat >confcache <<\_ACEOF
44981 # This file is a shell script that caches the results of configure
44982 # tests run on this system so they can be shared between configure
44983 # scripts and configure runs, see configure's option --config-cache.
44984 # It is not useful on other systems. If it contains results you don't
44985 # want to keep, you may remove or edit it.
44986 #
44987 # config.status only pays attention to the cache file if you give it
44988 # the --recheck option to rerun configure.
44989 #
44990 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44991 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44992 # following values.
44993
44994 _ACEOF
44995
44996 # The following way of writing the cache mishandles newlines in values,
44997 # but we know of no workaround that is simple, portable, and efficient.
44998 # So, don't put newlines in cache variables' values.
44999 # Ultrix sh set writes to stderr and can't be redirected directly,
45000 # and sets the high bit in the cache file unless we assign to the vars.
45001 {
45002 (set) 2>&1 |
45003 case `(ac_space=' '; set | grep ac_space) 2>&1` in
45004 *ac_space=\ *)
45005 # `set' does not quote correctly, so add quotes (double-quote
45006 # substitution turns \\\\ into \\, and sed turns \\ into \).
45007 sed -n \
45008 "s/'/'\\\\''/g;
45009 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
45010 ;;
45011 *)
45012 # `set' quotes correctly as required by POSIX, so do not add quotes.
45013 sed -n \
45014 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
45015 ;;
45016 esac;
45017 } |
45018 sed '
45019 t clear
45020 : clear
45021 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
45022 t end
45023 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
45024 : end' >>confcache
45025 if diff $cache_file confcache >/dev/null 2>&1; then :; else
45026 if test -w $cache_file; then
45027 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
45028 cat confcache >$cache_file
45029 else
45030 echo "not updating unwritable cache $cache_file"
45031 fi
45032 fi
45033 rm -f confcache
45034
45035 test "x$prefix" = xNONE && prefix=$ac_default_prefix
45036 # Let make expand exec_prefix.
45037 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
45038
45039 # VPATH may cause trouble with some makes, so we remove $(srcdir),
45040 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
45041 # trailing colons and then remove the whole line if VPATH becomes empty
45042 # (actually we leave an empty line to preserve line numbers).
45043 if test "x$srcdir" = x.; then
45044 ac_vpsub='/^[ ]*VPATH[ ]*=/{
45045 s/:*\$(srcdir):*/:/;
45046 s/:*\${srcdir}:*/:/;
45047 s/:*@srcdir@:*/:/;
45048 s/^\([^=]*=[ ]*\):*/\1/;
45049 s/:*$//;
45050 s/^[^=]*=[ ]*$//;
45051 }'
45052 fi
45053
45054 DEFS=-DHAVE_CONFIG_H
45055
45056 ac_libobjs=
45057 ac_ltlibobjs=
45058 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
45059 # 1. Remove the extension, and $U if already installed.
45060 ac_i=`echo "$ac_i" |
45061 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
45062 # 2. Add them.
45063 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
45064 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
45065 done
45066 LIBOBJS=$ac_libobjs
45067
45068 LTLIBOBJS=$ac_ltlibobjs
45069
45070
45071
45072 : ${CONFIG_STATUS=./config.status}
45073 ac_clean_files_save=$ac_clean_files
45074 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
45075 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
45076 echo "$as_me: creating $CONFIG_STATUS" >&6;}
45077 cat >$CONFIG_STATUS <<_ACEOF
45078 #! $SHELL
45079 # Generated by $as_me.
45080 # Run this file to recreate the current configuration.
45081 # Compiler output produced by configure, useful for debugging
45082 # configure, is in config.log if it exists.
45083
45084 debug=false
45085 ac_cs_recheck=false
45086 ac_cs_silent=false
45087 SHELL=\${CONFIG_SHELL-$SHELL}
45088 _ACEOF
45089
45090 cat >>$CONFIG_STATUS <<\_ACEOF
45091 ## --------------------- ##
45092 ## M4sh Initialization. ##
45093 ## --------------------- ##
45094
45095 # Be Bourne compatible
45096 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
45097 emulate sh
45098 NULLCMD=:
45099 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
45100 # is contrary to our usage. Disable this feature.
45101 alias -g '${1+"$@"}'='"$@"'
45102 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
45103 set -o posix
45104 fi
45105 DUALCASE=1; export DUALCASE # for MKS sh
45106
45107 # Support unset when possible.
45108 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
45109 as_unset=unset
45110 else
45111 as_unset=false
45112 fi
45113
45114
45115 # Work around bugs in pre-3.0 UWIN ksh.
45116 $as_unset ENV MAIL MAILPATH
45117 PS1='$ '
45118 PS2='> '
45119 PS4='+ '
45120
45121 # NLS nuisances.
45122 for as_var in \
45123 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
45124 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45125 LC_TELEPHONE LC_TIME
45126 do
45127 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45128 eval $as_var=C; export $as_var
45129 else
45130 $as_unset $as_var
45131 fi
45132 done
45133
45134 # Required to use basename.
45135 if expr a : '\(a\)' >/dev/null 2>&1; then
45136 as_expr=expr
45137 else
45138 as_expr=false
45139 fi
45140
45141 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
45142 as_basename=basename
45143 else
45144 as_basename=false
45145 fi
45146
45147
45148 # Name of the executable.
45149 as_me=`$as_basename "$0" ||
45150 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
45151 X"$0" : 'X\(//\)$' \| \
45152 X"$0" : 'X\(/\)$' \| \
45153 . : '\(.\)' 2>/dev/null ||
45154 echo X/"$0" |
45155 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
45156 /^X\/\(\/\/\)$/{ s//\1/; q; }
45157 /^X\/\(\/\).*/{ s//\1/; q; }
45158 s/.*/./; q'`
45159
45160
45161 # PATH needs CR, and LINENO needs CR and PATH.
45162 # Avoid depending upon Character Ranges.
45163 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
45164 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
45165 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
45166 as_cr_digits='0123456789'
45167 as_cr_alnum=$as_cr_Letters$as_cr_digits
45168
45169 # The user is always right.
45170 if test "${PATH_SEPARATOR+set}" != set; then
45171 echo "#! /bin/sh" >conf$$.sh
45172 echo "exit 0" >>conf$$.sh
45173 chmod +x conf$$.sh
45174 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
45175 PATH_SEPARATOR=';'
45176 else
45177 PATH_SEPARATOR=:
45178 fi
45179 rm -f conf$$.sh
45180 fi
45181
45182
45183 as_lineno_1=$LINENO
45184 as_lineno_2=$LINENO
45185 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
45186 test "x$as_lineno_1" != "x$as_lineno_2" &&
45187 test "x$as_lineno_3" = "x$as_lineno_2" || {
45188 # Find who we are. Look in the path if we contain no path at all
45189 # relative or not.
45190 case $0 in
45191 *[\\/]* ) as_myself=$0 ;;
45192 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45193 for as_dir in $PATH
45194 do
45195 IFS=$as_save_IFS
45196 test -z "$as_dir" && as_dir=.
45197 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
45198 done
45199
45200 ;;
45201 esac
45202 # We did not find ourselves, most probably we were run as `sh COMMAND'
45203 # in which case we are not to be found in the path.
45204 if test "x$as_myself" = x; then
45205 as_myself=$0
45206 fi
45207 if test ! -f "$as_myself"; then
45208 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
45209 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
45210 { (exit 1); exit 1; }; }
45211 fi
45212 case $CONFIG_SHELL in
45213 '')
45214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45215 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
45216 do
45217 IFS=$as_save_IFS
45218 test -z "$as_dir" && as_dir=.
45219 for as_base in sh bash ksh sh5; do
45220 case $as_dir in
45221 /*)
45222 if ("$as_dir/$as_base" -c '
45223 as_lineno_1=$LINENO
45224 as_lineno_2=$LINENO
45225 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
45226 test "x$as_lineno_1" != "x$as_lineno_2" &&
45227 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
45228 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
45229 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
45230 CONFIG_SHELL=$as_dir/$as_base
45231 export CONFIG_SHELL
45232 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
45233 fi;;
45234 esac
45235 done
45236 done
45237 ;;
45238 esac
45239
45240 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
45241 # uniformly replaced by the line number. The first 'sed' inserts a
45242 # line-number line before each line; the second 'sed' does the real
45243 # work. The second script uses 'N' to pair each line-number line
45244 # with the numbered line, and appends trailing '-' during
45245 # substitution so that $LINENO is not a special case at line end.
45246 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
45247 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
45248 sed '=' <$as_myself |
45249 sed '
45250 N
45251 s,$,-,
45252 : loop
45253 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
45254 t loop
45255 s,-$,,
45256 s,^['$as_cr_digits']*\n,,
45257 ' >$as_me.lineno &&
45258 chmod +x $as_me.lineno ||
45259 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
45260 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
45261 { (exit 1); exit 1; }; }
45262
45263 # Don't try to exec as it changes $[0], causing all sort of problems
45264 # (the dirname of $[0] is not the place where we might find the
45265 # original and so on. Autoconf is especially sensible to this).
45266 . ./$as_me.lineno
45267 # Exit status is that of the last command.
45268 exit
45269 }
45270
45271
45272 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
45273 *c*,-n*) ECHO_N= ECHO_C='
45274 ' ECHO_T=' ' ;;
45275 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
45276 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
45277 esac
45278
45279 if expr a : '\(a\)' >/dev/null 2>&1; then
45280 as_expr=expr
45281 else
45282 as_expr=false
45283 fi
45284
45285 rm -f conf$$ conf$$.exe conf$$.file
45286 echo >conf$$.file
45287 if ln -s conf$$.file conf$$ 2>/dev/null; then
45288 # We could just check for DJGPP; but this test a) works b) is more generic
45289 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45290 if test -f conf$$.exe; then
45291 # Don't use ln at all; we don't have any links
45292 as_ln_s='cp -p'
45293 else
45294 as_ln_s='ln -s'
45295 fi
45296 elif ln conf$$.file conf$$ 2>/dev/null; then
45297 as_ln_s=ln
45298 else
45299 as_ln_s='cp -p'
45300 fi
45301 rm -f conf$$ conf$$.exe conf$$.file
45302
45303 if mkdir -p . 2>/dev/null; then
45304 as_mkdir_p=:
45305 else
45306 test -d ./-p && rmdir ./-p
45307 as_mkdir_p=false
45308 fi
45309
45310 as_executable_p="test -f"
45311
45312 # Sed expression to map a string onto a valid CPP name.
45313 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
45314
45315 # Sed expression to map a string onto a valid variable name.
45316 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
45317
45318
45319 # IFS
45320 # We need space, tab and new line, in precisely that order.
45321 as_nl='
45322 '
45323 IFS=" $as_nl"
45324
45325 # CDPATH.
45326 $as_unset CDPATH
45327
45328 exec 6>&1
45329
45330 # Open the log real soon, to keep \$[0] and so on meaningful, and to
45331 # report actual input values of CONFIG_FILES etc. instead of their
45332 # values after options handling. Logging --version etc. is OK.
45333 exec 5>>config.log
45334 {
45335 echo
45336 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
45337 ## Running $as_me. ##
45338 _ASBOX
45339 } >&5
45340 cat >&5 <<_CSEOF
45341
45342 This file was extended by wxWidgets $as_me 2.6.2, which was
45343 generated by GNU Autoconf 2.59. Invocation command line was
45344
45345 CONFIG_FILES = $CONFIG_FILES
45346 CONFIG_HEADERS = $CONFIG_HEADERS
45347 CONFIG_LINKS = $CONFIG_LINKS
45348 CONFIG_COMMANDS = $CONFIG_COMMANDS
45349 $ $0 $@
45350
45351 _CSEOF
45352 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
45353 echo >&5
45354 _ACEOF
45355
45356 # Files that config.status was made for.
45357 if test -n "$ac_config_files"; then
45358 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
45359 fi
45360
45361 if test -n "$ac_config_headers"; then
45362 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
45363 fi
45364
45365 if test -n "$ac_config_links"; then
45366 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
45367 fi
45368
45369 if test -n "$ac_config_commands"; then
45370 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
45371 fi
45372
45373 cat >>$CONFIG_STATUS <<\_ACEOF
45374
45375 ac_cs_usage="\
45376 \`$as_me' instantiates files from templates according to the
45377 current configuration.
45378
45379 Usage: $0 [OPTIONS] [FILE]...
45380
45381 -h, --help print this help, then exit
45382 -V, --version print version number, then exit
45383 -q, --quiet do not print progress messages
45384 -d, --debug don't remove temporary files
45385 --recheck update $as_me by reconfiguring in the same conditions
45386 --file=FILE[:TEMPLATE]
45387 instantiate the configuration file FILE
45388 --header=FILE[:TEMPLATE]
45389 instantiate the configuration header FILE
45390
45391 Configuration files:
45392 $config_files
45393
45394 Configuration headers:
45395 $config_headers
45396
45397 Configuration commands:
45398 $config_commands
45399
45400 Report bugs to <bug-autoconf@gnu.org>."
45401 _ACEOF
45402
45403 cat >>$CONFIG_STATUS <<_ACEOF
45404 ac_cs_version="\\
45405 wxWidgets config.status 2.6.2
45406 configured by $0, generated by GNU Autoconf 2.59,
45407 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
45408
45409 Copyright (C) 2003 Free Software Foundation, Inc.
45410 This config.status script is free software; the Free Software Foundation
45411 gives unlimited permission to copy, distribute and modify it."
45412 srcdir=$srcdir
45413 INSTALL="$INSTALL"
45414 _ACEOF
45415
45416 cat >>$CONFIG_STATUS <<\_ACEOF
45417 # If no file are specified by the user, then we need to provide default
45418 # value. By we need to know if files were specified by the user.
45419 ac_need_defaults=:
45420 while test $# != 0
45421 do
45422 case $1 in
45423 --*=*)
45424 ac_option=`expr "x$1" : 'x\([^=]*\)='`
45425 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
45426 ac_shift=:
45427 ;;
45428 -*)
45429 ac_option=$1
45430 ac_optarg=$2
45431 ac_shift=shift
45432 ;;
45433 *) # This is not an option, so the user has probably given explicit
45434 # arguments.
45435 ac_option=$1
45436 ac_need_defaults=false;;
45437 esac
45438
45439 case $ac_option in
45440 # Handling of the options.
45441 _ACEOF
45442 cat >>$CONFIG_STATUS <<\_ACEOF
45443 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
45444 ac_cs_recheck=: ;;
45445 --version | --vers* | -V )
45446 echo "$ac_cs_version"; exit 0 ;;
45447 --he | --h)
45448 # Conflict between --help and --header
45449 { { echo "$as_me:$LINENO: error: ambiguous option: $1
45450 Try \`$0 --help' for more information." >&5
45451 echo "$as_me: error: ambiguous option: $1
45452 Try \`$0 --help' for more information." >&2;}
45453 { (exit 1); exit 1; }; };;
45454 --help | --hel | -h )
45455 echo "$ac_cs_usage"; exit 0 ;;
45456 --debug | --d* | -d )
45457 debug=: ;;
45458 --file | --fil | --fi | --f )
45459 $ac_shift
45460 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
45461 ac_need_defaults=false;;
45462 --header | --heade | --head | --hea )
45463 $ac_shift
45464 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
45465 ac_need_defaults=false;;
45466 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
45467 | -silent | --silent | --silen | --sile | --sil | --si | --s)
45468 ac_cs_silent=: ;;
45469
45470 # This is an error.
45471 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
45472 Try \`$0 --help' for more information." >&5
45473 echo "$as_me: error: unrecognized option: $1
45474 Try \`$0 --help' for more information." >&2;}
45475 { (exit 1); exit 1; }; } ;;
45476
45477 *) ac_config_targets="$ac_config_targets $1" ;;
45478
45479 esac
45480 shift
45481 done
45482
45483 ac_configure_extra_args=
45484
45485 if $ac_cs_silent; then
45486 exec 6>/dev/null
45487 ac_configure_extra_args="$ac_configure_extra_args --silent"
45488 fi
45489
45490 _ACEOF
45491 cat >>$CONFIG_STATUS <<_ACEOF
45492 if \$ac_cs_recheck; then
45493 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
45494 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
45495 fi
45496
45497 _ACEOF
45498
45499 cat >>$CONFIG_STATUS <<_ACEOF
45500 #
45501 # INIT-COMMANDS section.
45502 #
45503
45504 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45505 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45506 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45507 LN_S="${LN_S}"
45508
45509
45510 _ACEOF
45511
45512
45513
45514 cat >>$CONFIG_STATUS <<\_ACEOF
45515 for ac_config_target in $ac_config_targets
45516 do
45517 case "$ac_config_target" in
45518 # Handling of arguments.
45519 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
45520 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
45521 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
45522 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
45523 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
45524 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
45525 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
45526 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
45527 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
45528 { (exit 1); exit 1; }; };;
45529 esac
45530 done
45531
45532 # If the user did not use the arguments to specify the items to instantiate,
45533 # then the envvar interface is used. Set only those that are not.
45534 # We use the long form for the default assignment because of an extremely
45535 # bizarre bug on SunOS 4.1.3.
45536 if $ac_need_defaults; then
45537 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
45538 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
45539 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
45540 fi
45541
45542 # Have a temporary directory for convenience. Make it in the build tree
45543 # simply because there is no reason to put it here, and in addition,
45544 # creating and moving files from /tmp can sometimes cause problems.
45545 # Create a temporary directory, and hook for its removal unless debugging.
45546 $debug ||
45547 {
45548 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
45549 trap '{ (exit 1); exit 1; }' 1 2 13 15
45550 }
45551
45552 # Create a (secure) tmp directory for tmp files.
45553
45554 {
45555 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
45556 test -n "$tmp" && test -d "$tmp"
45557 } ||
45558 {
45559 tmp=./confstat$$-$RANDOM
45560 (umask 077 && mkdir $tmp)
45561 } ||
45562 {
45563 echo "$me: cannot create a temporary directory in ." >&2
45564 { (exit 1); exit 1; }
45565 }
45566
45567 _ACEOF
45568
45569 cat >>$CONFIG_STATUS <<_ACEOF
45570
45571 #
45572 # CONFIG_FILES section.
45573 #
45574
45575 # No need to generate the scripts if there are no CONFIG_FILES.
45576 # This happens for instance when ./config.status config.h
45577 if test -n "\$CONFIG_FILES"; then
45578 # Protect against being on the right side of a sed subst in config.status.
45579 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
45580 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
45581 s,@SHELL@,$SHELL,;t t
45582 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
45583 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
45584 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
45585 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
45586 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
45587 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
45588 s,@exec_prefix@,$exec_prefix,;t t
45589 s,@prefix@,$prefix,;t t
45590 s,@program_transform_name@,$program_transform_name,;t t
45591 s,@bindir@,$bindir,;t t
45592 s,@sbindir@,$sbindir,;t t
45593 s,@libexecdir@,$libexecdir,;t t
45594 s,@datadir@,$datadir,;t t
45595 s,@sysconfdir@,$sysconfdir,;t t
45596 s,@sharedstatedir@,$sharedstatedir,;t t
45597 s,@localstatedir@,$localstatedir,;t t
45598 s,@libdir@,$libdir,;t t
45599 s,@includedir@,$includedir,;t t
45600 s,@oldincludedir@,$oldincludedir,;t t
45601 s,@infodir@,$infodir,;t t
45602 s,@mandir@,$mandir,;t t
45603 s,@build_alias@,$build_alias,;t t
45604 s,@host_alias@,$host_alias,;t t
45605 s,@target_alias@,$target_alias,;t t
45606 s,@DEFS@,$DEFS,;t t
45607 s,@ECHO_C@,$ECHO_C,;t t
45608 s,@ECHO_N@,$ECHO_N,;t t
45609 s,@ECHO_T@,$ECHO_T,;t t
45610 s,@LIBS@,$LIBS,;t t
45611 s,@build@,$build,;t t
45612 s,@build_cpu@,$build_cpu,;t t
45613 s,@build_vendor@,$build_vendor,;t t
45614 s,@build_os@,$build_os,;t t
45615 s,@host@,$host,;t t
45616 s,@host_cpu@,$host_cpu,;t t
45617 s,@host_vendor@,$host_vendor,;t t
45618 s,@host_os@,$host_os,;t t
45619 s,@target@,$target,;t t
45620 s,@target_cpu@,$target_cpu,;t t
45621 s,@target_vendor@,$target_vendor,;t t
45622 s,@target_os@,$target_os,;t t
45623 s,@CC@,$CC,;t t
45624 s,@CFLAGS@,$CFLAGS,;t t
45625 s,@LDFLAGS@,$LDFLAGS,;t t
45626 s,@CPPFLAGS@,$CPPFLAGS,;t t
45627 s,@ac_ct_CC@,$ac_ct_CC,;t t
45628 s,@EXEEXT@,$EXEEXT,;t t
45629 s,@OBJEXT@,$OBJEXT,;t t
45630 s,@CPP@,$CPP,;t t
45631 s,@EGREP@,$EGREP,;t t
45632 s,@CXX@,$CXX,;t t
45633 s,@CXXFLAGS@,$CXXFLAGS,;t t
45634 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
45635 s,@RANLIB@,$RANLIB,;t t
45636 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
45637 s,@AR@,$AR,;t t
45638 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
45639 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
45640 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
45641 s,@STRIP@,$STRIP,;t t
45642 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
45643 s,@LN_S@,$LN_S,;t t
45644 s,@CXXCPP@,$CXXCPP,;t t
45645 s,@subdirs@,$subdirs,;t t
45646 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
45647 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
45648 s,@GTK_LIBS@,$GTK_LIBS,;t t
45649 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
45650 s,@X_CFLAGS@,$X_CFLAGS,;t t
45651 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
45652 s,@X_LIBS@,$X_LIBS,;t t
45653 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
45654 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
45655 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
45656 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
45657 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
45658 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
45659 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
45660 s,@RESCOMP@,$RESCOMP,;t t
45661 s,@DEREZ@,$DEREZ,;t t
45662 s,@SETFILE@,$SETFILE,;t t
45663 s,@LIBICONV@,$LIBICONV,;t t
45664 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
45665 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
45666 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
45667 s,@SDL_LIBS@,$SDL_LIBS,;t t
45668 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
45669 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
45670 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
45671 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
45672 s,@GST_INSPECT@,$GST_INSPECT,;t t
45673 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
45674 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
45675 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
45676 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
45677 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
45678 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
45679 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
45680 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
45681 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
45682 s,@VENDOR@,$VENDOR,;t t
45683 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
45684 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
45685 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
45686 s,@WXUNIV@,$WXUNIV,;t t
45687 s,@MONOLITHIC@,$MONOLITHIC,;t t
45688 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
45689 s,@EXTRALIBS@,$EXTRALIBS,;t t
45690 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
45691 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
45692 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
45693 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
45694 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
45695 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
45696 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
45697 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
45698 s,@UNICODE@,$UNICODE,;t t
45699 s,@BUILD@,$BUILD,;t t
45700 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
45701 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
45702 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
45703 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
45704 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
45705 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
45706 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
45707 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
45708 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
45709 s,@SET_MAKE@,$SET_MAKE,;t t
45710 s,@MAKE_SET@,$MAKE_SET,;t t
45711 s,@ac_ct_AR@,$ac_ct_AR,;t t
45712 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
45713 s,@NM@,$NM,;t t
45714 s,@ac_ct_NM@,$ac_ct_NM,;t t
45715 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
45716 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
45717 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
45718 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
45719 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
45720 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
45721 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
45722 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
45723 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
45724 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
45725 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
45726 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
45727 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
45728 s,@LIBPREFIX@,$LIBPREFIX,;t t
45729 s,@LIBEXT@,$LIBEXT,;t t
45730 s,@DLLPREFIX@,$DLLPREFIX,;t t
45731 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
45732 s,@dlldir@,$dlldir,;t t
45733 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
45734 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
45735 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
45736 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
45737 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
45738 s,@PIC_FLAG@,$PIC_FLAG,;t t
45739 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
45740 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
45741 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
45742 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
45743 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
45744 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
45745 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
45746 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
45747 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
45748 s,@GCC_PCH@,$GCC_PCH,;t t
45749 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
45750 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
45751 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
45752 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
45753 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
45754 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
45755 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
45756 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
45757 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
45758 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
45759 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
45760 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
45761 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
45762 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
45763 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
45764 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
45765 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
45766 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
45767 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
45768 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
45769 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
45770 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
45771 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
45772 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
45773 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
45774 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
45775 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
45776 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
45777 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
45778 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
45779 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
45780 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
45781 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
45782 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
45783 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
45784 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
45785 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
45786 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
45787 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
45788 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
45789 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
45790 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
45791 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
45792 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
45793 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
45794 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
45795 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
45796 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
45797 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
45798 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
45799 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
45800 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
45801 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
45802 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
45803 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
45804 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
45805 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
45806 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
45807 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
45808 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
45809 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
45810 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
45811 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
45812 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
45813 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45814 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45815 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45816 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
45817 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
45818 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
45819 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
45820 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
45821 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
45822 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
45823 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
45824 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
45825 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
45826 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
45827 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
45828 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
45829 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
45830 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
45831 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
45832 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
45833 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
45834 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
45835 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
45836 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
45837 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
45838 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
45839 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
45840 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
45841 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
45842 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
45843 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
45844 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
45845 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
45846 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
45847 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
45848 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
45849 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
45850 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
45851 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
45852 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
45853 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
45854 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
45855 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
45856 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
45857 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45858 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45859 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45860 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
45861 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
45862 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
45863 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
45864 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
45865 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
45866 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
45867 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
45868 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
45869 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
45870 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
45871 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
45872 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
45873 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
45874 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
45875 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
45876 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
45877 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
45878 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
45879 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
45880 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
45881 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
45882 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
45883 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
45884 s,@SHARED@,$SHARED,;t t
45885 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
45886 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
45887 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
45888 s,@USE_GUI@,$USE_GUI,;t t
45889 s,@AFMINSTALL@,$AFMINSTALL,;t t
45890 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
45891 s,@TOOLKIT@,$TOOLKIT,;t t
45892 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
45893 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
45894 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
45895 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
45896 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
45897 s,@cross_compiling@,$cross_compiling,;t t
45898 s,@WIDGET_SET@,$WIDGET_SET,;t t
45899 s,@WX_RELEASE@,$WX_RELEASE,;t t
45900 s,@WX_VERSION@,$WX_VERSION,;t t
45901 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
45902 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
45903 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
45904 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
45905 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
45906 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
45907 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
45908 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
45909 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
45910 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
45911 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
45912 s,@EXE_LINKER@,$EXE_LINKER,;t t
45913 s,@GUIDIST@,$GUIDIST,;t t
45914 s,@DISTDIR@,$DISTDIR,;t t
45915 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
45916 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
45917 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
45918 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
45919 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
45920 s,@RESFLAGS@,$RESFLAGS,;t t
45921 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
45922 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
45923 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
45924 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
45925 s,@MACRESCOMP@,$MACRESCOMP,;t t
45926 s,@MACSETFILE@,$MACSETFILE,;t t
45927 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
45928 s,@GCC@,$GCC,;t t
45929 s,@DLLTOOL@,$DLLTOOL,;t t
45930 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
45931 s,@LIBOBJS@,$LIBOBJS,;t t
45932 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45933 CEOF
45934
45935 _ACEOF
45936
45937 cat >>$CONFIG_STATUS <<\_ACEOF
45938 # Split the substitutions into bite-sized pieces for seds with
45939 # small command number limits, like on Digital OSF/1 and HP-UX.
45940 ac_max_sed_lines=48
45941 ac_sed_frag=1 # Number of current file.
45942 ac_beg=1 # First line for current file.
45943 ac_end=$ac_max_sed_lines # Line after last line for current file.
45944 ac_more_lines=:
45945 ac_sed_cmds=
45946 while $ac_more_lines; do
45947 if test $ac_beg -gt 1; then
45948 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45949 else
45950 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45951 fi
45952 if test ! -s $tmp/subs.frag; then
45953 ac_more_lines=false
45954 else
45955 # The purpose of the label and of the branching condition is to
45956 # speed up the sed processing (if there are no `@' at all, there
45957 # is no need to browse any of the substitutions).
45958 # These are the two extra sed commands mentioned above.
45959 (echo ':t
45960 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
45961 if test -z "$ac_sed_cmds"; then
45962 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
45963 else
45964 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45965 fi
45966 ac_sed_frag=`expr $ac_sed_frag + 1`
45967 ac_beg=$ac_end
45968 ac_end=`expr $ac_end + $ac_max_sed_lines`
45969 fi
45970 done
45971 if test -z "$ac_sed_cmds"; then
45972 ac_sed_cmds=cat
45973 fi
45974 fi # test -n "$CONFIG_FILES"
45975
45976 _ACEOF
45977 cat >>$CONFIG_STATUS <<\_ACEOF
45978 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
45979 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45980 case $ac_file in
45981 - | *:- | *:-:* ) # input from stdin
45982 cat >$tmp/stdin
45983 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45984 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45985 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45986 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45987 * ) ac_file_in=$ac_file.in ;;
45988 esac
45989
45990 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45991 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45992 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45993 X"$ac_file" : 'X\(//\)[^/]' \| \
45994 X"$ac_file" : 'X\(//\)$' \| \
45995 X"$ac_file" : 'X\(/\)' \| \
45996 . : '\(.\)' 2>/dev/null ||
45997 echo X"$ac_file" |
45998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45999 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46000 /^X\(\/\/\)$/{ s//\1/; q; }
46001 /^X\(\/\).*/{ s//\1/; q; }
46002 s/.*/./; q'`
46003 { if $as_mkdir_p; then
46004 mkdir -p "$ac_dir"
46005 else
46006 as_dir="$ac_dir"
46007 as_dirs=
46008 while test ! -d "$as_dir"; do
46009 as_dirs="$as_dir $as_dirs"
46010 as_dir=`(dirname "$as_dir") 2>/dev/null ||
46011 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46012 X"$as_dir" : 'X\(//\)[^/]' \| \
46013 X"$as_dir" : 'X\(//\)$' \| \
46014 X"$as_dir" : 'X\(/\)' \| \
46015 . : '\(.\)' 2>/dev/null ||
46016 echo X"$as_dir" |
46017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46018 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46019 /^X\(\/\/\)$/{ s//\1/; q; }
46020 /^X\(\/\).*/{ s//\1/; q; }
46021 s/.*/./; q'`
46022 done
46023 test ! -n "$as_dirs" || mkdir $as_dirs
46024 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46025 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46026 { (exit 1); exit 1; }; }; }
46027
46028 ac_builddir=.
46029
46030 if test "$ac_dir" != .; then
46031 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46032 # A "../" for each directory in $ac_dir_suffix.
46033 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46034 else
46035 ac_dir_suffix= ac_top_builddir=
46036 fi
46037
46038 case $srcdir in
46039 .) # No --srcdir option. We are building in place.
46040 ac_srcdir=.
46041 if test -z "$ac_top_builddir"; then
46042 ac_top_srcdir=.
46043 else
46044 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
46045 fi ;;
46046 [\\/]* | ?:[\\/]* ) # Absolute path.
46047 ac_srcdir=$srcdir$ac_dir_suffix;
46048 ac_top_srcdir=$srcdir ;;
46049 *) # Relative path.
46050 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
46051 ac_top_srcdir=$ac_top_builddir$srcdir ;;
46052 esac
46053
46054 # Do not use `cd foo && pwd` to compute absolute paths, because
46055 # the directories may not exist.
46056 case `pwd` in
46057 .) ac_abs_builddir="$ac_dir";;
46058 *)
46059 case "$ac_dir" in
46060 .) ac_abs_builddir=`pwd`;;
46061 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
46062 *) ac_abs_builddir=`pwd`/"$ac_dir";;
46063 esac;;
46064 esac
46065 case $ac_abs_builddir in
46066 .) ac_abs_top_builddir=${ac_top_builddir}.;;
46067 *)
46068 case ${ac_top_builddir}. in
46069 .) ac_abs_top_builddir=$ac_abs_builddir;;
46070 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
46071 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
46072 esac;;
46073 esac
46074 case $ac_abs_builddir in
46075 .) ac_abs_srcdir=$ac_srcdir;;
46076 *)
46077 case $ac_srcdir in
46078 .) ac_abs_srcdir=$ac_abs_builddir;;
46079 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
46080 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
46081 esac;;
46082 esac
46083 case $ac_abs_builddir in
46084 .) ac_abs_top_srcdir=$ac_top_srcdir;;
46085 *)
46086 case $ac_top_srcdir in
46087 .) ac_abs_top_srcdir=$ac_abs_builddir;;
46088 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
46089 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
46090 esac;;
46091 esac
46092
46093
46094 case $INSTALL in
46095 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
46096 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
46097 esac
46098
46099 # Let's still pretend it is `configure' which instantiates (i.e., don't
46100 # use $as_me), people would be surprised to read:
46101 # /* config.h. Generated by config.status. */
46102 if test x"$ac_file" = x-; then
46103 configure_input=
46104 else
46105 configure_input="$ac_file. "
46106 fi
46107 configure_input=$configure_input"Generated from `echo $ac_file_in |
46108 sed 's,.*/,,'` by configure."
46109
46110 # First look for the input files in the build tree, otherwise in the
46111 # src tree.
46112 ac_file_inputs=`IFS=:
46113 for f in $ac_file_in; do
46114 case $f in
46115 -) echo $tmp/stdin ;;
46116 [\\/$]*)
46117 # Absolute (can't be DOS-style, as IFS=:)
46118 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46119 echo "$as_me: error: cannot find input file: $f" >&2;}
46120 { (exit 1); exit 1; }; }
46121 echo "$f";;
46122 *) # Relative
46123 if test -f "$f"; then
46124 # Build tree
46125 echo "$f"
46126 elif test -f "$srcdir/$f"; then
46127 # Source tree
46128 echo "$srcdir/$f"
46129 else
46130 # /dev/null tree
46131 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46132 echo "$as_me: error: cannot find input file: $f" >&2;}
46133 { (exit 1); exit 1; }; }
46134 fi;;
46135 esac
46136 done` || { (exit 1); exit 1; }
46137
46138 if test x"$ac_file" != x-; then
46139 { echo "$as_me:$LINENO: creating $ac_file" >&5
46140 echo "$as_me: creating $ac_file" >&6;}
46141 rm -f "$ac_file"
46142 fi
46143 _ACEOF
46144 cat >>$CONFIG_STATUS <<_ACEOF
46145 sed "$ac_vpsub
46146 $extrasub
46147 _ACEOF
46148 cat >>$CONFIG_STATUS <<\_ACEOF
46149 :t
46150 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
46151 s,@configure_input@,$configure_input,;t t
46152 s,@srcdir@,$ac_srcdir,;t t
46153 s,@abs_srcdir@,$ac_abs_srcdir,;t t
46154 s,@top_srcdir@,$ac_top_srcdir,;t t
46155 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
46156 s,@builddir@,$ac_builddir,;t t
46157 s,@abs_builddir@,$ac_abs_builddir,;t t
46158 s,@top_builddir@,$ac_top_builddir,;t t
46159 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
46160 s,@INSTALL@,$ac_INSTALL,;t t
46161 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
46162 rm -f $tmp/stdin
46163 if test x"$ac_file" != x-; then
46164 mv $tmp/out $ac_file
46165 else
46166 cat $tmp/out
46167 rm -f $tmp/out
46168 fi
46169
46170 # Run the commands associated with the file.
46171 case $ac_file in
46172 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
46173 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
46174 esac
46175 done
46176 _ACEOF
46177 cat >>$CONFIG_STATUS <<\_ACEOF
46178
46179 #
46180 # CONFIG_HEADER section.
46181 #
46182
46183 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
46184 # NAME is the cpp macro being defined and VALUE is the value it is being given.
46185 #
46186 # ac_d sets the value in "#define NAME VALUE" lines.
46187 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
46188 ac_dB='[ ].*$,\1#\2'
46189 ac_dC=' '
46190 ac_dD=',;t'
46191 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
46192 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
46193 ac_uB='$,\1#\2define\3'
46194 ac_uC=' '
46195 ac_uD=',;t'
46196
46197 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
46198 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
46199 case $ac_file in
46200 - | *:- | *:-:* ) # input from stdin
46201 cat >$tmp/stdin
46202 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
46203 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
46204 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
46205 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
46206 * ) ac_file_in=$ac_file.in ;;
46207 esac
46208
46209 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
46210 echo "$as_me: creating $ac_file" >&6;}
46211
46212 # First look for the input files in the build tree, otherwise in the
46213 # src tree.
46214 ac_file_inputs=`IFS=:
46215 for f in $ac_file_in; do
46216 case $f in
46217 -) echo $tmp/stdin ;;
46218 [\\/$]*)
46219 # Absolute (can't be DOS-style, as IFS=:)
46220 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46221 echo "$as_me: error: cannot find input file: $f" >&2;}
46222 { (exit 1); exit 1; }; }
46223 # Do quote $f, to prevent DOS paths from being IFS'd.
46224 echo "$f";;
46225 *) # Relative
46226 if test -f "$f"; then
46227 # Build tree
46228 echo "$f"
46229 elif test -f "$srcdir/$f"; then
46230 # Source tree
46231 echo "$srcdir/$f"
46232 else
46233 # /dev/null tree
46234 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46235 echo "$as_me: error: cannot find input file: $f" >&2;}
46236 { (exit 1); exit 1; }; }
46237 fi;;
46238 esac
46239 done` || { (exit 1); exit 1; }
46240 # Remove the trailing spaces.
46241 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
46242
46243 _ACEOF
46244
46245 # Transform confdefs.h into two sed scripts, `conftest.defines' and
46246 # `conftest.undefs', that substitutes the proper values into
46247 # config.h.in to produce config.h. The first handles `#define'
46248 # templates, and the second `#undef' templates.
46249 # And first: Protect against being on the right side of a sed subst in
46250 # config.status. Protect against being in an unquoted here document
46251 # in config.status.
46252 rm -f conftest.defines conftest.undefs
46253 # Using a here document instead of a string reduces the quoting nightmare.
46254 # Putting comments in sed scripts is not portable.
46255 #
46256 # `end' is used to avoid that the second main sed command (meant for
46257 # 0-ary CPP macros) applies to n-ary macro definitions.
46258 # See the Autoconf documentation for `clear'.
46259 cat >confdef2sed.sed <<\_ACEOF
46260 s/[\\&,]/\\&/g
46261 s,[\\$`],\\&,g
46262 t clear
46263 : clear
46264 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
46265 t end
46266 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
46267 : end
46268 _ACEOF
46269 # If some macros were called several times there might be several times
46270 # the same #defines, which is useless. Nevertheless, we may not want to
46271 # sort them, since we want the *last* AC-DEFINE to be honored.
46272 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
46273 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
46274 rm -f confdef2sed.sed
46275
46276 # This sed command replaces #undef with comments. This is necessary, for
46277 # example, in the case of _POSIX_SOURCE, which is predefined and required
46278 # on some systems where configure will not decide to define it.
46279 cat >>conftest.undefs <<\_ACEOF
46280 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
46281 _ACEOF
46282
46283 # Break up conftest.defines because some shells have a limit on the size
46284 # of here documents, and old seds have small limits too (100 cmds).
46285 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
46286 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
46287 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
46288 echo ' :' >>$CONFIG_STATUS
46289 rm -f conftest.tail
46290 while grep . conftest.defines >/dev/null
46291 do
46292 # Write a limited-size here document to $tmp/defines.sed.
46293 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
46294 # Speed up: don't consider the non `#define' lines.
46295 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
46296 # Work around the forget-to-reset-the-flag bug.
46297 echo 't clr' >>$CONFIG_STATUS
46298 echo ': clr' >>$CONFIG_STATUS
46299 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
46300 echo 'CEOF
46301 sed -f $tmp/defines.sed $tmp/in >$tmp/out
46302 rm -f $tmp/in
46303 mv $tmp/out $tmp/in
46304 ' >>$CONFIG_STATUS
46305 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
46306 rm -f conftest.defines
46307 mv conftest.tail conftest.defines
46308 done
46309 rm -f conftest.defines
46310 echo ' fi # grep' >>$CONFIG_STATUS
46311 echo >>$CONFIG_STATUS
46312
46313 # Break up conftest.undefs because some shells have a limit on the size
46314 # of here documents, and old seds have small limits too (100 cmds).
46315 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
46316 rm -f conftest.tail
46317 while grep . conftest.undefs >/dev/null
46318 do
46319 # Write a limited-size here document to $tmp/undefs.sed.
46320 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
46321 # Speed up: don't consider the non `#undef'
46322 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
46323 # Work around the forget-to-reset-the-flag bug.
46324 echo 't clr' >>$CONFIG_STATUS
46325 echo ': clr' >>$CONFIG_STATUS
46326 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
46327 echo 'CEOF
46328 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
46329 rm -f $tmp/in
46330 mv $tmp/out $tmp/in
46331 ' >>$CONFIG_STATUS
46332 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
46333 rm -f conftest.undefs
46334 mv conftest.tail conftest.undefs
46335 done
46336 rm -f conftest.undefs
46337
46338 cat >>$CONFIG_STATUS <<\_ACEOF
46339 # Let's still pretend it is `configure' which instantiates (i.e., don't
46340 # use $as_me), people would be surprised to read:
46341 # /* config.h. Generated by config.status. */
46342 if test x"$ac_file" = x-; then
46343 echo "/* Generated by configure. */" >$tmp/config.h
46344 else
46345 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
46346 fi
46347 cat $tmp/in >>$tmp/config.h
46348 rm -f $tmp/in
46349 if test x"$ac_file" != x-; then
46350 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
46351 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
46352 echo "$as_me: $ac_file is unchanged" >&6;}
46353 else
46354 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
46355 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46356 X"$ac_file" : 'X\(//\)[^/]' \| \
46357 X"$ac_file" : 'X\(//\)$' \| \
46358 X"$ac_file" : 'X\(/\)' \| \
46359 . : '\(.\)' 2>/dev/null ||
46360 echo X"$ac_file" |
46361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46362 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46363 /^X\(\/\/\)$/{ s//\1/; q; }
46364 /^X\(\/\).*/{ s//\1/; q; }
46365 s/.*/./; q'`
46366 { if $as_mkdir_p; then
46367 mkdir -p "$ac_dir"
46368 else
46369 as_dir="$ac_dir"
46370 as_dirs=
46371 while test ! -d "$as_dir"; do
46372 as_dirs="$as_dir $as_dirs"
46373 as_dir=`(dirname "$as_dir") 2>/dev/null ||
46374 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46375 X"$as_dir" : 'X\(//\)[^/]' \| \
46376 X"$as_dir" : 'X\(//\)$' \| \
46377 X"$as_dir" : 'X\(/\)' \| \
46378 . : '\(.\)' 2>/dev/null ||
46379 echo X"$as_dir" |
46380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46381 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46382 /^X\(\/\/\)$/{ s//\1/; q; }
46383 /^X\(\/\).*/{ s//\1/; q; }
46384 s/.*/./; q'`
46385 done
46386 test ! -n "$as_dirs" || mkdir $as_dirs
46387 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46388 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46389 { (exit 1); exit 1; }; }; }
46390
46391 rm -f $ac_file
46392 mv $tmp/config.h $ac_file
46393 fi
46394 else
46395 cat $tmp/config.h
46396 rm -f $tmp/config.h
46397 fi
46398 done
46399 _ACEOF
46400 cat >>$CONFIG_STATUS <<\_ACEOF
46401
46402 #
46403 # CONFIG_COMMANDS section.
46404 #
46405 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
46406 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
46407 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
46408 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
46409 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46410 X"$ac_dest" : 'X\(//\)[^/]' \| \
46411 X"$ac_dest" : 'X\(//\)$' \| \
46412 X"$ac_dest" : 'X\(/\)' \| \
46413 . : '\(.\)' 2>/dev/null ||
46414 echo X"$ac_dest" |
46415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46416 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46417 /^X\(\/\/\)$/{ s//\1/; q; }
46418 /^X\(\/\).*/{ s//\1/; q; }
46419 s/.*/./; q'`
46420 { if $as_mkdir_p; then
46421 mkdir -p "$ac_dir"
46422 else
46423 as_dir="$ac_dir"
46424 as_dirs=
46425 while test ! -d "$as_dir"; do
46426 as_dirs="$as_dir $as_dirs"
46427 as_dir=`(dirname "$as_dir") 2>/dev/null ||
46428 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46429 X"$as_dir" : 'X\(//\)[^/]' \| \
46430 X"$as_dir" : 'X\(//\)$' \| \
46431 X"$as_dir" : 'X\(/\)' \| \
46432 . : '\(.\)' 2>/dev/null ||
46433 echo X"$as_dir" |
46434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46435 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46436 /^X\(\/\/\)$/{ s//\1/; q; }
46437 /^X\(\/\).*/{ s//\1/; q; }
46438 s/.*/./; q'`
46439 done
46440 test ! -n "$as_dirs" || mkdir $as_dirs
46441 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46442 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46443 { (exit 1); exit 1; }; }; }
46444
46445 ac_builddir=.
46446
46447 if test "$ac_dir" != .; then
46448 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46449 # A "../" for each directory in $ac_dir_suffix.
46450 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46451 else
46452 ac_dir_suffix= ac_top_builddir=
46453 fi
46454
46455 case $srcdir in
46456 .) # No --srcdir option. We are building in place.
46457 ac_srcdir=.
46458 if test -z "$ac_top_builddir"; then
46459 ac_top_srcdir=.
46460 else
46461 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
46462 fi ;;
46463 [\\/]* | ?:[\\/]* ) # Absolute path.
46464 ac_srcdir=$srcdir$ac_dir_suffix;
46465 ac_top_srcdir=$srcdir ;;
46466 *) # Relative path.
46467 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
46468 ac_top_srcdir=$ac_top_builddir$srcdir ;;
46469 esac
46470
46471 # Do not use `cd foo && pwd` to compute absolute paths, because
46472 # the directories may not exist.
46473 case `pwd` in
46474 .) ac_abs_builddir="$ac_dir";;
46475 *)
46476 case "$ac_dir" in
46477 .) ac_abs_builddir=`pwd`;;
46478 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
46479 *) ac_abs_builddir=`pwd`/"$ac_dir";;
46480 esac;;
46481 esac
46482 case $ac_abs_builddir in
46483 .) ac_abs_top_builddir=${ac_top_builddir}.;;
46484 *)
46485 case ${ac_top_builddir}. in
46486 .) ac_abs_top_builddir=$ac_abs_builddir;;
46487 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
46488 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
46489 esac;;
46490 esac
46491 case $ac_abs_builddir in
46492 .) ac_abs_srcdir=$ac_srcdir;;
46493 *)
46494 case $ac_srcdir in
46495 .) ac_abs_srcdir=$ac_abs_builddir;;
46496 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
46497 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
46498 esac;;
46499 esac
46500 case $ac_abs_builddir in
46501 .) ac_abs_top_srcdir=$ac_top_srcdir;;
46502 *)
46503 case $ac_top_srcdir in
46504 .) ac_abs_top_srcdir=$ac_abs_builddir;;
46505 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
46506 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
46507 esac;;
46508 esac
46509
46510
46511 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
46512 echo "$as_me: executing $ac_dest commands" >&6;}
46513 case $ac_dest in
46514 wx-config ) rm -f wx-config
46515 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
46516 ;;
46517 esac
46518 done
46519 _ACEOF
46520
46521 cat >>$CONFIG_STATUS <<\_ACEOF
46522
46523 { (exit 0); exit 0; }
46524 _ACEOF
46525 chmod +x $CONFIG_STATUS
46526 ac_clean_files=$ac_clean_files_save
46527
46528
46529 # configure is writing to config.log, and then calls config.status.
46530 # config.status does its own redirection, appending to config.log.
46531 # Unfortunately, on DOS this fails, as config.log is still kept open
46532 # by configure, so config.status won't be able to write to it; its
46533 # output is simply discarded. So we exec the FD to /dev/null,
46534 # effectively closing config.log, so it can be properly (re)opened and
46535 # appended to by config.status. When coming back to configure, we
46536 # need to make the FD available again.
46537 if test "$no_create" != yes; then
46538 ac_cs_success=:
46539 ac_config_status_args=
46540 test "$silent" = yes &&
46541 ac_config_status_args="$ac_config_status_args --quiet"
46542 exec 5>/dev/null
46543 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
46544 exec 5>>config.log
46545 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
46546 # would make configure fail if this is the last instruction.
46547 $ac_cs_success || { (exit 1); exit 1; }
46548 fi
46549
46550 #
46551 # CONFIG_SUBDIRS section.
46552 #
46553 if test "$no_recursion" != yes; then
46554
46555 # Remove --cache-file and --srcdir arguments so they do not pile up.
46556 ac_sub_configure_args=
46557 ac_prev=
46558 for ac_arg in $ac_configure_args; do
46559 if test -n "$ac_prev"; then
46560 ac_prev=
46561 continue
46562 fi
46563 case $ac_arg in
46564 -cache-file | --cache-file | --cache-fil | --cache-fi \
46565 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
46566 ac_prev=cache_file ;;
46567 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
46568 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
46569 | --c=*)
46570 ;;
46571 --config-cache | -C)
46572 ;;
46573 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
46574 ac_prev=srcdir ;;
46575 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
46576 ;;
46577 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
46578 ac_prev=prefix ;;
46579 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
46580 ;;
46581 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
46582 esac
46583 done
46584
46585 # Always prepend --prefix to ensure using the same prefix
46586 # in subdir configurations.
46587 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
46588
46589 ac_popdir=`pwd`
46590 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
46591
46592 # Do not complain, so a configure script can configure whichever
46593 # parts of a large source tree are present.
46594 test -d $srcdir/$ac_dir || continue
46595
46596 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
46597 echo "$as_me: configuring in $ac_dir" >&6;}
46598 { if $as_mkdir_p; then
46599 mkdir -p "$ac_dir"
46600 else
46601 as_dir="$ac_dir"
46602 as_dirs=
46603 while test ! -d "$as_dir"; do
46604 as_dirs="$as_dir $as_dirs"
46605 as_dir=`(dirname "$as_dir") 2>/dev/null ||
46606 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46607 X"$as_dir" : 'X\(//\)[^/]' \| \
46608 X"$as_dir" : 'X\(//\)$' \| \
46609 X"$as_dir" : 'X\(/\)' \| \
46610 . : '\(.\)' 2>/dev/null ||
46611 echo X"$as_dir" |
46612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46613 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46614 /^X\(\/\/\)$/{ s//\1/; q; }
46615 /^X\(\/\).*/{ s//\1/; q; }
46616 s/.*/./; q'`
46617 done
46618 test ! -n "$as_dirs" || mkdir $as_dirs
46619 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46620 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46621 { (exit 1); exit 1; }; }; }
46622
46623 ac_builddir=.
46624
46625 if test "$ac_dir" != .; then
46626 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46627 # A "../" for each directory in $ac_dir_suffix.
46628 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46629 else
46630 ac_dir_suffix= ac_top_builddir=
46631 fi
46632
46633 case $srcdir in
46634 .) # No --srcdir option. We are building in place.
46635 ac_srcdir=.
46636 if test -z "$ac_top_builddir"; then
46637 ac_top_srcdir=.
46638 else
46639 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
46640 fi ;;
46641 [\\/]* | ?:[\\/]* ) # Absolute path.
46642 ac_srcdir=$srcdir$ac_dir_suffix;
46643 ac_top_srcdir=$srcdir ;;
46644 *) # Relative path.
46645 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
46646 ac_top_srcdir=$ac_top_builddir$srcdir ;;
46647 esac
46648
46649 # Do not use `cd foo && pwd` to compute absolute paths, because
46650 # the directories may not exist.
46651 case `pwd` in
46652 .) ac_abs_builddir="$ac_dir";;
46653 *)
46654 case "$ac_dir" in
46655 .) ac_abs_builddir=`pwd`;;
46656 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
46657 *) ac_abs_builddir=`pwd`/"$ac_dir";;
46658 esac;;
46659 esac
46660 case $ac_abs_builddir in
46661 .) ac_abs_top_builddir=${ac_top_builddir}.;;
46662 *)
46663 case ${ac_top_builddir}. in
46664 .) ac_abs_top_builddir=$ac_abs_builddir;;
46665 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
46666 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
46667 esac;;
46668 esac
46669 case $ac_abs_builddir in
46670 .) ac_abs_srcdir=$ac_srcdir;;
46671 *)
46672 case $ac_srcdir in
46673 .) ac_abs_srcdir=$ac_abs_builddir;;
46674 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
46675 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
46676 esac;;
46677 esac
46678 case $ac_abs_builddir in
46679 .) ac_abs_top_srcdir=$ac_top_srcdir;;
46680 *)
46681 case $ac_top_srcdir in
46682 .) ac_abs_top_srcdir=$ac_abs_builddir;;
46683 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
46684 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
46685 esac;;
46686 esac
46687
46688
46689 cd $ac_dir
46690
46691 # Check for guested configure; otherwise get Cygnus style configure.
46692 if test -f $ac_srcdir/configure.gnu; then
46693 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
46694 elif test -f $ac_srcdir/configure; then
46695 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
46696 elif test -f $ac_srcdir/configure.in; then
46697 ac_sub_configure=$ac_configure
46698 else
46699 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
46700 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
46701 ac_sub_configure=
46702 fi
46703
46704 # The recursion is here.
46705 if test -n "$ac_sub_configure"; then
46706 # Make the cache file name correct relative to the subdirectory.
46707 case $cache_file in
46708 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
46709 *) # Relative path.
46710 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
46711 esac
46712
46713 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
46714 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
46715 # The eval makes quoting arguments work.
46716 eval $ac_sub_configure $ac_sub_configure_args \
46717 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
46718 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
46719 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
46720 { (exit 1); exit 1; }; }
46721 fi
46722
46723 cd "$ac_popdir"
46724 done
46725 fi
46726
46727
46728 echo
46729 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
46730 echo ""
46731 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
46732 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
46733
46734 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
46735 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
46736 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
46737
46738 echo " What level of wxWidgets compatibility should be enabled?"
46739 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
46740 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
46741
46742 echo " Which libraries should wxWidgets use?"
46743 echo " jpeg ${wxUSE_LIBJPEG-none}"
46744 echo " png ${wxUSE_LIBPNG-none}"
46745 echo " regex ${wxUSE_REGEX}"
46746 echo " tiff ${wxUSE_LIBTIFF-none}"
46747 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
46748 echo " xpm ${wxUSE_LIBXPM-none}"
46749 fi
46750 echo " zlib ${wxUSE_ZLIB}"
46751 echo " odbc ${wxUSE_ODBC}"
46752 echo " expat ${wxUSE_EXPAT}"
46753 echo " libmspack ${wxUSE_LIBMSPACK}"
46754 echo " sdl ${wxUSE_LIBSDL}"
46755 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
46756
46757 echo ""
46758