]> git.saurik.com Git - wxWidgets.git/blob - configure
Let Cygwin be a Windows build for wxMSW and a unix build otherwise
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.6.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.6.1'
274 PACKAGE_STRING='wxWidgets 2.6.1'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS 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.1 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.6.1:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --disable-rpath disable use of rpath for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class for getting backtraces
908 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class for DLL loading
914 --enable-dynamicloader use (new) wxDynamicLibrary class
915 --enable-exceptions build exception-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C++ stream classes
929 --enable-std_string use standard C++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support in wxProtocol
945 --enable-protocol-ftp FTP support in wxProtocol
946 --enable-protocol-file FILE support in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use help subsystem
950 --enable-mshtmlhelp use MS HTML Help (win32)
951 --enable-html use wxHTML sub-library
952 --enable-htmlhelp use wxHTML-based help
953 --enable-xrc use XRC resources sub-library
954 --enable-constraints use layout-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl (Mac)
962 --enable-postscript use wxPostscriptDC device context (default for gtk+)
963 --enable-prologio not available; see contrib
964 --enable-resources not available; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile (Windows only)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-palette use wxPalette class
1036 --enable-image use wxImage class
1037 --enable-gif use gif images (GIF file format)
1038 --enable-pcx use pcx images (PCX file format)
1039 --enable-iff use iff images (IFF file format)
1040 --enable-pnm use pnm images (PNM file format)
1041 --enable-xpm use xpm images (XPM file format)
1042 --enable-icocur use Windows ICO and CUR formats
1043 --enable-official_build official build of wxWidgets (win32 DLL only)
1044 --enable-vendor=VENDOR vendor name (win32 DLL only)
1045 --disable-largefile omit support for large files
1046 --disable-gtktest do not try to compile and run a test GTK+ program
1047 --disable-gtktest Do not try to compile and run a test GTK program
1048 --disable-sdltest Do not try to compile and run a test SDL program
1049 --enable-omf use OMF object format (OS/2)
1050 --disable-precomp-headers
1051 don't use precompiled headers even if compiler can
1052
1053 Optional Packages:
1054 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1055 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1056 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1057 --with-motif use Motif/Lesstif
1058 --with-mac use Mac OS X
1059 --with-cocoa use Cocoa
1060 --with-wine use Wine
1061 --with-msw use MS-Windows
1062 --with-pm use OS/2 Presentation Manager
1063 --with-mgl use SciTech MGL
1064 --with-microwin use MicroWindows
1065 --with-x11 use X11
1066 --with-libpng use libpng (PNG image format)
1067 --with-libjpeg use libjpeg (JPEG file format)
1068 --with-libtiff use libtiff (TIFF file format)
1069 --with-libxpm use libxpm (XPM file format)
1070 --with-libmspack use libmspack (CHM help files loading)
1071 --with-sdl use SDL for audio on Unix
1072 --with-gnomeprint use GNOME print for printing under Unix
1073 --with-opengl use OpenGL (or Mesa)
1074 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1075 --with-regex enable support for wxRegEx class
1076 --with-zlib use zlib for LZW compression
1077 --with-odbc use the IODBC and wxODBC classes
1078 --with-expat enable XML support using expat parser
1079 --with-flavour=NAME specify a name to identify this build
1080 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1081 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1082 --with-x use the X Window System
1083 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1084 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1085 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1086 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1087 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1088
1089 Some influential environment variables:
1090 CC C compiler command
1091 CFLAGS C compiler flags
1092 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1093 nonstandard directory <lib dir>
1094 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1095 headers in a nonstandard directory <include dir>
1096 CPP C preprocessor
1097 CXX C++ compiler command
1098 CXXFLAGS C++ compiler flags
1099 CXXCPP C++ preprocessor
1100
1101 Use these variables to override the choices made by `configure' or to help
1102 it to find libraries and programs with nonstandard names/locations.
1103
1104 Report bugs to <wx-dev@lists.wxwidgets.org>.
1105 _ACEOF
1106 fi
1107
1108 if test "$ac_init_help" = "recursive"; then
1109 # If there are subdirs, report their specific --help.
1110 ac_popdir=`pwd`
1111 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1112 test -d $ac_dir || continue
1113 ac_builddir=.
1114
1115 if test "$ac_dir" != .; then
1116 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1117 # A "../" for each directory in $ac_dir_suffix.
1118 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1119 else
1120 ac_dir_suffix= ac_top_builddir=
1121 fi
1122
1123 case $srcdir in
1124 .) # No --srcdir option. We are building in place.
1125 ac_srcdir=.
1126 if test -z "$ac_top_builddir"; then
1127 ac_top_srcdir=.
1128 else
1129 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1130 fi ;;
1131 [\\/]* | ?:[\\/]* ) # Absolute path.
1132 ac_srcdir=$srcdir$ac_dir_suffix;
1133 ac_top_srcdir=$srcdir ;;
1134 *) # Relative path.
1135 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1136 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1137 esac
1138
1139 # Do not use `cd foo && pwd` to compute absolute paths, because
1140 # the directories may not exist.
1141 case `pwd` in
1142 .) ac_abs_builddir="$ac_dir";;
1143 *)
1144 case "$ac_dir" in
1145 .) ac_abs_builddir=`pwd`;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1147 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1148 esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1152 *)
1153 case ${ac_top_builddir}. in
1154 .) ac_abs_top_builddir=$ac_abs_builddir;;
1155 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1156 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1157 esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_srcdir=$ac_srcdir;;
1161 *)
1162 case $ac_srcdir in
1163 .) ac_abs_srcdir=$ac_abs_builddir;;
1164 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1165 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1166 esac;;
1167 esac
1168 case $ac_abs_builddir in
1169 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1170 *)
1171 case $ac_top_srcdir in
1172 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1173 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1174 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1175 esac;;
1176 esac
1177
1178 cd $ac_dir
1179 # Check for guested configure; otherwise get Cygnus style configure.
1180 if test -f $ac_srcdir/configure.gnu; then
1181 echo
1182 $SHELL $ac_srcdir/configure.gnu --help=recursive
1183 elif test -f $ac_srcdir/configure; then
1184 echo
1185 $SHELL $ac_srcdir/configure --help=recursive
1186 elif test -f $ac_srcdir/configure.ac ||
1187 test -f $ac_srcdir/configure.in; then
1188 echo
1189 $ac_configure --help
1190 else
1191 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1192 fi
1193 cd $ac_popdir
1194 done
1195 fi
1196
1197 test -n "$ac_init_help" && exit 0
1198 if $ac_init_version; then
1199 cat <<\_ACEOF
1200 wxWidgets configure 2.6.1
1201 generated by GNU Autoconf 2.59
1202
1203 Copyright (C) 2003 Free Software Foundation, Inc.
1204 This configure script is free software; the Free Software Foundation
1205 gives unlimited permission to copy, distribute and modify it.
1206 _ACEOF
1207 exit 0
1208 fi
1209 exec 5>config.log
1210 cat >&5 <<_ACEOF
1211 This file contains any messages produced by compilers while
1212 running configure, to aid debugging if configure makes a mistake.
1213
1214 It was created by wxWidgets $as_me 2.6.1, which was
1215 generated by GNU Autoconf 2.59. Invocation command line was
1216
1217 $ $0 $@
1218
1219 _ACEOF
1220 {
1221 cat <<_ASUNAME
1222 ## --------- ##
1223 ## Platform. ##
1224 ## --------- ##
1225
1226 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1227 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1228 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1229 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1230 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1231
1232 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1233 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1234
1235 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1236 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1237 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1238 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1239 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1240 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1241 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1242
1243 _ASUNAME
1244
1245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1246 for as_dir in $PATH
1247 do
1248 IFS=$as_save_IFS
1249 test -z "$as_dir" && as_dir=.
1250 echo "PATH: $as_dir"
1251 done
1252
1253 } >&5
1254
1255 cat >&5 <<_ACEOF
1256
1257
1258 ## ----------- ##
1259 ## Core tests. ##
1260 ## ----------- ##
1261
1262 _ACEOF
1263
1264
1265 # Keep a trace of the command line.
1266 # Strip out --no-create and --no-recursion so they do not pile up.
1267 # Strip out --silent because we don't want to record it for future runs.
1268 # Also quote any args containing shell meta-characters.
1269 # Make two passes to allow for proper duplicate-argument suppression.
1270 ac_configure_args=
1271 ac_configure_args0=
1272 ac_configure_args1=
1273 ac_sep=
1274 ac_must_keep_next=false
1275 for ac_pass in 1 2
1276 do
1277 for ac_arg
1278 do
1279 case $ac_arg in
1280 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1281 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1282 | -silent | --silent | --silen | --sile | --sil)
1283 continue ;;
1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1285 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1286 esac
1287 case $ac_pass in
1288 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1289 2)
1290 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1291 if test $ac_must_keep_next = true; then
1292 ac_must_keep_next=false # Got value, back to normal.
1293 else
1294 case $ac_arg in
1295 *=* | --config-cache | -C | -disable-* | --disable-* \
1296 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1297 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1298 | -with-* | --with-* | -without-* | --without-* | --x)
1299 case "$ac_configure_args0 " in
1300 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1301 esac
1302 ;;
1303 -* ) ac_must_keep_next=true ;;
1304 esac
1305 fi
1306 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1307 # Get rid of the leading space.
1308 ac_sep=" "
1309 ;;
1310 esac
1311 done
1312 done
1313 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1314 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1315
1316 # When interrupted or exit'd, cleanup temporary files, and complete
1317 # config.log. We remove comments because anyway the quotes in there
1318 # would cause problems or look ugly.
1319 # WARNING: Be sure not to use single quotes in there, as some shells,
1320 # such as our DU 5.0 friend, will then `close' the trap.
1321 trap 'exit_status=$?
1322 # Save into config.log some information that might help in debugging.
1323 {
1324 echo
1325
1326 cat <<\_ASBOX
1327 ## ---------------- ##
1328 ## Cache variables. ##
1329 ## ---------------- ##
1330 _ASBOX
1331 echo
1332 # The following way of writing the cache mishandles newlines in values,
1333 {
1334 (set) 2>&1 |
1335 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1336 *ac_space=\ *)
1337 sed -n \
1338 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1340 ;;
1341 *)
1342 sed -n \
1343 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1344 ;;
1345 esac;
1346 }
1347 echo
1348
1349 cat <<\_ASBOX
1350 ## ----------------- ##
1351 ## Output variables. ##
1352 ## ----------------- ##
1353 _ASBOX
1354 echo
1355 for ac_var in $ac_subst_vars
1356 do
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1359 done | sort
1360 echo
1361
1362 if test -n "$ac_subst_files"; then
1363 cat <<\_ASBOX
1364 ## ------------- ##
1365 ## Output files. ##
1366 ## ------------- ##
1367 _ASBOX
1368 echo
1369 for ac_var in $ac_subst_files
1370 do
1371 eval ac_val=$`echo $ac_var`
1372 echo "$ac_var='"'"'$ac_val'"'"'"
1373 done | sort
1374 echo
1375 fi
1376
1377 if test -s confdefs.h; then
1378 cat <<\_ASBOX
1379 ## ----------- ##
1380 ## confdefs.h. ##
1381 ## ----------- ##
1382 _ASBOX
1383 echo
1384 sed "/^$/d" confdefs.h | sort
1385 echo
1386 fi
1387 test "$ac_signal" != 0 &&
1388 echo "$as_me: caught signal $ac_signal"
1389 echo "$as_me: exit $exit_status"
1390 } >&5
1391 rm -f core *.core &&
1392 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1393 exit $exit_status
1394 ' 0
1395 for ac_signal in 1 2 13 15; do
1396 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1397 done
1398 ac_signal=0
1399
1400 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1401 rm -rf conftest* confdefs.h
1402 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1403 echo >confdefs.h
1404
1405 # Predefined preprocessor variables.
1406
1407 cat >>confdefs.h <<_ACEOF
1408 #define PACKAGE_NAME "$PACKAGE_NAME"
1409 _ACEOF
1410
1411
1412 cat >>confdefs.h <<_ACEOF
1413 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1414 _ACEOF
1415
1416
1417 cat >>confdefs.h <<_ACEOF
1418 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1419 _ACEOF
1420
1421
1422 cat >>confdefs.h <<_ACEOF
1423 #define PACKAGE_STRING "$PACKAGE_STRING"
1424 _ACEOF
1425
1426
1427 cat >>confdefs.h <<_ACEOF
1428 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1429 _ACEOF
1430
1431
1432 # Let the site file select an alternate cache file if it wants to.
1433 # Prefer explicitly selected file to automatically selected ones.
1434 if test -z "$CONFIG_SITE"; then
1435 if test "x$prefix" != xNONE; then
1436 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1437 else
1438 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1439 fi
1440 fi
1441 for ac_site_file in $CONFIG_SITE; do
1442 if test -r "$ac_site_file"; then
1443 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1444 echo "$as_me: loading site script $ac_site_file" >&6;}
1445 sed 's/^/| /' "$ac_site_file" >&5
1446 . "$ac_site_file"
1447 fi
1448 done
1449
1450 if test -r "$cache_file"; then
1451 # Some versions of bash will fail to source /dev/null (special
1452 # files actually), so we avoid doing that.
1453 if test -f "$cache_file"; then
1454 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1455 echo "$as_me: loading cache $cache_file" >&6;}
1456 case $cache_file in
1457 [\\/]* | ?:[\\/]* ) . $cache_file;;
1458 *) . ./$cache_file;;
1459 esac
1460 fi
1461 else
1462 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1463 echo "$as_me: creating cache $cache_file" >&6;}
1464 >$cache_file
1465 fi
1466
1467 # Check that the precious variables saved in the cache have kept the same
1468 # value.
1469 ac_cache_corrupted=false
1470 for ac_var in `(set) 2>&1 |
1471 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1472 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1473 eval ac_new_set=\$ac_env_${ac_var}_set
1474 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1475 eval ac_new_val="\$ac_env_${ac_var}_value"
1476 case $ac_old_set,$ac_new_set in
1477 set,)
1478 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1479 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1480 ac_cache_corrupted=: ;;
1481 ,set)
1482 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1483 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1484 ac_cache_corrupted=: ;;
1485 ,);;
1486 *)
1487 if test "x$ac_old_val" != "x$ac_new_val"; then
1488 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1489 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1490 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1491 echo "$as_me: former value: $ac_old_val" >&2;}
1492 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1493 echo "$as_me: current value: $ac_new_val" >&2;}
1494 ac_cache_corrupted=:
1495 fi;;
1496 esac
1497 # Pass precious variables to config.status.
1498 if test "$ac_new_set" = set; then
1499 case $ac_new_val in
1500 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1501 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1502 *) ac_arg=$ac_var=$ac_new_val ;;
1503 esac
1504 case " $ac_configure_args " in
1505 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1506 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1507 esac
1508 fi
1509 done
1510 if $ac_cache_corrupted; then
1511 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1512 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1513 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1514 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1515 { (exit 1); exit 1; }; }
1516 fi
1517
1518 ac_ext=c
1519 ac_cpp='$CPP $CPPFLAGS'
1520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553 ac_aux_dir=
1554 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1555 if test -f $ac_dir/install-sh; then
1556 ac_aux_dir=$ac_dir
1557 ac_install_sh="$ac_aux_dir/install-sh -c"
1558 break
1559 elif test -f $ac_dir/install.sh; then
1560 ac_aux_dir=$ac_dir
1561 ac_install_sh="$ac_aux_dir/install.sh -c"
1562 break
1563 elif test -f $ac_dir/shtool; then
1564 ac_aux_dir=$ac_dir
1565 ac_install_sh="$ac_aux_dir/shtool install -c"
1566 break
1567 fi
1568 done
1569 if test -z "$ac_aux_dir"; then
1570 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1571 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1572 { (exit 1); exit 1; }; }
1573 fi
1574 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1575 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1576 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1577
1578 # Make sure we can run config.sub.
1579 $ac_config_sub sun4 >/dev/null 2>&1 ||
1580 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1581 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1582 { (exit 1); exit 1; }; }
1583
1584 echo "$as_me:$LINENO: checking build system type" >&5
1585 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1586 if test "${ac_cv_build+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1588 else
1589 ac_cv_build_alias=$build_alias
1590 test -z "$ac_cv_build_alias" &&
1591 ac_cv_build_alias=`$ac_config_guess`
1592 test -z "$ac_cv_build_alias" &&
1593 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1594 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1595 { (exit 1); exit 1; }; }
1596 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1597 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1598 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1599 { (exit 1); exit 1; }; }
1600
1601 fi
1602 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1603 echo "${ECHO_T}$ac_cv_build" >&6
1604 build=$ac_cv_build
1605 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1606 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1607 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1608
1609
1610 echo "$as_me:$LINENO: checking host system type" >&5
1611 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1612 if test "${ac_cv_host+set}" = set; then
1613 echo $ECHO_N "(cached) $ECHO_C" >&6
1614 else
1615 ac_cv_host_alias=$host_alias
1616 test -z "$ac_cv_host_alias" &&
1617 ac_cv_host_alias=$ac_cv_build_alias
1618 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1619 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1620 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1621 { (exit 1); exit 1; }; }
1622
1623 fi
1624 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1625 echo "${ECHO_T}$ac_cv_host" >&6
1626 host=$ac_cv_host
1627 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1628 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1629 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1630
1631
1632 echo "$as_me:$LINENO: checking target system type" >&5
1633 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1634 if test "${ac_cv_target+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1636 else
1637 ac_cv_target_alias=$target_alias
1638 test "x$ac_cv_target_alias" = "x" &&
1639 ac_cv_target_alias=$ac_cv_host_alias
1640 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1641 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1642 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1643 { (exit 1); exit 1; }; }
1644
1645 fi
1646 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1647 echo "${ECHO_T}$ac_cv_target" >&6
1648 target=$ac_cv_target
1649 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1650 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1651 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1652
1653
1654 # The aliases save the names the user supplied, while $host etc.
1655 # will get canonicalized.
1656 test -n "$target_alias" &&
1657 test "$program_prefix$program_suffix$program_transform_name" = \
1658 NONENONEs,x,x, &&
1659 program_prefix=${target_alias}-
1660
1661
1662
1663 wx_major_version_number=2
1664 wx_minor_version_number=6
1665 wx_release_number=1
1666 wx_subrelease_number=1
1667
1668 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1669 WX_VERSION=$WX_RELEASE.$wx_release_number
1670 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1671
1672 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1673
1674 WX_CURRENT=0
1675 WX_REVISION=1
1676 WX_AGE=0
1677
1678
1679
1680 USE_UNIX=1
1681 USE_OS2=0
1682 USE_WIN32=0
1683 USE_DOS=0
1684 USE_BEOS=0
1685 USE_MAC=0
1686
1687 USE_AIX=
1688 USE_BSD= USE_DARWIN= USE_FREEBSD=
1689 USE_GNU= USE_HPUX=
1690 USE_LINUX=
1691 USE_NETBSD=
1692 USE_OPENBSD=
1693 USE_OSF= USE_SGI=
1694 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1695 USE_ULTRIX=
1696 USE_UNIXWARE=
1697
1698 USE_ALPHA=
1699
1700 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1701
1702 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1703
1704 DEFAULT_wxUSE_COCOA=0
1705 DEFAULT_wxUSE_GTK=0
1706 DEFAULT_wxUSE_MAC=0
1707 DEFAULT_wxUSE_MGL=0
1708 DEFAULT_wxUSE_MICROWIN=0
1709 DEFAULT_wxUSE_MOTIF=0
1710 DEFAULT_wxUSE_MSW=0
1711 DEFAULT_wxUSE_PM=0
1712 DEFAULT_wxUSE_X11=0
1713
1714 DEFAULT_DEFAULT_wxUSE_COCOA=0
1715 DEFAULT_DEFAULT_wxUSE_GTK=0
1716 DEFAULT_DEFAULT_wxUSE_MAC=0
1717 DEFAULT_DEFAULT_wxUSE_MGL=0
1718 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1719 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1720 DEFAULT_DEFAULT_wxUSE_MSW=0
1721 DEFAULT_DEFAULT_wxUSE_PM=0
1722 DEFAULT_DEFAULT_wxUSE_X11=0
1723
1724 PROGRAM_EXT=
1725 SO_SUFFIX=so
1726 SAMPLES_RPATH_FLAG=
1727 SAMPLES_RPATH_POSTLINK=
1728
1729 DEFAULT_STD_FLAG=yes
1730
1731 case "${host}" in
1732 *-hp-hpux* )
1733 USE_HPUX=1
1734 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1735 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1736 SO_SUFFIX=sl
1737 cat >>confdefs.h <<\_ACEOF
1738 #define __HPUX__ 1
1739 _ACEOF
1740
1741 ;;
1742 *-*-linux* )
1743 USE_LINUX=1
1744 cat >>confdefs.h <<\_ACEOF
1745 #define __LINUX__ 1
1746 _ACEOF
1747
1748 TMP=`uname -m`
1749 if test "x$TMP" = "xalpha"; then
1750 USE_ALPHA=1
1751 cat >>confdefs.h <<\_ACEOF
1752 #define __ALPHA__ 1
1753 _ACEOF
1754
1755 fi
1756 DEFAULT_DEFAULT_wxUSE_GTK=1
1757 ;;
1758 *-*-gnu* | *-*-k*bsd*-gnu )
1759 USE_GNU=1
1760 TMP=`uname -m`
1761 if test "x$TMP" = "xalpha"; then
1762 USE_ALPHA=1
1763 cat >>confdefs.h <<\_ACEOF
1764 #define __ALPHA__ 1
1765 _ACEOF
1766
1767 fi
1768 DEFAULT_DEFAULT_wxUSE_GTK=1
1769 ;;
1770 *-*-irix5* | *-*-irix6* )
1771 USE_SGI=1
1772 USE_SVR4=1
1773 cat >>confdefs.h <<\_ACEOF
1774 #define __SGI__ 1
1775 _ACEOF
1776
1777 cat >>confdefs.h <<\_ACEOF
1778 #define __SVR4__ 1
1779 _ACEOF
1780
1781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1782 ;;
1783 *-*-solaris2* )
1784 USE_SUN=1
1785 USE_SOLARIS=1
1786 USE_SVR4=1
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __SUN__ 1
1789 _ACEOF
1790
1791 cat >>confdefs.h <<\_ACEOF
1792 #define __SOLARIS__ 1
1793 _ACEOF
1794
1795 cat >>confdefs.h <<\_ACEOF
1796 #define __SVR4__ 1
1797 _ACEOF
1798
1799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1800 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1801 ;;
1802 *-*-sunos4* )
1803 USE_SUN=1
1804 USE_SUNOS=1
1805 USE_BSD=1
1806 cat >>confdefs.h <<\_ACEOF
1807 #define __SUN__ 1
1808 _ACEOF
1809
1810 cat >>confdefs.h <<\_ACEOF
1811 #define __SUNOS__ 1
1812 _ACEOF
1813
1814 cat >>confdefs.h <<\_ACEOF
1815 #define __BSD__ 1
1816 _ACEOF
1817
1818 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1819 ;;
1820 *-*-freebsd*)
1821 USE_BSD=1
1822 USE_FREEBSD=1
1823 cat >>confdefs.h <<\_ACEOF
1824 #define __FREEBSD__ 1
1825 _ACEOF
1826
1827 cat >>confdefs.h <<\_ACEOF
1828 #define __BSD__ 1
1829 _ACEOF
1830
1831 DEFAULT_DEFAULT_wxUSE_GTK=1
1832 ;;
1833 *-*-openbsd*)
1834 USE_BSD=1
1835 USE_OPENBSD=1
1836 cat >>confdefs.h <<\_ACEOF
1837 #define __OPENBSD__ 1
1838 _ACEOF
1839
1840 cat >>confdefs.h <<\_ACEOF
1841 #define __BSD__ 1
1842 _ACEOF
1843
1844 DEFAULT_DEFAULT_wxUSE_GTK=1
1845 ;;
1846 *-*-netbsd*)
1847 USE_BSD=1
1848 USE_NETBSD=1
1849 cat >>confdefs.h <<\_ACEOF
1850 #define __NETBSD__ 1
1851 _ACEOF
1852
1853 cat >>confdefs.h <<\_ACEOF
1854 #define __BSD__ 1
1855 _ACEOF
1856
1857 DEFAULT_DEFAULT_wxUSE_GTK=1
1858 ;;
1859 *-*-osf* )
1860 USE_ALPHA=1
1861 USE_OSF=1
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __ALPHA__ 1
1864 _ACEOF
1865
1866 cat >>confdefs.h <<\_ACEOF
1867 #define __OSF__ 1
1868 _ACEOF
1869
1870 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1871 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1872 ;;
1873 *-*-dgux5* )
1874 USE_ALPHA=1
1875 USE_SVR4=1
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __ALPHA__ 1
1878 _ACEOF
1879
1880 cat >>confdefs.h <<\_ACEOF
1881 #define __SVR4__ 1
1882 _ACEOF
1883
1884 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1885 ;;
1886 *-*-sysv5* )
1887 USE_SYSV=1
1888 USE_SVR4=1
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __SYSV__ 1
1891 _ACEOF
1892
1893 cat >>confdefs.h <<\_ACEOF
1894 #define __SVR4__ 1
1895 _ACEOF
1896
1897 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1898 ;;
1899 *-*-aix* )
1900 USE_AIX=1
1901 USE_SYSV=1
1902 USE_SVR4=1
1903 SO_SUFFIX=a
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __AIX__ 1
1906 _ACEOF
1907
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __SYSV__ 1
1910 _ACEOF
1911
1912 cat >>confdefs.h <<\_ACEOF
1913 #define __SVR4__ 1
1914 _ACEOF
1915
1916 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1917 ;;
1918
1919 *-*-*UnixWare*)
1920 USE_SYSV=1
1921 USE_SVR4=1
1922 USE_UNIXWARE=1
1923 cat >>confdefs.h <<\_ACEOF
1924 #define __UNIXWARE__ 1
1925 _ACEOF
1926
1927 ;;
1928
1929 *-*-cygwin* | *-*-mingw32* )
1930 SO_SUFFIX=dll
1931 PROGRAM_EXT=".exe"
1932 RESCOMP=windres
1933 DEFAULT_DEFAULT_wxUSE_MSW=1
1934 DEFAULT_STD_FLAG=no
1935 ;;
1936
1937 *-pc-msdosdjgpp )
1938 USE_UNIX=0
1939 USE_DOS=1
1940 cat >>confdefs.h <<\_ACEOF
1941 #define __DOS__ 1
1942 _ACEOF
1943
1944 PROGRAM_EXT=".exe"
1945 DEFAULT_DEFAULT_wxUSE_MGL=1
1946 ;;
1947
1948 *-pc-os2_emx | *-pc-os2-emx )
1949 cat >>confdefs.h <<\_ACEOF
1950 #define __EMX__ 1
1951 _ACEOF
1952
1953 USE_OS2=1
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __OS2__ 1
1956 _ACEOF
1957
1958 PROGRAM_EXT=".exe"
1959 DEFAULT_DEFAULT_wxUSE_PM=1
1960 CXX=gcc
1961 LDFLAGS="$LDFLAGS -Zcrtdll"
1962 ac_executable_extensions=".exe"
1963 export ac_executable_extensions
1964 ac_save_IFS="$IFS"
1965 IFS='\\'
1966 ac_TEMP_PATH=
1967 for ac_dir in $PATH; do
1968 IFS=$ac_save_IFS
1969 if test -z "$ac_TEMP_PATH"; then
1970 ac_TEMP_PATH="$ac_dir"
1971 else
1972 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1973 fi
1974 done
1975 export PATH="$ac_TEMP_PATH"
1976 unset ac_TEMP_PATH
1977 DEFAULT_STD_FLAG=no
1978 ;;
1979
1980 powerpc-*-darwin* )
1981 USE_BSD=1
1982 USE_DARWIN=1
1983 SO_SUFFIX=dylib
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __BSD__ 1
1986 _ACEOF
1987
1988 cat >>confdefs.h <<\_ACEOF
1989 #define __DARWIN__ 1
1990 _ACEOF
1991
1992 cat >>confdefs.h <<\_ACEOF
1993 #define TARGET_CARBON 1
1994 _ACEOF
1995
1996 DEFAULT_DEFAULT_wxUSE_MAC=1
1997 DEFAULT_STD_FLAG=no
1998 ;;
1999 powerpc-apple-macos* )
2000 USE_UNIX=0
2001 ac_cv_c_bigendian=yes
2002 SO_SUFFIX=shlib
2003 DEFAULT_DEFAULT_wxUSE_MAC=1
2004 DEFAULT_STD_FLAG=no
2005 ;;
2006
2007 *-*-beos* )
2008 USE_BEOS=1
2009 cat >>confdefs.h <<\_ACEOF
2010 #define __BEOS__ 1
2011 _ACEOF
2012
2013 ;;
2014
2015 *)
2016 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2017 echo "$as_me: error: unknown system type ${host}." >&2;}
2018 { (exit 1); exit 1; }; }
2019 esac
2020
2021
2022
2023
2024 wx_arg_cache_file="configarg.cache"
2025 echo "loading argument cache $wx_arg_cache_file"
2026 rm -f ${wx_arg_cache_file}.tmp
2027 touch ${wx_arg_cache_file}.tmp
2028 touch ${wx_arg_cache_file}
2029
2030
2031 DEBUG_CONFIGURE=0
2032 if test $DEBUG_CONFIGURE = 1; then
2033 DEFAULT_wxUSE_UNIVERSAL=no
2034 DEFAULT_wxUSE_STL=no
2035
2036 DEFAULT_wxUSE_NANOX=no
2037
2038 DEFAULT_wxUSE_THREADS=yes
2039
2040 DEFAULT_wxUSE_SHARED=yes
2041 DEFAULT_wxUSE_OPTIMISE=no
2042 DEFAULT_wxUSE_PROFILE=no
2043 DEFAULT_wxUSE_NO_DEPS=no
2044 DEFAULT_wxUSE_NO_RTTI=no
2045 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2046 DEFAULT_wxUSE_RPATH=yes
2047 DEFAULT_wxUSE_PERMISSIVE=no
2048 DEFAULT_wxUSE_DEBUG_FLAG=yes
2049 DEFAULT_wxUSE_DEBUG_INFO=yes
2050 DEFAULT_wxUSE_DEBUG_GDB=yes
2051 DEFAULT_wxUSE_MEM_TRACING=no
2052 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2053 DEFAULT_wxUSE_DMALLOC=no
2054 DEFAULT_wxUSE_APPLE_IEEE=no
2055
2056 DEFAULT_wxUSE_EXCEPTIONS=no
2057 DEFAULT_wxUSE_LOG=yes
2058 DEFAULT_wxUSE_LOGWINDOW=no
2059 DEFAULT_wxUSE_LOGGUI=no
2060 DEFAULT_wxUSE_LOGDIALOG=no
2061
2062 DEFAULT_wxUSE_GUI=yes
2063 DEFAULT_wxUSE_CONTROLS=no
2064
2065 DEFAULT_wxUSE_REGEX=no
2066 DEFAULT_wxUSE_XML=no
2067 DEFAULT_wxUSE_EXPAT=no
2068 DEFAULT_wxUSE_ZLIB=no
2069 DEFAULT_wxUSE_LIBPNG=no
2070 DEFAULT_wxUSE_LIBJPEG=no
2071 DEFAULT_wxUSE_LIBTIFF=no
2072 DEFAULT_wxUSE_LIBXPM=no
2073 DEFAULT_wxUSE_LIBMSPACK=no
2074 DEFAULT_wxUSE_LIBSDL=no
2075 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2076 DEFAULT_wxUSE_ODBC=no
2077 DEFAULT_wxUSE_OPENGL=no
2078
2079 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2080 DEFAULT_wxUSE_STACKWALKER=no
2081 DEFAULT_wxUSE_DEBUGREPORT=no
2082 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2083 DEFAULT_wxUSE_STD_IOSTREAM=no
2084 DEFAULT_wxUSE_STD_STRING=no
2085 DEFAULT_wxUSE_CMDLINE_PARSER=no
2086 DEFAULT_wxUSE_DATETIME=no
2087 DEFAULT_wxUSE_TIMER=no
2088 DEFAULT_wxUSE_STOPWATCH=no
2089 DEFAULT_wxUSE_FILE=no
2090 DEFAULT_wxUSE_FFILE=no
2091 DEFAULT_wxUSE_STDPATHS=no
2092 DEFAULT_wxUSE_TEXTBUFFER=no
2093 DEFAULT_wxUSE_TEXTFILE=no
2094 DEFAULT_wxUSE_SOUND=no
2095 DEFAULT_wxUSE_MEDIACTRL=no
2096 DEFAULT_wxUSE_INTL=no
2097 DEFAULT_wxUSE_CONFIG=no
2098 DEFAULT_wxUSE_FONTMAP=no
2099 DEFAULT_wxUSE_STREAMS=no
2100 DEFAULT_wxUSE_SOCKETS=no
2101 DEFAULT_wxUSE_OLE=no
2102 DEFAULT_wxUSE_DATAOBJ=no
2103 DEFAULT_wxUSE_DIALUP_MANAGER=no
2104 DEFAULT_wxUSE_JOYSTICK=no
2105 DEFAULT_wxUSE_DYNLIB_CLASS=no
2106 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2107 DEFAULT_wxUSE_LONGLONG=no
2108 DEFAULT_wxUSE_GEOMETRY=no
2109
2110 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2111 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2112 DEFAULT_wxUSE_POSTSCRIPT=no
2113
2114 DEFAULT_wxUSE_CLIPBOARD=no
2115 DEFAULT_wxUSE_TOOLTIPS=no
2116 DEFAULT_wxUSE_DRAG_AND_DROP=no
2117 DEFAULT_wxUSE_DRAGIMAGE=no
2118 DEFAULT_wxUSE_SPLINES=no
2119 DEFAULT_wxUSE_MOUSEWHEEL=no
2120
2121 DEFAULT_wxUSE_MDI=no
2122 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2123 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2124 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2125
2126 DEFAULT_wxUSE_RESOURCES=no
2127 DEFAULT_wxUSE_CONSTRAINTS=no
2128 DEFAULT_wxUSE_IPC=no
2129 DEFAULT_wxUSE_HELP=no
2130 DEFAULT_wxUSE_MS_HTML_HELP=no
2131 DEFAULT_wxUSE_WXHTML_HELP=no
2132 DEFAULT_wxUSE_TREELAYOUT=no
2133 DEFAULT_wxUSE_METAFILE=no
2134 DEFAULT_wxUSE_MIMETYPE=no
2135 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2136 DEFAULT_wxUSE_PROTOCOL=no
2137 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2138 DEFAULT_wxUSE_PROTOCOL_FTP=no
2139 DEFAULT_wxUSE_PROTOCOL_FILE=no
2140 DEFAULT_wxUSE_URL=no
2141
2142 DEFAULT_wxUSE_COMMONDLGS=no
2143 DEFAULT_wxUSE_CHOICEDLG=no
2144 DEFAULT_wxUSE_COLOURDLG=no
2145 DEFAULT_wxUSE_DIRDLG=no
2146 DEFAULT_wxUSE_FILEDLG=no
2147 DEFAULT_wxUSE_FINDREPLDLG=no
2148 DEFAULT_wxUSE_FONTDLG=no
2149 DEFAULT_wxUSE_MSGDLG=no
2150 DEFAULT_wxUSE_NUMBERDLG=no
2151 DEFAULT_wxUSE_TEXTDLG=no
2152 DEFAULT_wxUSE_SPLASH=no
2153 DEFAULT_wxUSE_STARTUP_TIPS=no
2154 DEFAULT_wxUSE_PROGRESSDLG=no
2155 DEFAULT_wxUSE_WIZARDDLG=no
2156
2157 DEFAULT_wxUSE_MENUS=no
2158 DEFAULT_wxUSE_MINIFRAME=no
2159 DEFAULT_wxUSE_HTML=no
2160 DEFAULT_wxUSE_XRC=no
2161 DEFAULT_wxUSE_WEBKIT=no
2162 DEFAULT_wxUSE_FILESYSTEM=no
2163 DEFAULT_wxUSE_FS_INET=no
2164 DEFAULT_wxUSE_FS_ZIP=no
2165 DEFAULT_wxUSE_BUSYINFO=no
2166 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2167 DEFAULT_wxUSE_ZIPSTREAM=no
2168 DEFAULT_wxUSE_VALIDATORS=no
2169
2170 DEFAULT_wxUSE_ACCEL=no
2171 DEFAULT_wxUSE_BUTTON=no
2172 DEFAULT_wxUSE_BMPBUTTON=no
2173 DEFAULT_wxUSE_CALCTRL=no
2174 DEFAULT_wxUSE_CARET=no
2175 DEFAULT_wxUSE_CHECKBOX=no
2176 DEFAULT_wxUSE_CHECKLST=no
2177 DEFAULT_wxUSE_CHOICE=no
2178 DEFAULT_wxUSE_CHOICEBOOK=no
2179 DEFAULT_wxUSE_COMBOBOX=no
2180 DEFAULT_wxUSE_DATEPICKCTRL=no
2181 DEFAULT_wxUSE_DISPLAY=no
2182 DEFAULT_wxUSE_GAUGE=no
2183 DEFAULT_wxUSE_GRID=no
2184 DEFAULT_wxUSE_IMAGLIST=no
2185 DEFAULT_wxUSE_LISTBOOK=no
2186 DEFAULT_wxUSE_LISTBOX=no
2187 DEFAULT_wxUSE_LISTCTRL=no
2188 DEFAULT_wxUSE_NOTEBOOK=no
2189 DEFAULT_wxUSE_RADIOBOX=no
2190 DEFAULT_wxUSE_RADIOBTN=no
2191 DEFAULT_wxUSE_SASH=no
2192 DEFAULT_wxUSE_SCROLLBAR=no
2193 DEFAULT_wxUSE_SLIDER=no
2194 DEFAULT_wxUSE_SPINBTN=no
2195 DEFAULT_wxUSE_SPINCTRL=no
2196 DEFAULT_wxUSE_SPLITTER=no
2197 DEFAULT_wxUSE_STATBMP=no
2198 DEFAULT_wxUSE_STATBOX=no
2199 DEFAULT_wxUSE_STATLINE=no
2200 DEFAULT_wxUSE_STATTEXT=no
2201 DEFAULT_wxUSE_STATUSBAR=yes
2202 DEFAULT_wxUSE_TABDIALOG=no
2203 DEFAULT_wxUSE_TEXTCTRL=no
2204 DEFAULT_wxUSE_TOGGLEBTN=no
2205 DEFAULT_wxUSE_TOOLBAR=no
2206 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2207 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2208 DEFAULT_wxUSE_TREECTRL=no
2209 DEFAULT_wxUSE_POPUPWIN=no
2210 DEFAULT_wxUSE_TIPWINDOW=no
2211
2212 DEFAULT_wxUSE_UNICODE=no
2213 DEFAULT_wxUSE_UNICODE_MSLU=no
2214 DEFAULT_wxUSE_WCSRTOMBS=no
2215
2216 DEFAULT_wxUSE_PALETTE=no
2217 DEFAULT_wxUSE_IMAGE=no
2218 DEFAULT_wxUSE_GIF=no
2219 DEFAULT_wxUSE_PCX=no
2220 DEFAULT_wxUSE_PNM=no
2221 DEFAULT_wxUSE_IFF=no
2222 DEFAULT_wxUSE_XPM=no
2223 DEFAULT_wxUSE_ICO_CUR=no
2224 DEFAULT_wxUSE_ACCESSIBILITY=no
2225
2226 DEFAULT_wxUSE_MONOLITHIC=no
2227 DEFAULT_wxUSE_PLUGINS=no
2228 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2229 else
2230 DEFAULT_wxUSE_UNIVERSAL=no
2231 DEFAULT_wxUSE_STL=no
2232
2233 DEFAULT_wxUSE_NANOX=no
2234
2235 DEFAULT_wxUSE_THREADS=yes
2236
2237 DEFAULT_wxUSE_SHARED=yes
2238 DEFAULT_wxUSE_OPTIMISE=yes
2239 DEFAULT_wxUSE_PROFILE=no
2240 DEFAULT_wxUSE_NO_DEPS=no
2241 DEFAULT_wxUSE_NO_RTTI=no
2242 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2243 DEFAULT_wxUSE_RPATH=yes
2244 DEFAULT_wxUSE_PERMISSIVE=no
2245 DEFAULT_wxUSE_DEBUG_FLAG=no
2246 DEFAULT_wxUSE_DEBUG_INFO=no
2247 DEFAULT_wxUSE_DEBUG_GDB=no
2248 DEFAULT_wxUSE_MEM_TRACING=no
2249 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2250 DEFAULT_wxUSE_DMALLOC=no
2251 DEFAULT_wxUSE_APPLE_IEEE=yes
2252
2253 DEFAULT_wxUSE_EXCEPTIONS=yes
2254 DEFAULT_wxUSE_LOG=yes
2255 DEFAULT_wxUSE_LOGWINDOW=yes
2256 DEFAULT_wxUSE_LOGGUI=yes
2257 DEFAULT_wxUSE_LOGDIALOG=yes
2258
2259 DEFAULT_wxUSE_GUI=yes
2260
2261 DEFAULT_wxUSE_REGEX=yes
2262 DEFAULT_wxUSE_XML=yes
2263 DEFAULT_wxUSE_EXPAT=yes
2264 DEFAULT_wxUSE_ZLIB=yes
2265 DEFAULT_wxUSE_LIBPNG=yes
2266 DEFAULT_wxUSE_LIBJPEG=yes
2267 DEFAULT_wxUSE_LIBTIFF=yes
2268 DEFAULT_wxUSE_LIBXPM=yes
2269 DEFAULT_wxUSE_LIBMSPACK=yes
2270 DEFAULT_wxUSE_LIBSDL=no
2271 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2272 DEFAULT_wxUSE_ODBC=no
2273 DEFAULT_wxUSE_OPENGL=no
2274
2275 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2276 DEFAULT_wxUSE_STACKWALKER=yes
2277 DEFAULT_wxUSE_DEBUGREPORT=yes
2278 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2279 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2280 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2281 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2282 DEFAULT_wxUSE_DATETIME=yes
2283 DEFAULT_wxUSE_TIMER=yes
2284 DEFAULT_wxUSE_STOPWATCH=yes
2285 DEFAULT_wxUSE_FILE=yes
2286 DEFAULT_wxUSE_FFILE=yes
2287 DEFAULT_wxUSE_STDPATHS=yes
2288 DEFAULT_wxUSE_TEXTBUFFER=yes
2289 DEFAULT_wxUSE_TEXTFILE=yes
2290 DEFAULT_wxUSE_SOUND=yes
2291 DEFAULT_wxUSE_MEDIACTRL=no
2292 DEFAULT_wxUSE_INTL=yes
2293 DEFAULT_wxUSE_CONFIG=yes
2294 DEFAULT_wxUSE_FONTMAP=yes
2295 DEFAULT_wxUSE_STREAMS=yes
2296 DEFAULT_wxUSE_SOCKETS=yes
2297 DEFAULT_wxUSE_OLE=yes
2298 DEFAULT_wxUSE_DATAOBJ=yes
2299 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2300 DEFAULT_wxUSE_JOYSTICK=yes
2301 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2302 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2303 DEFAULT_wxUSE_LONGLONG=yes
2304 DEFAULT_wxUSE_GEOMETRY=yes
2305
2306 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2307 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2308 DEFAULT_wxUSE_POSTSCRIPT=yes
2309
2310 DEFAULT_wxUSE_CLIPBOARD=yes
2311 DEFAULT_wxUSE_TOOLTIPS=yes
2312 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2313 DEFAULT_wxUSE_DRAGIMAGE=yes
2314 DEFAULT_wxUSE_SPLINES=yes
2315 DEFAULT_wxUSE_MOUSEWHEEL=yes
2316
2317 DEFAULT_wxUSE_MDI=yes
2318 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2319 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2320 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2321
2322 DEFAULT_wxUSE_RESOURCES=no
2323 DEFAULT_wxUSE_CONSTRAINTS=yes
2324 DEFAULT_wxUSE_IPC=yes
2325 DEFAULT_wxUSE_HELP=yes
2326 DEFAULT_wxUSE_MS_HTML_HELP=yes
2327 DEFAULT_wxUSE_WXHTML_HELP=yes
2328 DEFAULT_wxUSE_TREELAYOUT=yes
2329 DEFAULT_wxUSE_METAFILE=yes
2330 DEFAULT_wxUSE_MIMETYPE=yes
2331 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2332 DEFAULT_wxUSE_PROTOCOL=yes
2333 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2334 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2335 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2336 DEFAULT_wxUSE_URL=yes
2337
2338 DEFAULT_wxUSE_COMMONDLGS=yes
2339 DEFAULT_wxUSE_CHOICEDLG=yes
2340 DEFAULT_wxUSE_COLOURDLG=yes
2341 DEFAULT_wxUSE_DIRDLG=yes
2342 DEFAULT_wxUSE_FILEDLG=yes
2343 DEFAULT_wxUSE_FINDREPLDLG=yes
2344 DEFAULT_wxUSE_FONTDLG=yes
2345 DEFAULT_wxUSE_MSGDLG=yes
2346 DEFAULT_wxUSE_NUMBERDLG=yes
2347 DEFAULT_wxUSE_TEXTDLG=yes
2348 DEFAULT_wxUSE_SPLASH=yes
2349 DEFAULT_wxUSE_STARTUP_TIPS=yes
2350 DEFAULT_wxUSE_PROGRESSDLG=yes
2351 DEFAULT_wxUSE_WIZARDDLG=yes
2352
2353 DEFAULT_wxUSE_MENUS=yes
2354 DEFAULT_wxUSE_MINIFRAME=yes
2355 DEFAULT_wxUSE_HTML=yes
2356 DEFAULT_wxUSE_XRC=yes
2357 DEFAULT_wxUSE_WEBKIT=yes
2358 DEFAULT_wxUSE_FILESYSTEM=yes
2359 DEFAULT_wxUSE_FS_INET=yes
2360 DEFAULT_wxUSE_FS_ZIP=yes
2361 DEFAULT_wxUSE_BUSYINFO=yes
2362 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2363 DEFAULT_wxUSE_ZIPSTREAM=yes
2364 DEFAULT_wxUSE_VALIDATORS=yes
2365
2366 DEFAULT_wxUSE_ACCEL=yes
2367 DEFAULT_wxUSE_BUTTON=yes
2368 DEFAULT_wxUSE_BMPBUTTON=yes
2369 DEFAULT_wxUSE_CALCTRL=yes
2370 DEFAULT_wxUSE_CARET=yes
2371 DEFAULT_wxUSE_CHECKBOX=yes
2372 DEFAULT_wxUSE_CHECKLST=yes
2373 DEFAULT_wxUSE_CHOICE=yes
2374 DEFAULT_wxUSE_CHOICEBOOK=yes
2375 DEFAULT_wxUSE_COMBOBOX=yes
2376 DEFAULT_wxUSE_DATEPICKCTRL=yes
2377 DEFAULT_wxUSE_DISPLAY=yes
2378 DEFAULT_wxUSE_GAUGE=yes
2379 DEFAULT_wxUSE_GRID=yes
2380 DEFAULT_wxUSE_IMAGLIST=yes
2381 DEFAULT_wxUSE_LISTBOOK=yes
2382 DEFAULT_wxUSE_LISTBOX=yes
2383 DEFAULT_wxUSE_LISTCTRL=yes
2384 DEFAULT_wxUSE_NOTEBOOK=yes
2385 DEFAULT_wxUSE_RADIOBOX=yes
2386 DEFAULT_wxUSE_RADIOBTN=yes
2387 DEFAULT_wxUSE_SASH=yes
2388 DEFAULT_wxUSE_SCROLLBAR=yes
2389 DEFAULT_wxUSE_SLIDER=yes
2390 DEFAULT_wxUSE_SPINBTN=yes
2391 DEFAULT_wxUSE_SPINCTRL=yes
2392 DEFAULT_wxUSE_SPLITTER=yes
2393 DEFAULT_wxUSE_STATBMP=yes
2394 DEFAULT_wxUSE_STATBOX=yes
2395 DEFAULT_wxUSE_STATLINE=yes
2396 DEFAULT_wxUSE_STATTEXT=yes
2397 DEFAULT_wxUSE_STATUSBAR=yes
2398 DEFAULT_wxUSE_TABDIALOG=no
2399 DEFAULT_wxUSE_TEXTCTRL=yes
2400 DEFAULT_wxUSE_TOGGLEBTN=yes
2401 DEFAULT_wxUSE_TOOLBAR=yes
2402 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2403 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2404 DEFAULT_wxUSE_TREECTRL=yes
2405 DEFAULT_wxUSE_POPUPWIN=yes
2406 DEFAULT_wxUSE_TIPWINDOW=yes
2407
2408 DEFAULT_wxUSE_UNICODE=no
2409 DEFAULT_wxUSE_UNICODE_MSLU=yes
2410 DEFAULT_wxUSE_WCSRTOMBS=no
2411
2412 DEFAULT_wxUSE_PALETTE=yes
2413 DEFAULT_wxUSE_IMAGE=yes
2414 DEFAULT_wxUSE_GIF=yes
2415 DEFAULT_wxUSE_PCX=yes
2416 DEFAULT_wxUSE_IFF=no
2417 DEFAULT_wxUSE_PNM=yes
2418 DEFAULT_wxUSE_XPM=yes
2419 DEFAULT_wxUSE_ICO_CUR=yes
2420 DEFAULT_wxUSE_ACCESSIBILITY=no
2421
2422 DEFAULT_wxUSE_MONOLITHIC=no
2423 DEFAULT_wxUSE_PLUGINS=no
2424 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2425
2426 DEFAULT_wxUSE_GTK2=yes
2427 fi
2428
2429
2430
2431
2432 for toolkit in `echo $ALL_TOOLKITS`; do
2433 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2434 if test "x$LINE" != "x" ; then
2435 has_toolkit_in_cache=1
2436 eval "DEFAULT_$LINE"
2437 eval "CACHE_$toolkit=1"
2438
2439 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2440 if test "x$LINE" != "x" ; then
2441 eval "DEFAULT_$LINE"
2442 fi
2443 fi
2444 done
2445
2446
2447
2448 enablestring=
2449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2450 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2451 no_cache=0
2452 # Check whether --enable-gui or --disable-gui was given.
2453 if test "${enable_gui+set}" = set; then
2454 enableval="$enable_gui"
2455
2456 if test "$enableval" = yes; then
2457 ac_cv_use_gui='wxUSE_GUI=yes'
2458 else
2459 ac_cv_use_gui='wxUSE_GUI=no'
2460 fi
2461
2462 else
2463
2464 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2465 if test "x$LINE" != x ; then
2466 eval "DEFAULT_$LINE"
2467 else
2468 no_cache=1
2469 fi
2470
2471 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2472
2473 fi;
2474
2475 eval "$ac_cv_use_gui"
2476 if test "$no_cache" != 1; then
2477 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2478 fi
2479
2480 if test "$wxUSE_GUI" = yes; then
2481 echo "$as_me:$LINENO: result: yes" >&5
2482 echo "${ECHO_T}yes" >&6
2483 else
2484 echo "$as_me:$LINENO: result: no" >&5
2485 echo "${ECHO_T}no" >&6
2486 fi
2487
2488
2489 enablestring=
2490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2491 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2492 no_cache=0
2493 # Check whether --enable-monolithic or --disable-monolithic was given.
2494 if test "${enable_monolithic+set}" = set; then
2495 enableval="$enable_monolithic"
2496
2497 if test "$enableval" = yes; then
2498 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2499 else
2500 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2501 fi
2502
2503 else
2504
2505 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x ; then
2507 eval "DEFAULT_$LINE"
2508 else
2509 no_cache=1
2510 fi
2511
2512 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2513
2514 fi;
2515
2516 eval "$ac_cv_use_monolithic"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2519 fi
2520
2521 if test "$wxUSE_MONOLITHIC" = yes; then
2522 echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6
2524 else
2525 echo "$as_me:$LINENO: result: no" >&5
2526 echo "${ECHO_T}no" >&6
2527 fi
2528
2529
2530 enablestring=
2531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2532 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2533 no_cache=0
2534 # Check whether --enable-plugins or --disable-plugins was given.
2535 if test "${enable_plugins+set}" = set; then
2536 enableval="$enable_plugins"
2537
2538 if test "$enableval" = yes; then
2539 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2540 else
2541 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2542 fi
2543
2544 else
2545
2546 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2547 if test "x$LINE" != x ; then
2548 eval "DEFAULT_$LINE"
2549 else
2550 no_cache=1
2551 fi
2552
2553 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2554
2555 fi;
2556
2557 eval "$ac_cv_use_plugins"
2558 if test "$no_cache" != 1; then
2559 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2560 fi
2561
2562 if test "$wxUSE_PLUGINS" = yes; then
2563 echo "$as_me:$LINENO: result: yes" >&5
2564 echo "${ECHO_T}yes" >&6
2565 else
2566 echo "$as_me:$LINENO: result: no" >&5
2567 echo "${ECHO_T}no" >&6
2568 fi
2569
2570
2571 if test "$wxUSE_GUI" = "yes"; then
2572
2573
2574 enablestring=
2575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2576 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2577 no_cache=0
2578 # Check whether --enable-universal or --disable-universal was given.
2579 if test "${enable_universal+set}" = set; then
2580 enableval="$enable_universal"
2581
2582 if test "$enableval" = yes; then
2583 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2584 else
2585 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2586 fi
2587
2588 else
2589
2590 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2591 if test "x$LINE" != x ; then
2592 eval "DEFAULT_$LINE"
2593 else
2594 no_cache=1
2595 fi
2596
2597 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2598
2599 fi;
2600
2601 eval "$ac_cv_use_universal"
2602 if test "$no_cache" != 1; then
2603 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2604 fi
2605
2606 if test "$wxUSE_UNIVERSAL" = yes; then
2607 echo "$as_me:$LINENO: result: yes" >&5
2608 echo "${ECHO_T}yes" >&6
2609 else
2610 echo "$as_me:$LINENO: result: no" >&5
2611 echo "${ECHO_T}no" >&6
2612 fi
2613
2614
2615 # Check whether --with-gtk or --without-gtk was given.
2616 if test "${with_gtk+set}" = set; then
2617 withval="$with_gtk"
2618 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2619 fi;
2620
2621 # Check whether --with-motif or --without-motif was given.
2622 if test "${with_motif+set}" = set; then
2623 withval="$with_motif"
2624 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2625 fi;
2626
2627 # Check whether --with-mac or --without-mac was given.
2628 if test "${with_mac+set}" = set; then
2629 withval="$with_mac"
2630 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2631 fi;
2632
2633 # Check whether --with-cocoa or --without-cocoa was given.
2634 if test "${with_cocoa+set}" = set; then
2635 withval="$with_cocoa"
2636 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2637 fi;
2638
2639 # Check whether --with-wine or --without-wine was given.
2640 if test "${with_wine+set}" = set; then
2641 withval="$with_wine"
2642 wxUSE_WINE="$withval" CACHE_WINE=1
2643 fi;
2644
2645 # Check whether --with-msw or --without-msw was given.
2646 if test "${with_msw+set}" = set; then
2647 withval="$with_msw"
2648 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2649 fi;
2650
2651 # Check whether --with-pm or --without-pm was given.
2652 if test "${with_pm+set}" = set; then
2653 withval="$with_pm"
2654 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2655 fi;
2656
2657 # Check whether --with-mgl or --without-mgl was given.
2658 if test "${with_mgl+set}" = set; then
2659 withval="$with_mgl"
2660 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2661 fi;
2662
2663 # Check whether --with-microwin or --without-microwin was given.
2664 if test "${with_microwin+set}" = set; then
2665 withval="$with_microwin"
2666 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2667 fi;
2668
2669 # Check whether --with-x11 or --without-x11 was given.
2670 if test "${with_x11+set}" = set; then
2671 withval="$with_x11"
2672 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2673 fi;
2674
2675 enablestring=
2676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2677 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2678 no_cache=0
2679 # Check whether --enable-nanox or --disable-nanox was given.
2680 if test "${enable_nanox+set}" = set; then
2681 enableval="$enable_nanox"
2682
2683 if test "$enableval" = yes; then
2684 ac_cv_use_nanox='wxUSE_NANOX=yes'
2685 else
2686 ac_cv_use_nanox='wxUSE_NANOX=no'
2687 fi
2688
2689 else
2690
2691 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2692 if test "x$LINE" != x ; then
2693 eval "DEFAULT_$LINE"
2694 else
2695 no_cache=1
2696 fi
2697
2698 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2699
2700 fi;
2701
2702 eval "$ac_cv_use_nanox"
2703 if test "$no_cache" != 1; then
2704 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2705 fi
2706
2707 if test "$wxUSE_NANOX" = yes; then
2708 echo "$as_me:$LINENO: result: yes" >&5
2709 echo "${ECHO_T}yes" >&6
2710 else
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2713 fi
2714
2715
2716 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2717 if test "${enable_gtk2+set}" = set; then
2718 enableval="$enable_gtk2"
2719 wxUSE_GTK2="$enableval"
2720 fi;
2721
2722 enablestring=
2723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2724 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2725 no_cache=0
2726 # Check whether --enable-gpe or --disable-gpe was given.
2727 if test "${enable_gpe+set}" = set; then
2728 enableval="$enable_gpe"
2729
2730 if test "$enableval" = yes; then
2731 ac_cv_use_gpe='wxUSE_GPE=yes'
2732 else
2733 ac_cv_use_gpe='wxUSE_GPE=no'
2734 fi
2735
2736 else
2737
2738 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2739 if test "x$LINE" != x ; then
2740 eval "DEFAULT_$LINE"
2741 else
2742 no_cache=1
2743 fi
2744
2745 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2746
2747 fi;
2748
2749 eval "$ac_cv_use_gpe"
2750 if test "$no_cache" != 1; then
2751 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2752 fi
2753
2754 if test "$wxUSE_GPE" = yes; then
2755 echo "$as_me:$LINENO: result: yes" >&5
2756 echo "${ECHO_T}yes" >&6
2757 else
2758 echo "$as_me:$LINENO: result: no" >&5
2759 echo "${ECHO_T}no" >&6
2760 fi
2761
2762
2763
2764 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2765 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2766 no_cache=0
2767
2768 # Check whether --with-libpng or --without-libpng was given.
2769 if test "${with_libpng+set}" = set; then
2770 withval="$with_libpng"
2771
2772 if test "$withval" = yes; then
2773 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2774 elif test "$withval" = no; then
2775 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2776 elif test "$withval" = sys; then
2777 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2778 elif test "$withval" = builtin; then
2779 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2780 else
2781 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2782 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2783 { (exit 1); exit 1; }; }
2784 fi
2785
2786 else
2787
2788 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x ; then
2790 eval "DEFAULT_$LINE"
2791 else
2792 no_cache=1
2793 fi
2794
2795 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2796
2797 fi;
2798
2799 eval "$ac_cv_use_libpng"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2802 fi
2803
2804 if test "$wxUSE_LIBPNG" = yes; then
2805 echo "$as_me:$LINENO: result: yes" >&5
2806 echo "${ECHO_T}yes" >&6
2807 elif test "$wxUSE_LIBPNG" = no; then
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2810 elif test "$wxUSE_LIBPNG" = sys; then
2811 echo "$as_me:$LINENO: result: system version" >&5
2812 echo "${ECHO_T}system version" >&6
2813 elif test "$wxUSE_LIBPNG" = builtin; then
2814 echo "$as_me:$LINENO: result: builtin version" >&5
2815 echo "${ECHO_T}builtin version" >&6
2816 else
2817 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2818 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2819 { (exit 1); exit 1; }; }
2820 fi
2821
2822
2823 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2824 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2825 no_cache=0
2826
2827 # Check whether --with-libjpeg or --without-libjpeg was given.
2828 if test "${with_libjpeg+set}" = set; then
2829 withval="$with_libjpeg"
2830
2831 if test "$withval" = yes; then
2832 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2833 elif test "$withval" = no; then
2834 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2835 elif test "$withval" = sys; then
2836 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2837 elif test "$withval" = builtin; then
2838 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2839 else
2840 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2841 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2842 { (exit 1); exit 1; }; }
2843 fi
2844
2845 else
2846
2847 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2848 if test "x$LINE" != x ; then
2849 eval "DEFAULT_$LINE"
2850 else
2851 no_cache=1
2852 fi
2853
2854 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2855
2856 fi;
2857
2858 eval "$ac_cv_use_libjpeg"
2859 if test "$no_cache" != 1; then
2860 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2861 fi
2862
2863 if test "$wxUSE_LIBJPEG" = yes; then
2864 echo "$as_me:$LINENO: result: yes" >&5
2865 echo "${ECHO_T}yes" >&6
2866 elif test "$wxUSE_LIBJPEG" = no; then
2867 echo "$as_me:$LINENO: result: no" >&5
2868 echo "${ECHO_T}no" >&6
2869 elif test "$wxUSE_LIBJPEG" = sys; then
2870 echo "$as_me:$LINENO: result: system version" >&5
2871 echo "${ECHO_T}system version" >&6
2872 elif test "$wxUSE_LIBJPEG" = builtin; then
2873 echo "$as_me:$LINENO: result: builtin version" >&5
2874 echo "${ECHO_T}builtin version" >&6
2875 else
2876 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2877 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2878 { (exit 1); exit 1; }; }
2879 fi
2880
2881
2882 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2883 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2884 no_cache=0
2885
2886 # Check whether --with-libtiff or --without-libtiff was given.
2887 if test "${with_libtiff+set}" = set; then
2888 withval="$with_libtiff"
2889
2890 if test "$withval" = yes; then
2891 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2892 elif test "$withval" = no; then
2893 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2894 elif test "$withval" = sys; then
2895 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2896 elif test "$withval" = builtin; then
2897 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2898 else
2899 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2900 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2901 { (exit 1); exit 1; }; }
2902 fi
2903
2904 else
2905
2906 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2907 if test "x$LINE" != x ; then
2908 eval "DEFAULT_$LINE"
2909 else
2910 no_cache=1
2911 fi
2912
2913 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2914
2915 fi;
2916
2917 eval "$ac_cv_use_libtiff"
2918 if test "$no_cache" != 1; then
2919 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2920 fi
2921
2922 if test "$wxUSE_LIBTIFF" = yes; then
2923 echo "$as_me:$LINENO: result: yes" >&5
2924 echo "${ECHO_T}yes" >&6
2925 elif test "$wxUSE_LIBTIFF" = no; then
2926 echo "$as_me:$LINENO: result: no" >&5
2927 echo "${ECHO_T}no" >&6
2928 elif test "$wxUSE_LIBTIFF" = sys; then
2929 echo "$as_me:$LINENO: result: system version" >&5
2930 echo "${ECHO_T}system version" >&6
2931 elif test "$wxUSE_LIBTIFF" = builtin; then
2932 echo "$as_me:$LINENO: result: builtin version" >&5
2933 echo "${ECHO_T}builtin version" >&6
2934 else
2935 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2936 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2937 { (exit 1); exit 1; }; }
2938 fi
2939
2940
2941 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2942 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2943 no_cache=0
2944
2945 # Check whether --with-libxpm or --without-libxpm was given.
2946 if test "${with_libxpm+set}" = set; then
2947 withval="$with_libxpm"
2948
2949 if test "$withval" = yes; then
2950 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2951 elif test "$withval" = no; then
2952 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2953 elif test "$withval" = sys; then
2954 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2955 elif test "$withval" = builtin; then
2956 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2957 else
2958 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2959 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2960 { (exit 1); exit 1; }; }
2961 fi
2962
2963 else
2964
2965 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2966 if test "x$LINE" != x ; then
2967 eval "DEFAULT_$LINE"
2968 else
2969 no_cache=1
2970 fi
2971
2972 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2973
2974 fi;
2975
2976 eval "$ac_cv_use_libxpm"
2977 if test "$no_cache" != 1; then
2978 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2979 fi
2980
2981 if test "$wxUSE_LIBXPM" = yes; then
2982 echo "$as_me:$LINENO: result: yes" >&5
2983 echo "${ECHO_T}yes" >&6
2984 elif test "$wxUSE_LIBXPM" = no; then
2985 echo "$as_me:$LINENO: result: no" >&5
2986 echo "${ECHO_T}no" >&6
2987 elif test "$wxUSE_LIBXPM" = sys; then
2988 echo "$as_me:$LINENO: result: system version" >&5
2989 echo "${ECHO_T}system version" >&6
2990 elif test "$wxUSE_LIBXPM" = builtin; then
2991 echo "$as_me:$LINENO: result: builtin version" >&5
2992 echo "${ECHO_T}builtin version" >&6
2993 else
2994 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2995 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2996 { (exit 1); exit 1; }; }
2997 fi
2998
2999
3000 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3001 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3002 no_cache=0
3003
3004 # Check whether --with-libmspack or --without-libmspack was given.
3005 if test "${with_libmspack+set}" = set; then
3006 withval="$with_libmspack"
3007
3008 if test "$withval" = yes; then
3009 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3010 else
3011 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3012 fi
3013
3014 else
3015
3016 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3017 if test "x$LINE" != x ; then
3018 eval "DEFAULT_$LINE"
3019 else
3020 no_cache=1
3021 fi
3022
3023 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3024
3025 fi;
3026
3027 eval "$ac_cv_use_libmspack"
3028 if test "$no_cache" != 1; then
3029 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3030 fi
3031
3032 if test "$wxUSE_LIBMSPACK" = yes; then
3033 echo "$as_me:$LINENO: result: yes" >&5
3034 echo "${ECHO_T}yes" >&6
3035 else
3036 echo "$as_me:$LINENO: result: no" >&5
3037 echo "${ECHO_T}no" >&6
3038 fi
3039
3040
3041 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3042 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3043 no_cache=0
3044
3045 # Check whether --with-sdl or --without-sdl was given.
3046 if test "${with_sdl+set}" = set; then
3047 withval="$with_sdl"
3048
3049 if test "$withval" = yes; then
3050 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3051 else
3052 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3053 fi
3054
3055 else
3056
3057 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3058 if test "x$LINE" != x ; then
3059 eval "DEFAULT_$LINE"
3060 else
3061 no_cache=1
3062 fi
3063
3064 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3065
3066 fi;
3067
3068 eval "$ac_cv_use_sdl"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3071 fi
3072
3073 if test "$wxUSE_LIBSDL" = yes; then
3074 echo "$as_me:$LINENO: result: yes" >&5
3075 echo "${ECHO_T}yes" >&6
3076 else
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3079 fi
3080
3081
3082 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3083 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3084 no_cache=0
3085
3086 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3087 if test "${with_gnomeprint+set}" = set; then
3088 withval="$with_gnomeprint"
3089
3090 if test "$withval" = yes; then
3091 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3092 else
3093 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3094 fi
3095
3096 else
3097
3098 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x ; then
3100 eval "DEFAULT_$LINE"
3101 else
3102 no_cache=1
3103 fi
3104
3105 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3106
3107 fi;
3108
3109 eval "$ac_cv_use_gnomeprint"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3112 fi
3113
3114 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3115 echo "$as_me:$LINENO: result: yes" >&5
3116 echo "${ECHO_T}yes" >&6
3117 else
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3120 fi
3121
3122
3123 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3124 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3125 no_cache=0
3126
3127 # Check whether --with-opengl or --without-opengl was given.
3128 if test "${with_opengl+set}" = set; then
3129 withval="$with_opengl"
3130
3131 if test "$withval" = yes; then
3132 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3133 else
3134 ac_cv_use_opengl='wxUSE_OPENGL=no'
3135 fi
3136
3137 else
3138
3139 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3140 if test "x$LINE" != x ; then
3141 eval "DEFAULT_$LINE"
3142 else
3143 no_cache=1
3144 fi
3145
3146 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3147
3148 fi;
3149
3150 eval "$ac_cv_use_opengl"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3153 fi
3154
3155 if test "$wxUSE_OPENGL" = yes; then
3156 echo "$as_me:$LINENO: result: yes" >&5
3157 echo "${ECHO_T}yes" >&6
3158 else
3159 echo "$as_me:$LINENO: result: no" >&5
3160 echo "${ECHO_T}no" >&6
3161 fi
3162
3163
3164 fi
3165
3166
3167 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3168 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3169 no_cache=0
3170
3171 # Check whether --with-dmalloc or --without-dmalloc was given.
3172 if test "${with_dmalloc+set}" = set; then
3173 withval="$with_dmalloc"
3174
3175 if test "$withval" = yes; then
3176 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3177 else
3178 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3179 fi
3180
3181 else
3182
3183 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x ; then
3185 eval "DEFAULT_$LINE"
3186 else
3187 no_cache=1
3188 fi
3189
3190 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3191
3192 fi;
3193
3194 eval "$ac_cv_use_dmalloc"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3197 fi
3198
3199 if test "$wxUSE_DMALLOC" = yes; then
3200 echo "$as_me:$LINENO: result: yes" >&5
3201 echo "${ECHO_T}yes" >&6
3202 else
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3205 fi
3206
3207
3208 echo "$as_me:$LINENO: checking for --with-regex" >&5
3209 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3210 no_cache=0
3211
3212 # Check whether --with-regex or --without-regex was given.
3213 if test "${with_regex+set}" = set; then
3214 withval="$with_regex"
3215
3216 if test "$withval" = yes; then
3217 ac_cv_use_regex='wxUSE_REGEX=yes'
3218 elif test "$withval" = no; then
3219 ac_cv_use_regex='wxUSE_REGEX=no'
3220 elif test "$withval" = sys; then
3221 ac_cv_use_regex='wxUSE_REGEX=sys'
3222 elif test "$withval" = builtin; then
3223 ac_cv_use_regex='wxUSE_REGEX=builtin'
3224 else
3225 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3226 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3227 { (exit 1); exit 1; }; }
3228 fi
3229
3230 else
3231
3232 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3233 if test "x$LINE" != x ; then
3234 eval "DEFAULT_$LINE"
3235 else
3236 no_cache=1
3237 fi
3238
3239 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3240
3241 fi;
3242
3243 eval "$ac_cv_use_regex"
3244 if test "$no_cache" != 1; then
3245 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3246 fi
3247
3248 if test "$wxUSE_REGEX" = yes; then
3249 echo "$as_me:$LINENO: result: yes" >&5
3250 echo "${ECHO_T}yes" >&6
3251 elif test "$wxUSE_REGEX" = no; then
3252 echo "$as_me:$LINENO: result: no" >&5
3253 echo "${ECHO_T}no" >&6
3254 elif test "$wxUSE_REGEX" = sys; then
3255 echo "$as_me:$LINENO: result: system version" >&5
3256 echo "${ECHO_T}system version" >&6
3257 elif test "$wxUSE_REGEX" = builtin; then
3258 echo "$as_me:$LINENO: result: builtin version" >&5
3259 echo "${ECHO_T}builtin version" >&6
3260 else
3261 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3262 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3263 { (exit 1); exit 1; }; }
3264 fi
3265
3266
3267 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3268 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3269 no_cache=0
3270
3271 # Check whether --with-zlib or --without-zlib was given.
3272 if test "${with_zlib+set}" = set; then
3273 withval="$with_zlib"
3274
3275 if test "$withval" = yes; then
3276 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3277 elif test "$withval" = no; then
3278 ac_cv_use_zlib='wxUSE_ZLIB=no'
3279 elif test "$withval" = sys; then
3280 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3281 elif test "$withval" = builtin; then
3282 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3283 else
3284 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3285 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3286 { (exit 1); exit 1; }; }
3287 fi
3288
3289 else
3290
3291 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3292 if test "x$LINE" != x ; then
3293 eval "DEFAULT_$LINE"
3294 else
3295 no_cache=1
3296 fi
3297
3298 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3299
3300 fi;
3301
3302 eval "$ac_cv_use_zlib"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3305 fi
3306
3307 if test "$wxUSE_ZLIB" = yes; then
3308 echo "$as_me:$LINENO: result: yes" >&5
3309 echo "${ECHO_T}yes" >&6
3310 elif test "$wxUSE_ZLIB" = no; then
3311 echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6
3313 elif test "$wxUSE_ZLIB" = sys; then
3314 echo "$as_me:$LINENO: result: system version" >&5
3315 echo "${ECHO_T}system version" >&6
3316 elif test "$wxUSE_ZLIB" = builtin; then
3317 echo "$as_me:$LINENO: result: builtin version" >&5
3318 echo "${ECHO_T}builtin version" >&6
3319 else
3320 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3321 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3322 { (exit 1); exit 1; }; }
3323 fi
3324
3325
3326 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3327 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3328 no_cache=0
3329
3330 # Check whether --with-odbc or --without-odbc was given.
3331 if test "${with_odbc+set}" = set; then
3332 withval="$with_odbc"
3333
3334 if test "$withval" = yes; then
3335 ac_cv_use_odbc='wxUSE_ODBC=yes'
3336 elif test "$withval" = no; then
3337 ac_cv_use_odbc='wxUSE_ODBC=no'
3338 elif test "$withval" = sys; then
3339 ac_cv_use_odbc='wxUSE_ODBC=sys'
3340 elif test "$withval" = builtin; then
3341 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3342 else
3343 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3344 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3345 { (exit 1); exit 1; }; }
3346 fi
3347
3348 else
3349
3350 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3351 if test "x$LINE" != x ; then
3352 eval "DEFAULT_$LINE"
3353 else
3354 no_cache=1
3355 fi
3356
3357 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3358
3359 fi;
3360
3361 eval "$ac_cv_use_odbc"
3362 if test "$no_cache" != 1; then
3363 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3364 fi
3365
3366 if test "$wxUSE_ODBC" = yes; then
3367 echo "$as_me:$LINENO: result: yes" >&5
3368 echo "${ECHO_T}yes" >&6
3369 elif test "$wxUSE_ODBC" = no; then
3370 echo "$as_me:$LINENO: result: no" >&5
3371 echo "${ECHO_T}no" >&6
3372 elif test "$wxUSE_ODBC" = sys; then
3373 echo "$as_me:$LINENO: result: system version" >&5
3374 echo "${ECHO_T}system version" >&6
3375 elif test "$wxUSE_ODBC" = builtin; then
3376 echo "$as_me:$LINENO: result: builtin version" >&5
3377 echo "${ECHO_T}builtin version" >&6
3378 else
3379 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3380 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3381 { (exit 1); exit 1; }; }
3382 fi
3383
3384
3385 echo "$as_me:$LINENO: checking for --with-expat" >&5
3386 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3387 no_cache=0
3388
3389 # Check whether --with-expat or --without-expat was given.
3390 if test "${with_expat+set}" = set; then
3391 withval="$with_expat"
3392
3393 if test "$withval" = yes; then
3394 ac_cv_use_expat='wxUSE_EXPAT=yes'
3395 elif test "$withval" = no; then
3396 ac_cv_use_expat='wxUSE_EXPAT=no'
3397 elif test "$withval" = sys; then
3398 ac_cv_use_expat='wxUSE_EXPAT=sys'
3399 elif test "$withval" = builtin; then
3400 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3401 else
3402 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3403 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3404 { (exit 1); exit 1; }; }
3405 fi
3406
3407 else
3408
3409 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x ; then
3411 eval "DEFAULT_$LINE"
3412 else
3413 no_cache=1
3414 fi
3415
3416 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3417
3418 fi;
3419
3420 eval "$ac_cv_use_expat"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3423 fi
3424
3425 if test "$wxUSE_EXPAT" = yes; then
3426 echo "$as_me:$LINENO: result: yes" >&5
3427 echo "${ECHO_T}yes" >&6
3428 elif test "$wxUSE_EXPAT" = no; then
3429 echo "$as_me:$LINENO: result: no" >&5
3430 echo "${ECHO_T}no" >&6
3431 elif test "$wxUSE_EXPAT" = sys; then
3432 echo "$as_me:$LINENO: result: system version" >&5
3433 echo "${ECHO_T}system version" >&6
3434 elif test "$wxUSE_EXPAT" = builtin; then
3435 echo "$as_me:$LINENO: result: builtin version" >&5
3436 echo "${ECHO_T}builtin version" >&6
3437 else
3438 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3439 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3440 { (exit 1); exit 1; }; }
3441 fi
3442
3443
3444
3445
3446 enablestring=
3447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3448 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3449 no_cache=0
3450 # Check whether --enable-shared or --disable-shared was given.
3451 if test "${enable_shared+set}" = set; then
3452 enableval="$enable_shared"
3453
3454 if test "$enableval" = yes; then
3455 ac_cv_use_shared='wxUSE_SHARED=yes'
3456 else
3457 ac_cv_use_shared='wxUSE_SHARED=no'
3458 fi
3459
3460 else
3461
3462 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x ; then
3464 eval "DEFAULT_$LINE"
3465 else
3466 no_cache=1
3467 fi
3468
3469 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3470
3471 fi;
3472
3473 eval "$ac_cv_use_shared"
3474 if test "$no_cache" != 1; then
3475 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3476 fi
3477
3478 if test "$wxUSE_SHARED" = yes; then
3479 echo "$as_me:$LINENO: result: yes" >&5
3480 echo "${ECHO_T}yes" >&6
3481 else
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3484 fi
3485
3486
3487 enablestring=
3488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3489 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3490 no_cache=0
3491 # Check whether --enable-optimise or --disable-optimise was given.
3492 if test "${enable_optimise+set}" = set; then
3493 enableval="$enable_optimise"
3494
3495 if test "$enableval" = yes; then
3496 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3497 else
3498 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3499 fi
3500
3501 else
3502
3503 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3504 if test "x$LINE" != x ; then
3505 eval "DEFAULT_$LINE"
3506 else
3507 no_cache=1
3508 fi
3509
3510 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3511
3512 fi;
3513
3514 eval "$ac_cv_use_optimise"
3515 if test "$no_cache" != 1; then
3516 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3517 fi
3518
3519 if test "$wxUSE_OPTIMISE" = yes; then
3520 echo "$as_me:$LINENO: result: yes" >&5
3521 echo "${ECHO_T}yes" >&6
3522 else
3523 echo "$as_me:$LINENO: result: no" >&5
3524 echo "${ECHO_T}no" >&6
3525 fi
3526
3527
3528 enablestring=
3529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3530 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3531 no_cache=0
3532 # Check whether --enable-debug or --disable-debug was given.
3533 if test "${enable_debug+set}" = set; then
3534 enableval="$enable_debug"
3535
3536 if test "$enableval" = yes; then
3537 ac_cv_use_debug='wxUSE_DEBUG=yes'
3538 else
3539 ac_cv_use_debug='wxUSE_DEBUG=no'
3540 fi
3541
3542 else
3543
3544 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3545 if test "x$LINE" != x ; then
3546 eval "DEFAULT_$LINE"
3547 else
3548 no_cache=1
3549 fi
3550
3551 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3552
3553 fi;
3554
3555 eval "$ac_cv_use_debug"
3556 if test "$no_cache" != 1; then
3557 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3558 fi
3559
3560 if test "$wxUSE_DEBUG" = yes; then
3561 echo "$as_me:$LINENO: result: yes" >&5
3562 echo "${ECHO_T}yes" >&6
3563 else
3564 echo "$as_me:$LINENO: result: no" >&5
3565 echo "${ECHO_T}no" >&6
3566 fi
3567
3568
3569 enablestring=
3570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3571 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3572 no_cache=0
3573 # Check whether --enable-stl or --disable-stl was given.
3574 if test "${enable_stl+set}" = set; then
3575 enableval="$enable_stl"
3576
3577 if test "$enableval" = yes; then
3578 ac_cv_use_stl='wxUSE_STL=yes'
3579 else
3580 ac_cv_use_stl='wxUSE_STL=no'
3581 fi
3582
3583 else
3584
3585 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x ; then
3587 eval "DEFAULT_$LINE"
3588 else
3589 no_cache=1
3590 fi
3591
3592 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3593
3594 fi;
3595
3596 eval "$ac_cv_use_stl"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3599 fi
3600
3601 if test "$wxUSE_STL" = yes; then
3602 echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6
3604 else
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3607 fi
3608
3609 if test "$USE_OS2" = "1"; then
3610 DEFAULT_wxUSE_OMF=no
3611
3612 enablestring=
3613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3614 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3615 no_cache=0
3616 # Check whether --enable-omf or --disable-omf was given.
3617 if test "${enable_omf+set}" = set; then
3618 enableval="$enable_omf"
3619
3620 if test "$enableval" = yes; then
3621 ac_cv_use_omf='wxUSE_OMF=yes'
3622 else
3623 ac_cv_use_omf='wxUSE_OMF=no'
3624 fi
3625
3626 else
3627
3628 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3629 if test "x$LINE" != x ; then
3630 eval "DEFAULT_$LINE"
3631 else
3632 no_cache=1
3633 fi
3634
3635 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3636
3637 fi;
3638
3639 eval "$ac_cv_use_omf"
3640 if test "$no_cache" != 1; then
3641 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3642 fi
3643
3644 if test "$wxUSE_OMF" = yes; then
3645 echo "$as_me:$LINENO: result: yes" >&5
3646 echo "${ECHO_T}yes" >&6
3647 else
3648 echo "$as_me:$LINENO: result: no" >&5
3649 echo "${ECHO_T}no" >&6
3650 fi
3651
3652 fi
3653
3654 if test "$wxUSE_DEBUG" = "yes"; then
3655 DEFAULT_wxUSE_DEBUG_FLAG=yes
3656 DEFAULT_wxUSE_DEBUG_INFO=yes
3657 BUILD=debug
3658 elif test "$wxUSE_DEBUG" = "no"; then
3659 DEFAULT_wxUSE_DEBUG_FLAG=no
3660 DEFAULT_wxUSE_DEBUG_INFO=no
3661 BUILD=release
3662 fi
3663
3664
3665 enablestring=
3666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3667 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3668 no_cache=0
3669 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3670 if test "${enable_debug_flag+set}" = set; then
3671 enableval="$enable_debug_flag"
3672
3673 if test "$enableval" = yes; then
3674 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3675 else
3676 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3677 fi
3678
3679 else
3680
3681 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3682 if test "x$LINE" != x ; then
3683 eval "DEFAULT_$LINE"
3684 else
3685 no_cache=1
3686 fi
3687
3688 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3689
3690 fi;
3691
3692 eval "$ac_cv_use_debug_flag"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3695 fi
3696
3697 if test "$wxUSE_DEBUG_FLAG" = yes; then
3698 echo "$as_me:$LINENO: result: yes" >&5
3699 echo "${ECHO_T}yes" >&6
3700 else
3701 echo "$as_me:$LINENO: result: no" >&5
3702 echo "${ECHO_T}no" >&6
3703 fi
3704
3705
3706 enablestring=
3707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3708 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3709 no_cache=0
3710 # Check whether --enable-debug_info or --disable-debug_info was given.
3711 if test "${enable_debug_info+set}" = set; then
3712 enableval="$enable_debug_info"
3713
3714 if test "$enableval" = yes; then
3715 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3716 else
3717 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3718 fi
3719
3720 else
3721
3722 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3723 if test "x$LINE" != x ; then
3724 eval "DEFAULT_$LINE"
3725 else
3726 no_cache=1
3727 fi
3728
3729 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3730
3731 fi;
3732
3733 eval "$ac_cv_use_debug_info"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3736 fi
3737
3738 if test "$wxUSE_DEBUG_INFO" = yes; then
3739 echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6
3741 else
3742 echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6
3744 fi
3745
3746
3747 enablestring=
3748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3749 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3750 no_cache=0
3751 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3752 if test "${enable_debug_gdb+set}" = set; then
3753 enableval="$enable_debug_gdb"
3754
3755 if test "$enableval" = yes; then
3756 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3757 else
3758 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3759 fi
3760
3761 else
3762
3763 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3764 if test "x$LINE" != x ; then
3765 eval "DEFAULT_$LINE"
3766 else
3767 no_cache=1
3768 fi
3769
3770 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3771
3772 fi;
3773
3774 eval "$ac_cv_use_debug_gdb"
3775 if test "$no_cache" != 1; then
3776 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3777 fi
3778
3779 if test "$wxUSE_DEBUG_GDB" = yes; then
3780 echo "$as_me:$LINENO: result: yes" >&5
3781 echo "${ECHO_T}yes" >&6
3782 else
3783 echo "$as_me:$LINENO: result: no" >&5
3784 echo "${ECHO_T}no" >&6
3785 fi
3786
3787
3788 enablestring=
3789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3790 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3791 no_cache=0
3792 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3793 if test "${enable_debug_cntxt+set}" = set; then
3794 enableval="$enable_debug_cntxt"
3795
3796 if test "$enableval" = yes; then
3797 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3798 else
3799 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3800 fi
3801
3802 else
3803
3804 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3805 if test "x$LINE" != x ; then
3806 eval "DEFAULT_$LINE"
3807 else
3808 no_cache=1
3809 fi
3810
3811 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3812
3813 fi;
3814
3815 eval "$ac_cv_use_debug_cntxt"
3816 if test "$no_cache" != 1; then
3817 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3818 fi
3819
3820 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3821 echo "$as_me:$LINENO: result: yes" >&5
3822 echo "${ECHO_T}yes" >&6
3823 else
3824 echo "$as_me:$LINENO: result: no" >&5
3825 echo "${ECHO_T}no" >&6
3826 fi
3827
3828
3829 enablestring=
3830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3831 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3832 no_cache=0
3833 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3834 if test "${enable_mem_tracing+set}" = set; then
3835 enableval="$enable_mem_tracing"
3836
3837 if test "$enableval" = yes; then
3838 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3839 else
3840 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3841 fi
3842
3843 else
3844
3845 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3846 if test "x$LINE" != x ; then
3847 eval "DEFAULT_$LINE"
3848 else
3849 no_cache=1
3850 fi
3851
3852 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3853
3854 fi;
3855
3856 eval "$ac_cv_use_mem_tracing"
3857 if test "$no_cache" != 1; then
3858 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3859 fi
3860
3861 if test "$wxUSE_MEM_TRACING" = yes; then
3862 echo "$as_me:$LINENO: result: yes" >&5
3863 echo "${ECHO_T}yes" >&6
3864 else
3865 echo "$as_me:$LINENO: result: no" >&5
3866 echo "${ECHO_T}no" >&6
3867 fi
3868
3869
3870 enablestring=
3871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3872 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3873 no_cache=0
3874 # Check whether --enable-profile or --disable-profile was given.
3875 if test "${enable_profile+set}" = set; then
3876 enableval="$enable_profile"
3877
3878 if test "$enableval" = yes; then
3879 ac_cv_use_profile='wxUSE_PROFILE=yes'
3880 else
3881 ac_cv_use_profile='wxUSE_PROFILE=no'
3882 fi
3883
3884 else
3885
3886 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3887 if test "x$LINE" != x ; then
3888 eval "DEFAULT_$LINE"
3889 else
3890 no_cache=1
3891 fi
3892
3893 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3894
3895 fi;
3896
3897 eval "$ac_cv_use_profile"
3898 if test "$no_cache" != 1; then
3899 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3900 fi
3901
3902 if test "$wxUSE_PROFILE" = yes; then
3903 echo "$as_me:$LINENO: result: yes" >&5
3904 echo "${ECHO_T}yes" >&6
3905 else
3906 echo "$as_me:$LINENO: result: no" >&5
3907 echo "${ECHO_T}no" >&6
3908 fi
3909
3910
3911 enablestring=
3912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3913 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3914 no_cache=0
3915 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3916 if test "${enable_no_rtti+set}" = set; then
3917 enableval="$enable_no_rtti"
3918
3919 if test "$enableval" = yes; then
3920 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3921 else
3922 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3923 fi
3924
3925 else
3926
3927 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3928 if test "x$LINE" != x ; then
3929 eval "DEFAULT_$LINE"
3930 else
3931 no_cache=1
3932 fi
3933
3934 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3935
3936 fi;
3937
3938 eval "$ac_cv_use_no_rtti"
3939 if test "$no_cache" != 1; then
3940 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3941 fi
3942
3943 if test "$wxUSE_NO_RTTI" = yes; then
3944 echo "$as_me:$LINENO: result: yes" >&5
3945 echo "${ECHO_T}yes" >&6
3946 else
3947 echo "$as_me:$LINENO: result: no" >&5
3948 echo "${ECHO_T}no" >&6
3949 fi
3950
3951
3952 enablestring=
3953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3954 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3955 no_cache=0
3956 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3957 if test "${enable_no_exceptions+set}" = set; then
3958 enableval="$enable_no_exceptions"
3959
3960 if test "$enableval" = yes; then
3961 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3962 else
3963 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3964 fi
3965
3966 else
3967
3968 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3969 if test "x$LINE" != x ; then
3970 eval "DEFAULT_$LINE"
3971 else
3972 no_cache=1
3973 fi
3974
3975 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3976
3977 fi;
3978
3979 eval "$ac_cv_use_no_exceptions"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3982 fi
3983
3984 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3985 echo "$as_me:$LINENO: result: yes" >&5
3986 echo "${ECHO_T}yes" >&6
3987 else
3988 echo "$as_me:$LINENO: result: no" >&5
3989 echo "${ECHO_T}no" >&6
3990 fi
3991
3992
3993 enablestring=
3994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3995 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3996 no_cache=0
3997 # Check whether --enable-permissive or --disable-permissive was given.
3998 if test "${enable_permissive+set}" = set; then
3999 enableval="$enable_permissive"
4000
4001 if test "$enableval" = yes; then
4002 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4003 else
4004 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4005 fi
4006
4007 else
4008
4009 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4010 if test "x$LINE" != x ; then
4011 eval "DEFAULT_$LINE"
4012 else
4013 no_cache=1
4014 fi
4015
4016 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4017
4018 fi;
4019
4020 eval "$ac_cv_use_permissive"
4021 if test "$no_cache" != 1; then
4022 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4023 fi
4024
4025 if test "$wxUSE_PERMISSIVE" = yes; then
4026 echo "$as_me:$LINENO: result: yes" >&5
4027 echo "${ECHO_T}yes" >&6
4028 else
4029 echo "$as_me:$LINENO: result: no" >&5
4030 echo "${ECHO_T}no" >&6
4031 fi
4032
4033
4034 enablestring=
4035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4036 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4037 no_cache=0
4038 # Check whether --enable-no_deps or --disable-no_deps was given.
4039 if test "${enable_no_deps+set}" = set; then
4040 enableval="$enable_no_deps"
4041
4042 if test "$enableval" = yes; then
4043 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4044 else
4045 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4046 fi
4047
4048 else
4049
4050 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4051 if test "x$LINE" != x ; then
4052 eval "DEFAULT_$LINE"
4053 else
4054 no_cache=1
4055 fi
4056
4057 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4058
4059 fi;
4060
4061 eval "$ac_cv_use_no_deps"
4062 if test "$no_cache" != 1; then
4063 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4064 fi
4065
4066 if test "$wxUSE_NO_DEPS" = yes; then
4067 echo "$as_me:$LINENO: result: yes" >&5
4068 echo "${ECHO_T}yes" >&6
4069 else
4070 echo "$as_me:$LINENO: result: no" >&5
4071 echo "${ECHO_T}no" >&6
4072 fi
4073
4074
4075
4076 enablestring=
4077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4078 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4079 no_cache=0
4080 # Check whether --enable-compat22 or --disable-compat22 was given.
4081 if test "${enable_compat22+set}" = set; then
4082 enableval="$enable_compat22"
4083
4084 if test "$enableval" = yes; then
4085 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4086 else
4087 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4088 fi
4089
4090 else
4091
4092 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4093 if test "x$LINE" != x ; then
4094 eval "DEFAULT_$LINE"
4095 else
4096 no_cache=1
4097 fi
4098
4099 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4100
4101 fi;
4102
4103 eval "$ac_cv_use_compat22"
4104 if test "$no_cache" != 1; then
4105 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4106 fi
4107
4108 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4109 echo "$as_me:$LINENO: result: yes" >&5
4110 echo "${ECHO_T}yes" >&6
4111 else
4112 echo "$as_me:$LINENO: result: no" >&5
4113 echo "${ECHO_T}no" >&6
4114 fi
4115
4116
4117 enablestring=disable
4118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4119 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4120 no_cache=0
4121 # Check whether --enable-compat24 or --disable-compat24 was given.
4122 if test "${enable_compat24+set}" = set; then
4123 enableval="$enable_compat24"
4124
4125 if test "$enableval" = yes; then
4126 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4127 else
4128 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4129 fi
4130
4131 else
4132
4133 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4134 if test "x$LINE" != x ; then
4135 eval "DEFAULT_$LINE"
4136 else
4137 no_cache=1
4138 fi
4139
4140 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4141
4142 fi;
4143
4144 eval "$ac_cv_use_compat24"
4145 if test "$no_cache" != 1; then
4146 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4147 fi
4148
4149 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4150 echo "$as_me:$LINENO: result: yes" >&5
4151 echo "${ECHO_T}yes" >&6
4152 else
4153 echo "$as_me:$LINENO: result: no" >&5
4154 echo "${ECHO_T}no" >&6
4155 fi
4156
4157
4158
4159 enablestring=
4160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4161 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4162 no_cache=0
4163 # Check whether --enable-rpath or --disable-rpath was given.
4164 if test "${enable_rpath+set}" = set; then
4165 enableval="$enable_rpath"
4166
4167 if test "$enableval" = yes; then
4168 ac_cv_use_rpath='wxUSE_RPATH=yes'
4169 else
4170 ac_cv_use_rpath='wxUSE_RPATH=no'
4171 fi
4172
4173 else
4174
4175 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4176 if test "x$LINE" != x ; then
4177 eval "DEFAULT_$LINE"
4178 else
4179 no_cache=1
4180 fi
4181
4182 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4183
4184 fi;
4185
4186 eval "$ac_cv_use_rpath"
4187 if test "$no_cache" != 1; then
4188 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4189 fi
4190
4191 if test "$wxUSE_RPATH" = yes; then
4192 echo "$as_me:$LINENO: result: yes" >&5
4193 echo "${ECHO_T}yes" >&6
4194 else
4195 echo "$as_me:$LINENO: result: no" >&5
4196 echo "${ECHO_T}no" >&6
4197 fi
4198
4199
4200
4201
4202
4203 enablestring=
4204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4205 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4206 no_cache=0
4207 # Check whether --enable-intl or --disable-intl was given.
4208 if test "${enable_intl+set}" = set; then
4209 enableval="$enable_intl"
4210
4211 if test "$enableval" = yes; then
4212 ac_cv_use_intl='wxUSE_INTL=yes'
4213 else
4214 ac_cv_use_intl='wxUSE_INTL=no'
4215 fi
4216
4217 else
4218
4219 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4220 if test "x$LINE" != x ; then
4221 eval "DEFAULT_$LINE"
4222 else
4223 no_cache=1
4224 fi
4225
4226 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4227
4228 fi;
4229
4230 eval "$ac_cv_use_intl"
4231 if test "$no_cache" != 1; then
4232 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4233 fi
4234
4235 if test "$wxUSE_INTL" = yes; then
4236 echo "$as_me:$LINENO: result: yes" >&5
4237 echo "${ECHO_T}yes" >&6
4238 else
4239 echo "$as_me:$LINENO: result: no" >&5
4240 echo "${ECHO_T}no" >&6
4241 fi
4242
4243
4244 enablestring=
4245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4246 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4247 no_cache=0
4248 # Check whether --enable-config or --disable-config was given.
4249 if test "${enable_config+set}" = set; then
4250 enableval="$enable_config"
4251
4252 if test "$enableval" = yes; then
4253 ac_cv_use_config='wxUSE_CONFIG=yes'
4254 else
4255 ac_cv_use_config='wxUSE_CONFIG=no'
4256 fi
4257
4258 else
4259
4260 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4261 if test "x$LINE" != x ; then
4262 eval "DEFAULT_$LINE"
4263 else
4264 no_cache=1
4265 fi
4266
4267 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4268
4269 fi;
4270
4271 eval "$ac_cv_use_config"
4272 if test "$no_cache" != 1; then
4273 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4274 fi
4275
4276 if test "$wxUSE_CONFIG" = yes; then
4277 echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6
4279 else
4280 echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4282 fi
4283
4284
4285
4286 enablestring=
4287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4288 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4289 no_cache=0
4290 # Check whether --enable-protocols or --disable-protocols was given.
4291 if test "${enable_protocols+set}" = set; then
4292 enableval="$enable_protocols"
4293
4294 if test "$enableval" = yes; then
4295 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4296 else
4297 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4298 fi
4299
4300 else
4301
4302 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x ; then
4304 eval "DEFAULT_$LINE"
4305 else
4306 no_cache=1
4307 fi
4308
4309 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4310
4311 fi;
4312
4313 eval "$ac_cv_use_protocols"
4314 if test "$no_cache" != 1; then
4315 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4316 fi
4317
4318 if test "$wxUSE_PROTOCOL" = yes; then
4319 echo "$as_me:$LINENO: result: yes" >&5
4320 echo "${ECHO_T}yes" >&6
4321 else
4322 echo "$as_me:$LINENO: result: no" >&5
4323 echo "${ECHO_T}no" >&6
4324 fi
4325
4326
4327 enablestring=
4328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4329 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4330 no_cache=0
4331 # Check whether --enable-ftp or --disable-ftp was given.
4332 if test "${enable_ftp+set}" = set; then
4333 enableval="$enable_ftp"
4334
4335 if test "$enableval" = yes; then
4336 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4337 else
4338 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4339 fi
4340
4341 else
4342
4343 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4344 if test "x$LINE" != x ; then
4345 eval "DEFAULT_$LINE"
4346 else
4347 no_cache=1
4348 fi
4349
4350 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4351
4352 fi;
4353
4354 eval "$ac_cv_use_ftp"
4355 if test "$no_cache" != 1; then
4356 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4357 fi
4358
4359 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4360 echo "$as_me:$LINENO: result: yes" >&5
4361 echo "${ECHO_T}yes" >&6
4362 else
4363 echo "$as_me:$LINENO: result: no" >&5
4364 echo "${ECHO_T}no" >&6
4365 fi
4366
4367
4368 enablestring=
4369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4370 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4371 no_cache=0
4372 # Check whether --enable-http or --disable-http was given.
4373 if test "${enable_http+set}" = set; then
4374 enableval="$enable_http"
4375
4376 if test "$enableval" = yes; then
4377 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4378 else
4379 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4380 fi
4381
4382 else
4383
4384 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x ; then
4386 eval "DEFAULT_$LINE"
4387 else
4388 no_cache=1
4389 fi
4390
4391 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4392
4393 fi;
4394
4395 eval "$ac_cv_use_http"
4396 if test "$no_cache" != 1; then
4397 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4398 fi
4399
4400 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4401 echo "$as_me:$LINENO: result: yes" >&5
4402 echo "${ECHO_T}yes" >&6
4403 else
4404 echo "$as_me:$LINENO: result: no" >&5
4405 echo "${ECHO_T}no" >&6
4406 fi
4407
4408
4409 enablestring=
4410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4411 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4412 no_cache=0
4413 # Check whether --enable-fileproto or --disable-fileproto was given.
4414 if test "${enable_fileproto+set}" = set; then
4415 enableval="$enable_fileproto"
4416
4417 if test "$enableval" = yes; then
4418 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4419 else
4420 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4421 fi
4422
4423 else
4424
4425 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4426 if test "x$LINE" != x ; then
4427 eval "DEFAULT_$LINE"
4428 else
4429 no_cache=1
4430 fi
4431
4432 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4433
4434 fi;
4435
4436 eval "$ac_cv_use_fileproto"
4437 if test "$no_cache" != 1; then
4438 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4439 fi
4440
4441 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4442 echo "$as_me:$LINENO: result: yes" >&5
4443 echo "${ECHO_T}yes" >&6
4444 else
4445 echo "$as_me:$LINENO: result: no" >&5
4446 echo "${ECHO_T}no" >&6
4447 fi
4448
4449
4450 enablestring=
4451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4452 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4453 no_cache=0
4454 # Check whether --enable-sockets or --disable-sockets was given.
4455 if test "${enable_sockets+set}" = set; then
4456 enableval="$enable_sockets"
4457
4458 if test "$enableval" = yes; then
4459 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4460 else
4461 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4462 fi
4463
4464 else
4465
4466 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4467 if test "x$LINE" != x ; then
4468 eval "DEFAULT_$LINE"
4469 else
4470 no_cache=1
4471 fi
4472
4473 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4474
4475 fi;
4476
4477 eval "$ac_cv_use_sockets"
4478 if test "$no_cache" != 1; then
4479 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4480 fi
4481
4482 if test "$wxUSE_SOCKETS" = yes; then
4483 echo "$as_me:$LINENO: result: yes" >&5
4484 echo "${ECHO_T}yes" >&6
4485 else
4486 echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6
4488 fi
4489
4490
4491 enablestring=
4492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4493 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4494 no_cache=0
4495 # Check whether --enable-ole or --disable-ole was given.
4496 if test "${enable_ole+set}" = set; then
4497 enableval="$enable_ole"
4498
4499 if test "$enableval" = yes; then
4500 ac_cv_use_ole='wxUSE_OLE=yes'
4501 else
4502 ac_cv_use_ole='wxUSE_OLE=no'
4503 fi
4504
4505 else
4506
4507 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4508 if test "x$LINE" != x ; then
4509 eval "DEFAULT_$LINE"
4510 else
4511 no_cache=1
4512 fi
4513
4514 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4515
4516 fi;
4517
4518 eval "$ac_cv_use_ole"
4519 if test "$no_cache" != 1; then
4520 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4521 fi
4522
4523 if test "$wxUSE_OLE" = yes; then
4524 echo "$as_me:$LINENO: result: yes" >&5
4525 echo "${ECHO_T}yes" >&6
4526 else
4527 echo "$as_me:$LINENO: result: no" >&5
4528 echo "${ECHO_T}no" >&6
4529 fi
4530
4531
4532 enablestring=
4533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4535 no_cache=0
4536 # Check whether --enable-dataobj or --disable-dataobj was given.
4537 if test "${enable_dataobj+set}" = set; then
4538 enableval="$enable_dataobj"
4539
4540 if test "$enableval" = yes; then
4541 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4542 else
4543 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4544 fi
4545
4546 else
4547
4548 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x ; then
4550 eval "DEFAULT_$LINE"
4551 else
4552 no_cache=1
4553 fi
4554
4555 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4556
4557 fi;
4558
4559 eval "$ac_cv_use_dataobj"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4562 fi
4563
4564 if test "$wxUSE_DATAOBJ" = yes; then
4565 echo "$as_me:$LINENO: result: yes" >&5
4566 echo "${ECHO_T}yes" >&6
4567 else
4568 echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6
4570 fi
4571
4572
4573
4574 enablestring=
4575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4576 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4577 no_cache=0
4578 # Check whether --enable-ipc or --disable-ipc was given.
4579 if test "${enable_ipc+set}" = set; then
4580 enableval="$enable_ipc"
4581
4582 if test "$enableval" = yes; then
4583 ac_cv_use_ipc='wxUSE_IPC=yes'
4584 else
4585 ac_cv_use_ipc='wxUSE_IPC=no'
4586 fi
4587
4588 else
4589
4590 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4591 if test "x$LINE" != x ; then
4592 eval "DEFAULT_$LINE"
4593 else
4594 no_cache=1
4595 fi
4596
4597 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4598
4599 fi;
4600
4601 eval "$ac_cv_use_ipc"
4602 if test "$no_cache" != 1; then
4603 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4604 fi
4605
4606 if test "$wxUSE_IPC" = yes; then
4607 echo "$as_me:$LINENO: result: yes" >&5
4608 echo "${ECHO_T}yes" >&6
4609 else
4610 echo "$as_me:$LINENO: result: no" >&5
4611 echo "${ECHO_T}no" >&6
4612 fi
4613
4614
4615
4616 enablestring=
4617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4618 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4619 no_cache=0
4620 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4621 if test "${enable_apple_ieee+set}" = set; then
4622 enableval="$enable_apple_ieee"
4623
4624 if test "$enableval" = yes; then
4625 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4626 else
4627 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4628 fi
4629
4630 else
4631
4632 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x ; then
4634 eval "DEFAULT_$LINE"
4635 else
4636 no_cache=1
4637 fi
4638
4639 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4640
4641 fi;
4642
4643 eval "$ac_cv_use_apple_ieee"
4644 if test "$no_cache" != 1; then
4645 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4646 fi
4647
4648 if test "$wxUSE_APPLE_IEEE" = yes; then
4649 echo "$as_me:$LINENO: result: yes" >&5
4650 echo "${ECHO_T}yes" >&6
4651 else
4652 echo "$as_me:$LINENO: result: no" >&5
4653 echo "${ECHO_T}no" >&6
4654 fi
4655
4656
4657 enablestring=
4658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4659 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4660 no_cache=0
4661 # Check whether --enable-arcstream or --disable-arcstream was given.
4662 if test "${enable_arcstream+set}" = set; then
4663 enableval="$enable_arcstream"
4664
4665 if test "$enableval" = yes; then
4666 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4667 else
4668 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4669 fi
4670
4671 else
4672
4673 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4674 if test "x$LINE" != x ; then
4675 eval "DEFAULT_$LINE"
4676 else
4677 no_cache=1
4678 fi
4679
4680 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4681
4682 fi;
4683
4684 eval "$ac_cv_use_arcstream"
4685 if test "$no_cache" != 1; then
4686 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4687 fi
4688
4689 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4690 echo "$as_me:$LINENO: result: yes" >&5
4691 echo "${ECHO_T}yes" >&6
4692 else
4693 echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6
4695 fi
4696
4697
4698 enablestring=
4699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4701 no_cache=0
4702 # Check whether --enable-backtrace or --disable-backtrace was given.
4703 if test "${enable_backtrace+set}" = set; then
4704 enableval="$enable_backtrace"
4705
4706 if test "$enableval" = yes; then
4707 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4708 else
4709 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4710 fi
4711
4712 else
4713
4714 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x ; then
4716 eval "DEFAULT_$LINE"
4717 else
4718 no_cache=1
4719 fi
4720
4721 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4722
4723 fi;
4724
4725 eval "$ac_cv_use_backtrace"
4726 if test "$no_cache" != 1; then
4727 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4728 fi
4729
4730 if test "$wxUSE_STACKWALKER" = yes; then
4731 echo "$as_me:$LINENO: result: yes" >&5
4732 echo "${ECHO_T}yes" >&6
4733 else
4734 echo "$as_me:$LINENO: result: no" >&5
4735 echo "${ECHO_T}no" >&6
4736 fi
4737
4738
4739 enablestring=
4740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4741 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4742 no_cache=0
4743 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4744 if test "${enable_catch_segvs+set}" = set; then
4745 enableval="$enable_catch_segvs"
4746
4747 if test "$enableval" = yes; then
4748 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4749 else
4750 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4751 fi
4752
4753 else
4754
4755 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4756 if test "x$LINE" != x ; then
4757 eval "DEFAULT_$LINE"
4758 else
4759 no_cache=1
4760 fi
4761
4762 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4763
4764 fi;
4765
4766 eval "$ac_cv_use_catch_segvs"
4767 if test "$no_cache" != 1; then
4768 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4769 fi
4770
4771 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4772 echo "$as_me:$LINENO: result: yes" >&5
4773 echo "${ECHO_T}yes" >&6
4774 else
4775 echo "$as_me:$LINENO: result: no" >&5
4776 echo "${ECHO_T}no" >&6
4777 fi
4778
4779
4780 enablestring=
4781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4782 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4783 no_cache=0
4784 # Check whether --enable-cmdline or --disable-cmdline was given.
4785 if test "${enable_cmdline+set}" = set; then
4786 enableval="$enable_cmdline"
4787
4788 if test "$enableval" = yes; then
4789 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4790 else
4791 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4792 fi
4793
4794 else
4795
4796 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x ; then
4798 eval "DEFAULT_$LINE"
4799 else
4800 no_cache=1
4801 fi
4802
4803 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4804
4805 fi;
4806
4807 eval "$ac_cv_use_cmdline"
4808 if test "$no_cache" != 1; then
4809 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4810 fi
4811
4812 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4813 echo "$as_me:$LINENO: result: yes" >&5
4814 echo "${ECHO_T}yes" >&6
4815 else
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4818 fi
4819
4820
4821 enablestring=
4822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4823 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4824 no_cache=0
4825 # Check whether --enable-datetime or --disable-datetime was given.
4826 if test "${enable_datetime+set}" = set; then
4827 enableval="$enable_datetime"
4828
4829 if test "$enableval" = yes; then
4830 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4831 else
4832 ac_cv_use_datetime='wxUSE_DATETIME=no'
4833 fi
4834
4835 else
4836
4837 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x ; then
4839 eval "DEFAULT_$LINE"
4840 else
4841 no_cache=1
4842 fi
4843
4844 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4845
4846 fi;
4847
4848 eval "$ac_cv_use_datetime"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4851 fi
4852
4853 if test "$wxUSE_DATETIME" = yes; then
4854 echo "$as_me:$LINENO: result: yes" >&5
4855 echo "${ECHO_T}yes" >&6
4856 else
4857 echo "$as_me:$LINENO: result: no" >&5
4858 echo "${ECHO_T}no" >&6
4859 fi
4860
4861
4862 enablestring=
4863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4864 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4865 no_cache=0
4866 # Check whether --enable-debugreport or --disable-debugreport was given.
4867 if test "${enable_debugreport+set}" = set; then
4868 enableval="$enable_debugreport"
4869
4870 if test "$enableval" = yes; then
4871 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4872 else
4873 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4874 fi
4875
4876 else
4877
4878 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x ; then
4880 eval "DEFAULT_$LINE"
4881 else
4882 no_cache=1
4883 fi
4884
4885 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4886
4887 fi;
4888
4889 eval "$ac_cv_use_debugreport"
4890 if test "$no_cache" != 1; then
4891 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4892 fi
4893
4894 if test "$wxUSE_DEBUGREPORT" = yes; then
4895 echo "$as_me:$LINENO: result: yes" >&5
4896 echo "${ECHO_T}yes" >&6
4897 else
4898 echo "$as_me:$LINENO: result: no" >&5
4899 echo "${ECHO_T}no" >&6
4900 fi
4901
4902
4903 enablestring=
4904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4905 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4906 no_cache=0
4907 # Check whether --enable-dialupman or --disable-dialupman was given.
4908 if test "${enable_dialupman+set}" = set; then
4909 enableval="$enable_dialupman"
4910
4911 if test "$enableval" = yes; then
4912 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4913 else
4914 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4915 fi
4916
4917 else
4918
4919 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4922 else
4923 no_cache=1
4924 fi
4925
4926 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4927
4928 fi;
4929
4930 eval "$ac_cv_use_dialupman"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4933 fi
4934
4935 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4936 echo "$as_me:$LINENO: result: yes" >&5
4937 echo "${ECHO_T}yes" >&6
4938 else
4939 echo "$as_me:$LINENO: result: no" >&5
4940 echo "${ECHO_T}no" >&6
4941 fi
4942
4943
4944 enablestring=
4945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4947 no_cache=0
4948 # Check whether --enable-dynlib or --disable-dynlib was given.
4949 if test "${enable_dynlib+set}" = set; then
4950 enableval="$enable_dynlib"
4951
4952 if test "$enableval" = yes; then
4953 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4954 else
4955 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4956 fi
4957
4958 else
4959
4960 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x ; then
4962 eval "DEFAULT_$LINE"
4963 else
4964 no_cache=1
4965 fi
4966
4967 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4968
4969 fi;
4970
4971 eval "$ac_cv_use_dynlib"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4974 fi
4975
4976 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4977 echo "$as_me:$LINENO: result: yes" >&5
4978 echo "${ECHO_T}yes" >&6
4979 else
4980 echo "$as_me:$LINENO: result: no" >&5
4981 echo "${ECHO_T}no" >&6
4982 fi
4983
4984
4985 enablestring=
4986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4987 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4988 no_cache=0
4989 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4990 if test "${enable_dynamicloader+set}" = set; then
4991 enableval="$enable_dynamicloader"
4992
4993 if test "$enableval" = yes; then
4994 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4995 else
4996 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4997 fi
4998
4999 else
5000
5001 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5002 if test "x$LINE" != x ; then
5003 eval "DEFAULT_$LINE"
5004 else
5005 no_cache=1
5006 fi
5007
5008 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5009
5010 fi;
5011
5012 eval "$ac_cv_use_dynamicloader"
5013 if test "$no_cache" != 1; then
5014 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5015 fi
5016
5017 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5018 echo "$as_me:$LINENO: result: yes" >&5
5019 echo "${ECHO_T}yes" >&6
5020 else
5021 echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6
5023 fi
5024
5025
5026 enablestring=
5027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5028 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5029 no_cache=0
5030 # Check whether --enable-exceptions or --disable-exceptions was given.
5031 if test "${enable_exceptions+set}" = set; then
5032 enableval="$enable_exceptions"
5033
5034 if test "$enableval" = yes; then
5035 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5036 else
5037 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5038 fi
5039
5040 else
5041
5042 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5043 if test "x$LINE" != x ; then
5044 eval "DEFAULT_$LINE"
5045 else
5046 no_cache=1
5047 fi
5048
5049 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5050
5051 fi;
5052
5053 eval "$ac_cv_use_exceptions"
5054 if test "$no_cache" != 1; then
5055 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5056 fi
5057
5058 if test "$wxUSE_EXCEPTIONS" = yes; then
5059 echo "$as_me:$LINENO: result: yes" >&5
5060 echo "${ECHO_T}yes" >&6
5061 else
5062 echo "$as_me:$LINENO: result: no" >&5
5063 echo "${ECHO_T}no" >&6
5064 fi
5065
5066
5067 enablestring=
5068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5070 no_cache=0
5071 # Check whether --enable-ffile or --disable-ffile was given.
5072 if test "${enable_ffile+set}" = set; then
5073 enableval="$enable_ffile"
5074
5075 if test "$enableval" = yes; then
5076 ac_cv_use_ffile='wxUSE_FFILE=yes'
5077 else
5078 ac_cv_use_ffile='wxUSE_FFILE=no'
5079 fi
5080
5081 else
5082
5083 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x ; then
5085 eval "DEFAULT_$LINE"
5086 else
5087 no_cache=1
5088 fi
5089
5090 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5091
5092 fi;
5093
5094 eval "$ac_cv_use_ffile"
5095 if test "$no_cache" != 1; then
5096 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5097 fi
5098
5099 if test "$wxUSE_FFILE" = yes; then
5100 echo "$as_me:$LINENO: result: yes" >&5
5101 echo "${ECHO_T}yes" >&6
5102 else
5103 echo "$as_me:$LINENO: result: no" >&5
5104 echo "${ECHO_T}no" >&6
5105 fi
5106
5107
5108 enablestring=
5109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5110 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5111 no_cache=0
5112 # Check whether --enable-file or --disable-file was given.
5113 if test "${enable_file+set}" = set; then
5114 enableval="$enable_file"
5115
5116 if test "$enableval" = yes; then
5117 ac_cv_use_file='wxUSE_FILE=yes'
5118 else
5119 ac_cv_use_file='wxUSE_FILE=no'
5120 fi
5121
5122 else
5123
5124 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x ; then
5126 eval "DEFAULT_$LINE"
5127 else
5128 no_cache=1
5129 fi
5130
5131 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5132
5133 fi;
5134
5135 eval "$ac_cv_use_file"
5136 if test "$no_cache" != 1; then
5137 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5138 fi
5139
5140 if test "$wxUSE_FILE" = yes; then
5141 echo "$as_me:$LINENO: result: yes" >&5
5142 echo "${ECHO_T}yes" >&6
5143 else
5144 echo "$as_me:$LINENO: result: no" >&5
5145 echo "${ECHO_T}no" >&6
5146 fi
5147
5148
5149 enablestring=
5150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5151 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5152 no_cache=0
5153 # Check whether --enable-filesystem or --disable-filesystem was given.
5154 if test "${enable_filesystem+set}" = set; then
5155 enableval="$enable_filesystem"
5156
5157 if test "$enableval" = yes; then
5158 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5159 else
5160 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5161 fi
5162
5163 else
5164
5165 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5166 if test "x$LINE" != x ; then
5167 eval "DEFAULT_$LINE"
5168 else
5169 no_cache=1
5170 fi
5171
5172 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5173
5174 fi;
5175
5176 eval "$ac_cv_use_filesystem"
5177 if test "$no_cache" != 1; then
5178 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5179 fi
5180
5181 if test "$wxUSE_FILESYSTEM" = yes; then
5182 echo "$as_me:$LINENO: result: yes" >&5
5183 echo "${ECHO_T}yes" >&6
5184 else
5185 echo "$as_me:$LINENO: result: no" >&5
5186 echo "${ECHO_T}no" >&6
5187 fi
5188
5189
5190 enablestring=
5191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5192 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5193 no_cache=0
5194 # Check whether --enable-fontmap or --disable-fontmap was given.
5195 if test "${enable_fontmap+set}" = set; then
5196 enableval="$enable_fontmap"
5197
5198 if test "$enableval" = yes; then
5199 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5200 else
5201 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5202 fi
5203
5204 else
5205
5206 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5207 if test "x$LINE" != x ; then
5208 eval "DEFAULT_$LINE"
5209 else
5210 no_cache=1
5211 fi
5212
5213 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5214
5215 fi;
5216
5217 eval "$ac_cv_use_fontmap"
5218 if test "$no_cache" != 1; then
5219 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5220 fi
5221
5222 if test "$wxUSE_FONTMAP" = yes; then
5223 echo "$as_me:$LINENO: result: yes" >&5
5224 echo "${ECHO_T}yes" >&6
5225 else
5226 echo "$as_me:$LINENO: result: no" >&5
5227 echo "${ECHO_T}no" >&6
5228 fi
5229
5230
5231 enablestring=
5232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5233 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5234 no_cache=0
5235 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5236 if test "${enable_fs_inet+set}" = set; then
5237 enableval="$enable_fs_inet"
5238
5239 if test "$enableval" = yes; then
5240 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5241 else
5242 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5243 fi
5244
5245 else
5246
5247 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5248 if test "x$LINE" != x ; then
5249 eval "DEFAULT_$LINE"
5250 else
5251 no_cache=1
5252 fi
5253
5254 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5255
5256 fi;
5257
5258 eval "$ac_cv_use_fs_inet"
5259 if test "$no_cache" != 1; then
5260 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5261 fi
5262
5263 if test "$wxUSE_FS_INET" = yes; then
5264 echo "$as_me:$LINENO: result: yes" >&5
5265 echo "${ECHO_T}yes" >&6
5266 else
5267 echo "$as_me:$LINENO: result: no" >&5
5268 echo "${ECHO_T}no" >&6
5269 fi
5270
5271
5272 enablestring=
5273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5275 no_cache=0
5276 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5277 if test "${enable_fs_zip+set}" = set; then
5278 enableval="$enable_fs_zip"
5279
5280 if test "$enableval" = yes; then
5281 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5282 else
5283 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5284 fi
5285
5286 else
5287
5288 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5289 if test "x$LINE" != x ; then
5290 eval "DEFAULT_$LINE"
5291 else
5292 no_cache=1
5293 fi
5294
5295 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5296
5297 fi;
5298
5299 eval "$ac_cv_use_fs_zip"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5302 fi
5303
5304 if test "$wxUSE_FS_ZIP" = yes; then
5305 echo "$as_me:$LINENO: result: yes" >&5
5306 echo "${ECHO_T}yes" >&6
5307 else
5308 echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6
5310 fi
5311
5312
5313 enablestring=
5314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5316 no_cache=0
5317 # Check whether --enable-geometry or --disable-geometry was given.
5318 if test "${enable_geometry+set}" = set; then
5319 enableval="$enable_geometry"
5320
5321 if test "$enableval" = yes; then
5322 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5323 else
5324 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5325 fi
5326
5327 else
5328
5329 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5330 if test "x$LINE" != x ; then
5331 eval "DEFAULT_$LINE"
5332 else
5333 no_cache=1
5334 fi
5335
5336 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5337
5338 fi;
5339
5340 eval "$ac_cv_use_geometry"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5343 fi
5344
5345 if test "$wxUSE_GEOMETRY" = yes; then
5346 echo "$as_me:$LINENO: result: yes" >&5
5347 echo "${ECHO_T}yes" >&6
5348 else
5349 echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6
5351 fi
5352
5353
5354 enablestring=
5355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5357 no_cache=0
5358 # Check whether --enable-log or --disable-log was given.
5359 if test "${enable_log+set}" = set; then
5360 enableval="$enable_log"
5361
5362 if test "$enableval" = yes; then
5363 ac_cv_use_log='wxUSE_LOG=yes'
5364 else
5365 ac_cv_use_log='wxUSE_LOG=no'
5366 fi
5367
5368 else
5369
5370 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x ; then
5372 eval "DEFAULT_$LINE"
5373 else
5374 no_cache=1
5375 fi
5376
5377 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5378
5379 fi;
5380
5381 eval "$ac_cv_use_log"
5382 if test "$no_cache" != 1; then
5383 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5384 fi
5385
5386 if test "$wxUSE_LOG" = yes; then
5387 echo "$as_me:$LINENO: result: yes" >&5
5388 echo "${ECHO_T}yes" >&6
5389 else
5390 echo "$as_me:$LINENO: result: no" >&5
5391 echo "${ECHO_T}no" >&6
5392 fi
5393
5394
5395 enablestring=
5396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5397 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5398 no_cache=0
5399 # Check whether --enable-longlong or --disable-longlong was given.
5400 if test "${enable_longlong+set}" = set; then
5401 enableval="$enable_longlong"
5402
5403 if test "$enableval" = yes; then
5404 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5405 else
5406 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5407 fi
5408
5409 else
5410
5411 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5412 if test "x$LINE" != x ; then
5413 eval "DEFAULT_$LINE"
5414 else
5415 no_cache=1
5416 fi
5417
5418 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5419
5420 fi;
5421
5422 eval "$ac_cv_use_longlong"
5423 if test "$no_cache" != 1; then
5424 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5425 fi
5426
5427 if test "$wxUSE_LONGLONG" = yes; then
5428 echo "$as_me:$LINENO: result: yes" >&5
5429 echo "${ECHO_T}yes" >&6
5430 else
5431 echo "$as_me:$LINENO: result: no" >&5
5432 echo "${ECHO_T}no" >&6
5433 fi
5434
5435
5436 enablestring=
5437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5438 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5439 no_cache=0
5440 # Check whether --enable-mimetype or --disable-mimetype was given.
5441 if test "${enable_mimetype+set}" = set; then
5442 enableval="$enable_mimetype"
5443
5444 if test "$enableval" = yes; then
5445 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5446 else
5447 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5448 fi
5449
5450 else
5451
5452 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x ; then
5454 eval "DEFAULT_$LINE"
5455 else
5456 no_cache=1
5457 fi
5458
5459 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5460
5461 fi;
5462
5463 eval "$ac_cv_use_mimetype"
5464 if test "$no_cache" != 1; then
5465 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5466 fi
5467
5468 if test "$wxUSE_MIMETYPE" = yes; then
5469 echo "$as_me:$LINENO: result: yes" >&5
5470 echo "${ECHO_T}yes" >&6
5471 else
5472 echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6
5474 fi
5475
5476
5477 enablestring=
5478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5479 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5480 no_cache=0
5481 # Check whether --enable-mslu or --disable-mslu was given.
5482 if test "${enable_mslu+set}" = set; then
5483 enableval="$enable_mslu"
5484
5485 if test "$enableval" = yes; then
5486 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5487 else
5488 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5489 fi
5490
5491 else
5492
5493 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5494 if test "x$LINE" != x ; then
5495 eval "DEFAULT_$LINE"
5496 else
5497 no_cache=1
5498 fi
5499
5500 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5501
5502 fi;
5503
5504 eval "$ac_cv_use_mslu"
5505 if test "$no_cache" != 1; then
5506 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5507 fi
5508
5509 if test "$wxUSE_UNICODE_MSLU" = yes; then
5510 echo "$as_me:$LINENO: result: yes" >&5
5511 echo "${ECHO_T}yes" >&6
5512 else
5513 echo "$as_me:$LINENO: result: no" >&5
5514 echo "${ECHO_T}no" >&6
5515 fi
5516
5517
5518 enablestring=
5519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5520 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5521 no_cache=0
5522 # Check whether --enable-snglinst or --disable-snglinst was given.
5523 if test "${enable_snglinst+set}" = set; then
5524 enableval="$enable_snglinst"
5525
5526 if test "$enableval" = yes; then
5527 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5528 else
5529 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5530 fi
5531
5532 else
5533
5534 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5535 if test "x$LINE" != x ; then
5536 eval "DEFAULT_$LINE"
5537 else
5538 no_cache=1
5539 fi
5540
5541 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5542
5543 fi;
5544
5545 eval "$ac_cv_use_snglinst"
5546 if test "$no_cache" != 1; then
5547 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5548 fi
5549
5550 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5551 echo "$as_me:$LINENO: result: yes" >&5
5552 echo "${ECHO_T}yes" >&6
5553 else
5554 echo "$as_me:$LINENO: result: no" >&5
5555 echo "${ECHO_T}no" >&6
5556 fi
5557
5558
5559 enablestring=
5560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5561 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5562 no_cache=0
5563 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5564 if test "${enable_std_iostreams+set}" = set; then
5565 enableval="$enable_std_iostreams"
5566
5567 if test "$enableval" = yes; then
5568 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5569 else
5570 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5571 fi
5572
5573 else
5574
5575 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5576 if test "x$LINE" != x ; then
5577 eval "DEFAULT_$LINE"
5578 else
5579 no_cache=1
5580 fi
5581
5582 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5583
5584 fi;
5585
5586 eval "$ac_cv_use_std_iostreams"
5587 if test "$no_cache" != 1; then
5588 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5589 fi
5590
5591 if test "$wxUSE_STD_IOSTREAM" = yes; then
5592 echo "$as_me:$LINENO: result: yes" >&5
5593 echo "${ECHO_T}yes" >&6
5594 else
5595 echo "$as_me:$LINENO: result: no" >&5
5596 echo "${ECHO_T}no" >&6
5597 fi
5598
5599
5600 enablestring=
5601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5602 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5603 no_cache=0
5604 # Check whether --enable-std_string or --disable-std_string was given.
5605 if test "${enable_std_string+set}" = set; then
5606 enableval="$enable_std_string"
5607
5608 if test "$enableval" = yes; then
5609 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5610 else
5611 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5612 fi
5613
5614 else
5615
5616 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5617 if test "x$LINE" != x ; then
5618 eval "DEFAULT_$LINE"
5619 else
5620 no_cache=1
5621 fi
5622
5623 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5624
5625 fi;
5626
5627 eval "$ac_cv_use_std_string"
5628 if test "$no_cache" != 1; then
5629 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5630 fi
5631
5632 if test "$wxUSE_STD_STRING" = yes; then
5633 echo "$as_me:$LINENO: result: yes" >&5
5634 echo "${ECHO_T}yes" >&6
5635 else
5636 echo "$as_me:$LINENO: result: no" >&5
5637 echo "${ECHO_T}no" >&6
5638 fi
5639
5640
5641 enablestring=
5642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5643 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5644 no_cache=0
5645 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5646 if test "${enable_stdpaths+set}" = set; then
5647 enableval="$enable_stdpaths"
5648
5649 if test "$enableval" = yes; then
5650 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5651 else
5652 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5653 fi
5654
5655 else
5656
5657 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5658 if test "x$LINE" != x ; then
5659 eval "DEFAULT_$LINE"
5660 else
5661 no_cache=1
5662 fi
5663
5664 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5665
5666 fi;
5667
5668 eval "$ac_cv_use_stdpaths"
5669 if test "$no_cache" != 1; then
5670 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5671 fi
5672
5673 if test "$wxUSE_STDPATHS" = yes; then
5674 echo "$as_me:$LINENO: result: yes" >&5
5675 echo "${ECHO_T}yes" >&6
5676 else
5677 echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6
5679 fi
5680
5681
5682 enablestring=
5683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5684 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5685 no_cache=0
5686 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5687 if test "${enable_stopwatch+set}" = set; then
5688 enableval="$enable_stopwatch"
5689
5690 if test "$enableval" = yes; then
5691 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5692 else
5693 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5694 fi
5695
5696 else
5697
5698 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5699 if test "x$LINE" != x ; then
5700 eval "DEFAULT_$LINE"
5701 else
5702 no_cache=1
5703 fi
5704
5705 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5706
5707 fi;
5708
5709 eval "$ac_cv_use_stopwatch"
5710 if test "$no_cache" != 1; then
5711 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5712 fi
5713
5714 if test "$wxUSE_STOPWATCH" = yes; then
5715 echo "$as_me:$LINENO: result: yes" >&5
5716 echo "${ECHO_T}yes" >&6
5717 else
5718 echo "$as_me:$LINENO: result: no" >&5
5719 echo "${ECHO_T}no" >&6
5720 fi
5721
5722
5723 enablestring=
5724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5725 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5726 no_cache=0
5727 # Check whether --enable-streams or --disable-streams was given.
5728 if test "${enable_streams+set}" = set; then
5729 enableval="$enable_streams"
5730
5731 if test "$enableval" = yes; then
5732 ac_cv_use_streams='wxUSE_STREAMS=yes'
5733 else
5734 ac_cv_use_streams='wxUSE_STREAMS=no'
5735 fi
5736
5737 else
5738
5739 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5740 if test "x$LINE" != x ; then
5741 eval "DEFAULT_$LINE"
5742 else
5743 no_cache=1
5744 fi
5745
5746 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5747
5748 fi;
5749
5750 eval "$ac_cv_use_streams"
5751 if test "$no_cache" != 1; then
5752 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5753 fi
5754
5755 if test "$wxUSE_STREAMS" = yes; then
5756 echo "$as_me:$LINENO: result: yes" >&5
5757 echo "${ECHO_T}yes" >&6
5758 else
5759 echo "$as_me:$LINENO: result: no" >&5
5760 echo "${ECHO_T}no" >&6
5761 fi
5762
5763
5764 enablestring=
5765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5766 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5767 no_cache=0
5768 # Check whether --enable-system_options or --disable-system_options was given.
5769 if test "${enable_system_options+set}" = set; then
5770 enableval="$enable_system_options"
5771
5772 if test "$enableval" = yes; then
5773 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5774 else
5775 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5776 fi
5777
5778 else
5779
5780 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5781 if test "x$LINE" != x ; then
5782 eval "DEFAULT_$LINE"
5783 else
5784 no_cache=1
5785 fi
5786
5787 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5788
5789 fi;
5790
5791 eval "$ac_cv_use_system_options"
5792 if test "$no_cache" != 1; then
5793 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5794 fi
5795
5796 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5797 echo "$as_me:$LINENO: result: yes" >&5
5798 echo "${ECHO_T}yes" >&6
5799 else
5800 echo "$as_me:$LINENO: result: no" >&5
5801 echo "${ECHO_T}no" >&6
5802 fi
5803
5804
5805 enablestring=
5806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5807 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5808 no_cache=0
5809 # Check whether --enable-textbuf or --disable-textbuf was given.
5810 if test "${enable_textbuf+set}" = set; then
5811 enableval="$enable_textbuf"
5812
5813 if test "$enableval" = yes; then
5814 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5815 else
5816 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5817 fi
5818
5819 else
5820
5821 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5822 if test "x$LINE" != x ; then
5823 eval "DEFAULT_$LINE"
5824 else
5825 no_cache=1
5826 fi
5827
5828 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5829
5830 fi;
5831
5832 eval "$ac_cv_use_textbuf"
5833 if test "$no_cache" != 1; then
5834 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5835 fi
5836
5837 if test "$wxUSE_TEXTBUFFER" = yes; then
5838 echo "$as_me:$LINENO: result: yes" >&5
5839 echo "${ECHO_T}yes" >&6
5840 else
5841 echo "$as_me:$LINENO: result: no" >&5
5842 echo "${ECHO_T}no" >&6
5843 fi
5844
5845
5846 enablestring=
5847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5849 no_cache=0
5850 # Check whether --enable-textfile or --disable-textfile was given.
5851 if test "${enable_textfile+set}" = set; then
5852 enableval="$enable_textfile"
5853
5854 if test "$enableval" = yes; then
5855 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5856 else
5857 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5858 fi
5859
5860 else
5861
5862 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5863 if test "x$LINE" != x ; then
5864 eval "DEFAULT_$LINE"
5865 else
5866 no_cache=1
5867 fi
5868
5869 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5870
5871 fi;
5872
5873 eval "$ac_cv_use_textfile"
5874 if test "$no_cache" != 1; then
5875 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5876 fi
5877
5878 if test "$wxUSE_TEXTFILE" = yes; then
5879 echo "$as_me:$LINENO: result: yes" >&5
5880 echo "${ECHO_T}yes" >&6
5881 else
5882 echo "$as_me:$LINENO: result: no" >&5
5883 echo "${ECHO_T}no" >&6
5884 fi
5885
5886
5887 enablestring=
5888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5890 no_cache=0
5891 # Check whether --enable-timer or --disable-timer was given.
5892 if test "${enable_timer+set}" = set; then
5893 enableval="$enable_timer"
5894
5895 if test "$enableval" = yes; then
5896 ac_cv_use_timer='wxUSE_TIMER=yes'
5897 else
5898 ac_cv_use_timer='wxUSE_TIMER=no'
5899 fi
5900
5901 else
5902
5903 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5904 if test "x$LINE" != x ; then
5905 eval "DEFAULT_$LINE"
5906 else
5907 no_cache=1
5908 fi
5909
5910 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5911
5912 fi;
5913
5914 eval "$ac_cv_use_timer"
5915 if test "$no_cache" != 1; then
5916 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5917 fi
5918
5919 if test "$wxUSE_TIMER" = yes; then
5920 echo "$as_me:$LINENO: result: yes" >&5
5921 echo "${ECHO_T}yes" >&6
5922 else
5923 echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6
5925 fi
5926
5927
5928 enablestring=
5929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5930 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5931 no_cache=0
5932 # Check whether --enable-unicode or --disable-unicode was given.
5933 if test "${enable_unicode+set}" = set; then
5934 enableval="$enable_unicode"
5935
5936 if test "$enableval" = yes; then
5937 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5938 else
5939 ac_cv_use_unicode='wxUSE_UNICODE=no'
5940 fi
5941
5942 else
5943
5944 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5945 if test "x$LINE" != x ; then
5946 eval "DEFAULT_$LINE"
5947 else
5948 no_cache=1
5949 fi
5950
5951 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5952
5953 fi;
5954
5955 eval "$ac_cv_use_unicode"
5956 if test "$no_cache" != 1; then
5957 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5958 fi
5959
5960 if test "$wxUSE_UNICODE" = yes; then
5961 echo "$as_me:$LINENO: result: yes" >&5
5962 echo "${ECHO_T}yes" >&6
5963 else
5964 echo "$as_me:$LINENO: result: no" >&5
5965 echo "${ECHO_T}no" >&6
5966 fi
5967
5968
5969 enablestring=
5970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5971 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5972 no_cache=0
5973 # Check whether --enable-sound or --disable-sound was given.
5974 if test "${enable_sound+set}" = set; then
5975 enableval="$enable_sound"
5976
5977 if test "$enableval" = yes; then
5978 ac_cv_use_sound='wxUSE_SOUND=yes'
5979 else
5980 ac_cv_use_sound='wxUSE_SOUND=no'
5981 fi
5982
5983 else
5984
5985 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5986 if test "x$LINE" != x ; then
5987 eval "DEFAULT_$LINE"
5988 else
5989 no_cache=1
5990 fi
5991
5992 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5993
5994 fi;
5995
5996 eval "$ac_cv_use_sound"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5999 fi
6000
6001 if test "$wxUSE_SOUND" = yes; then
6002 echo "$as_me:$LINENO: result: yes" >&5
6003 echo "${ECHO_T}yes" >&6
6004 else
6005 echo "$as_me:$LINENO: result: no" >&5
6006 echo "${ECHO_T}no" >&6
6007 fi
6008
6009
6010 enablestring=
6011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6012 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6013 no_cache=0
6014 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6015 if test "${enable_mediactrl+set}" = set; then
6016 enableval="$enable_mediactrl"
6017
6018 if test "$enableval" = yes; then
6019 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6020 else
6021 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6022 fi
6023
6024 else
6025
6026 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6027 if test "x$LINE" != x ; then
6028 eval "DEFAULT_$LINE"
6029 else
6030 no_cache=1
6031 fi
6032
6033 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6034
6035 fi;
6036
6037 eval "$ac_cv_use_mediactrl"
6038 if test "$no_cache" != 1; then
6039 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6040 fi
6041
6042 if test "$wxUSE_MEDIACTRL" = yes; then
6043 echo "$as_me:$LINENO: result: yes" >&5
6044 echo "${ECHO_T}yes" >&6
6045 else
6046 echo "$as_me:$LINENO: result: no" >&5
6047 echo "${ECHO_T}no" >&6
6048 fi
6049
6050
6051 enablestring=
6052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6054 no_cache=0
6055 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6056 if test "${enable_wxprintfv+set}" = set; then
6057 enableval="$enable_wxprintfv"
6058
6059 if test "$enableval" = yes; then
6060 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6061 else
6062 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6063 fi
6064
6065 else
6066
6067 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x ; then
6069 eval "DEFAULT_$LINE"
6070 else
6071 no_cache=1
6072 fi
6073
6074 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6075
6076 fi;
6077
6078 eval "$ac_cv_use_wxprintfv"
6079 if test "$no_cache" != 1; then
6080 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6081 fi
6082
6083 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6084 echo "$as_me:$LINENO: result: yes" >&5
6085 echo "${ECHO_T}yes" >&6
6086 else
6087 echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6
6089 fi
6090
6091
6092 enablestring=
6093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6094 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6095 no_cache=0
6096 # Check whether --enable-zipstream or --disable-zipstream was given.
6097 if test "${enable_zipstream+set}" = set; then
6098 enableval="$enable_zipstream"
6099
6100 if test "$enableval" = yes; then
6101 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6102 else
6103 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6104 fi
6105
6106 else
6107
6108 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x ; then
6110 eval "DEFAULT_$LINE"
6111 else
6112 no_cache=1
6113 fi
6114
6115 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6116
6117 fi;
6118
6119 eval "$ac_cv_use_zipstream"
6120 if test "$no_cache" != 1; then
6121 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6122 fi
6123
6124 if test "$wxUSE_ZIPSTREAM" = yes; then
6125 echo "$as_me:$LINENO: result: yes" >&5
6126 echo "${ECHO_T}yes" >&6
6127 else
6128 echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6
6130 fi
6131
6132
6133
6134 enablestring=
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6137 no_cache=0
6138 # Check whether --enable-url or --disable-url was given.
6139 if test "${enable_url+set}" = set; then
6140 enableval="$enable_url"
6141
6142 if test "$enableval" = yes; then
6143 ac_cv_use_url='wxUSE_URL=yes'
6144 else
6145 ac_cv_use_url='wxUSE_URL=no'
6146 fi
6147
6148 else
6149
6150 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x ; then
6152 eval "DEFAULT_$LINE"
6153 else
6154 no_cache=1
6155 fi
6156
6157 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6158
6159 fi;
6160
6161 eval "$ac_cv_use_url"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6164 fi
6165
6166 if test "$wxUSE_URL" = yes; then
6167 echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6
6169 else
6170 echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6
6172 fi
6173
6174
6175 enablestring=
6176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6178 no_cache=0
6179 # Check whether --enable-protocol or --disable-protocol was given.
6180 if test "${enable_protocol+set}" = set; then
6181 enableval="$enable_protocol"
6182
6183 if test "$enableval" = yes; then
6184 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6185 else
6186 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6187 fi
6188
6189 else
6190
6191 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6192 if test "x$LINE" != x ; then
6193 eval "DEFAULT_$LINE"
6194 else
6195 no_cache=1
6196 fi
6197
6198 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6199
6200 fi;
6201
6202 eval "$ac_cv_use_protocol"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6205 fi
6206
6207 if test "$wxUSE_PROTOCOL" = yes; then
6208 echo "$as_me:$LINENO: result: yes" >&5
6209 echo "${ECHO_T}yes" >&6
6210 else
6211 echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6
6213 fi
6214
6215
6216 enablestring=
6217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6219 no_cache=0
6220 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6221 if test "${enable_protocol_http+set}" = set; then
6222 enableval="$enable_protocol_http"
6223
6224 if test "$enableval" = yes; then
6225 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6226 else
6227 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6228 fi
6229
6230 else
6231
6232 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x ; then
6234 eval "DEFAULT_$LINE"
6235 else
6236 no_cache=1
6237 fi
6238
6239 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6240
6241 fi;
6242
6243 eval "$ac_cv_use_protocol_http"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6246 fi
6247
6248 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6249 echo "$as_me:$LINENO: result: yes" >&5
6250 echo "${ECHO_T}yes" >&6
6251 else
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6254 fi
6255
6256
6257 enablestring=
6258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6260 no_cache=0
6261 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6262 if test "${enable_protocol_ftp+set}" = set; then
6263 enableval="$enable_protocol_ftp"
6264
6265 if test "$enableval" = yes; then
6266 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6267 else
6268 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6269 fi
6270
6271 else
6272
6273 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x ; then
6275 eval "DEFAULT_$LINE"
6276 else
6277 no_cache=1
6278 fi
6279
6280 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6281
6282 fi;
6283
6284 eval "$ac_cv_use_protocol_ftp"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6287 fi
6288
6289 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6290 echo "$as_me:$LINENO: result: yes" >&5
6291 echo "${ECHO_T}yes" >&6
6292 else
6293 echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6
6295 fi
6296
6297
6298 enablestring=
6299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6301 no_cache=0
6302 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6303 if test "${enable_protocol_file+set}" = set; then
6304 enableval="$enable_protocol_file"
6305
6306 if test "$enableval" = yes; then
6307 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6308 else
6309 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6310 fi
6311
6312 else
6313
6314 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x ; then
6316 eval "DEFAULT_$LINE"
6317 else
6318 no_cache=1
6319 fi
6320
6321 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6322
6323 fi;
6324
6325 eval "$ac_cv_use_protocol_file"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6328 fi
6329
6330 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6331 echo "$as_me:$LINENO: result: yes" >&5
6332 echo "${ECHO_T}yes" >&6
6333 else
6334 echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6
6336 fi
6337
6338
6339
6340
6341
6342 enablestring=
6343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6344 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6345 no_cache=0
6346 # Check whether --enable-threads or --disable-threads was given.
6347 if test "${enable_threads+set}" = set; then
6348 enableval="$enable_threads"
6349
6350 if test "$enableval" = yes; then
6351 ac_cv_use_threads='wxUSE_THREADS=yes'
6352 else
6353 ac_cv_use_threads='wxUSE_THREADS=no'
6354 fi
6355
6356 else
6357
6358 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x ; then
6360 eval "DEFAULT_$LINE"
6361 else
6362 no_cache=1
6363 fi
6364
6365 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6366
6367 fi;
6368
6369 eval "$ac_cv_use_threads"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6372 fi
6373
6374 if test "$wxUSE_THREADS" = yes; then
6375 echo "$as_me:$LINENO: result: yes" >&5
6376 echo "${ECHO_T}yes" >&6
6377 else
6378 echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6
6380 fi
6381
6382
6383 if test "$wxUSE_GUI" = "yes"; then
6384
6385
6386
6387 enablestring=
6388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6390 no_cache=0
6391 # Check whether --enable-docview or --disable-docview was given.
6392 if test "${enable_docview+set}" = set; then
6393 enableval="$enable_docview"
6394
6395 if test "$enableval" = yes; then
6396 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6397 else
6398 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6399 fi
6400
6401 else
6402
6403 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x ; then
6405 eval "DEFAULT_$LINE"
6406 else
6407 no_cache=1
6408 fi
6409
6410 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6411
6412 fi;
6413
6414 eval "$ac_cv_use_docview"
6415 if test "$no_cache" != 1; then
6416 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6417 fi
6418
6419 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6420 echo "$as_me:$LINENO: result: yes" >&5
6421 echo "${ECHO_T}yes" >&6
6422 else
6423 echo "$as_me:$LINENO: result: no" >&5
6424 echo "${ECHO_T}no" >&6
6425 fi
6426
6427
6428 enablestring=
6429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6430 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6431 no_cache=0
6432 # Check whether --enable-help or --disable-help was given.
6433 if test "${enable_help+set}" = set; then
6434 enableval="$enable_help"
6435
6436 if test "$enableval" = yes; then
6437 ac_cv_use_help='wxUSE_HELP=yes'
6438 else
6439 ac_cv_use_help='wxUSE_HELP=no'
6440 fi
6441
6442 else
6443
6444 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x ; then
6446 eval "DEFAULT_$LINE"
6447 else
6448 no_cache=1
6449 fi
6450
6451 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6452
6453 fi;
6454
6455 eval "$ac_cv_use_help"
6456 if test "$no_cache" != 1; then
6457 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6458 fi
6459
6460 if test "$wxUSE_HELP" = yes; then
6461 echo "$as_me:$LINENO: result: yes" >&5
6462 echo "${ECHO_T}yes" >&6
6463 else
6464 echo "$as_me:$LINENO: result: no" >&5
6465 echo "${ECHO_T}no" >&6
6466 fi
6467
6468
6469 enablestring=
6470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6471 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6472 no_cache=0
6473 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6474 if test "${enable_mshtmlhelp+set}" = set; then
6475 enableval="$enable_mshtmlhelp"
6476
6477 if test "$enableval" = yes; then
6478 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6479 else
6480 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6481 fi
6482
6483 else
6484
6485 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6486 if test "x$LINE" != x ; then
6487 eval "DEFAULT_$LINE"
6488 else
6489 no_cache=1
6490 fi
6491
6492 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6493
6494 fi;
6495
6496 eval "$ac_cv_use_mshtmlhelp"
6497 if test "$no_cache" != 1; then
6498 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6499 fi
6500
6501 if test "$wxUSE_MS_HTML_HELP" = yes; then
6502 echo "$as_me:$LINENO: result: yes" >&5
6503 echo "${ECHO_T}yes" >&6
6504 else
6505 echo "$as_me:$LINENO: result: no" >&5
6506 echo "${ECHO_T}no" >&6
6507 fi
6508
6509
6510 enablestring=
6511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6512 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6513 no_cache=0
6514 # Check whether --enable-html or --disable-html was given.
6515 if test "${enable_html+set}" = set; then
6516 enableval="$enable_html"
6517
6518 if test "$enableval" = yes; then
6519 ac_cv_use_html='wxUSE_HTML=yes'
6520 else
6521 ac_cv_use_html='wxUSE_HTML=no'
6522 fi
6523
6524 else
6525
6526 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6527 if test "x$LINE" != x ; then
6528 eval "DEFAULT_$LINE"
6529 else
6530 no_cache=1
6531 fi
6532
6533 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6534
6535 fi;
6536
6537 eval "$ac_cv_use_html"
6538 if test "$no_cache" != 1; then
6539 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6540 fi
6541
6542 if test "$wxUSE_HTML" = yes; then
6543 echo "$as_me:$LINENO: result: yes" >&5
6544 echo "${ECHO_T}yes" >&6
6545 else
6546 echo "$as_me:$LINENO: result: no" >&5
6547 echo "${ECHO_T}no" >&6
6548 fi
6549
6550
6551 enablestring=
6552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6554 no_cache=0
6555 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6556 if test "${enable_htmlhelp+set}" = set; then
6557 enableval="$enable_htmlhelp"
6558
6559 if test "$enableval" = yes; then
6560 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6561 else
6562 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6563 fi
6564
6565 else
6566
6567 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6568 if test "x$LINE" != x ; then
6569 eval "DEFAULT_$LINE"
6570 else
6571 no_cache=1
6572 fi
6573
6574 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6575
6576 fi;
6577
6578 eval "$ac_cv_use_htmlhelp"
6579 if test "$no_cache" != 1; then
6580 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6581 fi
6582
6583 if test "$wxUSE_WXHTML_HELP" = yes; then
6584 echo "$as_me:$LINENO: result: yes" >&5
6585 echo "${ECHO_T}yes" >&6
6586 else
6587 echo "$as_me:$LINENO: result: no" >&5
6588 echo "${ECHO_T}no" >&6
6589 fi
6590
6591
6592 enablestring=
6593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6594 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6595 no_cache=0
6596 # Check whether --enable-xrc or --disable-xrc was given.
6597 if test "${enable_xrc+set}" = set; then
6598 enableval="$enable_xrc"
6599
6600 if test "$enableval" = yes; then
6601 ac_cv_use_xrc='wxUSE_XRC=yes'
6602 else
6603 ac_cv_use_xrc='wxUSE_XRC=no'
6604 fi
6605
6606 else
6607
6608 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6609 if test "x$LINE" != x ; then
6610 eval "DEFAULT_$LINE"
6611 else
6612 no_cache=1
6613 fi
6614
6615 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6616
6617 fi;
6618
6619 eval "$ac_cv_use_xrc"
6620 if test "$no_cache" != 1; then
6621 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6622 fi
6623
6624 if test "$wxUSE_XRC" = yes; then
6625 echo "$as_me:$LINENO: result: yes" >&5
6626 echo "${ECHO_T}yes" >&6
6627 else
6628 echo "$as_me:$LINENO: result: no" >&5
6629 echo "${ECHO_T}no" >&6
6630 fi
6631
6632
6633 enablestring=
6634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6635 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6636 no_cache=0
6637 # Check whether --enable-constraints or --disable-constraints was given.
6638 if test "${enable_constraints+set}" = set; then
6639 enableval="$enable_constraints"
6640
6641 if test "$enableval" = yes; then
6642 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6643 else
6644 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6645 fi
6646
6647 else
6648
6649 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6650 if test "x$LINE" != x ; then
6651 eval "DEFAULT_$LINE"
6652 else
6653 no_cache=1
6654 fi
6655
6656 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6657
6658 fi;
6659
6660 eval "$ac_cv_use_constraints"
6661 if test "$no_cache" != 1; then
6662 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6663 fi
6664
6665 if test "$wxUSE_CONSTRAINTS" = yes; then
6666 echo "$as_me:$LINENO: result: yes" >&5
6667 echo "${ECHO_T}yes" >&6
6668 else
6669 echo "$as_me:$LINENO: result: no" >&5
6670 echo "${ECHO_T}no" >&6
6671 fi
6672
6673
6674 enablestring=
6675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6676 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6677 no_cache=0
6678 # Check whether --enable-printarch or --disable-printarch was given.
6679 if test "${enable_printarch+set}" = set; then
6680 enableval="$enable_printarch"
6681
6682 if test "$enableval" = yes; then
6683 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6684 else
6685 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6686 fi
6687
6688 else
6689
6690 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6691 if test "x$LINE" != x ; then
6692 eval "DEFAULT_$LINE"
6693 else
6694 no_cache=1
6695 fi
6696
6697 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6698
6699 fi;
6700
6701 eval "$ac_cv_use_printarch"
6702 if test "$no_cache" != 1; then
6703 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6704 fi
6705
6706 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6707 echo "$as_me:$LINENO: result: yes" >&5
6708 echo "${ECHO_T}yes" >&6
6709 else
6710 echo "$as_me:$LINENO: result: no" >&5
6711 echo "${ECHO_T}no" >&6
6712 fi
6713
6714
6715 enablestring=
6716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6717 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6718 no_cache=0
6719 # Check whether --enable-mdi or --disable-mdi was given.
6720 if test "${enable_mdi+set}" = set; then
6721 enableval="$enable_mdi"
6722
6723 if test "$enableval" = yes; then
6724 ac_cv_use_mdi='wxUSE_MDI=yes'
6725 else
6726 ac_cv_use_mdi='wxUSE_MDI=no'
6727 fi
6728
6729 else
6730
6731 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6732 if test "x$LINE" != x ; then
6733 eval "DEFAULT_$LINE"
6734 else
6735 no_cache=1
6736 fi
6737
6738 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6739
6740 fi;
6741
6742 eval "$ac_cv_use_mdi"
6743 if test "$no_cache" != 1; then
6744 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6745 fi
6746
6747 if test "$wxUSE_MDI" = yes; then
6748 echo "$as_me:$LINENO: result: yes" >&5
6749 echo "${ECHO_T}yes" >&6
6750 else
6751 echo "$as_me:$LINENO: result: no" >&5
6752 echo "${ECHO_T}no" >&6
6753 fi
6754
6755
6756 enablestring=
6757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6758 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6759 no_cache=0
6760 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6761 if test "${enable_mdidoc+set}" = set; then
6762 enableval="$enable_mdidoc"
6763
6764 if test "$enableval" = yes; then
6765 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6766 else
6767 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6768 fi
6769
6770 else
6771
6772 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x ; then
6774 eval "DEFAULT_$LINE"
6775 else
6776 no_cache=1
6777 fi
6778
6779 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6780
6781 fi;
6782
6783 eval "$ac_cv_use_mdidoc"
6784 if test "$no_cache" != 1; then
6785 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6786 fi
6787
6788 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6789 echo "$as_me:$LINENO: result: yes" >&5
6790 echo "${ECHO_T}yes" >&6
6791 else
6792 echo "$as_me:$LINENO: result: no" >&5
6793 echo "${ECHO_T}no" >&6
6794 fi
6795
6796
6797 enablestring=
6798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6799 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6800 no_cache=0
6801 # Check whether --enable-loggui or --disable-loggui was given.
6802 if test "${enable_loggui+set}" = set; then
6803 enableval="$enable_loggui"
6804
6805 if test "$enableval" = yes; then
6806 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6807 else
6808 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6809 fi
6810
6811 else
6812
6813 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x ; then
6815 eval "DEFAULT_$LINE"
6816 else
6817 no_cache=1
6818 fi
6819
6820 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6821
6822 fi;
6823
6824 eval "$ac_cv_use_loggui"
6825 if test "$no_cache" != 1; then
6826 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6827 fi
6828
6829 if test "$wxUSE_LOGGUI" = yes; then
6830 echo "$as_me:$LINENO: result: yes" >&5
6831 echo "${ECHO_T}yes" >&6
6832 else
6833 echo "$as_me:$LINENO: result: no" >&5
6834 echo "${ECHO_T}no" >&6
6835 fi
6836
6837
6838 enablestring=
6839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6840 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6841 no_cache=0
6842 # Check whether --enable-logwin or --disable-logwin was given.
6843 if test "${enable_logwin+set}" = set; then
6844 enableval="$enable_logwin"
6845
6846 if test "$enableval" = yes; then
6847 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6848 else
6849 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6850 fi
6851
6852 else
6853
6854 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x ; then
6856 eval "DEFAULT_$LINE"
6857 else
6858 no_cache=1
6859 fi
6860
6861 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6862
6863 fi;
6864
6865 eval "$ac_cv_use_logwin"
6866 if test "$no_cache" != 1; then
6867 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6868 fi
6869
6870 if test "$wxUSE_LOGWINDOW" = yes; then
6871 echo "$as_me:$LINENO: result: yes" >&5
6872 echo "${ECHO_T}yes" >&6
6873 else
6874 echo "$as_me:$LINENO: result: no" >&5
6875 echo "${ECHO_T}no" >&6
6876 fi
6877
6878
6879 enablestring=
6880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6881 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6882 no_cache=0
6883 # Check whether --enable-logdialog or --disable-logdialog was given.
6884 if test "${enable_logdialog+set}" = set; then
6885 enableval="$enable_logdialog"
6886
6887 if test "$enableval" = yes; then
6888 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6889 else
6890 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6891 fi
6892
6893 else
6894
6895 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x ; then
6897 eval "DEFAULT_$LINE"
6898 else
6899 no_cache=1
6900 fi
6901
6902 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6903
6904 fi;
6905
6906 eval "$ac_cv_use_logdialog"
6907 if test "$no_cache" != 1; then
6908 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6909 fi
6910
6911 if test "$wxUSE_LOGDIALOG" = yes; then
6912 echo "$as_me:$LINENO: result: yes" >&5
6913 echo "${ECHO_T}yes" >&6
6914 else
6915 echo "$as_me:$LINENO: result: no" >&5
6916 echo "${ECHO_T}no" >&6
6917 fi
6918
6919
6920 enablestring=
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6922 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6923 no_cache=0
6924 # Check whether --enable-webkit or --disable-webkit was given.
6925 if test "${enable_webkit+set}" = set; then
6926 enableval="$enable_webkit"
6927
6928 if test "$enableval" = yes; then
6929 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6930 else
6931 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6932 fi
6933
6934 else
6935
6936 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x ; then
6938 eval "DEFAULT_$LINE"
6939 else
6940 no_cache=1
6941 fi
6942
6943 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6944
6945 fi;
6946
6947 eval "$ac_cv_use_webkit"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6950 fi
6951
6952 if test "$wxUSE_WEBKIT" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954 echo "${ECHO_T}yes" >&6
6955 else
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6958 fi
6959
6960
6961
6962 enablestring=
6963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6965 no_cache=0
6966 # Check whether --enable-postscript or --disable-postscript was given.
6967 if test "${enable_postscript+set}" = set; then
6968 enableval="$enable_postscript"
6969
6970 if test "$enableval" = yes; then
6971 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6972 else
6973 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6974 fi
6975
6976 else
6977
6978 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x ; then
6980 eval "DEFAULT_$LINE"
6981 else
6982 no_cache=1
6983 fi
6984
6985 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6986
6987 fi;
6988
6989 eval "$ac_cv_use_postscript"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6992 fi
6993
6994 if test "$wxUSE_POSTSCRIPT" = yes; then
6995 echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6
6997 else
6998 echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6
7000 fi
7001
7002
7003
7004
7005
7006 enablestring=
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7009 no_cache=0
7010 # Check whether --enable-prologio or --disable-prologio was given.
7011 if test "${enable_prologio+set}" = set; then
7012 enableval="$enable_prologio"
7013
7014 if test "$enableval" = yes; then
7015 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7016 else
7017 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7018 fi
7019
7020 else
7021
7022 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x ; then
7024 eval "DEFAULT_$LINE"
7025 else
7026 no_cache=1
7027 fi
7028
7029 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7030
7031 fi;
7032
7033 eval "$ac_cv_use_prologio"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7036 fi
7037
7038 if test "$wxUSE_PROLOGIO" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7041 else
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7044 fi
7045
7046
7047 enablestring=
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7050 no_cache=0
7051 # Check whether --enable-resources or --disable-resources was given.
7052 if test "${enable_resources+set}" = set; then
7053 enableval="$enable_resources"
7054
7055 if test "$enableval" = yes; then
7056 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7057 else
7058 ac_cv_use_resources='wxUSE_RESOURCES=no'
7059 fi
7060
7061 else
7062
7063 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x ; then
7065 eval "DEFAULT_$LINE"
7066 else
7067 no_cache=1
7068 fi
7069
7070 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7071
7072 fi;
7073
7074 eval "$ac_cv_use_resources"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7077 fi
7078
7079 if test "$wxUSE_RESOURCES" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7082 else
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7085 fi
7086
7087
7088
7089
7090 enablestring=
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7093 no_cache=0
7094 # Check whether --enable-clipboard or --disable-clipboard was given.
7095 if test "${enable_clipboard+set}" = set; then
7096 enableval="$enable_clipboard"
7097
7098 if test "$enableval" = yes; then
7099 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7100 else
7101 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7102 fi
7103
7104 else
7105
7106 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x ; then
7108 eval "DEFAULT_$LINE"
7109 else
7110 no_cache=1
7111 fi
7112
7113 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7114
7115 fi;
7116
7117 eval "$ac_cv_use_clipboard"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7120 fi
7121
7122 if test "$wxUSE_CLIPBOARD" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7125 else
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7128 fi
7129
7130
7131 enablestring=
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7134 no_cache=0
7135 # Check whether --enable-dnd or --disable-dnd was given.
7136 if test "${enable_dnd+set}" = set; then
7137 enableval="$enable_dnd"
7138
7139 if test "$enableval" = yes; then
7140 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7141 else
7142 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7143 fi
7144
7145 else
7146
7147 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x ; then
7149 eval "DEFAULT_$LINE"
7150 else
7151 no_cache=1
7152 fi
7153
7154 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7155
7156 fi;
7157
7158 eval "$ac_cv_use_dnd"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7161 fi
7162
7163 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7166 else
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7169 fi
7170
7171
7172 enablestring=
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7175 no_cache=0
7176 # Check whether --enable-metafile or --disable-metafile was given.
7177 if test "${enable_metafile+set}" = set; then
7178 enableval="$enable_metafile"
7179
7180 if test "$enableval" = yes; then
7181 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7182 else
7183 ac_cv_use_metafile='wxUSE_METAFILE=no'
7184 fi
7185
7186 else
7187
7188 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x ; then
7190 eval "DEFAULT_$LINE"
7191 else
7192 no_cache=1
7193 fi
7194
7195 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7196
7197 fi;
7198
7199 eval "$ac_cv_use_metafile"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7202 fi
7203
7204 if test "$wxUSE_METAFILE" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7207 else
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7210 fi
7211
7212
7213
7214
7215
7216 enablestring=
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7219 no_cache=0
7220 # Check whether --enable-controls or --disable-controls was given.
7221 if test "${enable_controls+set}" = set; then
7222 enableval="$enable_controls"
7223
7224 if test "$enableval" = yes; then
7225 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7226 else
7227 ac_cv_use_controls='wxUSE_CONTROLS=no'
7228 fi
7229
7230 else
7231
7232 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7235 else
7236 no_cache=1
7237 fi
7238
7239 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7240
7241 fi;
7242
7243 eval "$ac_cv_use_controls"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7246 fi
7247
7248 if test "$wxUSE_CONTROLS" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7251 else
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7254 fi
7255
7256
7257 if test "$wxUSE_CONTROLS" = "yes"; then
7258 DEFAULT_wxUSE_ACCEL=yes
7259 DEFAULT_wxUSE_BMPBUTTON=yes
7260 DEFAULT_wxUSE_BUTTON=yes
7261 DEFAULT_wxUSE_CALCTRL=yes
7262 DEFAULT_wxUSE_CARET=yes
7263 DEFAULT_wxUSE_COMBOBOX=yes
7264 DEFAULT_wxUSE_CHECKBOX=yes
7265 DEFAULT_wxUSE_CHECKLISTBOX=yes
7266 DEFAULT_wxUSE_CHOICE=yes
7267 DEFAULT_wxUSE_CHOICEBOOK=yes
7268 DEFAULT_wxUSE_DATEPICKCTRL=yes
7269 DEFAULT_wxUSE_GAUGE=yes
7270 DEFAULT_wxUSE_GRID=yes
7271 DEFAULT_wxUSE_IMAGLIST=yes
7272 DEFAULT_wxUSE_LISTBOOK=yes
7273 DEFAULT_wxUSE_LISTBOX=yes
7274 DEFAULT_wxUSE_LISTCTRL=yes
7275 DEFAULT_wxUSE_NOTEBOOK=yes
7276 DEFAULT_wxUSE_RADIOBOX=yes
7277 DEFAULT_wxUSE_RADIOBTN=yes
7278 DEFAULT_wxUSE_SASH=yes
7279 DEFAULT_wxUSE_SCROLLBAR=yes
7280 DEFAULT_wxUSE_SLIDER=yes
7281 DEFAULT_wxUSE_SPINBTN=yes
7282 DEFAULT_wxUSE_SPINCTRL=yes
7283 DEFAULT_wxUSE_SPLITTER=yes
7284 DEFAULT_wxUSE_STATBMP=yes
7285 DEFAULT_wxUSE_STATBOX=yes
7286 DEFAULT_wxUSE_STATLINE=yes
7287 DEFAULT_wxUSE_STATUSBAR=yes
7288 DEFAULT_wxUSE_TAB_DIALOG=yes
7289 DEFAULT_wxUSE_TOGGLEBTN=yes
7290 DEFAULT_wxUSE_TOOLBAR=yes
7291 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7292 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7293 DEFAULT_wxUSE_TOOLTIPS=yes
7294 DEFAULT_wxUSE_TREECTRL=yes
7295 DEFAULT_wxUSE_POPUPWIN=yes
7296 DEFAULT_wxUSE_TIPWINDOW=yes
7297 elif test "$wxUSE_CONTROLS" = "no"; then
7298 DEFAULT_wxUSE_ACCEL=no
7299 DEFAULT_wxUSE_BMPBUTTON=no
7300 DEFAULT_wxUSE_BUTTON=no
7301 DEFAULT_wxUSE_CALCTRL=no
7302 DEFAULT_wxUSE_CARET=no
7303 DEFAULT_wxUSE_COMBOBOX=no
7304 DEFAULT_wxUSE_CHECKBOX=no
7305 DEFAULT_wxUSE_CHECKLISTBOX=no
7306 DEFAULT_wxUSE_CHOICE=no
7307 DEFAULT_wxUSE_CHOICEBOOK=no
7308 DEFAULT_wxUSE_DATEPICKCTRL=no
7309 DEFAULT_wxUSE_GAUGE=no
7310 DEFAULT_wxUSE_GRID=no
7311 DEFAULT_wxUSE_IMAGLIST=no
7312 DEFAULT_wxUSE_LISTBOOK=no
7313 DEFAULT_wxUSE_LISTBOX=no
7314 DEFAULT_wxUSE_LISTCTRL=no
7315 DEFAULT_wxUSE_NOTEBOOK=no
7316 DEFAULT_wxUSE_RADIOBOX=no
7317 DEFAULT_wxUSE_RADIOBTN=no
7318 DEFAULT_wxUSE_SASH=no
7319 DEFAULT_wxUSE_SCROLLBAR=no
7320 DEFAULT_wxUSE_SLIDER=no
7321 DEFAULT_wxUSE_SPINBTN=no
7322 DEFAULT_wxUSE_SPINCTRL=no
7323 DEFAULT_wxUSE_SPLITTER=no
7324 DEFAULT_wxUSE_STATBMP=no
7325 DEFAULT_wxUSE_STATBOX=no
7326 DEFAULT_wxUSE_STATLINE=no
7327 DEFAULT_wxUSE_STATUSBAR=no
7328 DEFAULT_wxUSE_TAB_DIALOG=no
7329 DEFAULT_wxUSE_TOGGLEBTN=no
7330 DEFAULT_wxUSE_TOOLBAR=no
7331 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7332 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7333 DEFAULT_wxUSE_TOOLTIPS=no
7334 DEFAULT_wxUSE_TREECTRL=no
7335 DEFAULT_wxUSE_POPUPWIN=no
7336 DEFAULT_wxUSE_TIPWINDOW=no
7337 fi
7338
7339
7340 enablestring=
7341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7342 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7343 no_cache=0
7344 # Check whether --enable-accel or --disable-accel was given.
7345 if test "${enable_accel+set}" = set; then
7346 enableval="$enable_accel"
7347
7348 if test "$enableval" = yes; then
7349 ac_cv_use_accel='wxUSE_ACCEL=yes'
7350 else
7351 ac_cv_use_accel='wxUSE_ACCEL=no'
7352 fi
7353
7354 else
7355
7356 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7357 if test "x$LINE" != x ; then
7358 eval "DEFAULT_$LINE"
7359 else
7360 no_cache=1
7361 fi
7362
7363 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7364
7365 fi;
7366
7367 eval "$ac_cv_use_accel"
7368 if test "$no_cache" != 1; then
7369 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7370 fi
7371
7372 if test "$wxUSE_ACCEL" = yes; then
7373 echo "$as_me:$LINENO: result: yes" >&5
7374 echo "${ECHO_T}yes" >&6
7375 else
7376 echo "$as_me:$LINENO: result: no" >&5
7377 echo "${ECHO_T}no" >&6
7378 fi
7379
7380
7381 enablestring=
7382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7383 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7384 no_cache=0
7385 # Check whether --enable-button or --disable-button was given.
7386 if test "${enable_button+set}" = set; then
7387 enableval="$enable_button"
7388
7389 if test "$enableval" = yes; then
7390 ac_cv_use_button='wxUSE_BUTTON=yes'
7391 else
7392 ac_cv_use_button='wxUSE_BUTTON=no'
7393 fi
7394
7395 else
7396
7397 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7398 if test "x$LINE" != x ; then
7399 eval "DEFAULT_$LINE"
7400 else
7401 no_cache=1
7402 fi
7403
7404 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7405
7406 fi;
7407
7408 eval "$ac_cv_use_button"
7409 if test "$no_cache" != 1; then
7410 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7411 fi
7412
7413 if test "$wxUSE_BUTTON" = yes; then
7414 echo "$as_me:$LINENO: result: yes" >&5
7415 echo "${ECHO_T}yes" >&6
7416 else
7417 echo "$as_me:$LINENO: result: no" >&5
7418 echo "${ECHO_T}no" >&6
7419 fi
7420
7421
7422 enablestring=
7423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7424 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7425 no_cache=0
7426 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7427 if test "${enable_bmpbutton+set}" = set; then
7428 enableval="$enable_bmpbutton"
7429
7430 if test "$enableval" = yes; then
7431 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7432 else
7433 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7434 fi
7435
7436 else
7437
7438 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7439 if test "x$LINE" != x ; then
7440 eval "DEFAULT_$LINE"
7441 else
7442 no_cache=1
7443 fi
7444
7445 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7446
7447 fi;
7448
7449 eval "$ac_cv_use_bmpbutton"
7450 if test "$no_cache" != 1; then
7451 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7452 fi
7453
7454 if test "$wxUSE_BMPBUTTON" = yes; then
7455 echo "$as_me:$LINENO: result: yes" >&5
7456 echo "${ECHO_T}yes" >&6
7457 else
7458 echo "$as_me:$LINENO: result: no" >&5
7459 echo "${ECHO_T}no" >&6
7460 fi
7461
7462
7463 enablestring=
7464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7465 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7466 no_cache=0
7467 # Check whether --enable-calendar or --disable-calendar was given.
7468 if test "${enable_calendar+set}" = set; then
7469 enableval="$enable_calendar"
7470
7471 if test "$enableval" = yes; then
7472 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7473 else
7474 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7475 fi
7476
7477 else
7478
7479 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7480 if test "x$LINE" != x ; then
7481 eval "DEFAULT_$LINE"
7482 else
7483 no_cache=1
7484 fi
7485
7486 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7487
7488 fi;
7489
7490 eval "$ac_cv_use_calendar"
7491 if test "$no_cache" != 1; then
7492 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7493 fi
7494
7495 if test "$wxUSE_CALCTRL" = yes; then
7496 echo "$as_me:$LINENO: result: yes" >&5
7497 echo "${ECHO_T}yes" >&6
7498 else
7499 echo "$as_me:$LINENO: result: no" >&5
7500 echo "${ECHO_T}no" >&6
7501 fi
7502
7503
7504 enablestring=
7505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7506 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7507 no_cache=0
7508 # Check whether --enable-caret or --disable-caret was given.
7509 if test "${enable_caret+set}" = set; then
7510 enableval="$enable_caret"
7511
7512 if test "$enableval" = yes; then
7513 ac_cv_use_caret='wxUSE_CARET=yes'
7514 else
7515 ac_cv_use_caret='wxUSE_CARET=no'
7516 fi
7517
7518 else
7519
7520 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7521 if test "x$LINE" != x ; then
7522 eval "DEFAULT_$LINE"
7523 else
7524 no_cache=1
7525 fi
7526
7527 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7528
7529 fi;
7530
7531 eval "$ac_cv_use_caret"
7532 if test "$no_cache" != 1; then
7533 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7534 fi
7535
7536 if test "$wxUSE_CARET" = yes; then
7537 echo "$as_me:$LINENO: result: yes" >&5
7538 echo "${ECHO_T}yes" >&6
7539 else
7540 echo "$as_me:$LINENO: result: no" >&5
7541 echo "${ECHO_T}no" >&6
7542 fi
7543
7544
7545 enablestring=
7546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7548 no_cache=0
7549 # Check whether --enable-checkbox or --disable-checkbox was given.
7550 if test "${enable_checkbox+set}" = set; then
7551 enableval="$enable_checkbox"
7552
7553 if test "$enableval" = yes; then
7554 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7555 else
7556 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7557 fi
7558
7559 else
7560
7561 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7562 if test "x$LINE" != x ; then
7563 eval "DEFAULT_$LINE"
7564 else
7565 no_cache=1
7566 fi
7567
7568 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7569
7570 fi;
7571
7572 eval "$ac_cv_use_checkbox"
7573 if test "$no_cache" != 1; then
7574 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7575 fi
7576
7577 if test "$wxUSE_CHECKBOX" = yes; then
7578 echo "$as_me:$LINENO: result: yes" >&5
7579 echo "${ECHO_T}yes" >&6
7580 else
7581 echo "$as_me:$LINENO: result: no" >&5
7582 echo "${ECHO_T}no" >&6
7583 fi
7584
7585
7586 enablestring=
7587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7588 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7589 no_cache=0
7590 # Check whether --enable-checklst or --disable-checklst was given.
7591 if test "${enable_checklst+set}" = set; then
7592 enableval="$enable_checklst"
7593
7594 if test "$enableval" = yes; then
7595 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7596 else
7597 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7598 fi
7599
7600 else
7601
7602 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7603 if test "x$LINE" != x ; then
7604 eval "DEFAULT_$LINE"
7605 else
7606 no_cache=1
7607 fi
7608
7609 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7610
7611 fi;
7612
7613 eval "$ac_cv_use_checklst"
7614 if test "$no_cache" != 1; then
7615 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7616 fi
7617
7618 if test "$wxUSE_CHECKLST" = yes; then
7619 echo "$as_me:$LINENO: result: yes" >&5
7620 echo "${ECHO_T}yes" >&6
7621 else
7622 echo "$as_me:$LINENO: result: no" >&5
7623 echo "${ECHO_T}no" >&6
7624 fi
7625
7626
7627 enablestring=
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7630 no_cache=0
7631 # Check whether --enable-choice or --disable-choice was given.
7632 if test "${enable_choice+set}" = set; then
7633 enableval="$enable_choice"
7634
7635 if test "$enableval" = yes; then
7636 ac_cv_use_choice='wxUSE_CHOICE=yes'
7637 else
7638 ac_cv_use_choice='wxUSE_CHOICE=no'
7639 fi
7640
7641 else
7642
7643 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x ; then
7645 eval "DEFAULT_$LINE"
7646 else
7647 no_cache=1
7648 fi
7649
7650 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7651
7652 fi;
7653
7654 eval "$ac_cv_use_choice"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7657 fi
7658
7659 if test "$wxUSE_CHOICE" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7662 else
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7665 fi
7666
7667
7668 enablestring=
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7671 no_cache=0
7672 # Check whether --enable-choicebook or --disable-choicebook was given.
7673 if test "${enable_choicebook+set}" = set; then
7674 enableval="$enable_choicebook"
7675
7676 if test "$enableval" = yes; then
7677 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7678 else
7679 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7680 fi
7681
7682 else
7683
7684 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x ; then
7686 eval "DEFAULT_$LINE"
7687 else
7688 no_cache=1
7689 fi
7690
7691 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7692
7693 fi;
7694
7695 eval "$ac_cv_use_choicebook"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7698 fi
7699
7700 if test "$wxUSE_CHOICEBOOK" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7703 else
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7706 fi
7707
7708
7709 enablestring=
7710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7712 no_cache=0
7713 # Check whether --enable-combobox or --disable-combobox was given.
7714 if test "${enable_combobox+set}" = set; then
7715 enableval="$enable_combobox"
7716
7717 if test "$enableval" = yes; then
7718 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7719 else
7720 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7721 fi
7722
7723 else
7724
7725 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x ; then
7727 eval "DEFAULT_$LINE"
7728 else
7729 no_cache=1
7730 fi
7731
7732 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7733
7734 fi;
7735
7736 eval "$ac_cv_use_combobox"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7739 fi
7740
7741 if test "$wxUSE_COMBOBOX" = yes; then
7742 echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6
7744 else
7745 echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6
7747 fi
7748
7749
7750 enablestring=
7751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7752 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7753 no_cache=0
7754 # Check whether --enable-datepick or --disable-datepick was given.
7755 if test "${enable_datepick+set}" = set; then
7756 enableval="$enable_datepick"
7757
7758 if test "$enableval" = yes; then
7759 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7760 else
7761 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7762 fi
7763
7764 else
7765
7766 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x ; then
7768 eval "DEFAULT_$LINE"
7769 else
7770 no_cache=1
7771 fi
7772
7773 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7774
7775 fi;
7776
7777 eval "$ac_cv_use_datepick"
7778 if test "$no_cache" != 1; then
7779 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7780 fi
7781
7782 if test "$wxUSE_DATEPICKCTRL" = yes; then
7783 echo "$as_me:$LINENO: result: yes" >&5
7784 echo "${ECHO_T}yes" >&6
7785 else
7786 echo "$as_me:$LINENO: result: no" >&5
7787 echo "${ECHO_T}no" >&6
7788 fi
7789
7790
7791 enablestring=
7792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7794 no_cache=0
7795 # Check whether --enable-display or --disable-display was given.
7796 if test "${enable_display+set}" = set; then
7797 enableval="$enable_display"
7798
7799 if test "$enableval" = yes; then
7800 ac_cv_use_display='wxUSE_DISPLAY=yes'
7801 else
7802 ac_cv_use_display='wxUSE_DISPLAY=no'
7803 fi
7804
7805 else
7806
7807 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x ; then
7809 eval "DEFAULT_$LINE"
7810 else
7811 no_cache=1
7812 fi
7813
7814 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7815
7816 fi;
7817
7818 eval "$ac_cv_use_display"
7819 if test "$no_cache" != 1; then
7820 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7821 fi
7822
7823 if test "$wxUSE_DISPLAY" = yes; then
7824 echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6
7826 else
7827 echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6
7829 fi
7830
7831
7832 enablestring=
7833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7835 no_cache=0
7836 # Check whether --enable-gauge or --disable-gauge was given.
7837 if test "${enable_gauge+set}" = set; then
7838 enableval="$enable_gauge"
7839
7840 if test "$enableval" = yes; then
7841 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7842 else
7843 ac_cv_use_gauge='wxUSE_GAUGE=no'
7844 fi
7845
7846 else
7847
7848 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7849 if test "x$LINE" != x ; then
7850 eval "DEFAULT_$LINE"
7851 else
7852 no_cache=1
7853 fi
7854
7855 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7856
7857 fi;
7858
7859 eval "$ac_cv_use_gauge"
7860 if test "$no_cache" != 1; then
7861 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7862 fi
7863
7864 if test "$wxUSE_GAUGE" = yes; then
7865 echo "$as_me:$LINENO: result: yes" >&5
7866 echo "${ECHO_T}yes" >&6
7867 else
7868 echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6
7870 fi
7871
7872
7873 enablestring=
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7876 no_cache=0
7877 # Check whether --enable-grid or --disable-grid was given.
7878 if test "${enable_grid+set}" = set; then
7879 enableval="$enable_grid"
7880
7881 if test "$enableval" = yes; then
7882 ac_cv_use_grid='wxUSE_GRID=yes'
7883 else
7884 ac_cv_use_grid='wxUSE_GRID=no'
7885 fi
7886
7887 else
7888
7889 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x ; then
7891 eval "DEFAULT_$LINE"
7892 else
7893 no_cache=1
7894 fi
7895
7896 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7897
7898 fi;
7899
7900 eval "$ac_cv_use_grid"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7903 fi
7904
7905 if test "$wxUSE_GRID" = yes; then
7906 echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6
7908 else
7909 echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6
7911 fi
7912
7913
7914 enablestring=
7915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7917 no_cache=0
7918 # Check whether --enable-imaglist or --disable-imaglist was given.
7919 if test "${enable_imaglist+set}" = set; then
7920 enableval="$enable_imaglist"
7921
7922 if test "$enableval" = yes; then
7923 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7924 else
7925 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7926 fi
7927
7928 else
7929
7930 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7931 if test "x$LINE" != x ; then
7932 eval "DEFAULT_$LINE"
7933 else
7934 no_cache=1
7935 fi
7936
7937 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7938
7939 fi;
7940
7941 eval "$ac_cv_use_imaglist"
7942 if test "$no_cache" != 1; then
7943 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7944 fi
7945
7946 if test "$wxUSE_IMAGLIST" = yes; then
7947 echo "$as_me:$LINENO: result: yes" >&5
7948 echo "${ECHO_T}yes" >&6
7949 else
7950 echo "$as_me:$LINENO: result: no" >&5
7951 echo "${ECHO_T}no" >&6
7952 fi
7953
7954
7955 enablestring=
7956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7957 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7958 no_cache=0
7959 # Check whether --enable-listbook or --disable-listbook was given.
7960 if test "${enable_listbook+set}" = set; then
7961 enableval="$enable_listbook"
7962
7963 if test "$enableval" = yes; then
7964 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7965 else
7966 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7967 fi
7968
7969 else
7970
7971 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7972 if test "x$LINE" != x ; then
7973 eval "DEFAULT_$LINE"
7974 else
7975 no_cache=1
7976 fi
7977
7978 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7979
7980 fi;
7981
7982 eval "$ac_cv_use_listbook"
7983 if test "$no_cache" != 1; then
7984 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7985 fi
7986
7987 if test "$wxUSE_LISTBOOK" = yes; then
7988 echo "$as_me:$LINENO: result: yes" >&5
7989 echo "${ECHO_T}yes" >&6
7990 else
7991 echo "$as_me:$LINENO: result: no" >&5
7992 echo "${ECHO_T}no" >&6
7993 fi
7994
7995
7996 enablestring=
7997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7998 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7999 no_cache=0
8000 # Check whether --enable-listbox or --disable-listbox was given.
8001 if test "${enable_listbox+set}" = set; then
8002 enableval="$enable_listbox"
8003
8004 if test "$enableval" = yes; then
8005 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8006 else
8007 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8008 fi
8009
8010 else
8011
8012 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8013 if test "x$LINE" != x ; then
8014 eval "DEFAULT_$LINE"
8015 else
8016 no_cache=1
8017 fi
8018
8019 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8020
8021 fi;
8022
8023 eval "$ac_cv_use_listbox"
8024 if test "$no_cache" != 1; then
8025 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8026 fi
8027
8028 if test "$wxUSE_LISTBOX" = yes; then
8029 echo "$as_me:$LINENO: result: yes" >&5
8030 echo "${ECHO_T}yes" >&6
8031 else
8032 echo "$as_me:$LINENO: result: no" >&5
8033 echo "${ECHO_T}no" >&6
8034 fi
8035
8036
8037 enablestring=
8038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8040 no_cache=0
8041 # Check whether --enable-listctrl or --disable-listctrl was given.
8042 if test "${enable_listctrl+set}" = set; then
8043 enableval="$enable_listctrl"
8044
8045 if test "$enableval" = yes; then
8046 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8047 else
8048 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8049 fi
8050
8051 else
8052
8053 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8054 if test "x$LINE" != x ; then
8055 eval "DEFAULT_$LINE"
8056 else
8057 no_cache=1
8058 fi
8059
8060 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8061
8062 fi;
8063
8064 eval "$ac_cv_use_listctrl"
8065 if test "$no_cache" != 1; then
8066 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8067 fi
8068
8069 if test "$wxUSE_LISTCTRL" = yes; then
8070 echo "$as_me:$LINENO: result: yes" >&5
8071 echo "${ECHO_T}yes" >&6
8072 else
8073 echo "$as_me:$LINENO: result: no" >&5
8074 echo "${ECHO_T}no" >&6
8075 fi
8076
8077
8078 enablestring=
8079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8081 no_cache=0
8082 # Check whether --enable-notebook or --disable-notebook was given.
8083 if test "${enable_notebook+set}" = set; then
8084 enableval="$enable_notebook"
8085
8086 if test "$enableval" = yes; then
8087 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8088 else
8089 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8090 fi
8091
8092 else
8093
8094 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8095 if test "x$LINE" != x ; then
8096 eval "DEFAULT_$LINE"
8097 else
8098 no_cache=1
8099 fi
8100
8101 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8102
8103 fi;
8104
8105 eval "$ac_cv_use_notebook"
8106 if test "$no_cache" != 1; then
8107 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8108 fi
8109
8110 if test "$wxUSE_NOTEBOOK" = yes; then
8111 echo "$as_me:$LINENO: result: yes" >&5
8112 echo "${ECHO_T}yes" >&6
8113 else
8114 echo "$as_me:$LINENO: result: no" >&5
8115 echo "${ECHO_T}no" >&6
8116 fi
8117
8118
8119 enablestring=
8120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8121 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8122 no_cache=0
8123 # Check whether --enable-radiobox or --disable-radiobox was given.
8124 if test "${enable_radiobox+set}" = set; then
8125 enableval="$enable_radiobox"
8126
8127 if test "$enableval" = yes; then
8128 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8129 else
8130 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8131 fi
8132
8133 else
8134
8135 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8136 if test "x$LINE" != x ; then
8137 eval "DEFAULT_$LINE"
8138 else
8139 no_cache=1
8140 fi
8141
8142 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8143
8144 fi;
8145
8146 eval "$ac_cv_use_radiobox"
8147 if test "$no_cache" != 1; then
8148 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8149 fi
8150
8151 if test "$wxUSE_RADIOBOX" = yes; then
8152 echo "$as_me:$LINENO: result: yes" >&5
8153 echo "${ECHO_T}yes" >&6
8154 else
8155 echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6
8157 fi
8158
8159
8160 enablestring=
8161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8162 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8163 no_cache=0
8164 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8165 if test "${enable_radiobtn+set}" = set; then
8166 enableval="$enable_radiobtn"
8167
8168 if test "$enableval" = yes; then
8169 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8170 else
8171 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8172 fi
8173
8174 else
8175
8176 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8177 if test "x$LINE" != x ; then
8178 eval "DEFAULT_$LINE"
8179 else
8180 no_cache=1
8181 fi
8182
8183 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8184
8185 fi;
8186
8187 eval "$ac_cv_use_radiobtn"
8188 if test "$no_cache" != 1; then
8189 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8190 fi
8191
8192 if test "$wxUSE_RADIOBTN" = yes; then
8193 echo "$as_me:$LINENO: result: yes" >&5
8194 echo "${ECHO_T}yes" >&6
8195 else
8196 echo "$as_me:$LINENO: result: no" >&5
8197 echo "${ECHO_T}no" >&6
8198 fi
8199
8200
8201 enablestring=
8202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8203 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8204 no_cache=0
8205 # Check whether --enable-sash or --disable-sash was given.
8206 if test "${enable_sash+set}" = set; then
8207 enableval="$enable_sash"
8208
8209 if test "$enableval" = yes; then
8210 ac_cv_use_sash='wxUSE_SASH=yes'
8211 else
8212 ac_cv_use_sash='wxUSE_SASH=no'
8213 fi
8214
8215 else
8216
8217 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8218 if test "x$LINE" != x ; then
8219 eval "DEFAULT_$LINE"
8220 else
8221 no_cache=1
8222 fi
8223
8224 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8225
8226 fi;
8227
8228 eval "$ac_cv_use_sash"
8229 if test "$no_cache" != 1; then
8230 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8231 fi
8232
8233 if test "$wxUSE_SASH" = yes; then
8234 echo "$as_me:$LINENO: result: yes" >&5
8235 echo "${ECHO_T}yes" >&6
8236 else
8237 echo "$as_me:$LINENO: result: no" >&5
8238 echo "${ECHO_T}no" >&6
8239 fi
8240
8241
8242 enablestring=
8243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8244 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8245 no_cache=0
8246 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8247 if test "${enable_scrollbar+set}" = set; then
8248 enableval="$enable_scrollbar"
8249
8250 if test "$enableval" = yes; then
8251 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8252 else
8253 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8254 fi
8255
8256 else
8257
8258 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8259 if test "x$LINE" != x ; then
8260 eval "DEFAULT_$LINE"
8261 else
8262 no_cache=1
8263 fi
8264
8265 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8266
8267 fi;
8268
8269 eval "$ac_cv_use_scrollbar"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8272 fi
8273
8274 if test "$wxUSE_SCROLLBAR" = yes; then
8275 echo "$as_me:$LINENO: result: yes" >&5
8276 echo "${ECHO_T}yes" >&6
8277 else
8278 echo "$as_me:$LINENO: result: no" >&5
8279 echo "${ECHO_T}no" >&6
8280 fi
8281
8282
8283 enablestring=
8284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8286 no_cache=0
8287 # Check whether --enable-slider or --disable-slider was given.
8288 if test "${enable_slider+set}" = set; then
8289 enableval="$enable_slider"
8290
8291 if test "$enableval" = yes; then
8292 ac_cv_use_slider='wxUSE_SLIDER=yes'
8293 else
8294 ac_cv_use_slider='wxUSE_SLIDER=no'
8295 fi
8296
8297 else
8298
8299 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8300 if test "x$LINE" != x ; then
8301 eval "DEFAULT_$LINE"
8302 else
8303 no_cache=1
8304 fi
8305
8306 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8307
8308 fi;
8309
8310 eval "$ac_cv_use_slider"
8311 if test "$no_cache" != 1; then
8312 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8313 fi
8314
8315 if test "$wxUSE_SLIDER" = yes; then
8316 echo "$as_me:$LINENO: result: yes" >&5
8317 echo "${ECHO_T}yes" >&6
8318 else
8319 echo "$as_me:$LINENO: result: no" >&5
8320 echo "${ECHO_T}no" >&6
8321 fi
8322
8323
8324 enablestring=
8325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8326 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8327 no_cache=0
8328 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8329 if test "${enable_spinbtn+set}" = set; then
8330 enableval="$enable_spinbtn"
8331
8332 if test "$enableval" = yes; then
8333 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8334 else
8335 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8336 fi
8337
8338 else
8339
8340 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8341 if test "x$LINE" != x ; then
8342 eval "DEFAULT_$LINE"
8343 else
8344 no_cache=1
8345 fi
8346
8347 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8348
8349 fi;
8350
8351 eval "$ac_cv_use_spinbtn"
8352 if test "$no_cache" != 1; then
8353 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8354 fi
8355
8356 if test "$wxUSE_SPINBTN" = yes; then
8357 echo "$as_me:$LINENO: result: yes" >&5
8358 echo "${ECHO_T}yes" >&6
8359 else
8360 echo "$as_me:$LINENO: result: no" >&5
8361 echo "${ECHO_T}no" >&6
8362 fi
8363
8364
8365 enablestring=
8366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8368 no_cache=0
8369 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8370 if test "${enable_spinctrl+set}" = set; then
8371 enableval="$enable_spinctrl"
8372
8373 if test "$enableval" = yes; then
8374 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8375 else
8376 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8377 fi
8378
8379 else
8380
8381 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8382 if test "x$LINE" != x ; then
8383 eval "DEFAULT_$LINE"
8384 else
8385 no_cache=1
8386 fi
8387
8388 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8389
8390 fi;
8391
8392 eval "$ac_cv_use_spinctrl"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8395 fi
8396
8397 if test "$wxUSE_SPINCTRL" = yes; then
8398 echo "$as_me:$LINENO: result: yes" >&5
8399 echo "${ECHO_T}yes" >&6
8400 else
8401 echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6
8403 fi
8404
8405
8406 enablestring=
8407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8409 no_cache=0
8410 # Check whether --enable-splitter or --disable-splitter was given.
8411 if test "${enable_splitter+set}" = set; then
8412 enableval="$enable_splitter"
8413
8414 if test "$enableval" = yes; then
8415 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8416 else
8417 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8418 fi
8419
8420 else
8421
8422 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8423 if test "x$LINE" != x ; then
8424 eval "DEFAULT_$LINE"
8425 else
8426 no_cache=1
8427 fi
8428
8429 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8430
8431 fi;
8432
8433 eval "$ac_cv_use_splitter"
8434 if test "$no_cache" != 1; then
8435 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8436 fi
8437
8438 if test "$wxUSE_SPLITTER" = yes; then
8439 echo "$as_me:$LINENO: result: yes" >&5
8440 echo "${ECHO_T}yes" >&6
8441 else
8442 echo "$as_me:$LINENO: result: no" >&5
8443 echo "${ECHO_T}no" >&6
8444 fi
8445
8446
8447 enablestring=
8448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8450 no_cache=0
8451 # Check whether --enable-statbmp or --disable-statbmp was given.
8452 if test "${enable_statbmp+set}" = set; then
8453 enableval="$enable_statbmp"
8454
8455 if test "$enableval" = yes; then
8456 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8457 else
8458 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8459 fi
8460
8461 else
8462
8463 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8464 if test "x$LINE" != x ; then
8465 eval "DEFAULT_$LINE"
8466 else
8467 no_cache=1
8468 fi
8469
8470 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8471
8472 fi;
8473
8474 eval "$ac_cv_use_statbmp"
8475 if test "$no_cache" != 1; then
8476 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8477 fi
8478
8479 if test "$wxUSE_STATBMP" = yes; then
8480 echo "$as_me:$LINENO: result: yes" >&5
8481 echo "${ECHO_T}yes" >&6
8482 else
8483 echo "$as_me:$LINENO: result: no" >&5
8484 echo "${ECHO_T}no" >&6
8485 fi
8486
8487
8488 enablestring=
8489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8491 no_cache=0
8492 # Check whether --enable-statbox or --disable-statbox was given.
8493 if test "${enable_statbox+set}" = set; then
8494 enableval="$enable_statbox"
8495
8496 if test "$enableval" = yes; then
8497 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8498 else
8499 ac_cv_use_statbox='wxUSE_STATBOX=no'
8500 fi
8501
8502 else
8503
8504 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8505 if test "x$LINE" != x ; then
8506 eval "DEFAULT_$LINE"
8507 else
8508 no_cache=1
8509 fi
8510
8511 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8512
8513 fi;
8514
8515 eval "$ac_cv_use_statbox"
8516 if test "$no_cache" != 1; then
8517 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8518 fi
8519
8520 if test "$wxUSE_STATBOX" = yes; then
8521 echo "$as_me:$LINENO: result: yes" >&5
8522 echo "${ECHO_T}yes" >&6
8523 else
8524 echo "$as_me:$LINENO: result: no" >&5
8525 echo "${ECHO_T}no" >&6
8526 fi
8527
8528
8529 enablestring=
8530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8531 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8532 no_cache=0
8533 # Check whether --enable-statline or --disable-statline was given.
8534 if test "${enable_statline+set}" = set; then
8535 enableval="$enable_statline"
8536
8537 if test "$enableval" = yes; then
8538 ac_cv_use_statline='wxUSE_STATLINE=yes'
8539 else
8540 ac_cv_use_statline='wxUSE_STATLINE=no'
8541 fi
8542
8543 else
8544
8545 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x ; then
8547 eval "DEFAULT_$LINE"
8548 else
8549 no_cache=1
8550 fi
8551
8552 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8553
8554 fi;
8555
8556 eval "$ac_cv_use_statline"
8557 if test "$no_cache" != 1; then
8558 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8559 fi
8560
8561 if test "$wxUSE_STATLINE" = yes; then
8562 echo "$as_me:$LINENO: result: yes" >&5
8563 echo "${ECHO_T}yes" >&6
8564 else
8565 echo "$as_me:$LINENO: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8567 fi
8568
8569
8570 enablestring=
8571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8572 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8573 no_cache=0
8574 # Check whether --enable-stattext or --disable-stattext was given.
8575 if test "${enable_stattext+set}" = set; then
8576 enableval="$enable_stattext"
8577
8578 if test "$enableval" = yes; then
8579 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8580 else
8581 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8582 fi
8583
8584 else
8585
8586 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8587 if test "x$LINE" != x ; then
8588 eval "DEFAULT_$LINE"
8589 else
8590 no_cache=1
8591 fi
8592
8593 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8594
8595 fi;
8596
8597 eval "$ac_cv_use_stattext"
8598 if test "$no_cache" != 1; then
8599 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8600 fi
8601
8602 if test "$wxUSE_STATTEXT" = yes; then
8603 echo "$as_me:$LINENO: result: yes" >&5
8604 echo "${ECHO_T}yes" >&6
8605 else
8606 echo "$as_me:$LINENO: result: no" >&5
8607 echo "${ECHO_T}no" >&6
8608 fi
8609
8610
8611 enablestring=
8612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8613 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8614 no_cache=0
8615 # Check whether --enable-statusbar or --disable-statusbar was given.
8616 if test "${enable_statusbar+set}" = set; then
8617 enableval="$enable_statusbar"
8618
8619 if test "$enableval" = yes; then
8620 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8621 else
8622 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8623 fi
8624
8625 else
8626
8627 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8628 if test "x$LINE" != x ; then
8629 eval "DEFAULT_$LINE"
8630 else
8631 no_cache=1
8632 fi
8633
8634 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8635
8636 fi;
8637
8638 eval "$ac_cv_use_statusbar"
8639 if test "$no_cache" != 1; then
8640 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8641 fi
8642
8643 if test "$wxUSE_STATUSBAR" = yes; then
8644 echo "$as_me:$LINENO: result: yes" >&5
8645 echo "${ECHO_T}yes" >&6
8646 else
8647 echo "$as_me:$LINENO: result: no" >&5
8648 echo "${ECHO_T}no" >&6
8649 fi
8650
8651
8652 enablestring=
8653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8655 no_cache=0
8656 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8657 if test "${enable_tabdialog+set}" = set; then
8658 enableval="$enable_tabdialog"
8659
8660 if test "$enableval" = yes; then
8661 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8662 else
8663 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8664 fi
8665
8666 else
8667
8668 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x ; then
8670 eval "DEFAULT_$LINE"
8671 else
8672 no_cache=1
8673 fi
8674
8675 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8676
8677 fi;
8678
8679 eval "$ac_cv_use_tabdialog"
8680 if test "$no_cache" != 1; then
8681 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8682 fi
8683
8684 if test "$wxUSE_TABDIALOG" = yes; then
8685 echo "$as_me:$LINENO: result: yes" >&5
8686 echo "${ECHO_T}yes" >&6
8687 else
8688 echo "$as_me:$LINENO: result: no" >&5
8689 echo "${ECHO_T}no" >&6
8690 fi
8691
8692
8693 enablestring=
8694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8695 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8696 no_cache=0
8697 # Check whether --enable-textctrl or --disable-textctrl was given.
8698 if test "${enable_textctrl+set}" = set; then
8699 enableval="$enable_textctrl"
8700
8701 if test "$enableval" = yes; then
8702 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8703 else
8704 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8705 fi
8706
8707 else
8708
8709 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8710 if test "x$LINE" != x ; then
8711 eval "DEFAULT_$LINE"
8712 else
8713 no_cache=1
8714 fi
8715
8716 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8717
8718 fi;
8719
8720 eval "$ac_cv_use_textctrl"
8721 if test "$no_cache" != 1; then
8722 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8723 fi
8724
8725 if test "$wxUSE_TEXTCTRL" = yes; then
8726 echo "$as_me:$LINENO: result: yes" >&5
8727 echo "${ECHO_T}yes" >&6
8728 else
8729 echo "$as_me:$LINENO: result: no" >&5
8730 echo "${ECHO_T}no" >&6
8731 fi
8732
8733
8734 enablestring=
8735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8736 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8737 no_cache=0
8738 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8739 if test "${enable_togglebtn+set}" = set; then
8740 enableval="$enable_togglebtn"
8741
8742 if test "$enableval" = yes; then
8743 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8744 else
8745 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8746 fi
8747
8748 else
8749
8750 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8751 if test "x$LINE" != x ; then
8752 eval "DEFAULT_$LINE"
8753 else
8754 no_cache=1
8755 fi
8756
8757 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8758
8759 fi;
8760
8761 eval "$ac_cv_use_togglebtn"
8762 if test "$no_cache" != 1; then
8763 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8764 fi
8765
8766 if test "$wxUSE_TOGGLEBTN" = yes; then
8767 echo "$as_me:$LINENO: result: yes" >&5
8768 echo "${ECHO_T}yes" >&6
8769 else
8770 echo "$as_me:$LINENO: result: no" >&5
8771 echo "${ECHO_T}no" >&6
8772 fi
8773
8774
8775 enablestring=
8776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8777 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8778 no_cache=0
8779 # Check whether --enable-toolbar or --disable-toolbar was given.
8780 if test "${enable_toolbar+set}" = set; then
8781 enableval="$enable_toolbar"
8782
8783 if test "$enableval" = yes; then
8784 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8785 else
8786 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8787 fi
8788
8789 else
8790
8791 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8792 if test "x$LINE" != x ; then
8793 eval "DEFAULT_$LINE"
8794 else
8795 no_cache=1
8796 fi
8797
8798 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8799
8800 fi;
8801
8802 eval "$ac_cv_use_toolbar"
8803 if test "$no_cache" != 1; then
8804 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8805 fi
8806
8807 if test "$wxUSE_TOOLBAR" = yes; then
8808 echo "$as_me:$LINENO: result: yes" >&5
8809 echo "${ECHO_T}yes" >&6
8810 else
8811 echo "$as_me:$LINENO: result: no" >&5
8812 echo "${ECHO_T}no" >&6
8813 fi
8814
8815
8816 enablestring=
8817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8818 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8819 no_cache=0
8820 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8821 if test "${enable_tbarnative+set}" = set; then
8822 enableval="$enable_tbarnative"
8823
8824 if test "$enableval" = yes; then
8825 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8826 else
8827 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8828 fi
8829
8830 else
8831
8832 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8833 if test "x$LINE" != x ; then
8834 eval "DEFAULT_$LINE"
8835 else
8836 no_cache=1
8837 fi
8838
8839 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8840
8841 fi;
8842
8843 eval "$ac_cv_use_tbarnative"
8844 if test "$no_cache" != 1; then
8845 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8846 fi
8847
8848 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8849 echo "$as_me:$LINENO: result: yes" >&5
8850 echo "${ECHO_T}yes" >&6
8851 else
8852 echo "$as_me:$LINENO: result: no" >&5
8853 echo "${ECHO_T}no" >&6
8854 fi
8855
8856
8857 enablestring=
8858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8859 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8860 no_cache=0
8861 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8862 if test "${enable_tbarsmpl+set}" = set; then
8863 enableval="$enable_tbarsmpl"
8864
8865 if test "$enableval" = yes; then
8866 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8867 else
8868 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8869 fi
8870
8871 else
8872
8873 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8874 if test "x$LINE" != x ; then
8875 eval "DEFAULT_$LINE"
8876 else
8877 no_cache=1
8878 fi
8879
8880 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8881
8882 fi;
8883
8884 eval "$ac_cv_use_tbarsmpl"
8885 if test "$no_cache" != 1; then
8886 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8887 fi
8888
8889 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8890 echo "$as_me:$LINENO: result: yes" >&5
8891 echo "${ECHO_T}yes" >&6
8892 else
8893 echo "$as_me:$LINENO: result: no" >&5
8894 echo "${ECHO_T}no" >&6
8895 fi
8896
8897
8898 enablestring=
8899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8901 no_cache=0
8902 # Check whether --enable-treectrl or --disable-treectrl was given.
8903 if test "${enable_treectrl+set}" = set; then
8904 enableval="$enable_treectrl"
8905
8906 if test "$enableval" = yes; then
8907 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8908 else
8909 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8910 fi
8911
8912 else
8913
8914 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8915 if test "x$LINE" != x ; then
8916 eval "DEFAULT_$LINE"
8917 else
8918 no_cache=1
8919 fi
8920
8921 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8922
8923 fi;
8924
8925 eval "$ac_cv_use_treectrl"
8926 if test "$no_cache" != 1; then
8927 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8928 fi
8929
8930 if test "$wxUSE_TREECTRL" = yes; then
8931 echo "$as_me:$LINENO: result: yes" >&5
8932 echo "${ECHO_T}yes" >&6
8933 else
8934 echo "$as_me:$LINENO: result: no" >&5
8935 echo "${ECHO_T}no" >&6
8936 fi
8937
8938
8939 enablestring=
8940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8942 no_cache=0
8943 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8944 if test "${enable_tipwindow+set}" = set; then
8945 enableval="$enable_tipwindow"
8946
8947 if test "$enableval" = yes; then
8948 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8949 else
8950 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8951 fi
8952
8953 else
8954
8955 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8956 if test "x$LINE" != x ; then
8957 eval "DEFAULT_$LINE"
8958 else
8959 no_cache=1
8960 fi
8961
8962 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8963
8964 fi;
8965
8966 eval "$ac_cv_use_tipwindow"
8967 if test "$no_cache" != 1; then
8968 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8969 fi
8970
8971 if test "$wxUSE_TIPWINDOW" = yes; then
8972 echo "$as_me:$LINENO: result: yes" >&5
8973 echo "${ECHO_T}yes" >&6
8974 else
8975 echo "$as_me:$LINENO: result: no" >&5
8976 echo "${ECHO_T}no" >&6
8977 fi
8978
8979
8980 enablestring=
8981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8983 no_cache=0
8984 # Check whether --enable-popupwin or --disable-popupwin was given.
8985 if test "${enable_popupwin+set}" = set; then
8986 enableval="$enable_popupwin"
8987
8988 if test "$enableval" = yes; then
8989 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8990 else
8991 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8992 fi
8993
8994 else
8995
8996 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8997 if test "x$LINE" != x ; then
8998 eval "DEFAULT_$LINE"
8999 else
9000 no_cache=1
9001 fi
9002
9003 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9004
9005 fi;
9006
9007 eval "$ac_cv_use_popupwin"
9008 if test "$no_cache" != 1; then
9009 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9010 fi
9011
9012 if test "$wxUSE_POPUPWIN" = yes; then
9013 echo "$as_me:$LINENO: result: yes" >&5
9014 echo "${ECHO_T}yes" >&6
9015 else
9016 echo "$as_me:$LINENO: result: no" >&5
9017 echo "${ECHO_T}no" >&6
9018 fi
9019
9020
9021
9022
9023 enablestring=
9024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9026 no_cache=0
9027 # Check whether --enable-commondlg or --disable-commondlg was given.
9028 if test "${enable_commondlg+set}" = set; then
9029 enableval="$enable_commondlg"
9030
9031 if test "$enableval" = yes; then
9032 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9033 else
9034 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9035 fi
9036
9037 else
9038
9039 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9040 if test "x$LINE" != x ; then
9041 eval "DEFAULT_$LINE"
9042 else
9043 no_cache=1
9044 fi
9045
9046 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9047
9048 fi;
9049
9050 eval "$ac_cv_use_commondlg"
9051 if test "$no_cache" != 1; then
9052 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9053 fi
9054
9055 if test "$wxUSE_COMMONDLGS" = yes; then
9056 echo "$as_me:$LINENO: result: yes" >&5
9057 echo "${ECHO_T}yes" >&6
9058 else
9059 echo "$as_me:$LINENO: result: no" >&5
9060 echo "${ECHO_T}no" >&6
9061 fi
9062
9063
9064 enablestring=
9065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9066 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9067 no_cache=0
9068 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9069 if test "${enable_choicedlg+set}" = set; then
9070 enableval="$enable_choicedlg"
9071
9072 if test "$enableval" = yes; then
9073 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9074 else
9075 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9076 fi
9077
9078 else
9079
9080 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9081 if test "x$LINE" != x ; then
9082 eval "DEFAULT_$LINE"
9083 else
9084 no_cache=1
9085 fi
9086
9087 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9088
9089 fi;
9090
9091 eval "$ac_cv_use_choicedlg"
9092 if test "$no_cache" != 1; then
9093 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9094 fi
9095
9096 if test "$wxUSE_CHOICEDLG" = yes; then
9097 echo "$as_me:$LINENO: result: yes" >&5
9098 echo "${ECHO_T}yes" >&6
9099 else
9100 echo "$as_me:$LINENO: result: no" >&5
9101 echo "${ECHO_T}no" >&6
9102 fi
9103
9104
9105 enablestring=
9106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9107 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9108 no_cache=0
9109 # Check whether --enable-coldlg or --disable-coldlg was given.
9110 if test "${enable_coldlg+set}" = set; then
9111 enableval="$enable_coldlg"
9112
9113 if test "$enableval" = yes; then
9114 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9115 else
9116 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9117 fi
9118
9119 else
9120
9121 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9122 if test "x$LINE" != x ; then
9123 eval "DEFAULT_$LINE"
9124 else
9125 no_cache=1
9126 fi
9127
9128 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9129
9130 fi;
9131
9132 eval "$ac_cv_use_coldlg"
9133 if test "$no_cache" != 1; then
9134 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9135 fi
9136
9137 if test "$wxUSE_COLOURDLG" = yes; then
9138 echo "$as_me:$LINENO: result: yes" >&5
9139 echo "${ECHO_T}yes" >&6
9140 else
9141 echo "$as_me:$LINENO: result: no" >&5
9142 echo "${ECHO_T}no" >&6
9143 fi
9144
9145
9146 enablestring=
9147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9149 no_cache=0
9150 # Check whether --enable-filedlg or --disable-filedlg was given.
9151 if test "${enable_filedlg+set}" = set; then
9152 enableval="$enable_filedlg"
9153
9154 if test "$enableval" = yes; then
9155 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9156 else
9157 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9158 fi
9159
9160 else
9161
9162 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x ; then
9164 eval "DEFAULT_$LINE"
9165 else
9166 no_cache=1
9167 fi
9168
9169 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9170
9171 fi;
9172
9173 eval "$ac_cv_use_filedlg"
9174 if test "$no_cache" != 1; then
9175 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9176 fi
9177
9178 if test "$wxUSE_FILEDLG" = yes; then
9179 echo "$as_me:$LINENO: result: yes" >&5
9180 echo "${ECHO_T}yes" >&6
9181 else
9182 echo "$as_me:$LINENO: result: no" >&5
9183 echo "${ECHO_T}no" >&6
9184 fi
9185
9186
9187 enablestring=
9188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9190 no_cache=0
9191 # Check whether --enable-finddlg or --disable-finddlg was given.
9192 if test "${enable_finddlg+set}" = set; then
9193 enableval="$enable_finddlg"
9194
9195 if test "$enableval" = yes; then
9196 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9197 else
9198 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9199 fi
9200
9201 else
9202
9203 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9204 if test "x$LINE" != x ; then
9205 eval "DEFAULT_$LINE"
9206 else
9207 no_cache=1
9208 fi
9209
9210 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9211
9212 fi;
9213
9214 eval "$ac_cv_use_finddlg"
9215 if test "$no_cache" != 1; then
9216 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9217 fi
9218
9219 if test "$wxUSE_FINDREPLDLG" = yes; then
9220 echo "$as_me:$LINENO: result: yes" >&5
9221 echo "${ECHO_T}yes" >&6
9222 else
9223 echo "$as_me:$LINENO: result: no" >&5
9224 echo "${ECHO_T}no" >&6
9225 fi
9226
9227
9228 enablestring=
9229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9230 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9231 no_cache=0
9232 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9233 if test "${enable_fontdlg+set}" = set; then
9234 enableval="$enable_fontdlg"
9235
9236 if test "$enableval" = yes; then
9237 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9238 else
9239 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9240 fi
9241
9242 else
9243
9244 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9245 if test "x$LINE" != x ; then
9246 eval "DEFAULT_$LINE"
9247 else
9248 no_cache=1
9249 fi
9250
9251 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9252
9253 fi;
9254
9255 eval "$ac_cv_use_fontdlg"
9256 if test "$no_cache" != 1; then
9257 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9258 fi
9259
9260 if test "$wxUSE_FONTDLG" = yes; then
9261 echo "$as_me:$LINENO: result: yes" >&5
9262 echo "${ECHO_T}yes" >&6
9263 else
9264 echo "$as_me:$LINENO: result: no" >&5
9265 echo "${ECHO_T}no" >&6
9266 fi
9267
9268
9269 enablestring=
9270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9271 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9272 no_cache=0
9273 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9274 if test "${enable_dirdlg+set}" = set; then
9275 enableval="$enable_dirdlg"
9276
9277 if test "$enableval" = yes; then
9278 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9279 else
9280 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9281 fi
9282
9283 else
9284
9285 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x ; then
9287 eval "DEFAULT_$LINE"
9288 else
9289 no_cache=1
9290 fi
9291
9292 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9293
9294 fi;
9295
9296 eval "$ac_cv_use_dirdlg"
9297 if test "$no_cache" != 1; then
9298 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9299 fi
9300
9301 if test "$wxUSE_DIRDLG" = yes; then
9302 echo "$as_me:$LINENO: result: yes" >&5
9303 echo "${ECHO_T}yes" >&6
9304 else
9305 echo "$as_me:$LINENO: result: no" >&5
9306 echo "${ECHO_T}no" >&6
9307 fi
9308
9309
9310 enablestring=
9311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9312 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9313 no_cache=0
9314 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9315 if test "${enable_msgdlg+set}" = set; then
9316 enableval="$enable_msgdlg"
9317
9318 if test "$enableval" = yes; then
9319 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9320 else
9321 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9322 fi
9323
9324 else
9325
9326 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x ; then
9328 eval "DEFAULT_$LINE"
9329 else
9330 no_cache=1
9331 fi
9332
9333 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9334
9335 fi;
9336
9337 eval "$ac_cv_use_msgdlg"
9338 if test "$no_cache" != 1; then
9339 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9340 fi
9341
9342 if test "$wxUSE_MSGDLG" = yes; then
9343 echo "$as_me:$LINENO: result: yes" >&5
9344 echo "${ECHO_T}yes" >&6
9345 else
9346 echo "$as_me:$LINENO: result: no" >&5
9347 echo "${ECHO_T}no" >&6
9348 fi
9349
9350
9351 enablestring=
9352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9353 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9354 no_cache=0
9355 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9356 if test "${enable_numberdlg+set}" = set; then
9357 enableval="$enable_numberdlg"
9358
9359 if test "$enableval" = yes; then
9360 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9361 else
9362 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9363 fi
9364
9365 else
9366
9367 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x ; then
9369 eval "DEFAULT_$LINE"
9370 else
9371 no_cache=1
9372 fi
9373
9374 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9375
9376 fi;
9377
9378 eval "$ac_cv_use_numberdlg"
9379 if test "$no_cache" != 1; then
9380 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9381 fi
9382
9383 if test "$wxUSE_NUMBERDLG" = yes; then
9384 echo "$as_me:$LINENO: result: yes" >&5
9385 echo "${ECHO_T}yes" >&6
9386 else
9387 echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6
9389 fi
9390
9391
9392 enablestring=
9393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9394 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9395 no_cache=0
9396 # Check whether --enable-splash or --disable-splash was given.
9397 if test "${enable_splash+set}" = set; then
9398 enableval="$enable_splash"
9399
9400 if test "$enableval" = yes; then
9401 ac_cv_use_splash='wxUSE_SPLASH=yes'
9402 else
9403 ac_cv_use_splash='wxUSE_SPLASH=no'
9404 fi
9405
9406 else
9407
9408 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9409 if test "x$LINE" != x ; then
9410 eval "DEFAULT_$LINE"
9411 else
9412 no_cache=1
9413 fi
9414
9415 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9416
9417 fi;
9418
9419 eval "$ac_cv_use_splash"
9420 if test "$no_cache" != 1; then
9421 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9422 fi
9423
9424 if test "$wxUSE_SPLASH" = yes; then
9425 echo "$as_me:$LINENO: result: yes" >&5
9426 echo "${ECHO_T}yes" >&6
9427 else
9428 echo "$as_me:$LINENO: result: no" >&5
9429 echo "${ECHO_T}no" >&6
9430 fi
9431
9432
9433 enablestring=
9434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9436 no_cache=0
9437 # Check whether --enable-textdlg or --disable-textdlg was given.
9438 if test "${enable_textdlg+set}" = set; then
9439 enableval="$enable_textdlg"
9440
9441 if test "$enableval" = yes; then
9442 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9443 else
9444 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9445 fi
9446
9447 else
9448
9449 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9450 if test "x$LINE" != x ; then
9451 eval "DEFAULT_$LINE"
9452 else
9453 no_cache=1
9454 fi
9455
9456 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9457
9458 fi;
9459
9460 eval "$ac_cv_use_textdlg"
9461 if test "$no_cache" != 1; then
9462 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9463 fi
9464
9465 if test "$wxUSE_TEXTDLG" = yes; then
9466 echo "$as_me:$LINENO: result: yes" >&5
9467 echo "${ECHO_T}yes" >&6
9468 else
9469 echo "$as_me:$LINENO: result: no" >&5
9470 echo "${ECHO_T}no" >&6
9471 fi
9472
9473
9474 enablestring=
9475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9476 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9477 no_cache=0
9478 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9479 if test "${enable_tipdlg+set}" = set; then
9480 enableval="$enable_tipdlg"
9481
9482 if test "$enableval" = yes; then
9483 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9484 else
9485 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9486 fi
9487
9488 else
9489
9490 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9491 if test "x$LINE" != x ; then
9492 eval "DEFAULT_$LINE"
9493 else
9494 no_cache=1
9495 fi
9496
9497 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9498
9499 fi;
9500
9501 eval "$ac_cv_use_tipdlg"
9502 if test "$no_cache" != 1; then
9503 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9504 fi
9505
9506 if test "$wxUSE_STARTUP_TIPS" = yes; then
9507 echo "$as_me:$LINENO: result: yes" >&5
9508 echo "${ECHO_T}yes" >&6
9509 else
9510 echo "$as_me:$LINENO: result: no" >&5
9511 echo "${ECHO_T}no" >&6
9512 fi
9513
9514
9515 enablestring=
9516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9518 no_cache=0
9519 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9520 if test "${enable_progressdlg+set}" = set; then
9521 enableval="$enable_progressdlg"
9522
9523 if test "$enableval" = yes; then
9524 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9525 else
9526 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9527 fi
9528
9529 else
9530
9531 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9532 if test "x$LINE" != x ; then
9533 eval "DEFAULT_$LINE"
9534 else
9535 no_cache=1
9536 fi
9537
9538 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9539
9540 fi;
9541
9542 eval "$ac_cv_use_progressdlg"
9543 if test "$no_cache" != 1; then
9544 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9545 fi
9546
9547 if test "$wxUSE_PROGRESSDLG" = yes; then
9548 echo "$as_me:$LINENO: result: yes" >&5
9549 echo "${ECHO_T}yes" >&6
9550 else
9551 echo "$as_me:$LINENO: result: no" >&5
9552 echo "${ECHO_T}no" >&6
9553 fi
9554
9555
9556 enablestring=
9557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9559 no_cache=0
9560 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9561 if test "${enable_wizarddlg+set}" = set; then
9562 enableval="$enable_wizarddlg"
9563
9564 if test "$enableval" = yes; then
9565 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9566 else
9567 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9568 fi
9569
9570 else
9571
9572 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9573 if test "x$LINE" != x ; then
9574 eval "DEFAULT_$LINE"
9575 else
9576 no_cache=1
9577 fi
9578
9579 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9580
9581 fi;
9582
9583 eval "$ac_cv_use_wizarddlg"
9584 if test "$no_cache" != 1; then
9585 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9586 fi
9587
9588 if test "$wxUSE_WIZARDDLG" = yes; then
9589 echo "$as_me:$LINENO: result: yes" >&5
9590 echo "${ECHO_T}yes" >&6
9591 else
9592 echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6
9594 fi
9595
9596
9597
9598
9599 enablestring=
9600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9601 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9602 no_cache=0
9603 # Check whether --enable-menus or --disable-menus was given.
9604 if test "${enable_menus+set}" = set; then
9605 enableval="$enable_menus"
9606
9607 if test "$enableval" = yes; then
9608 ac_cv_use_menus='wxUSE_MENUS=yes'
9609 else
9610 ac_cv_use_menus='wxUSE_MENUS=no'
9611 fi
9612
9613 else
9614
9615 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9616 if test "x$LINE" != x ; then
9617 eval "DEFAULT_$LINE"
9618 else
9619 no_cache=1
9620 fi
9621
9622 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9623
9624 fi;
9625
9626 eval "$ac_cv_use_menus"
9627 if test "$no_cache" != 1; then
9628 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9629 fi
9630
9631 if test "$wxUSE_MENUS" = yes; then
9632 echo "$as_me:$LINENO: result: yes" >&5
9633 echo "${ECHO_T}yes" >&6
9634 else
9635 echo "$as_me:$LINENO: result: no" >&5
9636 echo "${ECHO_T}no" >&6
9637 fi
9638
9639
9640 enablestring=
9641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9642 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9643 no_cache=0
9644 # Check whether --enable-miniframe or --disable-miniframe was given.
9645 if test "${enable_miniframe+set}" = set; then
9646 enableval="$enable_miniframe"
9647
9648 if test "$enableval" = yes; then
9649 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9650 else
9651 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9652 fi
9653
9654 else
9655
9656 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9657 if test "x$LINE" != x ; then
9658 eval "DEFAULT_$LINE"
9659 else
9660 no_cache=1
9661 fi
9662
9663 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9664
9665 fi;
9666
9667 eval "$ac_cv_use_miniframe"
9668 if test "$no_cache" != 1; then
9669 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9670 fi
9671
9672 if test "$wxUSE_MINIFRAME" = yes; then
9673 echo "$as_me:$LINENO: result: yes" >&5
9674 echo "${ECHO_T}yes" >&6
9675 else
9676 echo "$as_me:$LINENO: result: no" >&5
9677 echo "${ECHO_T}no" >&6
9678 fi
9679
9680
9681 enablestring=
9682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9683 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9684 no_cache=0
9685 # Check whether --enable-tooltips or --disable-tooltips was given.
9686 if test "${enable_tooltips+set}" = set; then
9687 enableval="$enable_tooltips"
9688
9689 if test "$enableval" = yes; then
9690 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9691 else
9692 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9693 fi
9694
9695 else
9696
9697 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9698 if test "x$LINE" != x ; then
9699 eval "DEFAULT_$LINE"
9700 else
9701 no_cache=1
9702 fi
9703
9704 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9705
9706 fi;
9707
9708 eval "$ac_cv_use_tooltips"
9709 if test "$no_cache" != 1; then
9710 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9711 fi
9712
9713 if test "$wxUSE_TOOLTIPS" = yes; then
9714 echo "$as_me:$LINENO: result: yes" >&5
9715 echo "${ECHO_T}yes" >&6
9716 else
9717 echo "$as_me:$LINENO: result: no" >&5
9718 echo "${ECHO_T}no" >&6
9719 fi
9720
9721
9722 enablestring=
9723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9724 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9725 no_cache=0
9726 # Check whether --enable-splines or --disable-splines was given.
9727 if test "${enable_splines+set}" = set; then
9728 enableval="$enable_splines"
9729
9730 if test "$enableval" = yes; then
9731 ac_cv_use_splines='wxUSE_SPLINES=yes'
9732 else
9733 ac_cv_use_splines='wxUSE_SPLINES=no'
9734 fi
9735
9736 else
9737
9738 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9739 if test "x$LINE" != x ; then
9740 eval "DEFAULT_$LINE"
9741 else
9742 no_cache=1
9743 fi
9744
9745 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9746
9747 fi;
9748
9749 eval "$ac_cv_use_splines"
9750 if test "$no_cache" != 1; then
9751 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9752 fi
9753
9754 if test "$wxUSE_SPLINES" = yes; then
9755 echo "$as_me:$LINENO: result: yes" >&5
9756 echo "${ECHO_T}yes" >&6
9757 else
9758 echo "$as_me:$LINENO: result: no" >&5
9759 echo "${ECHO_T}no" >&6
9760 fi
9761
9762
9763 enablestring=
9764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9765 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9766 no_cache=0
9767 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9768 if test "${enable_mousewheel+set}" = set; then
9769 enableval="$enable_mousewheel"
9770
9771 if test "$enableval" = yes; then
9772 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
9773 else
9774 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
9775 fi
9776
9777 else
9778
9779 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9780 if test "x$LINE" != x ; then
9781 eval "DEFAULT_$LINE"
9782 else
9783 no_cache=1
9784 fi
9785
9786 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9787
9788 fi;
9789
9790 eval "$ac_cv_use_mousewheel"
9791 if test "$no_cache" != 1; then
9792 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9793 fi
9794
9795 if test "$wxUSE_MOUSEWHEEL" = yes; then
9796 echo "$as_me:$LINENO: result: yes" >&5
9797 echo "${ECHO_T}yes" >&6
9798 else
9799 echo "$as_me:$LINENO: result: no" >&5
9800 echo "${ECHO_T}no" >&6
9801 fi
9802
9803
9804 enablestring=
9805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9806 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9807 no_cache=0
9808 # Check whether --enable-validators or --disable-validators was given.
9809 if test "${enable_validators+set}" = set; then
9810 enableval="$enable_validators"
9811
9812 if test "$enableval" = yes; then
9813 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9814 else
9815 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9816 fi
9817
9818 else
9819
9820 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9821 if test "x$LINE" != x ; then
9822 eval "DEFAULT_$LINE"
9823 else
9824 no_cache=1
9825 fi
9826
9827 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9828
9829 fi;
9830
9831 eval "$ac_cv_use_validators"
9832 if test "$no_cache" != 1; then
9833 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9834 fi
9835
9836 if test "$wxUSE_VALIDATORS" = yes; then
9837 echo "$as_me:$LINENO: result: yes" >&5
9838 echo "${ECHO_T}yes" >&6
9839 else
9840 echo "$as_me:$LINENO: result: no" >&5
9841 echo "${ECHO_T}no" >&6
9842 fi
9843
9844
9845 enablestring=
9846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9848 no_cache=0
9849 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9850 if test "${enable_busyinfo+set}" = set; then
9851 enableval="$enable_busyinfo"
9852
9853 if test "$enableval" = yes; then
9854 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9855 else
9856 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9857 fi
9858
9859 else
9860
9861 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x ; then
9863 eval "DEFAULT_$LINE"
9864 else
9865 no_cache=1
9866 fi
9867
9868 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9869
9870 fi;
9871
9872 eval "$ac_cv_use_busyinfo"
9873 if test "$no_cache" != 1; then
9874 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9875 fi
9876
9877 if test "$wxUSE_BUSYINFO" = yes; then
9878 echo "$as_me:$LINENO: result: yes" >&5
9879 echo "${ECHO_T}yes" >&6
9880 else
9881 echo "$as_me:$LINENO: result: no" >&5
9882 echo "${ECHO_T}no" >&6
9883 fi
9884
9885
9886 enablestring=
9887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9888 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9889 no_cache=0
9890 # Check whether --enable-joystick or --disable-joystick was given.
9891 if test "${enable_joystick+set}" = set; then
9892 enableval="$enable_joystick"
9893
9894 if test "$enableval" = yes; then
9895 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9896 else
9897 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9898 fi
9899
9900 else
9901
9902 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9903 if test "x$LINE" != x ; then
9904 eval "DEFAULT_$LINE"
9905 else
9906 no_cache=1
9907 fi
9908
9909 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9910
9911 fi;
9912
9913 eval "$ac_cv_use_joystick"
9914 if test "$no_cache" != 1; then
9915 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9916 fi
9917
9918 if test "$wxUSE_JOYSTICK" = yes; then
9919 echo "$as_me:$LINENO: result: yes" >&5
9920 echo "${ECHO_T}yes" >&6
9921 else
9922 echo "$as_me:$LINENO: result: no" >&5
9923 echo "${ECHO_T}no" >&6
9924 fi
9925
9926
9927 enablestring=
9928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9929 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9930 no_cache=0
9931 # Check whether --enable-metafile or --disable-metafile was given.
9932 if test "${enable_metafile+set}" = set; then
9933 enableval="$enable_metafile"
9934
9935 if test "$enableval" = yes; then
9936 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9937 else
9938 ac_cv_use_metafile='wxUSE_METAFILE=no'
9939 fi
9940
9941 else
9942
9943 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9944 if test "x$LINE" != x ; then
9945 eval "DEFAULT_$LINE"
9946 else
9947 no_cache=1
9948 fi
9949
9950 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9951
9952 fi;
9953
9954 eval "$ac_cv_use_metafile"
9955 if test "$no_cache" != 1; then
9956 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9957 fi
9958
9959 if test "$wxUSE_METAFILE" = yes; then
9960 echo "$as_me:$LINENO: result: yes" >&5
9961 echo "${ECHO_T}yes" >&6
9962 else
9963 echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6
9965 fi
9966
9967
9968 enablestring=
9969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9970 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9971 no_cache=0
9972 # Check whether --enable-dragimage or --disable-dragimage was given.
9973 if test "${enable_dragimage+set}" = set; then
9974 enableval="$enable_dragimage"
9975
9976 if test "$enableval" = yes; then
9977 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9978 else
9979 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9980 fi
9981
9982 else
9983
9984 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9985 if test "x$LINE" != x ; then
9986 eval "DEFAULT_$LINE"
9987 else
9988 no_cache=1
9989 fi
9990
9991 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9992
9993 fi;
9994
9995 eval "$ac_cv_use_dragimage"
9996 if test "$no_cache" != 1; then
9997 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9998 fi
9999
10000 if test "$wxUSE_DRAGIMAGE" = yes; then
10001 echo "$as_me:$LINENO: result: yes" >&5
10002 echo "${ECHO_T}yes" >&6
10003 else
10004 echo "$as_me:$LINENO: result: no" >&5
10005 echo "${ECHO_T}no" >&6
10006 fi
10007
10008
10009 enablestring=
10010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10011 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10012 no_cache=0
10013 # Check whether --enable-accessibility or --disable-accessibility was given.
10014 if test "${enable_accessibility+set}" = set; then
10015 enableval="$enable_accessibility"
10016
10017 if test "$enableval" = yes; then
10018 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10019 else
10020 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10021 fi
10022
10023 else
10024
10025 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10026 if test "x$LINE" != x ; then
10027 eval "DEFAULT_$LINE"
10028 else
10029 no_cache=1
10030 fi
10031
10032 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10033
10034 fi;
10035
10036 eval "$ac_cv_use_accessibility"
10037 if test "$no_cache" != 1; then
10038 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10039 fi
10040
10041 if test "$wxUSE_ACCESSIBILITY" = yes; then
10042 echo "$as_me:$LINENO: result: yes" >&5
10043 echo "${ECHO_T}yes" >&6
10044 else
10045 echo "$as_me:$LINENO: result: no" >&5
10046 echo "${ECHO_T}no" >&6
10047 fi
10048
10049
10050
10051
10052 enablestring=
10053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10054 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10055 no_cache=0
10056 # Check whether --enable-palette or --disable-palette was given.
10057 if test "${enable_palette+set}" = set; then
10058 enableval="$enable_palette"
10059
10060 if test "$enableval" = yes; then
10061 ac_cv_use_palette='wxUSE_PALETTE=yes'
10062 else
10063 ac_cv_use_palette='wxUSE_PALETTE=no'
10064 fi
10065
10066 else
10067
10068 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10069 if test "x$LINE" != x ; then
10070 eval "DEFAULT_$LINE"
10071 else
10072 no_cache=1
10073 fi
10074
10075 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10076
10077 fi;
10078
10079 eval "$ac_cv_use_palette"
10080 if test "$no_cache" != 1; then
10081 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10082 fi
10083
10084 if test "$wxUSE_PALETTE" = yes; then
10085 echo "$as_me:$LINENO: result: yes" >&5
10086 echo "${ECHO_T}yes" >&6
10087 else
10088 echo "$as_me:$LINENO: result: no" >&5
10089 echo "${ECHO_T}no" >&6
10090 fi
10091
10092
10093 enablestring=
10094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10095 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10096 no_cache=0
10097 # Check whether --enable-image or --disable-image was given.
10098 if test "${enable_image+set}" = set; then
10099 enableval="$enable_image"
10100
10101 if test "$enableval" = yes; then
10102 ac_cv_use_image='wxUSE_IMAGE=yes'
10103 else
10104 ac_cv_use_image='wxUSE_IMAGE=no'
10105 fi
10106
10107 else
10108
10109 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10110 if test "x$LINE" != x ; then
10111 eval "DEFAULT_$LINE"
10112 else
10113 no_cache=1
10114 fi
10115
10116 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10117
10118 fi;
10119
10120 eval "$ac_cv_use_image"
10121 if test "$no_cache" != 1; then
10122 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10123 fi
10124
10125 if test "$wxUSE_IMAGE" = yes; then
10126 echo "$as_me:$LINENO: result: yes" >&5
10127 echo "${ECHO_T}yes" >&6
10128 else
10129 echo "$as_me:$LINENO: result: no" >&5
10130 echo "${ECHO_T}no" >&6
10131 fi
10132
10133
10134 enablestring=
10135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10136 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10137 no_cache=0
10138 # Check whether --enable-gif or --disable-gif was given.
10139 if test "${enable_gif+set}" = set; then
10140 enableval="$enable_gif"
10141
10142 if test "$enableval" = yes; then
10143 ac_cv_use_gif='wxUSE_GIF=yes'
10144 else
10145 ac_cv_use_gif='wxUSE_GIF=no'
10146 fi
10147
10148 else
10149
10150 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10151 if test "x$LINE" != x ; then
10152 eval "DEFAULT_$LINE"
10153 else
10154 no_cache=1
10155 fi
10156
10157 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10158
10159 fi;
10160
10161 eval "$ac_cv_use_gif"
10162 if test "$no_cache" != 1; then
10163 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10164 fi
10165
10166 if test "$wxUSE_GIF" = yes; then
10167 echo "$as_me:$LINENO: result: yes" >&5
10168 echo "${ECHO_T}yes" >&6
10169 else
10170 echo "$as_me:$LINENO: result: no" >&5
10171 echo "${ECHO_T}no" >&6
10172 fi
10173
10174
10175 enablestring=
10176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10177 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10178 no_cache=0
10179 # Check whether --enable-pcx or --disable-pcx was given.
10180 if test "${enable_pcx+set}" = set; then
10181 enableval="$enable_pcx"
10182
10183 if test "$enableval" = yes; then
10184 ac_cv_use_pcx='wxUSE_PCX=yes'
10185 else
10186 ac_cv_use_pcx='wxUSE_PCX=no'
10187 fi
10188
10189 else
10190
10191 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10192 if test "x$LINE" != x ; then
10193 eval "DEFAULT_$LINE"
10194 else
10195 no_cache=1
10196 fi
10197
10198 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10199
10200 fi;
10201
10202 eval "$ac_cv_use_pcx"
10203 if test "$no_cache" != 1; then
10204 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10205 fi
10206
10207 if test "$wxUSE_PCX" = yes; then
10208 echo "$as_me:$LINENO: result: yes" >&5
10209 echo "${ECHO_T}yes" >&6
10210 else
10211 echo "$as_me:$LINENO: result: no" >&5
10212 echo "${ECHO_T}no" >&6
10213 fi
10214
10215
10216 enablestring=
10217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10218 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10219 no_cache=0
10220 # Check whether --enable-iff or --disable-iff was given.
10221 if test "${enable_iff+set}" = set; then
10222 enableval="$enable_iff"
10223
10224 if test "$enableval" = yes; then
10225 ac_cv_use_iff='wxUSE_IFF=yes'
10226 else
10227 ac_cv_use_iff='wxUSE_IFF=no'
10228 fi
10229
10230 else
10231
10232 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10233 if test "x$LINE" != x ; then
10234 eval "DEFAULT_$LINE"
10235 else
10236 no_cache=1
10237 fi
10238
10239 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10240
10241 fi;
10242
10243 eval "$ac_cv_use_iff"
10244 if test "$no_cache" != 1; then
10245 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10246 fi
10247
10248 if test "$wxUSE_IFF" = yes; then
10249 echo "$as_me:$LINENO: result: yes" >&5
10250 echo "${ECHO_T}yes" >&6
10251 else
10252 echo "$as_me:$LINENO: result: no" >&5
10253 echo "${ECHO_T}no" >&6
10254 fi
10255
10256
10257 enablestring=
10258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10259 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10260 no_cache=0
10261 # Check whether --enable-pnm or --disable-pnm was given.
10262 if test "${enable_pnm+set}" = set; then
10263 enableval="$enable_pnm"
10264
10265 if test "$enableval" = yes; then
10266 ac_cv_use_pnm='wxUSE_PNM=yes'
10267 else
10268 ac_cv_use_pnm='wxUSE_PNM=no'
10269 fi
10270
10271 else
10272
10273 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10274 if test "x$LINE" != x ; then
10275 eval "DEFAULT_$LINE"
10276 else
10277 no_cache=1
10278 fi
10279
10280 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10281
10282 fi;
10283
10284 eval "$ac_cv_use_pnm"
10285 if test "$no_cache" != 1; then
10286 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10287 fi
10288
10289 if test "$wxUSE_PNM" = yes; then
10290 echo "$as_me:$LINENO: result: yes" >&5
10291 echo "${ECHO_T}yes" >&6
10292 else
10293 echo "$as_me:$LINENO: result: no" >&5
10294 echo "${ECHO_T}no" >&6
10295 fi
10296
10297
10298 enablestring=
10299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10300 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10301 no_cache=0
10302 # Check whether --enable-xpm or --disable-xpm was given.
10303 if test "${enable_xpm+set}" = set; then
10304 enableval="$enable_xpm"
10305
10306 if test "$enableval" = yes; then
10307 ac_cv_use_xpm='wxUSE_XPM=yes'
10308 else
10309 ac_cv_use_xpm='wxUSE_XPM=no'
10310 fi
10311
10312 else
10313
10314 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10315 if test "x$LINE" != x ; then
10316 eval "DEFAULT_$LINE"
10317 else
10318 no_cache=1
10319 fi
10320
10321 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10322
10323 fi;
10324
10325 eval "$ac_cv_use_xpm"
10326 if test "$no_cache" != 1; then
10327 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10328 fi
10329
10330 if test "$wxUSE_XPM" = yes; then
10331 echo "$as_me:$LINENO: result: yes" >&5
10332 echo "${ECHO_T}yes" >&6
10333 else
10334 echo "$as_me:$LINENO: result: no" >&5
10335 echo "${ECHO_T}no" >&6
10336 fi
10337
10338
10339 enablestring=
10340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10341 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10342 no_cache=0
10343 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10344 if test "${enable_ico_cur+set}" = set; then
10345 enableval="$enable_ico_cur"
10346
10347 if test "$enableval" = yes; then
10348 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10349 else
10350 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10351 fi
10352
10353 else
10354
10355 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10356 if test "x$LINE" != x ; then
10357 eval "DEFAULT_$LINE"
10358 else
10359 no_cache=1
10360 fi
10361
10362 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10363
10364 fi;
10365
10366 eval "$ac_cv_use_ico_cur"
10367 if test "$no_cache" != 1; then
10368 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10369 fi
10370
10371 if test "$wxUSE_ICO_CUR" = yes; then
10372 echo "$as_me:$LINENO: result: yes" >&5
10373 echo "${ECHO_T}yes" >&6
10374 else
10375 echo "$as_me:$LINENO: result: no" >&5
10376 echo "${ECHO_T}no" >&6
10377 fi
10378
10379
10380 fi
10381
10382
10383
10384 # Check whether --with-flavour or --without-flavour was given.
10385 if test "${with_flavour+set}" = set; then
10386 withval="$with_flavour"
10387 WX_FLAVOUR="$withval"
10388 fi;
10389
10390
10391
10392 enablestring=
10393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10395 no_cache=0
10396 # Check whether --enable-official_build or --disable-official_build was given.
10397 if test "${enable_official_build+set}" = set; then
10398 enableval="$enable_official_build"
10399
10400 if test "$enableval" = yes; then
10401 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10402 else
10403 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10404 fi
10405
10406 else
10407
10408 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10409 if test "x$LINE" != x ; then
10410 eval "DEFAULT_$LINE"
10411 else
10412 no_cache=1
10413 fi
10414
10415 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10416
10417 fi;
10418
10419 eval "$ac_cv_use_official_build"
10420 if test "$no_cache" != 1; then
10421 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10422 fi
10423
10424 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10425 echo "$as_me:$LINENO: result: yes" >&5
10426 echo "${ECHO_T}yes" >&6
10427 else
10428 echo "$as_me:$LINENO: result: no" >&5
10429 echo "${ECHO_T}no" >&6
10430 fi
10431
10432 # Check whether --enable-vendor or --disable-vendor was given.
10433 if test "${enable_vendor+set}" = set; then
10434 enableval="$enable_vendor"
10435 VENDOR="$enableval"
10436 fi;
10437 if test "x$VENDOR" = "x"; then
10438 VENDOR="custom"
10439 fi
10440
10441
10442
10443
10444 echo "saving argument cache $wx_arg_cache_file"
10445 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10446
10447
10448
10449 echo "$as_me:$LINENO: checking for toolkit" >&5
10450 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10451
10452 # In Wine, we need to default to MSW, not GTK or MOTIF
10453 if test "$wxUSE_WINE" = "yes"; then
10454 DEFAULT_DEFAULT_wxUSE_GTK=0
10455 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10456 DEFAULT_DEFAULT_wxUSE_MSW=1
10457 wxUSE_SHARED=no
10458 fi
10459
10460
10461 if test "$wxUSE_GUI" = "yes"; then
10462
10463 if test "$USE_BEOS" = 1; then
10464 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10465 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10466 { (exit 1); exit 1; }; }
10467 fi
10468
10469 if test "$TOOLKIT_GIVEN" = 1; then
10470 for toolkit in `echo $ALL_TOOLKITS`; do
10471 var=wxUSE_$toolkit
10472 eval "value=\$${var}"
10473 if test "x$value" = "xno"; then
10474 eval "$var=0"
10475 elif test "x$value" != "x"; then
10476 eval "$var=1"
10477 fi
10478
10479 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10480 eval "wx${toolkit}_VERSION=$value"
10481 fi
10482 done
10483 else
10484 for toolkit in `echo $ALL_TOOLKITS`; do
10485 if test "$has_toolkit_in_cache" != 1; then
10486 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10487 else
10488 var=DEFAULT_wxUSE_$toolkit
10489
10490 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10491 if test "x$version" != "x"; then
10492 eval "wx${toolkit}_VERSION=$version"
10493 fi
10494 fi
10495 eval "wxUSE_$toolkit=\$${var}"
10496 done
10497 fi
10498
10499 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10500 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10501 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10502
10503 case "${host}" in
10504 *-pc-os2_emx | *-pc-os2-emx )
10505 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10506 esac
10507
10508 case "$NUM_TOOLKITS" in
10509 1)
10510 ;;
10511 0)
10512 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10513 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10514 { (exit 1); exit 1; }; }
10515 ;;
10516 *)
10517 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10518 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10519 { (exit 1); exit 1; }; }
10520 esac
10521
10522 # to be removed when --disable-gtk2 isn't needed
10523 if test "x$wxUSE_GTK2" = "xyes"; then
10524 wxGTK_VERSION=2
10525 elif test "x$wxUSE_GTK2" = "xno"; then
10526 wxGTK_VERSION=1
10527 fi
10528
10529 for toolkit in `echo $ALL_TOOLKITS`; do
10530 var=wxUSE_$toolkit
10531 eval "value=\$${var}"
10532 if test "x$value" != x; then
10533 cache_var=CACHE_$toolkit
10534 eval "cache=\$${cache_var}"
10535 if test "$cache" = 1; then
10536 echo "$var=$value" >> ${wx_arg_cache_file}
10537 eval "version=\$wx${toolkit}_VERSION"
10538 if test "x$version" != "x"; then
10539 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10540 fi
10541 fi
10542 if test "$value" = 1; then
10543 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10544 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10545 echo "${ECHO_T}$toolkit_echo" >&6
10546 fi
10547 fi
10548 done
10549 else
10550 if test "x$host_alias" != "x"; then
10551 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10552 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10553 else
10554 echo "$as_me:$LINENO: result: base only" >&5
10555 echo "${ECHO_T}base only" >&6
10556 fi
10557 fi
10558
10559 wants_win32=0
10560 doesnt_want_win32=0
10561 case "${host}" in
10562 *-*-cygwin*)
10563 if test "$wxUSE_MSW" = 1 ; then
10564 wants_win32=1
10565 BAKEFILE_FORCE_PLATFORM=win32
10566 else
10567 doesnt_want_win32=1
10568 fi
10569 ;;
10570 *-*-mingw*)
10571 wants_win32=1
10572 ;;
10573 esac
10574
10575 if test "$wxUSE_WINE" = "yes"; then
10576 wants_win32=1
10577 CC=winegcc
10578 CXX=wineg++
10579 RESCOMP=wrc
10580 LDFLAGS_GUI="-mwindows"
10581 fi
10582
10583 if test "$wants_win32" = 1 ; then
10584 USE_UNIX=0
10585 USE_WIN32=1
10586 cat >>confdefs.h <<\_ACEOF
10587 #define __WIN32__ 1
10588 _ACEOF
10589
10590 cat >>confdefs.h <<\_ACEOF
10591 #define __WIN95__ 1
10592 _ACEOF
10593
10594 cat >>confdefs.h <<\_ACEOF
10595 #define __WINDOWS__ 1
10596 _ACEOF
10597
10598 cat >>confdefs.h <<\_ACEOF
10599 #define __GNUWIN32__ 1
10600 _ACEOF
10601
10602 cat >>confdefs.h <<\_ACEOF
10603 #define STRICT 1
10604 _ACEOF
10605
10606 cat >>confdefs.h <<\_ACEOF
10607 #define WINVER 0x0400
10608 _ACEOF
10609
10610 fi
10611 if test "$doesnt_want_win32" = 1 ; then
10612 USE_UNIX=1
10613 USE_WIN32=0
10614 fi
10615
10616 if test "$USE_UNIX" = 1 ; then
10617 wxUSE_UNIX=yes
10618 cat >>confdefs.h <<\_ACEOF
10619 #define __UNIX__ 1
10620 _ACEOF
10621
10622 fi
10623
10624
10625 cat >confcache <<\_ACEOF
10626 # This file is a shell script that caches the results of configure
10627 # tests run on this system so they can be shared between configure
10628 # scripts and configure runs, see configure's option --config-cache.
10629 # It is not useful on other systems. If it contains results you don't
10630 # want to keep, you may remove or edit it.
10631 #
10632 # config.status only pays attention to the cache file if you give it
10633 # the --recheck option to rerun configure.
10634 #
10635 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10636 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10637 # following values.
10638
10639 _ACEOF
10640
10641 # The following way of writing the cache mishandles newlines in values,
10642 # but we know of no workaround that is simple, portable, and efficient.
10643 # So, don't put newlines in cache variables' values.
10644 # Ultrix sh set writes to stderr and can't be redirected directly,
10645 # and sets the high bit in the cache file unless we assign to the vars.
10646 {
10647 (set) 2>&1 |
10648 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10649 *ac_space=\ *)
10650 # `set' does not quote correctly, so add quotes (double-quote
10651 # substitution turns \\\\ into \\, and sed turns \\ into \).
10652 sed -n \
10653 "s/'/'\\\\''/g;
10654 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10655 ;;
10656 *)
10657 # `set' quotes correctly as required by POSIX, so do not add quotes.
10658 sed -n \
10659 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10660 ;;
10661 esac;
10662 } |
10663 sed '
10664 t clear
10665 : clear
10666 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10667 t end
10668 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10669 : end' >>confcache
10670 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10671 if test -w $cache_file; then
10672 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10673 cat confcache >$cache_file
10674 else
10675 echo "not updating unwritable cache $cache_file"
10676 fi
10677 fi
10678 rm -f confcache
10679
10680 if test "$build" != "$host" ; then
10681 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10682 CC=$host_alias-gcc
10683 CXX=$host_alias-c++
10684 AR=$host_alias-ar
10685 RANLIB=$host_alias-ranlib
10686 DLLTOOL=$host_alias-dlltool
10687 RESCOMP=$host_alias-windres
10688 STRIP=$host_alias-strip
10689 elif test "x$CC" '!=' "x"; then
10690 echo "You set CC, I assume you know what you are doing."
10691 else
10692 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10693 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10694 { (exit 1); exit 1; }; }
10695 fi
10696 fi
10697
10698 CFLAGS=${CFLAGS:=}
10699
10700
10701 ac_ext=c
10702 ac_cpp='$CPP $CPPFLAGS'
10703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10706 if test -n "$ac_tool_prefix"; then
10707 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10708 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10709 echo "$as_me:$LINENO: checking for $ac_word" >&5
10710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10711 if test "${ac_cv_prog_CC+set}" = set; then
10712 echo $ECHO_N "(cached) $ECHO_C" >&6
10713 else
10714 if test -n "$CC"; then
10715 ac_cv_prog_CC="$CC" # Let the user override the test.
10716 else
10717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10718 for as_dir in $PATH
10719 do
10720 IFS=$as_save_IFS
10721 test -z "$as_dir" && as_dir=.
10722 for ac_exec_ext in '' $ac_executable_extensions; do
10723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10724 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10726 break 2
10727 fi
10728 done
10729 done
10730
10731 fi
10732 fi
10733 CC=$ac_cv_prog_CC
10734 if test -n "$CC"; then
10735 echo "$as_me:$LINENO: result: $CC" >&5
10736 echo "${ECHO_T}$CC" >&6
10737 else
10738 echo "$as_me:$LINENO: result: no" >&5
10739 echo "${ECHO_T}no" >&6
10740 fi
10741
10742 fi
10743 if test -z "$ac_cv_prog_CC"; then
10744 ac_ct_CC=$CC
10745 # Extract the first word of "gcc", so it can be a program name with args.
10746 set dummy gcc; ac_word=$2
10747 echo "$as_me:$LINENO: checking for $ac_word" >&5
10748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10749 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10750 echo $ECHO_N "(cached) $ECHO_C" >&6
10751 else
10752 if test -n "$ac_ct_CC"; then
10753 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10754 else
10755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10756 for as_dir in $PATH
10757 do
10758 IFS=$as_save_IFS
10759 test -z "$as_dir" && as_dir=.
10760 for ac_exec_ext in '' $ac_executable_extensions; do
10761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10762 ac_cv_prog_ac_ct_CC="gcc"
10763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10764 break 2
10765 fi
10766 done
10767 done
10768
10769 fi
10770 fi
10771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10772 if test -n "$ac_ct_CC"; then
10773 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10774 echo "${ECHO_T}$ac_ct_CC" >&6
10775 else
10776 echo "$as_me:$LINENO: result: no" >&5
10777 echo "${ECHO_T}no" >&6
10778 fi
10779
10780 CC=$ac_ct_CC
10781 else
10782 CC="$ac_cv_prog_CC"
10783 fi
10784
10785 if test -z "$CC"; then
10786 if test -n "$ac_tool_prefix"; then
10787 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10788 set dummy ${ac_tool_prefix}cc; ac_word=$2
10789 echo "$as_me:$LINENO: checking for $ac_word" >&5
10790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10791 if test "${ac_cv_prog_CC+set}" = set; then
10792 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 else
10794 if test -n "$CC"; then
10795 ac_cv_prog_CC="$CC" # Let the user override the test.
10796 else
10797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10798 for as_dir in $PATH
10799 do
10800 IFS=$as_save_IFS
10801 test -z "$as_dir" && as_dir=.
10802 for ac_exec_ext in '' $ac_executable_extensions; do
10803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10804 ac_cv_prog_CC="${ac_tool_prefix}cc"
10805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10806 break 2
10807 fi
10808 done
10809 done
10810
10811 fi
10812 fi
10813 CC=$ac_cv_prog_CC
10814 if test -n "$CC"; then
10815 echo "$as_me:$LINENO: result: $CC" >&5
10816 echo "${ECHO_T}$CC" >&6
10817 else
10818 echo "$as_me:$LINENO: result: no" >&5
10819 echo "${ECHO_T}no" >&6
10820 fi
10821
10822 fi
10823 if test -z "$ac_cv_prog_CC"; then
10824 ac_ct_CC=$CC
10825 # Extract the first word of "cc", so it can be a program name with args.
10826 set dummy cc; ac_word=$2
10827 echo "$as_me:$LINENO: checking for $ac_word" >&5
10828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10829 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10830 echo $ECHO_N "(cached) $ECHO_C" >&6
10831 else
10832 if test -n "$ac_ct_CC"; then
10833 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10834 else
10835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10836 for as_dir in $PATH
10837 do
10838 IFS=$as_save_IFS
10839 test -z "$as_dir" && as_dir=.
10840 for ac_exec_ext in '' $ac_executable_extensions; do
10841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10842 ac_cv_prog_ac_ct_CC="cc"
10843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10844 break 2
10845 fi
10846 done
10847 done
10848
10849 fi
10850 fi
10851 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10852 if test -n "$ac_ct_CC"; then
10853 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10854 echo "${ECHO_T}$ac_ct_CC" >&6
10855 else
10856 echo "$as_me:$LINENO: result: no" >&5
10857 echo "${ECHO_T}no" >&6
10858 fi
10859
10860 CC=$ac_ct_CC
10861 else
10862 CC="$ac_cv_prog_CC"
10863 fi
10864
10865 fi
10866 if test -z "$CC"; then
10867 # Extract the first word of "cc", so it can be a program name with args.
10868 set dummy cc; ac_word=$2
10869 echo "$as_me:$LINENO: checking for $ac_word" >&5
10870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10871 if test "${ac_cv_prog_CC+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10873 else
10874 if test -n "$CC"; then
10875 ac_cv_prog_CC="$CC" # Let the user override the test.
10876 else
10877 ac_prog_rejected=no
10878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10879 for as_dir in $PATH
10880 do
10881 IFS=$as_save_IFS
10882 test -z "$as_dir" && as_dir=.
10883 for ac_exec_ext in '' $ac_executable_extensions; do
10884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10885 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10886 ac_prog_rejected=yes
10887 continue
10888 fi
10889 ac_cv_prog_CC="cc"
10890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10891 break 2
10892 fi
10893 done
10894 done
10895
10896 if test $ac_prog_rejected = yes; then
10897 # We found a bogon in the path, so make sure we never use it.
10898 set dummy $ac_cv_prog_CC
10899 shift
10900 if test $# != 0; then
10901 # We chose a different compiler from the bogus one.
10902 # However, it has the same basename, so the bogon will be chosen
10903 # first if we set CC to just the basename; use the full file name.
10904 shift
10905 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10906 fi
10907 fi
10908 fi
10909 fi
10910 CC=$ac_cv_prog_CC
10911 if test -n "$CC"; then
10912 echo "$as_me:$LINENO: result: $CC" >&5
10913 echo "${ECHO_T}$CC" >&6
10914 else
10915 echo "$as_me:$LINENO: result: no" >&5
10916 echo "${ECHO_T}no" >&6
10917 fi
10918
10919 fi
10920 if test -z "$CC"; then
10921 if test -n "$ac_tool_prefix"; then
10922 for ac_prog in cl
10923 do
10924 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10925 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10926 echo "$as_me:$LINENO: checking for $ac_word" >&5
10927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10928 if test "${ac_cv_prog_CC+set}" = set; then
10929 echo $ECHO_N "(cached) $ECHO_C" >&6
10930 else
10931 if test -n "$CC"; then
10932 ac_cv_prog_CC="$CC" # Let the user override the test.
10933 else
10934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10935 for as_dir in $PATH
10936 do
10937 IFS=$as_save_IFS
10938 test -z "$as_dir" && as_dir=.
10939 for ac_exec_ext in '' $ac_executable_extensions; do
10940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10941 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10943 break 2
10944 fi
10945 done
10946 done
10947
10948 fi
10949 fi
10950 CC=$ac_cv_prog_CC
10951 if test -n "$CC"; then
10952 echo "$as_me:$LINENO: result: $CC" >&5
10953 echo "${ECHO_T}$CC" >&6
10954 else
10955 echo "$as_me:$LINENO: result: no" >&5
10956 echo "${ECHO_T}no" >&6
10957 fi
10958
10959 test -n "$CC" && break
10960 done
10961 fi
10962 if test -z "$CC"; then
10963 ac_ct_CC=$CC
10964 for ac_prog in cl
10965 do
10966 # Extract the first word of "$ac_prog", so it can be a program name with args.
10967 set dummy $ac_prog; ac_word=$2
10968 echo "$as_me:$LINENO: checking for $ac_word" >&5
10969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10970 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10971 echo $ECHO_N "(cached) $ECHO_C" >&6
10972 else
10973 if test -n "$ac_ct_CC"; then
10974 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10975 else
10976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10977 for as_dir in $PATH
10978 do
10979 IFS=$as_save_IFS
10980 test -z "$as_dir" && as_dir=.
10981 for ac_exec_ext in '' $ac_executable_extensions; do
10982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10983 ac_cv_prog_ac_ct_CC="$ac_prog"
10984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10985 break 2
10986 fi
10987 done
10988 done
10989
10990 fi
10991 fi
10992 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10993 if test -n "$ac_ct_CC"; then
10994 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10995 echo "${ECHO_T}$ac_ct_CC" >&6
10996 else
10997 echo "$as_me:$LINENO: result: no" >&5
10998 echo "${ECHO_T}no" >&6
10999 fi
11000
11001 test -n "$ac_ct_CC" && break
11002 done
11003
11004 CC=$ac_ct_CC
11005 fi
11006
11007 fi
11008
11009
11010 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11011 See \`config.log' for more details." >&5
11012 echo "$as_me: error: no acceptable C compiler found in \$PATH
11013 See \`config.log' for more details." >&2;}
11014 { (exit 1); exit 1; }; }
11015
11016 # Provide some information about the compiler.
11017 echo "$as_me:$LINENO:" \
11018 "checking for C compiler version" >&5
11019 ac_compiler=`set X $ac_compile; echo $2`
11020 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11021 (eval $ac_compiler --version </dev/null >&5) 2>&5
11022 ac_status=$?
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }
11025 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11026 (eval $ac_compiler -v </dev/null >&5) 2>&5
11027 ac_status=$?
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); }
11030 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11031 (eval $ac_compiler -V </dev/null >&5) 2>&5
11032 ac_status=$?
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); }
11035
11036 cat >conftest.$ac_ext <<_ACEOF
11037 /* confdefs.h. */
11038 _ACEOF
11039 cat confdefs.h >>conftest.$ac_ext
11040 cat >>conftest.$ac_ext <<_ACEOF
11041 /* end confdefs.h. */
11042
11043 int
11044 main ()
11045 {
11046
11047 ;
11048 return 0;
11049 }
11050 _ACEOF
11051 ac_clean_files_save=$ac_clean_files
11052 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11053 # Try to create an executable without -o first, disregard a.out.
11054 # It will help us diagnose broken compilers, and finding out an intuition
11055 # of exeext.
11056 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11057 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11058 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11059 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11060 (eval $ac_link_default) 2>&5
11061 ac_status=$?
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); }; then
11064 # Find the output, starting from the most likely. This scheme is
11065 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11066 # resort.
11067
11068 # Be careful to initialize this variable, since it used to be cached.
11069 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11070 ac_cv_exeext=
11071 # b.out is created by i960 compilers.
11072 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11073 do
11074 test -f "$ac_file" || continue
11075 case $ac_file in
11076 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11077 ;;
11078 conftest.$ac_ext )
11079 # This is the source file.
11080 ;;
11081 [ab].out )
11082 # We found the default executable, but exeext='' is most
11083 # certainly right.
11084 break;;
11085 *.* )
11086 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11087 # FIXME: I believe we export ac_cv_exeext for Libtool,
11088 # but it would be cool to find out if it's true. Does anybody
11089 # maintain Libtool? --akim.
11090 export ac_cv_exeext
11091 break;;
11092 * )
11093 break;;
11094 esac
11095 done
11096 else
11097 echo "$as_me: failed program was:" >&5
11098 sed 's/^/| /' conftest.$ac_ext >&5
11099
11100 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11101 See \`config.log' for more details." >&5
11102 echo "$as_me: error: C compiler cannot create executables
11103 See \`config.log' for more details." >&2;}
11104 { (exit 77); exit 77; }; }
11105 fi
11106
11107 ac_exeext=$ac_cv_exeext
11108 echo "$as_me:$LINENO: result: $ac_file" >&5
11109 echo "${ECHO_T}$ac_file" >&6
11110
11111 # Check the compiler produces executables we can run. If not, either
11112 # the compiler is broken, or we cross compile.
11113 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11114 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11115 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11116 # If not cross compiling, check that we can run a simple program.
11117 if test "$cross_compiling" != yes; then
11118 if { ac_try='./$ac_file'
11119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11120 (eval $ac_try) 2>&5
11121 ac_status=$?
11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 (exit $ac_status); }; }; then
11124 cross_compiling=no
11125 else
11126 if test "$cross_compiling" = maybe; then
11127 cross_compiling=yes
11128 else
11129 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11130 If you meant to cross compile, use \`--host'.
11131 See \`config.log' for more details." >&5
11132 echo "$as_me: error: cannot run C compiled programs.
11133 If you meant to cross compile, use \`--host'.
11134 See \`config.log' for more details." >&2;}
11135 { (exit 1); exit 1; }; }
11136 fi
11137 fi
11138 fi
11139 echo "$as_me:$LINENO: result: yes" >&5
11140 echo "${ECHO_T}yes" >&6
11141
11142 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11143 ac_clean_files=$ac_clean_files_save
11144 # Check the compiler produces executables we can run. If not, either
11145 # the compiler is broken, or we cross compile.
11146 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11147 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11148 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11149 echo "${ECHO_T}$cross_compiling" >&6
11150
11151 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11152 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11154 (eval $ac_link) 2>&5
11155 ac_status=$?
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); }; then
11158 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11159 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11160 # work properly (i.e., refer to `conftest.exe'), while it won't with
11161 # `rm'.
11162 for ac_file in conftest.exe conftest conftest.*; do
11163 test -f "$ac_file" || continue
11164 case $ac_file in
11165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11166 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11167 export ac_cv_exeext
11168 break;;
11169 * ) break;;
11170 esac
11171 done
11172 else
11173 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11174 See \`config.log' for more details." >&5
11175 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11176 See \`config.log' for more details." >&2;}
11177 { (exit 1); exit 1; }; }
11178 fi
11179
11180 rm -f conftest$ac_cv_exeext
11181 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11182 echo "${ECHO_T}$ac_cv_exeext" >&6
11183
11184 rm -f conftest.$ac_ext
11185 EXEEXT=$ac_cv_exeext
11186 ac_exeext=$EXEEXT
11187 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11188 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11189 if test "${ac_cv_objext+set}" = set; then
11190 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 else
11192 cat >conftest.$ac_ext <<_ACEOF
11193 /* confdefs.h. */
11194 _ACEOF
11195 cat confdefs.h >>conftest.$ac_ext
11196 cat >>conftest.$ac_ext <<_ACEOF
11197 /* end confdefs.h. */
11198
11199 int
11200 main ()
11201 {
11202
11203 ;
11204 return 0;
11205 }
11206 _ACEOF
11207 rm -f conftest.o conftest.obj
11208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11209 (eval $ac_compile) 2>&5
11210 ac_status=$?
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); }; then
11213 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11214 case $ac_file in
11215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11216 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11217 break;;
11218 esac
11219 done
11220 else
11221 echo "$as_me: failed program was:" >&5
11222 sed 's/^/| /' conftest.$ac_ext >&5
11223
11224 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11225 See \`config.log' for more details." >&5
11226 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11227 See \`config.log' for more details." >&2;}
11228 { (exit 1); exit 1; }; }
11229 fi
11230
11231 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11232 fi
11233 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11234 echo "${ECHO_T}$ac_cv_objext" >&6
11235 OBJEXT=$ac_cv_objext
11236 ac_objext=$OBJEXT
11237 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11238 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11239 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11240 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 else
11242 cat >conftest.$ac_ext <<_ACEOF
11243 /* confdefs.h. */
11244 _ACEOF
11245 cat confdefs.h >>conftest.$ac_ext
11246 cat >>conftest.$ac_ext <<_ACEOF
11247 /* end confdefs.h. */
11248
11249 int
11250 main ()
11251 {
11252 #ifndef __GNUC__
11253 choke me
11254 #endif
11255
11256 ;
11257 return 0;
11258 }
11259 _ACEOF
11260 rm -f conftest.$ac_objext
11261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11262 (eval $ac_compile) 2>conftest.er1
11263 ac_status=$?
11264 grep -v '^ *+' conftest.er1 >conftest.err
11265 rm -f conftest.er1
11266 cat conftest.err >&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); } &&
11269 { ac_try='test -z "$ac_c_werror_flag"
11270 || test ! -s conftest.err'
11271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11272 (eval $ac_try) 2>&5
11273 ac_status=$?
11274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 (exit $ac_status); }; } &&
11276 { ac_try='test -s conftest.$ac_objext'
11277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11278 (eval $ac_try) 2>&5
11279 ac_status=$?
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); }; }; then
11282 ac_compiler_gnu=yes
11283 else
11284 echo "$as_me: failed program was:" >&5
11285 sed 's/^/| /' conftest.$ac_ext >&5
11286
11287 ac_compiler_gnu=no
11288 fi
11289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11290 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11291
11292 fi
11293 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11294 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11295 GCC=`test $ac_compiler_gnu = yes && echo yes`
11296 ac_test_CFLAGS=${CFLAGS+set}
11297 ac_save_CFLAGS=$CFLAGS
11298 CFLAGS="-g"
11299 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11300 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11301 if test "${ac_cv_prog_cc_g+set}" = set; then
11302 echo $ECHO_N "(cached) $ECHO_C" >&6
11303 else
11304 cat >conftest.$ac_ext <<_ACEOF
11305 /* confdefs.h. */
11306 _ACEOF
11307 cat confdefs.h >>conftest.$ac_ext
11308 cat >>conftest.$ac_ext <<_ACEOF
11309 /* end confdefs.h. */
11310
11311 int
11312 main ()
11313 {
11314
11315 ;
11316 return 0;
11317 }
11318 _ACEOF
11319 rm -f conftest.$ac_objext
11320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11321 (eval $ac_compile) 2>conftest.er1
11322 ac_status=$?
11323 grep -v '^ *+' conftest.er1 >conftest.err
11324 rm -f conftest.er1
11325 cat conftest.err >&5
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); } &&
11328 { ac_try='test -z "$ac_c_werror_flag"
11329 || test ! -s conftest.err'
11330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11331 (eval $ac_try) 2>&5
11332 ac_status=$?
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; } &&
11335 { ac_try='test -s conftest.$ac_objext'
11336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11337 (eval $ac_try) 2>&5
11338 ac_status=$?
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); }; }; then
11341 ac_cv_prog_cc_g=yes
11342 else
11343 echo "$as_me: failed program was:" >&5
11344 sed 's/^/| /' conftest.$ac_ext >&5
11345
11346 ac_cv_prog_cc_g=no
11347 fi
11348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11349 fi
11350 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11351 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11352 if test "$ac_test_CFLAGS" = set; then
11353 CFLAGS=$ac_save_CFLAGS
11354 elif test $ac_cv_prog_cc_g = yes; then
11355 if test "$GCC" = yes; then
11356 CFLAGS="-g -O2"
11357 else
11358 CFLAGS="-g"
11359 fi
11360 else
11361 if test "$GCC" = yes; then
11362 CFLAGS="-O2"
11363 else
11364 CFLAGS=
11365 fi
11366 fi
11367 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11368 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11369 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11370 echo $ECHO_N "(cached) $ECHO_C" >&6
11371 else
11372 ac_cv_prog_cc_stdc=no
11373 ac_save_CC=$CC
11374 cat >conftest.$ac_ext <<_ACEOF
11375 /* confdefs.h. */
11376 _ACEOF
11377 cat confdefs.h >>conftest.$ac_ext
11378 cat >>conftest.$ac_ext <<_ACEOF
11379 /* end confdefs.h. */
11380 #include <stdarg.h>
11381 #include <stdio.h>
11382 #include <sys/types.h>
11383 #include <sys/stat.h>
11384 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11385 struct buf { int x; };
11386 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11387 static char *e (p, i)
11388 char **p;
11389 int i;
11390 {
11391 return p[i];
11392 }
11393 static char *f (char * (*g) (char **, int), char **p, ...)
11394 {
11395 char *s;
11396 va_list v;
11397 va_start (v,p);
11398 s = g (p, va_arg (v,int));
11399 va_end (v);
11400 return s;
11401 }
11402
11403 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11404 function prototypes and stuff, but not '\xHH' hex character constants.
11405 These don't provoke an error unfortunately, instead are silently treated
11406 as 'x'. The following induces an error, until -std1 is added to get
11407 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11408 array size at least. It's necessary to write '\x00'==0 to get something
11409 that's true only with -std1. */
11410 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11411
11412 int test (int i, double x);
11413 struct s1 {int (*f) (int a);};
11414 struct s2 {int (*f) (double a);};
11415 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11416 int argc;
11417 char **argv;
11418 int
11419 main ()
11420 {
11421 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11422 ;
11423 return 0;
11424 }
11425 _ACEOF
11426 # Don't try gcc -ansi; that turns off useful extensions and
11427 # breaks some systems' header files.
11428 # AIX -qlanglvl=ansi
11429 # Ultrix and OSF/1 -std1
11430 # HP-UX 10.20 and later -Ae
11431 # HP-UX older versions -Aa -D_HPUX_SOURCE
11432 # SVR4 -Xc -D__EXTENSIONS__
11433 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11434 do
11435 CC="$ac_save_CC $ac_arg"
11436 rm -f conftest.$ac_objext
11437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11438 (eval $ac_compile) 2>conftest.er1
11439 ac_status=$?
11440 grep -v '^ *+' conftest.er1 >conftest.err
11441 rm -f conftest.er1
11442 cat conftest.err >&5
11443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); } &&
11445 { ac_try='test -z "$ac_c_werror_flag"
11446 || test ! -s conftest.err'
11447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11448 (eval $ac_try) 2>&5
11449 ac_status=$?
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); }; } &&
11452 { ac_try='test -s conftest.$ac_objext'
11453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11454 (eval $ac_try) 2>&5
11455 ac_status=$?
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); }; }; then
11458 ac_cv_prog_cc_stdc=$ac_arg
11459 break
11460 else
11461 echo "$as_me: failed program was:" >&5
11462 sed 's/^/| /' conftest.$ac_ext >&5
11463
11464 fi
11465 rm -f conftest.err conftest.$ac_objext
11466 done
11467 rm -f conftest.$ac_ext conftest.$ac_objext
11468 CC=$ac_save_CC
11469
11470 fi
11471
11472 case "x$ac_cv_prog_cc_stdc" in
11473 x|xno)
11474 echo "$as_me:$LINENO: result: none needed" >&5
11475 echo "${ECHO_T}none needed" >&6 ;;
11476 *)
11477 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11478 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11479 CC="$CC $ac_cv_prog_cc_stdc" ;;
11480 esac
11481
11482 # Some people use a C++ compiler to compile C. Since we use `exit',
11483 # in C++ we need to declare it. In case someone uses the same compiler
11484 # for both compiling C and C++ we need to have the C++ compiler decide
11485 # the declaration of exit, since it's the most demanding environment.
11486 cat >conftest.$ac_ext <<_ACEOF
11487 #ifndef __cplusplus
11488 choke me
11489 #endif
11490 _ACEOF
11491 rm -f conftest.$ac_objext
11492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11493 (eval $ac_compile) 2>conftest.er1
11494 ac_status=$?
11495 grep -v '^ *+' conftest.er1 >conftest.err
11496 rm -f conftest.er1
11497 cat conftest.err >&5
11498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11499 (exit $ac_status); } &&
11500 { ac_try='test -z "$ac_c_werror_flag"
11501 || test ! -s conftest.err'
11502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11503 (eval $ac_try) 2>&5
11504 ac_status=$?
11505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11506 (exit $ac_status); }; } &&
11507 { ac_try='test -s conftest.$ac_objext'
11508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11509 (eval $ac_try) 2>&5
11510 ac_status=$?
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); }; }; then
11513 for ac_declaration in \
11514 '' \
11515 'extern "C" void std::exit (int) throw (); using std::exit;' \
11516 'extern "C" void std::exit (int); using std::exit;' \
11517 'extern "C" void exit (int) throw ();' \
11518 'extern "C" void exit (int);' \
11519 'void exit (int);'
11520 do
11521 cat >conftest.$ac_ext <<_ACEOF
11522 /* confdefs.h. */
11523 _ACEOF
11524 cat confdefs.h >>conftest.$ac_ext
11525 cat >>conftest.$ac_ext <<_ACEOF
11526 /* end confdefs.h. */
11527 $ac_declaration
11528 #include <stdlib.h>
11529 int
11530 main ()
11531 {
11532 exit (42);
11533 ;
11534 return 0;
11535 }
11536 _ACEOF
11537 rm -f conftest.$ac_objext
11538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11539 (eval $ac_compile) 2>conftest.er1
11540 ac_status=$?
11541 grep -v '^ *+' conftest.er1 >conftest.err
11542 rm -f conftest.er1
11543 cat conftest.err >&5
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); } &&
11546 { ac_try='test -z "$ac_c_werror_flag"
11547 || test ! -s conftest.err'
11548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11549 (eval $ac_try) 2>&5
11550 ac_status=$?
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); }; } &&
11553 { ac_try='test -s conftest.$ac_objext'
11554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11555 (eval $ac_try) 2>&5
11556 ac_status=$?
11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11558 (exit $ac_status); }; }; then
11559 :
11560 else
11561 echo "$as_me: failed program was:" >&5
11562 sed 's/^/| /' conftest.$ac_ext >&5
11563
11564 continue
11565 fi
11566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11567 cat >conftest.$ac_ext <<_ACEOF
11568 /* confdefs.h. */
11569 _ACEOF
11570 cat confdefs.h >>conftest.$ac_ext
11571 cat >>conftest.$ac_ext <<_ACEOF
11572 /* end confdefs.h. */
11573 $ac_declaration
11574 int
11575 main ()
11576 {
11577 exit (42);
11578 ;
11579 return 0;
11580 }
11581 _ACEOF
11582 rm -f conftest.$ac_objext
11583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11584 (eval $ac_compile) 2>conftest.er1
11585 ac_status=$?
11586 grep -v '^ *+' conftest.er1 >conftest.err
11587 rm -f conftest.er1
11588 cat conftest.err >&5
11589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11590 (exit $ac_status); } &&
11591 { ac_try='test -z "$ac_c_werror_flag"
11592 || test ! -s conftest.err'
11593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11594 (eval $ac_try) 2>&5
11595 ac_status=$?
11596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11597 (exit $ac_status); }; } &&
11598 { ac_try='test -s conftest.$ac_objext'
11599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11600 (eval $ac_try) 2>&5
11601 ac_status=$?
11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 (exit $ac_status); }; }; then
11604 break
11605 else
11606 echo "$as_me: failed program was:" >&5
11607 sed 's/^/| /' conftest.$ac_ext >&5
11608
11609 fi
11610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11611 done
11612 rm -f conftest*
11613 if test -n "$ac_declaration"; then
11614 echo '#ifdef __cplusplus' >>confdefs.h
11615 echo $ac_declaration >>confdefs.h
11616 echo '#endif' >>confdefs.h
11617 fi
11618
11619 else
11620 echo "$as_me: failed program was:" >&5
11621 sed 's/^/| /' conftest.$ac_ext >&5
11622
11623 fi
11624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11625 ac_ext=c
11626 ac_cpp='$CPP $CPPFLAGS'
11627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11630
11631 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11632 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11633 if test "${wx_cv_c_exto+set}" = set; then
11634 echo $ECHO_N "(cached) $ECHO_C" >&6
11635 else
11636 cat >conftest.$ac_ext <<_ACEOF
11637 /* confdefs.h. */
11638 _ACEOF
11639 cat confdefs.h >>conftest.$ac_ext
11640 cat >>conftest.$ac_ext <<_ACEOF
11641 /* end confdefs.h. */
11642
11643 int
11644 main ()
11645 {
11646
11647 ;
11648 return 0;
11649 }
11650 _ACEOF
11651 rm -f conftest.$ac_objext conftest.$ac_ext.o
11652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11653 (eval $ac_compile) 2>&5
11654 ac_status=$?
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); }; then
11657 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11658 case $ac_file in
11659 conftest.$ac_ext.o)
11660 wx_cv_c_exto="-ext o"
11661 ;;
11662 *)
11663 ;;
11664 esac
11665 done
11666 else
11667 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11668 See \`config.log' for more details." >&5
11669 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11670 See \`config.log' for more details." >&2;}
11671 { (exit 1); exit 1; }; }
11672
11673 fi
11674
11675 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11676
11677 fi
11678 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11679 echo "${ECHO_T}$wx_cv_c_exto" >&6
11680 if test "x$wx_cv_c_exto" '!=' "x"; then
11681 if test "c" = "c"; then
11682 CFLAGS="$wx_cv_c_exto $CFLAGS"
11683 fi
11684 if test "c" = "cxx"; then
11685 CXXFLAGS="$wx_cv_c_exto $CXXFLAGS"
11686 fi
11687 fi
11688
11689 if test "x$wx_cv_c_exto" '!=' "x"; then
11690 unset ac_cv_prog_cc_g
11691 ac_test_CFLAGS=${CFLAGS+set}
11692 ac_save_CFLAGS=$CFLAGS
11693 CFLAGS="-g"
11694 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11695 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11696 if test "${ac_cv_prog_cc_g+set}" = set; then
11697 echo $ECHO_N "(cached) $ECHO_C" >&6
11698 else
11699 cat >conftest.$ac_ext <<_ACEOF
11700 /* confdefs.h. */
11701 _ACEOF
11702 cat confdefs.h >>conftest.$ac_ext
11703 cat >>conftest.$ac_ext <<_ACEOF
11704 /* end confdefs.h. */
11705
11706 int
11707 main ()
11708 {
11709
11710 ;
11711 return 0;
11712 }
11713 _ACEOF
11714 rm -f conftest.$ac_objext
11715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11716 (eval $ac_compile) 2>conftest.er1
11717 ac_status=$?
11718 grep -v '^ *+' conftest.er1 >conftest.err
11719 rm -f conftest.er1
11720 cat conftest.err >&5
11721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11722 (exit $ac_status); } &&
11723 { ac_try='test -z "$ac_c_werror_flag"
11724 || test ! -s conftest.err'
11725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11726 (eval $ac_try) 2>&5
11727 ac_status=$?
11728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); }; } &&
11730 { ac_try='test -s conftest.$ac_objext'
11731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11732 (eval $ac_try) 2>&5
11733 ac_status=$?
11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); }; }; then
11736 ac_cv_prog_cc_g=yes
11737 else
11738 echo "$as_me: failed program was:" >&5
11739 sed 's/^/| /' conftest.$ac_ext >&5
11740
11741 ac_cv_prog_cc_g=no
11742 fi
11743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11744 fi
11745 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11746 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11747 if test "$ac_test_CFLAGS" = set; then
11748 CFLAGS=$ac_save_CFLAGS
11749 elif test $ac_cv_prog_cc_g = yes; then
11750 if test "$GCC" = yes; then
11751 CFLAGS="-g -O2"
11752 else
11753 CFLAGS="-g"
11754 fi
11755 else
11756 if test "$GCC" = yes; then
11757 CFLAGS="-O2"
11758 else
11759 CFLAGS=
11760 fi
11761 fi
11762 fi
11763 ac_ext=c
11764 ac_cpp='$CPP $CPPFLAGS'
11765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11768
11769 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11770 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11771 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11773 else
11774 cat >conftest.$ac_ext <<_ACEOF
11775 /* confdefs.h. */
11776 _ACEOF
11777 cat confdefs.h >>conftest.$ac_ext
11778 cat >>conftest.$ac_ext <<_ACEOF
11779 /* end confdefs.h. */
11780
11781 int
11782 main ()
11783 {
11784 #ifndef __MWERKS__
11785 choke me
11786 #endif
11787
11788 ;
11789 return 0;
11790 }
11791 _ACEOF
11792 rm -f conftest.$ac_objext
11793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11794 (eval $ac_compile) 2>conftest.er1
11795 ac_status=$?
11796 grep -v '^ *+' conftest.er1 >conftest.err
11797 rm -f conftest.er1
11798 cat conftest.err >&5
11799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11800 (exit $ac_status); } &&
11801 { ac_try='test -z "$ac_c_werror_flag"
11802 || test ! -s conftest.err'
11803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11804 (eval $ac_try) 2>&5
11805 ac_status=$?
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); }; } &&
11808 { ac_try='test -s conftest.$ac_objext'
11809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11810 (eval $ac_try) 2>&5
11811 ac_status=$?
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); }; }; then
11814 bakefile_compiler_mwerks=yes
11815 else
11816 echo "$as_me: failed program was:" >&5
11817 sed 's/^/| /' conftest.$ac_ext >&5
11818
11819 bakefile_compiler_mwerks=no
11820 fi
11821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11822 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11823
11824 fi
11825 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11826 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11827
11828 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11829 ac_ext=c
11830 ac_cpp='$CPP $CPPFLAGS'
11831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11834
11835
11836 ac_ext=c
11837 ac_cpp='$CPP $CPPFLAGS'
11838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11841
11842 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11843 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11844 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11845 echo $ECHO_N "(cached) $ECHO_C" >&6
11846 else
11847 cat >conftest.$ac_ext <<_ACEOF
11848 /* confdefs.h. */
11849 _ACEOF
11850 cat confdefs.h >>conftest.$ac_ext
11851 cat >>conftest.$ac_ext <<_ACEOF
11852 /* end confdefs.h. */
11853
11854 int
11855 main ()
11856 {
11857 #ifndef __xlC__
11858 choke me
11859 #endif
11860
11861 ;
11862 return 0;
11863 }
11864 _ACEOF
11865 rm -f conftest.$ac_objext
11866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11867 (eval $ac_compile) 2>conftest.er1
11868 ac_status=$?
11869 grep -v '^ *+' conftest.er1 >conftest.err
11870 rm -f conftest.er1
11871 cat conftest.err >&5
11872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11873 (exit $ac_status); } &&
11874 { ac_try='test -z "$ac_c_werror_flag"
11875 || test ! -s conftest.err'
11876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11877 (eval $ac_try) 2>&5
11878 ac_status=$?
11879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 (exit $ac_status); }; } &&
11881 { ac_try='test -s conftest.$ac_objext'
11882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11883 (eval $ac_try) 2>&5
11884 ac_status=$?
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); }; }; then
11887 wx_compiler_xlc=yes
11888 else
11889 echo "$as_me: failed program was:" >&5
11890 sed 's/^/| /' conftest.$ac_ext >&5
11891
11892 wx_compiler_xlc=no
11893 fi
11894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11895 wx_cv_c_compiler_xlc=$wx_compiler_xlc
11896
11897 fi
11898 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11899 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11900
11901 XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11902 ac_ext=c
11903 ac_cpp='$CPP $CPPFLAGS'
11904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11907
11908
11909
11910
11911 ac_ext=c
11912 ac_cpp='$CPP $CPPFLAGS'
11913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11916
11917 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
11918 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
11919 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
11920 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 else
11922 cat >conftest.$ac_ext <<_ACEOF
11923 /* confdefs.h. */
11924 _ACEOF
11925 cat confdefs.h >>conftest.$ac_ext
11926 cat >>conftest.$ac_ext <<_ACEOF
11927 /* end confdefs.h. */
11928
11929 int
11930 main ()
11931 {
11932
11933 #ifndef __SUNPRO_C
11934 choke me
11935 #endif
11936
11937 ;
11938 return 0;
11939 }
11940 _ACEOF
11941 rm -f conftest.$ac_objext
11942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11943 (eval $ac_compile) 2>conftest.er1
11944 ac_status=$?
11945 grep -v '^ *+' conftest.er1 >conftest.err
11946 rm -f conftest.er1
11947 cat conftest.err >&5
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); } &&
11950 { ac_try='test -z "$ac_c_werror_flag"
11951 || test ! -s conftest.err'
11952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11953 (eval $ac_try) 2>&5
11954 ac_status=$?
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); }; } &&
11957 { ac_try='test -s conftest.$ac_objext'
11958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11959 (eval $ac_try) 2>&5
11960 ac_status=$?
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); }; }; then
11963 bakefile_cv_c_compiler___SUNPRO_C=yes
11964 else
11965 echo "$as_me: failed program was:" >&5
11966 sed 's/^/| /' conftest.$ac_ext >&5
11967
11968 bakefile_cv_c_compiler___SUNPRO_C=no
11969
11970 fi
11971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11972
11973
11974 fi
11975 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
11976 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
11977 ac_ext=c
11978 ac_cpp='$CPP $CPPFLAGS'
11979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11982
11983 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
11984 :; SUNCC=yes
11985 else
11986 :;
11987 fi
11988
11989
11990
11991
11992 ac_ext=c
11993 ac_cpp='$CPP $CPPFLAGS'
11994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11997 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11998 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11999 # On Suns, sometimes $CPP names a directory.
12000 if test -n "$CPP" && test -d "$CPP"; then
12001 CPP=
12002 fi
12003 if test -z "$CPP"; then
12004 if test "${ac_cv_prog_CPP+set}" = set; then
12005 echo $ECHO_N "(cached) $ECHO_C" >&6
12006 else
12007 # Double quotes because CPP needs to be expanded
12008 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12009 do
12010 ac_preproc_ok=false
12011 for ac_c_preproc_warn_flag in '' yes
12012 do
12013 # Use a header file that comes with gcc, so configuring glibc
12014 # with a fresh cross-compiler works.
12015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12016 # <limits.h> exists even on freestanding compilers.
12017 # On the NeXT, cc -E runs the code through the compiler's parser,
12018 # not just through cpp. "Syntax error" is here to catch this case.
12019 cat >conftest.$ac_ext <<_ACEOF
12020 /* confdefs.h. */
12021 _ACEOF
12022 cat confdefs.h >>conftest.$ac_ext
12023 cat >>conftest.$ac_ext <<_ACEOF
12024 /* end confdefs.h. */
12025 #ifdef __STDC__
12026 # include <limits.h>
12027 #else
12028 # include <assert.h>
12029 #endif
12030 Syntax error
12031 _ACEOF
12032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12033 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12034 ac_status=$?
12035 grep -v '^ *+' conftest.er1 >conftest.err
12036 rm -f conftest.er1
12037 cat conftest.err >&5
12038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12039 (exit $ac_status); } >/dev/null; then
12040 if test -s conftest.err; then
12041 ac_cpp_err=$ac_c_preproc_warn_flag
12042 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12043 else
12044 ac_cpp_err=
12045 fi
12046 else
12047 ac_cpp_err=yes
12048 fi
12049 if test -z "$ac_cpp_err"; then
12050 :
12051 else
12052 echo "$as_me: failed program was:" >&5
12053 sed 's/^/| /' conftest.$ac_ext >&5
12054
12055 # Broken: fails on valid input.
12056 continue
12057 fi
12058 rm -f conftest.err conftest.$ac_ext
12059
12060 # OK, works on sane cases. Now check whether non-existent headers
12061 # can be detected and how.
12062 cat >conftest.$ac_ext <<_ACEOF
12063 /* confdefs.h. */
12064 _ACEOF
12065 cat confdefs.h >>conftest.$ac_ext
12066 cat >>conftest.$ac_ext <<_ACEOF
12067 /* end confdefs.h. */
12068 #include <ac_nonexistent.h>
12069 _ACEOF
12070 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12071 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12072 ac_status=$?
12073 grep -v '^ *+' conftest.er1 >conftest.err
12074 rm -f conftest.er1
12075 cat conftest.err >&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); } >/dev/null; then
12078 if test -s conftest.err; then
12079 ac_cpp_err=$ac_c_preproc_warn_flag
12080 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12081 else
12082 ac_cpp_err=
12083 fi
12084 else
12085 ac_cpp_err=yes
12086 fi
12087 if test -z "$ac_cpp_err"; then
12088 # Broken: success on invalid input.
12089 continue
12090 else
12091 echo "$as_me: failed program was:" >&5
12092 sed 's/^/| /' conftest.$ac_ext >&5
12093
12094 # Passes both tests.
12095 ac_preproc_ok=:
12096 break
12097 fi
12098 rm -f conftest.err conftest.$ac_ext
12099
12100 done
12101 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12102 rm -f conftest.err conftest.$ac_ext
12103 if $ac_preproc_ok; then
12104 break
12105 fi
12106
12107 done
12108 ac_cv_prog_CPP=$CPP
12109
12110 fi
12111 CPP=$ac_cv_prog_CPP
12112 else
12113 ac_cv_prog_CPP=$CPP
12114 fi
12115 echo "$as_me:$LINENO: result: $CPP" >&5
12116 echo "${ECHO_T}$CPP" >&6
12117 ac_preproc_ok=false
12118 for ac_c_preproc_warn_flag in '' yes
12119 do
12120 # Use a header file that comes with gcc, so configuring glibc
12121 # with a fresh cross-compiler works.
12122 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12123 # <limits.h> exists even on freestanding compilers.
12124 # On the NeXT, cc -E runs the code through the compiler's parser,
12125 # not just through cpp. "Syntax error" is here to catch this case.
12126 cat >conftest.$ac_ext <<_ACEOF
12127 /* confdefs.h. */
12128 _ACEOF
12129 cat confdefs.h >>conftest.$ac_ext
12130 cat >>conftest.$ac_ext <<_ACEOF
12131 /* end confdefs.h. */
12132 #ifdef __STDC__
12133 # include <limits.h>
12134 #else
12135 # include <assert.h>
12136 #endif
12137 Syntax error
12138 _ACEOF
12139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12140 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12141 ac_status=$?
12142 grep -v '^ *+' conftest.er1 >conftest.err
12143 rm -f conftest.er1
12144 cat conftest.err >&5
12145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146 (exit $ac_status); } >/dev/null; then
12147 if test -s conftest.err; then
12148 ac_cpp_err=$ac_c_preproc_warn_flag
12149 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12150 else
12151 ac_cpp_err=
12152 fi
12153 else
12154 ac_cpp_err=yes
12155 fi
12156 if test -z "$ac_cpp_err"; then
12157 :
12158 else
12159 echo "$as_me: failed program was:" >&5
12160 sed 's/^/| /' conftest.$ac_ext >&5
12161
12162 # Broken: fails on valid input.
12163 continue
12164 fi
12165 rm -f conftest.err conftest.$ac_ext
12166
12167 # OK, works on sane cases. Now check whether non-existent headers
12168 # can be detected and how.
12169 cat >conftest.$ac_ext <<_ACEOF
12170 /* confdefs.h. */
12171 _ACEOF
12172 cat confdefs.h >>conftest.$ac_ext
12173 cat >>conftest.$ac_ext <<_ACEOF
12174 /* end confdefs.h. */
12175 #include <ac_nonexistent.h>
12176 _ACEOF
12177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12178 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12179 ac_status=$?
12180 grep -v '^ *+' conftest.er1 >conftest.err
12181 rm -f conftest.er1
12182 cat conftest.err >&5
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); } >/dev/null; then
12185 if test -s conftest.err; then
12186 ac_cpp_err=$ac_c_preproc_warn_flag
12187 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12188 else
12189 ac_cpp_err=
12190 fi
12191 else
12192 ac_cpp_err=yes
12193 fi
12194 if test -z "$ac_cpp_err"; then
12195 # Broken: success on invalid input.
12196 continue
12197 else
12198 echo "$as_me: failed program was:" >&5
12199 sed 's/^/| /' conftest.$ac_ext >&5
12200
12201 # Passes both tests.
12202 ac_preproc_ok=:
12203 break
12204 fi
12205 rm -f conftest.err conftest.$ac_ext
12206
12207 done
12208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12209 rm -f conftest.err conftest.$ac_ext
12210 if $ac_preproc_ok; then
12211 :
12212 else
12213 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12214 See \`config.log' for more details." >&5
12215 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12216 See \`config.log' for more details." >&2;}
12217 { (exit 1); exit 1; }; }
12218 fi
12219
12220 ac_ext=c
12221 ac_cpp='$CPP $CPPFLAGS'
12222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12225
12226
12227 echo "$as_me:$LINENO: checking for egrep" >&5
12228 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12229 if test "${ac_cv_prog_egrep+set}" = set; then
12230 echo $ECHO_N "(cached) $ECHO_C" >&6
12231 else
12232 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12233 then ac_cv_prog_egrep='grep -E'
12234 else ac_cv_prog_egrep='egrep'
12235 fi
12236 fi
12237 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12238 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12239 EGREP=$ac_cv_prog_egrep
12240
12241
12242 if test $ac_cv_c_compiler_gnu = yes; then
12243 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12244 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12245 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12246 echo $ECHO_N "(cached) $ECHO_C" >&6
12247 else
12248 ac_pattern="Autoconf.*'x'"
12249 cat >conftest.$ac_ext <<_ACEOF
12250 /* confdefs.h. */
12251 _ACEOF
12252 cat confdefs.h >>conftest.$ac_ext
12253 cat >>conftest.$ac_ext <<_ACEOF
12254 /* end confdefs.h. */
12255 #include <sgtty.h>
12256 Autoconf TIOCGETP
12257 _ACEOF
12258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12259 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12260 ac_cv_prog_gcc_traditional=yes
12261 else
12262 ac_cv_prog_gcc_traditional=no
12263 fi
12264 rm -f conftest*
12265
12266
12267 if test $ac_cv_prog_gcc_traditional = no; then
12268 cat >conftest.$ac_ext <<_ACEOF
12269 /* confdefs.h. */
12270 _ACEOF
12271 cat confdefs.h >>conftest.$ac_ext
12272 cat >>conftest.$ac_ext <<_ACEOF
12273 /* end confdefs.h. */
12274 #include <termio.h>
12275 Autoconf TCGETA
12276 _ACEOF
12277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12278 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12279 ac_cv_prog_gcc_traditional=yes
12280 fi
12281 rm -f conftest*
12282
12283 fi
12284 fi
12285 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12286 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12287 if test $ac_cv_prog_gcc_traditional = yes; then
12288 CC="$CC -traditional"
12289 fi
12290 fi
12291
12292
12293
12294
12295 ac_ext=cc
12296 ac_cpp='$CXXCPP $CPPFLAGS'
12297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12300
12301
12302 CXXFLAGS=${CXXFLAGS:=}
12303
12304
12305 ac_ext=cc
12306 ac_cpp='$CXXCPP $CPPFLAGS'
12307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12310 if test -n "$ac_tool_prefix"; then
12311 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12312 do
12313 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12314 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12315 echo "$as_me:$LINENO: checking for $ac_word" >&5
12316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12317 if test "${ac_cv_prog_CXX+set}" = set; then
12318 echo $ECHO_N "(cached) $ECHO_C" >&6
12319 else
12320 if test -n "$CXX"; then
12321 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12322 else
12323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12324 for as_dir in $PATH
12325 do
12326 IFS=$as_save_IFS
12327 test -z "$as_dir" && as_dir=.
12328 for ac_exec_ext in '' $ac_executable_extensions; do
12329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12330 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12332 break 2
12333 fi
12334 done
12335 done
12336
12337 fi
12338 fi
12339 CXX=$ac_cv_prog_CXX
12340 if test -n "$CXX"; then
12341 echo "$as_me:$LINENO: result: $CXX" >&5
12342 echo "${ECHO_T}$CXX" >&6
12343 else
12344 echo "$as_me:$LINENO: result: no" >&5
12345 echo "${ECHO_T}no" >&6
12346 fi
12347
12348 test -n "$CXX" && break
12349 done
12350 fi
12351 if test -z "$CXX"; then
12352 ac_ct_CXX=$CXX
12353 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12354 do
12355 # Extract the first word of "$ac_prog", so it can be a program name with args.
12356 set dummy $ac_prog; ac_word=$2
12357 echo "$as_me:$LINENO: checking for $ac_word" >&5
12358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12359 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12360 echo $ECHO_N "(cached) $ECHO_C" >&6
12361 else
12362 if test -n "$ac_ct_CXX"; then
12363 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12364 else
12365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12366 for as_dir in $PATH
12367 do
12368 IFS=$as_save_IFS
12369 test -z "$as_dir" && as_dir=.
12370 for ac_exec_ext in '' $ac_executable_extensions; do
12371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12372 ac_cv_prog_ac_ct_CXX="$ac_prog"
12373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12374 break 2
12375 fi
12376 done
12377 done
12378
12379 fi
12380 fi
12381 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12382 if test -n "$ac_ct_CXX"; then
12383 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12384 echo "${ECHO_T}$ac_ct_CXX" >&6
12385 else
12386 echo "$as_me:$LINENO: result: no" >&5
12387 echo "${ECHO_T}no" >&6
12388 fi
12389
12390 test -n "$ac_ct_CXX" && break
12391 done
12392 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12393
12394 CXX=$ac_ct_CXX
12395 fi
12396
12397
12398 # Provide some information about the compiler.
12399 echo "$as_me:$LINENO:" \
12400 "checking for C++ compiler version" >&5
12401 ac_compiler=`set X $ac_compile; echo $2`
12402 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12403 (eval $ac_compiler --version </dev/null >&5) 2>&5
12404 ac_status=$?
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); }
12407 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12408 (eval $ac_compiler -v </dev/null >&5) 2>&5
12409 ac_status=$?
12410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411 (exit $ac_status); }
12412 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12413 (eval $ac_compiler -V </dev/null >&5) 2>&5
12414 ac_status=$?
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); }
12417
12418 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12419 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12420 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12421 echo $ECHO_N "(cached) $ECHO_C" >&6
12422 else
12423 cat >conftest.$ac_ext <<_ACEOF
12424 /* confdefs.h. */
12425 _ACEOF
12426 cat confdefs.h >>conftest.$ac_ext
12427 cat >>conftest.$ac_ext <<_ACEOF
12428 /* end confdefs.h. */
12429
12430 int
12431 main ()
12432 {
12433 #ifndef __GNUC__
12434 choke me
12435 #endif
12436
12437 ;
12438 return 0;
12439 }
12440 _ACEOF
12441 rm -f conftest.$ac_objext
12442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12443 (eval $ac_compile) 2>conftest.er1
12444 ac_status=$?
12445 grep -v '^ *+' conftest.er1 >conftest.err
12446 rm -f conftest.er1
12447 cat conftest.err >&5
12448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449 (exit $ac_status); } &&
12450 { ac_try='test -z "$ac_cxx_werror_flag"
12451 || test ! -s conftest.err'
12452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12453 (eval $ac_try) 2>&5
12454 ac_status=$?
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); }; } &&
12457 { ac_try='test -s conftest.$ac_objext'
12458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12459 (eval $ac_try) 2>&5
12460 ac_status=$?
12461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462 (exit $ac_status); }; }; then
12463 ac_compiler_gnu=yes
12464 else
12465 echo "$as_me: failed program was:" >&5
12466 sed 's/^/| /' conftest.$ac_ext >&5
12467
12468 ac_compiler_gnu=no
12469 fi
12470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12471 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12472
12473 fi
12474 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12475 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12476 GXX=`test $ac_compiler_gnu = yes && echo yes`
12477 ac_test_CXXFLAGS=${CXXFLAGS+set}
12478 ac_save_CXXFLAGS=$CXXFLAGS
12479 CXXFLAGS="-g"
12480 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12481 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12482 if test "${ac_cv_prog_cxx_g+set}" = set; then
12483 echo $ECHO_N "(cached) $ECHO_C" >&6
12484 else
12485 cat >conftest.$ac_ext <<_ACEOF
12486 /* confdefs.h. */
12487 _ACEOF
12488 cat confdefs.h >>conftest.$ac_ext
12489 cat >>conftest.$ac_ext <<_ACEOF
12490 /* end confdefs.h. */
12491
12492 int
12493 main ()
12494 {
12495
12496 ;
12497 return 0;
12498 }
12499 _ACEOF
12500 rm -f conftest.$ac_objext
12501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12502 (eval $ac_compile) 2>conftest.er1
12503 ac_status=$?
12504 grep -v '^ *+' conftest.er1 >conftest.err
12505 rm -f conftest.er1
12506 cat conftest.err >&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); } &&
12509 { ac_try='test -z "$ac_cxx_werror_flag"
12510 || test ! -s conftest.err'
12511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12512 (eval $ac_try) 2>&5
12513 ac_status=$?
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; } &&
12516 { ac_try='test -s conftest.$ac_objext'
12517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12518 (eval $ac_try) 2>&5
12519 ac_status=$?
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); }; }; then
12522 ac_cv_prog_cxx_g=yes
12523 else
12524 echo "$as_me: failed program was:" >&5
12525 sed 's/^/| /' conftest.$ac_ext >&5
12526
12527 ac_cv_prog_cxx_g=no
12528 fi
12529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12530 fi
12531 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12532 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12533 if test "$ac_test_CXXFLAGS" = set; then
12534 CXXFLAGS=$ac_save_CXXFLAGS
12535 elif test $ac_cv_prog_cxx_g = yes; then
12536 if test "$GXX" = yes; then
12537 CXXFLAGS="-g -O2"
12538 else
12539 CXXFLAGS="-g"
12540 fi
12541 else
12542 if test "$GXX" = yes; then
12543 CXXFLAGS="-O2"
12544 else
12545 CXXFLAGS=
12546 fi
12547 fi
12548 for ac_declaration in \
12549 '' \
12550 'extern "C" void std::exit (int) throw (); using std::exit;' \
12551 'extern "C" void std::exit (int); using std::exit;' \
12552 'extern "C" void exit (int) throw ();' \
12553 'extern "C" void exit (int);' \
12554 'void exit (int);'
12555 do
12556 cat >conftest.$ac_ext <<_ACEOF
12557 /* confdefs.h. */
12558 _ACEOF
12559 cat confdefs.h >>conftest.$ac_ext
12560 cat >>conftest.$ac_ext <<_ACEOF
12561 /* end confdefs.h. */
12562 $ac_declaration
12563 #include <stdlib.h>
12564 int
12565 main ()
12566 {
12567 exit (42);
12568 ;
12569 return 0;
12570 }
12571 _ACEOF
12572 rm -f conftest.$ac_objext
12573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12574 (eval $ac_compile) 2>conftest.er1
12575 ac_status=$?
12576 grep -v '^ *+' conftest.er1 >conftest.err
12577 rm -f conftest.er1
12578 cat conftest.err >&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); } &&
12581 { ac_try='test -z "$ac_cxx_werror_flag"
12582 || test ! -s conftest.err'
12583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12584 (eval $ac_try) 2>&5
12585 ac_status=$?
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); }; } &&
12588 { ac_try='test -s conftest.$ac_objext'
12589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12590 (eval $ac_try) 2>&5
12591 ac_status=$?
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); }; }; then
12594 :
12595 else
12596 echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.$ac_ext >&5
12598
12599 continue
12600 fi
12601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12602 cat >conftest.$ac_ext <<_ACEOF
12603 /* confdefs.h. */
12604 _ACEOF
12605 cat confdefs.h >>conftest.$ac_ext
12606 cat >>conftest.$ac_ext <<_ACEOF
12607 /* end confdefs.h. */
12608 $ac_declaration
12609 int
12610 main ()
12611 {
12612 exit (42);
12613 ;
12614 return 0;
12615 }
12616 _ACEOF
12617 rm -f conftest.$ac_objext
12618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12619 (eval $ac_compile) 2>conftest.er1
12620 ac_status=$?
12621 grep -v '^ *+' conftest.er1 >conftest.err
12622 rm -f conftest.er1
12623 cat conftest.err >&5
12624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12625 (exit $ac_status); } &&
12626 { ac_try='test -z "$ac_cxx_werror_flag"
12627 || test ! -s conftest.err'
12628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12629 (eval $ac_try) 2>&5
12630 ac_status=$?
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); }; } &&
12633 { ac_try='test -s conftest.$ac_objext'
12634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12635 (eval $ac_try) 2>&5
12636 ac_status=$?
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); }; }; then
12639 break
12640 else
12641 echo "$as_me: failed program was:" >&5
12642 sed 's/^/| /' conftest.$ac_ext >&5
12643
12644 fi
12645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12646 done
12647 rm -f conftest*
12648 if test -n "$ac_declaration"; then
12649 echo '#ifdef __cplusplus' >>confdefs.h
12650 echo $ac_declaration >>confdefs.h
12651 echo '#endif' >>confdefs.h
12652 fi
12653
12654 ac_ext=cc
12655 ac_cpp='$CXXCPP $CPPFLAGS'
12656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12659
12660 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12661 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12662 if test "${wx_cv_cxx_exto+set}" = set; then
12663 echo $ECHO_N "(cached) $ECHO_C" >&6
12664 else
12665 cat >conftest.$ac_ext <<_ACEOF
12666 /* confdefs.h. */
12667 _ACEOF
12668 cat confdefs.h >>conftest.$ac_ext
12669 cat >>conftest.$ac_ext <<_ACEOF
12670 /* end confdefs.h. */
12671
12672 int
12673 main ()
12674 {
12675
12676 ;
12677 return 0;
12678 }
12679 _ACEOF
12680 rm -f conftest.$ac_objext conftest.$ac_ext.o
12681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12682 (eval $ac_compile) 2>&5
12683 ac_status=$?
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); }; then
12686 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12687 case $ac_file in
12688 conftest.$ac_ext.o)
12689 wx_cv_cxx_exto="-ext o"
12690 ;;
12691 *)
12692 ;;
12693 esac
12694 done
12695 else
12696 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12697 See \`config.log' for more details." >&5
12698 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12699 See \`config.log' for more details." >&2;}
12700 { (exit 1); exit 1; }; }
12701
12702 fi
12703
12704 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12705
12706 fi
12707 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12708 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12709 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12710 if test "cxx" = "c"; then
12711 CFLAGS="$wx_cv_cxx_exto $CFLAGS"
12712 fi
12713 if test "cxx" = "cxx"; then
12714 CXXFLAGS="$wx_cv_cxx_exto $CXXFLAGS"
12715 fi
12716 fi
12717
12718 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12719 unset ac_cv_prog_cxx_g
12720 ac_test_CXXFLAGS=${CXXFLAGS+set}
12721 ac_save_CXXFLAGS=$CXXFLAGS
12722 CXXFLAGS="-g"
12723 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12724 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12725 if test "${ac_cv_prog_cxx_g+set}" = set; then
12726 echo $ECHO_N "(cached) $ECHO_C" >&6
12727 else
12728 cat >conftest.$ac_ext <<_ACEOF
12729 /* confdefs.h. */
12730 _ACEOF
12731 cat confdefs.h >>conftest.$ac_ext
12732 cat >>conftest.$ac_ext <<_ACEOF
12733 /* end confdefs.h. */
12734
12735 int
12736 main ()
12737 {
12738
12739 ;
12740 return 0;
12741 }
12742 _ACEOF
12743 rm -f conftest.$ac_objext
12744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12745 (eval $ac_compile) 2>conftest.er1
12746 ac_status=$?
12747 grep -v '^ *+' conftest.er1 >conftest.err
12748 rm -f conftest.er1
12749 cat conftest.err >&5
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); } &&
12752 { ac_try='test -z "$ac_cxx_werror_flag"
12753 || test ! -s conftest.err'
12754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12755 (eval $ac_try) 2>&5
12756 ac_status=$?
12757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); }; } &&
12759 { ac_try='test -s conftest.$ac_objext'
12760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12761 (eval $ac_try) 2>&5
12762 ac_status=$?
12763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12764 (exit $ac_status); }; }; then
12765 ac_cv_prog_cxx_g=yes
12766 else
12767 echo "$as_me: failed program was:" >&5
12768 sed 's/^/| /' conftest.$ac_ext >&5
12769
12770 ac_cv_prog_cxx_g=no
12771 fi
12772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12773 fi
12774 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12775 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12776 if test "$ac_test_CXXFLAGS" = set; then
12777 CXXFLAGS=$ac_save_CXXFLAGS
12778 elif test $ac_cv_prog_cxx_g = yes; then
12779 if test "$GXX" = yes; then
12780 CXXFLAGS="-g -O2"
12781 else
12782 CXXFLAGS="-g"
12783 fi
12784 else
12785 if test "$GXX" = yes; then
12786 CXXFLAGS="-O2"
12787 else
12788 CXXFLAGS=
12789 fi
12790 fi
12791 fi
12792 ac_ext=cc
12793 ac_cpp='$CXXCPP $CPPFLAGS'
12794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12797
12798 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12799 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12800 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12801 echo $ECHO_N "(cached) $ECHO_C" >&6
12802 else
12803 cat >conftest.$ac_ext <<_ACEOF
12804 /* confdefs.h. */
12805 _ACEOF
12806 cat confdefs.h >>conftest.$ac_ext
12807 cat >>conftest.$ac_ext <<_ACEOF
12808 /* end confdefs.h. */
12809
12810 int
12811 main ()
12812 {
12813 #ifndef __MWERKS__
12814 choke me
12815 #endif
12816
12817 ;
12818 return 0;
12819 }
12820 _ACEOF
12821 rm -f conftest.$ac_objext
12822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12823 (eval $ac_compile) 2>conftest.er1
12824 ac_status=$?
12825 grep -v '^ *+' conftest.er1 >conftest.err
12826 rm -f conftest.er1
12827 cat conftest.err >&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); } &&
12830 { ac_try='test -z "$ac_cxx_werror_flag"
12831 || test ! -s conftest.err'
12832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12833 (eval $ac_try) 2>&5
12834 ac_status=$?
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); }; } &&
12837 { ac_try='test -s conftest.$ac_objext'
12838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839 (eval $ac_try) 2>&5
12840 ac_status=$?
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; }; then
12843 bakefile_compiler_mwerks=yes
12844 else
12845 echo "$as_me: failed program was:" >&5
12846 sed 's/^/| /' conftest.$ac_ext >&5
12847
12848 bakefile_compiler_mwerks=no
12849 fi
12850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12851 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12852
12853 fi
12854 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12855 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12856
12857 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12858 ac_ext=cc
12859 ac_cpp='$CXXCPP $CPPFLAGS'
12860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12863
12864
12865 ac_ext=cc
12866 ac_cpp='$CXXCPP $CPPFLAGS'
12867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12870
12871 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12872 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12873 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12874 echo $ECHO_N "(cached) $ECHO_C" >&6
12875 else
12876 cat >conftest.$ac_ext <<_ACEOF
12877 /* confdefs.h. */
12878 _ACEOF
12879 cat confdefs.h >>conftest.$ac_ext
12880 cat >>conftest.$ac_ext <<_ACEOF
12881 /* end confdefs.h. */
12882
12883 int
12884 main ()
12885 {
12886 #ifndef __xlC__
12887 choke me
12888 #endif
12889
12890 ;
12891 return 0;
12892 }
12893 _ACEOF
12894 rm -f conftest.$ac_objext
12895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12896 (eval $ac_compile) 2>conftest.er1
12897 ac_status=$?
12898 grep -v '^ *+' conftest.er1 >conftest.err
12899 rm -f conftest.er1
12900 cat conftest.err >&5
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); } &&
12903 { ac_try='test -z "$ac_cxx_werror_flag"
12904 || test ! -s conftest.err'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12907 ac_status=$?
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; } &&
12910 { ac_try='test -s conftest.$ac_objext'
12911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12912 (eval $ac_try) 2>&5
12913 ac_status=$?
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); }; }; then
12916 wx_compiler_xlc=yes
12917 else
12918 echo "$as_me: failed program was:" >&5
12919 sed 's/^/| /' conftest.$ac_ext >&5
12920
12921 wx_compiler_xlc=no
12922 fi
12923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12924 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
12925
12926 fi
12927 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12928 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12929
12930 XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12931 ac_ext=cc
12932 ac_cpp='$CXXCPP $CPPFLAGS'
12933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12936
12937
12938
12939
12940 ac_ext=cc
12941 ac_cpp='$CXXCPP $CPPFLAGS'
12942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12945
12946 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
12947 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
12948 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
12949 echo $ECHO_N "(cached) $ECHO_C" >&6
12950 else
12951 cat >conftest.$ac_ext <<_ACEOF
12952 /* confdefs.h. */
12953 _ACEOF
12954 cat confdefs.h >>conftest.$ac_ext
12955 cat >>conftest.$ac_ext <<_ACEOF
12956 /* end confdefs.h. */
12957
12958 int
12959 main ()
12960 {
12961
12962 #ifndef __SUNPRO_CC
12963 choke me
12964 #endif
12965
12966 ;
12967 return 0;
12968 }
12969 _ACEOF
12970 rm -f conftest.$ac_objext
12971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12972 (eval $ac_compile) 2>conftest.er1
12973 ac_status=$?
12974 grep -v '^ *+' conftest.er1 >conftest.err
12975 rm -f conftest.er1
12976 cat conftest.err >&5
12977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 (exit $ac_status); } &&
12979 { ac_try='test -z "$ac_cxx_werror_flag"
12980 || test ! -s conftest.err'
12981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12982 (eval $ac_try) 2>&5
12983 ac_status=$?
12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); }; } &&
12986 { ac_try='test -s conftest.$ac_objext'
12987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12988 (eval $ac_try) 2>&5
12989 ac_status=$?
12990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); }; }; then
12992 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
12993 else
12994 echo "$as_me: failed program was:" >&5
12995 sed 's/^/| /' conftest.$ac_ext >&5
12996
12997 bakefile_cv_cxx_compiler___SUNPRO_CC=no
12998
12999 fi
13000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13001
13002
13003 fi
13004 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13005 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13006 ac_ext=cc
13007 ac_cpp='$CXXCPP $CPPFLAGS'
13008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13011
13012 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13013 :; SUNCXX=yes
13014 else
13015 :;
13016 fi
13017
13018
13019
13020
13021 ac_ext=c
13022 ac_cpp='$CPP $CPPFLAGS'
13023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13026
13027
13028 if test -n "$ac_tool_prefix"; then
13029 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13030 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13031 echo "$as_me:$LINENO: checking for $ac_word" >&5
13032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13033 if test "${ac_cv_prog_RANLIB+set}" = set; then
13034 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 else
13036 if test -n "$RANLIB"; then
13037 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13038 else
13039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13040 for as_dir in $PATH
13041 do
13042 IFS=$as_save_IFS
13043 test -z "$as_dir" && as_dir=.
13044 for ac_exec_ext in '' $ac_executable_extensions; do
13045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13046 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13048 break 2
13049 fi
13050 done
13051 done
13052
13053 fi
13054 fi
13055 RANLIB=$ac_cv_prog_RANLIB
13056 if test -n "$RANLIB"; then
13057 echo "$as_me:$LINENO: result: $RANLIB" >&5
13058 echo "${ECHO_T}$RANLIB" >&6
13059 else
13060 echo "$as_me:$LINENO: result: no" >&5
13061 echo "${ECHO_T}no" >&6
13062 fi
13063
13064 fi
13065 if test -z "$ac_cv_prog_RANLIB"; then
13066 ac_ct_RANLIB=$RANLIB
13067 # Extract the first word of "ranlib", so it can be a program name with args.
13068 set dummy ranlib; ac_word=$2
13069 echo "$as_me:$LINENO: checking for $ac_word" >&5
13070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13071 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13072 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 else
13074 if test -n "$ac_ct_RANLIB"; then
13075 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13076 else
13077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13078 for as_dir in $PATH
13079 do
13080 IFS=$as_save_IFS
13081 test -z "$as_dir" && as_dir=.
13082 for ac_exec_ext in '' $ac_executable_extensions; do
13083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13084 ac_cv_prog_ac_ct_RANLIB="ranlib"
13085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13086 break 2
13087 fi
13088 done
13089 done
13090
13091 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
13092 fi
13093 fi
13094 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13095 if test -n "$ac_ct_RANLIB"; then
13096 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13097 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13098 else
13099 echo "$as_me:$LINENO: result: no" >&5
13100 echo "${ECHO_T}no" >&6
13101 fi
13102
13103 RANLIB=$ac_ct_RANLIB
13104 else
13105 RANLIB="$ac_cv_prog_RANLIB"
13106 fi
13107
13108
13109 # Extract the first word of "ar", so it can be a program name with args.
13110 set dummy ar; ac_word=$2
13111 echo "$as_me:$LINENO: checking for $ac_word" >&5
13112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13113 if test "${ac_cv_prog_AR+set}" = set; then
13114 echo $ECHO_N "(cached) $ECHO_C" >&6
13115 else
13116 if test -n "$AR"; then
13117 ac_cv_prog_AR="$AR" # Let the user override the test.
13118 else
13119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13120 for as_dir in $PATH
13121 do
13122 IFS=$as_save_IFS
13123 test -z "$as_dir" && as_dir=.
13124 for ac_exec_ext in '' $ac_executable_extensions; do
13125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13126 ac_cv_prog_AR="ar"
13127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13128 break 2
13129 fi
13130 done
13131 done
13132
13133 fi
13134 fi
13135 AR=$ac_cv_prog_AR
13136 if test -n "$AR"; then
13137 echo "$as_me:$LINENO: result: $AR" >&5
13138 echo "${ECHO_T}$AR" >&6
13139 else
13140 echo "$as_me:$LINENO: result: no" >&5
13141 echo "${ECHO_T}no" >&6
13142 fi
13143
13144 if test "x$AR" = "x" ; then
13145 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13146 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13147 { (exit 1); exit 1; }; }
13148 fi
13149
13150 # Find a good install program. We prefer a C program (faster),
13151 # so one script is as good as another. But avoid the broken or
13152 # incompatible versions:
13153 # SysV /etc/install, /usr/sbin/install
13154 # SunOS /usr/etc/install
13155 # IRIX /sbin/install
13156 # AIX /bin/install
13157 # AmigaOS /C/install, which installs bootblocks on floppy discs
13158 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13159 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13160 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13161 # OS/2's system install, which has a completely different semantic
13162 # ./install, which can be erroneously created by make from ./install.sh.
13163 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13164 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13165 if test -z "$INSTALL"; then
13166 if test "${ac_cv_path_install+set}" = set; then
13167 echo $ECHO_N "(cached) $ECHO_C" >&6
13168 else
13169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13170 for as_dir in $PATH
13171 do
13172 IFS=$as_save_IFS
13173 test -z "$as_dir" && as_dir=.
13174 # Account for people who put trailing slashes in PATH elements.
13175 case $as_dir/ in
13176 ./ | .// | /cC/* | \
13177 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
13178 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
13179 /usr/ucb/* ) ;;
13180 *)
13181 # OSF1 and SCO ODT 3.0 have their own names for install.
13182 # Don't use installbsd from OSF since it installs stuff as root
13183 # by default.
13184 for ac_prog in ginstall scoinst install; do
13185 for ac_exec_ext in '' $ac_executable_extensions; do
13186 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13187 if test $ac_prog = install &&
13188 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13189 # AIX install. It has an incompatible calling convention.
13190 :
13191 elif test $ac_prog = install &&
13192 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13193 # program-specific install script used by HP pwplus--don't use.
13194 :
13195 else
13196 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
13197 break 3
13198 fi
13199 fi
13200 done
13201 done
13202 ;;
13203 esac
13204 done
13205
13206
13207 fi
13208 if test "${ac_cv_path_install+set}" = set; then
13209 INSTALL=$ac_cv_path_install
13210 else
13211 # As a last resort, use the slow shell script. We don't cache a
13212 # path for INSTALL within a source directory, because that will
13213 # break other packages using the cache if that directory is
13214 # removed, or if the path is relative.
13215 INSTALL=$ac_install_sh
13216 fi
13217 fi
13218 echo "$as_me:$LINENO: result: $INSTALL" >&5
13219 echo "${ECHO_T}$INSTALL" >&6
13220
13221 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13222 # It thinks the first close brace ends the variable substitution.
13223 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
13224
13225 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
13226
13227 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
13228
13229
13230 case ${INSTALL} in
13231 /* ) # Absolute
13232 ;;
13233 ?:* ) # Drive letter, considered as absolute.
13234 ;;
13235 *)
13236 INSTALL=`pwd`/${INSTALL} ;;
13237 esac
13238
13239
13240 case "${host}" in
13241
13242 powerpc-*-darwin* )
13243 INSTALL_PROGRAM="cp -fp"
13244 INSTALL_DATA="cp -fp"
13245 ;;
13246 *)
13247 ;;
13248 esac
13249
13250 # Extract the first word of "strip", so it can be a program name with args.
13251 set dummy strip; ac_word=$2
13252 echo "$as_me:$LINENO: checking for $ac_word" >&5
13253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13254 if test "${ac_cv_prog_STRIP+set}" = set; then
13255 echo $ECHO_N "(cached) $ECHO_C" >&6
13256 else
13257 if test -n "$STRIP"; then
13258 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13259 else
13260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13261 for as_dir in $PATH
13262 do
13263 IFS=$as_save_IFS
13264 test -z "$as_dir" && as_dir=.
13265 for ac_exec_ext in '' $ac_executable_extensions; do
13266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13267 ac_cv_prog_STRIP="strip"
13268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13269 break 2
13270 fi
13271 done
13272 done
13273
13274 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
13275 fi
13276 fi
13277 STRIP=$ac_cv_prog_STRIP
13278 if test -n "$STRIP"; then
13279 echo "$as_me:$LINENO: result: $STRIP" >&5
13280 echo "${ECHO_T}$STRIP" >&6
13281 else
13282 echo "$as_me:$LINENO: result: no" >&5
13283 echo "${ECHO_T}no" >&6
13284 fi
13285
13286
13287 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13288 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13289 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13290 echo $ECHO_N "(cached) $ECHO_C" >&6
13291 else
13292
13293 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
13294 egrep -s GNU > /dev/null); then
13295 wx_cv_prog_makeisgnu="yes"
13296 else
13297 wx_cv_prog_makeisgnu="no"
13298 fi
13299
13300 fi
13301 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13302 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13303
13304 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13305 IF_GNU_MAKE=""
13306 else
13307 IF_GNU_MAKE="#"
13308 fi
13309
13310
13311
13312 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13313 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13314 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13315 if test "${wx_cv_prog_makevpath+set}" = set; then
13316 echo $ECHO_N "(cached) $ECHO_C" >&6
13317 else
13318
13319 cat - << EOF > confMake
13320 check : file
13321 cp \$? \$@
13322 cp \$? final_file
13323 EOF
13324
13325 if test ! -d sub ; then
13326 mkdir sub
13327 fi
13328 echo dummy > sub/file
13329 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
13330 RESULT=$?
13331 rm -f sub/file check final_file confMake
13332 rmdir sub
13333 if test "$RESULT" = 0; then
13334 wx_cv_prog_makevpath="yes"
13335 else
13336 wx_cv_prog_makevpath="no"
13337 fi
13338
13339 fi
13340 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13341 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13342
13343 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13344 { { echo "$as_me:$LINENO: error:
13345 You need a make-utility that is able to use the variable
13346 VPATH correctly.
13347 If your version of make does not support VPATH correctly,
13348 please install GNU-make (possibly as gmake), and start
13349 configure with the following command:
13350 export MAKE=gmake; ./configure for sh-type shells
13351 setenv MAKE gmake; ./configure for csh-type shells
13352 Also please do remember to use gmake in this case every time
13353 you are trying to compile.
13354 " >&5
13355 echo "$as_me: error:
13356 You need a make-utility that is able to use the variable
13357 VPATH correctly.
13358 If your version of make does not support VPATH correctly,
13359 please install GNU-make (possibly as gmake), and start
13360 configure with the following command:
13361 export MAKE=gmake; ./configure for sh-type shells
13362 setenv MAKE gmake; ./configure for csh-type shells
13363 Also please do remember to use gmake in this case every time
13364 you are trying to compile.
13365 " >&2;}
13366 { (exit 1); exit 1; }; }
13367 fi fi
13368 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13369 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13370 LN_S=$as_ln_s
13371 if test "$LN_S" = "ln -s"; then
13372 echo "$as_me:$LINENO: result: yes" >&5
13373 echo "${ECHO_T}yes" >&6
13374 else
13375 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13376 echo "${ECHO_T}no, using $LN_S" >&6
13377 fi
13378
13379
13380
13381 if test "x$XLCXX" = "xyes"; then
13382 CXXFLAGS="$CXXFLAGS -qunique"
13383 fi
13384
13385
13386 case "${host}" in
13387 powerpc-*-darwin* )
13388 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13389 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13390 cat >conftest.$ac_ext <<_ACEOF
13391 /* confdefs.h. */
13392 _ACEOF
13393 cat confdefs.h >>conftest.$ac_ext
13394 cat >>conftest.$ac_ext <<_ACEOF
13395 /* end confdefs.h. */
13396
13397 int
13398 main ()
13399 {
13400 #ifndef __POWERPC__
13401 choke me for lack of PowerPC
13402 #endif
13403
13404 ;
13405 return 0;
13406 }
13407 _ACEOF
13408 rm -f conftest.$ac_objext
13409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13410 (eval $ac_compile) 2>conftest.er1
13411 ac_status=$?
13412 grep -v '^ *+' conftest.er1 >conftest.err
13413 rm -f conftest.er1
13414 cat conftest.err >&5
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); } &&
13417 { ac_try='test -z "$ac_c_werror_flag"
13418 || test ! -s conftest.err'
13419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13420 (eval $ac_try) 2>&5
13421 ac_status=$?
13422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); }; } &&
13424 { ac_try='test -s conftest.$ac_objext'
13425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13426 (eval $ac_try) 2>&5
13427 ac_status=$?
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; }; then
13430 echo "$as_me:$LINENO: result: yes" >&5
13431 echo "${ECHO_T}yes" >&6
13432 else
13433 echo "$as_me: failed program was:" >&5
13434 sed 's/^/| /' conftest.$ac_ext >&5
13435
13436 echo "$as_me:$LINENO: result: no" >&5
13437 echo "${ECHO_T}no" >&6
13438 cat >>confdefs.h <<\_ACEOF
13439 #define __POWERPC__ 1
13440 _ACEOF
13441
13442
13443 fi
13444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13445 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13446 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13447 cat >conftest.$ac_ext <<_ACEOF
13448 /* confdefs.h. */
13449 _ACEOF
13450 cat confdefs.h >>conftest.$ac_ext
13451 cat >>conftest.$ac_ext <<_ACEOF
13452 /* end confdefs.h. */
13453 #include <CoreFoundation/CFBase.h>
13454
13455 int
13456 main ()
13457 {
13458
13459 ;
13460 return 0;
13461 }
13462 _ACEOF
13463 rm -f conftest.$ac_objext
13464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13465 (eval $ac_compile) 2>conftest.er1
13466 ac_status=$?
13467 grep -v '^ *+' conftest.er1 >conftest.err
13468 rm -f conftest.er1
13469 cat conftest.err >&5
13470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13471 (exit $ac_status); } &&
13472 { ac_try='test -z "$ac_c_werror_flag"
13473 || test ! -s conftest.err'
13474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13475 (eval $ac_try) 2>&5
13476 ac_status=$?
13477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13478 (exit $ac_status); }; } &&
13479 { ac_try='test -s conftest.$ac_objext'
13480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13481 (eval $ac_try) 2>&5
13482 ac_status=$?
13483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13484 (exit $ac_status); }; }; then
13485 echo "$as_me:$LINENO: result: yes" >&5
13486 echo "${ECHO_T}yes" >&6
13487 else
13488 echo "$as_me: failed program was:" >&5
13489 sed 's/^/| /' conftest.$ac_ext >&5
13490
13491 echo "$as_me:$LINENO: result: no" >&5
13492 echo "${ECHO_T}no" >&6
13493 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13494 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13495 cat >conftest.$ac_ext <<_ACEOF
13496 /* confdefs.h. */
13497 _ACEOF
13498 cat confdefs.h >>conftest.$ac_ext
13499 cat >>conftest.$ac_ext <<_ACEOF
13500 /* end confdefs.h. */
13501 #define __CF_USE_FRAMEWORK_INCLUDES__
13502 #include <CoreFoundation/CFBase.h>
13503
13504 int
13505 main ()
13506 {
13507
13508 ;
13509 return 0;
13510 }
13511 _ACEOF
13512 rm -f conftest.$ac_objext
13513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13514 (eval $ac_compile) 2>conftest.er1
13515 ac_status=$?
13516 grep -v '^ *+' conftest.er1 >conftest.err
13517 rm -f conftest.er1
13518 cat conftest.err >&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); } &&
13521 { ac_try='test -z "$ac_c_werror_flag"
13522 || test ! -s conftest.err'
13523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13524 (eval $ac_try) 2>&5
13525 ac_status=$?
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); }; } &&
13528 { ac_try='test -s conftest.$ac_objext'
13529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13530 (eval $ac_try) 2>&5
13531 ac_status=$?
13532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13533 (exit $ac_status); }; }; then
13534 echo "$as_me:$LINENO: result: yes" >&5
13535 echo "${ECHO_T}yes" >&6
13536 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13537 else
13538 echo "$as_me: failed program was:" >&5
13539 sed 's/^/| /' conftest.$ac_ext >&5
13540
13541 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13542 See \`config.log' for more details." >&5
13543 echo "$as_me: error: no. CoreFoundation not available.
13544 See \`config.log' for more details." >&2;}
13545 { (exit 1); exit 1; }; }
13546
13547 fi
13548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13549
13550
13551 fi
13552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13553 ;;
13554 esac
13555
13556 case "${host}" in
13557 *-pc-os2_emx | *-pc-os2-emx )
13558 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13559 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13560 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13561 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13562 echo $ECHO_N "(cached) $ECHO_C" >&6
13563 else
13564 ac_check_lib_save_LIBS=$LIBS
13565 LIBS="-lcExt $LIBS"
13566 cat >conftest.$ac_ext <<_ACEOF
13567 /* confdefs.h. */
13568 _ACEOF
13569 cat confdefs.h >>conftest.$ac_ext
13570 cat >>conftest.$ac_ext <<_ACEOF
13571 /* end confdefs.h. */
13572
13573 /* Override any gcc2 internal prototype to avoid an error. */
13574 #ifdef __cplusplus
13575 extern "C"
13576 #endif
13577 /* We use char because int might match the return type of a gcc2
13578 builtin and then its argument prototype would still apply. */
13579 char drand48 ();
13580 int
13581 main ()
13582 {
13583 drand48 ();
13584 ;
13585 return 0;
13586 }
13587 _ACEOF
13588 rm -f conftest.$ac_objext conftest$ac_exeext
13589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13590 (eval $ac_link) 2>conftest.er1
13591 ac_status=$?
13592 grep -v '^ *+' conftest.er1 >conftest.err
13593 rm -f conftest.er1
13594 cat conftest.err >&5
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); } &&
13597 { ac_try='test -z "$ac_c_werror_flag"
13598 || test ! -s conftest.err'
13599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13600 (eval $ac_try) 2>&5
13601 ac_status=$?
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); }; } &&
13604 { ac_try='test -s conftest$ac_exeext'
13605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13606 (eval $ac_try) 2>&5
13607 ac_status=$?
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); }; }; then
13610 ac_cv_lib_cExt_drand48=yes
13611 else
13612 echo "$as_me: failed program was:" >&5
13613 sed 's/^/| /' conftest.$ac_ext >&5
13614
13615 ac_cv_lib_cExt_drand48=no
13616 fi
13617 rm -f conftest.err conftest.$ac_objext \
13618 conftest$ac_exeext conftest.$ac_ext
13619 LIBS=$ac_check_lib_save_LIBS
13620 fi
13621 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13622 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13623 if test $ac_cv_lib_cExt_drand48 = yes; then
13624 LIBS="$LIBS -lcExt"
13625 fi
13626
13627 else
13628 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
13629 fi
13630 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13631 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13632 if test "${wx_cv_gccversion+set}" = set; then
13633 echo $ECHO_N "(cached) $ECHO_C" >&6
13634 else
13635
13636 if test "$cross_compiling" = yes; then
13637 wx_cv_gccversion="EMX2"
13638
13639 else
13640 cat >conftest.$ac_ext <<_ACEOF
13641 /* confdefs.h. */
13642 _ACEOF
13643 cat confdefs.h >>conftest.$ac_ext
13644 cat >>conftest.$ac_ext <<_ACEOF
13645 /* end confdefs.h. */
13646
13647 #include <stdio.h>
13648
13649 int main()
13650 {
13651 FILE *f=fopen("conftestval", "w");
13652 if (!f) exit(1);
13653 fprintf(f,
13654 #if (__GNUC__ < 3)
13655 "EMX2"
13656 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13657 "EMX3"
13658 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13659 "Innotek5"
13660 #else
13661 "Innotek6"
13662 #endif
13663 );
13664 exit(0);
13665 }
13666
13667 _ACEOF
13668 rm -f conftest$ac_exeext
13669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13670 (eval $ac_link) 2>&5
13671 ac_status=$?
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13675 (eval $ac_try) 2>&5
13676 ac_status=$?
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); }; }; then
13679 wx_cv_gccversion=`cat conftestval`
13680 else
13681 echo "$as_me: program exited with status $ac_status" >&5
13682 echo "$as_me: failed program was:" >&5
13683 sed 's/^/| /' conftest.$ac_ext >&5
13684
13685 ( exit $ac_status )
13686 wx_cv_gccversion="EMX2"
13687 fi
13688 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13689 fi
13690
13691 fi
13692 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13693 echo "${ECHO_T}$wx_cv_gccversion" >&6
13694 if test "$wx_cv_gccversion" = "EMX2"; then
13695 LIBS="$LIBS -lstdcpp"
13696 LDFLAGS="$LDFLAGS -Zsysv-signals"
13697 else
13698 if test "$wx_cv_gccversion" = "EMX3"; then
13699 LIBS="$LIBS -lstdcxx"
13700 LDFLAGS="$LDFLAGS -Zsysv-signals"
13701 else
13702 LIBS="$LIBS -lstdc++"
13703 fi
13704 fi
13705 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13706 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13707 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13708 wxUSE_OMF=yes
13709 enable_omf=yes
13710 fi
13711 ;;
13712 *)
13713
13714
13715
13716 ac_ext=cc
13717 ac_cpp='$CXXCPP $CPPFLAGS'
13718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13721
13722
13723 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13724 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13725 if test "${ac_cv_string_strcasecmp+set}" = set; then
13726 echo $ECHO_N "(cached) $ECHO_C" >&6
13727 else
13728
13729 cat >conftest.$ac_ext <<_ACEOF
13730 /* confdefs.h. */
13731 _ACEOF
13732 cat confdefs.h >>conftest.$ac_ext
13733 cat >>conftest.$ac_ext <<_ACEOF
13734 /* end confdefs.h. */
13735
13736 #include <string.h>
13737
13738 int
13739 main ()
13740 {
13741
13742 strcasecmp("foo", "bar");
13743
13744 ;
13745 return 0;
13746 }
13747 _ACEOF
13748 rm -f conftest.$ac_objext conftest$ac_exeext
13749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13750 (eval $ac_link) 2>conftest.er1
13751 ac_status=$?
13752 grep -v '^ *+' conftest.er1 >conftest.err
13753 rm -f conftest.er1
13754 cat conftest.err >&5
13755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13756 (exit $ac_status); } &&
13757 { ac_try='test -z "$ac_cxx_werror_flag"
13758 || test ! -s conftest.err'
13759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13760 (eval $ac_try) 2>&5
13761 ac_status=$?
13762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13763 (exit $ac_status); }; } &&
13764 { ac_try='test -s conftest$ac_exeext'
13765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13766 (eval $ac_try) 2>&5
13767 ac_status=$?
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); }; }; then
13770 ac_cv_string_strcasecmp=yes
13771 else
13772 echo "$as_me: failed program was:" >&5
13773 sed 's/^/| /' conftest.$ac_ext >&5
13774
13775 ac_cv_string_strcasecmp=no
13776
13777 fi
13778 rm -f conftest.err conftest.$ac_objext \
13779 conftest$ac_exeext conftest.$ac_ext
13780
13781 fi
13782 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13783 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13784
13785 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
13786 cat >>confdefs.h <<\_ACEOF
13787 #define HAVE_STRCASECMP_IN_STRING_H 1
13788 _ACEOF
13789
13790 else
13791 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13792 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13793 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13794 echo $ECHO_N "(cached) $ECHO_C" >&6
13795 else
13796
13797 cat >conftest.$ac_ext <<_ACEOF
13798 /* confdefs.h. */
13799 _ACEOF
13800 cat confdefs.h >>conftest.$ac_ext
13801 cat >>conftest.$ac_ext <<_ACEOF
13802 /* end confdefs.h. */
13803
13804 #include <strings.h>
13805
13806 int
13807 main ()
13808 {
13809
13810 strcasecmp("foo", "bar");
13811
13812 ;
13813 return 0;
13814 }
13815 _ACEOF
13816 rm -f conftest.$ac_objext conftest$ac_exeext
13817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13818 (eval $ac_link) 2>conftest.er1
13819 ac_status=$?
13820 grep -v '^ *+' conftest.er1 >conftest.err
13821 rm -f conftest.er1
13822 cat conftest.err >&5
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); } &&
13825 { ac_try='test -z "$ac_cxx_werror_flag"
13826 || test ! -s conftest.err'
13827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13828 (eval $ac_try) 2>&5
13829 ac_status=$?
13830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831 (exit $ac_status); }; } &&
13832 { ac_try='test -s conftest$ac_exeext'
13833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13834 (eval $ac_try) 2>&5
13835 ac_status=$?
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); }; }; then
13838 ac_cv_strings_strcasecmp=yes
13839 else
13840 echo "$as_me: failed program was:" >&5
13841 sed 's/^/| /' conftest.$ac_ext >&5
13842
13843 ac_cv_strings_strcasecmp=no
13844
13845 fi
13846 rm -f conftest.err conftest.$ac_objext \
13847 conftest$ac_exeext conftest.$ac_ext
13848
13849 fi
13850 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13851 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13852
13853 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
13854 cat >>confdefs.h <<\_ACEOF
13855 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13856 _ACEOF
13857
13858 else
13859 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13860 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13861 { (exit 1); exit 1; }; }
13862 fi
13863 fi
13864
13865 ac_ext=c
13866 ac_cpp='$CPP $CPPFLAGS'
13867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13870
13871 ;;
13872 esac
13873
13874
13875 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13876 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13877 if test "${ac_cv_header_stdc+set}" = set; then
13878 echo $ECHO_N "(cached) $ECHO_C" >&6
13879 else
13880 cat >conftest.$ac_ext <<_ACEOF
13881 /* confdefs.h. */
13882 _ACEOF
13883 cat confdefs.h >>conftest.$ac_ext
13884 cat >>conftest.$ac_ext <<_ACEOF
13885 /* end confdefs.h. */
13886 #include <stdlib.h>
13887 #include <stdarg.h>
13888 #include <string.h>
13889 #include <float.h>
13890
13891 int
13892 main ()
13893 {
13894
13895 ;
13896 return 0;
13897 }
13898 _ACEOF
13899 rm -f conftest.$ac_objext
13900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13901 (eval $ac_compile) 2>conftest.er1
13902 ac_status=$?
13903 grep -v '^ *+' conftest.er1 >conftest.err
13904 rm -f conftest.er1
13905 cat conftest.err >&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); } &&
13908 { ac_try='test -z "$ac_c_werror_flag"
13909 || test ! -s conftest.err'
13910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13911 (eval $ac_try) 2>&5
13912 ac_status=$?
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); }; } &&
13915 { ac_try='test -s conftest.$ac_objext'
13916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13917 (eval $ac_try) 2>&5
13918 ac_status=$?
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); }; }; then
13921 ac_cv_header_stdc=yes
13922 else
13923 echo "$as_me: failed program was:" >&5
13924 sed 's/^/| /' conftest.$ac_ext >&5
13925
13926 ac_cv_header_stdc=no
13927 fi
13928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13929
13930 if test $ac_cv_header_stdc = yes; then
13931 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13932 cat >conftest.$ac_ext <<_ACEOF
13933 /* confdefs.h. */
13934 _ACEOF
13935 cat confdefs.h >>conftest.$ac_ext
13936 cat >>conftest.$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13938 #include <string.h>
13939
13940 _ACEOF
13941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13942 $EGREP "memchr" >/dev/null 2>&1; then
13943 :
13944 else
13945 ac_cv_header_stdc=no
13946 fi
13947 rm -f conftest*
13948
13949 fi
13950
13951 if test $ac_cv_header_stdc = yes; then
13952 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13953 cat >conftest.$ac_ext <<_ACEOF
13954 /* confdefs.h. */
13955 _ACEOF
13956 cat confdefs.h >>conftest.$ac_ext
13957 cat >>conftest.$ac_ext <<_ACEOF
13958 /* end confdefs.h. */
13959 #include <stdlib.h>
13960
13961 _ACEOF
13962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13963 $EGREP "free" >/dev/null 2>&1; then
13964 :
13965 else
13966 ac_cv_header_stdc=no
13967 fi
13968 rm -f conftest*
13969
13970 fi
13971
13972 if test $ac_cv_header_stdc = yes; then
13973 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13974 if test "$cross_compiling" = yes; then
13975 :
13976 else
13977 cat >conftest.$ac_ext <<_ACEOF
13978 /* confdefs.h. */
13979 _ACEOF
13980 cat confdefs.h >>conftest.$ac_ext
13981 cat >>conftest.$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13983 #include <ctype.h>
13984 #if ((' ' & 0x0FF) == 0x020)
13985 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13986 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13987 #else
13988 # define ISLOWER(c) \
13989 (('a' <= (c) && (c) <= 'i') \
13990 || ('j' <= (c) && (c) <= 'r') \
13991 || ('s' <= (c) && (c) <= 'z'))
13992 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13993 #endif
13994
13995 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13996 int
13997 main ()
13998 {
13999 int i;
14000 for (i = 0; i < 256; i++)
14001 if (XOR (islower (i), ISLOWER (i))
14002 || toupper (i) != TOUPPER (i))
14003 exit(2);
14004 exit (0);
14005 }
14006 _ACEOF
14007 rm -f conftest$ac_exeext
14008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14009 (eval $ac_link) 2>&5
14010 ac_status=$?
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14014 (eval $ac_try) 2>&5
14015 ac_status=$?
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); }; }; then
14018 :
14019 else
14020 echo "$as_me: program exited with status $ac_status" >&5
14021 echo "$as_me: failed program was:" >&5
14022 sed 's/^/| /' conftest.$ac_ext >&5
14023
14024 ( exit $ac_status )
14025 ac_cv_header_stdc=no
14026 fi
14027 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14028 fi
14029 fi
14030 fi
14031 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14032 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14033 if test $ac_cv_header_stdc = yes; then
14034
14035 cat >>confdefs.h <<\_ACEOF
14036 #define STDC_HEADERS 1
14037 _ACEOF
14038
14039 fi
14040
14041 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
14052 inttypes.h stdint.h unistd.h
14053 do
14054 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14055 echo "$as_me:$LINENO: checking for $ac_header" >&5
14056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14058 echo $ECHO_N "(cached) $ECHO_C" >&6
14059 else
14060 cat >conftest.$ac_ext <<_ACEOF
14061 /* confdefs.h. */
14062 _ACEOF
14063 cat confdefs.h >>conftest.$ac_ext
14064 cat >>conftest.$ac_ext <<_ACEOF
14065 /* end confdefs.h. */
14066 $ac_includes_default
14067
14068 #include <$ac_header>
14069 _ACEOF
14070 rm -f conftest.$ac_objext
14071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14072 (eval $ac_compile) 2>conftest.er1
14073 ac_status=$?
14074 grep -v '^ *+' conftest.er1 >conftest.err
14075 rm -f conftest.er1
14076 cat conftest.err >&5
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); } &&
14079 { ac_try='test -z "$ac_c_werror_flag"
14080 || test ! -s conftest.err'
14081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14082 (eval $ac_try) 2>&5
14083 ac_status=$?
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); }; } &&
14086 { ac_try='test -s conftest.$ac_objext'
14087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14088 (eval $ac_try) 2>&5
14089 ac_status=$?
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); }; }; then
14092 eval "$as_ac_Header=yes"
14093 else
14094 echo "$as_me: failed program was:" >&5
14095 sed 's/^/| /' conftest.$ac_ext >&5
14096
14097 eval "$as_ac_Header=no"
14098 fi
14099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14100 fi
14101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14104 cat >>confdefs.h <<_ACEOF
14105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14106 _ACEOF
14107
14108 fi
14109
14110 done
14111
14112
14113
14114 for ac_header in stdlib.h
14115 do
14116 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14118 echo "$as_me:$LINENO: checking for $ac_header" >&5
14119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14121 echo $ECHO_N "(cached) $ECHO_C" >&6
14122 fi
14123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14125 else
14126 # Is the header compilable?
14127 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14128 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14129 cat >conftest.$ac_ext <<_ACEOF
14130 /* confdefs.h. */
14131 _ACEOF
14132 cat confdefs.h >>conftest.$ac_ext
14133 cat >>conftest.$ac_ext <<_ACEOF
14134 /* end confdefs.h. */
14135 $ac_includes_default
14136 #include <$ac_header>
14137 _ACEOF
14138 rm -f conftest.$ac_objext
14139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14140 (eval $ac_compile) 2>conftest.er1
14141 ac_status=$?
14142 grep -v '^ *+' conftest.er1 >conftest.err
14143 rm -f conftest.er1
14144 cat conftest.err >&5
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); } &&
14147 { ac_try='test -z "$ac_c_werror_flag"
14148 || test ! -s conftest.err'
14149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14150 (eval $ac_try) 2>&5
14151 ac_status=$?
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); }; } &&
14154 { ac_try='test -s conftest.$ac_objext'
14155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14156 (eval $ac_try) 2>&5
14157 ac_status=$?
14158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14159 (exit $ac_status); }; }; then
14160 ac_header_compiler=yes
14161 else
14162 echo "$as_me: failed program was:" >&5
14163 sed 's/^/| /' conftest.$ac_ext >&5
14164
14165 ac_header_compiler=no
14166 fi
14167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14169 echo "${ECHO_T}$ac_header_compiler" >&6
14170
14171 # Is the header present?
14172 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14174 cat >conftest.$ac_ext <<_ACEOF
14175 /* confdefs.h. */
14176 _ACEOF
14177 cat confdefs.h >>conftest.$ac_ext
14178 cat >>conftest.$ac_ext <<_ACEOF
14179 /* end confdefs.h. */
14180 #include <$ac_header>
14181 _ACEOF
14182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14184 ac_status=$?
14185 grep -v '^ *+' conftest.er1 >conftest.err
14186 rm -f conftest.er1
14187 cat conftest.err >&5
14188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14189 (exit $ac_status); } >/dev/null; then
14190 if test -s conftest.err; then
14191 ac_cpp_err=$ac_c_preproc_warn_flag
14192 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14193 else
14194 ac_cpp_err=
14195 fi
14196 else
14197 ac_cpp_err=yes
14198 fi
14199 if test -z "$ac_cpp_err"; then
14200 ac_header_preproc=yes
14201 else
14202 echo "$as_me: failed program was:" >&5
14203 sed 's/^/| /' conftest.$ac_ext >&5
14204
14205 ac_header_preproc=no
14206 fi
14207 rm -f conftest.err conftest.$ac_ext
14208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14209 echo "${ECHO_T}$ac_header_preproc" >&6
14210
14211 # So? What about this header?
14212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14213 yes:no: )
14214 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14215 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14217 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14218 ac_header_preproc=yes
14219 ;;
14220 no:yes:* )
14221 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14222 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14223 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14224 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14225 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14226 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14227 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14228 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14230 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14231 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14232 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14233 (
14234 cat <<\_ASBOX
14235 ## ----------------------------------------- ##
14236 ## Report this to wx-dev@lists.wxwidgets.org ##
14237 ## ----------------------------------------- ##
14238 _ASBOX
14239 ) |
14240 sed "s/^/$as_me: WARNING: /" >&2
14241 ;;
14242 esac
14243 echo "$as_me:$LINENO: checking for $ac_header" >&5
14244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14246 echo $ECHO_N "(cached) $ECHO_C" >&6
14247 else
14248 eval "$as_ac_Header=\$ac_header_preproc"
14249 fi
14250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14252
14253 fi
14254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14255 cat >>confdefs.h <<_ACEOF
14256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14257 _ACEOF
14258
14259 fi
14260
14261 done
14262
14263
14264 for ac_header in malloc.h
14265 do
14266 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14268 echo "$as_me:$LINENO: checking for $ac_header" >&5
14269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 fi
14273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14275 else
14276 # Is the header compilable?
14277 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14278 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14279 cat >conftest.$ac_ext <<_ACEOF
14280 /* confdefs.h. */
14281 _ACEOF
14282 cat confdefs.h >>conftest.$ac_ext
14283 cat >>conftest.$ac_ext <<_ACEOF
14284 /* end confdefs.h. */
14285 $ac_includes_default
14286 #include <$ac_header>
14287 _ACEOF
14288 rm -f conftest.$ac_objext
14289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14290 (eval $ac_compile) 2>conftest.er1
14291 ac_status=$?
14292 grep -v '^ *+' conftest.er1 >conftest.err
14293 rm -f conftest.er1
14294 cat conftest.err >&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); } &&
14297 { ac_try='test -z "$ac_c_werror_flag"
14298 || test ! -s conftest.err'
14299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14300 (eval $ac_try) 2>&5
14301 ac_status=$?
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); }; } &&
14304 { ac_try='test -s conftest.$ac_objext'
14305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14306 (eval $ac_try) 2>&5
14307 ac_status=$?
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); }; }; then
14310 ac_header_compiler=yes
14311 else
14312 echo "$as_me: failed program was:" >&5
14313 sed 's/^/| /' conftest.$ac_ext >&5
14314
14315 ac_header_compiler=no
14316 fi
14317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14318 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14319 echo "${ECHO_T}$ac_header_compiler" >&6
14320
14321 # Is the header present?
14322 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14323 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14324 cat >conftest.$ac_ext <<_ACEOF
14325 /* confdefs.h. */
14326 _ACEOF
14327 cat confdefs.h >>conftest.$ac_ext
14328 cat >>conftest.$ac_ext <<_ACEOF
14329 /* end confdefs.h. */
14330 #include <$ac_header>
14331 _ACEOF
14332 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14333 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14334 ac_status=$?
14335 grep -v '^ *+' conftest.er1 >conftest.err
14336 rm -f conftest.er1
14337 cat conftest.err >&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); } >/dev/null; then
14340 if test -s conftest.err; then
14341 ac_cpp_err=$ac_c_preproc_warn_flag
14342 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14343 else
14344 ac_cpp_err=
14345 fi
14346 else
14347 ac_cpp_err=yes
14348 fi
14349 if test -z "$ac_cpp_err"; then
14350 ac_header_preproc=yes
14351 else
14352 echo "$as_me: failed program was:" >&5
14353 sed 's/^/| /' conftest.$ac_ext >&5
14354
14355 ac_header_preproc=no
14356 fi
14357 rm -f conftest.err conftest.$ac_ext
14358 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14359 echo "${ECHO_T}$ac_header_preproc" >&6
14360
14361 # So? What about this header?
14362 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14363 yes:no: )
14364 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14365 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14367 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14368 ac_header_preproc=yes
14369 ;;
14370 no:yes:* )
14371 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14372 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14373 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14374 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14375 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14376 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14377 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14378 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14380 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14381 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14382 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14383 (
14384 cat <<\_ASBOX
14385 ## ----------------------------------------- ##
14386 ## Report this to wx-dev@lists.wxwidgets.org ##
14387 ## ----------------------------------------- ##
14388 _ASBOX
14389 ) |
14390 sed "s/^/$as_me: WARNING: /" >&2
14391 ;;
14392 esac
14393 echo "$as_me:$LINENO: checking for $ac_header" >&5
14394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14396 echo $ECHO_N "(cached) $ECHO_C" >&6
14397 else
14398 eval "$as_ac_Header=\$ac_header_preproc"
14399 fi
14400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14402
14403 fi
14404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14405 cat >>confdefs.h <<_ACEOF
14406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14407 _ACEOF
14408
14409 fi
14410
14411 done
14412
14413
14414 for ac_header in unistd.h
14415 do
14416 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14418 echo "$as_me:$LINENO: checking for $ac_header" >&5
14419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14421 echo $ECHO_N "(cached) $ECHO_C" >&6
14422 fi
14423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14425 else
14426 # Is the header compilable?
14427 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14428 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14429 cat >conftest.$ac_ext <<_ACEOF
14430 /* confdefs.h. */
14431 _ACEOF
14432 cat confdefs.h >>conftest.$ac_ext
14433 cat >>conftest.$ac_ext <<_ACEOF
14434 /* end confdefs.h. */
14435 $ac_includes_default
14436 #include <$ac_header>
14437 _ACEOF
14438 rm -f conftest.$ac_objext
14439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14440 (eval $ac_compile) 2>conftest.er1
14441 ac_status=$?
14442 grep -v '^ *+' conftest.er1 >conftest.err
14443 rm -f conftest.er1
14444 cat conftest.err >&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); } &&
14447 { ac_try='test -z "$ac_c_werror_flag"
14448 || test ! -s conftest.err'
14449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14450 (eval $ac_try) 2>&5
14451 ac_status=$?
14452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453 (exit $ac_status); }; } &&
14454 { ac_try='test -s conftest.$ac_objext'
14455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14456 (eval $ac_try) 2>&5
14457 ac_status=$?
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); }; }; then
14460 ac_header_compiler=yes
14461 else
14462 echo "$as_me: failed program was:" >&5
14463 sed 's/^/| /' conftest.$ac_ext >&5
14464
14465 ac_header_compiler=no
14466 fi
14467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14468 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14469 echo "${ECHO_T}$ac_header_compiler" >&6
14470
14471 # Is the header present?
14472 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14473 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14474 cat >conftest.$ac_ext <<_ACEOF
14475 /* confdefs.h. */
14476 _ACEOF
14477 cat confdefs.h >>conftest.$ac_ext
14478 cat >>conftest.$ac_ext <<_ACEOF
14479 /* end confdefs.h. */
14480 #include <$ac_header>
14481 _ACEOF
14482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14483 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14484 ac_status=$?
14485 grep -v '^ *+' conftest.er1 >conftest.err
14486 rm -f conftest.er1
14487 cat conftest.err >&5
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); } >/dev/null; then
14490 if test -s conftest.err; then
14491 ac_cpp_err=$ac_c_preproc_warn_flag
14492 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14493 else
14494 ac_cpp_err=
14495 fi
14496 else
14497 ac_cpp_err=yes
14498 fi
14499 if test -z "$ac_cpp_err"; then
14500 ac_header_preproc=yes
14501 else
14502 echo "$as_me: failed program was:" >&5
14503 sed 's/^/| /' conftest.$ac_ext >&5
14504
14505 ac_header_preproc=no
14506 fi
14507 rm -f conftest.err conftest.$ac_ext
14508 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14509 echo "${ECHO_T}$ac_header_preproc" >&6
14510
14511 # So? What about this header?
14512 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14513 yes:no: )
14514 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14515 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14516 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14517 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14518 ac_header_preproc=yes
14519 ;;
14520 no:yes:* )
14521 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14522 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14523 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14524 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14525 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14526 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14527 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14528 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14530 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14531 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14532 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14533 (
14534 cat <<\_ASBOX
14535 ## ----------------------------------------- ##
14536 ## Report this to wx-dev@lists.wxwidgets.org ##
14537 ## ----------------------------------------- ##
14538 _ASBOX
14539 ) |
14540 sed "s/^/$as_me: WARNING: /" >&2
14541 ;;
14542 esac
14543 echo "$as_me:$LINENO: checking for $ac_header" >&5
14544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14546 echo $ECHO_N "(cached) $ECHO_C" >&6
14547 else
14548 eval "$as_ac_Header=\$ac_header_preproc"
14549 fi
14550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14551 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14552
14553 fi
14554 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14555 cat >>confdefs.h <<_ACEOF
14556 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14557 _ACEOF
14558
14559 fi
14560
14561 done
14562
14563
14564 for ac_header in wchar.h
14565 do
14566 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14568 echo "$as_me:$LINENO: checking for $ac_header" >&5
14569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14571 echo $ECHO_N "(cached) $ECHO_C" >&6
14572 fi
14573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14575 else
14576 # Is the header compilable?
14577 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14578 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14579 cat >conftest.$ac_ext <<_ACEOF
14580 /* confdefs.h. */
14581 _ACEOF
14582 cat confdefs.h >>conftest.$ac_ext
14583 cat >>conftest.$ac_ext <<_ACEOF
14584 /* end confdefs.h. */
14585 $ac_includes_default
14586 #include <$ac_header>
14587 _ACEOF
14588 rm -f conftest.$ac_objext
14589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14590 (eval $ac_compile) 2>conftest.er1
14591 ac_status=$?
14592 grep -v '^ *+' conftest.er1 >conftest.err
14593 rm -f conftest.er1
14594 cat conftest.err >&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); } &&
14597 { ac_try='test -z "$ac_c_werror_flag"
14598 || test ! -s conftest.err'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14601 ac_status=$?
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; } &&
14604 { ac_try='test -s conftest.$ac_objext'
14605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14606 (eval $ac_try) 2>&5
14607 ac_status=$?
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); }; }; then
14610 ac_header_compiler=yes
14611 else
14612 echo "$as_me: failed program was:" >&5
14613 sed 's/^/| /' conftest.$ac_ext >&5
14614
14615 ac_header_compiler=no
14616 fi
14617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14619 echo "${ECHO_T}$ac_header_compiler" >&6
14620
14621 # Is the header present?
14622 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14623 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14624 cat >conftest.$ac_ext <<_ACEOF
14625 /* confdefs.h. */
14626 _ACEOF
14627 cat confdefs.h >>conftest.$ac_ext
14628 cat >>conftest.$ac_ext <<_ACEOF
14629 /* end confdefs.h. */
14630 #include <$ac_header>
14631 _ACEOF
14632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14633 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14634 ac_status=$?
14635 grep -v '^ *+' conftest.er1 >conftest.err
14636 rm -f conftest.er1
14637 cat conftest.err >&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } >/dev/null; then
14640 if test -s conftest.err; then
14641 ac_cpp_err=$ac_c_preproc_warn_flag
14642 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14643 else
14644 ac_cpp_err=
14645 fi
14646 else
14647 ac_cpp_err=yes
14648 fi
14649 if test -z "$ac_cpp_err"; then
14650 ac_header_preproc=yes
14651 else
14652 echo "$as_me: failed program was:" >&5
14653 sed 's/^/| /' conftest.$ac_ext >&5
14654
14655 ac_header_preproc=no
14656 fi
14657 rm -f conftest.err conftest.$ac_ext
14658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14659 echo "${ECHO_T}$ac_header_preproc" >&6
14660
14661 # So? What about this header?
14662 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14663 yes:no: )
14664 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14665 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14667 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14668 ac_header_preproc=yes
14669 ;;
14670 no:yes:* )
14671 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14672 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14673 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14674 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14675 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14676 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14677 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14678 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14680 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14681 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14682 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14683 (
14684 cat <<\_ASBOX
14685 ## ----------------------------------------- ##
14686 ## Report this to wx-dev@lists.wxwidgets.org ##
14687 ## ----------------------------------------- ##
14688 _ASBOX
14689 ) |
14690 sed "s/^/$as_me: WARNING: /" >&2
14691 ;;
14692 esac
14693 echo "$as_me:$LINENO: checking for $ac_header" >&5
14694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14696 echo $ECHO_N "(cached) $ECHO_C" >&6
14697 else
14698 eval "$as_ac_Header=\$ac_header_preproc"
14699 fi
14700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14702
14703 fi
14704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14705 cat >>confdefs.h <<_ACEOF
14706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14707 _ACEOF
14708
14709 fi
14710
14711 done
14712
14713
14714 if test "$ac_cv_header_wchar_h" != "yes"; then
14715
14716 for ac_header in wcstr.h
14717 do
14718 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14720 echo "$as_me:$LINENO: checking for $ac_header" >&5
14721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14723 echo $ECHO_N "(cached) $ECHO_C" >&6
14724 fi
14725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14727 else
14728 # Is the header compilable?
14729 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14730 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14731 cat >conftest.$ac_ext <<_ACEOF
14732 /* confdefs.h. */
14733 _ACEOF
14734 cat confdefs.h >>conftest.$ac_ext
14735 cat >>conftest.$ac_ext <<_ACEOF
14736 /* end confdefs.h. */
14737 $ac_includes_default
14738 #include <$ac_header>
14739 _ACEOF
14740 rm -f conftest.$ac_objext
14741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14742 (eval $ac_compile) 2>conftest.er1
14743 ac_status=$?
14744 grep -v '^ *+' conftest.er1 >conftest.err
14745 rm -f conftest.er1
14746 cat conftest.err >&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); } &&
14749 { ac_try='test -z "$ac_c_werror_flag"
14750 || test ! -s conftest.err'
14751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14752 (eval $ac_try) 2>&5
14753 ac_status=$?
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); }; } &&
14756 { ac_try='test -s conftest.$ac_objext'
14757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14758 (eval $ac_try) 2>&5
14759 ac_status=$?
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); }; }; then
14762 ac_header_compiler=yes
14763 else
14764 echo "$as_me: failed program was:" >&5
14765 sed 's/^/| /' conftest.$ac_ext >&5
14766
14767 ac_header_compiler=no
14768 fi
14769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14770 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14771 echo "${ECHO_T}$ac_header_compiler" >&6
14772
14773 # Is the header present?
14774 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14775 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14776 cat >conftest.$ac_ext <<_ACEOF
14777 /* confdefs.h. */
14778 _ACEOF
14779 cat confdefs.h >>conftest.$ac_ext
14780 cat >>conftest.$ac_ext <<_ACEOF
14781 /* end confdefs.h. */
14782 #include <$ac_header>
14783 _ACEOF
14784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14785 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14786 ac_status=$?
14787 grep -v '^ *+' conftest.er1 >conftest.err
14788 rm -f conftest.er1
14789 cat conftest.err >&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); } >/dev/null; then
14792 if test -s conftest.err; then
14793 ac_cpp_err=$ac_c_preproc_warn_flag
14794 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14795 else
14796 ac_cpp_err=
14797 fi
14798 else
14799 ac_cpp_err=yes
14800 fi
14801 if test -z "$ac_cpp_err"; then
14802 ac_header_preproc=yes
14803 else
14804 echo "$as_me: failed program was:" >&5
14805 sed 's/^/| /' conftest.$ac_ext >&5
14806
14807 ac_header_preproc=no
14808 fi
14809 rm -f conftest.err conftest.$ac_ext
14810 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14811 echo "${ECHO_T}$ac_header_preproc" >&6
14812
14813 # So? What about this header?
14814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14815 yes:no: )
14816 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14817 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14819 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14820 ac_header_preproc=yes
14821 ;;
14822 no:yes:* )
14823 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14824 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14825 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14826 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14827 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14828 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14829 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14830 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14832 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14833 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14834 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14835 (
14836 cat <<\_ASBOX
14837 ## ----------------------------------------- ##
14838 ## Report this to wx-dev@lists.wxwidgets.org ##
14839 ## ----------------------------------------- ##
14840 _ASBOX
14841 ) |
14842 sed "s/^/$as_me: WARNING: /" >&2
14843 ;;
14844 esac
14845 echo "$as_me:$LINENO: checking for $ac_header" >&5
14846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14848 echo $ECHO_N "(cached) $ECHO_C" >&6
14849 else
14850 eval "$as_ac_Header=\$ac_header_preproc"
14851 fi
14852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14854
14855 fi
14856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14857 cat >>confdefs.h <<_ACEOF
14858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14859 _ACEOF
14860
14861 fi
14862
14863 done
14864
14865 fi
14866
14867
14868 for ac_header in fnmatch.h
14869 do
14870 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14872 echo "$as_me:$LINENO: checking for $ac_header" >&5
14873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14875 echo $ECHO_N "(cached) $ECHO_C" >&6
14876 fi
14877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14879 else
14880 # Is the header compilable?
14881 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14882 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14883 cat >conftest.$ac_ext <<_ACEOF
14884 /* confdefs.h. */
14885 _ACEOF
14886 cat confdefs.h >>conftest.$ac_ext
14887 cat >>conftest.$ac_ext <<_ACEOF
14888 /* end confdefs.h. */
14889 $ac_includes_default
14890 #include <$ac_header>
14891 _ACEOF
14892 rm -f conftest.$ac_objext
14893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14894 (eval $ac_compile) 2>conftest.er1
14895 ac_status=$?
14896 grep -v '^ *+' conftest.er1 >conftest.err
14897 rm -f conftest.er1
14898 cat conftest.err >&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); } &&
14901 { ac_try='test -z "$ac_c_werror_flag"
14902 || test ! -s conftest.err'
14903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14904 (eval $ac_try) 2>&5
14905 ac_status=$?
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; } &&
14908 { ac_try='test -s conftest.$ac_objext'
14909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14910 (eval $ac_try) 2>&5
14911 ac_status=$?
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); }; }; then
14914 ac_header_compiler=yes
14915 else
14916 echo "$as_me: failed program was:" >&5
14917 sed 's/^/| /' conftest.$ac_ext >&5
14918
14919 ac_header_compiler=no
14920 fi
14921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14923 echo "${ECHO_T}$ac_header_compiler" >&6
14924
14925 # Is the header present?
14926 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14927 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14928 cat >conftest.$ac_ext <<_ACEOF
14929 /* confdefs.h. */
14930 _ACEOF
14931 cat confdefs.h >>conftest.$ac_ext
14932 cat >>conftest.$ac_ext <<_ACEOF
14933 /* end confdefs.h. */
14934 #include <$ac_header>
14935 _ACEOF
14936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14938 ac_status=$?
14939 grep -v '^ *+' conftest.er1 >conftest.err
14940 rm -f conftest.er1
14941 cat conftest.err >&5
14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943 (exit $ac_status); } >/dev/null; then
14944 if test -s conftest.err; then
14945 ac_cpp_err=$ac_c_preproc_warn_flag
14946 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14947 else
14948 ac_cpp_err=
14949 fi
14950 else
14951 ac_cpp_err=yes
14952 fi
14953 if test -z "$ac_cpp_err"; then
14954 ac_header_preproc=yes
14955 else
14956 echo "$as_me: failed program was:" >&5
14957 sed 's/^/| /' conftest.$ac_ext >&5
14958
14959 ac_header_preproc=no
14960 fi
14961 rm -f conftest.err conftest.$ac_ext
14962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14963 echo "${ECHO_T}$ac_header_preproc" >&6
14964
14965 # So? What about this header?
14966 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14967 yes:no: )
14968 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14969 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14971 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14972 ac_header_preproc=yes
14973 ;;
14974 no:yes:* )
14975 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14976 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14977 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14978 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14979 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14980 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14981 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14982 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14984 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14985 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14986 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14987 (
14988 cat <<\_ASBOX
14989 ## ----------------------------------------- ##
14990 ## Report this to wx-dev@lists.wxwidgets.org ##
14991 ## ----------------------------------------- ##
14992 _ASBOX
14993 ) |
14994 sed "s/^/$as_me: WARNING: /" >&2
14995 ;;
14996 esac
14997 echo "$as_me:$LINENO: checking for $ac_header" >&5
14998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15000 echo $ECHO_N "(cached) $ECHO_C" >&6
15001 else
15002 eval "$as_ac_Header=\$ac_header_preproc"
15003 fi
15004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15006
15007 fi
15008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15009 cat >>confdefs.h <<_ACEOF
15010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15011 _ACEOF
15012
15013 fi
15014
15015 done
15016
15017
15018 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
15019
15020 for ac_func in fnmatch
15021 do
15022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15023 echo "$as_me:$LINENO: checking for $ac_func" >&5
15024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15025 if eval "test \"\${$as_ac_var+set}\" = set"; then
15026 echo $ECHO_N "(cached) $ECHO_C" >&6
15027 else
15028 cat >conftest.$ac_ext <<_ACEOF
15029 /* confdefs.h. */
15030 _ACEOF
15031 cat confdefs.h >>conftest.$ac_ext
15032 cat >>conftest.$ac_ext <<_ACEOF
15033 /* end confdefs.h. */
15034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15036 #define $ac_func innocuous_$ac_func
15037
15038 /* System header to define __stub macros and hopefully few prototypes,
15039 which can conflict with char $ac_func (); below.
15040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15041 <limits.h> exists even on freestanding compilers. */
15042
15043 #ifdef __STDC__
15044 # include <limits.h>
15045 #else
15046 # include <assert.h>
15047 #endif
15048
15049 #undef $ac_func
15050
15051 /* Override any gcc2 internal prototype to avoid an error. */
15052 #ifdef __cplusplus
15053 extern "C"
15054 {
15055 #endif
15056 /* We use char because int might match the return type of a gcc2
15057 builtin and then its argument prototype would still apply. */
15058 char $ac_func ();
15059 /* The GNU C library defines this for functions which it implements
15060 to always fail with ENOSYS. Some functions are actually named
15061 something starting with __ and the normal name is an alias. */
15062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15063 choke me
15064 #else
15065 char (*f) () = $ac_func;
15066 #endif
15067 #ifdef __cplusplus
15068 }
15069 #endif
15070
15071 int
15072 main ()
15073 {
15074 return f != $ac_func;
15075 ;
15076 return 0;
15077 }
15078 _ACEOF
15079 rm -f conftest.$ac_objext conftest$ac_exeext
15080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15081 (eval $ac_link) 2>conftest.er1
15082 ac_status=$?
15083 grep -v '^ *+' conftest.er1 >conftest.err
15084 rm -f conftest.er1
15085 cat conftest.err >&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); } &&
15088 { ac_try='test -z "$ac_c_werror_flag"
15089 || test ! -s conftest.err'
15090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15091 (eval $ac_try) 2>&5
15092 ac_status=$?
15093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15094 (exit $ac_status); }; } &&
15095 { ac_try='test -s conftest$ac_exeext'
15096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15097 (eval $ac_try) 2>&5
15098 ac_status=$?
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); }; }; then
15101 eval "$as_ac_var=yes"
15102 else
15103 echo "$as_me: failed program was:" >&5
15104 sed 's/^/| /' conftest.$ac_ext >&5
15105
15106 eval "$as_ac_var=no"
15107 fi
15108 rm -f conftest.err conftest.$ac_objext \
15109 conftest$ac_exeext conftest.$ac_ext
15110 fi
15111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15113 if test `eval echo '${'$as_ac_var'}'` = yes; then
15114 cat >>confdefs.h <<_ACEOF
15115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15116 _ACEOF
15117
15118 fi
15119 done
15120
15121 fi
15122
15123
15124 for ac_header in langinfo.h
15125 do
15126 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15128 echo "$as_me:$LINENO: checking for $ac_header" >&5
15129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15131 echo $ECHO_N "(cached) $ECHO_C" >&6
15132 fi
15133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15135 else
15136 # Is the header compilable?
15137 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15138 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15139 cat >conftest.$ac_ext <<_ACEOF
15140 /* confdefs.h. */
15141 _ACEOF
15142 cat confdefs.h >>conftest.$ac_ext
15143 cat >>conftest.$ac_ext <<_ACEOF
15144 /* end confdefs.h. */
15145 $ac_includes_default
15146 #include <$ac_header>
15147 _ACEOF
15148 rm -f conftest.$ac_objext
15149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15150 (eval $ac_compile) 2>conftest.er1
15151 ac_status=$?
15152 grep -v '^ *+' conftest.er1 >conftest.err
15153 rm -f conftest.er1
15154 cat conftest.err >&5
15155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); } &&
15157 { ac_try='test -z "$ac_c_werror_flag"
15158 || test ! -s conftest.err'
15159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15160 (eval $ac_try) 2>&5
15161 ac_status=$?
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); }; } &&
15164 { ac_try='test -s conftest.$ac_objext'
15165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15166 (eval $ac_try) 2>&5
15167 ac_status=$?
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); }; }; then
15170 ac_header_compiler=yes
15171 else
15172 echo "$as_me: failed program was:" >&5
15173 sed 's/^/| /' conftest.$ac_ext >&5
15174
15175 ac_header_compiler=no
15176 fi
15177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15178 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15179 echo "${ECHO_T}$ac_header_compiler" >&6
15180
15181 # Is the header present?
15182 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15183 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15184 cat >conftest.$ac_ext <<_ACEOF
15185 /* confdefs.h. */
15186 _ACEOF
15187 cat confdefs.h >>conftest.$ac_ext
15188 cat >>conftest.$ac_ext <<_ACEOF
15189 /* end confdefs.h. */
15190 #include <$ac_header>
15191 _ACEOF
15192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15193 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15194 ac_status=$?
15195 grep -v '^ *+' conftest.er1 >conftest.err
15196 rm -f conftest.er1
15197 cat conftest.err >&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); } >/dev/null; then
15200 if test -s conftest.err; then
15201 ac_cpp_err=$ac_c_preproc_warn_flag
15202 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15203 else
15204 ac_cpp_err=
15205 fi
15206 else
15207 ac_cpp_err=yes
15208 fi
15209 if test -z "$ac_cpp_err"; then
15210 ac_header_preproc=yes
15211 else
15212 echo "$as_me: failed program was:" >&5
15213 sed 's/^/| /' conftest.$ac_ext >&5
15214
15215 ac_header_preproc=no
15216 fi
15217 rm -f conftest.err conftest.$ac_ext
15218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15219 echo "${ECHO_T}$ac_header_preproc" >&6
15220
15221 # So? What about this header?
15222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15223 yes:no: )
15224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15227 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15228 ac_header_preproc=yes
15229 ;;
15230 no:yes:* )
15231 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15232 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15233 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15234 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15235 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15236 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15237 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15238 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15241 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15242 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15243 (
15244 cat <<\_ASBOX
15245 ## ----------------------------------------- ##
15246 ## Report this to wx-dev@lists.wxwidgets.org ##
15247 ## ----------------------------------------- ##
15248 _ASBOX
15249 ) |
15250 sed "s/^/$as_me: WARNING: /" >&2
15251 ;;
15252 esac
15253 echo "$as_me:$LINENO: checking for $ac_header" >&5
15254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15256 echo $ECHO_N "(cached) $ECHO_C" >&6
15257 else
15258 eval "$as_ac_Header=\$ac_header_preproc"
15259 fi
15260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15262
15263 fi
15264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15265 cat >>confdefs.h <<_ACEOF
15266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15267 _ACEOF
15268
15269 fi
15270
15271 done
15272
15273
15274 case "${host}" in
15275 *-pc-os2_emx | *-pc-os2-emx )
15276 if test $ac_cv_header_langinfo_h = "yes" \
15277 -a \( "$wx_cv_gccversion" = "EMX2" \
15278 -o "$wx_cv_gccversion" = "EMX3" \
15279 -o "$wx_cv_gccversion" = "Innotek5" \); then
15280 LIBS="$LIBS -lintl"
15281 fi
15282 ;;
15283 esac
15284
15285 if test "$wxUSE_GUI" = "yes"; then
15286 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15287
15288 for ac_header in X11/Xlib.h
15289 do
15290 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15292 echo "$as_me:$LINENO: checking for $ac_header" >&5
15293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15295 echo $ECHO_N "(cached) $ECHO_C" >&6
15296 fi
15297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15299 else
15300 # Is the header compilable?
15301 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15302 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15303 cat >conftest.$ac_ext <<_ACEOF
15304 /* confdefs.h. */
15305 _ACEOF
15306 cat confdefs.h >>conftest.$ac_ext
15307 cat >>conftest.$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15309 $ac_includes_default
15310 #include <$ac_header>
15311 _ACEOF
15312 rm -f conftest.$ac_objext
15313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15314 (eval $ac_compile) 2>conftest.er1
15315 ac_status=$?
15316 grep -v '^ *+' conftest.er1 >conftest.err
15317 rm -f conftest.er1
15318 cat conftest.err >&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); } &&
15321 { ac_try='test -z "$ac_c_werror_flag"
15322 || test ! -s conftest.err'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15325 ac_status=$?
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; } &&
15328 { ac_try='test -s conftest.$ac_objext'
15329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330 (eval $ac_try) 2>&5
15331 ac_status=$?
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }; }; then
15334 ac_header_compiler=yes
15335 else
15336 echo "$as_me: failed program was:" >&5
15337 sed 's/^/| /' conftest.$ac_ext >&5
15338
15339 ac_header_compiler=no
15340 fi
15341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15342 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15343 echo "${ECHO_T}$ac_header_compiler" >&6
15344
15345 # Is the header present?
15346 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15347 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15348 cat >conftest.$ac_ext <<_ACEOF
15349 /* confdefs.h. */
15350 _ACEOF
15351 cat confdefs.h >>conftest.$ac_ext
15352 cat >>conftest.$ac_ext <<_ACEOF
15353 /* end confdefs.h. */
15354 #include <$ac_header>
15355 _ACEOF
15356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15357 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15358 ac_status=$?
15359 grep -v '^ *+' conftest.er1 >conftest.err
15360 rm -f conftest.er1
15361 cat conftest.err >&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); } >/dev/null; then
15364 if test -s conftest.err; then
15365 ac_cpp_err=$ac_c_preproc_warn_flag
15366 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15367 else
15368 ac_cpp_err=
15369 fi
15370 else
15371 ac_cpp_err=yes
15372 fi
15373 if test -z "$ac_cpp_err"; then
15374 ac_header_preproc=yes
15375 else
15376 echo "$as_me: failed program was:" >&5
15377 sed 's/^/| /' conftest.$ac_ext >&5
15378
15379 ac_header_preproc=no
15380 fi
15381 rm -f conftest.err conftest.$ac_ext
15382 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15383 echo "${ECHO_T}$ac_header_preproc" >&6
15384
15385 # So? What about this header?
15386 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15387 yes:no: )
15388 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15389 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15391 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15392 ac_header_preproc=yes
15393 ;;
15394 no:yes:* )
15395 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15396 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15397 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15398 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15399 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15400 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15401 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15402 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15404 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15405 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15406 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15407 (
15408 cat <<\_ASBOX
15409 ## ----------------------------------------- ##
15410 ## Report this to wx-dev@lists.wxwidgets.org ##
15411 ## ----------------------------------------- ##
15412 _ASBOX
15413 ) |
15414 sed "s/^/$as_me: WARNING: /" >&2
15415 ;;
15416 esac
15417 echo "$as_me:$LINENO: checking for $ac_header" >&5
15418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15420 echo $ECHO_N "(cached) $ECHO_C" >&6
15421 else
15422 eval "$as_ac_Header=\$ac_header_preproc"
15423 fi
15424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15426
15427 fi
15428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15429 cat >>confdefs.h <<_ACEOF
15430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15431 _ACEOF
15432
15433 fi
15434
15435 done
15436
15437
15438 for ac_header in X11/XKBlib.h
15439 do
15440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15441 echo "$as_me:$LINENO: checking for $ac_header" >&5
15442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15444 echo $ECHO_N "(cached) $ECHO_C" >&6
15445 else
15446 cat >conftest.$ac_ext <<_ACEOF
15447 /* confdefs.h. */
15448 _ACEOF
15449 cat confdefs.h >>conftest.$ac_ext
15450 cat >>conftest.$ac_ext <<_ACEOF
15451 /* end confdefs.h. */
15452
15453 #if HAVE_X11_XLIB_H
15454 #include <X11/Xlib.h>
15455 #endif
15456
15457
15458 #include <$ac_header>
15459 _ACEOF
15460 rm -f conftest.$ac_objext
15461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15462 (eval $ac_compile) 2>conftest.er1
15463 ac_status=$?
15464 grep -v '^ *+' conftest.er1 >conftest.err
15465 rm -f conftest.er1
15466 cat conftest.err >&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); } &&
15469 { ac_try='test -z "$ac_c_werror_flag"
15470 || test ! -s conftest.err'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15473 ac_status=$?
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; } &&
15476 { ac_try='test -s conftest.$ac_objext'
15477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15478 (eval $ac_try) 2>&5
15479 ac_status=$?
15480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15481 (exit $ac_status); }; }; then
15482 eval "$as_ac_Header=yes"
15483 else
15484 echo "$as_me: failed program was:" >&5
15485 sed 's/^/| /' conftest.$ac_ext >&5
15486
15487 eval "$as_ac_Header=no"
15488 fi
15489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15490 fi
15491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15494 cat >>confdefs.h <<_ACEOF
15495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15496 _ACEOF
15497
15498 fi
15499
15500 done
15501
15502 fi
15503 fi
15504
15505
15506 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15507 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15508 if test "${ac_cv_c_const+set}" = set; then
15509 echo $ECHO_N "(cached) $ECHO_C" >&6
15510 else
15511 cat >conftest.$ac_ext <<_ACEOF
15512 /* confdefs.h. */
15513 _ACEOF
15514 cat confdefs.h >>conftest.$ac_ext
15515 cat >>conftest.$ac_ext <<_ACEOF
15516 /* end confdefs.h. */
15517
15518 int
15519 main ()
15520 {
15521 /* FIXME: Include the comments suggested by Paul. */
15522 #ifndef __cplusplus
15523 /* Ultrix mips cc rejects this. */
15524 typedef int charset[2];
15525 const charset x;
15526 /* SunOS 4.1.1 cc rejects this. */
15527 char const *const *ccp;
15528 char **p;
15529 /* NEC SVR4.0.2 mips cc rejects this. */
15530 struct point {int x, y;};
15531 static struct point const zero = {0,0};
15532 /* AIX XL C 1.02.0.0 rejects this.
15533 It does not let you subtract one const X* pointer from another in
15534 an arm of an if-expression whose if-part is not a constant
15535 expression */
15536 const char *g = "string";
15537 ccp = &g + (g ? g-g : 0);
15538 /* HPUX 7.0 cc rejects these. */
15539 ++ccp;
15540 p = (char**) ccp;
15541 ccp = (char const *const *) p;
15542 { /* SCO 3.2v4 cc rejects this. */
15543 char *t;
15544 char const *s = 0 ? (char *) 0 : (char const *) 0;
15545
15546 *t++ = 0;
15547 }
15548 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15549 int x[] = {25, 17};
15550 const int *foo = &x[0];
15551 ++foo;
15552 }
15553 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15554 typedef const int *iptr;
15555 iptr p = 0;
15556 ++p;
15557 }
15558 { /* AIX XL C 1.02.0.0 rejects this saying
15559 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15560 struct s { int j; const int *ap[3]; };
15561 struct s *b; b->j = 5;
15562 }
15563 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15564 const int foo = 10;
15565 }
15566 #endif
15567
15568 ;
15569 return 0;
15570 }
15571 _ACEOF
15572 rm -f conftest.$ac_objext
15573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15574 (eval $ac_compile) 2>conftest.er1
15575 ac_status=$?
15576 grep -v '^ *+' conftest.er1 >conftest.err
15577 rm -f conftest.er1
15578 cat conftest.err >&5
15579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580 (exit $ac_status); } &&
15581 { ac_try='test -z "$ac_c_werror_flag"
15582 || test ! -s conftest.err'
15583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15584 (eval $ac_try) 2>&5
15585 ac_status=$?
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); }; } &&
15588 { ac_try='test -s conftest.$ac_objext'
15589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15590 (eval $ac_try) 2>&5
15591 ac_status=$?
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; }; then
15594 ac_cv_c_const=yes
15595 else
15596 echo "$as_me: failed program was:" >&5
15597 sed 's/^/| /' conftest.$ac_ext >&5
15598
15599 ac_cv_c_const=no
15600 fi
15601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15602 fi
15603 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15604 echo "${ECHO_T}$ac_cv_c_const" >&6
15605 if test $ac_cv_c_const = no; then
15606
15607 cat >>confdefs.h <<\_ACEOF
15608 #define const
15609 _ACEOF
15610
15611 fi
15612
15613 echo "$as_me:$LINENO: checking for inline" >&5
15614 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15615 if test "${ac_cv_c_inline+set}" = set; then
15616 echo $ECHO_N "(cached) $ECHO_C" >&6
15617 else
15618 ac_cv_c_inline=no
15619 for ac_kw in inline __inline__ __inline; do
15620 cat >conftest.$ac_ext <<_ACEOF
15621 /* confdefs.h. */
15622 _ACEOF
15623 cat confdefs.h >>conftest.$ac_ext
15624 cat >>conftest.$ac_ext <<_ACEOF
15625 /* end confdefs.h. */
15626 #ifndef __cplusplus
15627 typedef int foo_t;
15628 static $ac_kw foo_t static_foo () {return 0; }
15629 $ac_kw foo_t foo () {return 0; }
15630 #endif
15631
15632 _ACEOF
15633 rm -f conftest.$ac_objext
15634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15635 (eval $ac_compile) 2>conftest.er1
15636 ac_status=$?
15637 grep -v '^ *+' conftest.er1 >conftest.err
15638 rm -f conftest.er1
15639 cat conftest.err >&5
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); } &&
15642 { ac_try='test -z "$ac_c_werror_flag"
15643 || test ! -s conftest.err'
15644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15645 (eval $ac_try) 2>&5
15646 ac_status=$?
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); }; } &&
15649 { ac_try='test -s conftest.$ac_objext'
15650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15651 (eval $ac_try) 2>&5
15652 ac_status=$?
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); }; }; then
15655 ac_cv_c_inline=$ac_kw; break
15656 else
15657 echo "$as_me: failed program was:" >&5
15658 sed 's/^/| /' conftest.$ac_ext >&5
15659
15660 fi
15661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15662 done
15663
15664 fi
15665 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15666 echo "${ECHO_T}$ac_cv_c_inline" >&6
15667
15668
15669 case $ac_cv_c_inline in
15670 inline | yes) ;;
15671 *)
15672 case $ac_cv_c_inline in
15673 no) ac_val=;;
15674 *) ac_val=$ac_cv_c_inline;;
15675 esac
15676 cat >>confdefs.h <<_ACEOF
15677 #ifndef __cplusplus
15678 #define inline $ac_val
15679 #endif
15680 _ACEOF
15681 ;;
15682 esac
15683
15684
15685 echo "$as_me:$LINENO: checking for char" >&5
15686 echo $ECHO_N "checking for char... $ECHO_C" >&6
15687 if test "${ac_cv_type_char+set}" = set; then
15688 echo $ECHO_N "(cached) $ECHO_C" >&6
15689 else
15690 cat >conftest.$ac_ext <<_ACEOF
15691 /* confdefs.h. */
15692 _ACEOF
15693 cat confdefs.h >>conftest.$ac_ext
15694 cat >>conftest.$ac_ext <<_ACEOF
15695 /* end confdefs.h. */
15696 $ac_includes_default
15697 int
15698 main ()
15699 {
15700 if ((char *) 0)
15701 return 0;
15702 if (sizeof (char))
15703 return 0;
15704 ;
15705 return 0;
15706 }
15707 _ACEOF
15708 rm -f conftest.$ac_objext
15709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15710 (eval $ac_compile) 2>conftest.er1
15711 ac_status=$?
15712 grep -v '^ *+' conftest.er1 >conftest.err
15713 rm -f conftest.er1
15714 cat conftest.err >&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); } &&
15717 { ac_try='test -z "$ac_c_werror_flag"
15718 || test ! -s conftest.err'
15719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15720 (eval $ac_try) 2>&5
15721 ac_status=$?
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); }; } &&
15724 { ac_try='test -s conftest.$ac_objext'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15727 ac_status=$?
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; }; then
15730 ac_cv_type_char=yes
15731 else
15732 echo "$as_me: failed program was:" >&5
15733 sed 's/^/| /' conftest.$ac_ext >&5
15734
15735 ac_cv_type_char=no
15736 fi
15737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15738 fi
15739 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15740 echo "${ECHO_T}$ac_cv_type_char" >&6
15741
15742 echo "$as_me:$LINENO: checking size of char" >&5
15743 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15744 if test "${ac_cv_sizeof_char+set}" = set; then
15745 echo $ECHO_N "(cached) $ECHO_C" >&6
15746 else
15747 if test "$ac_cv_type_char" = yes; then
15748 # The cast to unsigned long works around a bug in the HP C Compiler
15749 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15750 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15751 # This bug is HP SR number 8606223364.
15752 if test "$cross_compiling" = yes; then
15753 # Depending upon the size, compute the lo and hi bounds.
15754 cat >conftest.$ac_ext <<_ACEOF
15755 /* confdefs.h. */
15756 _ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760 $ac_includes_default
15761 int
15762 main ()
15763 {
15764 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15765 test_array [0] = 0
15766
15767 ;
15768 return 0;
15769 }
15770 _ACEOF
15771 rm -f conftest.$ac_objext
15772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15773 (eval $ac_compile) 2>conftest.er1
15774 ac_status=$?
15775 grep -v '^ *+' conftest.er1 >conftest.err
15776 rm -f conftest.er1
15777 cat conftest.err >&5
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); } &&
15780 { ac_try='test -z "$ac_c_werror_flag"
15781 || test ! -s conftest.err'
15782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15783 (eval $ac_try) 2>&5
15784 ac_status=$?
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); }; } &&
15787 { ac_try='test -s conftest.$ac_objext'
15788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15789 (eval $ac_try) 2>&5
15790 ac_status=$?
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; }; then
15793 ac_lo=0 ac_mid=0
15794 while :; do
15795 cat >conftest.$ac_ext <<_ACEOF
15796 /* confdefs.h. */
15797 _ACEOF
15798 cat confdefs.h >>conftest.$ac_ext
15799 cat >>conftest.$ac_ext <<_ACEOF
15800 /* end confdefs.h. */
15801 $ac_includes_default
15802 int
15803 main ()
15804 {
15805 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15806 test_array [0] = 0
15807
15808 ;
15809 return 0;
15810 }
15811 _ACEOF
15812 rm -f conftest.$ac_objext
15813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15814 (eval $ac_compile) 2>conftest.er1
15815 ac_status=$?
15816 grep -v '^ *+' conftest.er1 >conftest.err
15817 rm -f conftest.er1
15818 cat conftest.err >&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } &&
15821 { ac_try='test -z "$ac_c_werror_flag"
15822 || test ! -s conftest.err'
15823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15824 (eval $ac_try) 2>&5
15825 ac_status=$?
15826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); }; } &&
15828 { ac_try='test -s conftest.$ac_objext'
15829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5
15831 ac_status=$?
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; }; then
15834 ac_hi=$ac_mid; break
15835 else
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.$ac_ext >&5
15838
15839 ac_lo=`expr $ac_mid + 1`
15840 if test $ac_lo -le $ac_mid; then
15841 ac_lo= ac_hi=
15842 break
15843 fi
15844 ac_mid=`expr 2 '*' $ac_mid + 1`
15845 fi
15846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15847 done
15848 else
15849 echo "$as_me: failed program was:" >&5
15850 sed 's/^/| /' conftest.$ac_ext >&5
15851
15852 cat >conftest.$ac_ext <<_ACEOF
15853 /* confdefs.h. */
15854 _ACEOF
15855 cat confdefs.h >>conftest.$ac_ext
15856 cat >>conftest.$ac_ext <<_ACEOF
15857 /* end confdefs.h. */
15858 $ac_includes_default
15859 int
15860 main ()
15861 {
15862 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15863 test_array [0] = 0
15864
15865 ;
15866 return 0;
15867 }
15868 _ACEOF
15869 rm -f conftest.$ac_objext
15870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15871 (eval $ac_compile) 2>conftest.er1
15872 ac_status=$?
15873 grep -v '^ *+' conftest.er1 >conftest.err
15874 rm -f conftest.er1
15875 cat conftest.err >&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); } &&
15878 { ac_try='test -z "$ac_c_werror_flag"
15879 || test ! -s conftest.err'
15880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15881 (eval $ac_try) 2>&5
15882 ac_status=$?
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); }; } &&
15885 { ac_try='test -s conftest.$ac_objext'
15886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887 (eval $ac_try) 2>&5
15888 ac_status=$?
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); }; }; then
15891 ac_hi=-1 ac_mid=-1
15892 while :; do
15893 cat >conftest.$ac_ext <<_ACEOF
15894 /* confdefs.h. */
15895 _ACEOF
15896 cat confdefs.h >>conftest.$ac_ext
15897 cat >>conftest.$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15899 $ac_includes_default
15900 int
15901 main ()
15902 {
15903 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15904 test_array [0] = 0
15905
15906 ;
15907 return 0;
15908 }
15909 _ACEOF
15910 rm -f conftest.$ac_objext
15911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15912 (eval $ac_compile) 2>conftest.er1
15913 ac_status=$?
15914 grep -v '^ *+' conftest.er1 >conftest.err
15915 rm -f conftest.er1
15916 cat conftest.err >&5
15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918 (exit $ac_status); } &&
15919 { ac_try='test -z "$ac_c_werror_flag"
15920 || test ! -s conftest.err'
15921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15922 (eval $ac_try) 2>&5
15923 ac_status=$?
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); }; } &&
15926 { ac_try='test -s conftest.$ac_objext'
15927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15928 (eval $ac_try) 2>&5
15929 ac_status=$?
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); }; }; then
15932 ac_lo=$ac_mid; break
15933 else
15934 echo "$as_me: failed program was:" >&5
15935 sed 's/^/| /' conftest.$ac_ext >&5
15936
15937 ac_hi=`expr '(' $ac_mid ')' - 1`
15938 if test $ac_mid -le $ac_hi; then
15939 ac_lo= ac_hi=
15940 break
15941 fi
15942 ac_mid=`expr 2 '*' $ac_mid`
15943 fi
15944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15945 done
15946 else
15947 echo "$as_me: failed program was:" >&5
15948 sed 's/^/| /' conftest.$ac_ext >&5
15949
15950 ac_lo= ac_hi=
15951 fi
15952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15953 fi
15954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15955 # Binary search between lo and hi bounds.
15956 while test "x$ac_lo" != "x$ac_hi"; do
15957 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15958 cat >conftest.$ac_ext <<_ACEOF
15959 /* confdefs.h. */
15960 _ACEOF
15961 cat confdefs.h >>conftest.$ac_ext
15962 cat >>conftest.$ac_ext <<_ACEOF
15963 /* end confdefs.h. */
15964 $ac_includes_default
15965 int
15966 main ()
15967 {
15968 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15969 test_array [0] = 0
15970
15971 ;
15972 return 0;
15973 }
15974 _ACEOF
15975 rm -f conftest.$ac_objext
15976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15977 (eval $ac_compile) 2>conftest.er1
15978 ac_status=$?
15979 grep -v '^ *+' conftest.er1 >conftest.err
15980 rm -f conftest.er1
15981 cat conftest.err >&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try='test -z "$ac_c_werror_flag"
15985 || test ! -s conftest.err'
15986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15987 (eval $ac_try) 2>&5
15988 ac_status=$?
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); }; } &&
15991 { ac_try='test -s conftest.$ac_objext'
15992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15993 (eval $ac_try) 2>&5
15994 ac_status=$?
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); }; }; then
15997 ac_hi=$ac_mid
15998 else
15999 echo "$as_me: failed program was:" >&5
16000 sed 's/^/| /' conftest.$ac_ext >&5
16001
16002 ac_lo=`expr '(' $ac_mid ')' + 1`
16003 fi
16004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16005 done
16006 case $ac_lo in
16007 ?*) ac_cv_sizeof_char=$ac_lo;;
16008 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16009 See \`config.log' for more details." >&5
16010 echo "$as_me: error: cannot compute sizeof (char), 77
16011 See \`config.log' for more details." >&2;}
16012 { (exit 1); exit 1; }; } ;;
16013 esac
16014 else
16015 if test "$cross_compiling" = yes; then
16016 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16017 See \`config.log' for more details." >&5
16018 echo "$as_me: error: cannot run test program while cross compiling
16019 See \`config.log' for more details." >&2;}
16020 { (exit 1); exit 1; }; }
16021 else
16022 cat >conftest.$ac_ext <<_ACEOF
16023 /* confdefs.h. */
16024 _ACEOF
16025 cat confdefs.h >>conftest.$ac_ext
16026 cat >>conftest.$ac_ext <<_ACEOF
16027 /* end confdefs.h. */
16028 $ac_includes_default
16029 long longval () { return (long) (sizeof (char)); }
16030 unsigned long ulongval () { return (long) (sizeof (char)); }
16031 #include <stdio.h>
16032 #include <stdlib.h>
16033 int
16034 main ()
16035 {
16036
16037 FILE *f = fopen ("conftest.val", "w");
16038 if (! f)
16039 exit (1);
16040 if (((long) (sizeof (char))) < 0)
16041 {
16042 long i = longval ();
16043 if (i != ((long) (sizeof (char))))
16044 exit (1);
16045 fprintf (f, "%ld\n", i);
16046 }
16047 else
16048 {
16049 unsigned long i = ulongval ();
16050 if (i != ((long) (sizeof (char))))
16051 exit (1);
16052 fprintf (f, "%lu\n", i);
16053 }
16054 exit (ferror (f) || fclose (f) != 0);
16055
16056 ;
16057 return 0;
16058 }
16059 _ACEOF
16060 rm -f conftest$ac_exeext
16061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16062 (eval $ac_link) 2>&5
16063 ac_status=$?
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16067 (eval $ac_try) 2>&5
16068 ac_status=$?
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); }; }; then
16071 ac_cv_sizeof_char=`cat conftest.val`
16072 else
16073 echo "$as_me: program exited with status $ac_status" >&5
16074 echo "$as_me: failed program was:" >&5
16075 sed 's/^/| /' conftest.$ac_ext >&5
16076
16077 ( exit $ac_status )
16078 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16079 See \`config.log' for more details." >&5
16080 echo "$as_me: error: cannot compute sizeof (char), 77
16081 See \`config.log' for more details." >&2;}
16082 { (exit 1); exit 1; }; }
16083 fi
16084 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16085 fi
16086 fi
16087 rm -f conftest.val
16088 else
16089 ac_cv_sizeof_char=0
16090 fi
16091 fi
16092 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16093 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16094 cat >>confdefs.h <<_ACEOF
16095 #define SIZEOF_CHAR $ac_cv_sizeof_char
16096 _ACEOF
16097
16098
16099 echo "$as_me:$LINENO: checking for short" >&5
16100 echo $ECHO_N "checking for short... $ECHO_C" >&6
16101 if test "${ac_cv_type_short+set}" = set; then
16102 echo $ECHO_N "(cached) $ECHO_C" >&6
16103 else
16104 cat >conftest.$ac_ext <<_ACEOF
16105 /* confdefs.h. */
16106 _ACEOF
16107 cat confdefs.h >>conftest.$ac_ext
16108 cat >>conftest.$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16110 $ac_includes_default
16111 int
16112 main ()
16113 {
16114 if ((short *) 0)
16115 return 0;
16116 if (sizeof (short))
16117 return 0;
16118 ;
16119 return 0;
16120 }
16121 _ACEOF
16122 rm -f conftest.$ac_objext
16123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16124 (eval $ac_compile) 2>conftest.er1
16125 ac_status=$?
16126 grep -v '^ *+' conftest.er1 >conftest.err
16127 rm -f conftest.er1
16128 cat conftest.err >&5
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); } &&
16131 { ac_try='test -z "$ac_c_werror_flag"
16132 || test ! -s conftest.err'
16133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16134 (eval $ac_try) 2>&5
16135 ac_status=$?
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); }; } &&
16138 { ac_try='test -s conftest.$ac_objext'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16141 ac_status=$?
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; }; then
16144 ac_cv_type_short=yes
16145 else
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16148
16149 ac_cv_type_short=no
16150 fi
16151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16152 fi
16153 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16154 echo "${ECHO_T}$ac_cv_type_short" >&6
16155
16156 echo "$as_me:$LINENO: checking size of short" >&5
16157 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16158 if test "${ac_cv_sizeof_short+set}" = set; then
16159 echo $ECHO_N "(cached) $ECHO_C" >&6
16160 else
16161 if test "$ac_cv_type_short" = yes; then
16162 # The cast to unsigned long works around a bug in the HP C Compiler
16163 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16164 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16165 # This bug is HP SR number 8606223364.
16166 if test "$cross_compiling" = yes; then
16167 # Depending upon the size, compute the lo and hi bounds.
16168 cat >conftest.$ac_ext <<_ACEOF
16169 /* confdefs.h. */
16170 _ACEOF
16171 cat confdefs.h >>conftest.$ac_ext
16172 cat >>conftest.$ac_ext <<_ACEOF
16173 /* end confdefs.h. */
16174 $ac_includes_default
16175 int
16176 main ()
16177 {
16178 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16179 test_array [0] = 0
16180
16181 ;
16182 return 0;
16183 }
16184 _ACEOF
16185 rm -f conftest.$ac_objext
16186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16187 (eval $ac_compile) 2>conftest.er1
16188 ac_status=$?
16189 grep -v '^ *+' conftest.er1 >conftest.err
16190 rm -f conftest.er1
16191 cat conftest.err >&5
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); } &&
16194 { ac_try='test -z "$ac_c_werror_flag"
16195 || test ! -s conftest.err'
16196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16197 (eval $ac_try) 2>&5
16198 ac_status=$?
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); }; } &&
16201 { ac_try='test -s conftest.$ac_objext'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16204 ac_status=$?
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; }; then
16207 ac_lo=0 ac_mid=0
16208 while :; do
16209 cat >conftest.$ac_ext <<_ACEOF
16210 /* confdefs.h. */
16211 _ACEOF
16212 cat confdefs.h >>conftest.$ac_ext
16213 cat >>conftest.$ac_ext <<_ACEOF
16214 /* end confdefs.h. */
16215 $ac_includes_default
16216 int
16217 main ()
16218 {
16219 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16220 test_array [0] = 0
16221
16222 ;
16223 return 0;
16224 }
16225 _ACEOF
16226 rm -f conftest.$ac_objext
16227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16228 (eval $ac_compile) 2>conftest.er1
16229 ac_status=$?
16230 grep -v '^ *+' conftest.er1 >conftest.err
16231 rm -f conftest.er1
16232 cat conftest.err >&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); } &&
16235 { ac_try='test -z "$ac_c_werror_flag"
16236 || test ! -s conftest.err'
16237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16238 (eval $ac_try) 2>&5
16239 ac_status=$?
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); }; } &&
16242 { ac_try='test -s conftest.$ac_objext'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16245 ac_status=$?
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; }; then
16248 ac_hi=$ac_mid; break
16249 else
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.$ac_ext >&5
16252
16253 ac_lo=`expr $ac_mid + 1`
16254 if test $ac_lo -le $ac_mid; then
16255 ac_lo= ac_hi=
16256 break
16257 fi
16258 ac_mid=`expr 2 '*' $ac_mid + 1`
16259 fi
16260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16261 done
16262 else
16263 echo "$as_me: failed program was:" >&5
16264 sed 's/^/| /' conftest.$ac_ext >&5
16265
16266 cat >conftest.$ac_ext <<_ACEOF
16267 /* confdefs.h. */
16268 _ACEOF
16269 cat confdefs.h >>conftest.$ac_ext
16270 cat >>conftest.$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16272 $ac_includes_default
16273 int
16274 main ()
16275 {
16276 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16277 test_array [0] = 0
16278
16279 ;
16280 return 0;
16281 }
16282 _ACEOF
16283 rm -f conftest.$ac_objext
16284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16285 (eval $ac_compile) 2>conftest.er1
16286 ac_status=$?
16287 grep -v '^ *+' conftest.er1 >conftest.err
16288 rm -f conftest.er1
16289 cat conftest.err >&5
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); } &&
16292 { ac_try='test -z "$ac_c_werror_flag"
16293 || test ! -s conftest.err'
16294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16295 (eval $ac_try) 2>&5
16296 ac_status=$?
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); }; } &&
16299 { ac_try='test -s conftest.$ac_objext'
16300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16301 (eval $ac_try) 2>&5
16302 ac_status=$?
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); }; }; then
16305 ac_hi=-1 ac_mid=-1
16306 while :; do
16307 cat >conftest.$ac_ext <<_ACEOF
16308 /* confdefs.h. */
16309 _ACEOF
16310 cat confdefs.h >>conftest.$ac_ext
16311 cat >>conftest.$ac_ext <<_ACEOF
16312 /* end confdefs.h. */
16313 $ac_includes_default
16314 int
16315 main ()
16316 {
16317 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16318 test_array [0] = 0
16319
16320 ;
16321 return 0;
16322 }
16323 _ACEOF
16324 rm -f conftest.$ac_objext
16325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16326 (eval $ac_compile) 2>conftest.er1
16327 ac_status=$?
16328 grep -v '^ *+' conftest.er1 >conftest.err
16329 rm -f conftest.er1
16330 cat conftest.err >&5
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); } &&
16333 { ac_try='test -z "$ac_c_werror_flag"
16334 || test ! -s conftest.err'
16335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16336 (eval $ac_try) 2>&5
16337 ac_status=$?
16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); }; } &&
16340 { ac_try='test -s conftest.$ac_objext'
16341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16342 (eval $ac_try) 2>&5
16343 ac_status=$?
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); }; }; then
16346 ac_lo=$ac_mid; break
16347 else
16348 echo "$as_me: failed program was:" >&5
16349 sed 's/^/| /' conftest.$ac_ext >&5
16350
16351 ac_hi=`expr '(' $ac_mid ')' - 1`
16352 if test $ac_mid -le $ac_hi; then
16353 ac_lo= ac_hi=
16354 break
16355 fi
16356 ac_mid=`expr 2 '*' $ac_mid`
16357 fi
16358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16359 done
16360 else
16361 echo "$as_me: failed program was:" >&5
16362 sed 's/^/| /' conftest.$ac_ext >&5
16363
16364 ac_lo= ac_hi=
16365 fi
16366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16367 fi
16368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16369 # Binary search between lo and hi bounds.
16370 while test "x$ac_lo" != "x$ac_hi"; do
16371 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16372 cat >conftest.$ac_ext <<_ACEOF
16373 /* confdefs.h. */
16374 _ACEOF
16375 cat confdefs.h >>conftest.$ac_ext
16376 cat >>conftest.$ac_ext <<_ACEOF
16377 /* end confdefs.h. */
16378 $ac_includes_default
16379 int
16380 main ()
16381 {
16382 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16383 test_array [0] = 0
16384
16385 ;
16386 return 0;
16387 }
16388 _ACEOF
16389 rm -f conftest.$ac_objext
16390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16391 (eval $ac_compile) 2>conftest.er1
16392 ac_status=$?
16393 grep -v '^ *+' conftest.er1 >conftest.err
16394 rm -f conftest.er1
16395 cat conftest.err >&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); } &&
16398 { ac_try='test -z "$ac_c_werror_flag"
16399 || test ! -s conftest.err'
16400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16401 (eval $ac_try) 2>&5
16402 ac_status=$?
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); }; } &&
16405 { ac_try='test -s conftest.$ac_objext'
16406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16407 (eval $ac_try) 2>&5
16408 ac_status=$?
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); }; }; then
16411 ac_hi=$ac_mid
16412 else
16413 echo "$as_me: failed program was:" >&5
16414 sed 's/^/| /' conftest.$ac_ext >&5
16415
16416 ac_lo=`expr '(' $ac_mid ')' + 1`
16417 fi
16418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16419 done
16420 case $ac_lo in
16421 ?*) ac_cv_sizeof_short=$ac_lo;;
16422 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16423 See \`config.log' for more details." >&5
16424 echo "$as_me: error: cannot compute sizeof (short), 77
16425 See \`config.log' for more details." >&2;}
16426 { (exit 1); exit 1; }; } ;;
16427 esac
16428 else
16429 if test "$cross_compiling" = yes; then
16430 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16431 See \`config.log' for more details." >&5
16432 echo "$as_me: error: cannot run test program while cross compiling
16433 See \`config.log' for more details." >&2;}
16434 { (exit 1); exit 1; }; }
16435 else
16436 cat >conftest.$ac_ext <<_ACEOF
16437 /* confdefs.h. */
16438 _ACEOF
16439 cat confdefs.h >>conftest.$ac_ext
16440 cat >>conftest.$ac_ext <<_ACEOF
16441 /* end confdefs.h. */
16442 $ac_includes_default
16443 long longval () { return (long) (sizeof (short)); }
16444 unsigned long ulongval () { return (long) (sizeof (short)); }
16445 #include <stdio.h>
16446 #include <stdlib.h>
16447 int
16448 main ()
16449 {
16450
16451 FILE *f = fopen ("conftest.val", "w");
16452 if (! f)
16453 exit (1);
16454 if (((long) (sizeof (short))) < 0)
16455 {
16456 long i = longval ();
16457 if (i != ((long) (sizeof (short))))
16458 exit (1);
16459 fprintf (f, "%ld\n", i);
16460 }
16461 else
16462 {
16463 unsigned long i = ulongval ();
16464 if (i != ((long) (sizeof (short))))
16465 exit (1);
16466 fprintf (f, "%lu\n", i);
16467 }
16468 exit (ferror (f) || fclose (f) != 0);
16469
16470 ;
16471 return 0;
16472 }
16473 _ACEOF
16474 rm -f conftest$ac_exeext
16475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16476 (eval $ac_link) 2>&5
16477 ac_status=$?
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16481 (eval $ac_try) 2>&5
16482 ac_status=$?
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); }; }; then
16485 ac_cv_sizeof_short=`cat conftest.val`
16486 else
16487 echo "$as_me: program exited with status $ac_status" >&5
16488 echo "$as_me: failed program was:" >&5
16489 sed 's/^/| /' conftest.$ac_ext >&5
16490
16491 ( exit $ac_status )
16492 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16493 See \`config.log' for more details." >&5
16494 echo "$as_me: error: cannot compute sizeof (short), 77
16495 See \`config.log' for more details." >&2;}
16496 { (exit 1); exit 1; }; }
16497 fi
16498 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16499 fi
16500 fi
16501 rm -f conftest.val
16502 else
16503 ac_cv_sizeof_short=0
16504 fi
16505 fi
16506 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16507 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16508 cat >>confdefs.h <<_ACEOF
16509 #define SIZEOF_SHORT $ac_cv_sizeof_short
16510 _ACEOF
16511
16512
16513 echo "$as_me:$LINENO: checking for void *" >&5
16514 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16515 if test "${ac_cv_type_void_p+set}" = set; then
16516 echo $ECHO_N "(cached) $ECHO_C" >&6
16517 else
16518 cat >conftest.$ac_ext <<_ACEOF
16519 /* confdefs.h. */
16520 _ACEOF
16521 cat confdefs.h >>conftest.$ac_ext
16522 cat >>conftest.$ac_ext <<_ACEOF
16523 /* end confdefs.h. */
16524 $ac_includes_default
16525 int
16526 main ()
16527 {
16528 if ((void * *) 0)
16529 return 0;
16530 if (sizeof (void *))
16531 return 0;
16532 ;
16533 return 0;
16534 }
16535 _ACEOF
16536 rm -f conftest.$ac_objext
16537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16538 (eval $ac_compile) 2>conftest.er1
16539 ac_status=$?
16540 grep -v '^ *+' conftest.er1 >conftest.err
16541 rm -f conftest.er1
16542 cat conftest.err >&5
16543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544 (exit $ac_status); } &&
16545 { ac_try='test -z "$ac_c_werror_flag"
16546 || test ! -s conftest.err'
16547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16548 (eval $ac_try) 2>&5
16549 ac_status=$?
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); }; } &&
16552 { ac_try='test -s conftest.$ac_objext'
16553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16554 (eval $ac_try) 2>&5
16555 ac_status=$?
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); }; }; then
16558 ac_cv_type_void_p=yes
16559 else
16560 echo "$as_me: failed program was:" >&5
16561 sed 's/^/| /' conftest.$ac_ext >&5
16562
16563 ac_cv_type_void_p=no
16564 fi
16565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16566 fi
16567 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16568 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16569
16570 echo "$as_me:$LINENO: checking size of void *" >&5
16571 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16572 if test "${ac_cv_sizeof_void_p+set}" = set; then
16573 echo $ECHO_N "(cached) $ECHO_C" >&6
16574 else
16575 if test "$ac_cv_type_void_p" = yes; then
16576 # The cast to unsigned long works around a bug in the HP C Compiler
16577 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16578 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16579 # This bug is HP SR number 8606223364.
16580 if test "$cross_compiling" = yes; then
16581 # Depending upon the size, compute the lo and hi bounds.
16582 cat >conftest.$ac_ext <<_ACEOF
16583 /* confdefs.h. */
16584 _ACEOF
16585 cat confdefs.h >>conftest.$ac_ext
16586 cat >>conftest.$ac_ext <<_ACEOF
16587 /* end confdefs.h. */
16588 $ac_includes_default
16589 int
16590 main ()
16591 {
16592 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16593 test_array [0] = 0
16594
16595 ;
16596 return 0;
16597 }
16598 _ACEOF
16599 rm -f conftest.$ac_objext
16600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16601 (eval $ac_compile) 2>conftest.er1
16602 ac_status=$?
16603 grep -v '^ *+' conftest.er1 >conftest.err
16604 rm -f conftest.er1
16605 cat conftest.err >&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); } &&
16608 { ac_try='test -z "$ac_c_werror_flag"
16609 || test ! -s conftest.err'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16612 ac_status=$?
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; } &&
16615 { ac_try='test -s conftest.$ac_objext'
16616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617 (eval $ac_try) 2>&5
16618 ac_status=$?
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); }; }; then
16621 ac_lo=0 ac_mid=0
16622 while :; do
16623 cat >conftest.$ac_ext <<_ACEOF
16624 /* confdefs.h. */
16625 _ACEOF
16626 cat confdefs.h >>conftest.$ac_ext
16627 cat >>conftest.$ac_ext <<_ACEOF
16628 /* end confdefs.h. */
16629 $ac_includes_default
16630 int
16631 main ()
16632 {
16633 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16634 test_array [0] = 0
16635
16636 ;
16637 return 0;
16638 }
16639 _ACEOF
16640 rm -f conftest.$ac_objext
16641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16642 (eval $ac_compile) 2>conftest.er1
16643 ac_status=$?
16644 grep -v '^ *+' conftest.er1 >conftest.err
16645 rm -f conftest.er1
16646 cat conftest.err >&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); } &&
16649 { ac_try='test -z "$ac_c_werror_flag"
16650 || test ! -s conftest.err'
16651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16652 (eval $ac_try) 2>&5
16653 ac_status=$?
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); }; } &&
16656 { ac_try='test -s conftest.$ac_objext'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16659 ac_status=$?
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; }; then
16662 ac_hi=$ac_mid; break
16663 else
16664 echo "$as_me: failed program was:" >&5
16665 sed 's/^/| /' conftest.$ac_ext >&5
16666
16667 ac_lo=`expr $ac_mid + 1`
16668 if test $ac_lo -le $ac_mid; then
16669 ac_lo= ac_hi=
16670 break
16671 fi
16672 ac_mid=`expr 2 '*' $ac_mid + 1`
16673 fi
16674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16675 done
16676 else
16677 echo "$as_me: failed program was:" >&5
16678 sed 's/^/| /' conftest.$ac_ext >&5
16679
16680 cat >conftest.$ac_ext <<_ACEOF
16681 /* confdefs.h. */
16682 _ACEOF
16683 cat confdefs.h >>conftest.$ac_ext
16684 cat >>conftest.$ac_ext <<_ACEOF
16685 /* end confdefs.h. */
16686 $ac_includes_default
16687 int
16688 main ()
16689 {
16690 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16691 test_array [0] = 0
16692
16693 ;
16694 return 0;
16695 }
16696 _ACEOF
16697 rm -f conftest.$ac_objext
16698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16699 (eval $ac_compile) 2>conftest.er1
16700 ac_status=$?
16701 grep -v '^ *+' conftest.er1 >conftest.err
16702 rm -f conftest.er1
16703 cat conftest.err >&5
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); } &&
16706 { ac_try='test -z "$ac_c_werror_flag"
16707 || test ! -s conftest.err'
16708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709 (eval $ac_try) 2>&5
16710 ac_status=$?
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }; } &&
16713 { ac_try='test -s conftest.$ac_objext'
16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16716 ac_status=$?
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; }; then
16719 ac_hi=-1 ac_mid=-1
16720 while :; do
16721 cat >conftest.$ac_ext <<_ACEOF
16722 /* confdefs.h. */
16723 _ACEOF
16724 cat confdefs.h >>conftest.$ac_ext
16725 cat >>conftest.$ac_ext <<_ACEOF
16726 /* end confdefs.h. */
16727 $ac_includes_default
16728 int
16729 main ()
16730 {
16731 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16732 test_array [0] = 0
16733
16734 ;
16735 return 0;
16736 }
16737 _ACEOF
16738 rm -f conftest.$ac_objext
16739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16740 (eval $ac_compile) 2>conftest.er1
16741 ac_status=$?
16742 grep -v '^ *+' conftest.er1 >conftest.err
16743 rm -f conftest.er1
16744 cat conftest.err >&5
16745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746 (exit $ac_status); } &&
16747 { ac_try='test -z "$ac_c_werror_flag"
16748 || test ! -s conftest.err'
16749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16750 (eval $ac_try) 2>&5
16751 ac_status=$?
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); }; } &&
16754 { ac_try='test -s conftest.$ac_objext'
16755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16756 (eval $ac_try) 2>&5
16757 ac_status=$?
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); }; }; then
16760 ac_lo=$ac_mid; break
16761 else
16762 echo "$as_me: failed program was:" >&5
16763 sed 's/^/| /' conftest.$ac_ext >&5
16764
16765 ac_hi=`expr '(' $ac_mid ')' - 1`
16766 if test $ac_mid -le $ac_hi; then
16767 ac_lo= ac_hi=
16768 break
16769 fi
16770 ac_mid=`expr 2 '*' $ac_mid`
16771 fi
16772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16773 done
16774 else
16775 echo "$as_me: failed program was:" >&5
16776 sed 's/^/| /' conftest.$ac_ext >&5
16777
16778 ac_lo= ac_hi=
16779 fi
16780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16781 fi
16782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16783 # Binary search between lo and hi bounds.
16784 while test "x$ac_lo" != "x$ac_hi"; do
16785 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16786 cat >conftest.$ac_ext <<_ACEOF
16787 /* confdefs.h. */
16788 _ACEOF
16789 cat confdefs.h >>conftest.$ac_ext
16790 cat >>conftest.$ac_ext <<_ACEOF
16791 /* end confdefs.h. */
16792 $ac_includes_default
16793 int
16794 main ()
16795 {
16796 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16797 test_array [0] = 0
16798
16799 ;
16800 return 0;
16801 }
16802 _ACEOF
16803 rm -f conftest.$ac_objext
16804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16805 (eval $ac_compile) 2>conftest.er1
16806 ac_status=$?
16807 grep -v '^ *+' conftest.er1 >conftest.err
16808 rm -f conftest.er1
16809 cat conftest.err >&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } &&
16812 { ac_try='test -z "$ac_c_werror_flag"
16813 || test ! -s conftest.err'
16814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16815 (eval $ac_try) 2>&5
16816 ac_status=$?
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); }; } &&
16819 { ac_try='test -s conftest.$ac_objext'
16820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16821 (eval $ac_try) 2>&5
16822 ac_status=$?
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); }; }; then
16825 ac_hi=$ac_mid
16826 else
16827 echo "$as_me: failed program was:" >&5
16828 sed 's/^/| /' conftest.$ac_ext >&5
16829
16830 ac_lo=`expr '(' $ac_mid ')' + 1`
16831 fi
16832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16833 done
16834 case $ac_lo in
16835 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16836 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16837 See \`config.log' for more details." >&5
16838 echo "$as_me: error: cannot compute sizeof (void *), 77
16839 See \`config.log' for more details." >&2;}
16840 { (exit 1); exit 1; }; } ;;
16841 esac
16842 else
16843 if test "$cross_compiling" = yes; then
16844 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16845 See \`config.log' for more details." >&5
16846 echo "$as_me: error: cannot run test program while cross compiling
16847 See \`config.log' for more details." >&2;}
16848 { (exit 1); exit 1; }; }
16849 else
16850 cat >conftest.$ac_ext <<_ACEOF
16851 /* confdefs.h. */
16852 _ACEOF
16853 cat confdefs.h >>conftest.$ac_ext
16854 cat >>conftest.$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 $ac_includes_default
16857 long longval () { return (long) (sizeof (void *)); }
16858 unsigned long ulongval () { return (long) (sizeof (void *)); }
16859 #include <stdio.h>
16860 #include <stdlib.h>
16861 int
16862 main ()
16863 {
16864
16865 FILE *f = fopen ("conftest.val", "w");
16866 if (! f)
16867 exit (1);
16868 if (((long) (sizeof (void *))) < 0)
16869 {
16870 long i = longval ();
16871 if (i != ((long) (sizeof (void *))))
16872 exit (1);
16873 fprintf (f, "%ld\n", i);
16874 }
16875 else
16876 {
16877 unsigned long i = ulongval ();
16878 if (i != ((long) (sizeof (void *))))
16879 exit (1);
16880 fprintf (f, "%lu\n", i);
16881 }
16882 exit (ferror (f) || fclose (f) != 0);
16883
16884 ;
16885 return 0;
16886 }
16887 _ACEOF
16888 rm -f conftest$ac_exeext
16889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16890 (eval $ac_link) 2>&5
16891 ac_status=$?
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16895 (eval $ac_try) 2>&5
16896 ac_status=$?
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); }; }; then
16899 ac_cv_sizeof_void_p=`cat conftest.val`
16900 else
16901 echo "$as_me: program exited with status $ac_status" >&5
16902 echo "$as_me: failed program was:" >&5
16903 sed 's/^/| /' conftest.$ac_ext >&5
16904
16905 ( exit $ac_status )
16906 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16907 See \`config.log' for more details." >&5
16908 echo "$as_me: error: cannot compute sizeof (void *), 77
16909 See \`config.log' for more details." >&2;}
16910 { (exit 1); exit 1; }; }
16911 fi
16912 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16913 fi
16914 fi
16915 rm -f conftest.val
16916 else
16917 ac_cv_sizeof_void_p=0
16918 fi
16919 fi
16920 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16921 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16922 cat >>confdefs.h <<_ACEOF
16923 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16924 _ACEOF
16925
16926
16927 echo "$as_me:$LINENO: checking for int" >&5
16928 echo $ECHO_N "checking for int... $ECHO_C" >&6
16929 if test "${ac_cv_type_int+set}" = set; then
16930 echo $ECHO_N "(cached) $ECHO_C" >&6
16931 else
16932 cat >conftest.$ac_ext <<_ACEOF
16933 /* confdefs.h. */
16934 _ACEOF
16935 cat confdefs.h >>conftest.$ac_ext
16936 cat >>conftest.$ac_ext <<_ACEOF
16937 /* end confdefs.h. */
16938 $ac_includes_default
16939 int
16940 main ()
16941 {
16942 if ((int *) 0)
16943 return 0;
16944 if (sizeof (int))
16945 return 0;
16946 ;
16947 return 0;
16948 }
16949 _ACEOF
16950 rm -f conftest.$ac_objext
16951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16952 (eval $ac_compile) 2>conftest.er1
16953 ac_status=$?
16954 grep -v '^ *+' conftest.er1 >conftest.err
16955 rm -f conftest.er1
16956 cat conftest.err >&5
16957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958 (exit $ac_status); } &&
16959 { ac_try='test -z "$ac_c_werror_flag"
16960 || test ! -s conftest.err'
16961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16962 (eval $ac_try) 2>&5
16963 ac_status=$?
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); }; } &&
16966 { ac_try='test -s conftest.$ac_objext'
16967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16968 (eval $ac_try) 2>&5
16969 ac_status=$?
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); }; }; then
16972 ac_cv_type_int=yes
16973 else
16974 echo "$as_me: failed program was:" >&5
16975 sed 's/^/| /' conftest.$ac_ext >&5
16976
16977 ac_cv_type_int=no
16978 fi
16979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16980 fi
16981 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16982 echo "${ECHO_T}$ac_cv_type_int" >&6
16983
16984 echo "$as_me:$LINENO: checking size of int" >&5
16985 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16986 if test "${ac_cv_sizeof_int+set}" = set; then
16987 echo $ECHO_N "(cached) $ECHO_C" >&6
16988 else
16989 if test "$ac_cv_type_int" = yes; then
16990 # The cast to unsigned long works around a bug in the HP C Compiler
16991 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16992 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16993 # This bug is HP SR number 8606223364.
16994 if test "$cross_compiling" = yes; then
16995 # Depending upon the size, compute the lo and hi bounds.
16996 cat >conftest.$ac_ext <<_ACEOF
16997 /* confdefs.h. */
16998 _ACEOF
16999 cat confdefs.h >>conftest.$ac_ext
17000 cat >>conftest.$ac_ext <<_ACEOF
17001 /* end confdefs.h. */
17002 $ac_includes_default
17003 int
17004 main ()
17005 {
17006 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17007 test_array [0] = 0
17008
17009 ;
17010 return 0;
17011 }
17012 _ACEOF
17013 rm -f conftest.$ac_objext
17014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17015 (eval $ac_compile) 2>conftest.er1
17016 ac_status=$?
17017 grep -v '^ *+' conftest.er1 >conftest.err
17018 rm -f conftest.er1
17019 cat conftest.err >&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); } &&
17022 { ac_try='test -z "$ac_c_werror_flag"
17023 || test ! -s conftest.err'
17024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025 (eval $ac_try) 2>&5
17026 ac_status=$?
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; } &&
17029 { ac_try='test -s conftest.$ac_objext'
17030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031 (eval $ac_try) 2>&5
17032 ac_status=$?
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; }; then
17035 ac_lo=0 ac_mid=0
17036 while :; do
17037 cat >conftest.$ac_ext <<_ACEOF
17038 /* confdefs.h. */
17039 _ACEOF
17040 cat confdefs.h >>conftest.$ac_ext
17041 cat >>conftest.$ac_ext <<_ACEOF
17042 /* end confdefs.h. */
17043 $ac_includes_default
17044 int
17045 main ()
17046 {
17047 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17048 test_array [0] = 0
17049
17050 ;
17051 return 0;
17052 }
17053 _ACEOF
17054 rm -f conftest.$ac_objext
17055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17056 (eval $ac_compile) 2>conftest.er1
17057 ac_status=$?
17058 grep -v '^ *+' conftest.er1 >conftest.err
17059 rm -f conftest.er1
17060 cat conftest.err >&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } &&
17063 { ac_try='test -z "$ac_c_werror_flag"
17064 || test ! -s conftest.err'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17067 ac_status=$?
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; } &&
17070 { ac_try='test -s conftest.$ac_objext'
17071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072 (eval $ac_try) 2>&5
17073 ac_status=$?
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); }; }; then
17076 ac_hi=$ac_mid; break
17077 else
17078 echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.$ac_ext >&5
17080
17081 ac_lo=`expr $ac_mid + 1`
17082 if test $ac_lo -le $ac_mid; then
17083 ac_lo= ac_hi=
17084 break
17085 fi
17086 ac_mid=`expr 2 '*' $ac_mid + 1`
17087 fi
17088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17089 done
17090 else
17091 echo "$as_me: failed program was:" >&5
17092 sed 's/^/| /' conftest.$ac_ext >&5
17093
17094 cat >conftest.$ac_ext <<_ACEOF
17095 /* confdefs.h. */
17096 _ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 $ac_includes_default
17101 int
17102 main ()
17103 {
17104 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17105 test_array [0] = 0
17106
17107 ;
17108 return 0;
17109 }
17110 _ACEOF
17111 rm -f conftest.$ac_objext
17112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17113 (eval $ac_compile) 2>conftest.er1
17114 ac_status=$?
17115 grep -v '^ *+' conftest.er1 >conftest.err
17116 rm -f conftest.er1
17117 cat conftest.err >&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); } &&
17120 { ac_try='test -z "$ac_c_werror_flag"
17121 || test ! -s conftest.err'
17122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17123 (eval $ac_try) 2>&5
17124 ac_status=$?
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); }; } &&
17127 { ac_try='test -s conftest.$ac_objext'
17128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17129 (eval $ac_try) 2>&5
17130 ac_status=$?
17131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132 (exit $ac_status); }; }; then
17133 ac_hi=-1 ac_mid=-1
17134 while :; do
17135 cat >conftest.$ac_ext <<_ACEOF
17136 /* confdefs.h. */
17137 _ACEOF
17138 cat confdefs.h >>conftest.$ac_ext
17139 cat >>conftest.$ac_ext <<_ACEOF
17140 /* end confdefs.h. */
17141 $ac_includes_default
17142 int
17143 main ()
17144 {
17145 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17146 test_array [0] = 0
17147
17148 ;
17149 return 0;
17150 }
17151 _ACEOF
17152 rm -f conftest.$ac_objext
17153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17154 (eval $ac_compile) 2>conftest.er1
17155 ac_status=$?
17156 grep -v '^ *+' conftest.er1 >conftest.err
17157 rm -f conftest.er1
17158 cat conftest.err >&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); } &&
17161 { ac_try='test -z "$ac_c_werror_flag"
17162 || test ! -s conftest.err'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17165 ac_status=$?
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; } &&
17168 { ac_try='test -s conftest.$ac_objext'
17169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17170 (eval $ac_try) 2>&5
17171 ac_status=$?
17172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17173 (exit $ac_status); }; }; then
17174 ac_lo=$ac_mid; break
17175 else
17176 echo "$as_me: failed program was:" >&5
17177 sed 's/^/| /' conftest.$ac_ext >&5
17178
17179 ac_hi=`expr '(' $ac_mid ')' - 1`
17180 if test $ac_mid -le $ac_hi; then
17181 ac_lo= ac_hi=
17182 break
17183 fi
17184 ac_mid=`expr 2 '*' $ac_mid`
17185 fi
17186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17187 done
17188 else
17189 echo "$as_me: failed program was:" >&5
17190 sed 's/^/| /' conftest.$ac_ext >&5
17191
17192 ac_lo= ac_hi=
17193 fi
17194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17195 fi
17196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17197 # Binary search between lo and hi bounds.
17198 while test "x$ac_lo" != "x$ac_hi"; do
17199 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 (int))) <= $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"
17227 || test ! -s conftest.err'
17228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17229 (eval $ac_try) 2>&5
17230 ac_status=$?
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); }; } &&
17233 { ac_try='test -s conftest.$ac_objext'
17234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17235 (eval $ac_try) 2>&5
17236 ac_status=$?
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); }; }; then
17239 ac_hi=$ac_mid
17240 else
17241 echo "$as_me: failed program was:" >&5
17242 sed 's/^/| /' conftest.$ac_ext >&5
17243
17244 ac_lo=`expr '(' $ac_mid ')' + 1`
17245 fi
17246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17247 done
17248 case $ac_lo in
17249 ?*) ac_cv_sizeof_int=$ac_lo;;
17250 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17251 See \`config.log' for more details." >&5
17252 echo "$as_me: error: cannot compute sizeof (int), 77
17253 See \`config.log' for more details." >&2;}
17254 { (exit 1); exit 1; }; } ;;
17255 esac
17256 else
17257 if test "$cross_compiling" = yes; then
17258 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17259 See \`config.log' for more details." >&5
17260 echo "$as_me: error: cannot run test program while cross compiling
17261 See \`config.log' for more details." >&2;}
17262 { (exit 1); exit 1; }; }
17263 else
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 long longval () { return (long) (sizeof (int)); }
17272 unsigned long ulongval () { return (long) (sizeof (int)); }
17273 #include <stdio.h>
17274 #include <stdlib.h>
17275 int
17276 main ()
17277 {
17278
17279 FILE *f = fopen ("conftest.val", "w");
17280 if (! f)
17281 exit (1);
17282 if (((long) (sizeof (int))) < 0)
17283 {
17284 long i = longval ();
17285 if (i != ((long) (sizeof (int))))
17286 exit (1);
17287 fprintf (f, "%ld\n", i);
17288 }
17289 else
17290 {
17291 unsigned long i = ulongval ();
17292 if (i != ((long) (sizeof (int))))
17293 exit (1);
17294 fprintf (f, "%lu\n", i);
17295 }
17296 exit (ferror (f) || fclose (f) != 0);
17297
17298 ;
17299 return 0;
17300 }
17301 _ACEOF
17302 rm -f conftest$ac_exeext
17303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17304 (eval $ac_link) 2>&5
17305 ac_status=$?
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17309 (eval $ac_try) 2>&5
17310 ac_status=$?
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); }; }; then
17313 ac_cv_sizeof_int=`cat conftest.val`
17314 else
17315 echo "$as_me: program exited with status $ac_status" >&5
17316 echo "$as_me: failed program was:" >&5
17317 sed 's/^/| /' conftest.$ac_ext >&5
17318
17319 ( exit $ac_status )
17320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17321 See \`config.log' for more details." >&5
17322 echo "$as_me: error: cannot compute sizeof (int), 77
17323 See \`config.log' for more details." >&2;}
17324 { (exit 1); exit 1; }; }
17325 fi
17326 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17327 fi
17328 fi
17329 rm -f conftest.val
17330 else
17331 ac_cv_sizeof_int=0
17332 fi
17333 fi
17334 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17335 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17336 cat >>confdefs.h <<_ACEOF
17337 #define SIZEOF_INT $ac_cv_sizeof_int
17338 _ACEOF
17339
17340
17341 echo "$as_me:$LINENO: checking for long" >&5
17342 echo $ECHO_N "checking for long... $ECHO_C" >&6
17343 if test "${ac_cv_type_long+set}" = set; then
17344 echo $ECHO_N "(cached) $ECHO_C" >&6
17345 else
17346 cat >conftest.$ac_ext <<_ACEOF
17347 /* confdefs.h. */
17348 _ACEOF
17349 cat confdefs.h >>conftest.$ac_ext
17350 cat >>conftest.$ac_ext <<_ACEOF
17351 /* end confdefs.h. */
17352 $ac_includes_default
17353 int
17354 main ()
17355 {
17356 if ((long *) 0)
17357 return 0;
17358 if (sizeof (long))
17359 return 0;
17360 ;
17361 return 0;
17362 }
17363 _ACEOF
17364 rm -f conftest.$ac_objext
17365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17366 (eval $ac_compile) 2>conftest.er1
17367 ac_status=$?
17368 grep -v '^ *+' conftest.er1 >conftest.err
17369 rm -f conftest.er1
17370 cat conftest.err >&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } &&
17373 { ac_try='test -z "$ac_c_werror_flag"
17374 || test ! -s conftest.err'
17375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17376 (eval $ac_try) 2>&5
17377 ac_status=$?
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); }; } &&
17380 { ac_try='test -s conftest.$ac_objext'
17381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17382 (eval $ac_try) 2>&5
17383 ac_status=$?
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }; }; then
17386 ac_cv_type_long=yes
17387 else
17388 echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.$ac_ext >&5
17390
17391 ac_cv_type_long=no
17392 fi
17393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17394 fi
17395 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17396 echo "${ECHO_T}$ac_cv_type_long" >&6
17397
17398 echo "$as_me:$LINENO: checking size of long" >&5
17399 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17400 if test "${ac_cv_sizeof_long+set}" = set; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 else
17403 if test "$ac_cv_type_long" = yes; then
17404 # The cast to unsigned long works around a bug in the HP C Compiler
17405 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17406 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17407 # This bug is HP SR number 8606223364.
17408 if test "$cross_compiling" = yes; then
17409 # Depending upon the size, compute the lo and hi bounds.
17410 cat >conftest.$ac_ext <<_ACEOF
17411 /* confdefs.h. */
17412 _ACEOF
17413 cat confdefs.h >>conftest.$ac_ext
17414 cat >>conftest.$ac_ext <<_ACEOF
17415 /* end confdefs.h. */
17416 $ac_includes_default
17417 int
17418 main ()
17419 {
17420 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17421 test_array [0] = 0
17422
17423 ;
17424 return 0;
17425 }
17426 _ACEOF
17427 rm -f conftest.$ac_objext
17428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17429 (eval $ac_compile) 2>conftest.er1
17430 ac_status=$?
17431 grep -v '^ *+' conftest.er1 >conftest.err
17432 rm -f conftest.er1
17433 cat conftest.err >&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); } &&
17436 { ac_try='test -z "$ac_c_werror_flag"
17437 || test ! -s conftest.err'
17438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17439 (eval $ac_try) 2>&5
17440 ac_status=$?
17441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442 (exit $ac_status); }; } &&
17443 { ac_try='test -s conftest.$ac_objext'
17444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17445 (eval $ac_try) 2>&5
17446 ac_status=$?
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); }; }; then
17449 ac_lo=0 ac_mid=0
17450 while :; do
17451 cat >conftest.$ac_ext <<_ACEOF
17452 /* confdefs.h. */
17453 _ACEOF
17454 cat confdefs.h >>conftest.$ac_ext
17455 cat >>conftest.$ac_ext <<_ACEOF
17456 /* end confdefs.h. */
17457 $ac_includes_default
17458 int
17459 main ()
17460 {
17461 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17462 test_array [0] = 0
17463
17464 ;
17465 return 0;
17466 }
17467 _ACEOF
17468 rm -f conftest.$ac_objext
17469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17470 (eval $ac_compile) 2>conftest.er1
17471 ac_status=$?
17472 grep -v '^ *+' conftest.er1 >conftest.err
17473 rm -f conftest.er1
17474 cat conftest.err >&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); } &&
17477 { ac_try='test -z "$ac_c_werror_flag"
17478 || test ! -s conftest.err'
17479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17480 (eval $ac_try) 2>&5
17481 ac_status=$?
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); }; } &&
17484 { ac_try='test -s conftest.$ac_objext'
17485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17486 (eval $ac_try) 2>&5
17487 ac_status=$?
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); }; }; then
17490 ac_hi=$ac_mid; break
17491 else
17492 echo "$as_me: failed program was:" >&5
17493 sed 's/^/| /' conftest.$ac_ext >&5
17494
17495 ac_lo=`expr $ac_mid + 1`
17496 if test $ac_lo -le $ac_mid; then
17497 ac_lo= ac_hi=
17498 break
17499 fi
17500 ac_mid=`expr 2 '*' $ac_mid + 1`
17501 fi
17502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17503 done
17504 else
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.$ac_ext >&5
17507
17508 cat >conftest.$ac_ext <<_ACEOF
17509 /* confdefs.h. */
17510 _ACEOF
17511 cat confdefs.h >>conftest.$ac_ext
17512 cat >>conftest.$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514 $ac_includes_default
17515 int
17516 main ()
17517 {
17518 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17519 test_array [0] = 0
17520
17521 ;
17522 return 0;
17523 }
17524 _ACEOF
17525 rm -f conftest.$ac_objext
17526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17527 (eval $ac_compile) 2>conftest.er1
17528 ac_status=$?
17529 grep -v '^ *+' conftest.er1 >conftest.err
17530 rm -f conftest.er1
17531 cat conftest.err >&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); } &&
17534 { ac_try='test -z "$ac_c_werror_flag"
17535 || test ! -s conftest.err'
17536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17537 (eval $ac_try) 2>&5
17538 ac_status=$?
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); }; } &&
17541 { ac_try='test -s conftest.$ac_objext'
17542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17543 (eval $ac_try) 2>&5
17544 ac_status=$?
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); }; }; then
17547 ac_hi=-1 ac_mid=-1
17548 while :; do
17549 cat >conftest.$ac_ext <<_ACEOF
17550 /* confdefs.h. */
17551 _ACEOF
17552 cat confdefs.h >>conftest.$ac_ext
17553 cat >>conftest.$ac_ext <<_ACEOF
17554 /* end confdefs.h. */
17555 $ac_includes_default
17556 int
17557 main ()
17558 {
17559 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17560 test_array [0] = 0
17561
17562 ;
17563 return 0;
17564 }
17565 _ACEOF
17566 rm -f conftest.$ac_objext
17567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17568 (eval $ac_compile) 2>conftest.er1
17569 ac_status=$?
17570 grep -v '^ *+' conftest.er1 >conftest.err
17571 rm -f conftest.er1
17572 cat conftest.err >&5
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); } &&
17575 { ac_try='test -z "$ac_c_werror_flag"
17576 || test ! -s conftest.err'
17577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17578 (eval $ac_try) 2>&5
17579 ac_status=$?
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; } &&
17582 { ac_try='test -s conftest.$ac_objext'
17583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17584 (eval $ac_try) 2>&5
17585 ac_status=$?
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); }; }; then
17588 ac_lo=$ac_mid; break
17589 else
17590 echo "$as_me: failed program was:" >&5
17591 sed 's/^/| /' conftest.$ac_ext >&5
17592
17593 ac_hi=`expr '(' $ac_mid ')' - 1`
17594 if test $ac_mid -le $ac_hi; then
17595 ac_lo= ac_hi=
17596 break
17597 fi
17598 ac_mid=`expr 2 '*' $ac_mid`
17599 fi
17600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17601 done
17602 else
17603 echo "$as_me: failed program was:" >&5
17604 sed 's/^/| /' conftest.$ac_ext >&5
17605
17606 ac_lo= ac_hi=
17607 fi
17608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17609 fi
17610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17611 # Binary search between lo and hi bounds.
17612 while test "x$ac_lo" != "x$ac_hi"; do
17613 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17614 cat >conftest.$ac_ext <<_ACEOF
17615 /* confdefs.h. */
17616 _ACEOF
17617 cat confdefs.h >>conftest.$ac_ext
17618 cat >>conftest.$ac_ext <<_ACEOF
17619 /* end confdefs.h. */
17620 $ac_includes_default
17621 int
17622 main ()
17623 {
17624 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17625 test_array [0] = 0
17626
17627 ;
17628 return 0;
17629 }
17630 _ACEOF
17631 rm -f conftest.$ac_objext
17632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17633 (eval $ac_compile) 2>conftest.er1
17634 ac_status=$?
17635 grep -v '^ *+' conftest.er1 >conftest.err
17636 rm -f conftest.er1
17637 cat conftest.err >&5
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); } &&
17640 { ac_try='test -z "$ac_c_werror_flag"
17641 || test ! -s conftest.err'
17642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17643 (eval $ac_try) 2>&5
17644 ac_status=$?
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); }; } &&
17647 { ac_try='test -s conftest.$ac_objext'
17648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17649 (eval $ac_try) 2>&5
17650 ac_status=$?
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); }; }; then
17653 ac_hi=$ac_mid
17654 else
17655 echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.$ac_ext >&5
17657
17658 ac_lo=`expr '(' $ac_mid ')' + 1`
17659 fi
17660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17661 done
17662 case $ac_lo in
17663 ?*) ac_cv_sizeof_long=$ac_lo;;
17664 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17665 See \`config.log' for more details." >&5
17666 echo "$as_me: error: cannot compute sizeof (long), 77
17667 See \`config.log' for more details." >&2;}
17668 { (exit 1); exit 1; }; } ;;
17669 esac
17670 else
17671 if test "$cross_compiling" = yes; then
17672 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17673 See \`config.log' for more details." >&5
17674 echo "$as_me: error: cannot run test program while cross compiling
17675 See \`config.log' for more details." >&2;}
17676 { (exit 1); exit 1; }; }
17677 else
17678 cat >conftest.$ac_ext <<_ACEOF
17679 /* confdefs.h. */
17680 _ACEOF
17681 cat confdefs.h >>conftest.$ac_ext
17682 cat >>conftest.$ac_ext <<_ACEOF
17683 /* end confdefs.h. */
17684 $ac_includes_default
17685 long longval () { return (long) (sizeof (long)); }
17686 unsigned long ulongval () { return (long) (sizeof (long)); }
17687 #include <stdio.h>
17688 #include <stdlib.h>
17689 int
17690 main ()
17691 {
17692
17693 FILE *f = fopen ("conftest.val", "w");
17694 if (! f)
17695 exit (1);
17696 if (((long) (sizeof (long))) < 0)
17697 {
17698 long i = longval ();
17699 if (i != ((long) (sizeof (long))))
17700 exit (1);
17701 fprintf (f, "%ld\n", i);
17702 }
17703 else
17704 {
17705 unsigned long i = ulongval ();
17706 if (i != ((long) (sizeof (long))))
17707 exit (1);
17708 fprintf (f, "%lu\n", i);
17709 }
17710 exit (ferror (f) || fclose (f) != 0);
17711
17712 ;
17713 return 0;
17714 }
17715 _ACEOF
17716 rm -f conftest$ac_exeext
17717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17718 (eval $ac_link) 2>&5
17719 ac_status=$?
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17723 (eval $ac_try) 2>&5
17724 ac_status=$?
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); }; }; then
17727 ac_cv_sizeof_long=`cat conftest.val`
17728 else
17729 echo "$as_me: program exited with status $ac_status" >&5
17730 echo "$as_me: failed program was:" >&5
17731 sed 's/^/| /' conftest.$ac_ext >&5
17732
17733 ( exit $ac_status )
17734 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17735 See \`config.log' for more details." >&5
17736 echo "$as_me: error: cannot compute sizeof (long), 77
17737 See \`config.log' for more details." >&2;}
17738 { (exit 1); exit 1; }; }
17739 fi
17740 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17741 fi
17742 fi
17743 rm -f conftest.val
17744 else
17745 ac_cv_sizeof_long=0
17746 fi
17747 fi
17748 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17749 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17750 cat >>confdefs.h <<_ACEOF
17751 #define SIZEOF_LONG $ac_cv_sizeof_long
17752 _ACEOF
17753
17754
17755 echo "$as_me:$LINENO: checking for size_t" >&5
17756 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17757 if test "${ac_cv_type_size_t+set}" = set; then
17758 echo $ECHO_N "(cached) $ECHO_C" >&6
17759 else
17760 cat >conftest.$ac_ext <<_ACEOF
17761 /* confdefs.h. */
17762 _ACEOF
17763 cat confdefs.h >>conftest.$ac_ext
17764 cat >>conftest.$ac_ext <<_ACEOF
17765 /* end confdefs.h. */
17766 $ac_includes_default
17767 int
17768 main ()
17769 {
17770 if ((size_t *) 0)
17771 return 0;
17772 if (sizeof (size_t))
17773 return 0;
17774 ;
17775 return 0;
17776 }
17777 _ACEOF
17778 rm -f conftest.$ac_objext
17779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17780 (eval $ac_compile) 2>conftest.er1
17781 ac_status=$?
17782 grep -v '^ *+' conftest.er1 >conftest.err
17783 rm -f conftest.er1
17784 cat conftest.err >&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); } &&
17787 { ac_try='test -z "$ac_c_werror_flag"
17788 || test ! -s conftest.err'
17789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790 (eval $ac_try) 2>&5
17791 ac_status=$?
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); }; } &&
17794 { ac_try='test -s conftest.$ac_objext'
17795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17796 (eval $ac_try) 2>&5
17797 ac_status=$?
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }; }; then
17800 ac_cv_type_size_t=yes
17801 else
17802 echo "$as_me: failed program was:" >&5
17803 sed 's/^/| /' conftest.$ac_ext >&5
17804
17805 ac_cv_type_size_t=no
17806 fi
17807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17808 fi
17809 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17810 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17811
17812 echo "$as_me:$LINENO: checking size of size_t" >&5
17813 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17814 if test "${ac_cv_sizeof_size_t+set}" = set; then
17815 echo $ECHO_N "(cached) $ECHO_C" >&6
17816 else
17817 if test "$ac_cv_type_size_t" = yes; then
17818 # The cast to unsigned long works around a bug in the HP C Compiler
17819 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17820 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17821 # This bug is HP SR number 8606223364.
17822 if test "$cross_compiling" = yes; then
17823 # Depending upon the size, compute the lo and hi bounds.
17824 cat >conftest.$ac_ext <<_ACEOF
17825 /* confdefs.h. */
17826 _ACEOF
17827 cat confdefs.h >>conftest.$ac_ext
17828 cat >>conftest.$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17830 $ac_includes_default
17831 int
17832 main ()
17833 {
17834 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17835 test_array [0] = 0
17836
17837 ;
17838 return 0;
17839 }
17840 _ACEOF
17841 rm -f conftest.$ac_objext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17843 (eval $ac_compile) 2>conftest.er1
17844 ac_status=$?
17845 grep -v '^ *+' conftest.er1 >conftest.err
17846 rm -f conftest.er1
17847 cat conftest.err >&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } &&
17850 { ac_try='test -z "$ac_c_werror_flag"
17851 || test ! -s conftest.err'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17854 ac_status=$?
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; } &&
17857 { ac_try='test -s conftest.$ac_objext'
17858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17859 (eval $ac_try) 2>&5
17860 ac_status=$?
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); }; }; then
17863 ac_lo=0 ac_mid=0
17864 while :; do
17865 cat >conftest.$ac_ext <<_ACEOF
17866 /* confdefs.h. */
17867 _ACEOF
17868 cat confdefs.h >>conftest.$ac_ext
17869 cat >>conftest.$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871 $ac_includes_default
17872 int
17873 main ()
17874 {
17875 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17876 test_array [0] = 0
17877
17878 ;
17879 return 0;
17880 }
17881 _ACEOF
17882 rm -f conftest.$ac_objext
17883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17884 (eval $ac_compile) 2>conftest.er1
17885 ac_status=$?
17886 grep -v '^ *+' conftest.er1 >conftest.err
17887 rm -f conftest.er1
17888 cat conftest.err >&5
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); } &&
17891 { ac_try='test -z "$ac_c_werror_flag"
17892 || test ! -s conftest.err'
17893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17894 (eval $ac_try) 2>&5
17895 ac_status=$?
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); }; } &&
17898 { ac_try='test -s conftest.$ac_objext'
17899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17900 (eval $ac_try) 2>&5
17901 ac_status=$?
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); }; }; then
17904 ac_hi=$ac_mid; break
17905 else
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.$ac_ext >&5
17908
17909 ac_lo=`expr $ac_mid + 1`
17910 if test $ac_lo -le $ac_mid; then
17911 ac_lo= ac_hi=
17912 break
17913 fi
17914 ac_mid=`expr 2 '*' $ac_mid + 1`
17915 fi
17916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17917 done
17918 else
17919 echo "$as_me: failed program was:" >&5
17920 sed 's/^/| /' conftest.$ac_ext >&5
17921
17922 cat >conftest.$ac_ext <<_ACEOF
17923 /* confdefs.h. */
17924 _ACEOF
17925 cat confdefs.h >>conftest.$ac_ext
17926 cat >>conftest.$ac_ext <<_ACEOF
17927 /* end confdefs.h. */
17928 $ac_includes_default
17929 int
17930 main ()
17931 {
17932 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17933 test_array [0] = 0
17934
17935 ;
17936 return 0;
17937 }
17938 _ACEOF
17939 rm -f conftest.$ac_objext
17940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17941 (eval $ac_compile) 2>conftest.er1
17942 ac_status=$?
17943 grep -v '^ *+' conftest.er1 >conftest.err
17944 rm -f conftest.er1
17945 cat conftest.err >&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } &&
17948 { ac_try='test -z "$ac_c_werror_flag"
17949 || test ! -s conftest.err'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17952 ac_status=$?
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; } &&
17955 { ac_try='test -s conftest.$ac_objext'
17956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17957 (eval $ac_try) 2>&5
17958 ac_status=$?
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); }; }; then
17961 ac_hi=-1 ac_mid=-1
17962 while :; do
17963 cat >conftest.$ac_ext <<_ACEOF
17964 /* confdefs.h. */
17965 _ACEOF
17966 cat confdefs.h >>conftest.$ac_ext
17967 cat >>conftest.$ac_ext <<_ACEOF
17968 /* end confdefs.h. */
17969 $ac_includes_default
17970 int
17971 main ()
17972 {
17973 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17974 test_array [0] = 0
17975
17976 ;
17977 return 0;
17978 }
17979 _ACEOF
17980 rm -f conftest.$ac_objext
17981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17982 (eval $ac_compile) 2>conftest.er1
17983 ac_status=$?
17984 grep -v '^ *+' conftest.er1 >conftest.err
17985 rm -f conftest.er1
17986 cat conftest.err >&5
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); } &&
17989 { ac_try='test -z "$ac_c_werror_flag"
17990 || test ! -s conftest.err'
17991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17992 (eval $ac_try) 2>&5
17993 ac_status=$?
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); }; } &&
17996 { ac_try='test -s conftest.$ac_objext'
17997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17998 (eval $ac_try) 2>&5
17999 ac_status=$?
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); }; }; then
18002 ac_lo=$ac_mid; break
18003 else
18004 echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.$ac_ext >&5
18006
18007 ac_hi=`expr '(' $ac_mid ')' - 1`
18008 if test $ac_mid -le $ac_hi; then
18009 ac_lo= ac_hi=
18010 break
18011 fi
18012 ac_mid=`expr 2 '*' $ac_mid`
18013 fi
18014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18015 done
18016 else
18017 echo "$as_me: failed program was:" >&5
18018 sed 's/^/| /' conftest.$ac_ext >&5
18019
18020 ac_lo= ac_hi=
18021 fi
18022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18023 fi
18024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18025 # Binary search between lo and hi bounds.
18026 while test "x$ac_lo" != "x$ac_hi"; do
18027 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18028 cat >conftest.$ac_ext <<_ACEOF
18029 /* confdefs.h. */
18030 _ACEOF
18031 cat confdefs.h >>conftest.$ac_ext
18032 cat >>conftest.$ac_ext <<_ACEOF
18033 /* end confdefs.h. */
18034 $ac_includes_default
18035 int
18036 main ()
18037 {
18038 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18039 test_array [0] = 0
18040
18041 ;
18042 return 0;
18043 }
18044 _ACEOF
18045 rm -f conftest.$ac_objext
18046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18047 (eval $ac_compile) 2>conftest.er1
18048 ac_status=$?
18049 grep -v '^ *+' conftest.er1 >conftest.err
18050 rm -f conftest.er1
18051 cat conftest.err >&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); } &&
18054 { ac_try='test -z "$ac_c_werror_flag"
18055 || test ! -s conftest.err'
18056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18057 (eval $ac_try) 2>&5
18058 ac_status=$?
18059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060 (exit $ac_status); }; } &&
18061 { ac_try='test -s conftest.$ac_objext'
18062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18063 (eval $ac_try) 2>&5
18064 ac_status=$?
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); }; }; then
18067 ac_hi=$ac_mid
18068 else
18069 echo "$as_me: failed program was:" >&5
18070 sed 's/^/| /' conftest.$ac_ext >&5
18071
18072 ac_lo=`expr '(' $ac_mid ')' + 1`
18073 fi
18074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18075 done
18076 case $ac_lo in
18077 ?*) ac_cv_sizeof_size_t=$ac_lo;;
18078 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18079 See \`config.log' for more details." >&5
18080 echo "$as_me: error: cannot compute sizeof (size_t), 77
18081 See \`config.log' for more details." >&2;}
18082 { (exit 1); exit 1; }; } ;;
18083 esac
18084 else
18085 if test "$cross_compiling" = yes; then
18086 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18087 See \`config.log' for more details." >&5
18088 echo "$as_me: error: cannot run test program while cross compiling
18089 See \`config.log' for more details." >&2;}
18090 { (exit 1); exit 1; }; }
18091 else
18092 cat >conftest.$ac_ext <<_ACEOF
18093 /* confdefs.h. */
18094 _ACEOF
18095 cat confdefs.h >>conftest.$ac_ext
18096 cat >>conftest.$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18098 $ac_includes_default
18099 long longval () { return (long) (sizeof (size_t)); }
18100 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18101 #include <stdio.h>
18102 #include <stdlib.h>
18103 int
18104 main ()
18105 {
18106
18107 FILE *f = fopen ("conftest.val", "w");
18108 if (! f)
18109 exit (1);
18110 if (((long) (sizeof (size_t))) < 0)
18111 {
18112 long i = longval ();
18113 if (i != ((long) (sizeof (size_t))))
18114 exit (1);
18115 fprintf (f, "%ld\n", i);
18116 }
18117 else
18118 {
18119 unsigned long i = ulongval ();
18120 if (i != ((long) (sizeof (size_t))))
18121 exit (1);
18122 fprintf (f, "%lu\n", i);
18123 }
18124 exit (ferror (f) || fclose (f) != 0);
18125
18126 ;
18127 return 0;
18128 }
18129 _ACEOF
18130 rm -f conftest$ac_exeext
18131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18132 (eval $ac_link) 2>&5
18133 ac_status=$?
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18137 (eval $ac_try) 2>&5
18138 ac_status=$?
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); }; }; then
18141 ac_cv_sizeof_size_t=`cat conftest.val`
18142 else
18143 echo "$as_me: program exited with status $ac_status" >&5
18144 echo "$as_me: failed program was:" >&5
18145 sed 's/^/| /' conftest.$ac_ext >&5
18146
18147 ( exit $ac_status )
18148 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18149 See \`config.log' for more details." >&5
18150 echo "$as_me: error: cannot compute sizeof (size_t), 77
18151 See \`config.log' for more details." >&2;}
18152 { (exit 1); exit 1; }; }
18153 fi
18154 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18155 fi
18156 fi
18157 rm -f conftest.val
18158 else
18159 ac_cv_sizeof_size_t=0
18160 fi
18161 fi
18162 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18163 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18164 cat >>confdefs.h <<_ACEOF
18165 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18166 _ACEOF
18167
18168
18169
18170 case "${host}" in
18171 arm-*-linux* )
18172 echo "$as_me:$LINENO: checking for long long" >&5
18173 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18174 if test "${ac_cv_type_long_long+set}" = set; then
18175 echo $ECHO_N "(cached) $ECHO_C" >&6
18176 else
18177 cat >conftest.$ac_ext <<_ACEOF
18178 /* confdefs.h. */
18179 _ACEOF
18180 cat confdefs.h >>conftest.$ac_ext
18181 cat >>conftest.$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18183 $ac_includes_default
18184 int
18185 main ()
18186 {
18187 if ((long long *) 0)
18188 return 0;
18189 if (sizeof (long long))
18190 return 0;
18191 ;
18192 return 0;
18193 }
18194 _ACEOF
18195 rm -f conftest.$ac_objext
18196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18197 (eval $ac_compile) 2>conftest.er1
18198 ac_status=$?
18199 grep -v '^ *+' conftest.er1 >conftest.err
18200 rm -f conftest.er1
18201 cat conftest.err >&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } &&
18204 { ac_try='test -z "$ac_c_werror_flag"
18205 || test ! -s conftest.err'
18206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207 (eval $ac_try) 2>&5
18208 ac_status=$?
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); }; } &&
18211 { ac_try='test -s conftest.$ac_objext'
18212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18213 (eval $ac_try) 2>&5
18214 ac_status=$?
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; }; then
18217 ac_cv_type_long_long=yes
18218 else
18219 echo "$as_me: failed program was:" >&5
18220 sed 's/^/| /' conftest.$ac_ext >&5
18221
18222 ac_cv_type_long_long=no
18223 fi
18224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18225 fi
18226 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18227 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18228
18229 echo "$as_me:$LINENO: checking size of long long" >&5
18230 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18231 if test "${ac_cv_sizeof_long_long+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18233 else
18234 if test "$ac_cv_type_long_long" = yes; then
18235 # The cast to unsigned long works around a bug in the HP C Compiler
18236 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18237 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18238 # This bug is HP SR number 8606223364.
18239 if test "$cross_compiling" = yes; then
18240 # Depending upon the size, compute the lo and hi bounds.
18241 cat >conftest.$ac_ext <<_ACEOF
18242 /* confdefs.h. */
18243 _ACEOF
18244 cat confdefs.h >>conftest.$ac_ext
18245 cat >>conftest.$ac_ext <<_ACEOF
18246 /* end confdefs.h. */
18247 $ac_includes_default
18248 int
18249 main ()
18250 {
18251 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18252 test_array [0] = 0
18253
18254 ;
18255 return 0;
18256 }
18257 _ACEOF
18258 rm -f conftest.$ac_objext
18259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18260 (eval $ac_compile) 2>conftest.er1
18261 ac_status=$?
18262 grep -v '^ *+' conftest.er1 >conftest.err
18263 rm -f conftest.er1
18264 cat conftest.err >&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } &&
18267 { ac_try='test -z "$ac_c_werror_flag"
18268 || test ! -s conftest.err'
18269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18270 (eval $ac_try) 2>&5
18271 ac_status=$?
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); }; } &&
18274 { ac_try='test -s conftest.$ac_objext'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18277 ac_status=$?
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; }; then
18280 ac_lo=0 ac_mid=0
18281 while :; do
18282 cat >conftest.$ac_ext <<_ACEOF
18283 /* confdefs.h. */
18284 _ACEOF
18285 cat confdefs.h >>conftest.$ac_ext
18286 cat >>conftest.$ac_ext <<_ACEOF
18287 /* end confdefs.h. */
18288 $ac_includes_default
18289 int
18290 main ()
18291 {
18292 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18293 test_array [0] = 0
18294
18295 ;
18296 return 0;
18297 }
18298 _ACEOF
18299 rm -f conftest.$ac_objext
18300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18301 (eval $ac_compile) 2>conftest.er1
18302 ac_status=$?
18303 grep -v '^ *+' conftest.er1 >conftest.err
18304 rm -f conftest.er1
18305 cat conftest.err >&5
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); } &&
18308 { ac_try='test -z "$ac_c_werror_flag"
18309 || test ! -s conftest.err'
18310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18311 (eval $ac_try) 2>&5
18312 ac_status=$?
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); }; } &&
18315 { ac_try='test -s conftest.$ac_objext'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18318 ac_status=$?
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; }; then
18321 ac_hi=$ac_mid; break
18322 else
18323 echo "$as_me: failed program was:" >&5
18324 sed 's/^/| /' conftest.$ac_ext >&5
18325
18326 ac_lo=`expr $ac_mid + 1`
18327 if test $ac_lo -le $ac_mid; then
18328 ac_lo= ac_hi=
18329 break
18330 fi
18331 ac_mid=`expr 2 '*' $ac_mid + 1`
18332 fi
18333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18334 done
18335 else
18336 echo "$as_me: failed program was:" >&5
18337 sed 's/^/| /' conftest.$ac_ext >&5
18338
18339 cat >conftest.$ac_ext <<_ACEOF
18340 /* confdefs.h. */
18341 _ACEOF
18342 cat confdefs.h >>conftest.$ac_ext
18343 cat >>conftest.$ac_ext <<_ACEOF
18344 /* end confdefs.h. */
18345 $ac_includes_default
18346 int
18347 main ()
18348 {
18349 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18350 test_array [0] = 0
18351
18352 ;
18353 return 0;
18354 }
18355 _ACEOF
18356 rm -f conftest.$ac_objext
18357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18358 (eval $ac_compile) 2>conftest.er1
18359 ac_status=$?
18360 grep -v '^ *+' conftest.er1 >conftest.err
18361 rm -f conftest.er1
18362 cat conftest.err >&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); } &&
18365 { ac_try='test -z "$ac_c_werror_flag"
18366 || test ! -s conftest.err'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18369 ac_status=$?
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; } &&
18372 { ac_try='test -s conftest.$ac_objext'
18373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374 (eval $ac_try) 2>&5
18375 ac_status=$?
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); }; }; then
18378 ac_hi=-1 ac_mid=-1
18379 while :; do
18380 cat >conftest.$ac_ext <<_ACEOF
18381 /* confdefs.h. */
18382 _ACEOF
18383 cat confdefs.h >>conftest.$ac_ext
18384 cat >>conftest.$ac_ext <<_ACEOF
18385 /* end confdefs.h. */
18386 $ac_includes_default
18387 int
18388 main ()
18389 {
18390 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18391 test_array [0] = 0
18392
18393 ;
18394 return 0;
18395 }
18396 _ACEOF
18397 rm -f conftest.$ac_objext
18398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18399 (eval $ac_compile) 2>conftest.er1
18400 ac_status=$?
18401 grep -v '^ *+' conftest.er1 >conftest.err
18402 rm -f conftest.er1
18403 cat conftest.err >&5
18404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18405 (exit $ac_status); } &&
18406 { ac_try='test -z "$ac_c_werror_flag"
18407 || test ! -s conftest.err'
18408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18409 (eval $ac_try) 2>&5
18410 ac_status=$?
18411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412 (exit $ac_status); }; } &&
18413 { ac_try='test -s conftest.$ac_objext'
18414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18415 (eval $ac_try) 2>&5
18416 ac_status=$?
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); }; }; then
18419 ac_lo=$ac_mid; break
18420 else
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.$ac_ext >&5
18423
18424 ac_hi=`expr '(' $ac_mid ')' - 1`
18425 if test $ac_mid -le $ac_hi; then
18426 ac_lo= ac_hi=
18427 break
18428 fi
18429 ac_mid=`expr 2 '*' $ac_mid`
18430 fi
18431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18432 done
18433 else
18434 echo "$as_me: failed program was:" >&5
18435 sed 's/^/| /' conftest.$ac_ext >&5
18436
18437 ac_lo= ac_hi=
18438 fi
18439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18440 fi
18441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18442 # Binary search between lo and hi bounds.
18443 while test "x$ac_lo" != "x$ac_hi"; do
18444 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18445 cat >conftest.$ac_ext <<_ACEOF
18446 /* confdefs.h. */
18447 _ACEOF
18448 cat confdefs.h >>conftest.$ac_ext
18449 cat >>conftest.$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451 $ac_includes_default
18452 int
18453 main ()
18454 {
18455 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18456 test_array [0] = 0
18457
18458 ;
18459 return 0;
18460 }
18461 _ACEOF
18462 rm -f conftest.$ac_objext
18463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18464 (eval $ac_compile) 2>conftest.er1
18465 ac_status=$?
18466 grep -v '^ *+' conftest.er1 >conftest.err
18467 rm -f conftest.er1
18468 cat conftest.err >&5
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); } &&
18471 { ac_try='test -z "$ac_c_werror_flag"
18472 || test ! -s conftest.err'
18473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18474 (eval $ac_try) 2>&5
18475 ac_status=$?
18476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477 (exit $ac_status); }; } &&
18478 { ac_try='test -s conftest.$ac_objext'
18479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18480 (eval $ac_try) 2>&5
18481 ac_status=$?
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); }; }; then
18484 ac_hi=$ac_mid
18485 else
18486 echo "$as_me: failed program was:" >&5
18487 sed 's/^/| /' conftest.$ac_ext >&5
18488
18489 ac_lo=`expr '(' $ac_mid ')' + 1`
18490 fi
18491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18492 done
18493 case $ac_lo in
18494 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18495 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18496 See \`config.log' for more details." >&5
18497 echo "$as_me: error: cannot compute sizeof (long long), 77
18498 See \`config.log' for more details." >&2;}
18499 { (exit 1); exit 1; }; } ;;
18500 esac
18501 else
18502 if test "$cross_compiling" = yes; then
18503 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18504 See \`config.log' for more details." >&5
18505 echo "$as_me: error: cannot run test program while cross compiling
18506 See \`config.log' for more details." >&2;}
18507 { (exit 1); exit 1; }; }
18508 else
18509 cat >conftest.$ac_ext <<_ACEOF
18510 /* confdefs.h. */
18511 _ACEOF
18512 cat confdefs.h >>conftest.$ac_ext
18513 cat >>conftest.$ac_ext <<_ACEOF
18514 /* end confdefs.h. */
18515 $ac_includes_default
18516 long longval () { return (long) (sizeof (long long)); }
18517 unsigned long ulongval () { return (long) (sizeof (long long)); }
18518 #include <stdio.h>
18519 #include <stdlib.h>
18520 int
18521 main ()
18522 {
18523
18524 FILE *f = fopen ("conftest.val", "w");
18525 if (! f)
18526 exit (1);
18527 if (((long) (sizeof (long long))) < 0)
18528 {
18529 long i = longval ();
18530 if (i != ((long) (sizeof (long long))))
18531 exit (1);
18532 fprintf (f, "%ld\n", i);
18533 }
18534 else
18535 {
18536 unsigned long i = ulongval ();
18537 if (i != ((long) (sizeof (long long))))
18538 exit (1);
18539 fprintf (f, "%lu\n", i);
18540 }
18541 exit (ferror (f) || fclose (f) != 0);
18542
18543 ;
18544 return 0;
18545 }
18546 _ACEOF
18547 rm -f conftest$ac_exeext
18548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18549 (eval $ac_link) 2>&5
18550 ac_status=$?
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18554 (eval $ac_try) 2>&5
18555 ac_status=$?
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); }; }; then
18558 ac_cv_sizeof_long_long=`cat conftest.val`
18559 else
18560 echo "$as_me: program exited with status $ac_status" >&5
18561 echo "$as_me: failed program was:" >&5
18562 sed 's/^/| /' conftest.$ac_ext >&5
18563
18564 ( exit $ac_status )
18565 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18566 See \`config.log' for more details." >&5
18567 echo "$as_me: error: cannot compute sizeof (long long), 77
18568 See \`config.log' for more details." >&2;}
18569 { (exit 1); exit 1; }; }
18570 fi
18571 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18572 fi
18573 fi
18574 rm -f conftest.val
18575 else
18576 ac_cv_sizeof_long_long=0
18577 fi
18578 fi
18579 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18580 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18581 cat >>confdefs.h <<_ACEOF
18582 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18583 _ACEOF
18584
18585
18586 ;;
18587 *-hp-hpux* )
18588 echo "$as_me:$LINENO: checking for long long" >&5
18589 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18590 if test "${ac_cv_type_long_long+set}" = set; then
18591 echo $ECHO_N "(cached) $ECHO_C" >&6
18592 else
18593 cat >conftest.$ac_ext <<_ACEOF
18594 /* confdefs.h. */
18595 _ACEOF
18596 cat confdefs.h >>conftest.$ac_ext
18597 cat >>conftest.$ac_ext <<_ACEOF
18598 /* end confdefs.h. */
18599 $ac_includes_default
18600 int
18601 main ()
18602 {
18603 if ((long long *) 0)
18604 return 0;
18605 if (sizeof (long long))
18606 return 0;
18607 ;
18608 return 0;
18609 }
18610 _ACEOF
18611 rm -f conftest.$ac_objext
18612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18613 (eval $ac_compile) 2>conftest.er1
18614 ac_status=$?
18615 grep -v '^ *+' conftest.er1 >conftest.err
18616 rm -f conftest.er1
18617 cat conftest.err >&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); } &&
18620 { ac_try='test -z "$ac_c_werror_flag"
18621 || test ! -s conftest.err'
18622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18623 (eval $ac_try) 2>&5
18624 ac_status=$?
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); }; } &&
18627 { ac_try='test -s conftest.$ac_objext'
18628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18629 (eval $ac_try) 2>&5
18630 ac_status=$?
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; }; then
18633 ac_cv_type_long_long=yes
18634 else
18635 echo "$as_me: failed program was:" >&5
18636 sed 's/^/| /' conftest.$ac_ext >&5
18637
18638 ac_cv_type_long_long=no
18639 fi
18640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18641 fi
18642 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18643 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18644
18645 echo "$as_me:$LINENO: checking size of long long" >&5
18646 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18647 if test "${ac_cv_sizeof_long_long+set}" = set; then
18648 echo $ECHO_N "(cached) $ECHO_C" >&6
18649 else
18650 if test "$ac_cv_type_long_long" = yes; then
18651 # The cast to unsigned long works around a bug in the HP C Compiler
18652 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18653 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18654 # This bug is HP SR number 8606223364.
18655 if test "$cross_compiling" = yes; then
18656 # Depending upon the size, compute the lo and hi bounds.
18657 cat >conftest.$ac_ext <<_ACEOF
18658 /* confdefs.h. */
18659 _ACEOF
18660 cat confdefs.h >>conftest.$ac_ext
18661 cat >>conftest.$ac_ext <<_ACEOF
18662 /* end confdefs.h. */
18663 $ac_includes_default
18664 int
18665 main ()
18666 {
18667 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18668 test_array [0] = 0
18669
18670 ;
18671 return 0;
18672 }
18673 _ACEOF
18674 rm -f conftest.$ac_objext
18675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18676 (eval $ac_compile) 2>conftest.er1
18677 ac_status=$?
18678 grep -v '^ *+' conftest.er1 >conftest.err
18679 rm -f conftest.er1
18680 cat conftest.err >&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } &&
18683 { ac_try='test -z "$ac_c_werror_flag"
18684 || test ! -s conftest.err'
18685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18686 (eval $ac_try) 2>&5
18687 ac_status=$?
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); }; } &&
18690 { ac_try='test -s conftest.$ac_objext'
18691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18692 (eval $ac_try) 2>&5
18693 ac_status=$?
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); }; }; then
18696 ac_lo=0 ac_mid=0
18697 while :; do
18698 cat >conftest.$ac_ext <<_ACEOF
18699 /* confdefs.h. */
18700 _ACEOF
18701 cat confdefs.h >>conftest.$ac_ext
18702 cat >>conftest.$ac_ext <<_ACEOF
18703 /* end confdefs.h. */
18704 $ac_includes_default
18705 int
18706 main ()
18707 {
18708 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18709 test_array [0] = 0
18710
18711 ;
18712 return 0;
18713 }
18714 _ACEOF
18715 rm -f conftest.$ac_objext
18716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18717 (eval $ac_compile) 2>conftest.er1
18718 ac_status=$?
18719 grep -v '^ *+' conftest.er1 >conftest.err
18720 rm -f conftest.er1
18721 cat conftest.err >&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } &&
18724 { ac_try='test -z "$ac_c_werror_flag"
18725 || test ! -s conftest.err'
18726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18727 (eval $ac_try) 2>&5
18728 ac_status=$?
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); }; } &&
18731 { ac_try='test -s conftest.$ac_objext'
18732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18733 (eval $ac_try) 2>&5
18734 ac_status=$?
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); }; }; then
18737 ac_hi=$ac_mid; break
18738 else
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.$ac_ext >&5
18741
18742 ac_lo=`expr $ac_mid + 1`
18743 if test $ac_lo -le $ac_mid; then
18744 ac_lo= ac_hi=
18745 break
18746 fi
18747 ac_mid=`expr 2 '*' $ac_mid + 1`
18748 fi
18749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18750 done
18751 else
18752 echo "$as_me: failed program was:" >&5
18753 sed 's/^/| /' conftest.$ac_ext >&5
18754
18755 cat >conftest.$ac_ext <<_ACEOF
18756 /* confdefs.h. */
18757 _ACEOF
18758 cat confdefs.h >>conftest.$ac_ext
18759 cat >>conftest.$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18761 $ac_includes_default
18762 int
18763 main ()
18764 {
18765 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18766 test_array [0] = 0
18767
18768 ;
18769 return 0;
18770 }
18771 _ACEOF
18772 rm -f conftest.$ac_objext
18773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18774 (eval $ac_compile) 2>conftest.er1
18775 ac_status=$?
18776 grep -v '^ *+' conftest.er1 >conftest.err
18777 rm -f conftest.er1
18778 cat conftest.err >&5
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); } &&
18781 { ac_try='test -z "$ac_c_werror_flag"
18782 || test ! -s conftest.err'
18783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18784 (eval $ac_try) 2>&5
18785 ac_status=$?
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); }; } &&
18788 { ac_try='test -s conftest.$ac_objext'
18789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790 (eval $ac_try) 2>&5
18791 ac_status=$?
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; }; then
18794 ac_hi=-1 ac_mid=-1
18795 while :; do
18796 cat >conftest.$ac_ext <<_ACEOF
18797 /* confdefs.h. */
18798 _ACEOF
18799 cat confdefs.h >>conftest.$ac_ext
18800 cat >>conftest.$ac_ext <<_ACEOF
18801 /* end confdefs.h. */
18802 $ac_includes_default
18803 int
18804 main ()
18805 {
18806 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18807 test_array [0] = 0
18808
18809 ;
18810 return 0;
18811 }
18812 _ACEOF
18813 rm -f conftest.$ac_objext
18814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18815 (eval $ac_compile) 2>conftest.er1
18816 ac_status=$?
18817 grep -v '^ *+' conftest.er1 >conftest.err
18818 rm -f conftest.er1
18819 cat conftest.err >&5
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); } &&
18822 { ac_try='test -z "$ac_c_werror_flag"
18823 || test ! -s conftest.err'
18824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18825 (eval $ac_try) 2>&5
18826 ac_status=$?
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); }; } &&
18829 { ac_try='test -s conftest.$ac_objext'
18830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18831 (eval $ac_try) 2>&5
18832 ac_status=$?
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); }; }; then
18835 ac_lo=$ac_mid; break
18836 else
18837 echo "$as_me: failed program was:" >&5
18838 sed 's/^/| /' conftest.$ac_ext >&5
18839
18840 ac_hi=`expr '(' $ac_mid ')' - 1`
18841 if test $ac_mid -le $ac_hi; then
18842 ac_lo= ac_hi=
18843 break
18844 fi
18845 ac_mid=`expr 2 '*' $ac_mid`
18846 fi
18847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18848 done
18849 else
18850 echo "$as_me: failed program was:" >&5
18851 sed 's/^/| /' conftest.$ac_ext >&5
18852
18853 ac_lo= ac_hi=
18854 fi
18855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18856 fi
18857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18858 # Binary search between lo and hi bounds.
18859 while test "x$ac_lo" != "x$ac_hi"; do
18860 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18861 cat >conftest.$ac_ext <<_ACEOF
18862 /* confdefs.h. */
18863 _ACEOF
18864 cat confdefs.h >>conftest.$ac_ext
18865 cat >>conftest.$ac_ext <<_ACEOF
18866 /* end confdefs.h. */
18867 $ac_includes_default
18868 int
18869 main ()
18870 {
18871 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18872 test_array [0] = 0
18873
18874 ;
18875 return 0;
18876 }
18877 _ACEOF
18878 rm -f conftest.$ac_objext
18879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18880 (eval $ac_compile) 2>conftest.er1
18881 ac_status=$?
18882 grep -v '^ *+' conftest.er1 >conftest.err
18883 rm -f conftest.er1
18884 cat conftest.err >&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); } &&
18887 { ac_try='test -z "$ac_c_werror_flag"
18888 || test ! -s conftest.err'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18891 ac_status=$?
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; } &&
18894 { ac_try='test -s conftest.$ac_objext'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18897 ac_status=$?
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; }; then
18900 ac_hi=$ac_mid
18901 else
18902 echo "$as_me: failed program was:" >&5
18903 sed 's/^/| /' conftest.$ac_ext >&5
18904
18905 ac_lo=`expr '(' $ac_mid ')' + 1`
18906 fi
18907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18908 done
18909 case $ac_lo in
18910 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18911 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18912 See \`config.log' for more details." >&5
18913 echo "$as_me: error: cannot compute sizeof (long long), 77
18914 See \`config.log' for more details." >&2;}
18915 { (exit 1); exit 1; }; } ;;
18916 esac
18917 else
18918 if test "$cross_compiling" = yes; then
18919 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18920 See \`config.log' for more details." >&5
18921 echo "$as_me: error: cannot run test program while cross compiling
18922 See \`config.log' for more details." >&2;}
18923 { (exit 1); exit 1; }; }
18924 else
18925 cat >conftest.$ac_ext <<_ACEOF
18926 /* confdefs.h. */
18927 _ACEOF
18928 cat confdefs.h >>conftest.$ac_ext
18929 cat >>conftest.$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 $ac_includes_default
18932 long longval () { return (long) (sizeof (long long)); }
18933 unsigned long ulongval () { return (long) (sizeof (long long)); }
18934 #include <stdio.h>
18935 #include <stdlib.h>
18936 int
18937 main ()
18938 {
18939
18940 FILE *f = fopen ("conftest.val", "w");
18941 if (! f)
18942 exit (1);
18943 if (((long) (sizeof (long long))) < 0)
18944 {
18945 long i = longval ();
18946 if (i != ((long) (sizeof (long long))))
18947 exit (1);
18948 fprintf (f, "%ld\n", i);
18949 }
18950 else
18951 {
18952 unsigned long i = ulongval ();
18953 if (i != ((long) (sizeof (long long))))
18954 exit (1);
18955 fprintf (f, "%lu\n", i);
18956 }
18957 exit (ferror (f) || fclose (f) != 0);
18958
18959 ;
18960 return 0;
18961 }
18962 _ACEOF
18963 rm -f conftest$ac_exeext
18964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18965 (eval $ac_link) 2>&5
18966 ac_status=$?
18967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18970 (eval $ac_try) 2>&5
18971 ac_status=$?
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); }; }; then
18974 ac_cv_sizeof_long_long=`cat conftest.val`
18975 else
18976 echo "$as_me: program exited with status $ac_status" >&5
18977 echo "$as_me: failed program was:" >&5
18978 sed 's/^/| /' conftest.$ac_ext >&5
18979
18980 ( exit $ac_status )
18981 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18982 See \`config.log' for more details." >&5
18983 echo "$as_me: error: cannot compute sizeof (long long), 77
18984 See \`config.log' for more details." >&2;}
18985 { (exit 1); exit 1; }; }
18986 fi
18987 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18988 fi
18989 fi
18990 rm -f conftest.val
18991 else
18992 ac_cv_sizeof_long_long=0
18993 fi
18994 fi
18995 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18996 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18997 cat >>confdefs.h <<_ACEOF
18998 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18999 _ACEOF
19000
19001
19002 if test "$ac_cv_sizeof_long_long" != "0"; then
19003 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
19004 fi
19005 ;;
19006 * )
19007 echo "$as_me:$LINENO: checking for long long" >&5
19008 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19009 if test "${ac_cv_type_long_long+set}" = set; then
19010 echo $ECHO_N "(cached) $ECHO_C" >&6
19011 else
19012 cat >conftest.$ac_ext <<_ACEOF
19013 /* confdefs.h. */
19014 _ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19018 $ac_includes_default
19019 int
19020 main ()
19021 {
19022 if ((long long *) 0)
19023 return 0;
19024 if (sizeof (long long))
19025 return 0;
19026 ;
19027 return 0;
19028 }
19029 _ACEOF
19030 rm -f conftest.$ac_objext
19031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19032 (eval $ac_compile) 2>conftest.er1
19033 ac_status=$?
19034 grep -v '^ *+' conftest.er1 >conftest.err
19035 rm -f conftest.er1
19036 cat conftest.err >&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } &&
19039 { ac_try='test -z "$ac_c_werror_flag"
19040 || test ! -s conftest.err'
19041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19042 (eval $ac_try) 2>&5
19043 ac_status=$?
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; } &&
19046 { ac_try='test -s conftest.$ac_objext'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19049 ac_status=$?
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; }; then
19052 ac_cv_type_long_long=yes
19053 else
19054 echo "$as_me: failed program was:" >&5
19055 sed 's/^/| /' conftest.$ac_ext >&5
19056
19057 ac_cv_type_long_long=no
19058 fi
19059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19060 fi
19061 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19062 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19063
19064 echo "$as_me:$LINENO: checking size of long long" >&5
19065 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19066 if test "${ac_cv_sizeof_long_long+set}" = set; then
19067 echo $ECHO_N "(cached) $ECHO_C" >&6
19068 else
19069 if test "$ac_cv_type_long_long" = yes; then
19070 # The cast to unsigned long works around a bug in the HP C Compiler
19071 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19072 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19073 # This bug is HP SR number 8606223364.
19074 if test "$cross_compiling" = yes; then
19075 # Depending upon the size, compute the lo and hi bounds.
19076 cat >conftest.$ac_ext <<_ACEOF
19077 /* confdefs.h. */
19078 _ACEOF
19079 cat confdefs.h >>conftest.$ac_ext
19080 cat >>conftest.$ac_ext <<_ACEOF
19081 /* end confdefs.h. */
19082 $ac_includes_default
19083 int
19084 main ()
19085 {
19086 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19087 test_array [0] = 0
19088
19089 ;
19090 return 0;
19091 }
19092 _ACEOF
19093 rm -f conftest.$ac_objext
19094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19095 (eval $ac_compile) 2>conftest.er1
19096 ac_status=$?
19097 grep -v '^ *+' conftest.er1 >conftest.err
19098 rm -f conftest.er1
19099 cat conftest.err >&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); } &&
19102 { ac_try='test -z "$ac_c_werror_flag"
19103 || test ! -s conftest.err'
19104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105 (eval $ac_try) 2>&5
19106 ac_status=$?
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); }; } &&
19109 { ac_try='test -s conftest.$ac_objext'
19110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19111 (eval $ac_try) 2>&5
19112 ac_status=$?
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); }; }; then
19115 ac_lo=0 ac_mid=0
19116 while :; do
19117 cat >conftest.$ac_ext <<_ACEOF
19118 /* confdefs.h. */
19119 _ACEOF
19120 cat confdefs.h >>conftest.$ac_ext
19121 cat >>conftest.$ac_ext <<_ACEOF
19122 /* end confdefs.h. */
19123 $ac_includes_default
19124 int
19125 main ()
19126 {
19127 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19128 test_array [0] = 0
19129
19130 ;
19131 return 0;
19132 }
19133 _ACEOF
19134 rm -f conftest.$ac_objext
19135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19136 (eval $ac_compile) 2>conftest.er1
19137 ac_status=$?
19138 grep -v '^ *+' conftest.er1 >conftest.err
19139 rm -f conftest.er1
19140 cat conftest.err >&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } &&
19143 { ac_try='test -z "$ac_c_werror_flag"
19144 || test ! -s conftest.err'
19145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19146 (eval $ac_try) 2>&5
19147 ac_status=$?
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); }; } &&
19150 { ac_try='test -s conftest.$ac_objext'
19151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19152 (eval $ac_try) 2>&5
19153 ac_status=$?
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); }; }; then
19156 ac_hi=$ac_mid; break
19157 else
19158 echo "$as_me: failed program was:" >&5
19159 sed 's/^/| /' conftest.$ac_ext >&5
19160
19161 ac_lo=`expr $ac_mid + 1`
19162 if test $ac_lo -le $ac_mid; then
19163 ac_lo= ac_hi=
19164 break
19165 fi
19166 ac_mid=`expr 2 '*' $ac_mid + 1`
19167 fi
19168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19169 done
19170 else
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.$ac_ext >&5
19173
19174 cat >conftest.$ac_ext <<_ACEOF
19175 /* confdefs.h. */
19176 _ACEOF
19177 cat confdefs.h >>conftest.$ac_ext
19178 cat >>conftest.$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19180 $ac_includes_default
19181 int
19182 main ()
19183 {
19184 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19185 test_array [0] = 0
19186
19187 ;
19188 return 0;
19189 }
19190 _ACEOF
19191 rm -f conftest.$ac_objext
19192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19193 (eval $ac_compile) 2>conftest.er1
19194 ac_status=$?
19195 grep -v '^ *+' conftest.er1 >conftest.err
19196 rm -f conftest.er1
19197 cat conftest.err >&5
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199 (exit $ac_status); } &&
19200 { ac_try='test -z "$ac_c_werror_flag"
19201 || test ! -s conftest.err'
19202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19203 (eval $ac_try) 2>&5
19204 ac_status=$?
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); }; } &&
19207 { ac_try='test -s conftest.$ac_objext'
19208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19209 (eval $ac_try) 2>&5
19210 ac_status=$?
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); }; }; then
19213 ac_hi=-1 ac_mid=-1
19214 while :; do
19215 cat >conftest.$ac_ext <<_ACEOF
19216 /* confdefs.h. */
19217 _ACEOF
19218 cat confdefs.h >>conftest.$ac_ext
19219 cat >>conftest.$ac_ext <<_ACEOF
19220 /* end confdefs.h. */
19221 $ac_includes_default
19222 int
19223 main ()
19224 {
19225 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19226 test_array [0] = 0
19227
19228 ;
19229 return 0;
19230 }
19231 _ACEOF
19232 rm -f conftest.$ac_objext
19233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19234 (eval $ac_compile) 2>conftest.er1
19235 ac_status=$?
19236 grep -v '^ *+' conftest.er1 >conftest.err
19237 rm -f conftest.er1
19238 cat conftest.err >&5
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); } &&
19241 { ac_try='test -z "$ac_c_werror_flag"
19242 || test ! -s conftest.err'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19245 ac_status=$?
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; } &&
19248 { ac_try='test -s conftest.$ac_objext'
19249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19250 (eval $ac_try) 2>&5
19251 ac_status=$?
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); }; }; then
19254 ac_lo=$ac_mid; break
19255 else
19256 echo "$as_me: failed program was:" >&5
19257 sed 's/^/| /' conftest.$ac_ext >&5
19258
19259 ac_hi=`expr '(' $ac_mid ')' - 1`
19260 if test $ac_mid -le $ac_hi; then
19261 ac_lo= ac_hi=
19262 break
19263 fi
19264 ac_mid=`expr 2 '*' $ac_mid`
19265 fi
19266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19267 done
19268 else
19269 echo "$as_me: failed program was:" >&5
19270 sed 's/^/| /' conftest.$ac_ext >&5
19271
19272 ac_lo= ac_hi=
19273 fi
19274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19275 fi
19276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19277 # Binary search between lo and hi bounds.
19278 while test "x$ac_lo" != "x$ac_hi"; do
19279 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19280 cat >conftest.$ac_ext <<_ACEOF
19281 /* confdefs.h. */
19282 _ACEOF
19283 cat confdefs.h >>conftest.$ac_ext
19284 cat >>conftest.$ac_ext <<_ACEOF
19285 /* end confdefs.h. */
19286 $ac_includes_default
19287 int
19288 main ()
19289 {
19290 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19291 test_array [0] = 0
19292
19293 ;
19294 return 0;
19295 }
19296 _ACEOF
19297 rm -f conftest.$ac_objext
19298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19299 (eval $ac_compile) 2>conftest.er1
19300 ac_status=$?
19301 grep -v '^ *+' conftest.er1 >conftest.err
19302 rm -f conftest.er1
19303 cat conftest.err >&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); } &&
19306 { ac_try='test -z "$ac_c_werror_flag"
19307 || test ! -s conftest.err'
19308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19309 (eval $ac_try) 2>&5
19310 ac_status=$?
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); }; } &&
19313 { ac_try='test -s conftest.$ac_objext'
19314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19315 (eval $ac_try) 2>&5
19316 ac_status=$?
19317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318 (exit $ac_status); }; }; then
19319 ac_hi=$ac_mid
19320 else
19321 echo "$as_me: failed program was:" >&5
19322 sed 's/^/| /' conftest.$ac_ext >&5
19323
19324 ac_lo=`expr '(' $ac_mid ')' + 1`
19325 fi
19326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19327 done
19328 case $ac_lo in
19329 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19330 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19331 See \`config.log' for more details." >&5
19332 echo "$as_me: error: cannot compute sizeof (long long), 77
19333 See \`config.log' for more details." >&2;}
19334 { (exit 1); exit 1; }; } ;;
19335 esac
19336 else
19337 if test "$cross_compiling" = yes; then
19338 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19339 See \`config.log' for more details." >&5
19340 echo "$as_me: error: cannot run test program while cross compiling
19341 See \`config.log' for more details." >&2;}
19342 { (exit 1); exit 1; }; }
19343 else
19344 cat >conftest.$ac_ext <<_ACEOF
19345 /* confdefs.h. */
19346 _ACEOF
19347 cat confdefs.h >>conftest.$ac_ext
19348 cat >>conftest.$ac_ext <<_ACEOF
19349 /* end confdefs.h. */
19350 $ac_includes_default
19351 long longval () { return (long) (sizeof (long long)); }
19352 unsigned long ulongval () { return (long) (sizeof (long long)); }
19353 #include <stdio.h>
19354 #include <stdlib.h>
19355 int
19356 main ()
19357 {
19358
19359 FILE *f = fopen ("conftest.val", "w");
19360 if (! f)
19361 exit (1);
19362 if (((long) (sizeof (long long))) < 0)
19363 {
19364 long i = longval ();
19365 if (i != ((long) (sizeof (long long))))
19366 exit (1);
19367 fprintf (f, "%ld\n", i);
19368 }
19369 else
19370 {
19371 unsigned long i = ulongval ();
19372 if (i != ((long) (sizeof (long long))))
19373 exit (1);
19374 fprintf (f, "%lu\n", i);
19375 }
19376 exit (ferror (f) || fclose (f) != 0);
19377
19378 ;
19379 return 0;
19380 }
19381 _ACEOF
19382 rm -f conftest$ac_exeext
19383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19384 (eval $ac_link) 2>&5
19385 ac_status=$?
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19389 (eval $ac_try) 2>&5
19390 ac_status=$?
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); }; }; then
19393 ac_cv_sizeof_long_long=`cat conftest.val`
19394 else
19395 echo "$as_me: program exited with status $ac_status" >&5
19396 echo "$as_me: failed program was:" >&5
19397 sed 's/^/| /' conftest.$ac_ext >&5
19398
19399 ( exit $ac_status )
19400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19401 See \`config.log' for more details." >&5
19402 echo "$as_me: error: cannot compute sizeof (long long), 77
19403 See \`config.log' for more details." >&2;}
19404 { (exit 1); exit 1; }; }
19405 fi
19406 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19407 fi
19408 fi
19409 rm -f conftest.val
19410 else
19411 ac_cv_sizeof_long_long=0
19412 fi
19413 fi
19414 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19415 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19416 cat >>confdefs.h <<_ACEOF
19417 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19418 _ACEOF
19419
19420
19421 esac
19422
19423 echo "$as_me:$LINENO: checking for wchar_t" >&5
19424 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19425 if test "${ac_cv_type_wchar_t+set}" = set; then
19426 echo $ECHO_N "(cached) $ECHO_C" >&6
19427 else
19428 cat >conftest.$ac_ext <<_ACEOF
19429 /* confdefs.h. */
19430 _ACEOF
19431 cat confdefs.h >>conftest.$ac_ext
19432 cat >>conftest.$ac_ext <<_ACEOF
19433 /* end confdefs.h. */
19434
19435 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19436 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19437 # error "fake wchar_t"
19438 #endif
19439 #ifdef HAVE_WCHAR_H
19440 # ifdef __CYGWIN__
19441 # include <stddef.h>
19442 # endif
19443 # include <wchar.h>
19444 #endif
19445 #ifdef HAVE_STDLIB_H
19446 # include <stdlib.h>
19447 #endif
19448 #include <stdio.h>
19449
19450
19451
19452 int
19453 main ()
19454 {
19455 if ((wchar_t *) 0)
19456 return 0;
19457 if (sizeof (wchar_t))
19458 return 0;
19459 ;
19460 return 0;
19461 }
19462 _ACEOF
19463 rm -f conftest.$ac_objext
19464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19465 (eval $ac_compile) 2>conftest.er1
19466 ac_status=$?
19467 grep -v '^ *+' conftest.er1 >conftest.err
19468 rm -f conftest.er1
19469 cat conftest.err >&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } &&
19472 { ac_try='test -z "$ac_c_werror_flag"
19473 || test ! -s conftest.err'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19476 ac_status=$?
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; } &&
19479 { ac_try='test -s conftest.$ac_objext'
19480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19481 (eval $ac_try) 2>&5
19482 ac_status=$?
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); }; }; then
19485 ac_cv_type_wchar_t=yes
19486 else
19487 echo "$as_me: failed program was:" >&5
19488 sed 's/^/| /' conftest.$ac_ext >&5
19489
19490 ac_cv_type_wchar_t=no
19491 fi
19492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19493 fi
19494 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19495 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19496
19497 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19498 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19499 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19500 echo $ECHO_N "(cached) $ECHO_C" >&6
19501 else
19502 if test "$ac_cv_type_wchar_t" = yes; then
19503 # The cast to unsigned long works around a bug in the HP C Compiler
19504 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19505 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19506 # This bug is HP SR number 8606223364.
19507 if test "$cross_compiling" = yes; then
19508 # Depending upon the size, compute the lo and hi bounds.
19509 cat >conftest.$ac_ext <<_ACEOF
19510 /* confdefs.h. */
19511 _ACEOF
19512 cat confdefs.h >>conftest.$ac_ext
19513 cat >>conftest.$ac_ext <<_ACEOF
19514 /* end confdefs.h. */
19515
19516 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19517 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19518 # error "fake wchar_t"
19519 #endif
19520 #ifdef HAVE_WCHAR_H
19521 # ifdef __CYGWIN__
19522 # include <stddef.h>
19523 # endif
19524 # include <wchar.h>
19525 #endif
19526 #ifdef HAVE_STDLIB_H
19527 # include <stdlib.h>
19528 #endif
19529 #include <stdio.h>
19530
19531
19532
19533 int
19534 main ()
19535 {
19536 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19537 test_array [0] = 0
19538
19539 ;
19540 return 0;
19541 }
19542 _ACEOF
19543 rm -f conftest.$ac_objext
19544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19545 (eval $ac_compile) 2>conftest.er1
19546 ac_status=$?
19547 grep -v '^ *+' conftest.er1 >conftest.err
19548 rm -f conftest.er1
19549 cat conftest.err >&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } &&
19552 { ac_try='test -z "$ac_c_werror_flag"
19553 || test ! -s conftest.err'
19554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555 (eval $ac_try) 2>&5
19556 ac_status=$?
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); }; } &&
19559 { ac_try='test -s conftest.$ac_objext'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19562 ac_status=$?
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; }; then
19565 ac_lo=0 ac_mid=0
19566 while :; do
19567 cat >conftest.$ac_ext <<_ACEOF
19568 /* confdefs.h. */
19569 _ACEOF
19570 cat confdefs.h >>conftest.$ac_ext
19571 cat >>conftest.$ac_ext <<_ACEOF
19572 /* end confdefs.h. */
19573
19574 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19575 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19576 # error "fake wchar_t"
19577 #endif
19578 #ifdef HAVE_WCHAR_H
19579 # ifdef __CYGWIN__
19580 # include <stddef.h>
19581 # endif
19582 # include <wchar.h>
19583 #endif
19584 #ifdef HAVE_STDLIB_H
19585 # include <stdlib.h>
19586 #endif
19587 #include <stdio.h>
19588
19589
19590
19591 int
19592 main ()
19593 {
19594 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19595 test_array [0] = 0
19596
19597 ;
19598 return 0;
19599 }
19600 _ACEOF
19601 rm -f conftest.$ac_objext
19602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19603 (eval $ac_compile) 2>conftest.er1
19604 ac_status=$?
19605 grep -v '^ *+' conftest.er1 >conftest.err
19606 rm -f conftest.er1
19607 cat conftest.err >&5
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); } &&
19610 { ac_try='test -z "$ac_c_werror_flag"
19611 || test ! -s conftest.err'
19612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19613 (eval $ac_try) 2>&5
19614 ac_status=$?
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); }; } &&
19617 { ac_try='test -s conftest.$ac_objext'
19618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19619 (eval $ac_try) 2>&5
19620 ac_status=$?
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); }; }; then
19623 ac_hi=$ac_mid; break
19624 else
19625 echo "$as_me: failed program was:" >&5
19626 sed 's/^/| /' conftest.$ac_ext >&5
19627
19628 ac_lo=`expr $ac_mid + 1`
19629 if test $ac_lo -le $ac_mid; then
19630 ac_lo= ac_hi=
19631 break
19632 fi
19633 ac_mid=`expr 2 '*' $ac_mid + 1`
19634 fi
19635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19636 done
19637 else
19638 echo "$as_me: failed program was:" >&5
19639 sed 's/^/| /' conftest.$ac_ext >&5
19640
19641 cat >conftest.$ac_ext <<_ACEOF
19642 /* confdefs.h. */
19643 _ACEOF
19644 cat confdefs.h >>conftest.$ac_ext
19645 cat >>conftest.$ac_ext <<_ACEOF
19646 /* end confdefs.h. */
19647
19648 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19649 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19650 # error "fake wchar_t"
19651 #endif
19652 #ifdef HAVE_WCHAR_H
19653 # ifdef __CYGWIN__
19654 # include <stddef.h>
19655 # endif
19656 # include <wchar.h>
19657 #endif
19658 #ifdef HAVE_STDLIB_H
19659 # include <stdlib.h>
19660 #endif
19661 #include <stdio.h>
19662
19663
19664
19665 int
19666 main ()
19667 {
19668 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19669 test_array [0] = 0
19670
19671 ;
19672 return 0;
19673 }
19674 _ACEOF
19675 rm -f conftest.$ac_objext
19676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19677 (eval $ac_compile) 2>conftest.er1
19678 ac_status=$?
19679 grep -v '^ *+' conftest.er1 >conftest.err
19680 rm -f conftest.er1
19681 cat conftest.err >&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); } &&
19684 { ac_try='test -z "$ac_c_werror_flag"
19685 || test ! -s conftest.err'
19686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19687 (eval $ac_try) 2>&5
19688 ac_status=$?
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); }; } &&
19691 { ac_try='test -s conftest.$ac_objext'
19692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19693 (eval $ac_try) 2>&5
19694 ac_status=$?
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); }; }; then
19697 ac_hi=-1 ac_mid=-1
19698 while :; do
19699 cat >conftest.$ac_ext <<_ACEOF
19700 /* confdefs.h. */
19701 _ACEOF
19702 cat confdefs.h >>conftest.$ac_ext
19703 cat >>conftest.$ac_ext <<_ACEOF
19704 /* end confdefs.h. */
19705
19706 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19707 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19708 # error "fake wchar_t"
19709 #endif
19710 #ifdef HAVE_WCHAR_H
19711 # ifdef __CYGWIN__
19712 # include <stddef.h>
19713 # endif
19714 # include <wchar.h>
19715 #endif
19716 #ifdef HAVE_STDLIB_H
19717 # include <stdlib.h>
19718 #endif
19719 #include <stdio.h>
19720
19721
19722
19723 int
19724 main ()
19725 {
19726 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19727 test_array [0] = 0
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"
19743 || test ! -s conftest.err'
19744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745 (eval $ac_try) 2>&5
19746 ac_status=$?
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; } &&
19749 { ac_try='test -s conftest.$ac_objext'
19750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19751 (eval $ac_try) 2>&5
19752 ac_status=$?
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; }; then
19755 ac_lo=$ac_mid; break
19756 else
19757 echo "$as_me: failed program was:" >&5
19758 sed 's/^/| /' conftest.$ac_ext >&5
19759
19760 ac_hi=`expr '(' $ac_mid ')' - 1`
19761 if test $ac_mid -le $ac_hi; then
19762 ac_lo= ac_hi=
19763 break
19764 fi
19765 ac_mid=`expr 2 '*' $ac_mid`
19766 fi
19767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19768 done
19769 else
19770 echo "$as_me: failed program was:" >&5
19771 sed 's/^/| /' conftest.$ac_ext >&5
19772
19773 ac_lo= ac_hi=
19774 fi
19775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19776 fi
19777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19778 # Binary search between lo and hi bounds.
19779 while test "x$ac_lo" != "x$ac_hi"; do
19780 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19781 cat >conftest.$ac_ext <<_ACEOF
19782 /* confdefs.h. */
19783 _ACEOF
19784 cat confdefs.h >>conftest.$ac_ext
19785 cat >>conftest.$ac_ext <<_ACEOF
19786 /* end confdefs.h. */
19787
19788 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19789 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19790 # error "fake wchar_t"
19791 #endif
19792 #ifdef HAVE_WCHAR_H
19793 # ifdef __CYGWIN__
19794 # include <stddef.h>
19795 # endif
19796 # include <wchar.h>
19797 #endif
19798 #ifdef HAVE_STDLIB_H
19799 # include <stdlib.h>
19800 #endif
19801 #include <stdio.h>
19802
19803
19804
19805 int
19806 main ()
19807 {
19808 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19809 test_array [0] = 0
19810
19811 ;
19812 return 0;
19813 }
19814 _ACEOF
19815 rm -f conftest.$ac_objext
19816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19817 (eval $ac_compile) 2>conftest.er1
19818 ac_status=$?
19819 grep -v '^ *+' conftest.er1 >conftest.err
19820 rm -f conftest.er1
19821 cat conftest.err >&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); } &&
19824 { ac_try='test -z "$ac_c_werror_flag"
19825 || test ! -s conftest.err'
19826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19827 (eval $ac_try) 2>&5
19828 ac_status=$?
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); }; } &&
19831 { ac_try='test -s conftest.$ac_objext'
19832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19833 (eval $ac_try) 2>&5
19834 ac_status=$?
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); }; }; then
19837 ac_hi=$ac_mid
19838 else
19839 echo "$as_me: failed program was:" >&5
19840 sed 's/^/| /' conftest.$ac_ext >&5
19841
19842 ac_lo=`expr '(' $ac_mid ')' + 1`
19843 fi
19844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19845 done
19846 case $ac_lo in
19847 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
19848 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19849 See \`config.log' for more details." >&5
19850 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19851 See \`config.log' for more details." >&2;}
19852 { (exit 1); exit 1; }; } ;;
19853 esac
19854 else
19855 if test "$cross_compiling" = yes; then
19856 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19857 See \`config.log' for more details." >&5
19858 echo "$as_me: error: cannot run test program while cross compiling
19859 See \`config.log' for more details." >&2;}
19860 { (exit 1); exit 1; }; }
19861 else
19862 cat >conftest.$ac_ext <<_ACEOF
19863 /* confdefs.h. */
19864 _ACEOF
19865 cat confdefs.h >>conftest.$ac_ext
19866 cat >>conftest.$ac_ext <<_ACEOF
19867 /* end confdefs.h. */
19868
19869 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19870 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19871 # error "fake wchar_t"
19872 #endif
19873 #ifdef HAVE_WCHAR_H
19874 # ifdef __CYGWIN__
19875 # include <stddef.h>
19876 # endif
19877 # include <wchar.h>
19878 #endif
19879 #ifdef HAVE_STDLIB_H
19880 # include <stdlib.h>
19881 #endif
19882 #include <stdio.h>
19883
19884
19885
19886 long longval () { return (long) (sizeof (wchar_t)); }
19887 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19888 #include <stdio.h>
19889 #include <stdlib.h>
19890 int
19891 main ()
19892 {
19893
19894 FILE *f = fopen ("conftest.val", "w");
19895 if (! f)
19896 exit (1);
19897 if (((long) (sizeof (wchar_t))) < 0)
19898 {
19899 long i = longval ();
19900 if (i != ((long) (sizeof (wchar_t))))
19901 exit (1);
19902 fprintf (f, "%ld\n", i);
19903 }
19904 else
19905 {
19906 unsigned long i = ulongval ();
19907 if (i != ((long) (sizeof (wchar_t))))
19908 exit (1);
19909 fprintf (f, "%lu\n", i);
19910 }
19911 exit (ferror (f) || fclose (f) != 0);
19912
19913 ;
19914 return 0;
19915 }
19916 _ACEOF
19917 rm -f conftest$ac_exeext
19918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19919 (eval $ac_link) 2>&5
19920 ac_status=$?
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19924 (eval $ac_try) 2>&5
19925 ac_status=$?
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); }; }; then
19928 ac_cv_sizeof_wchar_t=`cat conftest.val`
19929 else
19930 echo "$as_me: program exited with status $ac_status" >&5
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.$ac_ext >&5
19933
19934 ( exit $ac_status )
19935 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19936 See \`config.log' for more details." >&5
19937 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19938 See \`config.log' for more details." >&2;}
19939 { (exit 1); exit 1; }; }
19940 fi
19941 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19942 fi
19943 fi
19944 rm -f conftest.val
19945 else
19946 ac_cv_sizeof_wchar_t=0
19947 fi
19948 fi
19949 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19950 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19951 cat >>confdefs.h <<_ACEOF
19952 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19953 _ACEOF
19954
19955
19956 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19957 wxUSE_WCHAR_T=yes
19958 else
19959 wxUSE_WCHAR_T=no
19960 fi
19961
19962 echo "$as_me:$LINENO: checking for va_copy" >&5
19963 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19964 if test "${wx_cv_func_va_copy+set}" = set; then
19965 echo $ECHO_N "(cached) $ECHO_C" >&6
19966 else
19967
19968 cat >conftest.$ac_ext <<_ACEOF
19969
19970 #include <stdarg.h>
19971 void foo(char *f, ...)
19972 {
19973 va_list ap1, ap2;
19974 va_start(ap1, f);
19975 va_copy(ap2, ap1);
19976 va_end(ap2);
19977 va_end(ap1);
19978 }
19979 int main()
19980 {
19981 foo("hi", 17);
19982 return 0;
19983 }
19984 _ACEOF
19985 rm -f conftest.$ac_objext conftest$ac_exeext
19986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19987 (eval $ac_link) 2>conftest.er1
19988 ac_status=$?
19989 grep -v '^ *+' conftest.er1 >conftest.err
19990 rm -f conftest.er1
19991 cat conftest.err >&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); } &&
19994 { ac_try='test -z "$ac_c_werror_flag"
19995 || test ! -s conftest.err'
19996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997 (eval $ac_try) 2>&5
19998 ac_status=$?
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); }; } &&
20001 { ac_try='test -s conftest$ac_exeext'
20002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20003 (eval $ac_try) 2>&5
20004 ac_status=$?
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); }; }; then
20007 wx_cv_func_va_copy=yes
20008 else
20009 echo "$as_me: failed program was:" >&5
20010 sed 's/^/| /' conftest.$ac_ext >&5
20011
20012 wx_cv_func_va_copy=no
20013
20014 fi
20015 rm -f conftest.err conftest.$ac_objext \
20016 conftest$ac_exeext conftest.$ac_ext
20017
20018
20019 fi
20020 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
20021 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
20022
20023 if test $wx_cv_func_va_copy = "yes"; then
20024 cat >>confdefs.h <<\_ACEOF
20025 #define HAVE_VA_COPY 1
20026 _ACEOF
20027
20028 else
20029 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
20030 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
20031 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
20032 echo $ECHO_N "(cached) $ECHO_C" >&6
20033 else
20034
20035 if test "$cross_compiling" = yes; then
20036 wx_cv_type_va_list_lvalue=yes
20037
20038 else
20039 cat >conftest.$ac_ext <<_ACEOF
20040
20041 #include <stdarg.h>
20042 int foo(char *f, ...)
20043 {
20044 va_list ap1, ap2;
20045 va_start(ap1, f);
20046 ap2 = ap1;
20047 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20048 return 1;
20049 va_end(ap2);
20050 va_end(ap1);
20051 return 0;
20052 }
20053 int main()
20054 {
20055 return foo("hi", 17);
20056 }
20057 _ACEOF
20058 rm -f conftest$ac_exeext
20059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20060 (eval $ac_link) 2>&5
20061 ac_status=$?
20062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20065 (eval $ac_try) 2>&5
20066 ac_status=$?
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); }; }; then
20069 wx_cv_type_va_list_lvalue=yes
20070 else
20071 echo "$as_me: program exited with status $ac_status" >&5
20072 echo "$as_me: failed program was:" >&5
20073 sed 's/^/| /' conftest.$ac_ext >&5
20074
20075 ( exit $ac_status )
20076 wx_cv_type_va_list_lvalue=no
20077 fi
20078 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20079 fi
20080
20081
20082 fi
20083 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
20084 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
20085
20086 if test $wx_cv_type_va_list_lvalue != "yes"; then
20087 cat >>confdefs.h <<\_ACEOF
20088 #define VA_LIST_IS_ARRAY 1
20089 _ACEOF
20090
20091 fi
20092 fi
20093
20094 # Check whether --enable-largefile or --disable-largefile was given.
20095 if test "${enable_largefile+set}" = set; then
20096 enableval="$enable_largefile"
20097
20098 fi;
20099 if test "$enable_largefile" != no; then
20100 wx_largefile=no
20101
20102 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20103 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20104 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20105 echo $ECHO_N "(cached) $ECHO_C" >&6
20106 else
20107
20108 cat >conftest.$ac_ext <<_ACEOF
20109 /* confdefs.h. */
20110 _ACEOF
20111 cat confdefs.h >>conftest.$ac_ext
20112 cat >>conftest.$ac_ext <<_ACEOF
20113 /* end confdefs.h. */
20114 #define _FILE_OFFSET_BITS 64
20115 #include <sys/types.h>
20116 int
20117 main ()
20118 {
20119 typedef struct {
20120 unsigned int field: sizeof(off_t) == 8;
20121 } wxlf;
20122
20123 ;
20124 return 0;
20125 }
20126 _ACEOF
20127 rm -f conftest.$ac_objext
20128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20129 (eval $ac_compile) 2>conftest.er1
20130 ac_status=$?
20131 grep -v '^ *+' conftest.er1 >conftest.err
20132 rm -f conftest.er1
20133 cat conftest.err >&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); } &&
20136 { ac_try='test -z "$ac_c_werror_flag"
20137 || test ! -s conftest.err'
20138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20139 (eval $ac_try) 2>&5
20140 ac_status=$?
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); }; } &&
20143 { ac_try='test -s conftest.$ac_objext'
20144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20145 (eval $ac_try) 2>&5
20146 ac_status=$?
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); }; }; then
20149 ac_cv_sys_file_offset_bits=64
20150 else
20151 echo "$as_me: failed program was:" >&5
20152 sed 's/^/| /' conftest.$ac_ext >&5
20153
20154 ac_cv_sys_file_offset_bits=no
20155 fi
20156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20157
20158
20159 fi
20160 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20161 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20162
20163 if test "$ac_cv_sys_file_offset_bits" != no; then
20164 wx_largefile=yes
20165 cat >>confdefs.h <<_ACEOF
20166 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20167 _ACEOF
20168
20169 fi
20170
20171 if test "x$wx_largefile" != "xyes"; then
20172
20173 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20174 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20175 if test "${ac_cv_sys_large_files+set}" = set; then
20176 echo $ECHO_N "(cached) $ECHO_C" >&6
20177 else
20178
20179 cat >conftest.$ac_ext <<_ACEOF
20180 /* confdefs.h. */
20181 _ACEOF
20182 cat confdefs.h >>conftest.$ac_ext
20183 cat >>conftest.$ac_ext <<_ACEOF
20184 /* end confdefs.h. */
20185 #define _LARGE_FILES 1
20186 #include <sys/types.h>
20187 int
20188 main ()
20189 {
20190 typedef struct {
20191 unsigned int field: sizeof(off_t) == 8;
20192 } wxlf;
20193
20194 ;
20195 return 0;
20196 }
20197 _ACEOF
20198 rm -f conftest.$ac_objext
20199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20200 (eval $ac_compile) 2>conftest.er1
20201 ac_status=$?
20202 grep -v '^ *+' conftest.er1 >conftest.err
20203 rm -f conftest.er1
20204 cat conftest.err >&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); } &&
20207 { ac_try='test -z "$ac_c_werror_flag"
20208 || test ! -s conftest.err'
20209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20210 (eval $ac_try) 2>&5
20211 ac_status=$?
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); }; } &&
20214 { ac_try='test -s conftest.$ac_objext'
20215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20216 (eval $ac_try) 2>&5
20217 ac_status=$?
20218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219 (exit $ac_status); }; }; then
20220 ac_cv_sys_large_files=1
20221 else
20222 echo "$as_me: failed program was:" >&5
20223 sed 's/^/| /' conftest.$ac_ext >&5
20224
20225 ac_cv_sys_large_files=no
20226 fi
20227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20228
20229
20230 fi
20231 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20232 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20233
20234 if test "$ac_cv_sys_large_files" != no; then
20235 wx_largefile=yes
20236 cat >>confdefs.h <<_ACEOF
20237 #define _LARGE_FILES $ac_cv_sys_large_files
20238 _ACEOF
20239
20240 fi
20241
20242 fi
20243
20244 echo "$as_me:$LINENO: checking if large file support is available" >&5
20245 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20246 if test "x$wx_largefile" = "xyes"; then
20247 cat >>confdefs.h <<\_ACEOF
20248 #define HAVE_LARGEFILE_SUPPORT 1
20249 _ACEOF
20250
20251 fi
20252 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20253 echo "${ECHO_T}$wx_largefile" >&6
20254 fi
20255
20256
20257 if test "x$wx_largefile" = "xyes"; then
20258 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20259 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20260 else
20261 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
20262 fi
20263 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20264 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20265 if test "${ac_cv_sys_largefile_source+set}" = set; then
20266 echo $ECHO_N "(cached) $ECHO_C" >&6
20267 else
20268 while :; do
20269 ac_cv_sys_largefile_source=no
20270 cat >conftest.$ac_ext <<_ACEOF
20271 /* confdefs.h. */
20272 _ACEOF
20273 cat confdefs.h >>conftest.$ac_ext
20274 cat >>conftest.$ac_ext <<_ACEOF
20275 /* end confdefs.h. */
20276 #include <stdio.h>
20277 int
20278 main ()
20279 {
20280 return !fseeko;
20281 ;
20282 return 0;
20283 }
20284 _ACEOF
20285 rm -f conftest.$ac_objext
20286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20287 (eval $ac_compile) 2>conftest.er1
20288 ac_status=$?
20289 grep -v '^ *+' conftest.er1 >conftest.err
20290 rm -f conftest.er1
20291 cat conftest.err >&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } &&
20294 { ac_try='test -z "$ac_c_werror_flag"
20295 || test ! -s conftest.err'
20296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20297 (eval $ac_try) 2>&5
20298 ac_status=$?
20299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300 (exit $ac_status); }; } &&
20301 { ac_try='test -s conftest.$ac_objext'
20302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20303 (eval $ac_try) 2>&5
20304 ac_status=$?
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); }; }; then
20307 break
20308 else
20309 echo "$as_me: failed program was:" >&5
20310 sed 's/^/| /' conftest.$ac_ext >&5
20311
20312 fi
20313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20314 cat >conftest.$ac_ext <<_ACEOF
20315 /* confdefs.h. */
20316 _ACEOF
20317 cat confdefs.h >>conftest.$ac_ext
20318 cat >>conftest.$ac_ext <<_ACEOF
20319 /* end confdefs.h. */
20320 #define _LARGEFILE_SOURCE 1
20321 #include <stdio.h>
20322 int
20323 main ()
20324 {
20325 return !fseeko;
20326 ;
20327 return 0;
20328 }
20329 _ACEOF
20330 rm -f conftest.$ac_objext
20331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20332 (eval $ac_compile) 2>conftest.er1
20333 ac_status=$?
20334 grep -v '^ *+' conftest.er1 >conftest.err
20335 rm -f conftest.er1
20336 cat conftest.err >&5
20337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20338 (exit $ac_status); } &&
20339 { ac_try='test -z "$ac_c_werror_flag"
20340 || test ! -s conftest.err'
20341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20342 (eval $ac_try) 2>&5
20343 ac_status=$?
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); }; } &&
20346 { ac_try='test -s conftest.$ac_objext'
20347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20348 (eval $ac_try) 2>&5
20349 ac_status=$?
20350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20351 (exit $ac_status); }; }; then
20352 ac_cv_sys_largefile_source=1; break
20353 else
20354 echo "$as_me: failed program was:" >&5
20355 sed 's/^/| /' conftest.$ac_ext >&5
20356
20357 fi
20358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20359 break
20360 done
20361 fi
20362 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20363 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20364 if test "$ac_cv_sys_largefile_source" != no; then
20365
20366 cat >>confdefs.h <<_ACEOF
20367 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20368 _ACEOF
20369
20370 fi
20371 rm -f conftest*
20372
20373 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20374 # in glibc 2.1.3, but that breaks too many other things.
20375 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20376 echo "$as_me:$LINENO: checking for fseeko" >&5
20377 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20378 if test "${ac_cv_func_fseeko+set}" = set; then
20379 echo $ECHO_N "(cached) $ECHO_C" >&6
20380 else
20381 cat >conftest.$ac_ext <<_ACEOF
20382 /* confdefs.h. */
20383 _ACEOF
20384 cat confdefs.h >>conftest.$ac_ext
20385 cat >>conftest.$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20387 #include <stdio.h>
20388 int
20389 main ()
20390 {
20391 return fseeko && fseeko (stdin, 0, 0);
20392 ;
20393 return 0;
20394 }
20395 _ACEOF
20396 rm -f conftest.$ac_objext conftest$ac_exeext
20397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20398 (eval $ac_link) 2>conftest.er1
20399 ac_status=$?
20400 grep -v '^ *+' conftest.er1 >conftest.err
20401 rm -f conftest.er1
20402 cat conftest.err >&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); } &&
20405 { ac_try='test -z "$ac_c_werror_flag"
20406 || test ! -s conftest.err'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20409 ac_status=$?
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; } &&
20412 { ac_try='test -s conftest$ac_exeext'
20413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20414 (eval $ac_try) 2>&5
20415 ac_status=$?
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); }; }; then
20418 ac_cv_func_fseeko=yes
20419 else
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.$ac_ext >&5
20422
20423 ac_cv_func_fseeko=no
20424 fi
20425 rm -f conftest.err conftest.$ac_objext \
20426 conftest$ac_exeext conftest.$ac_ext
20427 fi
20428 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20429 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20430 if test $ac_cv_func_fseeko = yes; then
20431
20432 cat >>confdefs.h <<\_ACEOF
20433 #define HAVE_FSEEKO 1
20434 _ACEOF
20435
20436 fi
20437
20438 if test "$ac_cv_sys_largefile_source" != no; then
20439 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20440 fi
20441 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20442 fi
20443
20444 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20445 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20446 if test "${ac_cv_c_bigendian+set}" = set; then
20447 echo $ECHO_N "(cached) $ECHO_C" >&6
20448 else
20449 ac_cv_c_bigendian=unknown
20450 # See if sys/param.h defines the BYTE_ORDER macro.
20451 cat >conftest.$ac_ext <<_ACEOF
20452 /* confdefs.h. */
20453 _ACEOF
20454 cat confdefs.h >>conftest.$ac_ext
20455 cat >>conftest.$ac_ext <<_ACEOF
20456 /* end confdefs.h. */
20457 #include <sys/types.h>
20458 #include <sys/param.h>
20459 int
20460 main ()
20461 {
20462
20463 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20464 bogus endian macros
20465 #endif
20466 ;
20467 return 0;
20468 }
20469 _ACEOF
20470 rm -f conftest.$ac_objext
20471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20472 (eval $ac_compile) 2>conftest.er1
20473 ac_status=$?
20474 grep -v '^ *+' conftest.er1 >conftest.err
20475 rm -f conftest.er1
20476 cat conftest.err >&5
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); } &&
20479 { ac_try='test -z "$ac_c_werror_flag"
20480 || test ! -s conftest.err'
20481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20482 (eval $ac_try) 2>&5
20483 ac_status=$?
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); }; } &&
20486 { ac_try='test -s conftest.$ac_objext'
20487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20488 (eval $ac_try) 2>&5
20489 ac_status=$?
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); }; }; then
20492 # It does; now see whether it defined to BIG_ENDIAN or not.
20493 cat >conftest.$ac_ext <<_ACEOF
20494 /* confdefs.h. */
20495 _ACEOF
20496 cat confdefs.h >>conftest.$ac_ext
20497 cat >>conftest.$ac_ext <<_ACEOF
20498 /* end confdefs.h. */
20499 #include <sys/types.h>
20500 #include <sys/param.h>
20501 int
20502 main ()
20503 {
20504
20505 #if BYTE_ORDER != BIG_ENDIAN
20506 not big endian
20507 #endif
20508 ;
20509 return 0;
20510 }
20511 _ACEOF
20512 rm -f conftest.$ac_objext
20513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20514 (eval $ac_compile) 2>conftest.er1
20515 ac_status=$?
20516 grep -v '^ *+' conftest.er1 >conftest.err
20517 rm -f conftest.er1
20518 cat conftest.err >&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } &&
20521 { ac_try='test -z "$ac_c_werror_flag"
20522 || test ! -s conftest.err'
20523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20524 (eval $ac_try) 2>&5
20525 ac_status=$?
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); }; } &&
20528 { ac_try='test -s conftest.$ac_objext'
20529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20530 (eval $ac_try) 2>&5
20531 ac_status=$?
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); }; }; then
20534 ac_cv_c_bigendian=yes
20535 else
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20538
20539 ac_cv_c_bigendian=no
20540 fi
20541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20542 else
20543 echo "$as_me: failed program was:" >&5
20544 sed 's/^/| /' conftest.$ac_ext >&5
20545
20546 fi
20547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20548 if test $ac_cv_c_bigendian = unknown; then
20549 if test "$cross_compiling" = yes; then
20550 ac_cv_c_bigendian=unknown
20551 else
20552 cat >conftest.$ac_ext <<_ACEOF
20553 /* confdefs.h. */
20554 _ACEOF
20555 cat confdefs.h >>conftest.$ac_ext
20556 cat >>conftest.$ac_ext <<_ACEOF
20557 /* end confdefs.h. */
20558 main () {
20559 /* Are we little or big endian? From Harbison&Steele. */
20560 union
20561 {
20562 long l;
20563 char c[sizeof (long)];
20564 } u;
20565 u.l = 1;
20566 exit (u.c[sizeof (long) - 1] == 1);
20567 }
20568 _ACEOF
20569 rm -f conftest$ac_exeext
20570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20571 (eval $ac_link) 2>&5
20572 ac_status=$?
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20576 (eval $ac_try) 2>&5
20577 ac_status=$?
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); }; }; then
20580 ac_cv_c_bigendian=no
20581 else
20582 echo "$as_me: program exited with status $ac_status" >&5
20583 echo "$as_me: failed program was:" >&5
20584 sed 's/^/| /' conftest.$ac_ext >&5
20585
20586 ( exit $ac_status )
20587 ac_cv_c_bigendian=yes
20588 fi
20589 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20590 fi
20591 fi
20592 fi
20593 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20594 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20595 if test $ac_cv_c_bigendian = unknown; then
20596 { 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
20597 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;}
20598 fi
20599 if test $ac_cv_c_bigendian = yes; then
20600 cat >>confdefs.h <<\_ACEOF
20601 #define WORDS_BIGENDIAN 1
20602 _ACEOF
20603
20604 fi
20605
20606
20607 ac_ext=cc
20608 ac_cpp='$CXXCPP $CPPFLAGS'
20609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20612 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20613 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20614 if test -z "$CXXCPP"; then
20615 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20616 echo $ECHO_N "(cached) $ECHO_C" >&6
20617 else
20618 # Double quotes because CXXCPP needs to be expanded
20619 for CXXCPP in "$CXX -E" "/lib/cpp"
20620 do
20621 ac_preproc_ok=false
20622 for ac_cxx_preproc_warn_flag in '' yes
20623 do
20624 # Use a header file that comes with gcc, so configuring glibc
20625 # with a fresh cross-compiler works.
20626 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20627 # <limits.h> exists even on freestanding compilers.
20628 # On the NeXT, cc -E runs the code through the compiler's parser,
20629 # not just through cpp. "Syntax error" is here to catch this case.
20630 cat >conftest.$ac_ext <<_ACEOF
20631 /* confdefs.h. */
20632 _ACEOF
20633 cat confdefs.h >>conftest.$ac_ext
20634 cat >>conftest.$ac_ext <<_ACEOF
20635 /* end confdefs.h. */
20636 #ifdef __STDC__
20637 # include <limits.h>
20638 #else
20639 # include <assert.h>
20640 #endif
20641 Syntax error
20642 _ACEOF
20643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20644 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20645 ac_status=$?
20646 grep -v '^ *+' conftest.er1 >conftest.err
20647 rm -f conftest.er1
20648 cat conftest.err >&5
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); } >/dev/null; then
20651 if test -s conftest.err; then
20652 ac_cpp_err=$ac_cxx_preproc_warn_flag
20653 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20654 else
20655 ac_cpp_err=
20656 fi
20657 else
20658 ac_cpp_err=yes
20659 fi
20660 if test -z "$ac_cpp_err"; then
20661 :
20662 else
20663 echo "$as_me: failed program was:" >&5
20664 sed 's/^/| /' conftest.$ac_ext >&5
20665
20666 # Broken: fails on valid input.
20667 continue
20668 fi
20669 rm -f conftest.err conftest.$ac_ext
20670
20671 # OK, works on sane cases. Now check whether non-existent headers
20672 # can be detected and how.
20673 cat >conftest.$ac_ext <<_ACEOF
20674 /* confdefs.h. */
20675 _ACEOF
20676 cat confdefs.h >>conftest.$ac_ext
20677 cat >>conftest.$ac_ext <<_ACEOF
20678 /* end confdefs.h. */
20679 #include <ac_nonexistent.h>
20680 _ACEOF
20681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20682 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20683 ac_status=$?
20684 grep -v '^ *+' conftest.er1 >conftest.err
20685 rm -f conftest.er1
20686 cat conftest.err >&5
20687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688 (exit $ac_status); } >/dev/null; then
20689 if test -s conftest.err; then
20690 ac_cpp_err=$ac_cxx_preproc_warn_flag
20691 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20692 else
20693 ac_cpp_err=
20694 fi
20695 else
20696 ac_cpp_err=yes
20697 fi
20698 if test -z "$ac_cpp_err"; then
20699 # Broken: success on invalid input.
20700 continue
20701 else
20702 echo "$as_me: failed program was:" >&5
20703 sed 's/^/| /' conftest.$ac_ext >&5
20704
20705 # Passes both tests.
20706 ac_preproc_ok=:
20707 break
20708 fi
20709 rm -f conftest.err conftest.$ac_ext
20710
20711 done
20712 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20713 rm -f conftest.err conftest.$ac_ext
20714 if $ac_preproc_ok; then
20715 break
20716 fi
20717
20718 done
20719 ac_cv_prog_CXXCPP=$CXXCPP
20720
20721 fi
20722 CXXCPP=$ac_cv_prog_CXXCPP
20723 else
20724 ac_cv_prog_CXXCPP=$CXXCPP
20725 fi
20726 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20727 echo "${ECHO_T}$CXXCPP" >&6
20728 ac_preproc_ok=false
20729 for ac_cxx_preproc_warn_flag in '' yes
20730 do
20731 # Use a header file that comes with gcc, so configuring glibc
20732 # with a fresh cross-compiler works.
20733 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20734 # <limits.h> exists even on freestanding compilers.
20735 # On the NeXT, cc -E runs the code through the compiler's parser,
20736 # not just through cpp. "Syntax error" is here to catch this case.
20737 cat >conftest.$ac_ext <<_ACEOF
20738 /* confdefs.h. */
20739 _ACEOF
20740 cat confdefs.h >>conftest.$ac_ext
20741 cat >>conftest.$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 #ifdef __STDC__
20744 # include <limits.h>
20745 #else
20746 # include <assert.h>
20747 #endif
20748 Syntax error
20749 _ACEOF
20750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20751 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20752 ac_status=$?
20753 grep -v '^ *+' conftest.er1 >conftest.err
20754 rm -f conftest.er1
20755 cat conftest.err >&5
20756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757 (exit $ac_status); } >/dev/null; then
20758 if test -s conftest.err; then
20759 ac_cpp_err=$ac_cxx_preproc_warn_flag
20760 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20761 else
20762 ac_cpp_err=
20763 fi
20764 else
20765 ac_cpp_err=yes
20766 fi
20767 if test -z "$ac_cpp_err"; then
20768 :
20769 else
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.$ac_ext >&5
20772
20773 # Broken: fails on valid input.
20774 continue
20775 fi
20776 rm -f conftest.err conftest.$ac_ext
20777
20778 # OK, works on sane cases. Now check whether non-existent headers
20779 # can be detected and how.
20780 cat >conftest.$ac_ext <<_ACEOF
20781 /* confdefs.h. */
20782 _ACEOF
20783 cat confdefs.h >>conftest.$ac_ext
20784 cat >>conftest.$ac_ext <<_ACEOF
20785 /* end confdefs.h. */
20786 #include <ac_nonexistent.h>
20787 _ACEOF
20788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20789 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20790 ac_status=$?
20791 grep -v '^ *+' conftest.er1 >conftest.err
20792 rm -f conftest.er1
20793 cat conftest.err >&5
20794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20795 (exit $ac_status); } >/dev/null; then
20796 if test -s conftest.err; then
20797 ac_cpp_err=$ac_cxx_preproc_warn_flag
20798 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20799 else
20800 ac_cpp_err=
20801 fi
20802 else
20803 ac_cpp_err=yes
20804 fi
20805 if test -z "$ac_cpp_err"; then
20806 # Broken: success on invalid input.
20807 continue
20808 else
20809 echo "$as_me: failed program was:" >&5
20810 sed 's/^/| /' conftest.$ac_ext >&5
20811
20812 # Passes both tests.
20813 ac_preproc_ok=:
20814 break
20815 fi
20816 rm -f conftest.err conftest.$ac_ext
20817
20818 done
20819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20820 rm -f conftest.err conftest.$ac_ext
20821 if $ac_preproc_ok; then
20822 :
20823 else
20824 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20825 See \`config.log' for more details." >&5
20826 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20827 See \`config.log' for more details." >&2;}
20828 { (exit 1); exit 1; }; }
20829 fi
20830
20831 ac_ext=cc
20832 ac_cpp='$CXXCPP $CPPFLAGS'
20833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20836
20837
20838
20839
20840
20841 ac_ext=cc
20842 ac_cpp='$CXXCPP $CPPFLAGS'
20843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20846
20847
20848
20849 for ac_header in iostream
20850 do
20851 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20853 echo "$as_me:$LINENO: checking for $ac_header" >&5
20854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20856 echo $ECHO_N "(cached) $ECHO_C" >&6
20857 fi
20858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20860 else
20861 # Is the header compilable?
20862 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20863 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20864 cat >conftest.$ac_ext <<_ACEOF
20865 /* confdefs.h. */
20866 _ACEOF
20867 cat confdefs.h >>conftest.$ac_ext
20868 cat >>conftest.$ac_ext <<_ACEOF
20869 /* end confdefs.h. */
20870 $ac_includes_default
20871 #include <$ac_header>
20872 _ACEOF
20873 rm -f conftest.$ac_objext
20874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20875 (eval $ac_compile) 2>conftest.er1
20876 ac_status=$?
20877 grep -v '^ *+' conftest.er1 >conftest.err
20878 rm -f conftest.er1
20879 cat conftest.err >&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); } &&
20882 { ac_try='test -z "$ac_cxx_werror_flag"
20883 || test ! -s conftest.err'
20884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20885 (eval $ac_try) 2>&5
20886 ac_status=$?
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); }; } &&
20889 { ac_try='test -s conftest.$ac_objext'
20890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20891 (eval $ac_try) 2>&5
20892 ac_status=$?
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); }; }; then
20895 ac_header_compiler=yes
20896 else
20897 echo "$as_me: failed program was:" >&5
20898 sed 's/^/| /' conftest.$ac_ext >&5
20899
20900 ac_header_compiler=no
20901 fi
20902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20903 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20904 echo "${ECHO_T}$ac_header_compiler" >&6
20905
20906 # Is the header present?
20907 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20908 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20909 cat >conftest.$ac_ext <<_ACEOF
20910 /* confdefs.h. */
20911 _ACEOF
20912 cat confdefs.h >>conftest.$ac_ext
20913 cat >>conftest.$ac_ext <<_ACEOF
20914 /* end confdefs.h. */
20915 #include <$ac_header>
20916 _ACEOF
20917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20918 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20919 ac_status=$?
20920 grep -v '^ *+' conftest.er1 >conftest.err
20921 rm -f conftest.er1
20922 cat conftest.err >&5
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); } >/dev/null; then
20925 if test -s conftest.err; then
20926 ac_cpp_err=$ac_cxx_preproc_warn_flag
20927 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20928 else
20929 ac_cpp_err=
20930 fi
20931 else
20932 ac_cpp_err=yes
20933 fi
20934 if test -z "$ac_cpp_err"; then
20935 ac_header_preproc=yes
20936 else
20937 echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.$ac_ext >&5
20939
20940 ac_header_preproc=no
20941 fi
20942 rm -f conftest.err conftest.$ac_ext
20943 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20944 echo "${ECHO_T}$ac_header_preproc" >&6
20945
20946 # So? What about this header?
20947 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20948 yes:no: )
20949 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20950 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20952 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20953 ac_header_preproc=yes
20954 ;;
20955 no:yes:* )
20956 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20957 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20958 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20959 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20960 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20961 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20962 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20963 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20965 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20966 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20967 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20968 (
20969 cat <<\_ASBOX
20970 ## ----------------------------------------- ##
20971 ## Report this to wx-dev@lists.wxwidgets.org ##
20972 ## ----------------------------------------- ##
20973 _ASBOX
20974 ) |
20975 sed "s/^/$as_me: WARNING: /" >&2
20976 ;;
20977 esac
20978 echo "$as_me:$LINENO: checking for $ac_header" >&5
20979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20981 echo $ECHO_N "(cached) $ECHO_C" >&6
20982 else
20983 eval "$as_ac_Header=\$ac_header_preproc"
20984 fi
20985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20987
20988 fi
20989 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20990 cat >>confdefs.h <<_ACEOF
20991 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20992 _ACEOF
20993
20994 fi
20995
20996 done
20997
20998
20999 if test "$ac_cv_header_iostream" = "yes" ; then
21000 :
21001 else
21002 cat >>confdefs.h <<\_ACEOF
21003 #define wxUSE_IOSTREAMH 1
21004 _ACEOF
21005
21006 fi
21007
21008 ac_ext=c
21009 ac_cpp='$CPP $CPPFLAGS'
21010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21013
21014
21015
21016
21017 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21018 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21019 if test "${wx_cv_cpp_bool+set}" = set; then
21020 echo $ECHO_N "(cached) $ECHO_C" >&6
21021 else
21022
21023
21024
21025 ac_ext=cc
21026 ac_cpp='$CXXCPP $CPPFLAGS'
21027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21030
21031
21032 cat >conftest.$ac_ext <<_ACEOF
21033 /* confdefs.h. */
21034 _ACEOF
21035 cat confdefs.h >>conftest.$ac_ext
21036 cat >>conftest.$ac_ext <<_ACEOF
21037 /* end confdefs.h. */
21038
21039
21040 int
21041 main ()
21042 {
21043
21044 bool b = true;
21045
21046 return 0;
21047
21048 ;
21049 return 0;
21050 }
21051 _ACEOF
21052 rm -f conftest.$ac_objext
21053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21054 (eval $ac_compile) 2>conftest.er1
21055 ac_status=$?
21056 grep -v '^ *+' conftest.er1 >conftest.err
21057 rm -f conftest.er1
21058 cat conftest.err >&5
21059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21060 (exit $ac_status); } &&
21061 { ac_try='test -z "$ac_cxx_werror_flag"
21062 || test ! -s conftest.err'
21063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21064 (eval $ac_try) 2>&5
21065 ac_status=$?
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); }; } &&
21068 { ac_try='test -s conftest.$ac_objext'
21069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21070 (eval $ac_try) 2>&5
21071 ac_status=$?
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); }; }; then
21074
21075 wx_cv_cpp_bool=yes
21076
21077 else
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.$ac_ext >&5
21080
21081
21082 wx_cv_cpp_bool=no
21083
21084
21085 fi
21086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21087
21088 ac_ext=c
21089 ac_cpp='$CPP $CPPFLAGS'
21090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21093
21094
21095 fi
21096 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
21097 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
21098
21099 if test "$wx_cv_cpp_bool" = "yes"; then
21100 cat >>confdefs.h <<\_ACEOF
21101 #define HAVE_BOOL 1
21102 _ACEOF
21103
21104 fi
21105
21106
21107
21108 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
21109 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
21110 if test "${wx_cv_explicit+set}" = set; then
21111 echo $ECHO_N "(cached) $ECHO_C" >&6
21112 else
21113
21114
21115
21116 ac_ext=cc
21117 ac_cpp='$CXXCPP $CPPFLAGS'
21118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21121
21122
21123 cat >conftest.$ac_ext <<_ACEOF
21124 /* confdefs.h. */
21125 _ACEOF
21126 cat confdefs.h >>conftest.$ac_ext
21127 cat >>conftest.$ac_ext <<_ACEOF
21128 /* end confdefs.h. */
21129
21130 class Foo { public: explicit Foo(int) {} };
21131
21132 int
21133 main ()
21134 {
21135
21136 return 0;
21137
21138 ;
21139 return 0;
21140 }
21141 _ACEOF
21142 rm -f conftest.$ac_objext
21143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21144 (eval $ac_compile) 2>conftest.er1
21145 ac_status=$?
21146 grep -v '^ *+' conftest.er1 >conftest.err
21147 rm -f conftest.er1
21148 cat conftest.err >&5
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); } &&
21151 { ac_try='test -z "$ac_cxx_werror_flag"
21152 || test ! -s conftest.err'
21153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21154 (eval $ac_try) 2>&5
21155 ac_status=$?
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); }; } &&
21158 { ac_try='test -s conftest.$ac_objext'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21161 ac_status=$?
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; }; then
21164
21165 cat >conftest.$ac_ext <<_ACEOF
21166 /* confdefs.h. */
21167 _ACEOF
21168 cat confdefs.h >>conftest.$ac_ext
21169 cat >>conftest.$ac_ext <<_ACEOF
21170 /* end confdefs.h. */
21171
21172 class Foo { public: explicit Foo(int) {} };
21173 static void TakeFoo(const Foo& foo) { }
21174
21175 int
21176 main ()
21177 {
21178
21179 TakeFoo(17);
21180 return 0;
21181
21182 ;
21183 return 0;
21184 }
21185 _ACEOF
21186 rm -f conftest.$ac_objext
21187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21188 (eval $ac_compile) 2>conftest.er1
21189 ac_status=$?
21190 grep -v '^ *+' conftest.er1 >conftest.err
21191 rm -f conftest.er1
21192 cat conftest.err >&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); } &&
21195 { ac_try='test -z "$ac_cxx_werror_flag"
21196 || test ! -s conftest.err'
21197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21198 (eval $ac_try) 2>&5
21199 ac_status=$?
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; } &&
21202 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21208 wx_cv_explicit=no
21209 else
21210 echo "$as_me: failed program was:" >&5
21211 sed 's/^/| /' conftest.$ac_ext >&5
21212
21213 wx_cv_explicit=yes
21214
21215 fi
21216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21217
21218 else
21219 echo "$as_me: failed program was:" >&5
21220 sed 's/^/| /' conftest.$ac_ext >&5
21221
21222 wx_cv_explicit=no
21223
21224 fi
21225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21226
21227 ac_ext=c
21228 ac_cpp='$CPP $CPPFLAGS'
21229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21232
21233
21234 fi
21235 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21236 echo "${ECHO_T}$wx_cv_explicit" >&6
21237
21238 if test "$wx_cv_explicit" = "yes"; then
21239 cat >>confdefs.h <<\_ACEOF
21240 #define HAVE_EXPLICIT 1
21241 _ACEOF
21242
21243 fi
21244
21245
21246 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21247 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21248 if test "${ac_cv_cxx_const_cast+set}" = set; then
21249 echo $ECHO_N "(cached) $ECHO_C" >&6
21250 else
21251
21252
21253 ac_ext=cc
21254 ac_cpp='$CXXCPP $CPPFLAGS'
21255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21258
21259 cat >conftest.$ac_ext <<_ACEOF
21260 /* confdefs.h. */
21261 _ACEOF
21262 cat confdefs.h >>conftest.$ac_ext
21263 cat >>conftest.$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265
21266 int
21267 main ()
21268 {
21269 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21270 ;
21271 return 0;
21272 }
21273 _ACEOF
21274 rm -f conftest.$ac_objext
21275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21276 (eval $ac_compile) 2>conftest.er1
21277 ac_status=$?
21278 grep -v '^ *+' conftest.er1 >conftest.err
21279 rm -f conftest.er1
21280 cat conftest.err >&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } &&
21283 { ac_try='test -z "$ac_cxx_werror_flag"
21284 || test ! -s conftest.err'
21285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21286 (eval $ac_try) 2>&5
21287 ac_status=$?
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); }; } &&
21290 { ac_try='test -s conftest.$ac_objext'
21291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21292 (eval $ac_try) 2>&5
21293 ac_status=$?
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); }; }; then
21296 ac_cv_cxx_const_cast=yes
21297 else
21298 echo "$as_me: failed program was:" >&5
21299 sed 's/^/| /' conftest.$ac_ext >&5
21300
21301 ac_cv_cxx_const_cast=no
21302 fi
21303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21304 ac_ext=c
21305 ac_cpp='$CPP $CPPFLAGS'
21306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21309
21310
21311 fi
21312 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21313 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21314 if test "$ac_cv_cxx_const_cast" = yes; then
21315
21316 cat >>confdefs.h <<\_ACEOF
21317 #define HAVE_CONST_CAST
21318 _ACEOF
21319
21320 fi
21321
21322 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21323 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21324 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21325 echo $ECHO_N "(cached) $ECHO_C" >&6
21326 else
21327
21328
21329 ac_ext=cc
21330 ac_cpp='$CXXCPP $CPPFLAGS'
21331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21334
21335 cat >conftest.$ac_ext <<_ACEOF
21336 /* confdefs.h. */
21337 _ACEOF
21338 cat confdefs.h >>conftest.$ac_ext
21339 cat >>conftest.$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21341 #include <typeinfo>
21342 class Base { public : Base () {} virtual void f () = 0;};
21343 class Derived : public Base { public : Derived () {} virtual void f () {} };
21344 class Unrelated { public : Unrelated () {} };
21345 int g (Unrelated&) { return 0; }
21346 int
21347 main ()
21348 {
21349
21350 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21351 ;
21352 return 0;
21353 }
21354 _ACEOF
21355 rm -f conftest.$ac_objext
21356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21357 (eval $ac_compile) 2>conftest.er1
21358 ac_status=$?
21359 grep -v '^ *+' conftest.er1 >conftest.err
21360 rm -f conftest.er1
21361 cat conftest.err >&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); } &&
21364 { ac_try='test -z "$ac_cxx_werror_flag"
21365 || test ! -s conftest.err'
21366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21367 (eval $ac_try) 2>&5
21368 ac_status=$?
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); }; } &&
21371 { ac_try='test -s conftest.$ac_objext'
21372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21373 (eval $ac_try) 2>&5
21374 ac_status=$?
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); }; }; then
21377 ac_cv_cxx_reinterpret_cast=yes
21378 else
21379 echo "$as_me: failed program was:" >&5
21380 sed 's/^/| /' conftest.$ac_ext >&5
21381
21382 ac_cv_cxx_reinterpret_cast=no
21383 fi
21384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21385 ac_ext=c
21386 ac_cpp='$CPP $CPPFLAGS'
21387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21390
21391
21392 fi
21393 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21394 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21395 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21396
21397 cat >>confdefs.h <<\_ACEOF
21398 #define HAVE_REINTERPRET_CAST
21399 _ACEOF
21400
21401 fi
21402
21403 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21404 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21405 if test "${ac_cv_cxx_static_cast+set}" = set; then
21406 echo $ECHO_N "(cached) $ECHO_C" >&6
21407 else
21408
21409
21410 ac_ext=cc
21411 ac_cpp='$CXXCPP $CPPFLAGS'
21412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21415
21416 cat >conftest.$ac_ext <<_ACEOF
21417 /* confdefs.h. */
21418 _ACEOF
21419 cat confdefs.h >>conftest.$ac_ext
21420 cat >>conftest.$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21422 #include <typeinfo>
21423 class Base { public : Base () {} virtual void f () = 0; };
21424 class Derived : public Base { public : Derived () {} virtual void f () {} };
21425 int g (Derived&) { return 0; }
21426 int
21427 main ()
21428 {
21429
21430 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21431 ;
21432 return 0;
21433 }
21434 _ACEOF
21435 rm -f conftest.$ac_objext
21436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21437 (eval $ac_compile) 2>conftest.er1
21438 ac_status=$?
21439 grep -v '^ *+' conftest.er1 >conftest.err
21440 rm -f conftest.er1
21441 cat conftest.err >&5
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); } &&
21444 { ac_try='test -z "$ac_cxx_werror_flag"
21445 || test ! -s conftest.err'
21446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21447 (eval $ac_try) 2>&5
21448 ac_status=$?
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); }; } &&
21451 { ac_try='test -s conftest.$ac_objext'
21452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21453 (eval $ac_try) 2>&5
21454 ac_status=$?
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; }; then
21457 ac_cv_cxx_static_cast=yes
21458 else
21459 echo "$as_me: failed program was:" >&5
21460 sed 's/^/| /' conftest.$ac_ext >&5
21461
21462 ac_cv_cxx_static_cast=no
21463 fi
21464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21465 ac_ext=c
21466 ac_cpp='$CPP $CPPFLAGS'
21467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21470
21471
21472 fi
21473 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21474 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21475 if test "$ac_cv_cxx_static_cast" = yes; then
21476
21477 cat >>confdefs.h <<\_ACEOF
21478 #define HAVE_STATIC_CAST
21479 _ACEOF
21480
21481 fi
21482
21483
21484 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21485 ac_ext=cc
21486 ac_cpp='$CXXCPP $CPPFLAGS'
21487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21490
21491
21492 if test "$wxUSE_UNICODE" = "yes"; then
21493 std_string="std::wstring"
21494 char_type="wchar_t"
21495 else
21496 std_string="std::string"
21497 char_type="char"
21498 fi
21499
21500 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21501 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21502 cat >conftest.$ac_ext <<_ACEOF
21503 /* confdefs.h. */
21504 _ACEOF
21505 cat confdefs.h >>conftest.$ac_ext
21506 cat >>conftest.$ac_ext <<_ACEOF
21507 /* end confdefs.h. */
21508 #include <string>
21509 int
21510 main ()
21511 {
21512 $std_string foo;
21513 ;
21514 return 0;
21515 }
21516 _ACEOF
21517 rm -f conftest.$ac_objext
21518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21519 (eval $ac_compile) 2>conftest.er1
21520 ac_status=$?
21521 grep -v '^ *+' conftest.er1 >conftest.err
21522 rm -f conftest.er1
21523 cat conftest.err >&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } &&
21526 { ac_try='test -z "$ac_cxx_werror_flag"
21527 || test ! -s conftest.err'
21528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21529 (eval $ac_try) 2>&5
21530 ac_status=$?
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); }; } &&
21533 { ac_try='test -s conftest.$ac_objext'
21534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21535 (eval $ac_try) 2>&5
21536 ac_status=$?
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); }; }; then
21539 echo "$as_me:$LINENO: result: yes" >&5
21540 echo "${ECHO_T}yes" >&6
21541 cat >>confdefs.h <<\_ACEOF
21542 #define HAVE_STD_WSTRING 1
21543 _ACEOF
21544
21545 else
21546 echo "$as_me: failed program was:" >&5
21547 sed 's/^/| /' conftest.$ac_ext >&5
21548
21549 echo "$as_me:$LINENO: result: no" >&5
21550 echo "${ECHO_T}no" >&6
21551 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21552 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21553 cat >conftest.$ac_ext <<_ACEOF
21554 /* confdefs.h. */
21555 _ACEOF
21556 cat confdefs.h >>conftest.$ac_ext
21557 cat >>conftest.$ac_ext <<_ACEOF
21558 /* end confdefs.h. */
21559
21560 #ifdef HAVE_WCHAR_H
21561 # ifdef __CYGWIN__
21562 # include <stddef.h>
21563 # endif
21564 # include <wchar.h>
21565 #endif
21566 #ifdef HAVE_STDLIB_H
21567 # include <stdlib.h>
21568 #endif
21569 #include <stdio.h>
21570 #include <string>
21571
21572 int
21573 main ()
21574 {
21575 std::basic_string<$char_type> foo;
21576 const $char_type* dummy = foo.c_str();
21577 ;
21578 return 0;
21579 }
21580 _ACEOF
21581 rm -f conftest.$ac_objext
21582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21583 (eval $ac_compile) 2>conftest.er1
21584 ac_status=$?
21585 grep -v '^ *+' conftest.er1 >conftest.err
21586 rm -f conftest.er1
21587 cat conftest.err >&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); } &&
21590 { ac_try='test -z "$ac_cxx_werror_flag"
21591 || test ! -s conftest.err'
21592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21593 (eval $ac_try) 2>&5
21594 ac_status=$?
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); }; } &&
21597 { ac_try='test -s conftest.$ac_objext'
21598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21599 (eval $ac_try) 2>&5
21600 ac_status=$?
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); }; }; then
21603 echo "$as_me:$LINENO: result: yes" >&5
21604 echo "${ECHO_T}yes" >&6
21605 else
21606 echo "$as_me: failed program was:" >&5
21607 sed 's/^/| /' conftest.$ac_ext >&5
21608
21609 echo "$as_me:$LINENO: result: no" >&5
21610 echo "${ECHO_T}no" >&6
21611 if test "$wxUSE_STL" = "yes"; then
21612 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21613 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21614 { (exit 1); exit 1; }; }
21615 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
21616 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21617 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21618 { (exit 1); exit 1; }; }
21619 else
21620 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21621 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21622 wxUSE_STD_STRING=no
21623 fi
21624
21625
21626 fi
21627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21628
21629 fi
21630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21631
21632 ac_ext=c
21633 ac_cpp='$CPP $CPPFLAGS'
21634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21637
21638 fi
21639
21640 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21641 ac_ext=cc
21642 ac_cpp='$CXXCPP $CPPFLAGS'
21643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21646
21647
21648 echo "$as_me:$LINENO: checking for std::istream" >&5
21649 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21650 if test "${ac_cv_type_std__istream+set}" = set; then
21651 echo $ECHO_N "(cached) $ECHO_C" >&6
21652 else
21653 cat >conftest.$ac_ext <<_ACEOF
21654 /* confdefs.h. */
21655 _ACEOF
21656 cat confdefs.h >>conftest.$ac_ext
21657 cat >>conftest.$ac_ext <<_ACEOF
21658 /* end confdefs.h. */
21659 #include <iostream>
21660
21661 int
21662 main ()
21663 {
21664 if ((std::istream *) 0)
21665 return 0;
21666 if (sizeof (std::istream))
21667 return 0;
21668 ;
21669 return 0;
21670 }
21671 _ACEOF
21672 rm -f conftest.$ac_objext
21673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21674 (eval $ac_compile) 2>conftest.er1
21675 ac_status=$?
21676 grep -v '^ *+' conftest.er1 >conftest.err
21677 rm -f conftest.er1
21678 cat conftest.err >&5
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); } &&
21681 { ac_try='test -z "$ac_cxx_werror_flag"
21682 || test ! -s conftest.err'
21683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21684 (eval $ac_try) 2>&5
21685 ac_status=$?
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); }; } &&
21688 { ac_try='test -s conftest.$ac_objext'
21689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21690 (eval $ac_try) 2>&5
21691 ac_status=$?
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); }; }; then
21694 ac_cv_type_std__istream=yes
21695 else
21696 echo "$as_me: failed program was:" >&5
21697 sed 's/^/| /' conftest.$ac_ext >&5
21698
21699 ac_cv_type_std__istream=no
21700 fi
21701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21702 fi
21703 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21704 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21705 if test $ac_cv_type_std__istream = yes; then
21706
21707 cat >>confdefs.h <<_ACEOF
21708 #define HAVE_STD__ISTREAM 1
21709 _ACEOF
21710
21711
21712 else
21713 wxUSE_STD_IOSTREAM=no
21714 fi
21715 echo "$as_me:$LINENO: checking for std::ostream" >&5
21716 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21717 if test "${ac_cv_type_std__ostream+set}" = set; then
21718 echo $ECHO_N "(cached) $ECHO_C" >&6
21719 else
21720 cat >conftest.$ac_ext <<_ACEOF
21721 /* confdefs.h. */
21722 _ACEOF
21723 cat confdefs.h >>conftest.$ac_ext
21724 cat >>conftest.$ac_ext <<_ACEOF
21725 /* end confdefs.h. */
21726 #include <iostream>
21727
21728 int
21729 main ()
21730 {
21731 if ((std::ostream *) 0)
21732 return 0;
21733 if (sizeof (std::ostream))
21734 return 0;
21735 ;
21736 return 0;
21737 }
21738 _ACEOF
21739 rm -f conftest.$ac_objext
21740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21741 (eval $ac_compile) 2>conftest.er1
21742 ac_status=$?
21743 grep -v '^ *+' conftest.er1 >conftest.err
21744 rm -f conftest.er1
21745 cat conftest.err >&5
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); } &&
21748 { ac_try='test -z "$ac_cxx_werror_flag"
21749 || test ! -s conftest.err'
21750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751 (eval $ac_try) 2>&5
21752 ac_status=$?
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; } &&
21755 { ac_try='test -s conftest.$ac_objext'
21756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21757 (eval $ac_try) 2>&5
21758 ac_status=$?
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); }; }; then
21761 ac_cv_type_std__ostream=yes
21762 else
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.$ac_ext >&5
21765
21766 ac_cv_type_std__ostream=no
21767 fi
21768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21769 fi
21770 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21771 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21772 if test $ac_cv_type_std__ostream = yes; then
21773
21774 cat >>confdefs.h <<_ACEOF
21775 #define HAVE_STD__OSTREAM 1
21776 _ACEOF
21777
21778
21779 else
21780 wxUSE_STD_IOSTREAM=no
21781 fi
21782
21783
21784 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21785 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
21786 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21787 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21788 { (exit 1); exit 1; }; }
21789 else
21790 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21791 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21792 fi
21793 fi
21794
21795 ac_ext=c
21796 ac_cpp='$CPP $CPPFLAGS'
21797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21800
21801 fi
21802
21803 if test "$wxUSE_STL" = "yes"; then
21804 ac_ext=cc
21805 ac_cpp='$CXXCPP $CPPFLAGS'
21806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21809
21810
21811 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21812 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21813 cat >conftest.$ac_ext <<_ACEOF
21814 /* confdefs.h. */
21815 _ACEOF
21816 cat confdefs.h >>conftest.$ac_ext
21817 cat >>conftest.$ac_ext <<_ACEOF
21818 /* end confdefs.h. */
21819 #include <string>
21820 #include <functional>
21821 #include <algorithm>
21822 #include <vector>
21823 #include <list>
21824 int
21825 main ()
21826 {
21827 std::vector<int> moo;
21828 std::list<int> foo;
21829 std::vector<int>::iterator it =
21830 std::find_if(moo.begin(), moo.end(),
21831 std::bind2nd(std::less<int>(), 3));
21832 ;
21833 return 0;
21834 }
21835 _ACEOF
21836 rm -f conftest.$ac_objext
21837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21838 (eval $ac_compile) 2>conftest.er1
21839 ac_status=$?
21840 grep -v '^ *+' conftest.er1 >conftest.err
21841 rm -f conftest.er1
21842 cat conftest.err >&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); } &&
21845 { ac_try='test -z "$ac_cxx_werror_flag"
21846 || test ! -s conftest.err'
21847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21848 (eval $ac_try) 2>&5
21849 ac_status=$?
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); }; } &&
21852 { ac_try='test -s conftest.$ac_objext'
21853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21854 (eval $ac_try) 2>&5
21855 ac_status=$?
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); }; }; then
21858 echo "$as_me:$LINENO: result: yes" >&5
21859 echo "${ECHO_T}yes" >&6
21860 else
21861 echo "$as_me: failed program was:" >&5
21862 sed 's/^/| /' conftest.$ac_ext >&5
21863
21864 echo "$as_me:$LINENO: result: no" >&5
21865 echo "${ECHO_T}no" >&6
21866 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21867 echo "$as_me: error: Basic STL functionality missing" >&2;}
21868 { (exit 1); exit 1; }; }
21869 fi
21870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21871
21872 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21873 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21874 cat >conftest.$ac_ext <<_ACEOF
21875 /* confdefs.h. */
21876 _ACEOF
21877 cat confdefs.h >>conftest.$ac_ext
21878 cat >>conftest.$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21880 #include <string>
21881 int
21882 main ()
21883 {
21884 std::string foo, bar;
21885 foo.compare(bar);
21886 foo.compare(1, 1, bar);
21887 foo.compare(1, 1, bar, 1, 1);
21888 foo.compare("");
21889 foo.compare(1, 1, "");
21890 foo.compare(1, 1, "", 2);
21891 ;
21892 return 0;
21893 }
21894 _ACEOF
21895 rm -f conftest.$ac_objext
21896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21897 (eval $ac_compile) 2>conftest.er1
21898 ac_status=$?
21899 grep -v '^ *+' conftest.er1 >conftest.err
21900 rm -f conftest.er1
21901 cat conftest.err >&5
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); } &&
21904 { ac_try='test -z "$ac_cxx_werror_flag"
21905 || test ! -s conftest.err'
21906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21907 (eval $ac_try) 2>&5
21908 ac_status=$?
21909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910 (exit $ac_status); }; } &&
21911 { ac_try='test -s conftest.$ac_objext'
21912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21913 (eval $ac_try) 2>&5
21914 ac_status=$?
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); }; }; then
21917 echo "$as_me:$LINENO: result: yes" >&5
21918 echo "${ECHO_T}yes" >&6
21919 cat >>confdefs.h <<\_ACEOF
21920 #define HAVE_STD_STRING_COMPARE 1
21921 _ACEOF
21922
21923 else
21924 echo "$as_me: failed program was:" >&5
21925 sed 's/^/| /' conftest.$ac_ext >&5
21926
21927 echo "$as_me:$LINENO: result: no" >&5
21928 echo "${ECHO_T}no" >&6
21929 fi
21930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21931
21932 if test "${ac_cv_header_hash_map+set}" = set; then
21933 echo "$as_me:$LINENO: checking for hash_map" >&5
21934 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21935 if test "${ac_cv_header_hash_map+set}" = set; then
21936 echo $ECHO_N "(cached) $ECHO_C" >&6
21937 fi
21938 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21939 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21940 else
21941 # Is the header compilable?
21942 echo "$as_me:$LINENO: checking hash_map usability" >&5
21943 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21944 cat >conftest.$ac_ext <<_ACEOF
21945 /* confdefs.h. */
21946 _ACEOF
21947 cat confdefs.h >>conftest.$ac_ext
21948 cat >>conftest.$ac_ext <<_ACEOF
21949 /* end confdefs.h. */
21950 $ac_includes_default
21951 #include <hash_map>
21952 _ACEOF
21953 rm -f conftest.$ac_objext
21954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21955 (eval $ac_compile) 2>conftest.er1
21956 ac_status=$?
21957 grep -v '^ *+' conftest.er1 >conftest.err
21958 rm -f conftest.er1
21959 cat conftest.err >&5
21960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961 (exit $ac_status); } &&
21962 { ac_try='test -z "$ac_cxx_werror_flag"
21963 || test ! -s conftest.err'
21964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21965 (eval $ac_try) 2>&5
21966 ac_status=$?
21967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21968 (exit $ac_status); }; } &&
21969 { ac_try='test -s conftest.$ac_objext'
21970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21971 (eval $ac_try) 2>&5
21972 ac_status=$?
21973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21974 (exit $ac_status); }; }; then
21975 ac_header_compiler=yes
21976 else
21977 echo "$as_me: failed program was:" >&5
21978 sed 's/^/| /' conftest.$ac_ext >&5
21979
21980 ac_header_compiler=no
21981 fi
21982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21983 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21984 echo "${ECHO_T}$ac_header_compiler" >&6
21985
21986 # Is the header present?
21987 echo "$as_me:$LINENO: checking hash_map presence" >&5
21988 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21989 cat >conftest.$ac_ext <<_ACEOF
21990 /* confdefs.h. */
21991 _ACEOF
21992 cat confdefs.h >>conftest.$ac_ext
21993 cat >>conftest.$ac_ext <<_ACEOF
21994 /* end confdefs.h. */
21995 #include <hash_map>
21996 _ACEOF
21997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21999 ac_status=$?
22000 grep -v '^ *+' conftest.er1 >conftest.err
22001 rm -f conftest.er1
22002 cat conftest.err >&5
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); } >/dev/null; then
22005 if test -s conftest.err; then
22006 ac_cpp_err=$ac_cxx_preproc_warn_flag
22007 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22008 else
22009 ac_cpp_err=
22010 fi
22011 else
22012 ac_cpp_err=yes
22013 fi
22014 if test -z "$ac_cpp_err"; then
22015 ac_header_preproc=yes
22016 else
22017 echo "$as_me: failed program was:" >&5
22018 sed 's/^/| /' conftest.$ac_ext >&5
22019
22020 ac_header_preproc=no
22021 fi
22022 rm -f conftest.err conftest.$ac_ext
22023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22024 echo "${ECHO_T}$ac_header_preproc" >&6
22025
22026 # So? What about this header?
22027 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22028 yes:no: )
22029 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22030 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22031 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
22032 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
22033 ac_header_preproc=yes
22034 ;;
22035 no:yes:* )
22036 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
22037 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
22038 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
22039 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
22040 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
22041 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
22042 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
22043 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22044 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
22045 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
22046 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
22047 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
22048 (
22049 cat <<\_ASBOX
22050 ## ----------------------------------------- ##
22051 ## Report this to wx-dev@lists.wxwidgets.org ##
22052 ## ----------------------------------------- ##
22053 _ASBOX
22054 ) |
22055 sed "s/^/$as_me: WARNING: /" >&2
22056 ;;
22057 esac
22058 echo "$as_me:$LINENO: checking for hash_map" >&5
22059 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22060 if test "${ac_cv_header_hash_map+set}" = set; then
22061 echo $ECHO_N "(cached) $ECHO_C" >&6
22062 else
22063 ac_cv_header_hash_map=$ac_header_preproc
22064 fi
22065 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22066 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22067
22068 fi
22069 if test $ac_cv_header_hash_map = yes; then
22070 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22071 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22072 cat >conftest.$ac_ext <<_ACEOF
22073 /* confdefs.h. */
22074 _ACEOF
22075 cat confdefs.h >>conftest.$ac_ext
22076 cat >>conftest.$ac_ext <<_ACEOF
22077 /* end confdefs.h. */
22078 #include <hash_map>
22079 #include <hash_set>
22080 int
22081 main ()
22082 {
22083 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
22084 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
22085 ;
22086 return 0;
22087 }
22088 _ACEOF
22089 rm -f conftest.$ac_objext
22090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22091 (eval $ac_compile) 2>conftest.er1
22092 ac_status=$?
22093 grep -v '^ *+' conftest.er1 >conftest.err
22094 rm -f conftest.er1
22095 cat conftest.err >&5
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); } &&
22098 { ac_try='test -z "$ac_cxx_werror_flag"
22099 || test ! -s conftest.err'
22100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22101 (eval $ac_try) 2>&5
22102 ac_status=$?
22103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22104 (exit $ac_status); }; } &&
22105 { ac_try='test -s conftest.$ac_objext'
22106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22107 (eval $ac_try) 2>&5
22108 ac_status=$?
22109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110 (exit $ac_status); }; }; then
22111 echo "$as_me:$LINENO: result: yes" >&5
22112 echo "${ECHO_T}yes" >&6
22113 cat >>confdefs.h <<\_ACEOF
22114 #define HAVE_HASH_MAP 1
22115 _ACEOF
22116
22117 cat >>confdefs.h <<\_ACEOF
22118 #define HAVE_STD_HASH_MAP 1
22119 _ACEOF
22120
22121 else
22122 echo "$as_me: failed program was:" >&5
22123 sed 's/^/| /' conftest.$ac_ext >&5
22124
22125 echo "$as_me:$LINENO: result: no" >&5
22126 echo "${ECHO_T}no" >&6
22127 fi
22128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22129
22130 fi
22131
22132
22133
22134 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22135 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22136 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22137 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22138 echo $ECHO_N "(cached) $ECHO_C" >&6
22139 fi
22140 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22141 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22142 else
22143 # Is the header compilable?
22144 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
22145 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
22146 cat >conftest.$ac_ext <<_ACEOF
22147 /* confdefs.h. */
22148 _ACEOF
22149 cat confdefs.h >>conftest.$ac_ext
22150 cat >>conftest.$ac_ext <<_ACEOF
22151 /* end confdefs.h. */
22152 $ac_includes_default
22153 #include <ext/hash_map>
22154 _ACEOF
22155 rm -f conftest.$ac_objext
22156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22157 (eval $ac_compile) 2>conftest.er1
22158 ac_status=$?
22159 grep -v '^ *+' conftest.er1 >conftest.err
22160 rm -f conftest.er1
22161 cat conftest.err >&5
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); } &&
22164 { ac_try='test -z "$ac_cxx_werror_flag"
22165 || test ! -s conftest.err'
22166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22167 (eval $ac_try) 2>&5
22168 ac_status=$?
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); }; } &&
22171 { ac_try='test -s conftest.$ac_objext'
22172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22173 (eval $ac_try) 2>&5
22174 ac_status=$?
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; }; then
22177 ac_header_compiler=yes
22178 else
22179 echo "$as_me: failed program was:" >&5
22180 sed 's/^/| /' conftest.$ac_ext >&5
22181
22182 ac_header_compiler=no
22183 fi
22184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22185 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22186 echo "${ECHO_T}$ac_header_compiler" >&6
22187
22188 # Is the header present?
22189 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
22190 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22191 cat >conftest.$ac_ext <<_ACEOF
22192 /* confdefs.h. */
22193 _ACEOF
22194 cat confdefs.h >>conftest.$ac_ext
22195 cat >>conftest.$ac_ext <<_ACEOF
22196 /* end confdefs.h. */
22197 #include <ext/hash_map>
22198 _ACEOF
22199 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22200 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22201 ac_status=$?
22202 grep -v '^ *+' conftest.er1 >conftest.err
22203 rm -f conftest.er1
22204 cat conftest.err >&5
22205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22206 (exit $ac_status); } >/dev/null; then
22207 if test -s conftest.err; then
22208 ac_cpp_err=$ac_cxx_preproc_warn_flag
22209 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22210 else
22211 ac_cpp_err=
22212 fi
22213 else
22214 ac_cpp_err=yes
22215 fi
22216 if test -z "$ac_cpp_err"; then
22217 ac_header_preproc=yes
22218 else
22219 echo "$as_me: failed program was:" >&5
22220 sed 's/^/| /' conftest.$ac_ext >&5
22221
22222 ac_header_preproc=no
22223 fi
22224 rm -f conftest.err conftest.$ac_ext
22225 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22226 echo "${ECHO_T}$ac_header_preproc" >&6
22227
22228 # So? What about this header?
22229 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22230 yes:no: )
22231 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22232 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22233 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22234 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22235 ac_header_preproc=yes
22236 ;;
22237 no:yes:* )
22238 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22239 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22240 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22241 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22242 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22243 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22244 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22245 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22246 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22247 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22248 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22249 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22250 (
22251 cat <<\_ASBOX
22252 ## ----------------------------------------- ##
22253 ## Report this to wx-dev@lists.wxwidgets.org ##
22254 ## ----------------------------------------- ##
22255 _ASBOX
22256 ) |
22257 sed "s/^/$as_me: WARNING: /" >&2
22258 ;;
22259 esac
22260 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22261 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22262 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22263 echo $ECHO_N "(cached) $ECHO_C" >&6
22264 else
22265 ac_cv_header_ext_hash_map=$ac_header_preproc
22266 fi
22267 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22268 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22269
22270 fi
22271 if test $ac_cv_header_ext_hash_map = yes; then
22272 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22273 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22274 cat >conftest.$ac_ext <<_ACEOF
22275 /* confdefs.h. */
22276 _ACEOF
22277 cat confdefs.h >>conftest.$ac_ext
22278 cat >>conftest.$ac_ext <<_ACEOF
22279 /* end confdefs.h. */
22280 #include <ext/hash_map>
22281 #include <ext/hash_set>
22282 int
22283 main ()
22284 {
22285 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22286 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22287 ;
22288 return 0;
22289 }
22290 _ACEOF
22291 rm -f conftest.$ac_objext
22292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22293 (eval $ac_compile) 2>conftest.er1
22294 ac_status=$?
22295 grep -v '^ *+' conftest.er1 >conftest.err
22296 rm -f conftest.er1
22297 cat conftest.err >&5
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); } &&
22300 { ac_try='test -z "$ac_cxx_werror_flag"
22301 || test ! -s conftest.err'
22302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22303 (eval $ac_try) 2>&5
22304 ac_status=$?
22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306 (exit $ac_status); }; } &&
22307 { ac_try='test -s conftest.$ac_objext'
22308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22309 (eval $ac_try) 2>&5
22310 ac_status=$?
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); }; }; then
22313 echo "$as_me:$LINENO: result: yes" >&5
22314 echo "${ECHO_T}yes" >&6
22315 cat >>confdefs.h <<\_ACEOF
22316 #define HAVE_EXT_HASH_MAP 1
22317 _ACEOF
22318
22319 cat >>confdefs.h <<\_ACEOF
22320 #define HAVE_GNU_CXX_HASH_MAP 1
22321 _ACEOF
22322
22323 else
22324 echo "$as_me: failed program was:" >&5
22325 sed 's/^/| /' conftest.$ac_ext >&5
22326
22327 echo "$as_me:$LINENO: result: no" >&5
22328 echo "${ECHO_T}no" >&6
22329 fi
22330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22331
22332 fi
22333
22334
22335
22336 ac_ext=c
22337 ac_cpp='$CPP $CPPFLAGS'
22338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22341
22342 fi
22343
22344
22345 SEARCH_INCLUDE="\
22346 /usr/local/include \
22347 \
22348 /usr/Motif-2.1/include \
22349 /usr/Motif-1.2/include \
22350 /usr/include/Motif1.2 \
22351 /opt/xpm/include/X11 \
22352 /opt/GBxpm/include/ \
22353 /opt/GBxpm/X11/include/ \
22354 \
22355 /usr/dt/include \
22356 /usr/openwin/include \
22357 \
22358 /usr/include/Xm \
22359 \
22360 /usr/X11R6/include \
22361 /usr/X11R6.4/include \
22362 /usr/X11R5/include \
22363 /usr/X11R4/include \
22364 \
22365 /usr/include/X11R6 \
22366 /usr/include/X11R5 \
22367 /usr/include/X11R4 \
22368 \
22369 /usr/local/X11R6/include \
22370 /usr/local/X11R5/include \
22371 /usr/local/X11R4/include \
22372 \
22373 /usr/local/include/X11R6 \
22374 /usr/local/include/X11R5 \
22375 /usr/local/include/X11R4 \
22376 \
22377 /usr/X11/include \
22378 /usr/include/X11 \
22379 /usr/local/X11/include \
22380 /usr/local/include/X11 \
22381 \
22382 /usr/X386/include \
22383 /usr/x386/include \
22384 /usr/XFree86/include/X11 \
22385 \
22386 X:/XFree86/include \
22387 X:/XFree86/include/X11 \
22388 \
22389 /usr/include/gtk \
22390 /usr/local/include/gtk \
22391 /usr/include/glib \
22392 /usr/local/include/glib \
22393 \
22394 /usr/include/qt \
22395 /usr/local/include/qt \
22396 \
22397 /usr/local/arm/3.3.2/include \
22398 \
22399 /usr/include/windows \
22400 /usr/include/wine \
22401 /usr/local/include/wine \
22402 \
22403 /usr/unsupported/include \
22404 /usr/athena/include \
22405 /usr/local/x11r5/include \
22406 /usr/lpp/Xamples/include \
22407 \
22408 /usr/openwin/share/include"
22409
22410 SEARCH_LIB="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
22411
22412
22413 cat >confcache <<\_ACEOF
22414 # This file is a shell script that caches the results of configure
22415 # tests run on this system so they can be shared between configure
22416 # scripts and configure runs, see configure's option --config-cache.
22417 # It is not useful on other systems. If it contains results you don't
22418 # want to keep, you may remove or edit it.
22419 #
22420 # config.status only pays attention to the cache file if you give it
22421 # the --recheck option to rerun configure.
22422 #
22423 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22424 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22425 # following values.
22426
22427 _ACEOF
22428
22429 # The following way of writing the cache mishandles newlines in values,
22430 # but we know of no workaround that is simple, portable, and efficient.
22431 # So, don't put newlines in cache variables' values.
22432 # Ultrix sh set writes to stderr and can't be redirected directly,
22433 # and sets the high bit in the cache file unless we assign to the vars.
22434 {
22435 (set) 2>&1 |
22436 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22437 *ac_space=\ *)
22438 # `set' does not quote correctly, so add quotes (double-quote
22439 # substitution turns \\\\ into \\, and sed turns \\ into \).
22440 sed -n \
22441 "s/'/'\\\\''/g;
22442 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22443 ;;
22444 *)
22445 # `set' quotes correctly as required by POSIX, so do not add quotes.
22446 sed -n \
22447 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22448 ;;
22449 esac;
22450 } |
22451 sed '
22452 t clear
22453 : clear
22454 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22455 t end
22456 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22457 : end' >>confcache
22458 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22459 if test -w $cache_file; then
22460 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22461 cat confcache >$cache_file
22462 else
22463 echo "not updating unwritable cache $cache_file"
22464 fi
22465 fi
22466 rm -f confcache
22467
22468 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22469 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22470 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22471 if test "${wx_cv_lib_glibc21+set}" = set; then
22472 echo $ECHO_N "(cached) $ECHO_C" >&6
22473 else
22474
22475 cat >conftest.$ac_ext <<_ACEOF
22476 /* confdefs.h. */
22477 _ACEOF
22478 cat confdefs.h >>conftest.$ac_ext
22479 cat >>conftest.$ac_ext <<_ACEOF
22480 /* end confdefs.h. */
22481 #include <features.h>
22482 int
22483 main ()
22484 {
22485
22486 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22487 #error not glibc2.1
22488 #endif
22489
22490 ;
22491 return 0;
22492 }
22493 _ACEOF
22494 rm -f conftest.$ac_objext
22495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22496 (eval $ac_compile) 2>conftest.er1
22497 ac_status=$?
22498 grep -v '^ *+' conftest.er1 >conftest.err
22499 rm -f conftest.er1
22500 cat conftest.err >&5
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); } &&
22503 { ac_try='test -z "$ac_c_werror_flag"
22504 || test ! -s conftest.err'
22505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22506 (eval $ac_try) 2>&5
22507 ac_status=$?
22508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509 (exit $ac_status); }; } &&
22510 { ac_try='test -s conftest.$ac_objext'
22511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22512 (eval $ac_try) 2>&5
22513 ac_status=$?
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); }; }; then
22516
22517 wx_cv_lib_glibc21=yes
22518
22519 else
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.$ac_ext >&5
22522
22523
22524 wx_cv_lib_glibc21=no
22525
22526
22527 fi
22528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22529
22530 fi
22531 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22532 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22533 if test "$wx_cv_lib_glibc21" = "yes"; then
22534 cat >>confdefs.h <<\_ACEOF
22535 #define wxHAVE_GLIBC2 1
22536 _ACEOF
22537
22538 fi
22539 fi
22540
22541 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22542 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22543 cat >>confdefs.h <<\_ACEOF
22544 #define _GNU_SOURCE 1
22545 _ACEOF
22546
22547 fi
22548 fi
22549
22550
22551
22552 if test "$wxUSE_REGEX" != "no"; then
22553 cat >>confdefs.h <<\_ACEOF
22554 #define wxUSE_REGEX 1
22555 _ACEOF
22556
22557
22558 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22559 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22560 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22561 wxUSE_REGEX=builtin
22562 fi
22563
22564 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22565 if test "${ac_cv_header_regex_h+set}" = set; then
22566 echo "$as_me:$LINENO: checking for regex.h" >&5
22567 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22568 if test "${ac_cv_header_regex_h+set}" = set; then
22569 echo $ECHO_N "(cached) $ECHO_C" >&6
22570 fi
22571 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22572 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22573 else
22574 # Is the header compilable?
22575 echo "$as_me:$LINENO: checking regex.h usability" >&5
22576 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22577 cat >conftest.$ac_ext <<_ACEOF
22578 /* confdefs.h. */
22579 _ACEOF
22580 cat confdefs.h >>conftest.$ac_ext
22581 cat >>conftest.$ac_ext <<_ACEOF
22582 /* end confdefs.h. */
22583 $ac_includes_default
22584 #include <regex.h>
22585 _ACEOF
22586 rm -f conftest.$ac_objext
22587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22588 (eval $ac_compile) 2>conftest.er1
22589 ac_status=$?
22590 grep -v '^ *+' conftest.er1 >conftest.err
22591 rm -f conftest.er1
22592 cat conftest.err >&5
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); } &&
22595 { ac_try='test -z "$ac_c_werror_flag"
22596 || test ! -s conftest.err'
22597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22598 (eval $ac_try) 2>&5
22599 ac_status=$?
22600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601 (exit $ac_status); }; } &&
22602 { ac_try='test -s conftest.$ac_objext'
22603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22604 (eval $ac_try) 2>&5
22605 ac_status=$?
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); }; }; then
22608 ac_header_compiler=yes
22609 else
22610 echo "$as_me: failed program was:" >&5
22611 sed 's/^/| /' conftest.$ac_ext >&5
22612
22613 ac_header_compiler=no
22614 fi
22615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22616 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22617 echo "${ECHO_T}$ac_header_compiler" >&6
22618
22619 # Is the header present?
22620 echo "$as_me:$LINENO: checking regex.h presence" >&5
22621 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22622 cat >conftest.$ac_ext <<_ACEOF
22623 /* confdefs.h. */
22624 _ACEOF
22625 cat confdefs.h >>conftest.$ac_ext
22626 cat >>conftest.$ac_ext <<_ACEOF
22627 /* end confdefs.h. */
22628 #include <regex.h>
22629 _ACEOF
22630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22631 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
22638 if test -s conftest.err; then
22639 ac_cpp_err=$ac_c_preproc_warn_flag
22640 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22641 else
22642 ac_cpp_err=
22643 fi
22644 else
22645 ac_cpp_err=yes
22646 fi
22647 if test -z "$ac_cpp_err"; then
22648 ac_header_preproc=yes
22649 else
22650 echo "$as_me: failed program was:" >&5
22651 sed 's/^/| /' conftest.$ac_ext >&5
22652
22653 ac_header_preproc=no
22654 fi
22655 rm -f conftest.err conftest.$ac_ext
22656 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22657 echo "${ECHO_T}$ac_header_preproc" >&6
22658
22659 # So? What about this header?
22660 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22661 yes:no: )
22662 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22663 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22664 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22665 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22666 ac_header_preproc=yes
22667 ;;
22668 no:yes:* )
22669 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22670 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22671 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22672 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22673 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22674 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22675 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22676 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22677 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22678 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22679 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22680 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22681 (
22682 cat <<\_ASBOX
22683 ## ----------------------------------------- ##
22684 ## Report this to wx-dev@lists.wxwidgets.org ##
22685 ## ----------------------------------------- ##
22686 _ASBOX
22687 ) |
22688 sed "s/^/$as_me: WARNING: /" >&2
22689 ;;
22690 esac
22691 echo "$as_me:$LINENO: checking for regex.h" >&5
22692 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22693 if test "${ac_cv_header_regex_h+set}" = set; then
22694 echo $ECHO_N "(cached) $ECHO_C" >&6
22695 else
22696 ac_cv_header_regex_h=$ac_header_preproc
22697 fi
22698 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22699 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22700
22701 fi
22702 if test $ac_cv_header_regex_h = yes; then
22703
22704 for ac_func in regcomp
22705 do
22706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22707 echo "$as_me:$LINENO: checking for $ac_func" >&5
22708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22709 if eval "test \"\${$as_ac_var+set}\" = set"; then
22710 echo $ECHO_N "(cached) $ECHO_C" >&6
22711 else
22712 cat >conftest.$ac_ext <<_ACEOF
22713 /* confdefs.h. */
22714 _ACEOF
22715 cat confdefs.h >>conftest.$ac_ext
22716 cat >>conftest.$ac_ext <<_ACEOF
22717 /* end confdefs.h. */
22718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22720 #define $ac_func innocuous_$ac_func
22721
22722 /* System header to define __stub macros and hopefully few prototypes,
22723 which can conflict with char $ac_func (); below.
22724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22725 <limits.h> exists even on freestanding compilers. */
22726
22727 #ifdef __STDC__
22728 # include <limits.h>
22729 #else
22730 # include <assert.h>
22731 #endif
22732
22733 #undef $ac_func
22734
22735 /* Override any gcc2 internal prototype to avoid an error. */
22736 #ifdef __cplusplus
22737 extern "C"
22738 {
22739 #endif
22740 /* We use char because int might match the return type of a gcc2
22741 builtin and then its argument prototype would still apply. */
22742 char $ac_func ();
22743 /* The GNU C library defines this for functions which it implements
22744 to always fail with ENOSYS. Some functions are actually named
22745 something starting with __ and the normal name is an alias. */
22746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22747 choke me
22748 #else
22749 char (*f) () = $ac_func;
22750 #endif
22751 #ifdef __cplusplus
22752 }
22753 #endif
22754
22755 int
22756 main ()
22757 {
22758 return f != $ac_func;
22759 ;
22760 return 0;
22761 }
22762 _ACEOF
22763 rm -f conftest.$ac_objext conftest$ac_exeext
22764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22765 (eval $ac_link) 2>conftest.er1
22766 ac_status=$?
22767 grep -v '^ *+' conftest.er1 >conftest.err
22768 rm -f conftest.er1
22769 cat conftest.err >&5
22770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22771 (exit $ac_status); } &&
22772 { ac_try='test -z "$ac_c_werror_flag"
22773 || test ! -s conftest.err'
22774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22775 (eval $ac_try) 2>&5
22776 ac_status=$?
22777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22778 (exit $ac_status); }; } &&
22779 { ac_try='test -s conftest$ac_exeext'
22780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22781 (eval $ac_try) 2>&5
22782 ac_status=$?
22783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22784 (exit $ac_status); }; }; then
22785 eval "$as_ac_var=yes"
22786 else
22787 echo "$as_me: failed program was:" >&5
22788 sed 's/^/| /' conftest.$ac_ext >&5
22789
22790 eval "$as_ac_var=no"
22791 fi
22792 rm -f conftest.err conftest.$ac_objext \
22793 conftest$ac_exeext conftest.$ac_ext
22794 fi
22795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22797 if test `eval echo '${'$as_ac_var'}'` = yes; then
22798 cat >>confdefs.h <<_ACEOF
22799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22800 _ACEOF
22801
22802 fi
22803 done
22804
22805 fi
22806
22807
22808
22809 if test "x$ac_cv_func_regcomp" != "xyes"; then
22810 if test "$wxUSE_REGEX" = "sys" ; then
22811 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22812 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22813 { (exit 1); exit 1; }; }
22814 else
22815 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22816 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22817 wxUSE_REGEX=builtin
22818 fi
22819 else
22820 wxUSE_REGEX=sys
22821 cat >>confdefs.h <<\_ACEOF
22822 #define WX_NO_REGEX_ADVANCED 1
22823 _ACEOF
22824
22825 fi
22826 fi
22827 fi
22828
22829
22830 ZLIB_LINK=
22831 if test "$wxUSE_ZLIB" != "no" ; then
22832 cat >>confdefs.h <<\_ACEOF
22833 #define wxUSE_ZLIB 1
22834 _ACEOF
22835
22836
22837 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22838 if test "$USE_DARWIN" = 1; then
22839 system_zlib_h_ok="yes"
22840 else
22841 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22842 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22843 if test "${ac_cv_header_zlib_h+set}" = set; then
22844 echo $ECHO_N "(cached) $ECHO_C" >&6
22845 else
22846 if test "$cross_compiling" = yes; then
22847 unset ac_cv_header_zlib_h
22848
22849 else
22850 cat >conftest.$ac_ext <<_ACEOF
22851 /* confdefs.h. */
22852 _ACEOF
22853 cat confdefs.h >>conftest.$ac_ext
22854 cat >>conftest.$ac_ext <<_ACEOF
22855 /* end confdefs.h. */
22856
22857 #include <zlib.h>
22858 #include <stdio.h>
22859
22860 int main()
22861 {
22862 FILE *f=fopen("conftestval", "w");
22863 if (!f) exit(1);
22864 fprintf(f, "%s",
22865 ZLIB_VERSION[0] == '1' &&
22866 (ZLIB_VERSION[2] > '1' ||
22867 (ZLIB_VERSION[2] == '1' &&
22868 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22869 exit(0);
22870 }
22871
22872 _ACEOF
22873 rm -f conftest$ac_exeext
22874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22875 (eval $ac_link) 2>&5
22876 ac_status=$?
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22880 (eval $ac_try) 2>&5
22881 ac_status=$?
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); }; }; then
22884 ac_cv_header_zlib_h=`cat conftestval`
22885 else
22886 echo "$as_me: program exited with status $ac_status" >&5
22887 echo "$as_me: failed program was:" >&5
22888 sed 's/^/| /' conftest.$ac_ext >&5
22889
22890 ( exit $ac_status )
22891 ac_cv_header_zlib_h=no
22892 fi
22893 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22894 fi
22895
22896 fi
22897 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22898 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22899 if test "${ac_cv_header_zlib_h+set}" = set; then
22900 echo "$as_me:$LINENO: checking for zlib.h" >&5
22901 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22902 if test "${ac_cv_header_zlib_h+set}" = set; then
22903 echo $ECHO_N "(cached) $ECHO_C" >&6
22904 fi
22905 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22906 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22907 else
22908 # Is the header compilable?
22909 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22910 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22911 cat >conftest.$ac_ext <<_ACEOF
22912 /* confdefs.h. */
22913 _ACEOF
22914 cat confdefs.h >>conftest.$ac_ext
22915 cat >>conftest.$ac_ext <<_ACEOF
22916 /* end confdefs.h. */
22917 $ac_includes_default
22918 #include <zlib.h>
22919 _ACEOF
22920 rm -f conftest.$ac_objext
22921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22922 (eval $ac_compile) 2>conftest.er1
22923 ac_status=$?
22924 grep -v '^ *+' conftest.er1 >conftest.err
22925 rm -f conftest.er1
22926 cat conftest.err >&5
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); } &&
22929 { ac_try='test -z "$ac_c_werror_flag"
22930 || test ! -s conftest.err'
22931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22932 (eval $ac_try) 2>&5
22933 ac_status=$?
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); }; } &&
22936 { ac_try='test -s conftest.$ac_objext'
22937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22938 (eval $ac_try) 2>&5
22939 ac_status=$?
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); }; }; then
22942 ac_header_compiler=yes
22943 else
22944 echo "$as_me: failed program was:" >&5
22945 sed 's/^/| /' conftest.$ac_ext >&5
22946
22947 ac_header_compiler=no
22948 fi
22949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22951 echo "${ECHO_T}$ac_header_compiler" >&6
22952
22953 # Is the header present?
22954 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22955 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22956 cat >conftest.$ac_ext <<_ACEOF
22957 /* confdefs.h. */
22958 _ACEOF
22959 cat confdefs.h >>conftest.$ac_ext
22960 cat >>conftest.$ac_ext <<_ACEOF
22961 /* end confdefs.h. */
22962 #include <zlib.h>
22963 _ACEOF
22964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22965 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22966 ac_status=$?
22967 grep -v '^ *+' conftest.er1 >conftest.err
22968 rm -f conftest.er1
22969 cat conftest.err >&5
22970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22971 (exit $ac_status); } >/dev/null; then
22972 if test -s conftest.err; then
22973 ac_cpp_err=$ac_c_preproc_warn_flag
22974 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22975 else
22976 ac_cpp_err=
22977 fi
22978 else
22979 ac_cpp_err=yes
22980 fi
22981 if test -z "$ac_cpp_err"; then
22982 ac_header_preproc=yes
22983 else
22984 echo "$as_me: failed program was:" >&5
22985 sed 's/^/| /' conftest.$ac_ext >&5
22986
22987 ac_header_preproc=no
22988 fi
22989 rm -f conftest.err conftest.$ac_ext
22990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22991 echo "${ECHO_T}$ac_header_preproc" >&6
22992
22993 # So? What about this header?
22994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22995 yes:no: )
22996 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22997 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22998 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22999 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
23000 ac_header_preproc=yes
23001 ;;
23002 no:yes:* )
23003 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
23004 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
23005 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
23006 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
23007 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
23008 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
23009 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
23010 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
23011 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
23012 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
23013 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
23014 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
23015 (
23016 cat <<\_ASBOX
23017 ## ----------------------------------------- ##
23018 ## Report this to wx-dev@lists.wxwidgets.org ##
23019 ## ----------------------------------------- ##
23020 _ASBOX
23021 ) |
23022 sed "s/^/$as_me: WARNING: /" >&2
23023 ;;
23024 esac
23025 echo "$as_me:$LINENO: checking for zlib.h" >&5
23026 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23027 if test "${ac_cv_header_zlib_h+set}" = set; then
23028 echo $ECHO_N "(cached) $ECHO_C" >&6
23029 else
23030 ac_cv_header_zlib_h=$ac_header_preproc
23031 fi
23032 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23033 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23034
23035 fi
23036
23037
23038
23039 system_zlib_h_ok=$ac_cv_header_zlib_h
23040 fi
23041
23042 if test "$system_zlib_h_ok" = "yes"; then
23043 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
23044 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
23045 if test "${ac_cv_lib_z_deflate+set}" = set; then
23046 echo $ECHO_N "(cached) $ECHO_C" >&6
23047 else
23048 ac_check_lib_save_LIBS=$LIBS
23049 LIBS="-lz $LIBS"
23050 cat >conftest.$ac_ext <<_ACEOF
23051 /* confdefs.h. */
23052 _ACEOF
23053 cat confdefs.h >>conftest.$ac_ext
23054 cat >>conftest.$ac_ext <<_ACEOF
23055 /* end confdefs.h. */
23056
23057 /* Override any gcc2 internal prototype to avoid an error. */
23058 #ifdef __cplusplus
23059 extern "C"
23060 #endif
23061 /* We use char because int might match the return type of a gcc2
23062 builtin and then its argument prototype would still apply. */
23063 char deflate ();
23064 int
23065 main ()
23066 {
23067 deflate ();
23068 ;
23069 return 0;
23070 }
23071 _ACEOF
23072 rm -f conftest.$ac_objext conftest$ac_exeext
23073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23074 (eval $ac_link) 2>conftest.er1
23075 ac_status=$?
23076 grep -v '^ *+' conftest.er1 >conftest.err
23077 rm -f conftest.er1
23078 cat conftest.err >&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } &&
23081 { ac_try='test -z "$ac_c_werror_flag"
23082 || test ! -s conftest.err'
23083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23084 (eval $ac_try) 2>&5
23085 ac_status=$?
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); }; } &&
23088 { ac_try='test -s conftest$ac_exeext'
23089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23090 (eval $ac_try) 2>&5
23091 ac_status=$?
23092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23093 (exit $ac_status); }; }; then
23094 ac_cv_lib_z_deflate=yes
23095 else
23096 echo "$as_me: failed program was:" >&5
23097 sed 's/^/| /' conftest.$ac_ext >&5
23098
23099 ac_cv_lib_z_deflate=no
23100 fi
23101 rm -f conftest.err conftest.$ac_objext \
23102 conftest$ac_exeext conftest.$ac_ext
23103 LIBS=$ac_check_lib_save_LIBS
23104 fi
23105 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
23106 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
23107 if test $ac_cv_lib_z_deflate = yes; then
23108 ZLIB_LINK=" -lz"
23109 fi
23110
23111 fi
23112
23113 if test "x$ZLIB_LINK" = "x" ; then
23114 if test "$wxUSE_ZLIB" = "sys" ; then
23115 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
23116 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
23117 { (exit 1); exit 1; }; }
23118 else
23119 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
23120 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
23121 wxUSE_ZLIB=builtin
23122 fi
23123 else
23124 wxUSE_ZLIB=sys
23125 fi
23126 fi
23127 fi
23128
23129
23130 PNG_LINK=
23131 if test "$wxUSE_LIBPNG" != "no" ; then
23132 cat >>confdefs.h <<\_ACEOF
23133 #define wxUSE_LIBPNG 1
23134 _ACEOF
23135
23136
23137 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
23138 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
23139 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
23140 wxUSE_LIBPNG=sys
23141 fi
23142
23143 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
23144 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
23145 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
23146 wxUSE_LIBPNG=builtin
23147 fi
23148
23149 if test "$wxUSE_MGL" != 1 ; then
23150 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
23151 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
23152 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
23153 if test "${ac_cv_header_png_h+set}" = set; then
23154 echo $ECHO_N "(cached) $ECHO_C" >&6
23155 else
23156 if test "$cross_compiling" = yes; then
23157 unset ac_cv_header_png_h
23158
23159 else
23160 cat >conftest.$ac_ext <<_ACEOF
23161 /* confdefs.h. */
23162 _ACEOF
23163 cat confdefs.h >>conftest.$ac_ext
23164 cat >>conftest.$ac_ext <<_ACEOF
23165 /* end confdefs.h. */
23166
23167 #include <png.h>
23168 #include <stdio.h>
23169
23170 int main()
23171 {
23172 FILE *f=fopen("conftestval", "w");
23173 if (!f) exit(1);
23174 fprintf(f, "%s",
23175 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23176 exit(0);
23177 }
23178
23179 _ACEOF
23180 rm -f conftest$ac_exeext
23181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23182 (eval $ac_link) 2>&5
23183 ac_status=$?
23184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23187 (eval $ac_try) 2>&5
23188 ac_status=$?
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); }; }; then
23191 ac_cv_header_png_h=`cat conftestval`
23192 else
23193 echo "$as_me: program exited with status $ac_status" >&5
23194 echo "$as_me: failed program was:" >&5
23195 sed 's/^/| /' conftest.$ac_ext >&5
23196
23197 ( exit $ac_status )
23198 ac_cv_header_png_h=no
23199 fi
23200 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23201 fi
23202
23203 fi
23204 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23205 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23206 if test "${ac_cv_header_png_h+set}" = set; then
23207 echo "$as_me:$LINENO: checking for png.h" >&5
23208 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23209 if test "${ac_cv_header_png_h+set}" = set; then
23210 echo $ECHO_N "(cached) $ECHO_C" >&6
23211 fi
23212 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23213 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23214 else
23215 # Is the header compilable?
23216 echo "$as_me:$LINENO: checking png.h usability" >&5
23217 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23218 cat >conftest.$ac_ext <<_ACEOF
23219 /* confdefs.h. */
23220 _ACEOF
23221 cat confdefs.h >>conftest.$ac_ext
23222 cat >>conftest.$ac_ext <<_ACEOF
23223 /* end confdefs.h. */
23224 $ac_includes_default
23225 #include <png.h>
23226 _ACEOF
23227 rm -f conftest.$ac_objext
23228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23229 (eval $ac_compile) 2>conftest.er1
23230 ac_status=$?
23231 grep -v '^ *+' conftest.er1 >conftest.err
23232 rm -f conftest.er1
23233 cat conftest.err >&5
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); } &&
23236 { ac_try='test -z "$ac_c_werror_flag"
23237 || test ! -s conftest.err'
23238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23239 (eval $ac_try) 2>&5
23240 ac_status=$?
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); }; } &&
23243 { ac_try='test -s conftest.$ac_objext'
23244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23245 (eval $ac_try) 2>&5
23246 ac_status=$?
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); }; }; then
23249 ac_header_compiler=yes
23250 else
23251 echo "$as_me: failed program was:" >&5
23252 sed 's/^/| /' conftest.$ac_ext >&5
23253
23254 ac_header_compiler=no
23255 fi
23256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23258 echo "${ECHO_T}$ac_header_compiler" >&6
23259
23260 # Is the header present?
23261 echo "$as_me:$LINENO: checking png.h presence" >&5
23262 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23263 cat >conftest.$ac_ext <<_ACEOF
23264 /* confdefs.h. */
23265 _ACEOF
23266 cat confdefs.h >>conftest.$ac_ext
23267 cat >>conftest.$ac_ext <<_ACEOF
23268 /* end confdefs.h. */
23269 #include <png.h>
23270 _ACEOF
23271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23272 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23273 ac_status=$?
23274 grep -v '^ *+' conftest.er1 >conftest.err
23275 rm -f conftest.er1
23276 cat conftest.err >&5
23277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23278 (exit $ac_status); } >/dev/null; then
23279 if test -s conftest.err; then
23280 ac_cpp_err=$ac_c_preproc_warn_flag
23281 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23282 else
23283 ac_cpp_err=
23284 fi
23285 else
23286 ac_cpp_err=yes
23287 fi
23288 if test -z "$ac_cpp_err"; then
23289 ac_header_preproc=yes
23290 else
23291 echo "$as_me: failed program was:" >&5
23292 sed 's/^/| /' conftest.$ac_ext >&5
23293
23294 ac_header_preproc=no
23295 fi
23296 rm -f conftest.err conftest.$ac_ext
23297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23298 echo "${ECHO_T}$ac_header_preproc" >&6
23299
23300 # So? What about this header?
23301 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23302 yes:no: )
23303 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23304 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23305 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23306 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23307 ac_header_preproc=yes
23308 ;;
23309 no:yes:* )
23310 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23311 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23312 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23313 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23314 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23315 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23316 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23317 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23318 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23319 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23320 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23321 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23322 (
23323 cat <<\_ASBOX
23324 ## ----------------------------------------- ##
23325 ## Report this to wx-dev@lists.wxwidgets.org ##
23326 ## ----------------------------------------- ##
23327 _ASBOX
23328 ) |
23329 sed "s/^/$as_me: WARNING: /" >&2
23330 ;;
23331 esac
23332 echo "$as_me:$LINENO: checking for png.h" >&5
23333 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23334 if test "${ac_cv_header_png_h+set}" = set; then
23335 echo $ECHO_N "(cached) $ECHO_C" >&6
23336 else
23337 ac_cv_header_png_h=$ac_header_preproc
23338 fi
23339 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23340 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23341
23342 fi
23343
23344
23345
23346 if test "$ac_cv_header_png_h" = "yes"; then
23347 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23348 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23349 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23350 echo $ECHO_N "(cached) $ECHO_C" >&6
23351 else
23352 ac_check_lib_save_LIBS=$LIBS
23353 LIBS="-lpng -lz -lm $LIBS"
23354 cat >conftest.$ac_ext <<_ACEOF
23355 /* confdefs.h. */
23356 _ACEOF
23357 cat confdefs.h >>conftest.$ac_ext
23358 cat >>conftest.$ac_ext <<_ACEOF
23359 /* end confdefs.h. */
23360
23361 /* Override any gcc2 internal prototype to avoid an error. */
23362 #ifdef __cplusplus
23363 extern "C"
23364 #endif
23365 /* We use char because int might match the return type of a gcc2
23366 builtin and then its argument prototype would still apply. */
23367 char png_check_sig ();
23368 int
23369 main ()
23370 {
23371 png_check_sig ();
23372 ;
23373 return 0;
23374 }
23375 _ACEOF
23376 rm -f conftest.$ac_objext conftest$ac_exeext
23377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23378 (eval $ac_link) 2>conftest.er1
23379 ac_status=$?
23380 grep -v '^ *+' conftest.er1 >conftest.err
23381 rm -f conftest.er1
23382 cat conftest.err >&5
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); } &&
23385 { ac_try='test -z "$ac_c_werror_flag"
23386 || test ! -s conftest.err'
23387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23388 (eval $ac_try) 2>&5
23389 ac_status=$?
23390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391 (exit $ac_status); }; } &&
23392 { ac_try='test -s conftest$ac_exeext'
23393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23394 (eval $ac_try) 2>&5
23395 ac_status=$?
23396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23397 (exit $ac_status); }; }; then
23398 ac_cv_lib_png_png_check_sig=yes
23399 else
23400 echo "$as_me: failed program was:" >&5
23401 sed 's/^/| /' conftest.$ac_ext >&5
23402
23403 ac_cv_lib_png_png_check_sig=no
23404 fi
23405 rm -f conftest.err conftest.$ac_objext \
23406 conftest$ac_exeext conftest.$ac_ext
23407 LIBS=$ac_check_lib_save_LIBS
23408 fi
23409 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23410 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23411 if test $ac_cv_lib_png_png_check_sig = yes; then
23412 PNG_LINK=" -lpng -lz"
23413 fi
23414
23415 fi
23416
23417 if test "x$PNG_LINK" = "x" ; then
23418 if test "$wxUSE_LIBPNG" = "sys" ; then
23419 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23420 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23421 { (exit 1); exit 1; }; }
23422 else
23423 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23424 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23425 wxUSE_LIBPNG=builtin
23426 fi
23427 else
23428 wxUSE_LIBPNG=sys
23429 fi
23430 fi
23431 fi
23432
23433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
23434 fi
23435
23436
23437 JPEG_LINK=
23438 if test "$wxUSE_LIBJPEG" != "no" ; then
23439 cat >>confdefs.h <<\_ACEOF
23440 #define wxUSE_LIBJPEG 1
23441 _ACEOF
23442
23443
23444 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23445 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23446 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23447 wxUSE_LIBJPEG=sys
23448 fi
23449
23450 if test "$wxUSE_MGL" != 1 ; then
23451 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23452 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23453 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23454 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23455 echo $ECHO_N "(cached) $ECHO_C" >&6
23456 else
23457 cat >conftest.$ac_ext <<_ACEOF
23458 /* confdefs.h. */
23459 _ACEOF
23460 cat confdefs.h >>conftest.$ac_ext
23461 cat >>conftest.$ac_ext <<_ACEOF
23462 /* end confdefs.h. */
23463
23464 #undef HAVE_STDLIB_H
23465 #include <stdio.h>
23466 #include <jpeglib.h>
23467
23468 int
23469 main ()
23470 {
23471
23472
23473 ;
23474 return 0;
23475 }
23476 _ACEOF
23477 rm -f conftest.$ac_objext
23478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23479 (eval $ac_compile) 2>conftest.er1
23480 ac_status=$?
23481 grep -v '^ *+' conftest.er1 >conftest.err
23482 rm -f conftest.er1
23483 cat conftest.err >&5
23484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485 (exit $ac_status); } &&
23486 { ac_try='test -z "$ac_c_werror_flag"
23487 || test ! -s conftest.err'
23488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23489 (eval $ac_try) 2>&5
23490 ac_status=$?
23491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23492 (exit $ac_status); }; } &&
23493 { ac_try='test -s conftest.$ac_objext'
23494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23495 (eval $ac_try) 2>&5
23496 ac_status=$?
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); }; }; then
23499 ac_cv_header_jpeglib_h=yes
23500 else
23501 echo "$as_me: failed program was:" >&5
23502 sed 's/^/| /' conftest.$ac_ext >&5
23503
23504 ac_cv_header_jpeglib_h=no
23505
23506 fi
23507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23508
23509 fi
23510
23511 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23512 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23513
23514 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23515 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23516 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23517 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23518 echo $ECHO_N "(cached) $ECHO_C" >&6
23519 else
23520 ac_check_lib_save_LIBS=$LIBS
23521 LIBS="-ljpeg $LIBS"
23522 cat >conftest.$ac_ext <<_ACEOF
23523 /* confdefs.h. */
23524 _ACEOF
23525 cat confdefs.h >>conftest.$ac_ext
23526 cat >>conftest.$ac_ext <<_ACEOF
23527 /* end confdefs.h. */
23528
23529 /* Override any gcc2 internal prototype to avoid an error. */
23530 #ifdef __cplusplus
23531 extern "C"
23532 #endif
23533 /* We use char because int might match the return type of a gcc2
23534 builtin and then its argument prototype would still apply. */
23535 char jpeg_read_header ();
23536 int
23537 main ()
23538 {
23539 jpeg_read_header ();
23540 ;
23541 return 0;
23542 }
23543 _ACEOF
23544 rm -f conftest.$ac_objext conftest$ac_exeext
23545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23546 (eval $ac_link) 2>conftest.er1
23547 ac_status=$?
23548 grep -v '^ *+' conftest.er1 >conftest.err
23549 rm -f conftest.er1
23550 cat conftest.err >&5
23551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23552 (exit $ac_status); } &&
23553 { ac_try='test -z "$ac_c_werror_flag"
23554 || test ! -s conftest.err'
23555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23556 (eval $ac_try) 2>&5
23557 ac_status=$?
23558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559 (exit $ac_status); }; } &&
23560 { ac_try='test -s conftest$ac_exeext'
23561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23562 (eval $ac_try) 2>&5
23563 ac_status=$?
23564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565 (exit $ac_status); }; }; then
23566 ac_cv_lib_jpeg_jpeg_read_header=yes
23567 else
23568 echo "$as_me: failed program was:" >&5
23569 sed 's/^/| /' conftest.$ac_ext >&5
23570
23571 ac_cv_lib_jpeg_jpeg_read_header=no
23572 fi
23573 rm -f conftest.err conftest.$ac_objext \
23574 conftest$ac_exeext conftest.$ac_ext
23575 LIBS=$ac_check_lib_save_LIBS
23576 fi
23577 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23578 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23579 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23580 JPEG_LINK=" -ljpeg"
23581 fi
23582
23583 fi
23584
23585 if test "x$JPEG_LINK" = "x" ; then
23586 if test "$wxUSE_LIBJPEG" = "sys" ; then
23587 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23588 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23589 { (exit 1); exit 1; }; }
23590 else
23591 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23592 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23593 wxUSE_LIBJPEG=builtin
23594 fi
23595 else
23596 wxUSE_LIBJPEG=sys
23597 fi
23598 fi
23599 fi
23600 fi
23601
23602
23603 TIFF_LINK=
23604 TIFF_PREREQ_LINKS=-lm
23605 if test "$wxUSE_LIBTIFF" != "no" ; then
23606 cat >>confdefs.h <<\_ACEOF
23607 #define wxUSE_LIBTIFF 1
23608 _ACEOF
23609
23610
23611 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23612 if test "$wxUSE_LIBJPEG" = "sys"; then
23613 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
23614 fi
23615 if test "$wxUSE_ZLIB" = "sys"; then
23616 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23617 fi
23618 if test "${ac_cv_header_tiffio_h+set}" = set; then
23619 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23620 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23621 if test "${ac_cv_header_tiffio_h+set}" = set; then
23622 echo $ECHO_N "(cached) $ECHO_C" >&6
23623 fi
23624 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23625 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23626 else
23627 # Is the header compilable?
23628 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23629 echo $ECHO_N "checking tiffio.h usability... $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 $ac_includes_default
23637 #include <tiffio.h>
23638 _ACEOF
23639 rm -f conftest.$ac_objext
23640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23641 (eval $ac_compile) 2>conftest.er1
23642 ac_status=$?
23643 grep -v '^ *+' conftest.er1 >conftest.err
23644 rm -f conftest.er1
23645 cat conftest.err >&5
23646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647 (exit $ac_status); } &&
23648 { ac_try='test -z "$ac_c_werror_flag"
23649 || test ! -s conftest.err'
23650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23651 (eval $ac_try) 2>&5
23652 ac_status=$?
23653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23654 (exit $ac_status); }; } &&
23655 { ac_try='test -s conftest.$ac_objext'
23656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23657 (eval $ac_try) 2>&5
23658 ac_status=$?
23659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660 (exit $ac_status); }; }; then
23661 ac_header_compiler=yes
23662 else
23663 echo "$as_me: failed program was:" >&5
23664 sed 's/^/| /' conftest.$ac_ext >&5
23665
23666 ac_header_compiler=no
23667 fi
23668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23669 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23670 echo "${ECHO_T}$ac_header_compiler" >&6
23671
23672 # Is the header present?
23673 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23674 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23675 cat >conftest.$ac_ext <<_ACEOF
23676 /* confdefs.h. */
23677 _ACEOF
23678 cat confdefs.h >>conftest.$ac_ext
23679 cat >>conftest.$ac_ext <<_ACEOF
23680 /* end confdefs.h. */
23681 #include <tiffio.h>
23682 _ACEOF
23683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23684 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23685 ac_status=$?
23686 grep -v '^ *+' conftest.er1 >conftest.err
23687 rm -f conftest.er1
23688 cat conftest.err >&5
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); } >/dev/null; then
23691 if test -s conftest.err; then
23692 ac_cpp_err=$ac_c_preproc_warn_flag
23693 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23694 else
23695 ac_cpp_err=
23696 fi
23697 else
23698 ac_cpp_err=yes
23699 fi
23700 if test -z "$ac_cpp_err"; then
23701 ac_header_preproc=yes
23702 else
23703 echo "$as_me: failed program was:" >&5
23704 sed 's/^/| /' conftest.$ac_ext >&5
23705
23706 ac_header_preproc=no
23707 fi
23708 rm -f conftest.err conftest.$ac_ext
23709 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23710 echo "${ECHO_T}$ac_header_preproc" >&6
23711
23712 # So? What about this header?
23713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23714 yes:no: )
23715 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23716 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23717 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23718 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23719 ac_header_preproc=yes
23720 ;;
23721 no:yes:* )
23722 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23723 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23724 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23725 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23726 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23727 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23728 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23729 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23730 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23731 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23732 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23733 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23734 (
23735 cat <<\_ASBOX
23736 ## ----------------------------------------- ##
23737 ## Report this to wx-dev@lists.wxwidgets.org ##
23738 ## ----------------------------------------- ##
23739 _ASBOX
23740 ) |
23741 sed "s/^/$as_me: WARNING: /" >&2
23742 ;;
23743 esac
23744 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23745 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23746 if test "${ac_cv_header_tiffio_h+set}" = set; then
23747 echo $ECHO_N "(cached) $ECHO_C" >&6
23748 else
23749 ac_cv_header_tiffio_h=$ac_header_preproc
23750 fi
23751 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23752 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23753
23754 fi
23755 if test $ac_cv_header_tiffio_h = yes; then
23756
23757 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23758 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23759 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23760 echo $ECHO_N "(cached) $ECHO_C" >&6
23761 else
23762 ac_check_lib_save_LIBS=$LIBS
23763 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23764 cat >conftest.$ac_ext <<_ACEOF
23765 /* confdefs.h. */
23766 _ACEOF
23767 cat confdefs.h >>conftest.$ac_ext
23768 cat >>conftest.$ac_ext <<_ACEOF
23769 /* end confdefs.h. */
23770
23771 /* Override any gcc2 internal prototype to avoid an error. */
23772 #ifdef __cplusplus
23773 extern "C"
23774 #endif
23775 /* We use char because int might match the return type of a gcc2
23776 builtin and then its argument prototype would still apply. */
23777 char TIFFError ();
23778 int
23779 main ()
23780 {
23781 TIFFError ();
23782 ;
23783 return 0;
23784 }
23785 _ACEOF
23786 rm -f conftest.$ac_objext conftest$ac_exeext
23787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23788 (eval $ac_link) 2>conftest.er1
23789 ac_status=$?
23790 grep -v '^ *+' conftest.er1 >conftest.err
23791 rm -f conftest.er1
23792 cat conftest.err >&5
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); } &&
23795 { ac_try='test -z "$ac_c_werror_flag"
23796 || test ! -s conftest.err'
23797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23798 (eval $ac_try) 2>&5
23799 ac_status=$?
23800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23801 (exit $ac_status); }; } &&
23802 { ac_try='test -s conftest$ac_exeext'
23803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23804 (eval $ac_try) 2>&5
23805 ac_status=$?
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); }; }; then
23808 ac_cv_lib_tiff_TIFFError=yes
23809 else
23810 echo "$as_me: failed program was:" >&5
23811 sed 's/^/| /' conftest.$ac_ext >&5
23812
23813 ac_cv_lib_tiff_TIFFError=no
23814 fi
23815 rm -f conftest.err conftest.$ac_objext \
23816 conftest$ac_exeext conftest.$ac_ext
23817 LIBS=$ac_check_lib_save_LIBS
23818 fi
23819 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23820 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23821 if test $ac_cv_lib_tiff_TIFFError = yes; then
23822 TIFF_LINK=" -ltiff"
23823 fi
23824
23825
23826
23827 fi
23828
23829
23830
23831 if test "x$TIFF_LINK" = "x" ; then
23832 if test "$wxUSE_LIBTIFF" = "sys" ; then
23833 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23834 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23835 { (exit 1); exit 1; }; }
23836 else
23837 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23838 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23839 wxUSE_LIBTIFF=builtin
23840 fi
23841 else
23842 wxUSE_LIBTIFF=sys
23843 fi
23844 fi
23845 fi
23846
23847
23848 if test "$wxUSE_WCHAR_T" != "yes"; then
23849 if test "$wxUSE_EXPAT" != "no"; then
23850 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23851 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23852 wxUSE_EXPAT=no
23853 fi
23854 if test "$wxUSE_XML" != "no"; then
23855 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23856 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23857 wxUSE_XML=no
23858 fi
23859 fi
23860
23861 if test "$wxUSE_EXPAT" != "no"; then
23862 wxUSE_XML=yes
23863 cat >>confdefs.h <<\_ACEOF
23864 #define wxUSE_EXPAT 1
23865 _ACEOF
23866
23867 cat >>confdefs.h <<\_ACEOF
23868 #define wxUSE_XML 1
23869 _ACEOF
23870
23871
23872 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23873 if test "${ac_cv_header_expat_h+set}" = set; then
23874 echo "$as_me:$LINENO: checking for expat.h" >&5
23875 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23876 if test "${ac_cv_header_expat_h+set}" = set; then
23877 echo $ECHO_N "(cached) $ECHO_C" >&6
23878 fi
23879 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23880 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23881 else
23882 # Is the header compilable?
23883 echo "$as_me:$LINENO: checking expat.h usability" >&5
23884 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23885 cat >conftest.$ac_ext <<_ACEOF
23886 /* confdefs.h. */
23887 _ACEOF
23888 cat confdefs.h >>conftest.$ac_ext
23889 cat >>conftest.$ac_ext <<_ACEOF
23890 /* end confdefs.h. */
23891 $ac_includes_default
23892 #include <expat.h>
23893 _ACEOF
23894 rm -f conftest.$ac_objext
23895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23896 (eval $ac_compile) 2>conftest.er1
23897 ac_status=$?
23898 grep -v '^ *+' conftest.er1 >conftest.err
23899 rm -f conftest.er1
23900 cat conftest.err >&5
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); } &&
23903 { ac_try='test -z "$ac_c_werror_flag"
23904 || test ! -s conftest.err'
23905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23906 (eval $ac_try) 2>&5
23907 ac_status=$?
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); }; } &&
23910 { ac_try='test -s conftest.$ac_objext'
23911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23912 (eval $ac_try) 2>&5
23913 ac_status=$?
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); }; }; then
23916 ac_header_compiler=yes
23917 else
23918 echo "$as_me: failed program was:" >&5
23919 sed 's/^/| /' conftest.$ac_ext >&5
23920
23921 ac_header_compiler=no
23922 fi
23923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23924 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23925 echo "${ECHO_T}$ac_header_compiler" >&6
23926
23927 # Is the header present?
23928 echo "$as_me:$LINENO: checking expat.h presence" >&5
23929 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23930 cat >conftest.$ac_ext <<_ACEOF
23931 /* confdefs.h. */
23932 _ACEOF
23933 cat confdefs.h >>conftest.$ac_ext
23934 cat >>conftest.$ac_ext <<_ACEOF
23935 /* end confdefs.h. */
23936 #include <expat.h>
23937 _ACEOF
23938 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23939 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23940 ac_status=$?
23941 grep -v '^ *+' conftest.er1 >conftest.err
23942 rm -f conftest.er1
23943 cat conftest.err >&5
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); } >/dev/null; then
23946 if test -s conftest.err; then
23947 ac_cpp_err=$ac_c_preproc_warn_flag
23948 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23949 else
23950 ac_cpp_err=
23951 fi
23952 else
23953 ac_cpp_err=yes
23954 fi
23955 if test -z "$ac_cpp_err"; then
23956 ac_header_preproc=yes
23957 else
23958 echo "$as_me: failed program was:" >&5
23959 sed 's/^/| /' conftest.$ac_ext >&5
23960
23961 ac_header_preproc=no
23962 fi
23963 rm -f conftest.err conftest.$ac_ext
23964 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23965 echo "${ECHO_T}$ac_header_preproc" >&6
23966
23967 # So? What about this header?
23968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23969 yes:no: )
23970 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23971 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23972 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23973 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23974 ac_header_preproc=yes
23975 ;;
23976 no:yes:* )
23977 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23978 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23979 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23980 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23981 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23982 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23983 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23984 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23985 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23986 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23987 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23988 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23989 (
23990 cat <<\_ASBOX
23991 ## ----------------------------------------- ##
23992 ## Report this to wx-dev@lists.wxwidgets.org ##
23993 ## ----------------------------------------- ##
23994 _ASBOX
23995 ) |
23996 sed "s/^/$as_me: WARNING: /" >&2
23997 ;;
23998 esac
23999 echo "$as_me:$LINENO: checking for expat.h" >&5
24000 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24001 if test "${ac_cv_header_expat_h+set}" = set; then
24002 echo $ECHO_N "(cached) $ECHO_C" >&6
24003 else
24004 ac_cv_header_expat_h=$ac_header_preproc
24005 fi
24006 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24007 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24008
24009 fi
24010 if test $ac_cv_header_expat_h = yes; then
24011 found_expat_h=1
24012 fi
24013
24014
24015 if test "x$found_expat_h" = "x1"; then
24016 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
24017 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
24018 if test "${wx_cv_expat_is_not_broken+set}" = set; then
24019 echo $ECHO_N "(cached) $ECHO_C" >&6
24020 else
24021
24022
24023
24024 ac_ext=cc
24025 ac_cpp='$CXXCPP $CPPFLAGS'
24026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24029
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 #include <expat.h>
24037 int
24038 main ()
24039 {
24040
24041 ;
24042 return 0;
24043 }
24044 _ACEOF
24045 rm -f conftest.$ac_objext
24046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24047 (eval $ac_compile) 2>conftest.er1
24048 ac_status=$?
24049 grep -v '^ *+' conftest.er1 >conftest.err
24050 rm -f conftest.er1
24051 cat conftest.err >&5
24052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053 (exit $ac_status); } &&
24054 { ac_try='test -z "$ac_cxx_werror_flag"
24055 || test ! -s conftest.err'
24056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24057 (eval $ac_try) 2>&5
24058 ac_status=$?
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); }; } &&
24061 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
24067 wx_cv_expat_is_not_broken=yes
24068 else
24069 echo "$as_me: failed program was:" >&5
24070 sed 's/^/| /' conftest.$ac_ext >&5
24071
24072 wx_cv_expat_is_not_broken=no
24073
24074 fi
24075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24076 ac_ext=c
24077 ac_cpp='$CPP $CPPFLAGS'
24078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24081
24082
24083
24084 fi
24085 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
24086 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
24087 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
24088 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
24089 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
24090 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
24091 echo $ECHO_N "(cached) $ECHO_C" >&6
24092 else
24093 ac_check_lib_save_LIBS=$LIBS
24094 LIBS="-lexpat $LIBS"
24095 cat >conftest.$ac_ext <<_ACEOF
24096 /* confdefs.h. */
24097 _ACEOF
24098 cat confdefs.h >>conftest.$ac_ext
24099 cat >>conftest.$ac_ext <<_ACEOF
24100 /* end confdefs.h. */
24101
24102 /* Override any gcc2 internal prototype to avoid an error. */
24103 #ifdef __cplusplus
24104 extern "C"
24105 #endif
24106 /* We use char because int might match the return type of a gcc2
24107 builtin and then its argument prototype would still apply. */
24108 char XML_ParserCreate ();
24109 int
24110 main ()
24111 {
24112 XML_ParserCreate ();
24113 ;
24114 return 0;
24115 }
24116 _ACEOF
24117 rm -f conftest.$ac_objext conftest$ac_exeext
24118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24119 (eval $ac_link) 2>conftest.er1
24120 ac_status=$?
24121 grep -v '^ *+' conftest.er1 >conftest.err
24122 rm -f conftest.er1
24123 cat conftest.err >&5
24124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24125 (exit $ac_status); } &&
24126 { ac_try='test -z "$ac_c_werror_flag"
24127 || test ! -s conftest.err'
24128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24129 (eval $ac_try) 2>&5
24130 ac_status=$?
24131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24132 (exit $ac_status); }; } &&
24133 { ac_try='test -s conftest$ac_exeext'
24134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24135 (eval $ac_try) 2>&5
24136 ac_status=$?
24137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24138 (exit $ac_status); }; }; then
24139 ac_cv_lib_expat_XML_ParserCreate=yes
24140 else
24141 echo "$as_me: failed program was:" >&5
24142 sed 's/^/| /' conftest.$ac_ext >&5
24143
24144 ac_cv_lib_expat_XML_ParserCreate=no
24145 fi
24146 rm -f conftest.err conftest.$ac_objext \
24147 conftest$ac_exeext conftest.$ac_ext
24148 LIBS=$ac_check_lib_save_LIBS
24149 fi
24150 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
24151 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
24152 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
24153 EXPAT_LINK=" -lexpat"
24154 fi
24155
24156 fi
24157 fi
24158 if test "x$EXPAT_LINK" = "x" ; then
24159 if test "$wxUSE_EXPAT" = "sys" ; then
24160 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
24161 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
24162 { (exit 1); exit 1; }; }
24163 else
24164 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24165 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24166 wxUSE_EXPAT=builtin
24167 fi
24168 else
24169 wxUSE_EXPAT=sys
24170 fi
24171 fi
24172 if test "$wxUSE_EXPAT" = "builtin" ; then
24173
24174
24175 subdirs="$subdirs src/expat"
24176
24177 fi
24178 fi
24179
24180
24181
24182 if test "$wxUSE_LIBMSPACK" != "no"; then
24183 if test "${ac_cv_header_mspack_h+set}" = set; then
24184 echo "$as_me:$LINENO: checking for mspack.h" >&5
24185 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24186 if test "${ac_cv_header_mspack_h+set}" = set; then
24187 echo $ECHO_N "(cached) $ECHO_C" >&6
24188 fi
24189 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24190 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24191 else
24192 # Is the header compilable?
24193 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24194 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24195 cat >conftest.$ac_ext <<_ACEOF
24196 /* confdefs.h. */
24197 _ACEOF
24198 cat confdefs.h >>conftest.$ac_ext
24199 cat >>conftest.$ac_ext <<_ACEOF
24200 /* end confdefs.h. */
24201 $ac_includes_default
24202 #include <mspack.h>
24203 _ACEOF
24204 rm -f conftest.$ac_objext
24205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24206 (eval $ac_compile) 2>conftest.er1
24207 ac_status=$?
24208 grep -v '^ *+' conftest.er1 >conftest.err
24209 rm -f conftest.er1
24210 cat conftest.err >&5
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); } &&
24213 { ac_try='test -z "$ac_c_werror_flag"
24214 || test ! -s conftest.err'
24215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24216 (eval $ac_try) 2>&5
24217 ac_status=$?
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); }; } &&
24220 { ac_try='test -s conftest.$ac_objext'
24221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24222 (eval $ac_try) 2>&5
24223 ac_status=$?
24224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24225 (exit $ac_status); }; }; then
24226 ac_header_compiler=yes
24227 else
24228 echo "$as_me: failed program was:" >&5
24229 sed 's/^/| /' conftest.$ac_ext >&5
24230
24231 ac_header_compiler=no
24232 fi
24233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24235 echo "${ECHO_T}$ac_header_compiler" >&6
24236
24237 # Is the header present?
24238 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24239 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24240 cat >conftest.$ac_ext <<_ACEOF
24241 /* confdefs.h. */
24242 _ACEOF
24243 cat confdefs.h >>conftest.$ac_ext
24244 cat >>conftest.$ac_ext <<_ACEOF
24245 /* end confdefs.h. */
24246 #include <mspack.h>
24247 _ACEOF
24248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24249 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24250 ac_status=$?
24251 grep -v '^ *+' conftest.er1 >conftest.err
24252 rm -f conftest.er1
24253 cat conftest.err >&5
24254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24255 (exit $ac_status); } >/dev/null; then
24256 if test -s conftest.err; then
24257 ac_cpp_err=$ac_c_preproc_warn_flag
24258 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24259 else
24260 ac_cpp_err=
24261 fi
24262 else
24263 ac_cpp_err=yes
24264 fi
24265 if test -z "$ac_cpp_err"; then
24266 ac_header_preproc=yes
24267 else
24268 echo "$as_me: failed program was:" >&5
24269 sed 's/^/| /' conftest.$ac_ext >&5
24270
24271 ac_header_preproc=no
24272 fi
24273 rm -f conftest.err conftest.$ac_ext
24274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24275 echo "${ECHO_T}$ac_header_preproc" >&6
24276
24277 # So? What about this header?
24278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24279 yes:no: )
24280 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24281 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24282 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24283 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24284 ac_header_preproc=yes
24285 ;;
24286 no:yes:* )
24287 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24288 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24289 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24290 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24291 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24292 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24293 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24294 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24295 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24296 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24297 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24298 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24299 (
24300 cat <<\_ASBOX
24301 ## ----------------------------------------- ##
24302 ## Report this to wx-dev@lists.wxwidgets.org ##
24303 ## ----------------------------------------- ##
24304 _ASBOX
24305 ) |
24306 sed "s/^/$as_me: WARNING: /" >&2
24307 ;;
24308 esac
24309 echo "$as_me:$LINENO: checking for mspack.h" >&5
24310 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24311 if test "${ac_cv_header_mspack_h+set}" = set; then
24312 echo $ECHO_N "(cached) $ECHO_C" >&6
24313 else
24314 ac_cv_header_mspack_h=$ac_header_preproc
24315 fi
24316 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24317 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24318
24319 fi
24320 if test $ac_cv_header_mspack_h = yes; then
24321 found_mspack_h=1
24322 fi
24323
24324
24325 if test "x$found_mspack_h" = "x1"; then
24326 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24327 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24328 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24329 echo $ECHO_N "(cached) $ECHO_C" >&6
24330 else
24331 ac_check_lib_save_LIBS=$LIBS
24332 LIBS="-lmspack $LIBS"
24333 cat >conftest.$ac_ext <<_ACEOF
24334 /* confdefs.h. */
24335 _ACEOF
24336 cat confdefs.h >>conftest.$ac_ext
24337 cat >>conftest.$ac_ext <<_ACEOF
24338 /* end confdefs.h. */
24339
24340 /* Override any gcc2 internal prototype to avoid an error. */
24341 #ifdef __cplusplus
24342 extern "C"
24343 #endif
24344 /* We use char because int might match the return type of a gcc2
24345 builtin and then its argument prototype would still apply. */
24346 char mspack_create_chm_decompressor ();
24347 int
24348 main ()
24349 {
24350 mspack_create_chm_decompressor ();
24351 ;
24352 return 0;
24353 }
24354 _ACEOF
24355 rm -f conftest.$ac_objext conftest$ac_exeext
24356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24357 (eval $ac_link) 2>conftest.er1
24358 ac_status=$?
24359 grep -v '^ *+' conftest.er1 >conftest.err
24360 rm -f conftest.er1
24361 cat conftest.err >&5
24362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363 (exit $ac_status); } &&
24364 { ac_try='test -z "$ac_c_werror_flag"
24365 || test ! -s conftest.err'
24366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24367 (eval $ac_try) 2>&5
24368 ac_status=$?
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); }; } &&
24371 { ac_try='test -s conftest$ac_exeext'
24372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24373 (eval $ac_try) 2>&5
24374 ac_status=$?
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); }; }; then
24377 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
24378 else
24379 echo "$as_me: failed program was:" >&5
24380 sed 's/^/| /' conftest.$ac_ext >&5
24381
24382 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
24383 fi
24384 rm -f conftest.err conftest.$ac_objext \
24385 conftest$ac_exeext conftest.$ac_ext
24386 LIBS=$ac_check_lib_save_LIBS
24387 fi
24388 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24389 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24390 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24391 MSPACK_LINK=" -lmspack"
24392 fi
24393
24394 fi
24395 if test "x$MSPACK_LINK" = "x" ; then
24396 wxUSE_LIBMSPACK=no
24397 fi
24398 fi
24399
24400 if test "$wxUSE_LIBMSPACK" != "no"; then
24401 cat >>confdefs.h <<\_ACEOF
24402 #define wxUSE_LIBMSPACK 1
24403 _ACEOF
24404
24405 fi
24406
24407
24408
24409 AFMINSTALL=
24410 WIN32INSTALL=
24411
24412 TOOLKIT=
24413 TOOLKIT_INCLUDE=
24414 WIDGET_SET=
24415
24416 if test "$USE_WIN32" = 1 ; then
24417
24418 for ac_header in w32api.h
24419 do
24420 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24422 echo "$as_me:$LINENO: checking for $ac_header" >&5
24423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24425 echo $ECHO_N "(cached) $ECHO_C" >&6
24426 fi
24427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24429 else
24430 # Is the header compilable?
24431 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24432 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24433 cat >conftest.$ac_ext <<_ACEOF
24434 /* confdefs.h. */
24435 _ACEOF
24436 cat confdefs.h >>conftest.$ac_ext
24437 cat >>conftest.$ac_ext <<_ACEOF
24438 /* end confdefs.h. */
24439 $ac_includes_default
24440 #include <$ac_header>
24441 _ACEOF
24442 rm -f conftest.$ac_objext
24443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24444 (eval $ac_compile) 2>conftest.er1
24445 ac_status=$?
24446 grep -v '^ *+' conftest.er1 >conftest.err
24447 rm -f conftest.er1
24448 cat conftest.err >&5
24449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450 (exit $ac_status); } &&
24451 { ac_try='test -z "$ac_c_werror_flag"
24452 || test ! -s conftest.err'
24453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24454 (eval $ac_try) 2>&5
24455 ac_status=$?
24456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24457 (exit $ac_status); }; } &&
24458 { ac_try='test -s conftest.$ac_objext'
24459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24460 (eval $ac_try) 2>&5
24461 ac_status=$?
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); }; }; then
24464 ac_header_compiler=yes
24465 else
24466 echo "$as_me: failed program was:" >&5
24467 sed 's/^/| /' conftest.$ac_ext >&5
24468
24469 ac_header_compiler=no
24470 fi
24471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24472 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24473 echo "${ECHO_T}$ac_header_compiler" >&6
24474
24475 # Is the header present?
24476 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24477 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24478 cat >conftest.$ac_ext <<_ACEOF
24479 /* confdefs.h. */
24480 _ACEOF
24481 cat confdefs.h >>conftest.$ac_ext
24482 cat >>conftest.$ac_ext <<_ACEOF
24483 /* end confdefs.h. */
24484 #include <$ac_header>
24485 _ACEOF
24486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24487 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24488 ac_status=$?
24489 grep -v '^ *+' conftest.er1 >conftest.err
24490 rm -f conftest.er1
24491 cat conftest.err >&5
24492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24493 (exit $ac_status); } >/dev/null; then
24494 if test -s conftest.err; then
24495 ac_cpp_err=$ac_c_preproc_warn_flag
24496 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24497 else
24498 ac_cpp_err=
24499 fi
24500 else
24501 ac_cpp_err=yes
24502 fi
24503 if test -z "$ac_cpp_err"; then
24504 ac_header_preproc=yes
24505 else
24506 echo "$as_me: failed program was:" >&5
24507 sed 's/^/| /' conftest.$ac_ext >&5
24508
24509 ac_header_preproc=no
24510 fi
24511 rm -f conftest.err conftest.$ac_ext
24512 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24513 echo "${ECHO_T}$ac_header_preproc" >&6
24514
24515 # So? What about this header?
24516 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24517 yes:no: )
24518 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24519 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24520 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24521 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24522 ac_header_preproc=yes
24523 ;;
24524 no:yes:* )
24525 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24526 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24527 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24528 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24529 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24530 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24531 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24532 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24534 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24535 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24536 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24537 (
24538 cat <<\_ASBOX
24539 ## ----------------------------------------- ##
24540 ## Report this to wx-dev@lists.wxwidgets.org ##
24541 ## ----------------------------------------- ##
24542 _ASBOX
24543 ) |
24544 sed "s/^/$as_me: WARNING: /" >&2
24545 ;;
24546 esac
24547 echo "$as_me:$LINENO: checking for $ac_header" >&5
24548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24550 echo $ECHO_N "(cached) $ECHO_C" >&6
24551 else
24552 eval "$as_ac_Header=\$ac_header_preproc"
24553 fi
24554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24555 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24556
24557 fi
24558 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24559 cat >>confdefs.h <<_ACEOF
24560 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24561 _ACEOF
24562
24563 fi
24564
24565 done
24566
24567 if test "${ac_cv_header_windows_h+set}" = set; then
24568 echo "$as_me:$LINENO: checking for windows.h" >&5
24569 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24570 if test "${ac_cv_header_windows_h+set}" = set; then
24571 echo $ECHO_N "(cached) $ECHO_C" >&6
24572 fi
24573 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24574 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24575 else
24576 # Is the header compilable?
24577 echo "$as_me:$LINENO: checking windows.h usability" >&5
24578 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24579 cat >conftest.$ac_ext <<_ACEOF
24580 /* confdefs.h. */
24581 _ACEOF
24582 cat confdefs.h >>conftest.$ac_ext
24583 cat >>conftest.$ac_ext <<_ACEOF
24584 /* end confdefs.h. */
24585 $ac_includes_default
24586 #include <windows.h>
24587 _ACEOF
24588 rm -f conftest.$ac_objext
24589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24590 (eval $ac_compile) 2>conftest.er1
24591 ac_status=$?
24592 grep -v '^ *+' conftest.er1 >conftest.err
24593 rm -f conftest.er1
24594 cat conftest.err >&5
24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596 (exit $ac_status); } &&
24597 { ac_try='test -z "$ac_c_werror_flag"
24598 || test ! -s conftest.err'
24599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24600 (eval $ac_try) 2>&5
24601 ac_status=$?
24602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); }; } &&
24604 { ac_try='test -s conftest.$ac_objext'
24605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24606 (eval $ac_try) 2>&5
24607 ac_status=$?
24608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609 (exit $ac_status); }; }; then
24610 ac_header_compiler=yes
24611 else
24612 echo "$as_me: failed program was:" >&5
24613 sed 's/^/| /' conftest.$ac_ext >&5
24614
24615 ac_header_compiler=no
24616 fi
24617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24619 echo "${ECHO_T}$ac_header_compiler" >&6
24620
24621 # Is the header present?
24622 echo "$as_me:$LINENO: checking windows.h presence" >&5
24623 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24624 cat >conftest.$ac_ext <<_ACEOF
24625 /* confdefs.h. */
24626 _ACEOF
24627 cat confdefs.h >>conftest.$ac_ext
24628 cat >>conftest.$ac_ext <<_ACEOF
24629 /* end confdefs.h. */
24630 #include <windows.h>
24631 _ACEOF
24632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24633 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24634 ac_status=$?
24635 grep -v '^ *+' conftest.er1 >conftest.err
24636 rm -f conftest.er1
24637 cat conftest.err >&5
24638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639 (exit $ac_status); } >/dev/null; then
24640 if test -s conftest.err; then
24641 ac_cpp_err=$ac_c_preproc_warn_flag
24642 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24643 else
24644 ac_cpp_err=
24645 fi
24646 else
24647 ac_cpp_err=yes
24648 fi
24649 if test -z "$ac_cpp_err"; then
24650 ac_header_preproc=yes
24651 else
24652 echo "$as_me: failed program was:" >&5
24653 sed 's/^/| /' conftest.$ac_ext >&5
24654
24655 ac_header_preproc=no
24656 fi
24657 rm -f conftest.err conftest.$ac_ext
24658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24659 echo "${ECHO_T}$ac_header_preproc" >&6
24660
24661 # So? What about this header?
24662 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24663 yes:no: )
24664 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24665 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24666 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24667 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24668 ac_header_preproc=yes
24669 ;;
24670 no:yes:* )
24671 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24672 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24673 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24674 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24675 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24676 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24677 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24678 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24679 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24680 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24681 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24682 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24683 (
24684 cat <<\_ASBOX
24685 ## ----------------------------------------- ##
24686 ## Report this to wx-dev@lists.wxwidgets.org ##
24687 ## ----------------------------------------- ##
24688 _ASBOX
24689 ) |
24690 sed "s/^/$as_me: WARNING: /" >&2
24691 ;;
24692 esac
24693 echo "$as_me:$LINENO: checking for windows.h" >&5
24694 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24695 if test "${ac_cv_header_windows_h+set}" = set; then
24696 echo $ECHO_N "(cached) $ECHO_C" >&6
24697 else
24698 ac_cv_header_windows_h=$ac_header_preproc
24699 fi
24700 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24701 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24702
24703 fi
24704 if test $ac_cv_header_windows_h = yes; then
24705 :
24706 else
24707
24708 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24709 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24710 { (exit 1); exit 1; }; }
24711
24712 fi
24713
24714
24715
24716 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24717
24718 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24719 LIBS="$LIBS -loleacc"
24720 fi
24721
24722 case "${host}" in
24723 *-*-cygwin* )
24724 LIBS="$LIBS -lkernel32 -luser32"
24725 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
24726 esac
24727
24728 if test "$wxUSE_ODBC" = "sys" ; then
24729 wxUSE_ODBC = "yes"
24730 fi
24731 if test "$wxUSE_ODBC" = "yes" ; then
24732 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
24733 cat >>confdefs.h <<\_ACEOF
24734 #define wxUSE_ODBC 1
24735 _ACEOF
24736
24737 fi
24738
24739 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24740 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
24741
24742 WIN32INSTALL=win32install
24743 fi
24744
24745 if test "$wxUSE_GUI" = "yes"; then
24746 USE_GUI=1
24747
24748 GUI_TK_LIBRARY=
24749
24750 WXGTK12=
24751 WXGTK127=
24752 WXGTK20=
24753 WXGPE=
24754
24755 if test "$wxUSE_COCOA" = 1 ; then
24756 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24757 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24758 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24759 wxUSE_PRINTING_ARCHITECTURE=no
24760 fi
24761 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24762 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24763 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24764 wxUSE_DRAG_AND_DROP=no
24765 fi
24766 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24767 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24768 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24769 wxUSE_DRAGIMAGE=no
24770 fi
24771 fi
24772
24773 if test "$wxUSE_MSW" = 1 ; then
24774 TOOLKIT=MSW
24775 GUIDIST=MSW_DIST
24776
24777 case "${host}" in
24778 *-*-mingw32* )
24779 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24780 esac
24781 fi
24782
24783 if test "$wxUSE_GTK" = 1; then
24784 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24785 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24786
24787 gtk_version_cached=1
24788 if test "${wx_cv_lib_gtk+set}" = set; then
24789 echo $ECHO_N "(cached) $ECHO_C" >&6
24790 else
24791
24792 gtk_version_cached=0
24793 echo "$as_me:$LINENO: result: " >&5
24794 echo "${ECHO_T}" >&6
24795
24796 GTK_MODULES=
24797 if test "$wxUSE_THREADS" = "yes"; then
24798 GTK_MODULES=gthread
24799 fi
24800
24801 wx_cv_lib_gtk=
24802 if test "x$wxGTK_VERSION" != "x1"; then
24803 # Check whether --enable-gtktest or --disable-gtktest was given.
24804 if test "${enable_gtktest+set}" = set; then
24805 enableval="$enable_gtktest"
24806
24807 else
24808 enable_gtktest=yes
24809 fi;
24810
24811 pkg_config_args=gtk+-2.0
24812 for module in . $GTK_MODULES
24813 do
24814 case "$module" in
24815 gthread)
24816 pkg_config_args="$pkg_config_args gthread-2.0"
24817 ;;
24818 esac
24819 done
24820
24821 no_gtk=""
24822
24823 # Extract the first word of "pkg-config", so it can be a program name with args.
24824 set dummy pkg-config; ac_word=$2
24825 echo "$as_me:$LINENO: checking for $ac_word" >&5
24826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24827 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24828 echo $ECHO_N "(cached) $ECHO_C" >&6
24829 else
24830 case $PKG_CONFIG in
24831 [\\/]* | ?:[\\/]*)
24832 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24833 ;;
24834 *)
24835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24836 for as_dir in $PATH
24837 do
24838 IFS=$as_save_IFS
24839 test -z "$as_dir" && as_dir=.
24840 for ac_exec_ext in '' $ac_executable_extensions; do
24841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24842 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24844 break 2
24845 fi
24846 done
24847 done
24848
24849 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24850 ;;
24851 esac
24852 fi
24853 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24854
24855 if test -n "$PKG_CONFIG"; then
24856 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24857 echo "${ECHO_T}$PKG_CONFIG" >&6
24858 else
24859 echo "$as_me:$LINENO: result: no" >&5
24860 echo "${ECHO_T}no" >&6
24861 fi
24862
24863
24864 if test x$PKG_CONFIG != xno ; then
24865 if pkg-config --atleast-pkgconfig-version 0.7 ; then
24866 :
24867 else
24868 echo "*** pkg-config too old; version 0.7 or better required."
24869 no_gtk=yes
24870 PKG_CONFIG=no
24871 fi
24872 else
24873 no_gtk=yes
24874 fi
24875
24876 min_gtk_version=2.0.0
24877 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24878 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24879
24880 if test x$PKG_CONFIG != xno ; then
24881 ## don't try to run the test against uninstalled libtool libs
24882 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24883 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24884 enable_gtktest=no
24885 fi
24886
24887 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24888 :
24889 else
24890 no_gtk=yes
24891 fi
24892 fi
24893
24894 if test x"$no_gtk" = x ; then
24895 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
24896 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
24897 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24898 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24899 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24900 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24901 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24902 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24903 if test "x$enable_gtktest" = "xyes" ; then
24904 ac_save_CFLAGS="$CFLAGS"
24905 ac_save_LIBS="$LIBS"
24906 CFLAGS="$CFLAGS $GTK_CFLAGS"
24907 LIBS="$GTK_LIBS $LIBS"
24908 rm -f conf.gtktest
24909 if test "$cross_compiling" = yes; then
24910 echo $ac_n "cross compiling; assumed OK... $ac_c"
24911 else
24912 cat >conftest.$ac_ext <<_ACEOF
24913 /* confdefs.h. */
24914 _ACEOF
24915 cat confdefs.h >>conftest.$ac_ext
24916 cat >>conftest.$ac_ext <<_ACEOF
24917 /* end confdefs.h. */
24918
24919 #include <gtk/gtk.h>
24920 #include <stdio.h>
24921 #include <stdlib.h>
24922
24923 int
24924 main ()
24925 {
24926 int major, minor, micro;
24927 char *tmp_version;
24928
24929 system ("touch conf.gtktest");
24930
24931 /* HP/UX 9 (%@#!) writes to sscanf strings */
24932 tmp_version = g_strdup("$min_gtk_version");
24933 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24934 printf("%s, bad version string\n", "$min_gtk_version");
24935 exit(1);
24936 }
24937
24938 if ((gtk_major_version != $gtk_config_major_version) ||
24939 (gtk_minor_version != $gtk_config_minor_version) ||
24940 (gtk_micro_version != $gtk_config_micro_version))
24941 {
24942 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24943 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24944 gtk_major_version, gtk_minor_version, gtk_micro_version);
24945 printf ("*** was found! If pkg-config was correct, then it is best\n");
24946 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24947 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24948 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24949 printf("*** required on your system.\n");
24950 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24951 printf("*** to point to the correct configuration files\n");
24952 }
24953 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24954 (gtk_minor_version != GTK_MINOR_VERSION) ||
24955 (gtk_micro_version != GTK_MICRO_VERSION))
24956 {
24957 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24958 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24959 printf("*** library (version %d.%d.%d)\n",
24960 gtk_major_version, gtk_minor_version, gtk_micro_version);
24961 }
24962 else
24963 {
24964 if ((gtk_major_version > major) ||
24965 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24966 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24967 {
24968 return 0;
24969 }
24970 else
24971 {
24972 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24973 gtk_major_version, gtk_minor_version, gtk_micro_version);
24974 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24975 major, minor, micro);
24976 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24977 printf("***\n");
24978 printf("*** If you have already installed a sufficiently new version, this error\n");
24979 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24980 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24981 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24982 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24983 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24984 printf("*** so that the correct libraries are found at run-time))\n");
24985 }
24986 }
24987 return 1;
24988 }
24989
24990 _ACEOF
24991 rm -f conftest$ac_exeext
24992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24993 (eval $ac_link) 2>&5
24994 ac_status=$?
24995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24998 (eval $ac_try) 2>&5
24999 ac_status=$?
25000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25001 (exit $ac_status); }; }; then
25002 :
25003 else
25004 echo "$as_me: program exited with status $ac_status" >&5
25005 echo "$as_me: failed program was:" >&5
25006 sed 's/^/| /' conftest.$ac_ext >&5
25007
25008 ( exit $ac_status )
25009 no_gtk=yes
25010 fi
25011 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25012 fi
25013 CFLAGS="$ac_save_CFLAGS"
25014 LIBS="$ac_save_LIBS"
25015 fi
25016 fi
25017 if test "x$no_gtk" = x ; then
25018 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
25019 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
25020 wx_cv_lib_gtk=2.0
25021 else
25022 echo "$as_me:$LINENO: result: no" >&5
25023 echo "${ECHO_T}no" >&6
25024 if test "$PKG_CONFIG" = "no" ; then
25025 echo "*** A new enough version of pkg-config was not found."
25026 echo "*** See http://pkgconfig.sourceforge.net"
25027 else
25028 if test -f conf.gtktest ; then
25029 :
25030 else
25031 echo "*** Could not run GTK+ test program, checking why..."
25032 ac_save_CFLAGS="$CFLAGS"
25033 ac_save_LIBS="$LIBS"
25034 CFLAGS="$CFLAGS $GTK_CFLAGS"
25035 LIBS="$LIBS $GTK_LIBS"
25036 cat >conftest.$ac_ext <<_ACEOF
25037 /* confdefs.h. */
25038 _ACEOF
25039 cat confdefs.h >>conftest.$ac_ext
25040 cat >>conftest.$ac_ext <<_ACEOF
25041 /* end confdefs.h. */
25042
25043 #include <gtk/gtk.h>
25044 #include <stdio.h>
25045
25046 int
25047 main ()
25048 {
25049 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25050 ;
25051 return 0;
25052 }
25053 _ACEOF
25054 rm -f conftest.$ac_objext conftest$ac_exeext
25055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25056 (eval $ac_link) 2>conftest.er1
25057 ac_status=$?
25058 grep -v '^ *+' conftest.er1 >conftest.err
25059 rm -f conftest.er1
25060 cat conftest.err >&5
25061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25062 (exit $ac_status); } &&
25063 { ac_try='test -z "$ac_c_werror_flag"
25064 || test ! -s conftest.err'
25065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25066 (eval $ac_try) 2>&5
25067 ac_status=$?
25068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25069 (exit $ac_status); }; } &&
25070 { ac_try='test -s conftest$ac_exeext'
25071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25072 (eval $ac_try) 2>&5
25073 ac_status=$?
25074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25075 (exit $ac_status); }; }; then
25076 echo "*** The test program compiled, but did not run. This usually means"
25077 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
25078 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
25079 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25080 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25081 echo "*** is required on your system"
25082 echo "***"
25083 echo "*** If you have an old version installed, it is best to remove it, although"
25084 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25085 else
25086 echo "$as_me: failed program was:" >&5
25087 sed 's/^/| /' conftest.$ac_ext >&5
25088
25089 echo "*** The test program failed to compile or link. See the file config.log for the"
25090 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
25091 fi
25092 rm -f conftest.err conftest.$ac_objext \
25093 conftest$ac_exeext conftest.$ac_ext
25094 CFLAGS="$ac_save_CFLAGS"
25095 LIBS="$ac_save_LIBS"
25096 fi
25097 fi
25098 GTK_CFLAGS=""
25099 GTK_LIBS=""
25100 :
25101 fi
25102
25103
25104 rm -f conf.gtktest
25105
25106 fi
25107
25108 if test -z "$wx_cv_lib_gtk"; then
25109 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
25110
25111 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25112 if test "${with_gtk_prefix+set}" = set; then
25113 withval="$with_gtk_prefix"
25114 gtk_config_prefix="$withval"
25115 else
25116 gtk_config_prefix=""
25117 fi;
25118
25119 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25120 if test "${with_gtk_exec_prefix+set}" = set; then
25121 withval="$with_gtk_exec_prefix"
25122 gtk_config_exec_prefix="$withval"
25123 else
25124 gtk_config_exec_prefix=""
25125 fi;
25126 # Check whether --enable-gtktest or --disable-gtktest was given.
25127 if test "${enable_gtktest+set}" = set; then
25128 enableval="$enable_gtktest"
25129
25130 else
25131 enable_gtktest=yes
25132 fi;
25133
25134 for module in . $GTK_MODULES
25135 do
25136 case "$module" in
25137 gthread)
25138 gtk_config_args="$gtk_config_args gthread"
25139 ;;
25140 esac
25141 done
25142
25143 if test x$gtk_config_exec_prefix != x ; then
25144 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25145 if test x${GTK_CONFIG+set} != xset ; then
25146 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
25147 fi
25148 fi
25149 if test x$gtk_config_prefix != x ; then
25150 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
25151 if test x${GTK_CONFIG+set} != xset ; then
25152 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
25153 fi
25154 fi
25155
25156 # Extract the first word of "gtk-config", so it can be a program name with args.
25157 set dummy gtk-config; ac_word=$2
25158 echo "$as_me:$LINENO: checking for $ac_word" >&5
25159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25160 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25161 echo $ECHO_N "(cached) $ECHO_C" >&6
25162 else
25163 case $GTK_CONFIG in
25164 [\\/]* | ?:[\\/]*)
25165 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25166 ;;
25167 *)
25168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25169 for as_dir in $PATH
25170 do
25171 IFS=$as_save_IFS
25172 test -z "$as_dir" && as_dir=.
25173 for ac_exec_ext in '' $ac_executable_extensions; do
25174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25175 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25177 break 2
25178 fi
25179 done
25180 done
25181
25182 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25183 ;;
25184 esac
25185 fi
25186 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25187
25188 if test -n "$GTK_CONFIG"; then
25189 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25190 echo "${ECHO_T}$GTK_CONFIG" >&6
25191 else
25192 echo "$as_me:$LINENO: result: no" >&5
25193 echo "${ECHO_T}no" >&6
25194 fi
25195
25196 min_gtk_version=1.2.7
25197 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25198 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25199 no_gtk=""
25200 if test "$GTK_CONFIG" = "no" ; then
25201 no_gtk=yes
25202 else
25203 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25204 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25205 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25206 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25207 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25208 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25209 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25211 if test "x$enable_gtktest" = "xyes" ; then
25212 ac_save_CFLAGS="$CFLAGS"
25213 ac_save_LIBS="$LIBS"
25214 CFLAGS="$CFLAGS $GTK_CFLAGS"
25215 LIBS="$GTK_LIBS $LIBS"
25216 rm -f conf.gtktest
25217 if test "$cross_compiling" = yes; then
25218 echo $ac_n "cross compiling; assumed OK... $ac_c"
25219 else
25220 cat >conftest.$ac_ext <<_ACEOF
25221 /* confdefs.h. */
25222 _ACEOF
25223 cat confdefs.h >>conftest.$ac_ext
25224 cat >>conftest.$ac_ext <<_ACEOF
25225 /* end confdefs.h. */
25226
25227 #include <gtk/gtk.h>
25228 #include <stdio.h>
25229 #include <stdlib.h>
25230
25231 int
25232 main ()
25233 {
25234 int major, minor, micro;
25235 char *tmp_version;
25236
25237 system ("touch conf.gtktest");
25238
25239 /* HP/UX 9 (%@#!) writes to sscanf strings */
25240 tmp_version = g_strdup("$min_gtk_version");
25241 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25242 printf("%s, bad version string\n", "$min_gtk_version");
25243 exit(1);
25244 }
25245
25246 if ((gtk_major_version != $gtk_config_major_version) ||
25247 (gtk_minor_version != $gtk_config_minor_version) ||
25248 (gtk_micro_version != $gtk_config_micro_version))
25249 {
25250 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25251 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25252 gtk_major_version, gtk_minor_version, gtk_micro_version);
25253 printf ("*** was found! If gtk-config was correct, then it is best\n");
25254 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25255 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25256 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25257 printf("*** required on your system.\n");
25258 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25259 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25260 printf("*** before re-running configure\n");
25261 }
25262 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25263 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25264 (gtk_minor_version != GTK_MINOR_VERSION) ||
25265 (gtk_micro_version != GTK_MICRO_VERSION))
25266 {
25267 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25268 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25269 printf("*** library (version %d.%d.%d)\n",
25270 gtk_major_version, gtk_minor_version, gtk_micro_version);
25271 }
25272 #endif /* defined (GTK_MAJOR_VERSION) ... */
25273 else
25274 {
25275 if ((gtk_major_version > major) ||
25276 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25277 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25278 {
25279 return 0;
25280 }
25281 else
25282 {
25283 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25284 gtk_major_version, gtk_minor_version, gtk_micro_version);
25285 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25286 major, minor, micro);
25287 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25288 printf("***\n");
25289 printf("*** If you have already installed a sufficiently new version, this error\n");
25290 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25291 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25292 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25293 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25294 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25295 printf("*** so that the correct libraries are found at run-time))\n");
25296 }
25297 }
25298 return 1;
25299 }
25300
25301 _ACEOF
25302 rm -f conftest$ac_exeext
25303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25304 (eval $ac_link) 2>&5
25305 ac_status=$?
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25309 (eval $ac_try) 2>&5
25310 ac_status=$?
25311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312 (exit $ac_status); }; }; then
25313 :
25314 else
25315 echo "$as_me: program exited with status $ac_status" >&5
25316 echo "$as_me: failed program was:" >&5
25317 sed 's/^/| /' conftest.$ac_ext >&5
25318
25319 ( exit $ac_status )
25320 no_gtk=yes
25321 fi
25322 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25323 fi
25324 CFLAGS="$ac_save_CFLAGS"
25325 LIBS="$ac_save_LIBS"
25326 fi
25327 fi
25328 if test "x$no_gtk" = x ; then
25329 echo "$as_me:$LINENO: result: yes" >&5
25330 echo "${ECHO_T}yes" >&6
25331 wx_cv_lib_gtk=1.2.7
25332 else
25333 echo "$as_me:$LINENO: result: no" >&5
25334 echo "${ECHO_T}no" >&6
25335 if test "$GTK_CONFIG" = "no" ; then
25336 echo "*** The gtk-config script installed by GTK could not be found"
25337 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25338 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25339 echo "*** full path to gtk-config."
25340 else
25341 if test -f conf.gtktest ; then
25342 :
25343 else
25344 echo "*** Could not run GTK test program, checking why..."
25345 CFLAGS="$CFLAGS $GTK_CFLAGS"
25346 LIBS="$LIBS $GTK_LIBS"
25347 cat >conftest.$ac_ext <<_ACEOF
25348 /* confdefs.h. */
25349 _ACEOF
25350 cat confdefs.h >>conftest.$ac_ext
25351 cat >>conftest.$ac_ext <<_ACEOF
25352 /* end confdefs.h. */
25353
25354 #include <gtk/gtk.h>
25355 #include <stdio.h>
25356
25357 int
25358 main ()
25359 {
25360 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25361 ;
25362 return 0;
25363 }
25364 _ACEOF
25365 rm -f conftest.$ac_objext conftest$ac_exeext
25366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25367 (eval $ac_link) 2>conftest.er1
25368 ac_status=$?
25369 grep -v '^ *+' conftest.er1 >conftest.err
25370 rm -f conftest.er1
25371 cat conftest.err >&5
25372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373 (exit $ac_status); } &&
25374 { ac_try='test -z "$ac_c_werror_flag"
25375 || test ! -s conftest.err'
25376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25377 (eval $ac_try) 2>&5
25378 ac_status=$?
25379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25380 (exit $ac_status); }; } &&
25381 { ac_try='test -s conftest$ac_exeext'
25382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25383 (eval $ac_try) 2>&5
25384 ac_status=$?
25385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25386 (exit $ac_status); }; }; then
25387 echo "*** The test program compiled, but did not run. This usually means"
25388 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25389 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25390 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25391 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25392 echo "*** is required on your system"
25393 echo "***"
25394 echo "*** If you have an old version installed, it is best to remove it, although"
25395 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25396 echo "***"
25397 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25398 echo "*** came with the system with the command"
25399 echo "***"
25400 echo "*** rpm --erase --nodeps gtk gtk-devel"
25401 else
25402 echo "$as_me: failed program was:" >&5
25403 sed 's/^/| /' conftest.$ac_ext >&5
25404
25405 echo "*** The test program failed to compile or link. See the file config.log for the"
25406 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25407 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25408 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25409 fi
25410 rm -f conftest.err conftest.$ac_objext \
25411 conftest$ac_exeext conftest.$ac_ext
25412 CFLAGS="$ac_save_CFLAGS"
25413 LIBS="$ac_save_LIBS"
25414 fi
25415 fi
25416 GTK_CFLAGS=""
25417 GTK_LIBS=""
25418 :
25419 fi
25420
25421
25422 rm -f conf.gtktest
25423
25424
25425 if test -z "$wx_cv_lib_gtk"; then
25426
25427 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25428 if test "${with_gtk_prefix+set}" = set; then
25429 withval="$with_gtk_prefix"
25430 gtk_config_prefix="$withval"
25431 else
25432 gtk_config_prefix=""
25433 fi;
25434
25435 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25436 if test "${with_gtk_exec_prefix+set}" = set; then
25437 withval="$with_gtk_exec_prefix"
25438 gtk_config_exec_prefix="$withval"
25439 else
25440 gtk_config_exec_prefix=""
25441 fi;
25442 # Check whether --enable-gtktest or --disable-gtktest was given.
25443 if test "${enable_gtktest+set}" = set; then
25444 enableval="$enable_gtktest"
25445
25446 else
25447 enable_gtktest=yes
25448 fi;
25449
25450 for module in . $GTK_MODULES
25451 do
25452 case "$module" in
25453 gthread)
25454 gtk_config_args="$gtk_config_args gthread"
25455 ;;
25456 esac
25457 done
25458
25459 if test x$gtk_config_exec_prefix != x ; then
25460 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25461 if test x${GTK_CONFIG+set} != xset ; then
25462 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
25463 fi
25464 fi
25465 if test x$gtk_config_prefix != x ; then
25466 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
25467 if test x${GTK_CONFIG+set} != xset ; then
25468 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
25469 fi
25470 fi
25471
25472 # Extract the first word of "gtk-config", so it can be a program name with args.
25473 set dummy gtk-config; ac_word=$2
25474 echo "$as_me:$LINENO: checking for $ac_word" >&5
25475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25476 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25477 echo $ECHO_N "(cached) $ECHO_C" >&6
25478 else
25479 case $GTK_CONFIG in
25480 [\\/]* | ?:[\\/]*)
25481 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25482 ;;
25483 *)
25484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25485 for as_dir in $PATH
25486 do
25487 IFS=$as_save_IFS
25488 test -z "$as_dir" && as_dir=.
25489 for ac_exec_ext in '' $ac_executable_extensions; do
25490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25491 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25493 break 2
25494 fi
25495 done
25496 done
25497
25498 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25499 ;;
25500 esac
25501 fi
25502 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25503
25504 if test -n "$GTK_CONFIG"; then
25505 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25506 echo "${ECHO_T}$GTK_CONFIG" >&6
25507 else
25508 echo "$as_me:$LINENO: result: no" >&5
25509 echo "${ECHO_T}no" >&6
25510 fi
25511
25512 min_gtk_version=1.2.3
25513 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25514 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25515 no_gtk=""
25516 if test "$GTK_CONFIG" = "no" ; then
25517 no_gtk=yes
25518 else
25519 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25520 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25521 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25522 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25523 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25524 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25525 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25526 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25527 if test "x$enable_gtktest" = "xyes" ; then
25528 ac_save_CFLAGS="$CFLAGS"
25529 ac_save_LIBS="$LIBS"
25530 CFLAGS="$CFLAGS $GTK_CFLAGS"
25531 LIBS="$GTK_LIBS $LIBS"
25532 rm -f conf.gtktest
25533 if test "$cross_compiling" = yes; then
25534 echo $ac_n "cross compiling; assumed OK... $ac_c"
25535 else
25536 cat >conftest.$ac_ext <<_ACEOF
25537 /* confdefs.h. */
25538 _ACEOF
25539 cat confdefs.h >>conftest.$ac_ext
25540 cat >>conftest.$ac_ext <<_ACEOF
25541 /* end confdefs.h. */
25542
25543 #include <gtk/gtk.h>
25544 #include <stdio.h>
25545 #include <stdlib.h>
25546
25547 int
25548 main ()
25549 {
25550 int major, minor, micro;
25551 char *tmp_version;
25552
25553 system ("touch conf.gtktest");
25554
25555 /* HP/UX 9 (%@#!) writes to sscanf strings */
25556 tmp_version = g_strdup("$min_gtk_version");
25557 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25558 printf("%s, bad version string\n", "$min_gtk_version");
25559 exit(1);
25560 }
25561
25562 if ((gtk_major_version != $gtk_config_major_version) ||
25563 (gtk_minor_version != $gtk_config_minor_version) ||
25564 (gtk_micro_version != $gtk_config_micro_version))
25565 {
25566 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25567 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25568 gtk_major_version, gtk_minor_version, gtk_micro_version);
25569 printf ("*** was found! If gtk-config was correct, then it is best\n");
25570 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25571 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25572 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25573 printf("*** required on your system.\n");
25574 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25575 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25576 printf("*** before re-running configure\n");
25577 }
25578 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25579 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25580 (gtk_minor_version != GTK_MINOR_VERSION) ||
25581 (gtk_micro_version != GTK_MICRO_VERSION))
25582 {
25583 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25584 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25585 printf("*** library (version %d.%d.%d)\n",
25586 gtk_major_version, gtk_minor_version, gtk_micro_version);
25587 }
25588 #endif /* defined (GTK_MAJOR_VERSION) ... */
25589 else
25590 {
25591 if ((gtk_major_version > major) ||
25592 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25593 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25594 {
25595 return 0;
25596 }
25597 else
25598 {
25599 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25600 gtk_major_version, gtk_minor_version, gtk_micro_version);
25601 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25602 major, minor, micro);
25603 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25604 printf("***\n");
25605 printf("*** If you have already installed a sufficiently new version, this error\n");
25606 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25607 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25608 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25609 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25610 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25611 printf("*** so that the correct libraries are found at run-time))\n");
25612 }
25613 }
25614 return 1;
25615 }
25616
25617 _ACEOF
25618 rm -f conftest$ac_exeext
25619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25620 (eval $ac_link) 2>&5
25621 ac_status=$?
25622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25625 (eval $ac_try) 2>&5
25626 ac_status=$?
25627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25628 (exit $ac_status); }; }; then
25629 :
25630 else
25631 echo "$as_me: program exited with status $ac_status" >&5
25632 echo "$as_me: failed program was:" >&5
25633 sed 's/^/| /' conftest.$ac_ext >&5
25634
25635 ( exit $ac_status )
25636 no_gtk=yes
25637 fi
25638 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25639 fi
25640 CFLAGS="$ac_save_CFLAGS"
25641 LIBS="$ac_save_LIBS"
25642 fi
25643 fi
25644 if test "x$no_gtk" = x ; then
25645 echo "$as_me:$LINENO: result: yes" >&5
25646 echo "${ECHO_T}yes" >&6
25647 wx_cv_lib_gtk=1.2.3
25648 else
25649 echo "$as_me:$LINENO: result: no" >&5
25650 echo "${ECHO_T}no" >&6
25651 if test "$GTK_CONFIG" = "no" ; then
25652 echo "*** The gtk-config script installed by GTK could not be found"
25653 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25654 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25655 echo "*** full path to gtk-config."
25656 else
25657 if test -f conf.gtktest ; then
25658 :
25659 else
25660 echo "*** Could not run GTK test program, checking why..."
25661 CFLAGS="$CFLAGS $GTK_CFLAGS"
25662 LIBS="$LIBS $GTK_LIBS"
25663 cat >conftest.$ac_ext <<_ACEOF
25664 /* confdefs.h. */
25665 _ACEOF
25666 cat confdefs.h >>conftest.$ac_ext
25667 cat >>conftest.$ac_ext <<_ACEOF
25668 /* end confdefs.h. */
25669
25670 #include <gtk/gtk.h>
25671 #include <stdio.h>
25672
25673 int
25674 main ()
25675 {
25676 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
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"
25691 || test ! -s conftest.err'
25692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25693 (eval $ac_try) 2>&5
25694 ac_status=$?
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); }; } &&
25697 { ac_try='test -s conftest$ac_exeext'
25698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25699 (eval $ac_try) 2>&5
25700 ac_status=$?
25701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702 (exit $ac_status); }; }; then
25703 echo "*** The test program compiled, but did not run. This usually means"
25704 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25705 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25706 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25707 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25708 echo "*** is required on your system"
25709 echo "***"
25710 echo "*** If you have an old version installed, it is best to remove it, although"
25711 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25712 echo "***"
25713 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25714 echo "*** came with the system with the command"
25715 echo "***"
25716 echo "*** rpm --erase --nodeps gtk gtk-devel"
25717 else
25718 echo "$as_me: failed program was:" >&5
25719 sed 's/^/| /' conftest.$ac_ext >&5
25720
25721 echo "*** The test program failed to compile or link. See the file config.log for the"
25722 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25723 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25724 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25725 fi
25726 rm -f conftest.err conftest.$ac_objext \
25727 conftest$ac_exeext conftest.$ac_ext
25728 CFLAGS="$ac_save_CFLAGS"
25729 LIBS="$ac_save_LIBS"
25730 fi
25731 fi
25732 GTK_CFLAGS=""
25733 GTK_LIBS=""
25734 :
25735 fi
25736
25737
25738 rm -f conf.gtktest
25739
25740 fi
25741 fi
25742 fi
25743
25744 if test -z "$wx_cv_lib_gtk"; then
25745 wx_cv_lib_gtk=none
25746 else
25747 wx_cv_cflags_gtk=$GTK_CFLAGS
25748 wx_cv_libs_gtk=$GTK_LIBS
25749 fi
25750
25751
25752 fi
25753
25754
25755 if test "$gtk_version_cached" = 1; then
25756 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25757 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25758 fi
25759
25760 case "$wx_cv_lib_gtk" in
25761 2.0) WXGTK20=1
25762 TOOLKIT_VERSION=2
25763 ;;
25764 1.2.7) WXGTK127=1
25765 WXGTK12=1
25766 ;;
25767 1.2.3) WXGTK12=1
25768 ;;
25769 *) { { echo "$as_me:$LINENO: error:
25770 The development files for GTK+ were not found. For GTK+ 2, please
25771 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25772 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25773 and that the version is 1.2.3 or above. Also check that the
25774 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25775 --libs' are in the LD_LIBRARY_PATH or equivalent.
25776 " >&5
25777 echo "$as_me: error:
25778 The development files for GTK+ were not found. For GTK+ 2, please
25779 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25780 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25781 and that the version is 1.2.3 or above. Also check that the
25782 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25783 --libs' are in the LD_LIBRARY_PATH or equivalent.
25784 " >&2;}
25785 { (exit 1); exit 1; }; }
25786 ;;
25787 esac
25788
25789 if test "$WXGTK20" = 1; then
25790 save_CFLAGS="$CFLAGS"
25791 save_LIBS="$LIBS"
25792 CFLAGS="$CFLAGS $wx_cv_cflags_gtk"
25793 LIBS="$LIBS $wx_cv_libs_gtk"
25794
25795
25796 for ac_func in pango_font_family_is_monospace
25797 do
25798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25799 echo "$as_me:$LINENO: checking for $ac_func" >&5
25800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25801 if eval "test \"\${$as_ac_var+set}\" = set"; then
25802 echo $ECHO_N "(cached) $ECHO_C" >&6
25803 else
25804 cat >conftest.$ac_ext <<_ACEOF
25805 /* confdefs.h. */
25806 _ACEOF
25807 cat confdefs.h >>conftest.$ac_ext
25808 cat >>conftest.$ac_ext <<_ACEOF
25809 /* end confdefs.h. */
25810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25812 #define $ac_func innocuous_$ac_func
25813
25814 /* System header to define __stub macros and hopefully few prototypes,
25815 which can conflict with char $ac_func (); below.
25816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25817 <limits.h> exists even on freestanding compilers. */
25818
25819 #ifdef __STDC__
25820 # include <limits.h>
25821 #else
25822 # include <assert.h>
25823 #endif
25824
25825 #undef $ac_func
25826
25827 /* Override any gcc2 internal prototype to avoid an error. */
25828 #ifdef __cplusplus
25829 extern "C"
25830 {
25831 #endif
25832 /* We use char because int might match the return type of a gcc2
25833 builtin and then its argument prototype would still apply. */
25834 char $ac_func ();
25835 /* The GNU C library defines this for functions which it implements
25836 to always fail with ENOSYS. Some functions are actually named
25837 something starting with __ and the normal name is an alias. */
25838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25839 choke me
25840 #else
25841 char (*f) () = $ac_func;
25842 #endif
25843 #ifdef __cplusplus
25844 }
25845 #endif
25846
25847 int
25848 main ()
25849 {
25850 return f != $ac_func;
25851 ;
25852 return 0;
25853 }
25854 _ACEOF
25855 rm -f conftest.$ac_objext conftest$ac_exeext
25856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25857 (eval $ac_link) 2>conftest.er1
25858 ac_status=$?
25859 grep -v '^ *+' conftest.er1 >conftest.err
25860 rm -f conftest.er1
25861 cat conftest.err >&5
25862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863 (exit $ac_status); } &&
25864 { ac_try='test -z "$ac_c_werror_flag"
25865 || test ! -s conftest.err'
25866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25867 (eval $ac_try) 2>&5
25868 ac_status=$?
25869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25870 (exit $ac_status); }; } &&
25871 { ac_try='test -s conftest$ac_exeext'
25872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25873 (eval $ac_try) 2>&5
25874 ac_status=$?
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); }; }; then
25877 eval "$as_ac_var=yes"
25878 else
25879 echo "$as_me: failed program was:" >&5
25880 sed 's/^/| /' conftest.$ac_ext >&5
25881
25882 eval "$as_ac_var=no"
25883 fi
25884 rm -f conftest.err conftest.$ac_objext \
25885 conftest$ac_exeext conftest.$ac_ext
25886 fi
25887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25889 if test `eval echo '${'$as_ac_var'}'` = yes; then
25890 cat >>confdefs.h <<_ACEOF
25891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25892 _ACEOF
25893
25894 fi
25895 done
25896
25897
25898 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
25899 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
25900 cat >conftest.$ac_ext <<_ACEOF
25901 /* confdefs.h. */
25902 _ACEOF
25903 cat confdefs.h >>conftest.$ac_ext
25904 cat >>conftest.$ac_ext <<_ACEOF
25905 /* end confdefs.h. */
25906
25907 #include <gtk/gtk.h>
25908
25909 int
25910 main ()
25911 {
25912
25913 void *f = gtk_icon_size_lookup;
25914
25915 ;
25916 return 0;
25917 }
25918 _ACEOF
25919 rm -f conftest.$ac_objext
25920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25921 (eval $ac_compile) 2>conftest.er1
25922 ac_status=$?
25923 grep -v '^ *+' conftest.er1 >conftest.err
25924 rm -f conftest.er1
25925 cat conftest.err >&5
25926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25927 (exit $ac_status); } &&
25928 { ac_try='test -z "$ac_c_werror_flag"
25929 || test ! -s conftest.err'
25930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25931 (eval $ac_try) 2>&5
25932 ac_status=$?
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); }; } &&
25935 { ac_try='test -s conftest.$ac_objext'
25936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937 (eval $ac_try) 2>&5
25938 ac_status=$?
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); }; }; then
25941
25942 echo "$as_me:$LINENO: result: no" >&5
25943 echo "${ECHO_T}no" >&6
25944
25945 else
25946 echo "$as_me: failed program was:" >&5
25947 sed 's/^/| /' conftest.$ac_ext >&5
25948
25949
25950 cat >>confdefs.h <<\_ACEOF
25951 #define NEED_GTK_ICON_SIZE_LOOKUP 1
25952 _ACEOF
25953
25954 echo "$as_me:$LINENO: result: yes" >&5
25955 echo "${ECHO_T}yes" >&6
25956
25957 fi
25958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25959
25960 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25961 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25962 cat >conftest.$ac_ext <<_ACEOF
25963 /* confdefs.h. */
25964 _ACEOF
25965 cat confdefs.h >>conftest.$ac_ext
25966 cat >>conftest.$ac_ext <<_ACEOF
25967 /* end confdefs.h. */
25968
25969 #include <gtk/gtk.h>
25970
25971 int
25972 main ()
25973 {
25974
25975 #if !GTK_CHECK_VERSION(2,4,0)
25976 #error "Not GTK+ 2.4"
25977 #endif
25978
25979 ;
25980 return 0;
25981 }
25982 _ACEOF
25983 rm -f conftest.$ac_objext
25984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25985 (eval $ac_compile) 2>conftest.er1
25986 ac_status=$?
25987 grep -v '^ *+' conftest.er1 >conftest.err
25988 rm -f conftest.er1
25989 cat conftest.err >&5
25990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25991 (exit $ac_status); } &&
25992 { ac_try='test -z "$ac_c_werror_flag"
25993 || test ! -s conftest.err'
25994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25995 (eval $ac_try) 2>&5
25996 ac_status=$?
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); }; } &&
25999 { ac_try='test -s conftest.$ac_objext'
26000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26001 (eval $ac_try) 2>&5
26002 ac_status=$?
26003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26004 (exit $ac_status); }; }; then
26005
26006 cat >>confdefs.h <<\_ACEOF
26007 #define __WXGTK24__ 1
26008 _ACEOF
26009
26010 echo "$as_me:$LINENO: result: yes" >&5
26011 echo "${ECHO_T}yes" >&6
26012
26013 else
26014 echo "$as_me: failed program was:" >&5
26015 sed 's/^/| /' conftest.$ac_ext >&5
26016
26017
26018 echo "$as_me:$LINENO: result: no" >&5
26019 echo "${ECHO_T}no" >&6
26020
26021 fi
26022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26023
26024 CFLAGS="$save_CFLAGS"
26025 LIBS="$save_LIBS"
26026 else
26027 if test "$wxUSE_UNICODE" = "yes"; then
26028 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
26029 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
26030 wxUSE_UNICODE=no
26031 fi
26032 fi
26033
26034 if test "$USE_DARWIN" != 1; then
26035
26036 for ac_func in poll
26037 do
26038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26039 echo "$as_me:$LINENO: checking for $ac_func" >&5
26040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26041 if eval "test \"\${$as_ac_var+set}\" = set"; then
26042 echo $ECHO_N "(cached) $ECHO_C" >&6
26043 else
26044 cat >conftest.$ac_ext <<_ACEOF
26045 /* confdefs.h. */
26046 _ACEOF
26047 cat confdefs.h >>conftest.$ac_ext
26048 cat >>conftest.$ac_ext <<_ACEOF
26049 /* end confdefs.h. */
26050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26052 #define $ac_func innocuous_$ac_func
26053
26054 /* System header to define __stub macros and hopefully few prototypes,
26055 which can conflict with char $ac_func (); below.
26056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26057 <limits.h> exists even on freestanding compilers. */
26058
26059 #ifdef __STDC__
26060 # include <limits.h>
26061 #else
26062 # include <assert.h>
26063 #endif
26064
26065 #undef $ac_func
26066
26067 /* Override any gcc2 internal prototype to avoid an error. */
26068 #ifdef __cplusplus
26069 extern "C"
26070 {
26071 #endif
26072 /* We use char because int might match the return type of a gcc2
26073 builtin and then its argument prototype would still apply. */
26074 char $ac_func ();
26075 /* The GNU C library defines this for functions which it implements
26076 to always fail with ENOSYS. Some functions are actually named
26077 something starting with __ and the normal name is an alias. */
26078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26079 choke me
26080 #else
26081 char (*f) () = $ac_func;
26082 #endif
26083 #ifdef __cplusplus
26084 }
26085 #endif
26086
26087 int
26088 main ()
26089 {
26090 return f != $ac_func;
26091 ;
26092 return 0;
26093 }
26094 _ACEOF
26095 rm -f conftest.$ac_objext conftest$ac_exeext
26096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26097 (eval $ac_link) 2>conftest.er1
26098 ac_status=$?
26099 grep -v '^ *+' conftest.er1 >conftest.err
26100 rm -f conftest.er1
26101 cat conftest.err >&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } &&
26104 { ac_try='test -z "$ac_c_werror_flag"
26105 || test ! -s conftest.err'
26106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26107 (eval $ac_try) 2>&5
26108 ac_status=$?
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); }; } &&
26111 { ac_try='test -s conftest$ac_exeext'
26112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26113 (eval $ac_try) 2>&5
26114 ac_status=$?
26115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26116 (exit $ac_status); }; }; then
26117 eval "$as_ac_var=yes"
26118 else
26119 echo "$as_me: failed program was:" >&5
26120 sed 's/^/| /' conftest.$ac_ext >&5
26121
26122 eval "$as_ac_var=no"
26123 fi
26124 rm -f conftest.err conftest.$ac_objext \
26125 conftest$ac_exeext conftest.$ac_ext
26126 fi
26127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26129 if test `eval echo '${'$as_ac_var'}'` = yes; then
26130 cat >>confdefs.h <<_ACEOF
26131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26132 _ACEOF
26133
26134 fi
26135 done
26136
26137 fi
26138
26139 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
26140 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
26141
26142 AFMINSTALL=afminstall
26143 TOOLKIT=GTK
26144 GUIDIST=GTK_DIST
26145
26146 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
26147 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
26148 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
26149 echo $ECHO_N "(cached) $ECHO_C" >&6
26150 else
26151 ac_check_lib_save_LIBS=$LIBS
26152 LIBS="-lgdk $LIBS"
26153 cat >conftest.$ac_ext <<_ACEOF
26154 /* confdefs.h. */
26155 _ACEOF
26156 cat confdefs.h >>conftest.$ac_ext
26157 cat >>conftest.$ac_ext <<_ACEOF
26158 /* end confdefs.h. */
26159
26160 /* Override any gcc2 internal prototype to avoid an error. */
26161 #ifdef __cplusplus
26162 extern "C"
26163 #endif
26164 /* We use char because int might match the return type of a gcc2
26165 builtin and then its argument prototype would still apply. */
26166 char gdk_im_open ();
26167 int
26168 main ()
26169 {
26170 gdk_im_open ();
26171 ;
26172 return 0;
26173 }
26174 _ACEOF
26175 rm -f conftest.$ac_objext conftest$ac_exeext
26176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26177 (eval $ac_link) 2>conftest.er1
26178 ac_status=$?
26179 grep -v '^ *+' conftest.er1 >conftest.err
26180 rm -f conftest.er1
26181 cat conftest.err >&5
26182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26183 (exit $ac_status); } &&
26184 { ac_try='test -z "$ac_c_werror_flag"
26185 || test ! -s conftest.err'
26186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26187 (eval $ac_try) 2>&5
26188 ac_status=$?
26189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26190 (exit $ac_status); }; } &&
26191 { ac_try='test -s conftest$ac_exeext'
26192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26193 (eval $ac_try) 2>&5
26194 ac_status=$?
26195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26196 (exit $ac_status); }; }; then
26197 ac_cv_lib_gdk_gdk_im_open=yes
26198 else
26199 echo "$as_me: failed program was:" >&5
26200 sed 's/^/| /' conftest.$ac_ext >&5
26201
26202 ac_cv_lib_gdk_gdk_im_open=no
26203 fi
26204 rm -f conftest.err conftest.$ac_objext \
26205 conftest$ac_exeext conftest.$ac_ext
26206 LIBS=$ac_check_lib_save_LIBS
26207 fi
26208 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
26209 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
26210 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
26211 cat >>confdefs.h <<\_ACEOF
26212 #define HAVE_XIM 1
26213 _ACEOF
26214
26215 fi
26216
26217
26218
26219 if test "$wxUSE_GPE" = "yes"; then
26220 echo "$as_me:$LINENO: checking for gpewidget library" >&5
26221 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26222
26223 ac_find_libraries=
26224 for ac_dir in $SEARCH_LIB /usr/lib;
26225 do
26226 for ac_extension in a so sl dylib; do
26227 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26228 ac_find_libraries=$ac_dir
26229 break 2
26230 fi
26231 done
26232 done
26233
26234 if test "$ac_find_libraries" != "" ; then
26235
26236 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26237 result=$?
26238 if test $result = 0; then
26239 ac_path_to_link=""
26240 else
26241 ac_path_to_link=" -L$ac_find_libraries"
26242 fi
26243
26244 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26245 WXGPE=1
26246 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26247 echo "${ECHO_T}found at $ac_find_libraries" >&6
26248 else
26249 echo "$as_me:$LINENO: result: not found" >&5
26250 echo "${ECHO_T}not found" >&6
26251 fi
26252
26253 fi
26254 fi
26255
26256 if test "$wxUSE_MGL" = 1; then
26257 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26258 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26259 if test "x$MGL_ROOT" = x ; then
26260 echo "$as_me:$LINENO: result: not found" >&5
26261 echo "${ECHO_T}not found" >&6
26262 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26263 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26264 { (exit 1); exit 1; }; }
26265 else
26266 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26267 echo "${ECHO_T}$MGL_ROOT" >&6
26268 fi
26269
26270 echo "$as_me:$LINENO: checking for libmgl location" >&5
26271 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26272 case "${host}" in
26273 *-*-linux* )
26274 if test "x$wxUSE_SHARED" = xyes ; then
26275 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26276 else
26277 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26278 fi
26279 ;;
26280 *-pc-msdosdjgpp )
26281 mgl_os_candidates="dos32/dj2"
26282 ;;
26283 *)
26284 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26285 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26286 { (exit 1); exit 1; }; }
26287 esac
26288
26289 mgl_lib_type=""
26290 mgl_os=""
26291
26292 for mgl_os_i in $mgl_os_candidates ; do
26293 if test "x$mgl_os" = x ; then
26294 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26295 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
26296 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
26297 mgl_lib_type=debug
26298 mgl_os=$mgl_os_i
26299 fi
26300 fi
26301 if test "x$mgl_lib_type" = x ; then
26302 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
26303 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
26304 mgl_lib_type=release
26305 mgl_os=$mgl_os_i
26306 fi
26307 fi
26308 fi
26309 done
26310
26311 if test "x$mgl_os" = x ; then
26312 echo "$as_me:$LINENO: result: not found" >&5
26313 echo "${ECHO_T}not found" >&6
26314 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26315 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26316 { (exit 1); exit 1; }; }
26317 fi
26318 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26319 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26320
26321 wxUSE_UNIVERSAL="yes"
26322
26323 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
26324 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26325
26326 AFMINSTALL=afminstall
26327 TOOLKIT=MGL
26328 GUIDIST=MGL_DIST
26329 fi
26330
26331 if test "$wxUSE_MICROWIN" = 1; then
26332 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26333 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26334 if test "x$MICROWINDOWS" = x ; then
26335 echo "$as_me:$LINENO: result: not found" >&5
26336 echo "${ECHO_T}not found" >&6
26337 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26338 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26339 { (exit 1); exit 1; }; }
26340 else
26341 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26342 echo "${ECHO_T}$MICROWINDOWS" >&6
26343 fi
26344
26345 if test -f $MICROWINDOWS/lib/libmwin.a; then
26346 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26347 echo "${ECHO_T}MicroWindows' libraries found." >&6
26348 else
26349 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26350 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26351 { (exit 1); exit 1; }; }
26352 fi
26353
26354 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
26355 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26356
26357 wxUSE_UNIVERSAL="yes"
26358
26359 AFMINSTALL=afminstall
26360 TOOLKIT=MICROWIN
26361 GUIDIST=MICROWIN_DIST
26362
26363 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26364 fi
26365
26366 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26367 echo "$as_me:$LINENO: checking for X" >&5
26368 echo $ECHO_N "checking for X... $ECHO_C" >&6
26369
26370
26371 # Check whether --with-x or --without-x was given.
26372 if test "${with_x+set}" = set; then
26373 withval="$with_x"
26374
26375 fi;
26376 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26377 if test "x$with_x" = xno; then
26378 # The user explicitly disabled X.
26379 have_x=disabled
26380 else
26381 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
26382 # Both variables are already set.
26383 have_x=yes
26384 else
26385 if test "${ac_cv_have_x+set}" = set; then
26386 echo $ECHO_N "(cached) $ECHO_C" >&6
26387 else
26388 # One or both of the vars are not set, and there is no cached value.
26389 ac_x_includes=no ac_x_libraries=no
26390 rm -fr conftest.dir
26391 if mkdir conftest.dir; then
26392 cd conftest.dir
26393 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26394 cat >Imakefile <<'_ACEOF'
26395 acfindx:
26396 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26397 _ACEOF
26398 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
26399 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26400 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26401 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26402 for ac_extension in a so sl; do
26403 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
26404 test -f $ac_im_libdir/libX11.$ac_extension; then
26405 ac_im_usrlibdir=$ac_im_libdir; break
26406 fi
26407 done
26408 # Screen out bogus values from the imake configuration. They are
26409 # bogus both because they are the default anyway, and because
26410 # using them would break gcc on systems where it needs fixed includes.
26411 case $ac_im_incroot in
26412 /usr/include) ;;
26413 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
26414 esac
26415 case $ac_im_usrlibdir in
26416 /usr/lib | /lib) ;;
26417 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
26418 esac
26419 fi
26420 cd ..
26421 rm -fr conftest.dir
26422 fi
26423
26424 # Standard set of common directories for X headers.
26425 # Check X11 before X11Rn because it is often a symlink to the current release.
26426 ac_x_header_dirs='
26427 /usr/X11/include
26428 /usr/X11R6/include
26429 /usr/X11R5/include
26430 /usr/X11R4/include
26431
26432 /usr/include/X11
26433 /usr/include/X11R6
26434 /usr/include/X11R5
26435 /usr/include/X11R4
26436
26437 /usr/local/X11/include
26438 /usr/local/X11R6/include
26439 /usr/local/X11R5/include
26440 /usr/local/X11R4/include
26441
26442 /usr/local/include/X11
26443 /usr/local/include/X11R6
26444 /usr/local/include/X11R5
26445 /usr/local/include/X11R4
26446
26447 /usr/X386/include
26448 /usr/x386/include
26449 /usr/XFree86/include/X11
26450
26451 /usr/include
26452 /usr/local/include
26453 /usr/unsupported/include
26454 /usr/athena/include
26455 /usr/local/x11r5/include
26456 /usr/lpp/Xamples/include
26457
26458 /usr/openwin/include
26459 /usr/openwin/share/include'
26460
26461 if test "$ac_x_includes" = no; then
26462 # Guess where to find include files, by looking for Intrinsic.h.
26463 # First, try using that file with no special directory specified.
26464 cat >conftest.$ac_ext <<_ACEOF
26465 /* confdefs.h. */
26466 _ACEOF
26467 cat confdefs.h >>conftest.$ac_ext
26468 cat >>conftest.$ac_ext <<_ACEOF
26469 /* end confdefs.h. */
26470 #include <X11/Intrinsic.h>
26471 _ACEOF
26472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26473 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26474 ac_status=$?
26475 grep -v '^ *+' conftest.er1 >conftest.err
26476 rm -f conftest.er1
26477 cat conftest.err >&5
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); } >/dev/null; then
26480 if test -s conftest.err; then
26481 ac_cpp_err=$ac_c_preproc_warn_flag
26482 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26483 else
26484 ac_cpp_err=
26485 fi
26486 else
26487 ac_cpp_err=yes
26488 fi
26489 if test -z "$ac_cpp_err"; then
26490 # We can compile using X headers with no special include directory.
26491 ac_x_includes=
26492 else
26493 echo "$as_me: failed program was:" >&5
26494 sed 's/^/| /' conftest.$ac_ext >&5
26495
26496 for ac_dir in $ac_x_header_dirs; do
26497 if test -r "$ac_dir/X11/Intrinsic.h"; then
26498 ac_x_includes=$ac_dir
26499 break
26500 fi
26501 done
26502 fi
26503 rm -f conftest.err conftest.$ac_ext
26504 fi # $ac_x_includes = no
26505
26506 if test "$ac_x_libraries" = no; then
26507 # Check for the libraries.
26508 # See if we find them without any special options.
26509 # Don't add to $LIBS permanently.
26510 ac_save_LIBS=$LIBS
26511 LIBS="-lXt $LIBS"
26512 cat >conftest.$ac_ext <<_ACEOF
26513 /* confdefs.h. */
26514 _ACEOF
26515 cat confdefs.h >>conftest.$ac_ext
26516 cat >>conftest.$ac_ext <<_ACEOF
26517 /* end confdefs.h. */
26518 #include <X11/Intrinsic.h>
26519 int
26520 main ()
26521 {
26522 XtMalloc (0)
26523 ;
26524 return 0;
26525 }
26526 _ACEOF
26527 rm -f conftest.$ac_objext conftest$ac_exeext
26528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26529 (eval $ac_link) 2>conftest.er1
26530 ac_status=$?
26531 grep -v '^ *+' conftest.er1 >conftest.err
26532 rm -f conftest.er1
26533 cat conftest.err >&5
26534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535 (exit $ac_status); } &&
26536 { ac_try='test -z "$ac_c_werror_flag"
26537 || test ! -s conftest.err'
26538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26539 (eval $ac_try) 2>&5
26540 ac_status=$?
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); }; } &&
26543 { ac_try='test -s conftest$ac_exeext'
26544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26545 (eval $ac_try) 2>&5
26546 ac_status=$?
26547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26548 (exit $ac_status); }; }; then
26549 LIBS=$ac_save_LIBS
26550 # We can link X programs with no special library path.
26551 ac_x_libraries=
26552 else
26553 echo "$as_me: failed program was:" >&5
26554 sed 's/^/| /' conftest.$ac_ext >&5
26555
26556 LIBS=$ac_save_LIBS
26557 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26558 do
26559 # Don't even attempt the hair of trying to link an X program!
26560 for ac_extension in a so sl; do
26561 if test -r $ac_dir/libXt.$ac_extension; then
26562 ac_x_libraries=$ac_dir
26563 break 2
26564 fi
26565 done
26566 done
26567 fi
26568 rm -f conftest.err conftest.$ac_objext \
26569 conftest$ac_exeext conftest.$ac_ext
26570 fi # $ac_x_libraries = no
26571
26572 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
26573 # Didn't find X anywhere. Cache the known absence of X.
26574 ac_cv_have_x="have_x=no"
26575 else
26576 # Record where we found X for the cache.
26577 ac_cv_have_x="have_x=yes \
26578 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26579 fi
26580 fi
26581
26582 fi
26583 eval "$ac_cv_have_x"
26584 fi # $with_x != no
26585
26586 if test "$have_x" != yes; then
26587 echo "$as_me:$LINENO: result: $have_x" >&5
26588 echo "${ECHO_T}$have_x" >&6
26589 no_x=yes
26590 else
26591 # If each of the values was on the command line, it overrides each guess.
26592 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
26593 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
26594 # Update the cache value to reflect the command line values.
26595 ac_cv_have_x="have_x=yes \
26596 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26597 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
26598 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
26599 fi
26600
26601 if test "$no_x" = yes; then
26602 # Not all programs may use this symbol, but it does not hurt to define it.
26603
26604 cat >>confdefs.h <<\_ACEOF
26605 #define X_DISPLAY_MISSING 1
26606 _ACEOF
26607
26608 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26609 else
26610 if test -n "$x_includes"; then
26611 X_CFLAGS="$X_CFLAGS -I$x_includes"
26612 fi
26613
26614 # It would also be nice to do this for all -L options, not just this one.
26615 if test -n "$x_libraries"; then
26616 X_LIBS="$X_LIBS -L$x_libraries"
26617 # For Solaris; some versions of Sun CC require a space after -R and
26618 # others require no space. Words are not sufficient . . . .
26619 case `(uname -sr) 2>/dev/null` in
26620 "SunOS 5"*)
26621 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26622 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26623 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26624 cat >conftest.$ac_ext <<_ACEOF
26625 /* confdefs.h. */
26626 _ACEOF
26627 cat confdefs.h >>conftest.$ac_ext
26628 cat >>conftest.$ac_ext <<_ACEOF
26629 /* end confdefs.h. */
26630
26631 int
26632 main ()
26633 {
26634
26635 ;
26636 return 0;
26637 }
26638 _ACEOF
26639 rm -f conftest.$ac_objext conftest$ac_exeext
26640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26641 (eval $ac_link) 2>conftest.er1
26642 ac_status=$?
26643 grep -v '^ *+' conftest.er1 >conftest.err
26644 rm -f conftest.er1
26645 cat conftest.err >&5
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); } &&
26648 { ac_try='test -z "$ac_c_werror_flag"
26649 || test ! -s conftest.err'
26650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26651 (eval $ac_try) 2>&5
26652 ac_status=$?
26653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26654 (exit $ac_status); }; } &&
26655 { ac_try='test -s conftest$ac_exeext'
26656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26657 (eval $ac_try) 2>&5
26658 ac_status=$?
26659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26660 (exit $ac_status); }; }; then
26661 ac_R_nospace=yes
26662 else
26663 echo "$as_me: failed program was:" >&5
26664 sed 's/^/| /' conftest.$ac_ext >&5
26665
26666 ac_R_nospace=no
26667 fi
26668 rm -f conftest.err conftest.$ac_objext \
26669 conftest$ac_exeext conftest.$ac_ext
26670 if test $ac_R_nospace = yes; then
26671 echo "$as_me:$LINENO: result: no" >&5
26672 echo "${ECHO_T}no" >&6
26673 X_LIBS="$X_LIBS -R$x_libraries"
26674 else
26675 LIBS="$ac_xsave_LIBS -R $x_libraries"
26676 cat >conftest.$ac_ext <<_ACEOF
26677 /* confdefs.h. */
26678 _ACEOF
26679 cat confdefs.h >>conftest.$ac_ext
26680 cat >>conftest.$ac_ext <<_ACEOF
26681 /* end confdefs.h. */
26682
26683 int
26684 main ()
26685 {
26686
26687 ;
26688 return 0;
26689 }
26690 _ACEOF
26691 rm -f conftest.$ac_objext conftest$ac_exeext
26692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26693 (eval $ac_link) 2>conftest.er1
26694 ac_status=$?
26695 grep -v '^ *+' conftest.er1 >conftest.err
26696 rm -f conftest.er1
26697 cat conftest.err >&5
26698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26699 (exit $ac_status); } &&
26700 { ac_try='test -z "$ac_c_werror_flag"
26701 || test ! -s conftest.err'
26702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26703 (eval $ac_try) 2>&5
26704 ac_status=$?
26705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26706 (exit $ac_status); }; } &&
26707 { ac_try='test -s conftest$ac_exeext'
26708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26709 (eval $ac_try) 2>&5
26710 ac_status=$?
26711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26712 (exit $ac_status); }; }; then
26713 ac_R_space=yes
26714 else
26715 echo "$as_me: failed program was:" >&5
26716 sed 's/^/| /' conftest.$ac_ext >&5
26717
26718 ac_R_space=no
26719 fi
26720 rm -f conftest.err conftest.$ac_objext \
26721 conftest$ac_exeext conftest.$ac_ext
26722 if test $ac_R_space = yes; then
26723 echo "$as_me:$LINENO: result: yes" >&5
26724 echo "${ECHO_T}yes" >&6
26725 X_LIBS="$X_LIBS -R $x_libraries"
26726 else
26727 echo "$as_me:$LINENO: result: neither works" >&5
26728 echo "${ECHO_T}neither works" >&6
26729 fi
26730 fi
26731 LIBS=$ac_xsave_LIBS
26732 esac
26733 fi
26734
26735 # Check for system-dependent libraries X programs must link with.
26736 # Do this before checking for the system-independent R6 libraries
26737 # (-lICE), since we may need -lsocket or whatever for X linking.
26738
26739 if test "$ISC" = yes; then
26740 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
26741 else
26742 # Martyn Johnson says this is needed for Ultrix, if the X
26743 # libraries were built with DECnet support. And Karl Berry says
26744 # the Alpha needs dnet_stub (dnet does not exist).
26745 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
26746 cat >conftest.$ac_ext <<_ACEOF
26747 /* confdefs.h. */
26748 _ACEOF
26749 cat confdefs.h >>conftest.$ac_ext
26750 cat >>conftest.$ac_ext <<_ACEOF
26751 /* end confdefs.h. */
26752
26753 /* Override any gcc2 internal prototype to avoid an error. */
26754 #ifdef __cplusplus
26755 extern "C"
26756 #endif
26757 /* We use char because int might match the return type of a gcc2
26758 builtin and then its argument prototype would still apply. */
26759 char XOpenDisplay ();
26760 int
26761 main ()
26762 {
26763 XOpenDisplay ();
26764 ;
26765 return 0;
26766 }
26767 _ACEOF
26768 rm -f conftest.$ac_objext conftest$ac_exeext
26769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26770 (eval $ac_link) 2>conftest.er1
26771 ac_status=$?
26772 grep -v '^ *+' conftest.er1 >conftest.err
26773 rm -f conftest.er1
26774 cat conftest.err >&5
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); } &&
26777 { ac_try='test -z "$ac_c_werror_flag"
26778 || test ! -s conftest.err'
26779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26780 (eval $ac_try) 2>&5
26781 ac_status=$?
26782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783 (exit $ac_status); }; } &&
26784 { ac_try='test -s conftest$ac_exeext'
26785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26786 (eval $ac_try) 2>&5
26787 ac_status=$?
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); }; }; then
26790 :
26791 else
26792 echo "$as_me: failed program was:" >&5
26793 sed 's/^/| /' conftest.$ac_ext >&5
26794
26795 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26796 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26797 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26798 echo $ECHO_N "(cached) $ECHO_C" >&6
26799 else
26800 ac_check_lib_save_LIBS=$LIBS
26801 LIBS="-ldnet $LIBS"
26802 cat >conftest.$ac_ext <<_ACEOF
26803 /* confdefs.h. */
26804 _ACEOF
26805 cat confdefs.h >>conftest.$ac_ext
26806 cat >>conftest.$ac_ext <<_ACEOF
26807 /* end confdefs.h. */
26808
26809 /* Override any gcc2 internal prototype to avoid an error. */
26810 #ifdef __cplusplus
26811 extern "C"
26812 #endif
26813 /* We use char because int might match the return type of a gcc2
26814 builtin and then its argument prototype would still apply. */
26815 char dnet_ntoa ();
26816 int
26817 main ()
26818 {
26819 dnet_ntoa ();
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"
26834 || test ! -s conftest.err'
26835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26836 (eval $ac_try) 2>&5
26837 ac_status=$?
26838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839 (exit $ac_status); }; } &&
26840 { ac_try='test -s conftest$ac_exeext'
26841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26842 (eval $ac_try) 2>&5
26843 ac_status=$?
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); }; }; then
26846 ac_cv_lib_dnet_dnet_ntoa=yes
26847 else
26848 echo "$as_me: failed program was:" >&5
26849 sed 's/^/| /' conftest.$ac_ext >&5
26850
26851 ac_cv_lib_dnet_dnet_ntoa=no
26852 fi
26853 rm -f conftest.err conftest.$ac_objext \
26854 conftest$ac_exeext conftest.$ac_ext
26855 LIBS=$ac_check_lib_save_LIBS
26856 fi
26857 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26858 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26859 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26860 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26861 fi
26862
26863 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26864 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26865 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26866 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26867 echo $ECHO_N "(cached) $ECHO_C" >&6
26868 else
26869 ac_check_lib_save_LIBS=$LIBS
26870 LIBS="-ldnet_stub $LIBS"
26871 cat >conftest.$ac_ext <<_ACEOF
26872 /* confdefs.h. */
26873 _ACEOF
26874 cat confdefs.h >>conftest.$ac_ext
26875 cat >>conftest.$ac_ext <<_ACEOF
26876 /* end confdefs.h. */
26877
26878 /* Override any gcc2 internal prototype to avoid an error. */
26879 #ifdef __cplusplus
26880 extern "C"
26881 #endif
26882 /* We use char because int might match the return type of a gcc2
26883 builtin and then its argument prototype would still apply. */
26884 char dnet_ntoa ();
26885 int
26886 main ()
26887 {
26888 dnet_ntoa ();
26889 ;
26890 return 0;
26891 }
26892 _ACEOF
26893 rm -f conftest.$ac_objext conftest$ac_exeext
26894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26895 (eval $ac_link) 2>conftest.er1
26896 ac_status=$?
26897 grep -v '^ *+' conftest.er1 >conftest.err
26898 rm -f conftest.er1
26899 cat conftest.err >&5
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); } &&
26902 { ac_try='test -z "$ac_c_werror_flag"
26903 || test ! -s conftest.err'
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); }; } &&
26909 { ac_try='test -s conftest$ac_exeext'
26910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26911 (eval $ac_try) 2>&5
26912 ac_status=$?
26913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914 (exit $ac_status); }; }; then
26915 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26916 else
26917 echo "$as_me: failed program was:" >&5
26918 sed 's/^/| /' conftest.$ac_ext >&5
26919
26920 ac_cv_lib_dnet_stub_dnet_ntoa=no
26921 fi
26922 rm -f conftest.err conftest.$ac_objext \
26923 conftest$ac_exeext conftest.$ac_ext
26924 LIBS=$ac_check_lib_save_LIBS
26925 fi
26926 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26927 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26928 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26929 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26930 fi
26931
26932 fi
26933 fi
26934 rm -f conftest.err conftest.$ac_objext \
26935 conftest$ac_exeext conftest.$ac_ext
26936 LIBS="$ac_xsave_LIBS"
26937
26938 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26939 # to get the SysV transport functions.
26940 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26941 # needs -lnsl.
26942 # The nsl library prevents programs from opening the X display
26943 # on Irix 5.2, according to T.E. Dickey.
26944 # The functions gethostbyname, getservbyname, and inet_addr are
26945 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26946 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26947 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26948 if test "${ac_cv_func_gethostbyname+set}" = set; then
26949 echo $ECHO_N "(cached) $ECHO_C" >&6
26950 else
26951 cat >conftest.$ac_ext <<_ACEOF
26952 /* confdefs.h. */
26953 _ACEOF
26954 cat confdefs.h >>conftest.$ac_ext
26955 cat >>conftest.$ac_ext <<_ACEOF
26956 /* end confdefs.h. */
26957 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26959 #define gethostbyname innocuous_gethostbyname
26960
26961 /* System header to define __stub macros and hopefully few prototypes,
26962 which can conflict with char gethostbyname (); below.
26963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26964 <limits.h> exists even on freestanding compilers. */
26965
26966 #ifdef __STDC__
26967 # include <limits.h>
26968 #else
26969 # include <assert.h>
26970 #endif
26971
26972 #undef gethostbyname
26973
26974 /* Override any gcc2 internal prototype to avoid an error. */
26975 #ifdef __cplusplus
26976 extern "C"
26977 {
26978 #endif
26979 /* We use char because int might match the return type of a gcc2
26980 builtin and then its argument prototype would still apply. */
26981 char gethostbyname ();
26982 /* The GNU C library defines this for functions which it implements
26983 to always fail with ENOSYS. Some functions are actually named
26984 something starting with __ and the normal name is an alias. */
26985 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26986 choke me
26987 #else
26988 char (*f) () = gethostbyname;
26989 #endif
26990 #ifdef __cplusplus
26991 }
26992 #endif
26993
26994 int
26995 main ()
26996 {
26997 return f != gethostbyname;
26998 ;
26999 return 0;
27000 }
27001 _ACEOF
27002 rm -f conftest.$ac_objext conftest$ac_exeext
27003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27004 (eval $ac_link) 2>conftest.er1
27005 ac_status=$?
27006 grep -v '^ *+' conftest.er1 >conftest.err
27007 rm -f conftest.er1
27008 cat conftest.err >&5
27009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27010 (exit $ac_status); } &&
27011 { ac_try='test -z "$ac_c_werror_flag"
27012 || test ! -s conftest.err'
27013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27014 (eval $ac_try) 2>&5
27015 ac_status=$?
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); }; } &&
27018 { ac_try='test -s conftest$ac_exeext'
27019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27020 (eval $ac_try) 2>&5
27021 ac_status=$?
27022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27023 (exit $ac_status); }; }; then
27024 ac_cv_func_gethostbyname=yes
27025 else
27026 echo "$as_me: failed program was:" >&5
27027 sed 's/^/| /' conftest.$ac_ext >&5
27028
27029 ac_cv_func_gethostbyname=no
27030 fi
27031 rm -f conftest.err conftest.$ac_objext \
27032 conftest$ac_exeext conftest.$ac_ext
27033 fi
27034 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
27035 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
27036
27037 if test $ac_cv_func_gethostbyname = no; then
27038 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
27039 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
27040 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
27041 echo $ECHO_N "(cached) $ECHO_C" >&6
27042 else
27043 ac_check_lib_save_LIBS=$LIBS
27044 LIBS="-lnsl $LIBS"
27045 cat >conftest.$ac_ext <<_ACEOF
27046 /* confdefs.h. */
27047 _ACEOF
27048 cat confdefs.h >>conftest.$ac_ext
27049 cat >>conftest.$ac_ext <<_ACEOF
27050 /* end confdefs.h. */
27051
27052 /* Override any gcc2 internal prototype to avoid an error. */
27053 #ifdef __cplusplus
27054 extern "C"
27055 #endif
27056 /* We use char because int might match the return type of a gcc2
27057 builtin and then its argument prototype would still apply. */
27058 char gethostbyname ();
27059 int
27060 main ()
27061 {
27062 gethostbyname ();
27063 ;
27064 return 0;
27065 }
27066 _ACEOF
27067 rm -f conftest.$ac_objext conftest$ac_exeext
27068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27069 (eval $ac_link) 2>conftest.er1
27070 ac_status=$?
27071 grep -v '^ *+' conftest.er1 >conftest.err
27072 rm -f conftest.er1
27073 cat conftest.err >&5
27074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 (exit $ac_status); } &&
27076 { ac_try='test -z "$ac_c_werror_flag"
27077 || test ! -s conftest.err'
27078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27079 (eval $ac_try) 2>&5
27080 ac_status=$?
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); }; } &&
27083 { ac_try='test -s conftest$ac_exeext'
27084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 (eval $ac_try) 2>&5
27086 ac_status=$?
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; }; then
27089 ac_cv_lib_nsl_gethostbyname=yes
27090 else
27091 echo "$as_me: failed program was:" >&5
27092 sed 's/^/| /' conftest.$ac_ext >&5
27093
27094 ac_cv_lib_nsl_gethostbyname=no
27095 fi
27096 rm -f conftest.err conftest.$ac_objext \
27097 conftest$ac_exeext conftest.$ac_ext
27098 LIBS=$ac_check_lib_save_LIBS
27099 fi
27100 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
27101 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
27102 if test $ac_cv_lib_nsl_gethostbyname = yes; then
27103 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
27104 fi
27105
27106 if test $ac_cv_lib_nsl_gethostbyname = no; then
27107 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
27108 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
27109 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
27110 echo $ECHO_N "(cached) $ECHO_C" >&6
27111 else
27112 ac_check_lib_save_LIBS=$LIBS
27113 LIBS="-lbsd $LIBS"
27114 cat >conftest.$ac_ext <<_ACEOF
27115 /* confdefs.h. */
27116 _ACEOF
27117 cat confdefs.h >>conftest.$ac_ext
27118 cat >>conftest.$ac_ext <<_ACEOF
27119 /* end confdefs.h. */
27120
27121 /* Override any gcc2 internal prototype to avoid an error. */
27122 #ifdef __cplusplus
27123 extern "C"
27124 #endif
27125 /* We use char because int might match the return type of a gcc2
27126 builtin and then its argument prototype would still apply. */
27127 char gethostbyname ();
27128 int
27129 main ()
27130 {
27131 gethostbyname ();
27132 ;
27133 return 0;
27134 }
27135 _ACEOF
27136 rm -f conftest.$ac_objext conftest$ac_exeext
27137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27138 (eval $ac_link) 2>conftest.er1
27139 ac_status=$?
27140 grep -v '^ *+' conftest.er1 >conftest.err
27141 rm -f conftest.er1
27142 cat conftest.err >&5
27143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27144 (exit $ac_status); } &&
27145 { ac_try='test -z "$ac_c_werror_flag"
27146 || test ! -s conftest.err'
27147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27148 (eval $ac_try) 2>&5
27149 ac_status=$?
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); }; } &&
27152 { ac_try='test -s conftest$ac_exeext'
27153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27154 (eval $ac_try) 2>&5
27155 ac_status=$?
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); }; }; then
27158 ac_cv_lib_bsd_gethostbyname=yes
27159 else
27160 echo "$as_me: failed program was:" >&5
27161 sed 's/^/| /' conftest.$ac_ext >&5
27162
27163 ac_cv_lib_bsd_gethostbyname=no
27164 fi
27165 rm -f conftest.err conftest.$ac_objext \
27166 conftest$ac_exeext conftest.$ac_ext
27167 LIBS=$ac_check_lib_save_LIBS
27168 fi
27169 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
27170 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
27171 if test $ac_cv_lib_bsd_gethostbyname = yes; then
27172 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
27173 fi
27174
27175 fi
27176 fi
27177
27178 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27179 # socket/setsockopt and other routines are undefined under SCO ODT
27180 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27181 # on later versions), says Simon Leinen: it contains gethostby*
27182 # variants that don't use the name server (or something). -lsocket
27183 # must be given before -lnsl if both are needed. We assume that
27184 # if connect needs -lnsl, so does gethostbyname.
27185 echo "$as_me:$LINENO: checking for connect" >&5
27186 echo $ECHO_N "checking for connect... $ECHO_C" >&6
27187 if test "${ac_cv_func_connect+set}" = set; then
27188 echo $ECHO_N "(cached) $ECHO_C" >&6
27189 else
27190 cat >conftest.$ac_ext <<_ACEOF
27191 /* confdefs.h. */
27192 _ACEOF
27193 cat confdefs.h >>conftest.$ac_ext
27194 cat >>conftest.$ac_ext <<_ACEOF
27195 /* end confdefs.h. */
27196 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
27197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27198 #define connect innocuous_connect
27199
27200 /* System header to define __stub macros and hopefully few prototypes,
27201 which can conflict with char connect (); below.
27202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27203 <limits.h> exists even on freestanding compilers. */
27204
27205 #ifdef __STDC__
27206 # include <limits.h>
27207 #else
27208 # include <assert.h>
27209 #endif
27210
27211 #undef connect
27212
27213 /* Override any gcc2 internal prototype to avoid an error. */
27214 #ifdef __cplusplus
27215 extern "C"
27216 {
27217 #endif
27218 /* We use char because int might match the return type of a gcc2
27219 builtin and then its argument prototype would still apply. */
27220 char connect ();
27221 /* The GNU C library defines this for functions which it implements
27222 to always fail with ENOSYS. Some functions are actually named
27223 something starting with __ and the normal name is an alias. */
27224 #if defined (__stub_connect) || defined (__stub___connect)
27225 choke me
27226 #else
27227 char (*f) () = connect;
27228 #endif
27229 #ifdef __cplusplus
27230 }
27231 #endif
27232
27233 int
27234 main ()
27235 {
27236 return f != connect;
27237 ;
27238 return 0;
27239 }
27240 _ACEOF
27241 rm -f conftest.$ac_objext conftest$ac_exeext
27242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27243 (eval $ac_link) 2>conftest.er1
27244 ac_status=$?
27245 grep -v '^ *+' conftest.er1 >conftest.err
27246 rm -f conftest.er1
27247 cat conftest.err >&5
27248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249 (exit $ac_status); } &&
27250 { ac_try='test -z "$ac_c_werror_flag"
27251 || test ! -s conftest.err'
27252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27253 (eval $ac_try) 2>&5
27254 ac_status=$?
27255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27256 (exit $ac_status); }; } &&
27257 { ac_try='test -s conftest$ac_exeext'
27258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27259 (eval $ac_try) 2>&5
27260 ac_status=$?
27261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262 (exit $ac_status); }; }; then
27263 ac_cv_func_connect=yes
27264 else
27265 echo "$as_me: failed program was:" >&5
27266 sed 's/^/| /' conftest.$ac_ext >&5
27267
27268 ac_cv_func_connect=no
27269 fi
27270 rm -f conftest.err conftest.$ac_objext \
27271 conftest$ac_exeext conftest.$ac_ext
27272 fi
27273 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27274 echo "${ECHO_T}$ac_cv_func_connect" >&6
27275
27276 if test $ac_cv_func_connect = no; then
27277 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27278 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27279 if test "${ac_cv_lib_socket_connect+set}" = set; then
27280 echo $ECHO_N "(cached) $ECHO_C" >&6
27281 else
27282 ac_check_lib_save_LIBS=$LIBS
27283 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
27284 cat >conftest.$ac_ext <<_ACEOF
27285 /* confdefs.h. */
27286 _ACEOF
27287 cat confdefs.h >>conftest.$ac_ext
27288 cat >>conftest.$ac_ext <<_ACEOF
27289 /* end confdefs.h. */
27290
27291 /* Override any gcc2 internal prototype to avoid an error. */
27292 #ifdef __cplusplus
27293 extern "C"
27294 #endif
27295 /* We use char because int might match the return type of a gcc2
27296 builtin and then its argument prototype would still apply. */
27297 char connect ();
27298 int
27299 main ()
27300 {
27301 connect ();
27302 ;
27303 return 0;
27304 }
27305 _ACEOF
27306 rm -f conftest.$ac_objext conftest$ac_exeext
27307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27308 (eval $ac_link) 2>conftest.er1
27309 ac_status=$?
27310 grep -v '^ *+' conftest.er1 >conftest.err
27311 rm -f conftest.er1
27312 cat conftest.err >&5
27313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27314 (exit $ac_status); } &&
27315 { ac_try='test -z "$ac_c_werror_flag"
27316 || test ! -s conftest.err'
27317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27318 (eval $ac_try) 2>&5
27319 ac_status=$?
27320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27321 (exit $ac_status); }; } &&
27322 { ac_try='test -s conftest$ac_exeext'
27323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27324 (eval $ac_try) 2>&5
27325 ac_status=$?
27326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327 (exit $ac_status); }; }; then
27328 ac_cv_lib_socket_connect=yes
27329 else
27330 echo "$as_me: failed program was:" >&5
27331 sed 's/^/| /' conftest.$ac_ext >&5
27332
27333 ac_cv_lib_socket_connect=no
27334 fi
27335 rm -f conftest.err conftest.$ac_objext \
27336 conftest$ac_exeext conftest.$ac_ext
27337 LIBS=$ac_check_lib_save_LIBS
27338 fi
27339 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27340 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27341 if test $ac_cv_lib_socket_connect = yes; then
27342 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
27343 fi
27344
27345 fi
27346
27347 # Guillermo Gomez says -lposix is necessary on A/UX.
27348 echo "$as_me:$LINENO: checking for remove" >&5
27349 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27350 if test "${ac_cv_func_remove+set}" = set; then
27351 echo $ECHO_N "(cached) $ECHO_C" >&6
27352 else
27353 cat >conftest.$ac_ext <<_ACEOF
27354 /* confdefs.h. */
27355 _ACEOF
27356 cat confdefs.h >>conftest.$ac_ext
27357 cat >>conftest.$ac_ext <<_ACEOF
27358 /* end confdefs.h. */
27359 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27361 #define remove innocuous_remove
27362
27363 /* System header to define __stub macros and hopefully few prototypes,
27364 which can conflict with char remove (); below.
27365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27366 <limits.h> exists even on freestanding compilers. */
27367
27368 #ifdef __STDC__
27369 # include <limits.h>
27370 #else
27371 # include <assert.h>
27372 #endif
27373
27374 #undef remove
27375
27376 /* Override any gcc2 internal prototype to avoid an error. */
27377 #ifdef __cplusplus
27378 extern "C"
27379 {
27380 #endif
27381 /* We use char because int might match the return type of a gcc2
27382 builtin and then its argument prototype would still apply. */
27383 char remove ();
27384 /* The GNU C library defines this for functions which it implements
27385 to always fail with ENOSYS. Some functions are actually named
27386 something starting with __ and the normal name is an alias. */
27387 #if defined (__stub_remove) || defined (__stub___remove)
27388 choke me
27389 #else
27390 char (*f) () = remove;
27391 #endif
27392 #ifdef __cplusplus
27393 }
27394 #endif
27395
27396 int
27397 main ()
27398 {
27399 return f != remove;
27400 ;
27401 return 0;
27402 }
27403 _ACEOF
27404 rm -f conftest.$ac_objext conftest$ac_exeext
27405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27406 (eval $ac_link) 2>conftest.er1
27407 ac_status=$?
27408 grep -v '^ *+' conftest.er1 >conftest.err
27409 rm -f conftest.er1
27410 cat conftest.err >&5
27411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412 (exit $ac_status); } &&
27413 { ac_try='test -z "$ac_c_werror_flag"
27414 || test ! -s conftest.err'
27415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27416 (eval $ac_try) 2>&5
27417 ac_status=$?
27418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27419 (exit $ac_status); }; } &&
27420 { ac_try='test -s conftest$ac_exeext'
27421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27422 (eval $ac_try) 2>&5
27423 ac_status=$?
27424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27425 (exit $ac_status); }; }; then
27426 ac_cv_func_remove=yes
27427 else
27428 echo "$as_me: failed program was:" >&5
27429 sed 's/^/| /' conftest.$ac_ext >&5
27430
27431 ac_cv_func_remove=no
27432 fi
27433 rm -f conftest.err conftest.$ac_objext \
27434 conftest$ac_exeext conftest.$ac_ext
27435 fi
27436 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27437 echo "${ECHO_T}$ac_cv_func_remove" >&6
27438
27439 if test $ac_cv_func_remove = no; then
27440 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27441 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27442 if test "${ac_cv_lib_posix_remove+set}" = set; then
27443 echo $ECHO_N "(cached) $ECHO_C" >&6
27444 else
27445 ac_check_lib_save_LIBS=$LIBS
27446 LIBS="-lposix $LIBS"
27447 cat >conftest.$ac_ext <<_ACEOF
27448 /* confdefs.h. */
27449 _ACEOF
27450 cat confdefs.h >>conftest.$ac_ext
27451 cat >>conftest.$ac_ext <<_ACEOF
27452 /* end confdefs.h. */
27453
27454 /* Override any gcc2 internal prototype to avoid an error. */
27455 #ifdef __cplusplus
27456 extern "C"
27457 #endif
27458 /* We use char because int might match the return type of a gcc2
27459 builtin and then its argument prototype would still apply. */
27460 char remove ();
27461 int
27462 main ()
27463 {
27464 remove ();
27465 ;
27466 return 0;
27467 }
27468 _ACEOF
27469 rm -f conftest.$ac_objext conftest$ac_exeext
27470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27471 (eval $ac_link) 2>conftest.er1
27472 ac_status=$?
27473 grep -v '^ *+' conftest.er1 >conftest.err
27474 rm -f conftest.er1
27475 cat conftest.err >&5
27476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27477 (exit $ac_status); } &&
27478 { ac_try='test -z "$ac_c_werror_flag"
27479 || test ! -s conftest.err'
27480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27481 (eval $ac_try) 2>&5
27482 ac_status=$?
27483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 (exit $ac_status); }; } &&
27485 { ac_try='test -s conftest$ac_exeext'
27486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27487 (eval $ac_try) 2>&5
27488 ac_status=$?
27489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27490 (exit $ac_status); }; }; then
27491 ac_cv_lib_posix_remove=yes
27492 else
27493 echo "$as_me: failed program was:" >&5
27494 sed 's/^/| /' conftest.$ac_ext >&5
27495
27496 ac_cv_lib_posix_remove=no
27497 fi
27498 rm -f conftest.err conftest.$ac_objext \
27499 conftest$ac_exeext conftest.$ac_ext
27500 LIBS=$ac_check_lib_save_LIBS
27501 fi
27502 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27503 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27504 if test $ac_cv_lib_posix_remove = yes; then
27505 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
27506 fi
27507
27508 fi
27509
27510 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27511 echo "$as_me:$LINENO: checking for shmat" >&5
27512 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27513 if test "${ac_cv_func_shmat+set}" = set; then
27514 echo $ECHO_N "(cached) $ECHO_C" >&6
27515 else
27516 cat >conftest.$ac_ext <<_ACEOF
27517 /* confdefs.h. */
27518 _ACEOF
27519 cat confdefs.h >>conftest.$ac_ext
27520 cat >>conftest.$ac_ext <<_ACEOF
27521 /* end confdefs.h. */
27522 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27524 #define shmat innocuous_shmat
27525
27526 /* System header to define __stub macros and hopefully few prototypes,
27527 which can conflict with char shmat (); below.
27528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27529 <limits.h> exists even on freestanding compilers. */
27530
27531 #ifdef __STDC__
27532 # include <limits.h>
27533 #else
27534 # include <assert.h>
27535 #endif
27536
27537 #undef shmat
27538
27539 /* Override any gcc2 internal prototype to avoid an error. */
27540 #ifdef __cplusplus
27541 extern "C"
27542 {
27543 #endif
27544 /* We use char because int might match the return type of a gcc2
27545 builtin and then its argument prototype would still apply. */
27546 char shmat ();
27547 /* The GNU C library defines this for functions which it implements
27548 to always fail with ENOSYS. Some functions are actually named
27549 something starting with __ and the normal name is an alias. */
27550 #if defined (__stub_shmat) || defined (__stub___shmat)
27551 choke me
27552 #else
27553 char (*f) () = shmat;
27554 #endif
27555 #ifdef __cplusplus
27556 }
27557 #endif
27558
27559 int
27560 main ()
27561 {
27562 return f != shmat;
27563 ;
27564 return 0;
27565 }
27566 _ACEOF
27567 rm -f conftest.$ac_objext conftest$ac_exeext
27568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27569 (eval $ac_link) 2>conftest.er1
27570 ac_status=$?
27571 grep -v '^ *+' conftest.er1 >conftest.err
27572 rm -f conftest.er1
27573 cat conftest.err >&5
27574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27575 (exit $ac_status); } &&
27576 { ac_try='test -z "$ac_c_werror_flag"
27577 || test ! -s conftest.err'
27578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27579 (eval $ac_try) 2>&5
27580 ac_status=$?
27581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27582 (exit $ac_status); }; } &&
27583 { ac_try='test -s conftest$ac_exeext'
27584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27585 (eval $ac_try) 2>&5
27586 ac_status=$?
27587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27588 (exit $ac_status); }; }; then
27589 ac_cv_func_shmat=yes
27590 else
27591 echo "$as_me: failed program was:" >&5
27592 sed 's/^/| /' conftest.$ac_ext >&5
27593
27594 ac_cv_func_shmat=no
27595 fi
27596 rm -f conftest.err conftest.$ac_objext \
27597 conftest$ac_exeext conftest.$ac_ext
27598 fi
27599 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27600 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27601
27602 if test $ac_cv_func_shmat = no; then
27603 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27604 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27605 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27606 echo $ECHO_N "(cached) $ECHO_C" >&6
27607 else
27608 ac_check_lib_save_LIBS=$LIBS
27609 LIBS="-lipc $LIBS"
27610 cat >conftest.$ac_ext <<_ACEOF
27611 /* confdefs.h. */
27612 _ACEOF
27613 cat confdefs.h >>conftest.$ac_ext
27614 cat >>conftest.$ac_ext <<_ACEOF
27615 /* end confdefs.h. */
27616
27617 /* Override any gcc2 internal prototype to avoid an error. */
27618 #ifdef __cplusplus
27619 extern "C"
27620 #endif
27621 /* We use char because int might match the return type of a gcc2
27622 builtin and then its argument prototype would still apply. */
27623 char shmat ();
27624 int
27625 main ()
27626 {
27627 shmat ();
27628 ;
27629 return 0;
27630 }
27631 _ACEOF
27632 rm -f conftest.$ac_objext conftest$ac_exeext
27633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27634 (eval $ac_link) 2>conftest.er1
27635 ac_status=$?
27636 grep -v '^ *+' conftest.er1 >conftest.err
27637 rm -f conftest.er1
27638 cat conftest.err >&5
27639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640 (exit $ac_status); } &&
27641 { ac_try='test -z "$ac_c_werror_flag"
27642 || test ! -s conftest.err'
27643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27644 (eval $ac_try) 2>&5
27645 ac_status=$?
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); }; } &&
27648 { ac_try='test -s conftest$ac_exeext'
27649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27650 (eval $ac_try) 2>&5
27651 ac_status=$?
27652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653 (exit $ac_status); }; }; then
27654 ac_cv_lib_ipc_shmat=yes
27655 else
27656 echo "$as_me: failed program was:" >&5
27657 sed 's/^/| /' conftest.$ac_ext >&5
27658
27659 ac_cv_lib_ipc_shmat=no
27660 fi
27661 rm -f conftest.err conftest.$ac_objext \
27662 conftest$ac_exeext conftest.$ac_ext
27663 LIBS=$ac_check_lib_save_LIBS
27664 fi
27665 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27666 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27667 if test $ac_cv_lib_ipc_shmat = yes; then
27668 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27669 fi
27670
27671 fi
27672 fi
27673
27674 # Check for libraries that X11R6 Xt/Xaw programs need.
27675 ac_save_LDFLAGS=$LDFLAGS
27676 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27677 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27678 # check for ICE first), but we must link in the order -lSM -lICE or
27679 # we get undefined symbols. So assume we have SM if we have ICE.
27680 # These have to be linked with before -lX11, unlike the other
27681 # libraries we check for below, so use a different variable.
27682 # John Interrante, Karl Berry
27683 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27684 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27685 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27686 echo $ECHO_N "(cached) $ECHO_C" >&6
27687 else
27688 ac_check_lib_save_LIBS=$LIBS
27689 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27690 cat >conftest.$ac_ext <<_ACEOF
27691 /* confdefs.h. */
27692 _ACEOF
27693 cat confdefs.h >>conftest.$ac_ext
27694 cat >>conftest.$ac_ext <<_ACEOF
27695 /* end confdefs.h. */
27696
27697 /* Override any gcc2 internal prototype to avoid an error. */
27698 #ifdef __cplusplus
27699 extern "C"
27700 #endif
27701 /* We use char because int might match the return type of a gcc2
27702 builtin and then its argument prototype would still apply. */
27703 char IceConnectionNumber ();
27704 int
27705 main ()
27706 {
27707 IceConnectionNumber ();
27708 ;
27709 return 0;
27710 }
27711 _ACEOF
27712 rm -f conftest.$ac_objext conftest$ac_exeext
27713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27714 (eval $ac_link) 2>conftest.er1
27715 ac_status=$?
27716 grep -v '^ *+' conftest.er1 >conftest.err
27717 rm -f conftest.er1
27718 cat conftest.err >&5
27719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720 (exit $ac_status); } &&
27721 { ac_try='test -z "$ac_c_werror_flag"
27722 || test ! -s conftest.err'
27723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27724 (eval $ac_try) 2>&5
27725 ac_status=$?
27726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27727 (exit $ac_status); }; } &&
27728 { ac_try='test -s conftest$ac_exeext'
27729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27730 (eval $ac_try) 2>&5
27731 ac_status=$?
27732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27733 (exit $ac_status); }; }; then
27734 ac_cv_lib_ICE_IceConnectionNumber=yes
27735 else
27736 echo "$as_me: failed program was:" >&5
27737 sed 's/^/| /' conftest.$ac_ext >&5
27738
27739 ac_cv_lib_ICE_IceConnectionNumber=no
27740 fi
27741 rm -f conftest.err conftest.$ac_objext \
27742 conftest$ac_exeext conftest.$ac_ext
27743 LIBS=$ac_check_lib_save_LIBS
27744 fi
27745 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27746 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27747 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27748 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27749 fi
27750
27751 LDFLAGS=$ac_save_LDFLAGS
27752
27753 fi
27754
27755
27756 if test "$no_x" = "yes"; then
27757 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27758 echo "$as_me: error: X11 not found" >&2;}
27759 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
27760 fi
27761
27762 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27763 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
27764 AFMINSTALL=afminstall
27765 COMPILED_X_PROGRAM=0
27766
27767 fi
27768
27769 if test "$wxUSE_X11" = 1; then
27770 if test "$wxUSE_NANOX" = "yes"; then
27771 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27772 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27773 if test "x$MICROWIN" = x ; then
27774 echo "$as_me:$LINENO: result: not found" >&5
27775 echo "${ECHO_T}not found" >&6
27776 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27777 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27778 { (exit 1); exit 1; }; }
27779 else
27780 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27781 echo "${ECHO_T}$MICROWIN" >&6
27782 cat >>confdefs.h <<\_ACEOF
27783 #define wxUSE_NANOX 1
27784 _ACEOF
27785
27786 fi
27787 fi
27788
27789 if test "$wxUSE_UNICODE" = "yes"; then
27790
27791 succeeded=no
27792
27793 if test -z "$PKG_CONFIG"; then
27794 # Extract the first word of "pkg-config", so it can be a program name with args.
27795 set dummy pkg-config; ac_word=$2
27796 echo "$as_me:$LINENO: checking for $ac_word" >&5
27797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27798 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27799 echo $ECHO_N "(cached) $ECHO_C" >&6
27800 else
27801 case $PKG_CONFIG in
27802 [\\/]* | ?:[\\/]*)
27803 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27804 ;;
27805 *)
27806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27807 for as_dir in $PATH
27808 do
27809 IFS=$as_save_IFS
27810 test -z "$as_dir" && as_dir=.
27811 for ac_exec_ext in '' $ac_executable_extensions; do
27812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27813 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27815 break 2
27816 fi
27817 done
27818 done
27819
27820 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27821 ;;
27822 esac
27823 fi
27824 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27825
27826 if test -n "$PKG_CONFIG"; then
27827 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27828 echo "${ECHO_T}$PKG_CONFIG" >&6
27829 else
27830 echo "$as_me:$LINENO: result: no" >&5
27831 echo "${ECHO_T}no" >&6
27832 fi
27833
27834 fi
27835
27836 if test "$PKG_CONFIG" = "no" ; then
27837 echo "*** The pkg-config script could not be found. Make sure it is"
27838 echo "*** in your path, or set the PKG_CONFIG environment variable"
27839 echo "*** to the full path to pkg-config."
27840 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27841 else
27842 PKG_CONFIG_MIN_VERSION=0.9.0
27843 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27844 echo "$as_me:$LINENO: checking for pangox" >&5
27845 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27846
27847 if $PKG_CONFIG --exists "pangox" ; then
27848 echo "$as_me:$LINENO: result: yes" >&5
27849 echo "${ECHO_T}yes" >&6
27850 succeeded=yes
27851
27852 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27853 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27854 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
27855 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27856 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27857
27858 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27859 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27860 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
27861 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27862 echo "${ECHO_T}$PANGOX_LIBS" >&6
27863 else
27864 PANGOX_CFLAGS=""
27865 PANGOX_LIBS=""
27866 ## If we have a custom action on failure, don't print errors, but
27867 ## do set a variable so people can do so.
27868 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27869
27870 fi
27871
27872
27873
27874 else
27875 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27876 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27877 fi
27878 fi
27879
27880 if test $succeeded = yes; then
27881
27882 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
27883 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
27884
27885 else
27886
27887 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27888 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27889 { (exit 1); exit 1; }; }
27890
27891
27892 fi
27893
27894
27895 succeeded=no
27896
27897 if test -z "$PKG_CONFIG"; then
27898 # Extract the first word of "pkg-config", so it can be a program name with args.
27899 set dummy pkg-config; ac_word=$2
27900 echo "$as_me:$LINENO: checking for $ac_word" >&5
27901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27902 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27903 echo $ECHO_N "(cached) $ECHO_C" >&6
27904 else
27905 case $PKG_CONFIG in
27906 [\\/]* | ?:[\\/]*)
27907 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27908 ;;
27909 *)
27910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27911 for as_dir in $PATH
27912 do
27913 IFS=$as_save_IFS
27914 test -z "$as_dir" && as_dir=.
27915 for ac_exec_ext in '' $ac_executable_extensions; do
27916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27917 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27919 break 2
27920 fi
27921 done
27922 done
27923
27924 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27925 ;;
27926 esac
27927 fi
27928 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27929
27930 if test -n "$PKG_CONFIG"; then
27931 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27932 echo "${ECHO_T}$PKG_CONFIG" >&6
27933 else
27934 echo "$as_me:$LINENO: result: no" >&5
27935 echo "${ECHO_T}no" >&6
27936 fi
27937
27938 fi
27939
27940 if test "$PKG_CONFIG" = "no" ; then
27941 echo "*** The pkg-config script could not be found. Make sure it is"
27942 echo "*** in your path, or set the PKG_CONFIG environment variable"
27943 echo "*** to the full path to pkg-config."
27944 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27945 else
27946 PKG_CONFIG_MIN_VERSION=0.9.0
27947 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27948 echo "$as_me:$LINENO: checking for pangoft2" >&5
27949 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27950
27951 if $PKG_CONFIG --exists "pangoft2" ; then
27952 echo "$as_me:$LINENO: result: yes" >&5
27953 echo "${ECHO_T}yes" >&6
27954 succeeded=yes
27955
27956 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27957 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27958 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
27959 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27960 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27961
27962 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27963 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27964 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
27965 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27966 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27967 else
27968 PANGOFT2_CFLAGS=""
27969 PANGOFT2_LIBS=""
27970 ## If we have a custom action on failure, don't print errors, but
27971 ## do set a variable so people can do so.
27972 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27973
27974 fi
27975
27976
27977
27978 else
27979 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27980 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27981 fi
27982 fi
27983
27984 if test $succeeded = yes; then
27985
27986 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
27987 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27988
27989 else
27990
27991 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27992 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27993 wxUSE_PRINTING_ARCHITECTURE="no"
27994
27995
27996 fi
27997
27998
27999 succeeded=no
28000
28001 if test -z "$PKG_CONFIG"; then
28002 # Extract the first word of "pkg-config", so it can be a program name with args.
28003 set dummy pkg-config; ac_word=$2
28004 echo "$as_me:$LINENO: checking for $ac_word" >&5
28005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28006 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28007 echo $ECHO_N "(cached) $ECHO_C" >&6
28008 else
28009 case $PKG_CONFIG in
28010 [\\/]* | ?:[\\/]*)
28011 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28012 ;;
28013 *)
28014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28015 for as_dir in $PATH
28016 do
28017 IFS=$as_save_IFS
28018 test -z "$as_dir" && as_dir=.
28019 for ac_exec_ext in '' $ac_executable_extensions; do
28020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28021 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28023 break 2
28024 fi
28025 done
28026 done
28027
28028 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28029 ;;
28030 esac
28031 fi
28032 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28033
28034 if test -n "$PKG_CONFIG"; then
28035 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28036 echo "${ECHO_T}$PKG_CONFIG" >&6
28037 else
28038 echo "$as_me:$LINENO: result: no" >&5
28039 echo "${ECHO_T}no" >&6
28040 fi
28041
28042 fi
28043
28044 if test "$PKG_CONFIG" = "no" ; then
28045 echo "*** The pkg-config script could not be found. Make sure it is"
28046 echo "*** in your path, or set the PKG_CONFIG environment variable"
28047 echo "*** to the full path to pkg-config."
28048 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28049 else
28050 PKG_CONFIG_MIN_VERSION=0.9.0
28051 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28052 echo "$as_me:$LINENO: checking for pangoxft" >&5
28053 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
28054
28055 if $PKG_CONFIG --exists "pangoxft" ; then
28056 echo "$as_me:$LINENO: result: yes" >&5
28057 echo "${ECHO_T}yes" >&6
28058 succeeded=yes
28059
28060 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
28061 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
28062 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
28063 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
28064 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
28065
28066 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
28067 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
28068 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
28069 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
28070 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
28071 else
28072 PANGOXFT_CFLAGS=""
28073 PANGOXFT_LIBS=""
28074 ## If we have a custom action on failure, don't print errors, but
28075 ## do set a variable so people can do so.
28076 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
28077
28078 fi
28079
28080
28081
28082 else
28083 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28084 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28085 fi
28086 fi
28087
28088 if test $succeeded = yes; then
28089
28090 cat >>confdefs.h <<\_ACEOF
28091 #define HAVE_PANGO_XFT 1
28092 _ACEOF
28093
28094 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
28095 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
28096
28097 else
28098
28099 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
28100 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
28101
28102
28103 fi
28104
28105 save_CFLAGS="$CFLAGS"
28106 save_LIBS="$LIBS"
28107 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
28108 LIBS="$LIBS $PANGOX_LIBS"
28109
28110 for ac_func in pango_font_family_is_monospace
28111 do
28112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28113 echo "$as_me:$LINENO: checking for $ac_func" >&5
28114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28115 if eval "test \"\${$as_ac_var+set}\" = set"; then
28116 echo $ECHO_N "(cached) $ECHO_C" >&6
28117 else
28118 cat >conftest.$ac_ext <<_ACEOF
28119 /* confdefs.h. */
28120 _ACEOF
28121 cat confdefs.h >>conftest.$ac_ext
28122 cat >>conftest.$ac_ext <<_ACEOF
28123 /* end confdefs.h. */
28124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28126 #define $ac_func innocuous_$ac_func
28127
28128 /* System header to define __stub macros and hopefully few prototypes,
28129 which can conflict with char $ac_func (); below.
28130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28131 <limits.h> exists even on freestanding compilers. */
28132
28133 #ifdef __STDC__
28134 # include <limits.h>
28135 #else
28136 # include <assert.h>
28137 #endif
28138
28139 #undef $ac_func
28140
28141 /* Override any gcc2 internal prototype to avoid an error. */
28142 #ifdef __cplusplus
28143 extern "C"
28144 {
28145 #endif
28146 /* We use char because int might match the return type of a gcc2
28147 builtin and then its argument prototype would still apply. */
28148 char $ac_func ();
28149 /* The GNU C library defines this for functions which it implements
28150 to always fail with ENOSYS. Some functions are actually named
28151 something starting with __ and the normal name is an alias. */
28152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28153 choke me
28154 #else
28155 char (*f) () = $ac_func;
28156 #endif
28157 #ifdef __cplusplus
28158 }
28159 #endif
28160
28161 int
28162 main ()
28163 {
28164 return f != $ac_func;
28165 ;
28166 return 0;
28167 }
28168 _ACEOF
28169 rm -f conftest.$ac_objext conftest$ac_exeext
28170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28171 (eval $ac_link) 2>conftest.er1
28172 ac_status=$?
28173 grep -v '^ *+' conftest.er1 >conftest.err
28174 rm -f conftest.er1
28175 cat conftest.err >&5
28176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28177 (exit $ac_status); } &&
28178 { ac_try='test -z "$ac_c_werror_flag"
28179 || test ! -s conftest.err'
28180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28181 (eval $ac_try) 2>&5
28182 ac_status=$?
28183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28184 (exit $ac_status); }; } &&
28185 { ac_try='test -s conftest$ac_exeext'
28186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28187 (eval $ac_try) 2>&5
28188 ac_status=$?
28189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28190 (exit $ac_status); }; }; then
28191 eval "$as_ac_var=yes"
28192 else
28193 echo "$as_me: failed program was:" >&5
28194 sed 's/^/| /' conftest.$ac_ext >&5
28195
28196 eval "$as_ac_var=no"
28197 fi
28198 rm -f conftest.err conftest.$ac_objext \
28199 conftest$ac_exeext conftest.$ac_ext
28200 fi
28201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28203 if test `eval echo '${'$as_ac_var'}'` = yes; then
28204 cat >>confdefs.h <<_ACEOF
28205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28206 _ACEOF
28207
28208 fi
28209 done
28210
28211 CFLAGS="$save_CFLAGS"
28212 LIBS="$save_LIBS"
28213 fi
28214
28215 wxUSE_UNIVERSAL="yes"
28216
28217 if test "$wxUSE_NANOX" = "yes"; then
28218 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
28219 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"
28220 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
28221 else
28222 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
28223 fi
28224
28225 TOOLKIT=X11
28226 GUIDIST=X11_DIST
28227 fi
28228
28229 if test "$wxUSE_MOTIF" = 1; then
28230 if test "$wxUSE_UNICODE" = "yes"; then
28231 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28232 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28233 { (exit 1); exit 1; }; }
28234 fi
28235
28236 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28237 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28238
28239 ac_find_includes=
28240 for ac_dir in $SEARCH_INCLUDE /usr/include;
28241 do
28242 if test -f "$ac_dir/Xm/Xm.h"; then
28243 ac_find_includes=$ac_dir
28244 break
28245 fi
28246 done
28247
28248 if test "$ac_find_includes" != "" ; then
28249 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28250 echo "${ECHO_T}found in $ac_find_includes" >&6
28251
28252 if test "x$ac_find_includes" = "x/usr/include"; then
28253 ac_path_to_include=""
28254 else
28255 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
28256 result=$?
28257 if test $result = 0; then
28258 ac_path_to_include=""
28259 else
28260 ac_path_to_include=" -I$ac_find_includes"
28261 fi
28262 fi
28263
28264 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
28265 else
28266 cat >conftest.$ac_ext <<_ACEOF
28267 /* confdefs.h. */
28268 _ACEOF
28269 cat confdefs.h >>conftest.$ac_ext
28270 cat >>conftest.$ac_ext <<_ACEOF
28271 /* end confdefs.h. */
28272
28273 #include <Xm/Xm.h>
28274
28275 int
28276 main ()
28277 {
28278
28279 int version;
28280 version = xmUseVersion;
28281
28282 ;
28283 return 0;
28284 }
28285 _ACEOF
28286 rm -f conftest.$ac_objext
28287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28288 (eval $ac_compile) 2>conftest.er1
28289 ac_status=$?
28290 grep -v '^ *+' conftest.er1 >conftest.err
28291 rm -f conftest.er1
28292 cat conftest.err >&5
28293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28294 (exit $ac_status); } &&
28295 { ac_try='test -z "$ac_c_werror_flag"
28296 || test ! -s conftest.err'
28297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28298 (eval $ac_try) 2>&5
28299 ac_status=$?
28300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28301 (exit $ac_status); }; } &&
28302 { ac_try='test -s conftest.$ac_objext'
28303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28304 (eval $ac_try) 2>&5
28305 ac_status=$?
28306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307 (exit $ac_status); }; }; then
28308
28309 echo "$as_me:$LINENO: result: found in default search path" >&5
28310 echo "${ECHO_T}found in default search path" >&6
28311 COMPILED_X_PROGRAM=1
28312
28313 else
28314 echo "$as_me: failed program was:" >&5
28315 sed 's/^/| /' conftest.$ac_ext >&5
28316
28317
28318 echo "$as_me:$LINENO: result: no" >&5
28319 echo "${ECHO_T}no" >&6
28320 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
28321 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
28322 { (exit 1); exit 1; }; }
28323
28324
28325 fi
28326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28327 fi
28328
28329 if test "$COMPILED_X_PROGRAM" = 0; then
28330 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28331 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28332
28333 ac_find_libraries=
28334 for ac_dir in $SEARCH_LIB /usr/lib;
28335 do
28336 for ac_extension in a so sl dylib; do
28337 if test -f "$ac_dir/libXm.$ac_extension"; then
28338 ac_find_libraries=$ac_dir
28339 break 2
28340 fi
28341 done
28342 done
28343
28344 if test "$ac_find_libraries" != "" ; then
28345 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28346 echo "${ECHO_T}found at $ac_find_libraries" >&6
28347
28348
28349 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28350 result=$?
28351 if test $result = 0; then
28352 ac_path_to_link=""
28353 else
28354 ac_path_to_link=" -L$ac_find_libraries"
28355 fi
28356
28357 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28358 else
28359 save_CFLAGS=$CFLAGS
28360 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28361
28362 cat >conftest.$ac_ext <<_ACEOF
28363 /* confdefs.h. */
28364 _ACEOF
28365 cat confdefs.h >>conftest.$ac_ext
28366 cat >>conftest.$ac_ext <<_ACEOF
28367 /* end confdefs.h. */
28368
28369 #include <Xm/Xm.h>
28370
28371 int
28372 main ()
28373 {
28374
28375 int version;
28376 version = xmUseVersion;
28377
28378 ;
28379 return 0;
28380 }
28381 _ACEOF
28382 rm -f conftest.$ac_objext
28383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28384 (eval $ac_compile) 2>conftest.er1
28385 ac_status=$?
28386 grep -v '^ *+' conftest.er1 >conftest.err
28387 rm -f conftest.er1
28388 cat conftest.err >&5
28389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28390 (exit $ac_status); } &&
28391 { ac_try='test -z "$ac_c_werror_flag"
28392 || test ! -s conftest.err'
28393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28394 (eval $ac_try) 2>&5
28395 ac_status=$?
28396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397 (exit $ac_status); }; } &&
28398 { ac_try='test -s conftest.$ac_objext'
28399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28400 (eval $ac_try) 2>&5
28401 ac_status=$?
28402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28403 (exit $ac_status); }; }; then
28404
28405 echo "$as_me:$LINENO: result: found in default search path" >&5
28406 echo "${ECHO_T}found in default search path" >&6
28407 COMPILED_X_PROGRAM=1
28408
28409 else
28410 echo "$as_me: failed program was:" >&5
28411 sed 's/^/| /' conftest.$ac_ext >&5
28412
28413
28414 echo "$as_me:$LINENO: result: no" >&5
28415 echo "${ECHO_T}no" >&6
28416 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28417 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28418 { (exit 1); exit 1; }; }
28419
28420
28421 fi
28422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28423
28424 CFLAGS=$save_CFLAGS
28425 fi
28426 fi
28427
28428 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28429 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28430 libp_link=""
28431 libsm_ice_link=""
28432 libs_found=0
28433 for libp in "" " -lXp"; do
28434 if test "$libs_found" = "0"; then
28435 for libsm_ice in "" " -lSM -lICE"; do
28436 if test "$libs_found" = "0"; then
28437 save_LIBS="$LIBS"
28438 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28439 save_CFLAGS=$CFLAGS
28440 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28441
28442 cat >conftest.$ac_ext <<_ACEOF
28443 /* confdefs.h. */
28444 _ACEOF
28445 cat confdefs.h >>conftest.$ac_ext
28446 cat >>conftest.$ac_ext <<_ACEOF
28447 /* end confdefs.h. */
28448
28449 #include <Xm/Xm.h>
28450 #include <Xm/List.h>
28451
28452 int
28453 main ()
28454 {
28455
28456 XmString string = NULL;
28457 Widget w = NULL;
28458 int position = 0;
28459 XmListAddItem(w, string, position);
28460
28461 ;
28462 return 0;
28463 }
28464 _ACEOF
28465 rm -f conftest.$ac_objext conftest$ac_exeext
28466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28467 (eval $ac_link) 2>conftest.er1
28468 ac_status=$?
28469 grep -v '^ *+' conftest.er1 >conftest.err
28470 rm -f conftest.er1
28471 cat conftest.err >&5
28472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473 (exit $ac_status); } &&
28474 { ac_try='test -z "$ac_c_werror_flag"
28475 || test ! -s conftest.err'
28476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28477 (eval $ac_try) 2>&5
28478 ac_status=$?
28479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480 (exit $ac_status); }; } &&
28481 { ac_try='test -s conftest$ac_exeext'
28482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28483 (eval $ac_try) 2>&5
28484 ac_status=$?
28485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28486 (exit $ac_status); }; }; then
28487
28488 libp_link="$libp"
28489 libsm_ice_link="$libsm_ice"
28490 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28491 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28492 libs_found=1
28493
28494 else
28495 echo "$as_me: failed program was:" >&5
28496 sed 's/^/| /' conftest.$ac_ext >&5
28497
28498
28499
28500 fi
28501 rm -f conftest.err conftest.$ac_objext \
28502 conftest$ac_exeext conftest.$ac_ext
28503
28504 LIBS="$save_LIBS"
28505 CFLAGS=$save_CFLAGS
28506 fi
28507 done
28508 fi
28509 done
28510
28511 if test "$libs_found" = "0"; then
28512 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28513 echo "${ECHO_T}can't find the right libraries" >&6
28514 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28515 echo "$as_me: error: can't link a simple motif program" >&2;}
28516 { (exit 1); exit 1; }; }
28517 fi
28518
28519 save_CFLAGS=$CFLAGS
28520 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28521 echo "$as_me:$LINENO: checking for Motif 2" >&5
28522 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28523 cat >conftest.$ac_ext <<_ACEOF
28524 /* confdefs.h. */
28525 _ACEOF
28526 cat confdefs.h >>conftest.$ac_ext
28527 cat >>conftest.$ac_ext <<_ACEOF
28528 /* end confdefs.h. */
28529
28530 #include <Xm/Xm.h>
28531
28532 int
28533 main ()
28534 {
28535
28536 #if XmVersion < 2000
28537 #error "Not Motif 2"
28538 #endif
28539
28540 ;
28541 return 0;
28542 }
28543 _ACEOF
28544 rm -f conftest.$ac_objext
28545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28546 (eval $ac_compile) 2>conftest.er1
28547 ac_status=$?
28548 grep -v '^ *+' conftest.er1 >conftest.err
28549 rm -f conftest.er1
28550 cat conftest.err >&5
28551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28552 (exit $ac_status); } &&
28553 { ac_try='test -z "$ac_c_werror_flag"
28554 || test ! -s conftest.err'
28555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28556 (eval $ac_try) 2>&5
28557 ac_status=$?
28558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28559 (exit $ac_status); }; } &&
28560 { ac_try='test -s conftest.$ac_objext'
28561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28562 (eval $ac_try) 2>&5
28563 ac_status=$?
28564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28565 (exit $ac_status); }; }; then
28566
28567 cat >>confdefs.h <<\_ACEOF
28568 #define __WXMOTIF20__ 1
28569 _ACEOF
28570
28571 echo "$as_me:$LINENO: result: found" >&5
28572 echo "${ECHO_T}found" >&6
28573
28574 else
28575 echo "$as_me: failed program was:" >&5
28576 sed 's/^/| /' conftest.$ac_ext >&5
28577
28578
28579 cat >>confdefs.h <<\_ACEOF
28580 #define __WXMOTIF20__ 0
28581 _ACEOF
28582
28583 echo "$as_me:$LINENO: result: not found" >&5
28584 echo "${ECHO_T}not found" >&6
28585
28586 fi
28587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28588 CFLAGS=$save_CFLAGS
28589
28590 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28591 TOOLKIT=MOTIF
28592 GUIDIST=MOTIF_DIST
28593 fi
28594
28595 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28596 if test "$wxUSE_LIBXPM" = "sys"; then
28597 echo "$as_me:$LINENO: checking for Xpm library" >&5
28598 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28599
28600 ac_find_libraries=
28601 for ac_dir in $SEARCH_LIB /usr/lib;
28602 do
28603 for ac_extension in a so sl dylib; do
28604 if test -f "$ac_dir/libXpm.$ac_extension"; then
28605 ac_find_libraries=$ac_dir
28606 break 2
28607 fi
28608 done
28609 done
28610
28611 if test "$ac_find_libraries" != "" ; then
28612
28613 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28614 result=$?
28615 if test $result = 0; then
28616 ac_path_to_link=""
28617 else
28618 ac_path_to_link=" -L$ac_find_libraries"
28619 fi
28620
28621 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28622 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28623 echo "${ECHO_T}found at $ac_find_libraries" >&6
28624
28625 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28626 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28627 if test "${wx_cv_x11_xpm_h+set}" = set; then
28628 echo $ECHO_N "(cached) $ECHO_C" >&6
28629 else
28630
28631 save_CFLAGS=$CFLAGS
28632 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28633
28634 cat >conftest.$ac_ext <<_ACEOF
28635 /* confdefs.h. */
28636 _ACEOF
28637 cat confdefs.h >>conftest.$ac_ext
28638 cat >>conftest.$ac_ext <<_ACEOF
28639 /* end confdefs.h. */
28640
28641 #include <X11/xpm.h>
28642
28643 int
28644 main ()
28645 {
28646
28647 int version;
28648 version = XpmLibraryVersion();
28649
28650 ;
28651 return 0;
28652 }
28653 _ACEOF
28654 rm -f conftest.$ac_objext
28655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28656 (eval $ac_compile) 2>conftest.er1
28657 ac_status=$?
28658 grep -v '^ *+' conftest.er1 >conftest.err
28659 rm -f conftest.er1
28660 cat conftest.err >&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); } &&
28663 { ac_try='test -z "$ac_c_werror_flag"
28664 || test ! -s conftest.err'
28665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28666 (eval $ac_try) 2>&5
28667 ac_status=$?
28668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669 (exit $ac_status); }; } &&
28670 { ac_try='test -s conftest.$ac_objext'
28671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28672 (eval $ac_try) 2>&5
28673 ac_status=$?
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); }; }; then
28676 wx_cv_x11_xpm_h=yes
28677 else
28678 echo "$as_me: failed program was:" >&5
28679 sed 's/^/| /' conftest.$ac_ext >&5
28680
28681 wx_cv_x11_xpm_h=no
28682
28683 fi
28684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28685
28686 CFLAGS=$save_CFLAGS
28687
28688
28689 fi
28690 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28691 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28692
28693 if test $wx_cv_x11_xpm_h = "yes"; then
28694 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
28695 cat >>confdefs.h <<\_ACEOF
28696 #define wxHAVE_LIB_XPM 1
28697 _ACEOF
28698
28699 else
28700 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28701 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28702 fi
28703 fi
28704
28705 fi
28706
28707 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28708 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28709 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28710 echo $ECHO_N "(cached) $ECHO_C" >&6
28711 else
28712 ac_check_lib_save_LIBS=$LIBS
28713 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28714 cat >conftest.$ac_ext <<_ACEOF
28715 /* confdefs.h. */
28716 _ACEOF
28717 cat confdefs.h >>conftest.$ac_ext
28718 cat >>conftest.$ac_ext <<_ACEOF
28719 /* end confdefs.h. */
28720
28721 /* Override any gcc2 internal prototype to avoid an error. */
28722 #ifdef __cplusplus
28723 extern "C"
28724 #endif
28725 /* We use char because int might match the return type of a gcc2
28726 builtin and then its argument prototype would still apply. */
28727 char XShapeQueryExtension ();
28728 int
28729 main ()
28730 {
28731 XShapeQueryExtension ();
28732 ;
28733 return 0;
28734 }
28735 _ACEOF
28736 rm -f conftest.$ac_objext conftest$ac_exeext
28737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28738 (eval $ac_link) 2>conftest.er1
28739 ac_status=$?
28740 grep -v '^ *+' conftest.er1 >conftest.err
28741 rm -f conftest.er1
28742 cat conftest.err >&5
28743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744 (exit $ac_status); } &&
28745 { ac_try='test -z "$ac_c_werror_flag"
28746 || test ! -s conftest.err'
28747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28748 (eval $ac_try) 2>&5
28749 ac_status=$?
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); }; } &&
28752 { ac_try='test -s conftest$ac_exeext'
28753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28754 (eval $ac_try) 2>&5
28755 ac_status=$?
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); }; }; then
28758 ac_cv_lib_Xext_XShapeQueryExtension=yes
28759 else
28760 echo "$as_me: failed program was:" >&5
28761 sed 's/^/| /' conftest.$ac_ext >&5
28762
28763 ac_cv_lib_Xext_XShapeQueryExtension=no
28764 fi
28765 rm -f conftest.err conftest.$ac_objext \
28766 conftest$ac_exeext conftest.$ac_ext
28767 LIBS=$ac_check_lib_save_LIBS
28768 fi
28769 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28770 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28771 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28772
28773 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
28774 wxHAVE_XEXT_LIB=1
28775
28776 fi
28777
28778
28779 if test "$wxHAVE_XEXT_LIB" = 1; then
28780 save_CFLAGS="$CFLAGS"
28781 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28782
28783 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28784 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28785 cat >conftest.$ac_ext <<_ACEOF
28786 /* confdefs.h. */
28787 _ACEOF
28788 cat confdefs.h >>conftest.$ac_ext
28789 cat >>conftest.$ac_ext <<_ACEOF
28790 /* end confdefs.h. */
28791
28792 #include <X11/Xlib.h>
28793 #include <X11/extensions/shape.h>
28794
28795 int
28796 main ()
28797 {
28798
28799 int dummy1, dummy2;
28800 XShapeQueryExtension((Display*)NULL,
28801 (int*)NULL, (int*)NULL);
28802
28803 ;
28804 return 0;
28805 }
28806 _ACEOF
28807 rm -f conftest.$ac_objext
28808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28809 (eval $ac_compile) 2>conftest.er1
28810 ac_status=$?
28811 grep -v '^ *+' conftest.er1 >conftest.err
28812 rm -f conftest.er1
28813 cat conftest.err >&5
28814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28815 (exit $ac_status); } &&
28816 { ac_try='test -z "$ac_c_werror_flag"
28817 || test ! -s conftest.err'
28818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28819 (eval $ac_try) 2>&5
28820 ac_status=$?
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); }; } &&
28823 { ac_try='test -s conftest.$ac_objext'
28824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28825 (eval $ac_try) 2>&5
28826 ac_status=$?
28827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828 (exit $ac_status); }; }; then
28829
28830 cat >>confdefs.h <<\_ACEOF
28831 #define HAVE_XSHAPE 1
28832 _ACEOF
28833
28834 echo "$as_me:$LINENO: result: found" >&5
28835 echo "${ECHO_T}found" >&6
28836
28837 else
28838 echo "$as_me: failed program was:" >&5
28839 sed 's/^/| /' conftest.$ac_ext >&5
28840
28841
28842 echo "$as_me:$LINENO: result: not found" >&5
28843 echo "${ECHO_T}not found" >&6
28844
28845 fi
28846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28847 CFLAGS="$save_CFLAGS"
28848
28849 fi
28850 fi
28851
28852 if test "$wxUSE_MAC" = 1; then
28853 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28854 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28855 if test "$GCC" = yes; then
28856 echo "$as_me:$LINENO: result: gcc" >&5
28857 echo "${ECHO_T}gcc" >&6
28858 CPPFLAGS_PASCAL="-fpascal-strings"
28859 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28860 echo "$as_me:$LINENO: result: xlc" >&5
28861 echo "${ECHO_T}xlc" >&6
28862 CPPFLAGS_PASCAL="-qmacpstr"
28863 else
28864 echo "$as_me:$LINENO: result: none" >&5
28865 echo "${ECHO_T}none" >&6
28866 fi
28867
28868 if test "x$wxUSE_UNIX" = "xyes"; then
28869 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28870 else
28871 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28872 fi
28873
28874 TOOLKIT=MAC
28875 GUIDIST=MACX_DIST
28876 WXBASEPORT="_carbon"
28877 fi
28878
28879 if test "$wxUSE_COCOA" = 1; then
28880 TOOLKIT=COCOA
28881 GUIDIST=COCOA_DIST
28882 fi
28883
28884 if test "$wxUSE_PM" = 1; then
28885 TOOLKIT=PM
28886 GUIDIST=PM_DIST
28887 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28888 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28889 if test "${wx_cv_spbcdata+set}" = set; then
28890 echo $ECHO_N "(cached) $ECHO_C" >&6
28891 else
28892
28893 cat >conftest.$ac_ext <<_ACEOF
28894 /* confdefs.h. */
28895 _ACEOF
28896 cat confdefs.h >>conftest.$ac_ext
28897 cat >>conftest.$ac_ext <<_ACEOF
28898 /* end confdefs.h. */
28899
28900 #define INCL_PM
28901 #include <os2.h>
28902
28903 int
28904 main ()
28905 {
28906
28907 SPBCDATA test;
28908
28909 ;
28910 return 0;
28911 }
28912 _ACEOF
28913 rm -f conftest.$ac_objext
28914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28915 (eval $ac_compile) 2>conftest.er1
28916 ac_status=$?
28917 grep -v '^ *+' conftest.er1 >conftest.err
28918 rm -f conftest.er1
28919 cat conftest.err >&5
28920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921 (exit $ac_status); } &&
28922 { ac_try='test -z "$ac_c_werror_flag"
28923 || test ! -s conftest.err'
28924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28925 (eval $ac_try) 2>&5
28926 ac_status=$?
28927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28928 (exit $ac_status); }; } &&
28929 { ac_try='test -s conftest.$ac_objext'
28930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28931 (eval $ac_try) 2>&5
28932 ac_status=$?
28933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28934 (exit $ac_status); }; }; then
28935 wx_cv_spbcdata=yes
28936 else
28937 echo "$as_me: failed program was:" >&5
28938 sed 's/^/| /' conftest.$ac_ext >&5
28939
28940 wx_cv_spbcdata=no
28941
28942 fi
28943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28944
28945
28946 fi
28947 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28948 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28949
28950 if test $wx_cv_spbcdata = "yes"; then
28951 cat >>confdefs.h <<\_ACEOF
28952 #define HAVE_SPBCDATA 1
28953 _ACEOF
28954
28955 fi
28956 fi
28957
28958 if test "$TOOLKIT" = "PM" ; then
28959 TOOLKIT_DIR="os2"
28960 else
28961 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28962 fi
28963
28964 if test "$wxUSE_UNIVERSAL" = "yes"; then
28965 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28966 WIDGET_SET=univ
28967 fi
28968
28969 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28970 DISTDIR="wx\$(TOOLKIT)"
28971 else
28972 USE_GUI=0
28973
28974 TOOLKIT_DIR="base"
28975
28976 if test "$USE_WIN32" = 1 ; then
28977 TOOLKIT="MSW"
28978 fi
28979
28980 GUIDIST="BASE_DIST"
28981 DISTDIR="wxBase"
28982 fi
28983
28984
28985
28986
28987 IODBC_C_SRC=""
28988
28989
28990 if test "$TOOLKIT" != "MSW" ; then
28991
28992 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28993
28994 if test "${ac_cv_header_sql_h+set}" = set; then
28995 echo "$as_me:$LINENO: checking for sql.h" >&5
28996 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28997 if test "${ac_cv_header_sql_h+set}" = set; then
28998 echo $ECHO_N "(cached) $ECHO_C" >&6
28999 fi
29000 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29001 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29002 else
29003 # Is the header compilable?
29004 echo "$as_me:$LINENO: checking sql.h usability" >&5
29005 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
29006 cat >conftest.$ac_ext <<_ACEOF
29007 /* confdefs.h. */
29008 _ACEOF
29009 cat confdefs.h >>conftest.$ac_ext
29010 cat >>conftest.$ac_ext <<_ACEOF
29011 /* end confdefs.h. */
29012 $ac_includes_default
29013 #include <sql.h>
29014 _ACEOF
29015 rm -f conftest.$ac_objext
29016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29017 (eval $ac_compile) 2>conftest.er1
29018 ac_status=$?
29019 grep -v '^ *+' conftest.er1 >conftest.err
29020 rm -f conftest.er1
29021 cat conftest.err >&5
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); } &&
29024 { ac_try='test -z "$ac_c_werror_flag"
29025 || test ! -s conftest.err'
29026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29027 (eval $ac_try) 2>&5
29028 ac_status=$?
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); }; } &&
29031 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
29037 ac_header_compiler=yes
29038 else
29039 echo "$as_me: failed program was:" >&5
29040 sed 's/^/| /' conftest.$ac_ext >&5
29041
29042 ac_header_compiler=no
29043 fi
29044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29046 echo "${ECHO_T}$ac_header_compiler" >&6
29047
29048 # Is the header present?
29049 echo "$as_me:$LINENO: checking sql.h presence" >&5
29050 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
29051 cat >conftest.$ac_ext <<_ACEOF
29052 /* confdefs.h. */
29053 _ACEOF
29054 cat confdefs.h >>conftest.$ac_ext
29055 cat >>conftest.$ac_ext <<_ACEOF
29056 /* end confdefs.h. */
29057 #include <sql.h>
29058 _ACEOF
29059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29061 ac_status=$?
29062 grep -v '^ *+' conftest.er1 >conftest.err
29063 rm -f conftest.er1
29064 cat conftest.err >&5
29065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29066 (exit $ac_status); } >/dev/null; then
29067 if test -s conftest.err; then
29068 ac_cpp_err=$ac_c_preproc_warn_flag
29069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29070 else
29071 ac_cpp_err=
29072 fi
29073 else
29074 ac_cpp_err=yes
29075 fi
29076 if test -z "$ac_cpp_err"; then
29077 ac_header_preproc=yes
29078 else
29079 echo "$as_me: failed program was:" >&5
29080 sed 's/^/| /' conftest.$ac_ext >&5
29081
29082 ac_header_preproc=no
29083 fi
29084 rm -f conftest.err conftest.$ac_ext
29085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29086 echo "${ECHO_T}$ac_header_preproc" >&6
29087
29088 # So? What about this header?
29089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29090 yes:no: )
29091 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
29092 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29093 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
29094 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
29095 ac_header_preproc=yes
29096 ;;
29097 no:yes:* )
29098 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
29099 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
29100 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
29101 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
29102 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
29103 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
29104 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
29105 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
29106 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
29107 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
29108 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
29109 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
29110 (
29111 cat <<\_ASBOX
29112 ## ----------------------------------------- ##
29113 ## Report this to wx-dev@lists.wxwidgets.org ##
29114 ## ----------------------------------------- ##
29115 _ASBOX
29116 ) |
29117 sed "s/^/$as_me: WARNING: /" >&2
29118 ;;
29119 esac
29120 echo "$as_me:$LINENO: checking for sql.h" >&5
29121 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
29122 if test "${ac_cv_header_sql_h+set}" = set; then
29123 echo $ECHO_N "(cached) $ECHO_C" >&6
29124 else
29125 ac_cv_header_sql_h=$ac_header_preproc
29126 fi
29127 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29128 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29129
29130 fi
29131 if test $ac_cv_header_sql_h = yes; then
29132 found_sql_h=1
29133 fi
29134
29135
29136 if test "x$found_sql_h" = "x1" ; then
29137 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
29138 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
29139 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
29140 echo $ECHO_N "(cached) $ECHO_C" >&6
29141 else
29142 ac_check_lib_save_LIBS=$LIBS
29143 LIBS="-liodbc $LIBS"
29144 cat >conftest.$ac_ext <<_ACEOF
29145 /* confdefs.h. */
29146 _ACEOF
29147 cat confdefs.h >>conftest.$ac_ext
29148 cat >>conftest.$ac_ext <<_ACEOF
29149 /* end confdefs.h. */
29150
29151 /* Override any gcc2 internal prototype to avoid an error. */
29152 #ifdef __cplusplus
29153 extern "C"
29154 #endif
29155 /* We use char because int might match the return type of a gcc2
29156 builtin and then its argument prototype would still apply. */
29157 char SQLAllocEnv ();
29158 int
29159 main ()
29160 {
29161 SQLAllocEnv ();
29162 ;
29163 return 0;
29164 }
29165 _ACEOF
29166 rm -f conftest.$ac_objext conftest$ac_exeext
29167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29168 (eval $ac_link) 2>conftest.er1
29169 ac_status=$?
29170 grep -v '^ *+' conftest.er1 >conftest.err
29171 rm -f conftest.er1
29172 cat conftest.err >&5
29173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29174 (exit $ac_status); } &&
29175 { ac_try='test -z "$ac_c_werror_flag"
29176 || test ! -s conftest.err'
29177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29178 (eval $ac_try) 2>&5
29179 ac_status=$?
29180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29181 (exit $ac_status); }; } &&
29182 { ac_try='test -s conftest$ac_exeext'
29183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29184 (eval $ac_try) 2>&5
29185 ac_status=$?
29186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29187 (exit $ac_status); }; }; then
29188 ac_cv_lib_iodbc_SQLAllocEnv=yes
29189 else
29190 echo "$as_me: failed program was:" >&5
29191 sed 's/^/| /' conftest.$ac_ext >&5
29192
29193 ac_cv_lib_iodbc_SQLAllocEnv=no
29194 fi
29195 rm -f conftest.err conftest.$ac_objext \
29196 conftest$ac_exeext conftest.$ac_ext
29197 LIBS=$ac_check_lib_save_LIBS
29198 fi
29199 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29200 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29201 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29202 ODBC_LINK=" -liodbc"
29203 else
29204
29205 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29206 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29207 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29208 echo $ECHO_N "(cached) $ECHO_C" >&6
29209 else
29210 ac_check_lib_save_LIBS=$LIBS
29211 LIBS="-lunixodbc $LIBS"
29212 cat >conftest.$ac_ext <<_ACEOF
29213 /* confdefs.h. */
29214 _ACEOF
29215 cat confdefs.h >>conftest.$ac_ext
29216 cat >>conftest.$ac_ext <<_ACEOF
29217 /* end confdefs.h. */
29218
29219 /* Override any gcc2 internal prototype to avoid an error. */
29220 #ifdef __cplusplus
29221 extern "C"
29222 #endif
29223 /* We use char because int might match the return type of a gcc2
29224 builtin and then its argument prototype would still apply. */
29225 char SQLAllocEnv ();
29226 int
29227 main ()
29228 {
29229 SQLAllocEnv ();
29230 ;
29231 return 0;
29232 }
29233 _ACEOF
29234 rm -f conftest.$ac_objext conftest$ac_exeext
29235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29236 (eval $ac_link) 2>conftest.er1
29237 ac_status=$?
29238 grep -v '^ *+' conftest.er1 >conftest.err
29239 rm -f conftest.er1
29240 cat conftest.err >&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } &&
29243 { ac_try='test -z "$ac_c_werror_flag"
29244 || test ! -s conftest.err'
29245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29246 (eval $ac_try) 2>&5
29247 ac_status=$?
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); }; } &&
29250 { ac_try='test -s conftest$ac_exeext'
29251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29252 (eval $ac_try) 2>&5
29253 ac_status=$?
29254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255 (exit $ac_status); }; }; then
29256 ac_cv_lib_unixodbc_SQLAllocEnv=yes
29257 else
29258 echo "$as_me: failed program was:" >&5
29259 sed 's/^/| /' conftest.$ac_ext >&5
29260
29261 ac_cv_lib_unixodbc_SQLAllocEnv=no
29262 fi
29263 rm -f conftest.err conftest.$ac_objext \
29264 conftest$ac_exeext conftest.$ac_ext
29265 LIBS=$ac_check_lib_save_LIBS
29266 fi
29267 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29268 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29269 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29270 ODBC_LINK=" -lunixodbc"
29271 else
29272
29273 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29274 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29275 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29276 echo $ECHO_N "(cached) $ECHO_C" >&6
29277 else
29278 ac_check_lib_save_LIBS=$LIBS
29279 LIBS="-lodbc $LIBS"
29280 cat >conftest.$ac_ext <<_ACEOF
29281 /* confdefs.h. */
29282 _ACEOF
29283 cat confdefs.h >>conftest.$ac_ext
29284 cat >>conftest.$ac_ext <<_ACEOF
29285 /* end confdefs.h. */
29286
29287 /* Override any gcc2 internal prototype to avoid an error. */
29288 #ifdef __cplusplus
29289 extern "C"
29290 #endif
29291 /* We use char because int might match the return type of a gcc2
29292 builtin and then its argument prototype would still apply. */
29293 char SQLAllocEnv ();
29294 int
29295 main ()
29296 {
29297 SQLAllocEnv ();
29298 ;
29299 return 0;
29300 }
29301 _ACEOF
29302 rm -f conftest.$ac_objext conftest$ac_exeext
29303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29304 (eval $ac_link) 2>conftest.er1
29305 ac_status=$?
29306 grep -v '^ *+' conftest.er1 >conftest.err
29307 rm -f conftest.er1
29308 cat conftest.err >&5
29309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310 (exit $ac_status); } &&
29311 { ac_try='test -z "$ac_c_werror_flag"
29312 || test ! -s conftest.err'
29313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29314 (eval $ac_try) 2>&5
29315 ac_status=$?
29316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317 (exit $ac_status); }; } &&
29318 { ac_try='test -s conftest$ac_exeext'
29319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29320 (eval $ac_try) 2>&5
29321 ac_status=$?
29322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29323 (exit $ac_status); }; }; then
29324 ac_cv_lib_odbc_SQLAllocEnv=yes
29325 else
29326 echo "$as_me: failed program was:" >&5
29327 sed 's/^/| /' conftest.$ac_ext >&5
29328
29329 ac_cv_lib_odbc_SQLAllocEnv=no
29330 fi
29331 rm -f conftest.err conftest.$ac_objext \
29332 conftest$ac_exeext conftest.$ac_ext
29333 LIBS=$ac_check_lib_save_LIBS
29334 fi
29335 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29336 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29337 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29338 ODBC_LINK=" -lodbc"
29339 fi
29340
29341
29342 fi
29343
29344
29345 fi
29346
29347 fi
29348 if test "x$ODBC_LINK" = "x" ; then
29349 if test "$wxUSE_ODBC" = "sys" ; then
29350 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29351 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29352 { (exit 1); exit 1; }; }
29353 else
29354 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29355 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29356 wxUSE_ODBC=builtin
29357 fi
29358 else
29359 wxUSE_ODBC=sys
29360 fi
29361 fi
29362
29363 if test "$wxUSE_ODBC" = "builtin" ; then
29364 cat >>confdefs.h <<\_ACEOF
29365 #define wxUSE_BUILTIN_IODBC 1
29366 _ACEOF
29367
29368 fi
29369 fi
29370
29371 if test "$wxUSE_ODBC" != "no" ; then
29372 cat >>confdefs.h <<\_ACEOF
29373 #define wxUSE_ODBC 1
29374 _ACEOF
29375
29376 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
29377
29378 WXODBCFLAG="-D_IODBC_"
29379 fi
29380
29381
29382 if test "$wxUSE_DISPLAY" = "yes"; then
29383 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29384 echo "$as_me:$LINENO: checking for Xinerama" >&5
29385 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29386
29387 ac_find_libraries=
29388 for ac_dir in $SEARCH_LIB /usr/lib;
29389 do
29390 for ac_extension in a so sl dylib; do
29391 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29392 ac_find_libraries=$ac_dir
29393 break 2
29394 fi
29395 done
29396 done
29397
29398 if test "$ac_find_libraries" != "" ; then
29399
29400 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29401 result=$?
29402 if test $result = 0; then
29403 ac_path_to_link=""
29404 else
29405 ac_path_to_link=" -L$ac_find_libraries"
29406 fi
29407
29408 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29409 LDFLAGS="$LDFLAGS $ac_path_to_link"
29410 fi
29411 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
29412 echo "$as_me:$LINENO: result: yes" >&5
29413 echo "${ECHO_T}yes" >&6
29414
29415 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29416 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29417
29418 ac_find_libraries=
29419 for ac_dir in $SEARCH_LIB /usr/lib;
29420 do
29421 for ac_extension in a so sl dylib; do
29422 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29423 ac_find_libraries=$ac_dir
29424 break 2
29425 fi
29426 done
29427 done
29428
29429 if test "$ac_find_libraries" != "" ; then
29430 echo "$as_me:$LINENO: result: yes" >&5
29431 echo "${ECHO_T}yes" >&6
29432
29433 for ac_header in X11/extensions/xf86vmode.h
29434 do
29435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29436 echo "$as_me:$LINENO: checking for $ac_header" >&5
29437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29439 echo $ECHO_N "(cached) $ECHO_C" >&6
29440 else
29441 cat >conftest.$ac_ext <<_ACEOF
29442 /* confdefs.h. */
29443 _ACEOF
29444 cat confdefs.h >>conftest.$ac_ext
29445 cat >>conftest.$ac_ext <<_ACEOF
29446 /* end confdefs.h. */
29447
29448 #if HAVE_X11_XLIB_H
29449 #include <X11/Xlib.h>
29450 #endif
29451
29452
29453 #include <$ac_header>
29454 _ACEOF
29455 rm -f conftest.$ac_objext
29456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29457 (eval $ac_compile) 2>conftest.er1
29458 ac_status=$?
29459 grep -v '^ *+' conftest.er1 >conftest.err
29460 rm -f conftest.er1
29461 cat conftest.err >&5
29462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29463 (exit $ac_status); } &&
29464 { ac_try='test -z "$ac_c_werror_flag"
29465 || test ! -s conftest.err'
29466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29467 (eval $ac_try) 2>&5
29468 ac_status=$?
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); }; } &&
29471 { ac_try='test -s conftest.$ac_objext'
29472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29473 (eval $ac_try) 2>&5
29474 ac_status=$?
29475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29476 (exit $ac_status); }; }; then
29477 eval "$as_ac_Header=yes"
29478 else
29479 echo "$as_me: failed program was:" >&5
29480 sed 's/^/| /' conftest.$ac_ext >&5
29481
29482 eval "$as_ac_Header=no"
29483 fi
29484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29485 fi
29486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29489 cat >>confdefs.h <<_ACEOF
29490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29491 _ACEOF
29492
29493 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
29494
29495 fi
29496
29497 done
29498
29499 else
29500 echo "$as_me:$LINENO: result: no" >&5
29501 echo "${ECHO_T}no" >&6
29502 fi
29503
29504 else
29505 echo "$as_me:$LINENO: result: no" >&5
29506 echo "${ECHO_T}no" >&6
29507 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29508 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29509 wxUSE_DISPLAY="no"
29510 fi
29511 elif test "$wxUSE_MSW" = 1; then
29512
29513
29514 for ac_header in multimon.h ddraw.h
29515 do
29516 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29517 echo "$as_me:$LINENO: checking for $ac_header" >&5
29518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29520 echo $ECHO_N "(cached) $ECHO_C" >&6
29521 else
29522 cat >conftest.$ac_ext <<_ACEOF
29523 /* confdefs.h. */
29524 _ACEOF
29525 cat confdefs.h >>conftest.$ac_ext
29526 cat >>conftest.$ac_ext <<_ACEOF
29527 /* end confdefs.h. */
29528 #include <windows.h>
29529
29530 #include <$ac_header>
29531 _ACEOF
29532 rm -f conftest.$ac_objext
29533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29534 (eval $ac_compile) 2>conftest.er1
29535 ac_status=$?
29536 grep -v '^ *+' conftest.er1 >conftest.err
29537 rm -f conftest.er1
29538 cat conftest.err >&5
29539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29540 (exit $ac_status); } &&
29541 { ac_try='test -z "$ac_c_werror_flag"
29542 || test ! -s conftest.err'
29543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29544 (eval $ac_try) 2>&5
29545 ac_status=$?
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); }; } &&
29548 { ac_try='test -s conftest.$ac_objext'
29549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29550 (eval $ac_try) 2>&5
29551 ac_status=$?
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); }; }; then
29554 eval "$as_ac_Header=yes"
29555 else
29556 echo "$as_me: failed program was:" >&5
29557 sed 's/^/| /' conftest.$ac_ext >&5
29558
29559 eval "$as_ac_Header=no"
29560 fi
29561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29562 fi
29563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29566 cat >>confdefs.h <<_ACEOF
29567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29568 _ACEOF
29569
29570 else
29571
29572 wxUSE_DISPLAY="no"
29573 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29574 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29575
29576 fi
29577
29578 done
29579
29580 fi
29581 fi
29582
29583
29584 USE_OPENGL=0
29585 if test "$wxUSE_OPENGL" = "yes"; then
29586 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29587 OPENGL_LIBS="-framework OpenGL -framework AGL"
29588 elif test "$wxUSE_MSW" = 1; then
29589 OPENGL_LIBS="-lopengl32 -lglu32"
29590 else
29591
29592
29593 ac_find_includes=
29594 for ac_dir in $SEARCH_INCLUDE /usr/include;
29595 do
29596 if test -f "$ac_dir/GL/gl.h"; then
29597 ac_find_includes=$ac_dir
29598 break
29599 fi
29600 done
29601
29602 if test "$ac_find_includes" != "" ; then
29603 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29604 echo "${ECHO_T}found in $ac_find_includes" >&6
29605
29606 if test "x$ac_find_includes" = "x/usr/include"; then
29607 ac_path_to_include=""
29608 else
29609 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
29610 result=$?
29611 if test $result = 0; then
29612 ac_path_to_include=""
29613 else
29614 ac_path_to_include=" -I$ac_find_includes"
29615 fi
29616 fi
29617
29618 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
29619 fi
29620
29621 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29622 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29623 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29624 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29625 echo $ECHO_N "(cached) $ECHO_C" >&6
29626 fi
29627 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29628 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29629 else
29630 # Is the header compilable?
29631 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29632 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29633 cat >conftest.$ac_ext <<_ACEOF
29634 /* confdefs.h. */
29635 _ACEOF
29636 cat confdefs.h >>conftest.$ac_ext
29637 cat >>conftest.$ac_ext <<_ACEOF
29638 /* end confdefs.h. */
29639 $ac_includes_default
29640 #include <GL/gl.h>
29641 _ACEOF
29642 rm -f conftest.$ac_objext
29643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29644 (eval $ac_compile) 2>conftest.er1
29645 ac_status=$?
29646 grep -v '^ *+' conftest.er1 >conftest.err
29647 rm -f conftest.er1
29648 cat conftest.err >&5
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); } &&
29651 { ac_try='test -z "$ac_c_werror_flag"
29652 || test ! -s conftest.err'
29653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29654 (eval $ac_try) 2>&5
29655 ac_status=$?
29656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29657 (exit $ac_status); }; } &&
29658 { ac_try='test -s conftest.$ac_objext'
29659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29660 (eval $ac_try) 2>&5
29661 ac_status=$?
29662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663 (exit $ac_status); }; }; then
29664 ac_header_compiler=yes
29665 else
29666 echo "$as_me: failed program was:" >&5
29667 sed 's/^/| /' conftest.$ac_ext >&5
29668
29669 ac_header_compiler=no
29670 fi
29671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29673 echo "${ECHO_T}$ac_header_compiler" >&6
29674
29675 # Is the header present?
29676 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29677 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29678 cat >conftest.$ac_ext <<_ACEOF
29679 /* confdefs.h. */
29680 _ACEOF
29681 cat confdefs.h >>conftest.$ac_ext
29682 cat >>conftest.$ac_ext <<_ACEOF
29683 /* end confdefs.h. */
29684 #include <GL/gl.h>
29685 _ACEOF
29686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29687 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29688 ac_status=$?
29689 grep -v '^ *+' conftest.er1 >conftest.err
29690 rm -f conftest.er1
29691 cat conftest.err >&5
29692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29693 (exit $ac_status); } >/dev/null; then
29694 if test -s conftest.err; then
29695 ac_cpp_err=$ac_c_preproc_warn_flag
29696 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29697 else
29698 ac_cpp_err=
29699 fi
29700 else
29701 ac_cpp_err=yes
29702 fi
29703 if test -z "$ac_cpp_err"; then
29704 ac_header_preproc=yes
29705 else
29706 echo "$as_me: failed program was:" >&5
29707 sed 's/^/| /' conftest.$ac_ext >&5
29708
29709 ac_header_preproc=no
29710 fi
29711 rm -f conftest.err conftest.$ac_ext
29712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29713 echo "${ECHO_T}$ac_header_preproc" >&6
29714
29715 # So? What about this header?
29716 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29717 yes:no: )
29718 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29719 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29720 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29721 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29722 ac_header_preproc=yes
29723 ;;
29724 no:yes:* )
29725 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29726 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29727 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29728 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29729 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29730 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29731 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29732 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29733 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29734 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29735 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29736 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29737 (
29738 cat <<\_ASBOX
29739 ## ----------------------------------------- ##
29740 ## Report this to wx-dev@lists.wxwidgets.org ##
29741 ## ----------------------------------------- ##
29742 _ASBOX
29743 ) |
29744 sed "s/^/$as_me: WARNING: /" >&2
29745 ;;
29746 esac
29747 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29748 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29749 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29750 echo $ECHO_N "(cached) $ECHO_C" >&6
29751 else
29752 ac_cv_header_GL_gl_h=$ac_header_preproc
29753 fi
29754 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29755 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29756
29757 fi
29758 if test $ac_cv_header_GL_gl_h = yes; then
29759
29760 found_gl=0
29761
29762 echo "$as_me:$LINENO: checking for -lGL" >&5
29763 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29764
29765 ac_find_libraries=
29766 for ac_dir in $SEARCH_LIB /usr/lib;
29767 do
29768 for ac_extension in a so sl dylib; do
29769 if test -f "$ac_dir/libGL.$ac_extension"; then
29770 ac_find_libraries=$ac_dir
29771 break 2
29772 fi
29773 done
29774 done
29775
29776 if test "$ac_find_libraries" != "" ; then
29777 echo "$as_me:$LINENO: result: yes" >&5
29778 echo "${ECHO_T}yes" >&6
29779
29780
29781 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29782 result=$?
29783 if test $result = 0; then
29784 ac_path_to_link=""
29785 else
29786 ac_path_to_link=" -L$ac_find_libraries"
29787 fi
29788
29789 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29790 LDFLAGS_GL="$ac_path_to_link"
29791 fi
29792
29793 echo "$as_me:$LINENO: checking for -lGLU" >&5
29794 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29795
29796 ac_find_libraries=
29797 for ac_dir in $SEARCH_LIB /usr/lib;
29798 do
29799 for ac_extension in a so sl dylib; do
29800 if test -f "$ac_dir/libGLU.$ac_extension"; then
29801 ac_find_libraries=$ac_dir
29802 break 2
29803 fi
29804 done
29805 done
29806
29807 if test "$ac_find_libraries" != "" ; then
29808
29809 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29810 result=$?
29811 if test $result = 0; then
29812 ac_path_to_link=""
29813 else
29814 ac_path_to_link=" -L$ac_find_libraries"
29815 fi
29816
29817 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29818 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29819 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
29820 fi
29821
29822 found_gl=1
29823 OPENGL_LIBS="-lGL -lGLU"
29824 echo "$as_me:$LINENO: result: yes" >&5
29825 echo "${ECHO_T}yes" >&6
29826 else
29827 echo "$as_me:$LINENO: result: no" >&5
29828 echo "${ECHO_T}no" >&6
29829 fi
29830 else
29831 echo "$as_me:$LINENO: result: no" >&5
29832 echo "${ECHO_T}no" >&6
29833 fi
29834
29835 if test "$found_gl" != 1; then
29836 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29837 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29838
29839 ac_find_libraries=
29840 for ac_dir in $SEARCH_LIB /usr/lib;
29841 do
29842 for ac_extension in a so sl dylib; do
29843 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29844 ac_find_libraries=$ac_dir
29845 break 2
29846 fi
29847 done
29848 done
29849
29850 if test "$ac_find_libraries" != "" ; then
29851
29852 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29853 result=$?
29854 if test $result = 0; then
29855 ac_path_to_link=""
29856 else
29857 ac_path_to_link=" -L$ac_find_libraries"
29858 fi
29859
29860 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
29861 OPENGL_LIBS="-lMesaGL -lMesaGLU"
29862 echo "$as_me:$LINENO: result: yes" >&5
29863 echo "${ECHO_T}yes" >&6
29864 else
29865 echo "$as_me:$LINENO: result: no" >&5
29866 echo "${ECHO_T}no" >&6
29867 fi
29868 fi
29869
29870 fi
29871
29872
29873
29874 if test "x$OPENGL_LIBS" = "x"; then
29875 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29876 echo "$as_me: error: OpenGL libraries not available" >&2;}
29877 { (exit 1); exit 1; }; }
29878 fi
29879 fi
29880
29881 if test "$wxUSE_OPENGL" = "yes"; then
29882 USE_OPENGL=1
29883 cat >>confdefs.h <<\_ACEOF
29884 #define wxUSE_OPENGL 1
29885 _ACEOF
29886
29887 cat >>confdefs.h <<\_ACEOF
29888 #define wxUSE_GLCANVAS 1
29889 _ACEOF
29890
29891 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29892 fi
29893 fi
29894
29895
29896 if test -n "$TOOLKIT" ; then
29897 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29898 fi
29899
29900
29901
29902 if test "$wxUSE_SHARED" = "yes"; then
29903 case "${host}" in
29904 *-pc-msdosdjgpp )
29905 wxUSE_SHARED=no
29906 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29907 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29908 ;;
29909 esac
29910 fi
29911
29912 if test "$wxUSE_SHARED" = "yes"; then
29913
29914
29915 found_versioning=no
29916
29917
29918 if test $found_versioning = no ; then
29919 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29920 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29921 if test "${wx_cv_version_script+set}" = set; then
29922 echo $ECHO_N "(cached) $ECHO_C" >&6
29923 else
29924
29925 echo "VER_1 { *; };" >conftest.sym
29926 echo "int main() { return 0; }" >conftest.cpp
29927
29928 if { ac_try='
29929 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29930 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29932 (eval $ac_try) 2>&5
29933 ac_status=$?
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); }; } ; then
29936 if test -s conftest.stderr ; then
29937 wx_cv_version_script=no
29938 else
29939 wx_cv_version_script=yes
29940 fi
29941 else
29942 wx_cv_version_script=no
29943 fi
29944
29945 if test $wx_cv_version_script = yes
29946 then
29947 echo "struct B { virtual ~B() { } }; \
29948 struct D : public B { }; \
29949 void F() { D d; }" > conftest.cpp
29950
29951 if { ac_try='
29952 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29953 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29955 (eval $ac_try) 2>&5
29956 ac_status=$?
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); }; } &&
29959 { ac_try='
29960 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29961 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29963 (eval $ac_try) 2>&5
29964 ac_status=$?
29965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); }; }
29967 then
29968 if { ac_try='
29969 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29970 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29972 (eval $ac_try) 2>&5
29973 ac_status=$?
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); }; }
29976 then
29977 wx_cv_version_script=yes
29978 else
29979 wx_cv_version_script=no
29980 fi
29981 fi
29982 fi
29983
29984 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29985 rm -f conftest1.output conftest2.output conftest3.output
29986
29987 fi
29988 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29989 echo "${ECHO_T}$wx_cv_version_script" >&6
29990 if test $wx_cv_version_script = yes ; then
29991 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
29992 fi
29993 fi
29994
29995
29996 case "${host}" in
29997 *-*-linux* | *-*-gnu* )
29998 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29999 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
30000 ;;
30001
30002 *-*-solaris2* )
30003 if test "$GCC" = yes ; then
30004 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
30005
30006 saveLdflags="$LDFLAGS"
30007 LDFLAGS="$saveLdflags -Wl,-rpath,/"
30008 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
30009 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
30010 cat >conftest.$ac_ext <<_ACEOF
30011 /* confdefs.h. */
30012 _ACEOF
30013 cat confdefs.h >>conftest.$ac_ext
30014 cat >>conftest.$ac_ext <<_ACEOF
30015 /* end confdefs.h. */
30016
30017 int
30018 main ()
30019 {
30020
30021 ;
30022 return 0;
30023 }
30024 _ACEOF
30025 rm -f conftest.$ac_objext conftest$ac_exeext
30026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30027 (eval $ac_link) 2>conftest.er1
30028 ac_status=$?
30029 grep -v '^ *+' conftest.er1 >conftest.err
30030 rm -f conftest.er1
30031 cat conftest.err >&5
30032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30033 (exit $ac_status); } &&
30034 { ac_try='test -z "$ac_c_werror_flag"
30035 || test ! -s conftest.err'
30036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30037 (eval $ac_try) 2>&5
30038 ac_status=$?
30039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30040 (exit $ac_status); }; } &&
30041 { ac_try='test -s conftest$ac_exeext'
30042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30043 (eval $ac_try) 2>&5
30044 ac_status=$?
30045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30046 (exit $ac_status); }; }; then
30047
30048 echo "$as_me:$LINENO: result: yes" >&5
30049 echo "${ECHO_T}yes" >&6
30050 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
30051 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
30052
30053 else
30054 echo "$as_me: failed program was:" >&5
30055 sed 's/^/| /' conftest.$ac_ext >&5
30056
30057
30058 echo "$as_me:$LINENO: result: no" >&5
30059 echo "${ECHO_T}no" >&6
30060 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
30061 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
30062 LDFLAGS="$saveLdflags -Wl,-R,/"
30063 cat >conftest.$ac_ext <<_ACEOF
30064 /* confdefs.h. */
30065 _ACEOF
30066 cat confdefs.h >>conftest.$ac_ext
30067 cat >>conftest.$ac_ext <<_ACEOF
30068 /* end confdefs.h. */
30069
30070 int
30071 main ()
30072 {
30073
30074 ;
30075 return 0;
30076 }
30077 _ACEOF
30078 rm -f conftest.$ac_objext conftest$ac_exeext
30079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30080 (eval $ac_link) 2>conftest.er1
30081 ac_status=$?
30082 grep -v '^ *+' conftest.er1 >conftest.err
30083 rm -f conftest.er1
30084 cat conftest.err >&5
30085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30086 (exit $ac_status); } &&
30087 { ac_try='test -z "$ac_c_werror_flag"
30088 || test ! -s conftest.err'
30089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30090 (eval $ac_try) 2>&5
30091 ac_status=$?
30092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30093 (exit $ac_status); }; } &&
30094 { ac_try='test -s conftest$ac_exeext'
30095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30096 (eval $ac_try) 2>&5
30097 ac_status=$?
30098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30099 (exit $ac_status); }; }; then
30100
30101 echo "$as_me:$LINENO: result: yes" >&5
30102 echo "${ECHO_T}yes" >&6
30103 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
30104 WXCONFIG_RPATH="-Wl,-R,\$libdir"
30105
30106 else
30107 echo "$as_me: failed program was:" >&5
30108 sed 's/^/| /' conftest.$ac_ext >&5
30109
30110
30111 echo "$as_me:$LINENO: result: no" >&5
30112 echo "${ECHO_T}no" >&6
30113
30114 fi
30115 rm -f conftest.err conftest.$ac_objext \
30116 conftest$ac_exeext conftest.$ac_ext
30117
30118 fi
30119 rm -f conftest.err conftest.$ac_objext \
30120 conftest$ac_exeext conftest.$ac_ext
30121 LDFLAGS="$saveLdflags"
30122 else
30123 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
30124 WXCONFIG_RPATH="-R\$libdir"
30125 fi
30126 ;;
30127
30128 powerpc-*-darwin* )
30129 install_name_tool=`which install_name_tool`
30130 if test "$install_name_tool" -a -x "$install_name_tool"; then
30131 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
30132 cat <<EOF >change-install-names
30133 #!/bin/sh
30134 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
30135 inst_cmd="install_name_tool "
30136 for i in \${libnames} ; do
30137 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
30138 done
30139 \${inst_cmd} \${3}
30140 EOF
30141 chmod +x change-install-names
30142 fi
30143 ;;
30144
30145 *-*-cygwin* | *-*-mingw32* )
30146 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
30147 ;;
30148
30149 *-*-hpux* )
30150 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
30151 WXCONFIG_RPATH="-Wl,+b,\$libdir"
30152 ;;
30153
30154 esac
30155
30156 if test $wxUSE_RPATH = "no"; then
30157 SAMPLES_RPATH_FLAG=''
30158 SAMPLES_RPATH_POSTLINK=''
30159 WXCONFIG_RPATH=''
30160 fi
30161
30162 SHARED=1
30163
30164 else
30165
30166 config_linkage_component="-static"
30167 SHARED=0
30168
30169 fi
30170
30171
30172 UNICODE=0
30173 lib_unicode_suffix=
30174 WX_CHARTYPE="ansi"
30175 if test "$wxUSE_UNICODE" = "yes"; then
30176 lib_unicode_suffix=u
30177 WX_CHARTYPE="unicode"
30178 UNICODE=1
30179 fi
30180
30181 lib_debug_suffix=
30182 WX_DEBUGTYPE="release"
30183 DEBUG_FLAG=0
30184 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
30185 lib_debug_suffix=d
30186 WX_DEBUGTYPE="debug"
30187 DEBUG_FLAG=1
30188 fi
30189
30190 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
30191 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
30192
30193 DEBUG_INFO=0
30194 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30195 DEBUG_INFO=1
30196 fi
30197
30198 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30199
30200 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30201
30202 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30203
30204 if test "$cross_compiling" = "yes"; then
30205 HOST_SUFFIX="-$host_alias"
30206 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
30207 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
30208 fi
30209
30210 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30211 if test "${TOOLKIT_DIR}" = "os2"; then
30212 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30213 else
30214 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30215 fi
30216
30217
30218
30219 if test "$wxUSE_COCOA" = 1; then
30220
30221
30222 ac_ext=c
30223 ac_cpp='$CPP $CPPFLAGS'
30224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30227
30228 ac_ext=m
30229
30230 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30231 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30232 cat >conftest.$ac_ext <<_ACEOF
30233 /* confdefs.h. */
30234 _ACEOF
30235 cat confdefs.h >>conftest.$ac_ext
30236 cat >>conftest.$ac_ext <<_ACEOF
30237 /* end confdefs.h. */
30238 #include <AppKit/NSEvent.h>
30239 #include <CoreFoundation/CoreFoundation.h>
30240
30241 int
30242 main ()
30243 {
30244
30245 ;
30246 return 0;
30247 }
30248 _ACEOF
30249 rm -f conftest.$ac_objext
30250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30251 (eval $ac_compile) 2>conftest.er1
30252 ac_status=$?
30253 grep -v '^ *+' conftest.er1 >conftest.err
30254 rm -f conftest.er1
30255 cat conftest.err >&5
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); } &&
30258 { ac_try='test -z "$ac_c_werror_flag"
30259 || test ! -s conftest.err'
30260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30261 (eval $ac_try) 2>&5
30262 ac_status=$?
30263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30264 (exit $ac_status); }; } &&
30265 { ac_try='test -s conftest.$ac_objext'
30266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30267 (eval $ac_try) 2>&5
30268 ac_status=$?
30269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30270 (exit $ac_status); }; }; then
30271 echo "$as_me:$LINENO: result: no" >&5
30272 echo "${ECHO_T}no" >&6
30273 else
30274 echo "$as_me: failed program was:" >&5
30275 sed 's/^/| /' conftest.$ac_ext >&5
30276
30277 echo "$as_me:$LINENO: result: yes" >&5
30278 echo "${ECHO_T}yes" >&6
30279 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30280 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30281 cat >conftest.$ac_ext <<_ACEOF
30282 /* confdefs.h. */
30283 _ACEOF
30284 cat confdefs.h >>conftest.$ac_ext
30285 cat >>conftest.$ac_ext <<_ACEOF
30286 /* end confdefs.h. */
30287 #define __Point__ 1
30288 #include <AppKit/NSEvent.h>
30289 #include <CoreFoundation/CoreFoundation.h>
30290
30291 int
30292 main ()
30293 {
30294
30295 ;
30296 return 0;
30297 }
30298 _ACEOF
30299 rm -f conftest.$ac_objext
30300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30301 (eval $ac_compile) 2>conftest.er1
30302 ac_status=$?
30303 grep -v '^ *+' conftest.er1 >conftest.err
30304 rm -f conftest.er1
30305 cat conftest.err >&5
30306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30307 (exit $ac_status); } &&
30308 { ac_try='test -z "$ac_c_werror_flag"
30309 || test ! -s conftest.err'
30310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30311 (eval $ac_try) 2>&5
30312 ac_status=$?
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); }; } &&
30315 { ac_try='test -s conftest.$ac_objext'
30316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30317 (eval $ac_try) 2>&5
30318 ac_status=$?
30319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30320 (exit $ac_status); }; }; then
30321 echo "$as_me:$LINENO: result: yes" >&5
30322 echo "${ECHO_T}yes" >&6
30323 cat >>confdefs.h <<\_ACEOF
30324 #define __Point__ 1
30325 _ACEOF
30326
30327
30328 else
30329 echo "$as_me: failed program was:" >&5
30330 sed 's/^/| /' conftest.$ac_ext >&5
30331
30332 { { echo "$as_me:$LINENO: error: no
30333 See \`config.log' for more details." >&5
30334 echo "$as_me: error: no
30335 See \`config.log' for more details." >&2;}
30336 { (exit 1); exit 1; }; }
30337
30338 fi
30339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30340
30341 fi
30342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30343 ac_ext=c
30344 ac_cpp='$CPP $CPPFLAGS'
30345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30348
30349 fi
30350
30351 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30352 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30353 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30354
30355 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30356
30357 # Extract the first word of "Rez", so it can be a program name with args.
30358 set dummy Rez; ac_word=$2
30359 echo "$as_me:$LINENO: checking for $ac_word" >&5
30360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30361 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30362 echo $ECHO_N "(cached) $ECHO_C" >&6
30363 else
30364 if test -n "$RESCOMP"; then
30365 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
30366 else
30367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30368 for as_dir in $PATH
30369 do
30370 IFS=$as_save_IFS
30371 test -z "$as_dir" && as_dir=.
30372 for ac_exec_ext in '' $ac_executable_extensions; do
30373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30374 ac_cv_prog_RESCOMP="Rez"
30375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30376 break 2
30377 fi
30378 done
30379 done
30380
30381 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
30382 fi
30383 fi
30384 RESCOMP=$ac_cv_prog_RESCOMP
30385 if test -n "$RESCOMP"; then
30386 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30387 echo "${ECHO_T}$RESCOMP" >&6
30388 else
30389 echo "$as_me:$LINENO: result: no" >&5
30390 echo "${ECHO_T}no" >&6
30391 fi
30392
30393 # Extract the first word of "DeRez", so it can be a program name with args.
30394 set dummy DeRez; ac_word=$2
30395 echo "$as_me:$LINENO: checking for $ac_word" >&5
30396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30397 if test "${ac_cv_prog_DEREZ+set}" = set; then
30398 echo $ECHO_N "(cached) $ECHO_C" >&6
30399 else
30400 if test -n "$DEREZ"; then
30401 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
30402 else
30403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30404 for as_dir in $PATH
30405 do
30406 IFS=$as_save_IFS
30407 test -z "$as_dir" && as_dir=.
30408 for ac_exec_ext in '' $ac_executable_extensions; do
30409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30410 ac_cv_prog_DEREZ="DeRez"
30411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30412 break 2
30413 fi
30414 done
30415 done
30416
30417 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
30418 fi
30419 fi
30420 DEREZ=$ac_cv_prog_DEREZ
30421 if test -n "$DEREZ"; then
30422 echo "$as_me:$LINENO: result: $DEREZ" >&5
30423 echo "${ECHO_T}$DEREZ" >&6
30424 else
30425 echo "$as_me:$LINENO: result: no" >&5
30426 echo "${ECHO_T}no" >&6
30427 fi
30428
30429 # Extract the first word of "SetFile", so it can be a program name with args.
30430 set dummy SetFile; ac_word=$2
30431 echo "$as_me:$LINENO: checking for $ac_word" >&5
30432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30433 if test "${ac_cv_prog_SETFILE+set}" = set; then
30434 echo $ECHO_N "(cached) $ECHO_C" >&6
30435 else
30436 if test -n "$SETFILE"; then
30437 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
30438 else
30439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30440 for as_dir in $PATH
30441 do
30442 IFS=$as_save_IFS
30443 test -z "$as_dir" && as_dir=.
30444 for ac_exec_ext in '' $ac_executable_extensions; do
30445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30446 ac_cv_prog_SETFILE="SetFile"
30447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30448 break 2
30449 fi
30450 done
30451 done
30452
30453 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
30454 fi
30455 fi
30456 SETFILE=$ac_cv_prog_SETFILE
30457 if test -n "$SETFILE"; then
30458 echo "$as_me:$LINENO: result: $SETFILE" >&5
30459 echo "${ECHO_T}$SETFILE" >&6
30460 else
30461 echo "$as_me:$LINENO: result: no" >&5
30462 echo "${ECHO_T}no" >&6
30463 fi
30464
30465
30466 MACSETFILE="\$(SETFILE)"
30467
30468 if test "$wxUSE_MAC" = 1; then
30469 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30470
30471 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30472 else
30473 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30474 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30475 fi
30476 else
30477 MACSETFILE="@true"
30478 MACRESWXCONFIG="@true"
30479
30480 if test "$wxUSE_PM" = 1; then
30481 MACRESCOMP="emxbind -ep"
30482 else
30483 MACRESCOMP="@true"
30484 fi
30485 fi
30486
30487
30488
30489 echo "$as_me:$LINENO: checking for mode_t" >&5
30490 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30491 if test "${ac_cv_type_mode_t+set}" = set; then
30492 echo $ECHO_N "(cached) $ECHO_C" >&6
30493 else
30494 cat >conftest.$ac_ext <<_ACEOF
30495 /* confdefs.h. */
30496 _ACEOF
30497 cat confdefs.h >>conftest.$ac_ext
30498 cat >>conftest.$ac_ext <<_ACEOF
30499 /* end confdefs.h. */
30500 $ac_includes_default
30501 int
30502 main ()
30503 {
30504 if ((mode_t *) 0)
30505 return 0;
30506 if (sizeof (mode_t))
30507 return 0;
30508 ;
30509 return 0;
30510 }
30511 _ACEOF
30512 rm -f conftest.$ac_objext
30513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30514 (eval $ac_compile) 2>conftest.er1
30515 ac_status=$?
30516 grep -v '^ *+' conftest.er1 >conftest.err
30517 rm -f conftest.er1
30518 cat conftest.err >&5
30519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30520 (exit $ac_status); } &&
30521 { ac_try='test -z "$ac_c_werror_flag"
30522 || test ! -s conftest.err'
30523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30524 (eval $ac_try) 2>&5
30525 ac_status=$?
30526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30527 (exit $ac_status); }; } &&
30528 { ac_try='test -s conftest.$ac_objext'
30529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30530 (eval $ac_try) 2>&5
30531 ac_status=$?
30532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30533 (exit $ac_status); }; }; then
30534 ac_cv_type_mode_t=yes
30535 else
30536 echo "$as_me: failed program was:" >&5
30537 sed 's/^/| /' conftest.$ac_ext >&5
30538
30539 ac_cv_type_mode_t=no
30540 fi
30541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30542 fi
30543 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30544 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30545 if test $ac_cv_type_mode_t = yes; then
30546 :
30547 else
30548
30549 cat >>confdefs.h <<_ACEOF
30550 #define mode_t int
30551 _ACEOF
30552
30553 fi
30554
30555 echo "$as_me:$LINENO: checking for off_t" >&5
30556 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30557 if test "${ac_cv_type_off_t+set}" = set; then
30558 echo $ECHO_N "(cached) $ECHO_C" >&6
30559 else
30560 cat >conftest.$ac_ext <<_ACEOF
30561 /* confdefs.h. */
30562 _ACEOF
30563 cat confdefs.h >>conftest.$ac_ext
30564 cat >>conftest.$ac_ext <<_ACEOF
30565 /* end confdefs.h. */
30566 $ac_includes_default
30567 int
30568 main ()
30569 {
30570 if ((off_t *) 0)
30571 return 0;
30572 if (sizeof (off_t))
30573 return 0;
30574 ;
30575 return 0;
30576 }
30577 _ACEOF
30578 rm -f conftest.$ac_objext
30579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30580 (eval $ac_compile) 2>conftest.er1
30581 ac_status=$?
30582 grep -v '^ *+' conftest.er1 >conftest.err
30583 rm -f conftest.er1
30584 cat conftest.err >&5
30585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30586 (exit $ac_status); } &&
30587 { ac_try='test -z "$ac_c_werror_flag"
30588 || test ! -s conftest.err'
30589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30590 (eval $ac_try) 2>&5
30591 ac_status=$?
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; } &&
30594 { ac_try='test -s conftest.$ac_objext'
30595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30596 (eval $ac_try) 2>&5
30597 ac_status=$?
30598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30599 (exit $ac_status); }; }; then
30600 ac_cv_type_off_t=yes
30601 else
30602 echo "$as_me: failed program was:" >&5
30603 sed 's/^/| /' conftest.$ac_ext >&5
30604
30605 ac_cv_type_off_t=no
30606 fi
30607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30608 fi
30609 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30610 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30611 if test $ac_cv_type_off_t = yes; then
30612 :
30613 else
30614
30615 cat >>confdefs.h <<_ACEOF
30616 #define off_t long
30617 _ACEOF
30618
30619 fi
30620
30621 echo "$as_me:$LINENO: checking for pid_t" >&5
30622 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30623 if test "${ac_cv_type_pid_t+set}" = set; then
30624 echo $ECHO_N "(cached) $ECHO_C" >&6
30625 else
30626 cat >conftest.$ac_ext <<_ACEOF
30627 /* confdefs.h. */
30628 _ACEOF
30629 cat confdefs.h >>conftest.$ac_ext
30630 cat >>conftest.$ac_ext <<_ACEOF
30631 /* end confdefs.h. */
30632 $ac_includes_default
30633 int
30634 main ()
30635 {
30636 if ((pid_t *) 0)
30637 return 0;
30638 if (sizeof (pid_t))
30639 return 0;
30640 ;
30641 return 0;
30642 }
30643 _ACEOF
30644 rm -f conftest.$ac_objext
30645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30646 (eval $ac_compile) 2>conftest.er1
30647 ac_status=$?
30648 grep -v '^ *+' conftest.er1 >conftest.err
30649 rm -f conftest.er1
30650 cat conftest.err >&5
30651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30652 (exit $ac_status); } &&
30653 { ac_try='test -z "$ac_c_werror_flag"
30654 || test ! -s conftest.err'
30655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30656 (eval $ac_try) 2>&5
30657 ac_status=$?
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); }; } &&
30660 { ac_try='test -s conftest.$ac_objext'
30661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30662 (eval $ac_try) 2>&5
30663 ac_status=$?
30664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30665 (exit $ac_status); }; }; then
30666 ac_cv_type_pid_t=yes
30667 else
30668 echo "$as_me: failed program was:" >&5
30669 sed 's/^/| /' conftest.$ac_ext >&5
30670
30671 ac_cv_type_pid_t=no
30672 fi
30673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30674 fi
30675 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30676 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30677 if test $ac_cv_type_pid_t = yes; then
30678 :
30679 else
30680
30681 cat >>confdefs.h <<_ACEOF
30682 #define pid_t int
30683 _ACEOF
30684
30685 fi
30686
30687 echo "$as_me:$LINENO: checking for size_t" >&5
30688 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30689 if test "${ac_cv_type_size_t+set}" = set; then
30690 echo $ECHO_N "(cached) $ECHO_C" >&6
30691 else
30692 cat >conftest.$ac_ext <<_ACEOF
30693 /* confdefs.h. */
30694 _ACEOF
30695 cat confdefs.h >>conftest.$ac_ext
30696 cat >>conftest.$ac_ext <<_ACEOF
30697 /* end confdefs.h. */
30698 $ac_includes_default
30699 int
30700 main ()
30701 {
30702 if ((size_t *) 0)
30703 return 0;
30704 if (sizeof (size_t))
30705 return 0;
30706 ;
30707 return 0;
30708 }
30709 _ACEOF
30710 rm -f conftest.$ac_objext
30711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30712 (eval $ac_compile) 2>conftest.er1
30713 ac_status=$?
30714 grep -v '^ *+' conftest.er1 >conftest.err
30715 rm -f conftest.er1
30716 cat conftest.err >&5
30717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30718 (exit $ac_status); } &&
30719 { ac_try='test -z "$ac_c_werror_flag"
30720 || test ! -s conftest.err'
30721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30722 (eval $ac_try) 2>&5
30723 ac_status=$?
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); }; } &&
30726 { ac_try='test -s conftest.$ac_objext'
30727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30728 (eval $ac_try) 2>&5
30729 ac_status=$?
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); }; }; then
30732 ac_cv_type_size_t=yes
30733 else
30734 echo "$as_me: failed program was:" >&5
30735 sed 's/^/| /' conftest.$ac_ext >&5
30736
30737 ac_cv_type_size_t=no
30738 fi
30739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30740 fi
30741 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30742 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30743 if test $ac_cv_type_size_t = yes; then
30744 :
30745 else
30746
30747 cat >>confdefs.h <<_ACEOF
30748 #define size_t unsigned
30749 _ACEOF
30750
30751 fi
30752
30753 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30754 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30755 if test "${ac_cv_type_uid_t+set}" = set; then
30756 echo $ECHO_N "(cached) $ECHO_C" >&6
30757 else
30758 cat >conftest.$ac_ext <<_ACEOF
30759 /* confdefs.h. */
30760 _ACEOF
30761 cat confdefs.h >>conftest.$ac_ext
30762 cat >>conftest.$ac_ext <<_ACEOF
30763 /* end confdefs.h. */
30764 #include <sys/types.h>
30765
30766 _ACEOF
30767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30768 $EGREP "uid_t" >/dev/null 2>&1; then
30769 ac_cv_type_uid_t=yes
30770 else
30771 ac_cv_type_uid_t=no
30772 fi
30773 rm -f conftest*
30774
30775 fi
30776 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30777 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30778 if test $ac_cv_type_uid_t = no; then
30779
30780 cat >>confdefs.h <<\_ACEOF
30781 #define uid_t int
30782 _ACEOF
30783
30784
30785 cat >>confdefs.h <<\_ACEOF
30786 #define gid_t int
30787 _ACEOF
30788
30789 fi
30790
30791
30792 echo "$as_me:$LINENO: checking for ssize_t" >&5
30793 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30794 if test "${ac_cv_type_ssize_t+set}" = set; then
30795 echo $ECHO_N "(cached) $ECHO_C" >&6
30796 else
30797 cat >conftest.$ac_ext <<_ACEOF
30798 /* confdefs.h. */
30799 _ACEOF
30800 cat confdefs.h >>conftest.$ac_ext
30801 cat >>conftest.$ac_ext <<_ACEOF
30802 /* end confdefs.h. */
30803 $ac_includes_default
30804 int
30805 main ()
30806 {
30807 if ((ssize_t *) 0)
30808 return 0;
30809 if (sizeof (ssize_t))
30810 return 0;
30811 ;
30812 return 0;
30813 }
30814 _ACEOF
30815 rm -f conftest.$ac_objext
30816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30817 (eval $ac_compile) 2>conftest.er1
30818 ac_status=$?
30819 grep -v '^ *+' conftest.er1 >conftest.err
30820 rm -f conftest.er1
30821 cat conftest.err >&5
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); } &&
30824 { ac_try='test -z "$ac_c_werror_flag"
30825 || test ! -s conftest.err'
30826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30827 (eval $ac_try) 2>&5
30828 ac_status=$?
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); }; } &&
30831 { ac_try='test -s conftest.$ac_objext'
30832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30833 (eval $ac_try) 2>&5
30834 ac_status=$?
30835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30836 (exit $ac_status); }; }; then
30837 ac_cv_type_ssize_t=yes
30838 else
30839 echo "$as_me: failed program was:" >&5
30840 sed 's/^/| /' conftest.$ac_ext >&5
30841
30842 ac_cv_type_ssize_t=no
30843 fi
30844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30845 fi
30846 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30847 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30848 if test $ac_cv_type_ssize_t = yes; then
30849
30850 cat >>confdefs.h <<_ACEOF
30851 #define HAVE_SSIZE_T 1
30852 _ACEOF
30853
30854
30855 fi
30856
30857
30858
30859
30860 ac_ext=cc
30861 ac_cpp='$CXXCPP $CPPFLAGS'
30862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30865
30866 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30867 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30868 if test "${wx_cv_size_t_is_uint+set}" = set; then
30869 echo $ECHO_N "(cached) $ECHO_C" >&6
30870 else
30871
30872 cat >conftest.$ac_ext <<_ACEOF
30873 /* confdefs.h. */
30874 _ACEOF
30875 cat confdefs.h >>conftest.$ac_ext
30876 cat >>conftest.$ac_ext <<_ACEOF
30877 /* end confdefs.h. */
30878 #include <stddef.h>
30879 int
30880 main ()
30881 {
30882
30883 return 0; }
30884
30885 struct Foo { void foo(size_t); void foo(unsigned int); };
30886
30887 int bar() {
30888
30889 ;
30890 return 0;
30891 }
30892 _ACEOF
30893 rm -f conftest.$ac_objext
30894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30895 (eval $ac_compile) 2>conftest.er1
30896 ac_status=$?
30897 grep -v '^ *+' conftest.er1 >conftest.err
30898 rm -f conftest.er1
30899 cat conftest.err >&5
30900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30901 (exit $ac_status); } &&
30902 { ac_try='test -z "$ac_cxx_werror_flag"
30903 || test ! -s conftest.err'
30904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30905 (eval $ac_try) 2>&5
30906 ac_status=$?
30907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30908 (exit $ac_status); }; } &&
30909 { ac_try='test -s conftest.$ac_objext'
30910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30911 (eval $ac_try) 2>&5
30912 ac_status=$?
30913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30914 (exit $ac_status); }; }; then
30915 wx_cv_size_t_is_uint=no
30916 else
30917 echo "$as_me: failed program was:" >&5
30918 sed 's/^/| /' conftest.$ac_ext >&5
30919
30920 wx_cv_size_t_is_uint=yes
30921
30922 fi
30923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30924
30925
30926 fi
30927 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30928 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30929
30930 if test "$wx_cv_size_t_is_uint" = "yes"; then
30931 cat >>confdefs.h <<\_ACEOF
30932 #define wxSIZE_T_IS_UINT 1
30933 _ACEOF
30934
30935 else
30936 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30937 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30938 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30939 echo $ECHO_N "(cached) $ECHO_C" >&6
30940 else
30941 cat >conftest.$ac_ext <<_ACEOF
30942 /* confdefs.h. */
30943 _ACEOF
30944 cat confdefs.h >>conftest.$ac_ext
30945 cat >>conftest.$ac_ext <<_ACEOF
30946 /* end confdefs.h. */
30947 #include <stddef.h>
30948 int
30949 main ()
30950 {
30951
30952 return 0; }
30953
30954 struct Foo { void foo(size_t); void foo(unsigned long); };
30955
30956 int bar() {
30957
30958 ;
30959 return 0;
30960 }
30961 _ACEOF
30962 rm -f conftest.$ac_objext
30963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30964 (eval $ac_compile) 2>conftest.er1
30965 ac_status=$?
30966 grep -v '^ *+' conftest.er1 >conftest.err
30967 rm -f conftest.er1
30968 cat conftest.err >&5
30969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30970 (exit $ac_status); } &&
30971 { ac_try='test -z "$ac_cxx_werror_flag"
30972 || test ! -s conftest.err'
30973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30974 (eval $ac_try) 2>&5
30975 ac_status=$?
30976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30977 (exit $ac_status); }; } &&
30978 { ac_try='test -s conftest.$ac_objext'
30979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30980 (eval $ac_try) 2>&5
30981 ac_status=$?
30982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30983 (exit $ac_status); }; }; then
30984 wx_cv_size_t_is_ulong=no
30985 else
30986 echo "$as_me: failed program was:" >&5
30987 sed 's/^/| /' conftest.$ac_ext >&5
30988
30989 wx_cv_size_t_is_ulong=yes
30990
30991 fi
30992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30993
30994 fi
30995 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30996 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30997
30998 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30999 cat >>confdefs.h <<\_ACEOF
31000 #define wxSIZE_T_IS_ULONG 1
31001 _ACEOF
31002
31003 fi
31004 fi
31005
31006 ac_ext=c
31007 ac_cpp='$CPP $CPPFLAGS'
31008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31011
31012
31013
31014 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
31015 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
31016 if test "${wx_cv_struct_pw_gecos+set}" = set; then
31017 echo $ECHO_N "(cached) $ECHO_C" >&6
31018 else
31019
31020 cat >conftest.$ac_ext <<_ACEOF
31021 /* confdefs.h. */
31022 _ACEOF
31023 cat confdefs.h >>conftest.$ac_ext
31024 cat >>conftest.$ac_ext <<_ACEOF
31025 /* end confdefs.h. */
31026 #include <pwd.h>
31027 int
31028 main ()
31029 {
31030
31031 char *p;
31032 struct passwd *pw;
31033 p = pw->pw_gecos;
31034
31035 ;
31036 return 0;
31037 }
31038 _ACEOF
31039 rm -f conftest.$ac_objext
31040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31041 (eval $ac_compile) 2>conftest.er1
31042 ac_status=$?
31043 grep -v '^ *+' conftest.er1 >conftest.err
31044 rm -f conftest.er1
31045 cat conftest.err >&5
31046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31047 (exit $ac_status); } &&
31048 { ac_try='test -z "$ac_c_werror_flag"
31049 || test ! -s conftest.err'
31050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31051 (eval $ac_try) 2>&5
31052 ac_status=$?
31053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31054 (exit $ac_status); }; } &&
31055 { ac_try='test -s conftest.$ac_objext'
31056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31057 (eval $ac_try) 2>&5
31058 ac_status=$?
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); }; }; then
31061
31062 wx_cv_struct_pw_gecos=yes
31063
31064 else
31065 echo "$as_me: failed program was:" >&5
31066 sed 's/^/| /' conftest.$ac_ext >&5
31067
31068
31069 wx_cv_struct_pw_gecos=no
31070
31071
31072 fi
31073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31074
31075
31076 fi
31077 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
31078 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
31079
31080 if test "$wx_cv_struct_pw_gecos" = "yes"; then
31081 cat >>confdefs.h <<\_ACEOF
31082 #define HAVE_PW_GECOS 1
31083 _ACEOF
31084
31085 fi
31086
31087
31088 if test "$wxUSE_WCHAR_T" = "yes"; then
31089 cat >>confdefs.h <<\_ACEOF
31090 #define wxUSE_WCHAR_T 1
31091 _ACEOF
31092
31093
31094 WCSLEN_FOUND=0
31095 WCHAR_LINK=
31096
31097 for ac_func in wcslen
31098 do
31099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31100 echo "$as_me:$LINENO: checking for $ac_func" >&5
31101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31102 if eval "test \"\${$as_ac_var+set}\" = set"; then
31103 echo $ECHO_N "(cached) $ECHO_C" >&6
31104 else
31105 cat >conftest.$ac_ext <<_ACEOF
31106 /* confdefs.h. */
31107 _ACEOF
31108 cat confdefs.h >>conftest.$ac_ext
31109 cat >>conftest.$ac_ext <<_ACEOF
31110 /* end confdefs.h. */
31111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31113 #define $ac_func innocuous_$ac_func
31114
31115 /* System header to define __stub macros and hopefully few prototypes,
31116 which can conflict with char $ac_func (); below.
31117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31118 <limits.h> exists even on freestanding compilers. */
31119
31120 #ifdef __STDC__
31121 # include <limits.h>
31122 #else
31123 # include <assert.h>
31124 #endif
31125
31126 #undef $ac_func
31127
31128 /* Override any gcc2 internal prototype to avoid an error. */
31129 #ifdef __cplusplus
31130 extern "C"
31131 {
31132 #endif
31133 /* We use char because int might match the return type of a gcc2
31134 builtin and then its argument prototype would still apply. */
31135 char $ac_func ();
31136 /* The GNU C library defines this for functions which it implements
31137 to always fail with ENOSYS. Some functions are actually named
31138 something starting with __ and the normal name is an alias. */
31139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31140 choke me
31141 #else
31142 char (*f) () = $ac_func;
31143 #endif
31144 #ifdef __cplusplus
31145 }
31146 #endif
31147
31148 int
31149 main ()
31150 {
31151 return f != $ac_func;
31152 ;
31153 return 0;
31154 }
31155 _ACEOF
31156 rm -f conftest.$ac_objext conftest$ac_exeext
31157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31158 (eval $ac_link) 2>conftest.er1
31159 ac_status=$?
31160 grep -v '^ *+' conftest.er1 >conftest.err
31161 rm -f conftest.er1
31162 cat conftest.err >&5
31163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31164 (exit $ac_status); } &&
31165 { ac_try='test -z "$ac_c_werror_flag"
31166 || test ! -s conftest.err'
31167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31168 (eval $ac_try) 2>&5
31169 ac_status=$?
31170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31171 (exit $ac_status); }; } &&
31172 { ac_try='test -s conftest$ac_exeext'
31173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31174 (eval $ac_try) 2>&5
31175 ac_status=$?
31176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31177 (exit $ac_status); }; }; then
31178 eval "$as_ac_var=yes"
31179 else
31180 echo "$as_me: failed program was:" >&5
31181 sed 's/^/| /' conftest.$ac_ext >&5
31182
31183 eval "$as_ac_var=no"
31184 fi
31185 rm -f conftest.err conftest.$ac_objext \
31186 conftest$ac_exeext conftest.$ac_ext
31187 fi
31188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31190 if test `eval echo '${'$as_ac_var'}'` = yes; then
31191 cat >>confdefs.h <<_ACEOF
31192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31193 _ACEOF
31194 WCSLEN_FOUND=1
31195 fi
31196 done
31197
31198
31199 if test "$WCSLEN_FOUND" = 0; then
31200 if test "$TOOLKIT" = "MSW"; then
31201 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
31202 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
31203 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
31204 echo $ECHO_N "(cached) $ECHO_C" >&6
31205 else
31206 ac_check_lib_save_LIBS=$LIBS
31207 LIBS="-lmsvcrt $LIBS"
31208 cat >conftest.$ac_ext <<_ACEOF
31209 /* confdefs.h. */
31210 _ACEOF
31211 cat confdefs.h >>conftest.$ac_ext
31212 cat >>conftest.$ac_ext <<_ACEOF
31213 /* end confdefs.h. */
31214
31215 /* Override any gcc2 internal prototype to avoid an error. */
31216 #ifdef __cplusplus
31217 extern "C"
31218 #endif
31219 /* We use char because int might match the return type of a gcc2
31220 builtin and then its argument prototype would still apply. */
31221 char wcslen ();
31222 int
31223 main ()
31224 {
31225 wcslen ();
31226 ;
31227 return 0;
31228 }
31229 _ACEOF
31230 rm -f conftest.$ac_objext conftest$ac_exeext
31231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31232 (eval $ac_link) 2>conftest.er1
31233 ac_status=$?
31234 grep -v '^ *+' conftest.er1 >conftest.err
31235 rm -f conftest.er1
31236 cat conftest.err >&5
31237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238 (exit $ac_status); } &&
31239 { ac_try='test -z "$ac_c_werror_flag"
31240 || test ! -s conftest.err'
31241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31242 (eval $ac_try) 2>&5
31243 ac_status=$?
31244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31245 (exit $ac_status); }; } &&
31246 { ac_try='test -s conftest$ac_exeext'
31247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31248 (eval $ac_try) 2>&5
31249 ac_status=$?
31250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251 (exit $ac_status); }; }; then
31252 ac_cv_lib_msvcrt_wcslen=yes
31253 else
31254 echo "$as_me: failed program was:" >&5
31255 sed 's/^/| /' conftest.$ac_ext >&5
31256
31257 ac_cv_lib_msvcrt_wcslen=no
31258 fi
31259 rm -f conftest.err conftest.$ac_objext \
31260 conftest$ac_exeext conftest.$ac_ext
31261 LIBS=$ac_check_lib_save_LIBS
31262 fi
31263 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31264 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31265 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31266 WCHAR_OK=1
31267 fi
31268
31269 else
31270 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31271 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31272 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31273 echo $ECHO_N "(cached) $ECHO_C" >&6
31274 else
31275 ac_check_lib_save_LIBS=$LIBS
31276 LIBS="-lw $LIBS"
31277 cat >conftest.$ac_ext <<_ACEOF
31278 /* confdefs.h. */
31279 _ACEOF
31280 cat confdefs.h >>conftest.$ac_ext
31281 cat >>conftest.$ac_ext <<_ACEOF
31282 /* end confdefs.h. */
31283
31284 /* Override any gcc2 internal prototype to avoid an error. */
31285 #ifdef __cplusplus
31286 extern "C"
31287 #endif
31288 /* We use char because int might match the return type of a gcc2
31289 builtin and then its argument prototype would still apply. */
31290 char wcslen ();
31291 int
31292 main ()
31293 {
31294 wcslen ();
31295 ;
31296 return 0;
31297 }
31298 _ACEOF
31299 rm -f conftest.$ac_objext conftest$ac_exeext
31300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31301 (eval $ac_link) 2>conftest.er1
31302 ac_status=$?
31303 grep -v '^ *+' conftest.er1 >conftest.err
31304 rm -f conftest.er1
31305 cat conftest.err >&5
31306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31307 (exit $ac_status); } &&
31308 { ac_try='test -z "$ac_c_werror_flag"
31309 || test ! -s conftest.err'
31310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31311 (eval $ac_try) 2>&5
31312 ac_status=$?
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); }; } &&
31315 { ac_try='test -s conftest$ac_exeext'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31318 ac_status=$?
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; }; then
31321 ac_cv_lib_w_wcslen=yes
31322 else
31323 echo "$as_me: failed program was:" >&5
31324 sed 's/^/| /' conftest.$ac_ext >&5
31325
31326 ac_cv_lib_w_wcslen=no
31327 fi
31328 rm -f conftest.err conftest.$ac_objext \
31329 conftest$ac_exeext conftest.$ac_ext
31330 LIBS=$ac_check_lib_save_LIBS
31331 fi
31332 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31333 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31334 if test $ac_cv_lib_w_wcslen = yes; then
31335
31336 WCHAR_LINK=" -lw"
31337 WCSLEN_FOUND=1
31338
31339 fi
31340
31341 fi
31342 fi
31343
31344 if test "$WCSLEN_FOUND" = 1; then
31345 cat >>confdefs.h <<\_ACEOF
31346 #define HAVE_WCSLEN 1
31347 _ACEOF
31348
31349 fi
31350
31351 if test "$USE_HPUX" = 1; then
31352 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31353 fi
31354
31355
31356 for ac_func in wcsrtombs
31357 do
31358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31359 echo "$as_me:$LINENO: checking for $ac_func" >&5
31360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31361 if eval "test \"\${$as_ac_var+set}\" = set"; then
31362 echo $ECHO_N "(cached) $ECHO_C" >&6
31363 else
31364 cat >conftest.$ac_ext <<_ACEOF
31365 /* confdefs.h. */
31366 _ACEOF
31367 cat confdefs.h >>conftest.$ac_ext
31368 cat >>conftest.$ac_ext <<_ACEOF
31369 /* end confdefs.h. */
31370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31372 #define $ac_func innocuous_$ac_func
31373
31374 /* System header to define __stub macros and hopefully few prototypes,
31375 which can conflict with char $ac_func (); below.
31376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31377 <limits.h> exists even on freestanding compilers. */
31378
31379 #ifdef __STDC__
31380 # include <limits.h>
31381 #else
31382 # include <assert.h>
31383 #endif
31384
31385 #undef $ac_func
31386
31387 /* Override any gcc2 internal prototype to avoid an error. */
31388 #ifdef __cplusplus
31389 extern "C"
31390 {
31391 #endif
31392 /* We use char because int might match the return type of a gcc2
31393 builtin and then its argument prototype would still apply. */
31394 char $ac_func ();
31395 /* The GNU C library defines this for functions which it implements
31396 to always fail with ENOSYS. Some functions are actually named
31397 something starting with __ and the normal name is an alias. */
31398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31399 choke me
31400 #else
31401 char (*f) () = $ac_func;
31402 #endif
31403 #ifdef __cplusplus
31404 }
31405 #endif
31406
31407 int
31408 main ()
31409 {
31410 return f != $ac_func;
31411 ;
31412 return 0;
31413 }
31414 _ACEOF
31415 rm -f conftest.$ac_objext conftest$ac_exeext
31416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31417 (eval $ac_link) 2>conftest.er1
31418 ac_status=$?
31419 grep -v '^ *+' conftest.er1 >conftest.err
31420 rm -f conftest.er1
31421 cat conftest.err >&5
31422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423 (exit $ac_status); } &&
31424 { ac_try='test -z "$ac_c_werror_flag"
31425 || test ! -s conftest.err'
31426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31427 (eval $ac_try) 2>&5
31428 ac_status=$?
31429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430 (exit $ac_status); }; } &&
31431 { ac_try='test -s conftest$ac_exeext'
31432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31433 (eval $ac_try) 2>&5
31434 ac_status=$?
31435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31436 (exit $ac_status); }; }; then
31437 eval "$as_ac_var=yes"
31438 else
31439 echo "$as_me: failed program was:" >&5
31440 sed 's/^/| /' conftest.$ac_ext >&5
31441
31442 eval "$as_ac_var=no"
31443 fi
31444 rm -f conftest.err conftest.$ac_objext \
31445 conftest$ac_exeext conftest.$ac_ext
31446 fi
31447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31449 if test `eval echo '${'$as_ac_var'}'` = yes; then
31450 cat >>confdefs.h <<_ACEOF
31451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31452 _ACEOF
31453
31454 fi
31455 done
31456
31457 else
31458 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31459 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31460 fi
31461
31462
31463
31464 ac_ext=cc
31465 ac_cpp='$CXXCPP $CPPFLAGS'
31466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31469
31470
31471
31472 for ac_func in vsnprintf
31473 do
31474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31475 echo "$as_me:$LINENO: checking for $ac_func" >&5
31476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31477 if eval "test \"\${$as_ac_var+set}\" = set"; then
31478 echo $ECHO_N "(cached) $ECHO_C" >&6
31479 else
31480 cat >conftest.$ac_ext <<_ACEOF
31481 /* confdefs.h. */
31482 _ACEOF
31483 cat confdefs.h >>conftest.$ac_ext
31484 cat >>conftest.$ac_ext <<_ACEOF
31485 /* end confdefs.h. */
31486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31488 #define $ac_func innocuous_$ac_func
31489
31490 /* System header to define __stub macros and hopefully few prototypes,
31491 which can conflict with char $ac_func (); below.
31492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31493 <limits.h> exists even on freestanding compilers. */
31494
31495 #ifdef __STDC__
31496 # include <limits.h>
31497 #else
31498 # include <assert.h>
31499 #endif
31500
31501 #undef $ac_func
31502
31503 /* Override any gcc2 internal prototype to avoid an error. */
31504 #ifdef __cplusplus
31505 extern "C"
31506 {
31507 #endif
31508 /* We use char because int might match the return type of a gcc2
31509 builtin and then its argument prototype would still apply. */
31510 char $ac_func ();
31511 /* The GNU C library defines this for functions which it implements
31512 to always fail with ENOSYS. Some functions are actually named
31513 something starting with __ and the normal name is an alias. */
31514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31515 choke me
31516 #else
31517 char (*f) () = $ac_func;
31518 #endif
31519 #ifdef __cplusplus
31520 }
31521 #endif
31522
31523 int
31524 main ()
31525 {
31526 return f != $ac_func;
31527 ;
31528 return 0;
31529 }
31530 _ACEOF
31531 rm -f conftest.$ac_objext conftest$ac_exeext
31532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31533 (eval $ac_link) 2>conftest.er1
31534 ac_status=$?
31535 grep -v '^ *+' conftest.er1 >conftest.err
31536 rm -f conftest.er1
31537 cat conftest.err >&5
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); } &&
31540 { ac_try='test -z "$ac_cxx_werror_flag"
31541 || test ! -s conftest.err'
31542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31543 (eval $ac_try) 2>&5
31544 ac_status=$?
31545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546 (exit $ac_status); }; } &&
31547 { ac_try='test -s conftest$ac_exeext'
31548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31549 (eval $ac_try) 2>&5
31550 ac_status=$?
31551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31552 (exit $ac_status); }; }; then
31553 eval "$as_ac_var=yes"
31554 else
31555 echo "$as_me: failed program was:" >&5
31556 sed 's/^/| /' conftest.$ac_ext >&5
31557
31558 eval "$as_ac_var=no"
31559 fi
31560 rm -f conftest.err conftest.$ac_objext \
31561 conftest$ac_exeext conftest.$ac_ext
31562 fi
31563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31565 if test `eval echo '${'$as_ac_var'}'` = yes; then
31566 cat >>confdefs.h <<_ACEOF
31567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31568 _ACEOF
31569
31570 fi
31571 done
31572
31573
31574 if test "$ac_cv_func_vsnprintf" = "yes"; then
31575 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31576 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31577 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31578 echo $ECHO_N "(cached) $ECHO_C" >&6
31579 else
31580
31581 cat >conftest.$ac_ext <<_ACEOF
31582 /* confdefs.h. */
31583 _ACEOF
31584 cat confdefs.h >>conftest.$ac_ext
31585 cat >>conftest.$ac_ext <<_ACEOF
31586 /* end confdefs.h. */
31587
31588 #include <stdio.h>
31589 #include <stdarg.h>
31590
31591 int
31592 main ()
31593 {
31594
31595 char *buf;
31596 va_list ap;
31597 vsnprintf(buf, 10u, "%s", ap);
31598
31599 ;
31600 return 0;
31601 }
31602 _ACEOF
31603 rm -f conftest.$ac_objext
31604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31605 (eval $ac_compile) 2>conftest.er1
31606 ac_status=$?
31607 grep -v '^ *+' conftest.er1 >conftest.err
31608 rm -f conftest.er1
31609 cat conftest.err >&5
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); } &&
31612 { ac_try='test -z "$ac_cxx_werror_flag"
31613 || test ! -s conftest.err'
31614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31615 (eval $ac_try) 2>&5
31616 ac_status=$?
31617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31618 (exit $ac_status); }; } &&
31619 { ac_try='test -s conftest.$ac_objext'
31620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31621 (eval $ac_try) 2>&5
31622 ac_status=$?
31623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31624 (exit $ac_status); }; }; then
31625 wx_cv_func_vsnprintf_decl=yes
31626 else
31627 echo "$as_me: failed program was:" >&5
31628 sed 's/^/| /' conftest.$ac_ext >&5
31629
31630
31631 cat >conftest.$ac_ext <<_ACEOF
31632 /* confdefs.h. */
31633 _ACEOF
31634 cat confdefs.h >>conftest.$ac_ext
31635 cat >>conftest.$ac_ext <<_ACEOF
31636 /* end confdefs.h. */
31637
31638 #include <stdio.h>
31639 #include <stdarg.h>
31640 using namespace std;
31641
31642 int
31643 main ()
31644 {
31645
31646 char *buf;
31647 va_list ap;
31648 vsnprintf(buf, 10u, "%s", ap);
31649
31650 ;
31651 return 0;
31652 }
31653 _ACEOF
31654 rm -f conftest.$ac_objext
31655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31656 (eval $ac_compile) 2>conftest.er1
31657 ac_status=$?
31658 grep -v '^ *+' conftest.er1 >conftest.err
31659 rm -f conftest.er1
31660 cat conftest.err >&5
31661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31662 (exit $ac_status); } &&
31663 { ac_try='test -z "$ac_cxx_werror_flag"
31664 || test ! -s conftest.err'
31665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31666 (eval $ac_try) 2>&5
31667 ac_status=$?
31668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31669 (exit $ac_status); }; } &&
31670 { ac_try='test -s conftest.$ac_objext'
31671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31672 (eval $ac_try) 2>&5
31673 ac_status=$?
31674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31675 (exit $ac_status); }; }; then
31676 wx_cv_func_vsnprintf_decl=yes
31677 else
31678 echo "$as_me: failed program was:" >&5
31679 sed 's/^/| /' conftest.$ac_ext >&5
31680
31681 wx_cv_func_vsnprintf_decl=no
31682
31683 fi
31684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31685
31686
31687 fi
31688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31689
31690
31691 fi
31692 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31693 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31694
31695 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31696 cat >>confdefs.h <<\_ACEOF
31697 #define HAVE_VSNPRINTF_DECL 1
31698 _ACEOF
31699
31700 fi
31701 fi
31702
31703 if test "$wxUSE_UNICODE" = yes; then
31704
31705
31706
31707
31708
31709
31710 for ac_func in wputc wputchar putws fputws wprintf vswprintf
31711 do
31712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31713 echo "$as_me:$LINENO: checking for $ac_func" >&5
31714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31715 if eval "test \"\${$as_ac_var+set}\" = set"; then
31716 echo $ECHO_N "(cached) $ECHO_C" >&6
31717 else
31718 cat >conftest.$ac_ext <<_ACEOF
31719 /* confdefs.h. */
31720 _ACEOF
31721 cat confdefs.h >>conftest.$ac_ext
31722 cat >>conftest.$ac_ext <<_ACEOF
31723 /* end confdefs.h. */
31724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31726 #define $ac_func innocuous_$ac_func
31727
31728 /* System header to define __stub macros and hopefully few prototypes,
31729 which can conflict with char $ac_func (); below.
31730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31731 <limits.h> exists even on freestanding compilers. */
31732
31733 #ifdef __STDC__
31734 # include <limits.h>
31735 #else
31736 # include <assert.h>
31737 #endif
31738
31739 #undef $ac_func
31740
31741 /* Override any gcc2 internal prototype to avoid an error. */
31742 #ifdef __cplusplus
31743 extern "C"
31744 {
31745 #endif
31746 /* We use char because int might match the return type of a gcc2
31747 builtin and then its argument prototype would still apply. */
31748 char $ac_func ();
31749 /* The GNU C library defines this for functions which it implements
31750 to always fail with ENOSYS. Some functions are actually named
31751 something starting with __ and the normal name is an alias. */
31752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31753 choke me
31754 #else
31755 char (*f) () = $ac_func;
31756 #endif
31757 #ifdef __cplusplus
31758 }
31759 #endif
31760
31761 int
31762 main ()
31763 {
31764 return f != $ac_func;
31765 ;
31766 return 0;
31767 }
31768 _ACEOF
31769 rm -f conftest.$ac_objext conftest$ac_exeext
31770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31771 (eval $ac_link) 2>conftest.er1
31772 ac_status=$?
31773 grep -v '^ *+' conftest.er1 >conftest.err
31774 rm -f conftest.er1
31775 cat conftest.err >&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); } &&
31778 { ac_try='test -z "$ac_cxx_werror_flag"
31779 || test ! -s conftest.err'
31780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31781 (eval $ac_try) 2>&5
31782 ac_status=$?
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); }; } &&
31785 { ac_try='test -s conftest$ac_exeext'
31786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31787 (eval $ac_try) 2>&5
31788 ac_status=$?
31789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31790 (exit $ac_status); }; }; then
31791 eval "$as_ac_var=yes"
31792 else
31793 echo "$as_me: failed program was:" >&5
31794 sed 's/^/| /' conftest.$ac_ext >&5
31795
31796 eval "$as_ac_var=no"
31797 fi
31798 rm -f conftest.err conftest.$ac_objext \
31799 conftest$ac_exeext conftest.$ac_ext
31800 fi
31801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31803 if test `eval echo '${'$as_ac_var'}'` = yes; then
31804 cat >>confdefs.h <<_ACEOF
31805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31806 _ACEOF
31807
31808 fi
31809 done
31810
31811
31812 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31813 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31814 cat >conftest.$ac_ext <<_ACEOF
31815 /* confdefs.h. */
31816 _ACEOF
31817 cat confdefs.h >>conftest.$ac_ext
31818 cat >>conftest.$ac_ext <<_ACEOF
31819 /* end confdefs.h. */
31820 #include <wchar.h>
31821 int
31822 main ()
31823 {
31824 &_vsnwprintf;
31825 ;
31826 return 0;
31827 }
31828 _ACEOF
31829 rm -f conftest.$ac_objext
31830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31831 (eval $ac_compile) 2>conftest.er1
31832 ac_status=$?
31833 grep -v '^ *+' conftest.er1 >conftest.err
31834 rm -f conftest.er1
31835 cat conftest.err >&5
31836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31837 (exit $ac_status); } &&
31838 { ac_try='test -z "$ac_cxx_werror_flag"
31839 || test ! -s conftest.err'
31840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31841 (eval $ac_try) 2>&5
31842 ac_status=$?
31843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844 (exit $ac_status); }; } &&
31845 { ac_try='test -s conftest.$ac_objext'
31846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31847 (eval $ac_try) 2>&5
31848 ac_status=$?
31849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850 (exit $ac_status); }; }; then
31851 echo "$as_me:$LINENO: result: yes" >&5
31852 echo "${ECHO_T}yes" >&6
31853 cat >>confdefs.h <<\_ACEOF
31854 #define HAVE__VSNWPRINTF 1
31855 _ACEOF
31856
31857 else
31858 echo "$as_me: failed program was:" >&5
31859 sed 's/^/| /' conftest.$ac_ext >&5
31860
31861 echo "$as_me:$LINENO: result: no" >&5
31862 echo "${ECHO_T}no" >&6
31863 fi
31864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
31865 fi
31866
31867 ac_ext=c
31868 ac_cpp='$CPP $CPPFLAGS'
31869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31872
31873
31874
31875
31876 if test "$TOOLKIT" != "MSW"; then
31877
31878
31879
31880
31881 ac_ext=cc
31882 ac_cpp='$CXXCPP $CPPFLAGS'
31883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31886
31887
31888
31889
31890 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31891 if test "${with_libiconv_prefix+set}" = set; then
31892 withval="$with_libiconv_prefix"
31893
31894 for dir in `echo "$withval" | tr : ' '`; do
31895 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
31896 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
31897 done
31898
31899 fi;
31900
31901 echo "$as_me:$LINENO: checking for iconv" >&5
31902 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31903 if test "${am_cv_func_iconv+set}" = set; then
31904 echo $ECHO_N "(cached) $ECHO_C" >&6
31905 else
31906
31907 am_cv_func_iconv="no, consider installing GNU libiconv"
31908 am_cv_lib_iconv=no
31909 cat >conftest.$ac_ext <<_ACEOF
31910 /* confdefs.h. */
31911 _ACEOF
31912 cat confdefs.h >>conftest.$ac_ext
31913 cat >>conftest.$ac_ext <<_ACEOF
31914 /* end confdefs.h. */
31915 #include <stdlib.h>
31916 #include <iconv.h>
31917 int
31918 main ()
31919 {
31920 iconv_t cd = iconv_open("","");
31921 iconv(cd,NULL,NULL,NULL,NULL);
31922 iconv_close(cd);
31923 ;
31924 return 0;
31925 }
31926 _ACEOF
31927 rm -f conftest.$ac_objext conftest$ac_exeext
31928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31929 (eval $ac_link) 2>conftest.er1
31930 ac_status=$?
31931 grep -v '^ *+' conftest.er1 >conftest.err
31932 rm -f conftest.er1
31933 cat conftest.err >&5
31934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31935 (exit $ac_status); } &&
31936 { ac_try='test -z "$ac_cxx_werror_flag"
31937 || test ! -s conftest.err'
31938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31939 (eval $ac_try) 2>&5
31940 ac_status=$?
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); }; } &&
31943 { ac_try='test -s conftest$ac_exeext'
31944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31945 (eval $ac_try) 2>&5
31946 ac_status=$?
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); }; }; then
31949 am_cv_func_iconv=yes
31950 else
31951 echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.$ac_ext >&5
31953
31954 fi
31955 rm -f conftest.err conftest.$ac_objext \
31956 conftest$ac_exeext conftest.$ac_ext
31957 if test "$am_cv_func_iconv" != yes; then
31958 am_save_LIBS="$LIBS"
31959 LIBS="$LIBS -liconv"
31960 cat >conftest.$ac_ext <<_ACEOF
31961 /* confdefs.h. */
31962 _ACEOF
31963 cat confdefs.h >>conftest.$ac_ext
31964 cat >>conftest.$ac_ext <<_ACEOF
31965 /* end confdefs.h. */
31966 #include <stdlib.h>
31967 #include <iconv.h>
31968 int
31969 main ()
31970 {
31971 iconv_t cd = iconv_open("","");
31972 iconv(cd,NULL,NULL,NULL,NULL);
31973 iconv_close(cd);
31974 ;
31975 return 0;
31976 }
31977 _ACEOF
31978 rm -f conftest.$ac_objext conftest$ac_exeext
31979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31980 (eval $ac_link) 2>conftest.er1
31981 ac_status=$?
31982 grep -v '^ *+' conftest.er1 >conftest.err
31983 rm -f conftest.er1
31984 cat conftest.err >&5
31985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31986 (exit $ac_status); } &&
31987 { ac_try='test -z "$ac_cxx_werror_flag"
31988 || test ! -s conftest.err'
31989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31990 (eval $ac_try) 2>&5
31991 ac_status=$?
31992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31993 (exit $ac_status); }; } &&
31994 { ac_try='test -s conftest$ac_exeext'
31995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31996 (eval $ac_try) 2>&5
31997 ac_status=$?
31998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31999 (exit $ac_status); }; }; then
32000 am_cv_lib_iconv=yes
32001 am_cv_func_iconv=yes
32002 else
32003 echo "$as_me: failed program was:" >&5
32004 sed 's/^/| /' conftest.$ac_ext >&5
32005
32006 fi
32007 rm -f conftest.err conftest.$ac_objext \
32008 conftest$ac_exeext conftest.$ac_ext
32009 LIBS="$am_save_LIBS"
32010 fi
32011
32012 fi
32013 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
32014 echo "${ECHO_T}$am_cv_func_iconv" >&6
32015 if test "$am_cv_func_iconv" = yes; then
32016
32017 cat >>confdefs.h <<\_ACEOF
32018 #define HAVE_ICONV 1
32019 _ACEOF
32020
32021 echo "$as_me:$LINENO: checking if iconv needs const" >&5
32022 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
32023 if test "${wx_cv_func_iconv_const+set}" = set; then
32024 echo $ECHO_N "(cached) $ECHO_C" >&6
32025 else
32026 cat >conftest.$ac_ext <<_ACEOF
32027 /* confdefs.h. */
32028 _ACEOF
32029 cat confdefs.h >>conftest.$ac_ext
32030 cat >>conftest.$ac_ext <<_ACEOF
32031 /* end confdefs.h. */
32032
32033 #include <stdlib.h>
32034 #include <iconv.h>
32035 extern
32036 #ifdef __cplusplus
32037 "C"
32038 #endif
32039 #if defined(__STDC__) || defined(__cplusplus)
32040 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
32041 #else
32042 size_t iconv();
32043 #endif
32044
32045 int
32046 main ()
32047 {
32048
32049 ;
32050 return 0;
32051 }
32052 _ACEOF
32053 rm -f conftest.$ac_objext
32054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32055 (eval $ac_compile) 2>conftest.er1
32056 ac_status=$?
32057 grep -v '^ *+' conftest.er1 >conftest.err
32058 rm -f conftest.er1
32059 cat conftest.err >&5
32060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32061 (exit $ac_status); } &&
32062 { ac_try='test -z "$ac_cxx_werror_flag"
32063 || test ! -s conftest.err'
32064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32065 (eval $ac_try) 2>&5
32066 ac_status=$?
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); }; } &&
32069 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
32075 wx_cv_func_iconv_const="no"
32076 else
32077 echo "$as_me: failed program was:" >&5
32078 sed 's/^/| /' conftest.$ac_ext >&5
32079
32080 wx_cv_func_iconv_const="yes"
32081
32082 fi
32083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32084
32085 fi
32086 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
32087 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
32088
32089 iconv_const=
32090 if test "x$wx_cv_func_iconv_const" = "xyes"; then
32091 iconv_const="const"
32092 fi
32093
32094
32095 cat >>confdefs.h <<_ACEOF
32096 #define ICONV_CONST $iconv_const
32097 _ACEOF
32098
32099 fi
32100 LIBICONV=
32101 if test "$am_cv_lib_iconv" = yes; then
32102 LIBICONV="-liconv"
32103 fi
32104
32105
32106 LIBS="$LIBICONV $LIBS"
32107 ac_ext=c
32108 ac_cpp='$CPP $CPPFLAGS'
32109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32112
32113
32114 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32115
32116 for ac_func in sigaction
32117 do
32118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32119 echo "$as_me:$LINENO: checking for $ac_func" >&5
32120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32121 if eval "test \"\${$as_ac_var+set}\" = set"; then
32122 echo $ECHO_N "(cached) $ECHO_C" >&6
32123 else
32124 cat >conftest.$ac_ext <<_ACEOF
32125 /* confdefs.h. */
32126 _ACEOF
32127 cat confdefs.h >>conftest.$ac_ext
32128 cat >>conftest.$ac_ext <<_ACEOF
32129 /* end confdefs.h. */
32130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32132 #define $ac_func innocuous_$ac_func
32133
32134 /* System header to define __stub macros and hopefully few prototypes,
32135 which can conflict with char $ac_func (); below.
32136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32137 <limits.h> exists even on freestanding compilers. */
32138
32139 #ifdef __STDC__
32140 # include <limits.h>
32141 #else
32142 # include <assert.h>
32143 #endif
32144
32145 #undef $ac_func
32146
32147 /* Override any gcc2 internal prototype to avoid an error. */
32148 #ifdef __cplusplus
32149 extern "C"
32150 {
32151 #endif
32152 /* We use char because int might match the return type of a gcc2
32153 builtin and then its argument prototype would still apply. */
32154 char $ac_func ();
32155 /* The GNU C library defines this for functions which it implements
32156 to always fail with ENOSYS. Some functions are actually named
32157 something starting with __ and the normal name is an alias. */
32158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32159 choke me
32160 #else
32161 char (*f) () = $ac_func;
32162 #endif
32163 #ifdef __cplusplus
32164 }
32165 #endif
32166
32167 int
32168 main ()
32169 {
32170 return f != $ac_func;
32171 ;
32172 return 0;
32173 }
32174 _ACEOF
32175 rm -f conftest.$ac_objext conftest$ac_exeext
32176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32177 (eval $ac_link) 2>conftest.er1
32178 ac_status=$?
32179 grep -v '^ *+' conftest.er1 >conftest.err
32180 rm -f conftest.er1
32181 cat conftest.err >&5
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); } &&
32184 { ac_try='test -z "$ac_c_werror_flag"
32185 || test ! -s conftest.err'
32186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32187 (eval $ac_try) 2>&5
32188 ac_status=$?
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); }; } &&
32191 { ac_try='test -s conftest$ac_exeext'
32192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32193 (eval $ac_try) 2>&5
32194 ac_status=$?
32195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32196 (exit $ac_status); }; }; then
32197 eval "$as_ac_var=yes"
32198 else
32199 echo "$as_me: failed program was:" >&5
32200 sed 's/^/| /' conftest.$ac_ext >&5
32201
32202 eval "$as_ac_var=no"
32203 fi
32204 rm -f conftest.err conftest.$ac_objext \
32205 conftest$ac_exeext conftest.$ac_ext
32206 fi
32207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32209 if test `eval echo '${'$as_ac_var'}'` = yes; then
32210 cat >>confdefs.h <<_ACEOF
32211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32212 _ACEOF
32213
32214 fi
32215 done
32216
32217
32218 if test "$ac_cv_func_sigaction" = "no"; then
32219 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
32220 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
32221 wxUSE_ON_FATAL_EXCEPTION=no
32222 fi
32223
32224 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32225
32226
32227 ac_ext=cc
32228 ac_cpp='$CXXCPP $CPPFLAGS'
32229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32232
32233
32234 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32235 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32236 if test "${wx_cv_type_sa_handler+set}" = set; then
32237 echo $ECHO_N "(cached) $ECHO_C" >&6
32238 else
32239
32240 cat >conftest.$ac_ext <<_ACEOF
32241 /* confdefs.h. */
32242 _ACEOF
32243 cat confdefs.h >>conftest.$ac_ext
32244 cat >>conftest.$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32246 #include <signal.h>
32247 int
32248 main ()
32249 {
32250
32251 extern void testSigHandler(int);
32252
32253 struct sigaction sa;
32254 sa.sa_handler = testSigHandler;
32255
32256 ;
32257 return 0;
32258 }
32259 _ACEOF
32260 rm -f conftest.$ac_objext
32261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32262 (eval $ac_compile) 2>conftest.er1
32263 ac_status=$?
32264 grep -v '^ *+' conftest.er1 >conftest.err
32265 rm -f conftest.er1
32266 cat conftest.err >&5
32267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32268 (exit $ac_status); } &&
32269 { ac_try='test -z "$ac_cxx_werror_flag"
32270 || test ! -s conftest.err'
32271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32272 (eval $ac_try) 2>&5
32273 ac_status=$?
32274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32275 (exit $ac_status); }; } &&
32276 { ac_try='test -s conftest.$ac_objext'
32277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32278 (eval $ac_try) 2>&5
32279 ac_status=$?
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); }; }; then
32282
32283 wx_cv_type_sa_handler=int
32284
32285 else
32286 echo "$as_me: failed program was:" >&5
32287 sed 's/^/| /' conftest.$ac_ext >&5
32288
32289
32290 wx_cv_type_sa_handler=void
32291
32292 fi
32293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32294
32295 fi
32296 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32297 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32298
32299 ac_ext=c
32300 ac_cpp='$CPP $CPPFLAGS'
32301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32304
32305
32306 cat >>confdefs.h <<_ACEOF
32307 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32308 _ACEOF
32309
32310 fi
32311 fi
32312
32313 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32314
32315
32316 ac_ext=cc
32317 ac_cpp='$CXXCPP $CPPFLAGS'
32318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32321
32322
32323 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32324 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32325 if test "${wx_cv_func_backtrace+set}" = set; then
32326 echo $ECHO_N "(cached) $ECHO_C" >&6
32327 else
32328
32329 cat >conftest.$ac_ext <<_ACEOF
32330 /* confdefs.h. */
32331 _ACEOF
32332 cat confdefs.h >>conftest.$ac_ext
32333 cat >>conftest.$ac_ext <<_ACEOF
32334 /* end confdefs.h. */
32335 #include <execinfo.h>
32336 int
32337 main ()
32338 {
32339
32340 void *trace[1];
32341 char **messages;
32342
32343 backtrace(trace, 1);
32344 messages = backtrace_symbols(trace, 1);
32345
32346 ;
32347 return 0;
32348 }
32349 _ACEOF
32350 rm -f conftest.$ac_objext
32351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32352 (eval $ac_compile) 2>conftest.er1
32353 ac_status=$?
32354 grep -v '^ *+' conftest.er1 >conftest.err
32355 rm -f conftest.er1
32356 cat conftest.err >&5
32357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32358 (exit $ac_status); } &&
32359 { ac_try='test -z "$ac_cxx_werror_flag"
32360 || test ! -s conftest.err'
32361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32362 (eval $ac_try) 2>&5
32363 ac_status=$?
32364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32365 (exit $ac_status); }; } &&
32366 { ac_try='test -s conftest.$ac_objext'
32367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32368 (eval $ac_try) 2>&5
32369 ac_status=$?
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); }; }; then
32372 wx_cv_func_backtrace=yes
32373 else
32374 echo "$as_me: failed program was:" >&5
32375 sed 's/^/| /' conftest.$ac_ext >&5
32376
32377 wx_cv_func_backtrace=no
32378
32379 fi
32380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32381
32382
32383 fi
32384 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
32385 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
32386
32387
32388 if test "$wx_cv_func_backtrace" = "no"; then
32389 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
32390 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
32391 wxUSE_STACKWALKER=no
32392 else
32393 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
32394 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
32395 if test "${wx_cv_func_cxa_demangle+set}" = set; then
32396 echo $ECHO_N "(cached) $ECHO_C" >&6
32397 else
32398
32399 cat >conftest.$ac_ext <<_ACEOF
32400 /* confdefs.h. */
32401 _ACEOF
32402 cat confdefs.h >>conftest.$ac_ext
32403 cat >>conftest.$ac_ext <<_ACEOF
32404 /* end confdefs.h. */
32405 #include <cxxabi.h>
32406 int
32407 main ()
32408 {
32409
32410 int rc;
32411 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
32412
32413 ;
32414 return 0;
32415 }
32416 _ACEOF
32417 rm -f conftest.$ac_objext conftest$ac_exeext
32418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32419 (eval $ac_link) 2>conftest.er1
32420 ac_status=$?
32421 grep -v '^ *+' conftest.er1 >conftest.err
32422 rm -f conftest.er1
32423 cat conftest.err >&5
32424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32425 (exit $ac_status); } &&
32426 { ac_try='test -z "$ac_cxx_werror_flag"
32427 || test ! -s conftest.err'
32428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32429 (eval $ac_try) 2>&5
32430 ac_status=$?
32431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32432 (exit $ac_status); }; } &&
32433 { ac_try='test -s conftest$ac_exeext'
32434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32435 (eval $ac_try) 2>&5
32436 ac_status=$?
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); }; }; then
32439 wx_cv_func_cxa_demangle=yes
32440 else
32441 echo "$as_me: failed program was:" >&5
32442 sed 's/^/| /' conftest.$ac_ext >&5
32443
32444 wx_cv_func_cxa_demangle=no
32445
32446 fi
32447 rm -f conftest.err conftest.$ac_objext \
32448 conftest$ac_exeext conftest.$ac_ext
32449
32450
32451 fi
32452 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
32453 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
32454
32455 if test "$wx_cv_func_cxa_demangle" = "yes"; then
32456 cat >>confdefs.h <<\_ACEOF
32457 #define HAVE_CXA_DEMANGLE 1
32458 _ACEOF
32459
32460 fi
32461 fi
32462
32463 ac_ext=c
32464 ac_cpp='$CPP $CPPFLAGS'
32465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32468
32469 fi
32470
32471 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
32472 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
32473 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
32474 wxUSE_STACKWALKER=no
32475 fi
32476
32477
32478
32479
32480 for ac_func in mkstemp mktemp
32481 do
32482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32483 echo "$as_me:$LINENO: checking for $ac_func" >&5
32484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32485 if eval "test \"\${$as_ac_var+set}\" = set"; then
32486 echo $ECHO_N "(cached) $ECHO_C" >&6
32487 else
32488 cat >conftest.$ac_ext <<_ACEOF
32489 /* confdefs.h. */
32490 _ACEOF
32491 cat confdefs.h >>conftest.$ac_ext
32492 cat >>conftest.$ac_ext <<_ACEOF
32493 /* end confdefs.h. */
32494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32496 #define $ac_func innocuous_$ac_func
32497
32498 /* System header to define __stub macros and hopefully few prototypes,
32499 which can conflict with char $ac_func (); below.
32500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32501 <limits.h> exists even on freestanding compilers. */
32502
32503 #ifdef __STDC__
32504 # include <limits.h>
32505 #else
32506 # include <assert.h>
32507 #endif
32508
32509 #undef $ac_func
32510
32511 /* Override any gcc2 internal prototype to avoid an error. */
32512 #ifdef __cplusplus
32513 extern "C"
32514 {
32515 #endif
32516 /* We use char because int might match the return type of a gcc2
32517 builtin and then its argument prototype would still apply. */
32518 char $ac_func ();
32519 /* The GNU C library defines this for functions which it implements
32520 to always fail with ENOSYS. Some functions are actually named
32521 something starting with __ and the normal name is an alias. */
32522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32523 choke me
32524 #else
32525 char (*f) () = $ac_func;
32526 #endif
32527 #ifdef __cplusplus
32528 }
32529 #endif
32530
32531 int
32532 main ()
32533 {
32534 return f != $ac_func;
32535 ;
32536 return 0;
32537 }
32538 _ACEOF
32539 rm -f conftest.$ac_objext conftest$ac_exeext
32540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32541 (eval $ac_link) 2>conftest.er1
32542 ac_status=$?
32543 grep -v '^ *+' conftest.er1 >conftest.err
32544 rm -f conftest.er1
32545 cat conftest.err >&5
32546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32547 (exit $ac_status); } &&
32548 { ac_try='test -z "$ac_c_werror_flag"
32549 || test ! -s conftest.err'
32550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32551 (eval $ac_try) 2>&5
32552 ac_status=$?
32553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32554 (exit $ac_status); }; } &&
32555 { ac_try='test -s conftest$ac_exeext'
32556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32557 (eval $ac_try) 2>&5
32558 ac_status=$?
32559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32560 (exit $ac_status); }; }; then
32561 eval "$as_ac_var=yes"
32562 else
32563 echo "$as_me: failed program was:" >&5
32564 sed 's/^/| /' conftest.$ac_ext >&5
32565
32566 eval "$as_ac_var=no"
32567 fi
32568 rm -f conftest.err conftest.$ac_objext \
32569 conftest$ac_exeext conftest.$ac_ext
32570 fi
32571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32573 if test `eval echo '${'$as_ac_var'}'` = yes; then
32574 cat >>confdefs.h <<_ACEOF
32575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32576 _ACEOF
32577 break
32578 fi
32579 done
32580
32581
32582 echo "$as_me:$LINENO: checking for statfs" >&5
32583 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
32584 if test "${wx_cv_func_statfs+set}" = set; then
32585 echo $ECHO_N "(cached) $ECHO_C" >&6
32586 else
32587 cat >conftest.$ac_ext <<_ACEOF
32588 /* confdefs.h. */
32589 _ACEOF
32590 cat confdefs.h >>conftest.$ac_ext
32591 cat >>conftest.$ac_ext <<_ACEOF
32592 /* end confdefs.h. */
32593
32594 #if defined(__BSD__)
32595 #include <sys/param.h>
32596 #include <sys/mount.h>
32597 #else
32598 #include <sys/vfs.h>
32599 #endif
32600
32601 int
32602 main ()
32603 {
32604
32605 long l;
32606 struct statfs fs;
32607 statfs("/", &fs);
32608 l = fs.f_bsize;
32609 l += fs.f_blocks;
32610 l += fs.f_bavail;
32611
32612 ;
32613 return 0;
32614 }
32615 _ACEOF
32616 rm -f conftest.$ac_objext
32617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32618 (eval $ac_compile) 2>conftest.er1
32619 ac_status=$?
32620 grep -v '^ *+' conftest.er1 >conftest.err
32621 rm -f conftest.er1
32622 cat conftest.err >&5
32623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32624 (exit $ac_status); } &&
32625 { ac_try='test -z "$ac_c_werror_flag"
32626 || test ! -s conftest.err'
32627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32628 (eval $ac_try) 2>&5
32629 ac_status=$?
32630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32631 (exit $ac_status); }; } &&
32632 { ac_try='test -s conftest.$ac_objext'
32633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32634 (eval $ac_try) 2>&5
32635 ac_status=$?
32636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32637 (exit $ac_status); }; }; then
32638
32639 wx_cv_func_statfs=yes
32640
32641 else
32642 echo "$as_me: failed program was:" >&5
32643 sed 's/^/| /' conftest.$ac_ext >&5
32644
32645
32646 wx_cv_func_statfs=no
32647
32648
32649 fi
32650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32651
32652 fi
32653 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32654 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32655
32656 if test "$wx_cv_func_statfs" = "yes"; then
32657 wx_cv_type_statvfs_t="struct statfs"
32658 cat >>confdefs.h <<\_ACEOF
32659 #define HAVE_STATFS 1
32660 _ACEOF
32661
32662 else
32663 echo "$as_me:$LINENO: checking for statvfs" >&5
32664 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32665 if test "${wx_cv_func_statvfs+set}" = set; then
32666 echo $ECHO_N "(cached) $ECHO_C" >&6
32667 else
32668 cat >conftest.$ac_ext <<_ACEOF
32669 /* confdefs.h. */
32670 _ACEOF
32671 cat confdefs.h >>conftest.$ac_ext
32672 cat >>conftest.$ac_ext <<_ACEOF
32673 /* end confdefs.h. */
32674
32675 #include <stddef.h>
32676 #include <sys/statvfs.h>
32677
32678 int
32679 main ()
32680 {
32681
32682 statvfs("/", NULL);
32683
32684 ;
32685 return 0;
32686 }
32687 _ACEOF
32688 rm -f conftest.$ac_objext
32689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32690 (eval $ac_compile) 2>conftest.er1
32691 ac_status=$?
32692 grep -v '^ *+' conftest.er1 >conftest.err
32693 rm -f conftest.er1
32694 cat conftest.err >&5
32695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32696 (exit $ac_status); } &&
32697 { ac_try='test -z "$ac_c_werror_flag"
32698 || test ! -s conftest.err'
32699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32700 (eval $ac_try) 2>&5
32701 ac_status=$?
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); }; } &&
32704 { ac_try='test -s conftest.$ac_objext'
32705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32706 (eval $ac_try) 2>&5
32707 ac_status=$?
32708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32709 (exit $ac_status); }; }; then
32710 wx_cv_func_statvfs=yes
32711 else
32712 echo "$as_me: failed program was:" >&5
32713 sed 's/^/| /' conftest.$ac_ext >&5
32714
32715 wx_cv_func_statvfs=no
32716
32717 fi
32718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32719
32720 fi
32721 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32722 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32723
32724 if test "$wx_cv_func_statvfs" = "yes"; then
32725
32726
32727 ac_ext=cc
32728 ac_cpp='$CXXCPP $CPPFLAGS'
32729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32732
32733
32734 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32735 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32736 if test "${wx_cv_type_statvfs_t+set}" = set; then
32737 echo $ECHO_N "(cached) $ECHO_C" >&6
32738 else
32739 cat >conftest.$ac_ext <<_ACEOF
32740 /* confdefs.h. */
32741 _ACEOF
32742 cat confdefs.h >>conftest.$ac_ext
32743 cat >>conftest.$ac_ext <<_ACEOF
32744 /* end confdefs.h. */
32745
32746 #include <sys/statvfs.h>
32747
32748 int
32749 main ()
32750 {
32751
32752 long l;
32753 statvfs_t fs;
32754 statvfs("/", &fs);
32755 l = fs.f_bsize;
32756 l += fs.f_blocks;
32757 l += fs.f_bavail;
32758
32759 ;
32760 return 0;
32761 }
32762 _ACEOF
32763 rm -f conftest.$ac_objext
32764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32765 (eval $ac_compile) 2>conftest.er1
32766 ac_status=$?
32767 grep -v '^ *+' conftest.er1 >conftest.err
32768 rm -f conftest.er1
32769 cat conftest.err >&5
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); } &&
32772 { ac_try='test -z "$ac_cxx_werror_flag"
32773 || test ! -s conftest.err'
32774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32775 (eval $ac_try) 2>&5
32776 ac_status=$?
32777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32778 (exit $ac_status); }; } &&
32779 { ac_try='test -s conftest.$ac_objext'
32780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32781 (eval $ac_try) 2>&5
32782 ac_status=$?
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); }; }; then
32785 wx_cv_type_statvfs_t=statvfs_t
32786 else
32787 echo "$as_me: failed program was:" >&5
32788 sed 's/^/| /' conftest.$ac_ext >&5
32789
32790
32791 cat >conftest.$ac_ext <<_ACEOF
32792 /* confdefs.h. */
32793 _ACEOF
32794 cat confdefs.h >>conftest.$ac_ext
32795 cat >>conftest.$ac_ext <<_ACEOF
32796 /* end confdefs.h. */
32797
32798 #include <sys/statvfs.h>
32799
32800 int
32801 main ()
32802 {
32803
32804 long l;
32805 struct statvfs fs;
32806 statvfs("/", &fs);
32807 l = fs.f_bsize;
32808 l += fs.f_blocks;
32809 l += fs.f_bavail;
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"
32825 || test ! -s conftest.err'
32826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32827 (eval $ac_try) 2>&5
32828 ac_status=$?
32829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32830 (exit $ac_status); }; } &&
32831 { ac_try='test -s conftest.$ac_objext'
32832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32833 (eval $ac_try) 2>&5
32834 ac_status=$?
32835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32836 (exit $ac_status); }; }; then
32837 wx_cv_type_statvfs_t="struct statvfs"
32838 else
32839 echo "$as_me: failed program was:" >&5
32840 sed 's/^/| /' conftest.$ac_ext >&5
32841
32842 wx_cv_type_statvfs_t="unknown"
32843
32844 fi
32845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32846
32847
32848 fi
32849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32850
32851 fi
32852 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32853 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32854
32855 ac_ext=c
32856 ac_cpp='$CPP $CPPFLAGS'
32857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32860
32861
32862 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32863 cat >>confdefs.h <<\_ACEOF
32864 #define HAVE_STATVFS 1
32865 _ACEOF
32866
32867 fi
32868 else
32869 wx_cv_type_statvfs_t="unknown"
32870 fi
32871 fi
32872
32873 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32874 cat >>confdefs.h <<_ACEOF
32875 #define WX_STATFS_T $wx_cv_type_statvfs_t
32876 _ACEOF
32877
32878 else
32879 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32880 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32881 fi
32882
32883 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32884
32885
32886 for ac_func in fcntl flock
32887 do
32888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32889 echo "$as_me:$LINENO: checking for $ac_func" >&5
32890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32891 if eval "test \"\${$as_ac_var+set}\" = set"; then
32892 echo $ECHO_N "(cached) $ECHO_C" >&6
32893 else
32894 cat >conftest.$ac_ext <<_ACEOF
32895 /* confdefs.h. */
32896 _ACEOF
32897 cat confdefs.h >>conftest.$ac_ext
32898 cat >>conftest.$ac_ext <<_ACEOF
32899 /* end confdefs.h. */
32900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32902 #define $ac_func innocuous_$ac_func
32903
32904 /* System header to define __stub macros and hopefully few prototypes,
32905 which can conflict with char $ac_func (); below.
32906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32907 <limits.h> exists even on freestanding compilers. */
32908
32909 #ifdef __STDC__
32910 # include <limits.h>
32911 #else
32912 # include <assert.h>
32913 #endif
32914
32915 #undef $ac_func
32916
32917 /* Override any gcc2 internal prototype to avoid an error. */
32918 #ifdef __cplusplus
32919 extern "C"
32920 {
32921 #endif
32922 /* We use char because int might match the return type of a gcc2
32923 builtin and then its argument prototype would still apply. */
32924 char $ac_func ();
32925 /* The GNU C library defines this for functions which it implements
32926 to always fail with ENOSYS. Some functions are actually named
32927 something starting with __ and the normal name is an alias. */
32928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32929 choke me
32930 #else
32931 char (*f) () = $ac_func;
32932 #endif
32933 #ifdef __cplusplus
32934 }
32935 #endif
32936
32937 int
32938 main ()
32939 {
32940 return f != $ac_func;
32941 ;
32942 return 0;
32943 }
32944 _ACEOF
32945 rm -f conftest.$ac_objext conftest$ac_exeext
32946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32947 (eval $ac_link) 2>conftest.er1
32948 ac_status=$?
32949 grep -v '^ *+' conftest.er1 >conftest.err
32950 rm -f conftest.er1
32951 cat conftest.err >&5
32952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32953 (exit $ac_status); } &&
32954 { ac_try='test -z "$ac_c_werror_flag"
32955 || test ! -s conftest.err'
32956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32957 (eval $ac_try) 2>&5
32958 ac_status=$?
32959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32960 (exit $ac_status); }; } &&
32961 { ac_try='test -s conftest$ac_exeext'
32962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32963 (eval $ac_try) 2>&5
32964 ac_status=$?
32965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32966 (exit $ac_status); }; }; then
32967 eval "$as_ac_var=yes"
32968 else
32969 echo "$as_me: failed program was:" >&5
32970 sed 's/^/| /' conftest.$ac_ext >&5
32971
32972 eval "$as_ac_var=no"
32973 fi
32974 rm -f conftest.err conftest.$ac_objext \
32975 conftest$ac_exeext conftest.$ac_ext
32976 fi
32977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32979 if test `eval echo '${'$as_ac_var'}'` = yes; then
32980 cat >>confdefs.h <<_ACEOF
32981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32982 _ACEOF
32983 break
32984 fi
32985 done
32986
32987
32988 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32989 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32990 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32991 wxUSE_SNGLINST_CHECKER=no
32992 fi
32993 fi
32994
32995
32996 for ac_func in timegm
32997 do
32998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32999 echo "$as_me:$LINENO: checking for $ac_func" >&5
33000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33001 if eval "test \"\${$as_ac_var+set}\" = set"; then
33002 echo $ECHO_N "(cached) $ECHO_C" >&6
33003 else
33004 cat >conftest.$ac_ext <<_ACEOF
33005 /* confdefs.h. */
33006 _ACEOF
33007 cat confdefs.h >>conftest.$ac_ext
33008 cat >>conftest.$ac_ext <<_ACEOF
33009 /* end confdefs.h. */
33010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33012 #define $ac_func innocuous_$ac_func
33013
33014 /* System header to define __stub macros and hopefully few prototypes,
33015 which can conflict with char $ac_func (); below.
33016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33017 <limits.h> exists even on freestanding compilers. */
33018
33019 #ifdef __STDC__
33020 # include <limits.h>
33021 #else
33022 # include <assert.h>
33023 #endif
33024
33025 #undef $ac_func
33026
33027 /* Override any gcc2 internal prototype to avoid an error. */
33028 #ifdef __cplusplus
33029 extern "C"
33030 {
33031 #endif
33032 /* We use char because int might match the return type of a gcc2
33033 builtin and then its argument prototype would still apply. */
33034 char $ac_func ();
33035 /* The GNU C library defines this for functions which it implements
33036 to always fail with ENOSYS. Some functions are actually named
33037 something starting with __ and the normal name is an alias. */
33038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33039 choke me
33040 #else
33041 char (*f) () = $ac_func;
33042 #endif
33043 #ifdef __cplusplus
33044 }
33045 #endif
33046
33047 int
33048 main ()
33049 {
33050 return f != $ac_func;
33051 ;
33052 return 0;
33053 }
33054 _ACEOF
33055 rm -f conftest.$ac_objext conftest$ac_exeext
33056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33057 (eval $ac_link) 2>conftest.er1
33058 ac_status=$?
33059 grep -v '^ *+' conftest.er1 >conftest.err
33060 rm -f conftest.er1
33061 cat conftest.err >&5
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); } &&
33064 { ac_try='test -z "$ac_c_werror_flag"
33065 || test ! -s conftest.err'
33066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33067 (eval $ac_try) 2>&5
33068 ac_status=$?
33069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33070 (exit $ac_status); }; } &&
33071 { ac_try='test -s conftest$ac_exeext'
33072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33073 (eval $ac_try) 2>&5
33074 ac_status=$?
33075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33076 (exit $ac_status); }; }; then
33077 eval "$as_ac_var=yes"
33078 else
33079 echo "$as_me: failed program was:" >&5
33080 sed 's/^/| /' conftest.$ac_ext >&5
33081
33082 eval "$as_ac_var=no"
33083 fi
33084 rm -f conftest.err conftest.$ac_objext \
33085 conftest$ac_exeext conftest.$ac_ext
33086 fi
33087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33089 if test `eval echo '${'$as_ac_var'}'` = yes; then
33090 cat >>confdefs.h <<_ACEOF
33091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33092 _ACEOF
33093
33094 fi
33095 done
33096
33097
33098
33099
33100 for ac_func in putenv setenv
33101 do
33102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33103 echo "$as_me:$LINENO: checking for $ac_func" >&5
33104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33105 if eval "test \"\${$as_ac_var+set}\" = set"; then
33106 echo $ECHO_N "(cached) $ECHO_C" >&6
33107 else
33108 cat >conftest.$ac_ext <<_ACEOF
33109 /* confdefs.h. */
33110 _ACEOF
33111 cat confdefs.h >>conftest.$ac_ext
33112 cat >>conftest.$ac_ext <<_ACEOF
33113 /* end confdefs.h. */
33114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33116 #define $ac_func innocuous_$ac_func
33117
33118 /* System header to define __stub macros and hopefully few prototypes,
33119 which can conflict with char $ac_func (); below.
33120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33121 <limits.h> exists even on freestanding compilers. */
33122
33123 #ifdef __STDC__
33124 # include <limits.h>
33125 #else
33126 # include <assert.h>
33127 #endif
33128
33129 #undef $ac_func
33130
33131 /* Override any gcc2 internal prototype to avoid an error. */
33132 #ifdef __cplusplus
33133 extern "C"
33134 {
33135 #endif
33136 /* We use char because int might match the return type of a gcc2
33137 builtin and then its argument prototype would still apply. */
33138 char $ac_func ();
33139 /* The GNU C library defines this for functions which it implements
33140 to always fail with ENOSYS. Some functions are actually named
33141 something starting with __ and the normal name is an alias. */
33142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33143 choke me
33144 #else
33145 char (*f) () = $ac_func;
33146 #endif
33147 #ifdef __cplusplus
33148 }
33149 #endif
33150
33151 int
33152 main ()
33153 {
33154 return f != $ac_func;
33155 ;
33156 return 0;
33157 }
33158 _ACEOF
33159 rm -f conftest.$ac_objext conftest$ac_exeext
33160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33161 (eval $ac_link) 2>conftest.er1
33162 ac_status=$?
33163 grep -v '^ *+' conftest.er1 >conftest.err
33164 rm -f conftest.er1
33165 cat conftest.err >&5
33166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33167 (exit $ac_status); } &&
33168 { ac_try='test -z "$ac_c_werror_flag"
33169 || test ! -s conftest.err'
33170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33171 (eval $ac_try) 2>&5
33172 ac_status=$?
33173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33174 (exit $ac_status); }; } &&
33175 { ac_try='test -s conftest$ac_exeext'
33176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33177 (eval $ac_try) 2>&5
33178 ac_status=$?
33179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33180 (exit $ac_status); }; }; then
33181 eval "$as_ac_var=yes"
33182 else
33183 echo "$as_me: failed program was:" >&5
33184 sed 's/^/| /' conftest.$ac_ext >&5
33185
33186 eval "$as_ac_var=no"
33187 fi
33188 rm -f conftest.err conftest.$ac_objext \
33189 conftest$ac_exeext conftest.$ac_ext
33190 fi
33191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33193 if test `eval echo '${'$as_ac_var'}'` = yes; then
33194 cat >>confdefs.h <<_ACEOF
33195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33196 _ACEOF
33197 break
33198 fi
33199 done
33200
33201
33202 HAVE_SOME_SLEEP_FUNC=0
33203 if test "$USE_BEOS" = 1; then
33204 cat >>confdefs.h <<\_ACEOF
33205 #define HAVE_SLEEP 1
33206 _ACEOF
33207
33208 HAVE_SOME_SLEEP_FUNC=1
33209 fi
33210
33211 if test "$USE_DARWIN" = 1; then
33212 cat >>confdefs.h <<\_ACEOF
33213 #define HAVE_USLEEP 1
33214 _ACEOF
33215
33216 HAVE_SOME_SLEEP_FUNC=1
33217 fi
33218
33219 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
33220 POSIX4_LINK=
33221
33222 for ac_func in nanosleep
33223 do
33224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33225 echo "$as_me:$LINENO: checking for $ac_func" >&5
33226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33227 if eval "test \"\${$as_ac_var+set}\" = set"; then
33228 echo $ECHO_N "(cached) $ECHO_C" >&6
33229 else
33230 cat >conftest.$ac_ext <<_ACEOF
33231 /* confdefs.h. */
33232 _ACEOF
33233 cat confdefs.h >>conftest.$ac_ext
33234 cat >>conftest.$ac_ext <<_ACEOF
33235 /* end confdefs.h. */
33236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33238 #define $ac_func innocuous_$ac_func
33239
33240 /* System header to define __stub macros and hopefully few prototypes,
33241 which can conflict with char $ac_func (); below.
33242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33243 <limits.h> exists even on freestanding compilers. */
33244
33245 #ifdef __STDC__
33246 # include <limits.h>
33247 #else
33248 # include <assert.h>
33249 #endif
33250
33251 #undef $ac_func
33252
33253 /* Override any gcc2 internal prototype to avoid an error. */
33254 #ifdef __cplusplus
33255 extern "C"
33256 {
33257 #endif
33258 /* We use char because int might match the return type of a gcc2
33259 builtin and then its argument prototype would still apply. */
33260 char $ac_func ();
33261 /* The GNU C library defines this for functions which it implements
33262 to always fail with ENOSYS. Some functions are actually named
33263 something starting with __ and the normal name is an alias. */
33264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33265 choke me
33266 #else
33267 char (*f) () = $ac_func;
33268 #endif
33269 #ifdef __cplusplus
33270 }
33271 #endif
33272
33273 int
33274 main ()
33275 {
33276 return f != $ac_func;
33277 ;
33278 return 0;
33279 }
33280 _ACEOF
33281 rm -f conftest.$ac_objext conftest$ac_exeext
33282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33283 (eval $ac_link) 2>conftest.er1
33284 ac_status=$?
33285 grep -v '^ *+' conftest.er1 >conftest.err
33286 rm -f conftest.er1
33287 cat conftest.err >&5
33288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33289 (exit $ac_status); } &&
33290 { ac_try='test -z "$ac_c_werror_flag"
33291 || test ! -s conftest.err'
33292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33293 (eval $ac_try) 2>&5
33294 ac_status=$?
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); }; } &&
33297 { ac_try='test -s conftest$ac_exeext'
33298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33299 (eval $ac_try) 2>&5
33300 ac_status=$?
33301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302 (exit $ac_status); }; }; then
33303 eval "$as_ac_var=yes"
33304 else
33305 echo "$as_me: failed program was:" >&5
33306 sed 's/^/| /' conftest.$ac_ext >&5
33307
33308 eval "$as_ac_var=no"
33309 fi
33310 rm -f conftest.err conftest.$ac_objext \
33311 conftest$ac_exeext conftest.$ac_ext
33312 fi
33313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33315 if test `eval echo '${'$as_ac_var'}'` = yes; then
33316 cat >>confdefs.h <<_ACEOF
33317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33318 _ACEOF
33319 cat >>confdefs.h <<\_ACEOF
33320 #define HAVE_NANOSLEEP 1
33321 _ACEOF
33322
33323 else
33324
33325 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
33326 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
33327 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
33328 echo $ECHO_N "(cached) $ECHO_C" >&6
33329 else
33330 ac_check_lib_save_LIBS=$LIBS
33331 LIBS="-lposix4 $LIBS"
33332 cat >conftest.$ac_ext <<_ACEOF
33333 /* confdefs.h. */
33334 _ACEOF
33335 cat confdefs.h >>conftest.$ac_ext
33336 cat >>conftest.$ac_ext <<_ACEOF
33337 /* end confdefs.h. */
33338
33339 /* Override any gcc2 internal prototype to avoid an error. */
33340 #ifdef __cplusplus
33341 extern "C"
33342 #endif
33343 /* We use char because int might match the return type of a gcc2
33344 builtin and then its argument prototype would still apply. */
33345 char nanosleep ();
33346 int
33347 main ()
33348 {
33349 nanosleep ();
33350 ;
33351 return 0;
33352 }
33353 _ACEOF
33354 rm -f conftest.$ac_objext conftest$ac_exeext
33355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33356 (eval $ac_link) 2>conftest.er1
33357 ac_status=$?
33358 grep -v '^ *+' conftest.er1 >conftest.err
33359 rm -f conftest.er1
33360 cat conftest.err >&5
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); } &&
33363 { ac_try='test -z "$ac_c_werror_flag"
33364 || test ! -s conftest.err'
33365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33366 (eval $ac_try) 2>&5
33367 ac_status=$?
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); }; } &&
33370 { ac_try='test -s conftest$ac_exeext'
33371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33372 (eval $ac_try) 2>&5
33373 ac_status=$?
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); }; }; then
33376 ac_cv_lib_posix4_nanosleep=yes
33377 else
33378 echo "$as_me: failed program was:" >&5
33379 sed 's/^/| /' conftest.$ac_ext >&5
33380
33381 ac_cv_lib_posix4_nanosleep=no
33382 fi
33383 rm -f conftest.err conftest.$ac_objext \
33384 conftest$ac_exeext conftest.$ac_ext
33385 LIBS=$ac_check_lib_save_LIBS
33386 fi
33387 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
33388 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
33389 if test $ac_cv_lib_posix4_nanosleep = yes; then
33390
33391 cat >>confdefs.h <<\_ACEOF
33392 #define HAVE_NANOSLEEP 1
33393 _ACEOF
33394
33395 POSIX4_LINK=" -lposix4"
33396
33397 else
33398
33399
33400 for ac_func in usleep
33401 do
33402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33403 echo "$as_me:$LINENO: checking for $ac_func" >&5
33404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33405 if eval "test \"\${$as_ac_var+set}\" = set"; then
33406 echo $ECHO_N "(cached) $ECHO_C" >&6
33407 else
33408 cat >conftest.$ac_ext <<_ACEOF
33409 /* confdefs.h. */
33410 _ACEOF
33411 cat confdefs.h >>conftest.$ac_ext
33412 cat >>conftest.$ac_ext <<_ACEOF
33413 /* end confdefs.h. */
33414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33416 #define $ac_func innocuous_$ac_func
33417
33418 /* System header to define __stub macros and hopefully few prototypes,
33419 which can conflict with char $ac_func (); below.
33420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33421 <limits.h> exists even on freestanding compilers. */
33422
33423 #ifdef __STDC__
33424 # include <limits.h>
33425 #else
33426 # include <assert.h>
33427 #endif
33428
33429 #undef $ac_func
33430
33431 /* Override any gcc2 internal prototype to avoid an error. */
33432 #ifdef __cplusplus
33433 extern "C"
33434 {
33435 #endif
33436 /* We use char because int might match the return type of a gcc2
33437 builtin and then its argument prototype would still apply. */
33438 char $ac_func ();
33439 /* The GNU C library defines this for functions which it implements
33440 to always fail with ENOSYS. Some functions are actually named
33441 something starting with __ and the normal name is an alias. */
33442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33443 choke me
33444 #else
33445 char (*f) () = $ac_func;
33446 #endif
33447 #ifdef __cplusplus
33448 }
33449 #endif
33450
33451 int
33452 main ()
33453 {
33454 return f != $ac_func;
33455 ;
33456 return 0;
33457 }
33458 _ACEOF
33459 rm -f conftest.$ac_objext conftest$ac_exeext
33460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33461 (eval $ac_link) 2>conftest.er1
33462 ac_status=$?
33463 grep -v '^ *+' conftest.er1 >conftest.err
33464 rm -f conftest.er1
33465 cat conftest.err >&5
33466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33467 (exit $ac_status); } &&
33468 { ac_try='test -z "$ac_c_werror_flag"
33469 || test ! -s conftest.err'
33470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33471 (eval $ac_try) 2>&5
33472 ac_status=$?
33473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33474 (exit $ac_status); }; } &&
33475 { ac_try='test -s conftest$ac_exeext'
33476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33477 (eval $ac_try) 2>&5
33478 ac_status=$?
33479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33480 (exit $ac_status); }; }; then
33481 eval "$as_ac_var=yes"
33482 else
33483 echo "$as_me: failed program was:" >&5
33484 sed 's/^/| /' conftest.$ac_ext >&5
33485
33486 eval "$as_ac_var=no"
33487 fi
33488 rm -f conftest.err conftest.$ac_objext \
33489 conftest$ac_exeext conftest.$ac_ext
33490 fi
33491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33493 if test `eval echo '${'$as_ac_var'}'` = yes; then
33494 cat >>confdefs.h <<_ACEOF
33495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33496 _ACEOF
33497 cat >>confdefs.h <<\_ACEOF
33498 #define HAVE_USLEEP 1
33499 _ACEOF
33500
33501 else
33502 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
33503 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
33504
33505 fi
33506 done
33507
33508
33509
33510 fi
33511
33512
33513
33514 fi
33515 done
33516
33517 fi
33518
33519
33520
33521 for ac_func in uname gethostname
33522 do
33523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33524 echo "$as_me:$LINENO: checking for $ac_func" >&5
33525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33526 if eval "test \"\${$as_ac_var+set}\" = set"; then
33527 echo $ECHO_N "(cached) $ECHO_C" >&6
33528 else
33529 cat >conftest.$ac_ext <<_ACEOF
33530 /* confdefs.h. */
33531 _ACEOF
33532 cat confdefs.h >>conftest.$ac_ext
33533 cat >>conftest.$ac_ext <<_ACEOF
33534 /* end confdefs.h. */
33535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33537 #define $ac_func innocuous_$ac_func
33538
33539 /* System header to define __stub macros and hopefully few prototypes,
33540 which can conflict with char $ac_func (); below.
33541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33542 <limits.h> exists even on freestanding compilers. */
33543
33544 #ifdef __STDC__
33545 # include <limits.h>
33546 #else
33547 # include <assert.h>
33548 #endif
33549
33550 #undef $ac_func
33551
33552 /* Override any gcc2 internal prototype to avoid an error. */
33553 #ifdef __cplusplus
33554 extern "C"
33555 {
33556 #endif
33557 /* We use char because int might match the return type of a gcc2
33558 builtin and then its argument prototype would still apply. */
33559 char $ac_func ();
33560 /* The GNU C library defines this for functions which it implements
33561 to always fail with ENOSYS. Some functions are actually named
33562 something starting with __ and the normal name is an alias. */
33563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33564 choke me
33565 #else
33566 char (*f) () = $ac_func;
33567 #endif
33568 #ifdef __cplusplus
33569 }
33570 #endif
33571
33572 int
33573 main ()
33574 {
33575 return f != $ac_func;
33576 ;
33577 return 0;
33578 }
33579 _ACEOF
33580 rm -f conftest.$ac_objext conftest$ac_exeext
33581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33582 (eval $ac_link) 2>conftest.er1
33583 ac_status=$?
33584 grep -v '^ *+' conftest.er1 >conftest.err
33585 rm -f conftest.er1
33586 cat conftest.err >&5
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); } &&
33589 { ac_try='test -z "$ac_c_werror_flag"
33590 || test ! -s conftest.err'
33591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33592 (eval $ac_try) 2>&5
33593 ac_status=$?
33594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33595 (exit $ac_status); }; } &&
33596 { ac_try='test -s conftest$ac_exeext'
33597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33598 (eval $ac_try) 2>&5
33599 ac_status=$?
33600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33601 (exit $ac_status); }; }; then
33602 eval "$as_ac_var=yes"
33603 else
33604 echo "$as_me: failed program was:" >&5
33605 sed 's/^/| /' conftest.$ac_ext >&5
33606
33607 eval "$as_ac_var=no"
33608 fi
33609 rm -f conftest.err conftest.$ac_objext \
33610 conftest$ac_exeext conftest.$ac_ext
33611 fi
33612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33614 if test `eval echo '${'$as_ac_var'}'` = yes; then
33615 cat >>confdefs.h <<_ACEOF
33616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33617 _ACEOF
33618 break
33619 fi
33620 done
33621
33622
33623
33624
33625 ac_ext=cc
33626 ac_cpp='$CXXCPP $CPPFLAGS'
33627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33630
33631
33632
33633 for ac_func in strtok_r
33634 do
33635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33636 echo "$as_me:$LINENO: checking for $ac_func" >&5
33637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33638 if eval "test \"\${$as_ac_var+set}\" = set"; then
33639 echo $ECHO_N "(cached) $ECHO_C" >&6
33640 else
33641 cat >conftest.$ac_ext <<_ACEOF
33642 /* confdefs.h. */
33643 _ACEOF
33644 cat confdefs.h >>conftest.$ac_ext
33645 cat >>conftest.$ac_ext <<_ACEOF
33646 /* end confdefs.h. */
33647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33649 #define $ac_func innocuous_$ac_func
33650
33651 /* System header to define __stub macros and hopefully few prototypes,
33652 which can conflict with char $ac_func (); below.
33653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33654 <limits.h> exists even on freestanding compilers. */
33655
33656 #ifdef __STDC__
33657 # include <limits.h>
33658 #else
33659 # include <assert.h>
33660 #endif
33661
33662 #undef $ac_func
33663
33664 /* Override any gcc2 internal prototype to avoid an error. */
33665 #ifdef __cplusplus
33666 extern "C"
33667 {
33668 #endif
33669 /* We use char because int might match the return type of a gcc2
33670 builtin and then its argument prototype would still apply. */
33671 char $ac_func ();
33672 /* The GNU C library defines this for functions which it implements
33673 to always fail with ENOSYS. Some functions are actually named
33674 something starting with __ and the normal name is an alias. */
33675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33676 choke me
33677 #else
33678 char (*f) () = $ac_func;
33679 #endif
33680 #ifdef __cplusplus
33681 }
33682 #endif
33683
33684 int
33685 main ()
33686 {
33687 return f != $ac_func;
33688 ;
33689 return 0;
33690 }
33691 _ACEOF
33692 rm -f conftest.$ac_objext conftest$ac_exeext
33693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33694 (eval $ac_link) 2>conftest.er1
33695 ac_status=$?
33696 grep -v '^ *+' conftest.er1 >conftest.err
33697 rm -f conftest.er1
33698 cat conftest.err >&5
33699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33700 (exit $ac_status); } &&
33701 { ac_try='test -z "$ac_cxx_werror_flag"
33702 || test ! -s conftest.err'
33703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33704 (eval $ac_try) 2>&5
33705 ac_status=$?
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); }; } &&
33708 { ac_try='test -s conftest$ac_exeext'
33709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33710 (eval $ac_try) 2>&5
33711 ac_status=$?
33712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33713 (exit $ac_status); }; }; then
33714 eval "$as_ac_var=yes"
33715 else
33716 echo "$as_me: failed program was:" >&5
33717 sed 's/^/| /' conftest.$ac_ext >&5
33718
33719 eval "$as_ac_var=no"
33720 fi
33721 rm -f conftest.err conftest.$ac_objext \
33722 conftest$ac_exeext conftest.$ac_ext
33723 fi
33724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33726 if test `eval echo '${'$as_ac_var'}'` = yes; then
33727 cat >>confdefs.h <<_ACEOF
33728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33729 _ACEOF
33730
33731 fi
33732 done
33733
33734
33735 ac_ext=c
33736 ac_cpp='$CPP $CPPFLAGS'
33737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33740
33741
33742 INET_LINK=
33743
33744 for ac_func in inet_addr
33745 do
33746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33747 echo "$as_me:$LINENO: checking for $ac_func" >&5
33748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33749 if eval "test \"\${$as_ac_var+set}\" = set"; then
33750 echo $ECHO_N "(cached) $ECHO_C" >&6
33751 else
33752 cat >conftest.$ac_ext <<_ACEOF
33753 /* confdefs.h. */
33754 _ACEOF
33755 cat confdefs.h >>conftest.$ac_ext
33756 cat >>conftest.$ac_ext <<_ACEOF
33757 /* end confdefs.h. */
33758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33760 #define $ac_func innocuous_$ac_func
33761
33762 /* System header to define __stub macros and hopefully few prototypes,
33763 which can conflict with char $ac_func (); below.
33764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33765 <limits.h> exists even on freestanding compilers. */
33766
33767 #ifdef __STDC__
33768 # include <limits.h>
33769 #else
33770 # include <assert.h>
33771 #endif
33772
33773 #undef $ac_func
33774
33775 /* Override any gcc2 internal prototype to avoid an error. */
33776 #ifdef __cplusplus
33777 extern "C"
33778 {
33779 #endif
33780 /* We use char because int might match the return type of a gcc2
33781 builtin and then its argument prototype would still apply. */
33782 char $ac_func ();
33783 /* The GNU C library defines this for functions which it implements
33784 to always fail with ENOSYS. Some functions are actually named
33785 something starting with __ and the normal name is an alias. */
33786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33787 choke me
33788 #else
33789 char (*f) () = $ac_func;
33790 #endif
33791 #ifdef __cplusplus
33792 }
33793 #endif
33794
33795 int
33796 main ()
33797 {
33798 return f != $ac_func;
33799 ;
33800 return 0;
33801 }
33802 _ACEOF
33803 rm -f conftest.$ac_objext conftest$ac_exeext
33804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33805 (eval $ac_link) 2>conftest.er1
33806 ac_status=$?
33807 grep -v '^ *+' conftest.er1 >conftest.err
33808 rm -f conftest.er1
33809 cat conftest.err >&5
33810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33811 (exit $ac_status); } &&
33812 { ac_try='test -z "$ac_c_werror_flag"
33813 || test ! -s conftest.err'
33814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33815 (eval $ac_try) 2>&5
33816 ac_status=$?
33817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33818 (exit $ac_status); }; } &&
33819 { ac_try='test -s conftest$ac_exeext'
33820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33821 (eval $ac_try) 2>&5
33822 ac_status=$?
33823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33824 (exit $ac_status); }; }; then
33825 eval "$as_ac_var=yes"
33826 else
33827 echo "$as_me: failed program was:" >&5
33828 sed 's/^/| /' conftest.$ac_ext >&5
33829
33830 eval "$as_ac_var=no"
33831 fi
33832 rm -f conftest.err conftest.$ac_objext \
33833 conftest$ac_exeext conftest.$ac_ext
33834 fi
33835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33837 if test `eval echo '${'$as_ac_var'}'` = yes; then
33838 cat >>confdefs.h <<_ACEOF
33839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33840 _ACEOF
33841 cat >>confdefs.h <<\_ACEOF
33842 #define HAVE_INET_ADDR 1
33843 _ACEOF
33844
33845 else
33846
33847 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33848 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33849 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33850 echo $ECHO_N "(cached) $ECHO_C" >&6
33851 else
33852 ac_check_lib_save_LIBS=$LIBS
33853 LIBS="-lnsl $LIBS"
33854 cat >conftest.$ac_ext <<_ACEOF
33855 /* confdefs.h. */
33856 _ACEOF
33857 cat confdefs.h >>conftest.$ac_ext
33858 cat >>conftest.$ac_ext <<_ACEOF
33859 /* end confdefs.h. */
33860
33861 /* Override any gcc2 internal prototype to avoid an error. */
33862 #ifdef __cplusplus
33863 extern "C"
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 inet_addr ();
33868 int
33869 main ()
33870 {
33871 inet_addr ();
33872 ;
33873 return 0;
33874 }
33875 _ACEOF
33876 rm -f conftest.$ac_objext conftest$ac_exeext
33877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33878 (eval $ac_link) 2>conftest.er1
33879 ac_status=$?
33880 grep -v '^ *+' conftest.er1 >conftest.err
33881 rm -f conftest.er1
33882 cat conftest.err >&5
33883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33884 (exit $ac_status); } &&
33885 { ac_try='test -z "$ac_c_werror_flag"
33886 || test ! -s conftest.err'
33887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33888 (eval $ac_try) 2>&5
33889 ac_status=$?
33890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33891 (exit $ac_status); }; } &&
33892 { ac_try='test -s conftest$ac_exeext'
33893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33894 (eval $ac_try) 2>&5
33895 ac_status=$?
33896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33897 (exit $ac_status); }; }; then
33898 ac_cv_lib_nsl_inet_addr=yes
33899 else
33900 echo "$as_me: failed program was:" >&5
33901 sed 's/^/| /' conftest.$ac_ext >&5
33902
33903 ac_cv_lib_nsl_inet_addr=no
33904 fi
33905 rm -f conftest.err conftest.$ac_objext \
33906 conftest$ac_exeext conftest.$ac_ext
33907 LIBS=$ac_check_lib_save_LIBS
33908 fi
33909 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33910 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33911 if test $ac_cv_lib_nsl_inet_addr = yes; then
33912 INET_LINK="nsl"
33913 else
33914
33915 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33916 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33917 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33918 echo $ECHO_N "(cached) $ECHO_C" >&6
33919 else
33920 ac_check_lib_save_LIBS=$LIBS
33921 LIBS="-lresolv $LIBS"
33922 cat >conftest.$ac_ext <<_ACEOF
33923 /* confdefs.h. */
33924 _ACEOF
33925 cat confdefs.h >>conftest.$ac_ext
33926 cat >>conftest.$ac_ext <<_ACEOF
33927 /* end confdefs.h. */
33928
33929 /* Override any gcc2 internal prototype to avoid an error. */
33930 #ifdef __cplusplus
33931 extern "C"
33932 #endif
33933 /* We use char because int might match the return type of a gcc2
33934 builtin and then its argument prototype would still apply. */
33935 char inet_addr ();
33936 int
33937 main ()
33938 {
33939 inet_addr ();
33940 ;
33941 return 0;
33942 }
33943 _ACEOF
33944 rm -f conftest.$ac_objext conftest$ac_exeext
33945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33946 (eval $ac_link) 2>conftest.er1
33947 ac_status=$?
33948 grep -v '^ *+' conftest.er1 >conftest.err
33949 rm -f conftest.er1
33950 cat conftest.err >&5
33951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33952 (exit $ac_status); } &&
33953 { ac_try='test -z "$ac_c_werror_flag"
33954 || test ! -s conftest.err'
33955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33956 (eval $ac_try) 2>&5
33957 ac_status=$?
33958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33959 (exit $ac_status); }; } &&
33960 { ac_try='test -s conftest$ac_exeext'
33961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33962 (eval $ac_try) 2>&5
33963 ac_status=$?
33964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33965 (exit $ac_status); }; }; then
33966 ac_cv_lib_resolv_inet_addr=yes
33967 else
33968 echo "$as_me: failed program was:" >&5
33969 sed 's/^/| /' conftest.$ac_ext >&5
33970
33971 ac_cv_lib_resolv_inet_addr=no
33972 fi
33973 rm -f conftest.err conftest.$ac_objext \
33974 conftest$ac_exeext conftest.$ac_ext
33975 LIBS=$ac_check_lib_save_LIBS
33976 fi
33977 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33978 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33979 if test $ac_cv_lib_resolv_inet_addr = yes; then
33980 INET_LINK="resolv"
33981 else
33982
33983 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33984 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33985 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33986 echo $ECHO_N "(cached) $ECHO_C" >&6
33987 else
33988 ac_check_lib_save_LIBS=$LIBS
33989 LIBS="-lsocket $LIBS"
33990 cat >conftest.$ac_ext <<_ACEOF
33991 /* confdefs.h. */
33992 _ACEOF
33993 cat confdefs.h >>conftest.$ac_ext
33994 cat >>conftest.$ac_ext <<_ACEOF
33995 /* end confdefs.h. */
33996
33997 /* Override any gcc2 internal prototype to avoid an error. */
33998 #ifdef __cplusplus
33999 extern "C"
34000 #endif
34001 /* We use char because int might match the return type of a gcc2
34002 builtin and then its argument prototype would still apply. */
34003 char inet_addr ();
34004 int
34005 main ()
34006 {
34007 inet_addr ();
34008 ;
34009 return 0;
34010 }
34011 _ACEOF
34012 rm -f conftest.$ac_objext conftest$ac_exeext
34013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34014 (eval $ac_link) 2>conftest.er1
34015 ac_status=$?
34016 grep -v '^ *+' conftest.er1 >conftest.err
34017 rm -f conftest.er1
34018 cat conftest.err >&5
34019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34020 (exit $ac_status); } &&
34021 { ac_try='test -z "$ac_c_werror_flag"
34022 || test ! -s conftest.err'
34023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34024 (eval $ac_try) 2>&5
34025 ac_status=$?
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); }; } &&
34028 { ac_try='test -s conftest$ac_exeext'
34029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34030 (eval $ac_try) 2>&5
34031 ac_status=$?
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); }; }; then
34034 ac_cv_lib_socket_inet_addr=yes
34035 else
34036 echo "$as_me: failed program was:" >&5
34037 sed 's/^/| /' conftest.$ac_ext >&5
34038
34039 ac_cv_lib_socket_inet_addr=no
34040 fi
34041 rm -f conftest.err conftest.$ac_objext \
34042 conftest$ac_exeext conftest.$ac_ext
34043 LIBS=$ac_check_lib_save_LIBS
34044 fi
34045 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
34046 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
34047 if test $ac_cv_lib_socket_inet_addr = yes; then
34048 INET_LINK="socket"
34049
34050 fi
34051
34052
34053
34054 fi
34055
34056
34057
34058 fi
34059
34060
34061
34062 fi
34063 done
34064
34065
34066
34067 for ac_func in inet_aton
34068 do
34069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34070 echo "$as_me:$LINENO: checking for $ac_func" >&5
34071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34072 if eval "test \"\${$as_ac_var+set}\" = set"; then
34073 echo $ECHO_N "(cached) $ECHO_C" >&6
34074 else
34075 cat >conftest.$ac_ext <<_ACEOF
34076 /* confdefs.h. */
34077 _ACEOF
34078 cat confdefs.h >>conftest.$ac_ext
34079 cat >>conftest.$ac_ext <<_ACEOF
34080 /* end confdefs.h. */
34081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34083 #define $ac_func innocuous_$ac_func
34084
34085 /* System header to define __stub macros and hopefully few prototypes,
34086 which can conflict with char $ac_func (); below.
34087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34088 <limits.h> exists even on freestanding compilers. */
34089
34090 #ifdef __STDC__
34091 # include <limits.h>
34092 #else
34093 # include <assert.h>
34094 #endif
34095
34096 #undef $ac_func
34097
34098 /* Override any gcc2 internal prototype to avoid an error. */
34099 #ifdef __cplusplus
34100 extern "C"
34101 {
34102 #endif
34103 /* We use char because int might match the return type of a gcc2
34104 builtin and then its argument prototype would still apply. */
34105 char $ac_func ();
34106 /* The GNU C library defines this for functions which it implements
34107 to always fail with ENOSYS. Some functions are actually named
34108 something starting with __ and the normal name is an alias. */
34109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34110 choke me
34111 #else
34112 char (*f) () = $ac_func;
34113 #endif
34114 #ifdef __cplusplus
34115 }
34116 #endif
34117
34118 int
34119 main ()
34120 {
34121 return f != $ac_func;
34122 ;
34123 return 0;
34124 }
34125 _ACEOF
34126 rm -f conftest.$ac_objext conftest$ac_exeext
34127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34128 (eval $ac_link) 2>conftest.er1
34129 ac_status=$?
34130 grep -v '^ *+' conftest.er1 >conftest.err
34131 rm -f conftest.er1
34132 cat conftest.err >&5
34133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34134 (exit $ac_status); } &&
34135 { ac_try='test -z "$ac_c_werror_flag"
34136 || test ! -s conftest.err'
34137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34138 (eval $ac_try) 2>&5
34139 ac_status=$?
34140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 (exit $ac_status); }; } &&
34142 { ac_try='test -s conftest$ac_exeext'
34143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34144 (eval $ac_try) 2>&5
34145 ac_status=$?
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); }; }; then
34148 eval "$as_ac_var=yes"
34149 else
34150 echo "$as_me: failed program was:" >&5
34151 sed 's/^/| /' conftest.$ac_ext >&5
34152
34153 eval "$as_ac_var=no"
34154 fi
34155 rm -f conftest.err conftest.$ac_objext \
34156 conftest$ac_exeext conftest.$ac_ext
34157 fi
34158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34160 if test `eval echo '${'$as_ac_var'}'` = yes; then
34161 cat >>confdefs.h <<_ACEOF
34162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34163 _ACEOF
34164 cat >>confdefs.h <<\_ACEOF
34165 #define HAVE_INET_ATON 1
34166 _ACEOF
34167
34168 else
34169
34170 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
34171 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
34172 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
34173 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
34174 echo $ECHO_N "(cached) $ECHO_C" >&6
34175 else
34176 ac_check_lib_save_LIBS=$LIBS
34177 LIBS="-l$INET_LINK $LIBS"
34178 cat >conftest.$ac_ext <<_ACEOF
34179 /* confdefs.h. */
34180 _ACEOF
34181 cat confdefs.h >>conftest.$ac_ext
34182 cat >>conftest.$ac_ext <<_ACEOF
34183 /* end confdefs.h. */
34184
34185 /* Override any gcc2 internal prototype to avoid an error. */
34186 #ifdef __cplusplus
34187 extern "C"
34188 #endif
34189 /* We use char because int might match the return type of a gcc2
34190 builtin and then its argument prototype would still apply. */
34191 char inet_aton ();
34192 int
34193 main ()
34194 {
34195 inet_aton ();
34196 ;
34197 return 0;
34198 }
34199 _ACEOF
34200 rm -f conftest.$ac_objext conftest$ac_exeext
34201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34202 (eval $ac_link) 2>conftest.er1
34203 ac_status=$?
34204 grep -v '^ *+' conftest.er1 >conftest.err
34205 rm -f conftest.er1
34206 cat conftest.err >&5
34207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34208 (exit $ac_status); } &&
34209 { ac_try='test -z "$ac_c_werror_flag"
34210 || test ! -s conftest.err'
34211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34212 (eval $ac_try) 2>&5
34213 ac_status=$?
34214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34215 (exit $ac_status); }; } &&
34216 { ac_try='test -s conftest$ac_exeext'
34217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34218 (eval $ac_try) 2>&5
34219 ac_status=$?
34220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34221 (exit $ac_status); }; }; then
34222 eval "$as_ac_Lib=yes"
34223 else
34224 echo "$as_me: failed program was:" >&5
34225 sed 's/^/| /' conftest.$ac_ext >&5
34226
34227 eval "$as_ac_Lib=no"
34228 fi
34229 rm -f conftest.err conftest.$ac_objext \
34230 conftest$ac_exeext conftest.$ac_ext
34231 LIBS=$ac_check_lib_save_LIBS
34232 fi
34233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
34234 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
34235 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
34236 cat >>confdefs.h <<\_ACEOF
34237 #define HAVE_INET_ATON 1
34238 _ACEOF
34239
34240 fi
34241
34242
34243 fi
34244 done
34245
34246
34247 if test "x$INET_LINK" != "x"; then
34248 cat >>confdefs.h <<\_ACEOF
34249 #define HAVE_INET_ADDR 1
34250 _ACEOF
34251
34252 INET_LINK=" -l$INET_LINK"
34253 fi
34254
34255 fi
34256
34257
34258
34259 EXTRALIBS_ESD=
34260 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34261 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34262 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34263 echo $ECHO_N "(cached) $ECHO_C" >&6
34264 else
34265 ac_check_lib_save_LIBS=$LIBS
34266 LIBS="-lesd $LIBS"
34267 cat >conftest.$ac_ext <<_ACEOF
34268 /* confdefs.h. */
34269 _ACEOF
34270 cat confdefs.h >>conftest.$ac_ext
34271 cat >>conftest.$ac_ext <<_ACEOF
34272 /* end confdefs.h. */
34273
34274 /* Override any gcc2 internal prototype to avoid an error. */
34275 #ifdef __cplusplus
34276 extern "C"
34277 #endif
34278 /* We use char because int might match the return type of a gcc2
34279 builtin and then its argument prototype would still apply. */
34280 char esd_close ();
34281 int
34282 main ()
34283 {
34284 esd_close ();
34285 ;
34286 return 0;
34287 }
34288 _ACEOF
34289 rm -f conftest.$ac_objext conftest$ac_exeext
34290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34291 (eval $ac_link) 2>conftest.er1
34292 ac_status=$?
34293 grep -v '^ *+' conftest.er1 >conftest.err
34294 rm -f conftest.er1
34295 cat conftest.err >&5
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); } &&
34298 { ac_try='test -z "$ac_c_werror_flag"
34299 || test ! -s conftest.err'
34300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34301 (eval $ac_try) 2>&5
34302 ac_status=$?
34303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34304 (exit $ac_status); }; } &&
34305 { ac_try='test -s conftest$ac_exeext'
34306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34307 (eval $ac_try) 2>&5
34308 ac_status=$?
34309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34310 (exit $ac_status); }; }; then
34311 ac_cv_lib_esd_esd_close=yes
34312 else
34313 echo "$as_me: failed program was:" >&5
34314 sed 's/^/| /' conftest.$ac_ext >&5
34315
34316 ac_cv_lib_esd_esd_close=no
34317 fi
34318 rm -f conftest.err conftest.$ac_objext \
34319 conftest$ac_exeext conftest.$ac_ext
34320 LIBS=$ac_check_lib_save_LIBS
34321 fi
34322 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
34323 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
34324 if test $ac_cv_lib_esd_esd_close = yes; then
34325
34326
34327 for ac_header in esd.h
34328 do
34329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34331 echo "$as_me:$LINENO: checking for $ac_header" >&5
34332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34334 echo $ECHO_N "(cached) $ECHO_C" >&6
34335 fi
34336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34338 else
34339 # Is the header compilable?
34340 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34341 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34342 cat >conftest.$ac_ext <<_ACEOF
34343 /* confdefs.h. */
34344 _ACEOF
34345 cat confdefs.h >>conftest.$ac_ext
34346 cat >>conftest.$ac_ext <<_ACEOF
34347 /* end confdefs.h. */
34348 $ac_includes_default
34349 #include <$ac_header>
34350 _ACEOF
34351 rm -f conftest.$ac_objext
34352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34353 (eval $ac_compile) 2>conftest.er1
34354 ac_status=$?
34355 grep -v '^ *+' conftest.er1 >conftest.err
34356 rm -f conftest.er1
34357 cat conftest.err >&5
34358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34359 (exit $ac_status); } &&
34360 { ac_try='test -z "$ac_c_werror_flag"
34361 || test ! -s conftest.err'
34362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34363 (eval $ac_try) 2>&5
34364 ac_status=$?
34365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34366 (exit $ac_status); }; } &&
34367 { ac_try='test -s conftest.$ac_objext'
34368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34369 (eval $ac_try) 2>&5
34370 ac_status=$?
34371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34372 (exit $ac_status); }; }; then
34373 ac_header_compiler=yes
34374 else
34375 echo "$as_me: failed program was:" >&5
34376 sed 's/^/| /' conftest.$ac_ext >&5
34377
34378 ac_header_compiler=no
34379 fi
34380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34381 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34382 echo "${ECHO_T}$ac_header_compiler" >&6
34383
34384 # Is the header present?
34385 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34386 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34387 cat >conftest.$ac_ext <<_ACEOF
34388 /* confdefs.h. */
34389 _ACEOF
34390 cat confdefs.h >>conftest.$ac_ext
34391 cat >>conftest.$ac_ext <<_ACEOF
34392 /* end confdefs.h. */
34393 #include <$ac_header>
34394 _ACEOF
34395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34397 ac_status=$?
34398 grep -v '^ *+' conftest.er1 >conftest.err
34399 rm -f conftest.er1
34400 cat conftest.err >&5
34401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34402 (exit $ac_status); } >/dev/null; then
34403 if test -s conftest.err; then
34404 ac_cpp_err=$ac_c_preproc_warn_flag
34405 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34406 else
34407 ac_cpp_err=
34408 fi
34409 else
34410 ac_cpp_err=yes
34411 fi
34412 if test -z "$ac_cpp_err"; then
34413 ac_header_preproc=yes
34414 else
34415 echo "$as_me: failed program was:" >&5
34416 sed 's/^/| /' conftest.$ac_ext >&5
34417
34418 ac_header_preproc=no
34419 fi
34420 rm -f conftest.err conftest.$ac_ext
34421 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34422 echo "${ECHO_T}$ac_header_preproc" >&6
34423
34424 # So? What about this header?
34425 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34426 yes:no: )
34427 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34428 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34430 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34431 ac_header_preproc=yes
34432 ;;
34433 no:yes:* )
34434 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34435 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34436 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34437 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34438 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34439 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34440 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34441 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34442 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34443 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34444 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34445 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34446 (
34447 cat <<\_ASBOX
34448 ## ----------------------------------------- ##
34449 ## Report this to wx-dev@lists.wxwidgets.org ##
34450 ## ----------------------------------------- ##
34451 _ASBOX
34452 ) |
34453 sed "s/^/$as_me: WARNING: /" >&2
34454 ;;
34455 esac
34456 echo "$as_me:$LINENO: checking for $ac_header" >&5
34457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34459 echo $ECHO_N "(cached) $ECHO_C" >&6
34460 else
34461 eval "$as_ac_Header=\$ac_header_preproc"
34462 fi
34463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34465
34466 fi
34467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34468 cat >>confdefs.h <<_ACEOF
34469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34470 _ACEOF
34471
34472 EXTRALIBS_ESD="-lesd"
34473
34474 fi
34475
34476 done
34477
34478
34479 fi
34480
34481
34482
34483 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
34484 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
34485 cat >conftest.$ac_ext <<_ACEOF
34486 /* confdefs.h. */
34487 _ACEOF
34488 cat confdefs.h >>conftest.$ac_ext
34489 cat >>conftest.$ac_ext <<_ACEOF
34490 /* end confdefs.h. */
34491 #ifdef __linux__
34492 #include <linux/cdrom.h>
34493 #else
34494 /* For Solaris */
34495 #include <sys/cdio.h>
34496 #endif
34497
34498 int
34499 main ()
34500 {
34501 struct cdrom_tocentry entry, old_entry;
34502 ;
34503 return 0;
34504 }
34505 _ACEOF
34506 rm -f conftest.$ac_objext
34507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34508 (eval $ac_compile) 2>conftest.er1
34509 ac_status=$?
34510 grep -v '^ *+' conftest.er1 >conftest.err
34511 rm -f conftest.er1
34512 cat conftest.err >&5
34513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34514 (exit $ac_status); } &&
34515 { ac_try='test -z "$ac_c_werror_flag"
34516 || test ! -s conftest.err'
34517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34518 (eval $ac_try) 2>&5
34519 ac_status=$?
34520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521 (exit $ac_status); }; } &&
34522 { ac_try='test -s conftest.$ac_objext'
34523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34524 (eval $ac_try) 2>&5
34525 ac_status=$?
34526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34527 (exit $ac_status); }; }; then
34528 echo "$as_me:$LINENO: result: yes" >&5
34529 echo "${ECHO_T}yes" >&6
34530 cat >>confdefs.h <<\_ACEOF
34531 #define HAVE_KNOWN_CDROM_INTERFACE 1
34532 _ACEOF
34533
34534 else
34535 echo "$as_me: failed program was:" >&5
34536 sed 's/^/| /' conftest.$ac_ext >&5
34537
34538 echo "$as_me:$LINENO: result: no" >&5
34539 echo "${ECHO_T}no" >&6
34540 fi
34541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34542
34543
34544 cat >confcache <<\_ACEOF
34545 # This file is a shell script that caches the results of configure
34546 # tests run on this system so they can be shared between configure
34547 # scripts and configure runs, see configure's option --config-cache.
34548 # It is not useful on other systems. If it contains results you don't
34549 # want to keep, you may remove or edit it.
34550 #
34551 # config.status only pays attention to the cache file if you give it
34552 # the --recheck option to rerun configure.
34553 #
34554 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34555 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34556 # following values.
34557
34558 _ACEOF
34559
34560 # The following way of writing the cache mishandles newlines in values,
34561 # but we know of no workaround that is simple, portable, and efficient.
34562 # So, don't put newlines in cache variables' values.
34563 # Ultrix sh set writes to stderr and can't be redirected directly,
34564 # and sets the high bit in the cache file unless we assign to the vars.
34565 {
34566 (set) 2>&1 |
34567 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34568 *ac_space=\ *)
34569 # `set' does not quote correctly, so add quotes (double-quote
34570 # substitution turns \\\\ into \\, and sed turns \\ into \).
34571 sed -n \
34572 "s/'/'\\\\''/g;
34573 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34574 ;;
34575 *)
34576 # `set' quotes correctly as required by POSIX, so do not add quotes.
34577 sed -n \
34578 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34579 ;;
34580 esac;
34581 } |
34582 sed '
34583 t clear
34584 : clear
34585 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34586 t end
34587 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34588 : end' >>confcache
34589 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34590 if test -w $cache_file; then
34591 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34592 cat confcache >$cache_file
34593 else
34594 echo "not updating unwritable cache $cache_file"
34595 fi
34596 fi
34597 rm -f confcache
34598
34599
34600 CPP_MT_FLAG=
34601 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34602
34603
34604 THREADS_LINK=
34605 THREADS_CFLAGS=
34606
34607 if test "$wxUSE_THREADS" = "yes" ; then
34608 if test "$USE_BEOS" = 1; then
34609 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
34610 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
34611 wxUSE_THREADS="no"
34612 fi
34613 fi
34614
34615 if test "$wxUSE_THREADS" = "yes" ; then
34616
34617
34618 THREAD_OPTS="-pthread"
34619 case "${host}" in
34620 *-*-solaris2* | *-*-sunos4* )
34621 if test "x$GCC" = "xyes"; then
34622 THREAD_OPTS="-pthreads $THREAD_OPTS"
34623 else
34624 THREAD_OPTS="-mt $THREAD_OPTS"
34625 fi
34626 ;;
34627 *-*-freebsd*)
34628 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
34629 ;;
34630 *-*-darwin* | *-*-cygwin* )
34631 THREAD_OPTS=""
34632 ;;
34633 *-*-aix*)
34634 THREAD_OPTS="pthreads"
34635 ;;
34636 *-hp-hpux* )
34637 if test "x$GCC" != "xyes"; then
34638 THREAD_OPTS=""
34639 fi
34640 ;;
34641
34642 *-*-irix* )
34643 if test "x$GCC" = "xyes"; then
34644 THREAD_OPTS=""
34645 fi
34646 ;;
34647
34648 *-*-*UnixWare*)
34649 if test "x$GCC" != "xyes"; then
34650 THREAD_OPTS="-Ethread"
34651 fi
34652 ;;
34653 esac
34654
34655 THREAD_OPTS="$THREAD_OPTS pthread none"
34656
34657 THREADS_OK=no
34658 for flag in $THREAD_OPTS; do
34659 case $flag in
34660 none)
34661 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34662 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34663 ;;
34664
34665 -*)
34666 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34667 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34668 THREADS_CFLAGS="$flag"
34669 ;;
34670
34671 *)
34672 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34673 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34674 THREADS_LINK="-l$flag"
34675 ;;
34676 esac
34677
34678 save_LIBS="$LIBS"
34679 save_CFLAGS="$CFLAGS"
34680 LIBS="$THREADS_LINK $LIBS"
34681 CFLAGS="$THREADS_CFLAGS $CFLAGS"
34682
34683 cat >conftest.$ac_ext <<_ACEOF
34684 /* confdefs.h. */
34685 _ACEOF
34686 cat confdefs.h >>conftest.$ac_ext
34687 cat >>conftest.$ac_ext <<_ACEOF
34688 /* end confdefs.h. */
34689 #include <pthread.h>
34690 int
34691 main ()
34692 {
34693 pthread_create(0,0,0,0);
34694 ;
34695 return 0;
34696 }
34697 _ACEOF
34698 rm -f conftest.$ac_objext conftest$ac_exeext
34699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34700 (eval $ac_link) 2>conftest.er1
34701 ac_status=$?
34702 grep -v '^ *+' conftest.er1 >conftest.err
34703 rm -f conftest.er1
34704 cat conftest.err >&5
34705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34706 (exit $ac_status); } &&
34707 { ac_try='test -z "$ac_c_werror_flag"
34708 || test ! -s conftest.err'
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); }; } &&
34714 { ac_try='test -s conftest$ac_exeext'
34715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34716 (eval $ac_try) 2>&5
34717 ac_status=$?
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); }; }; then
34720 THREADS_OK=yes
34721 else
34722 echo "$as_me: failed program was:" >&5
34723 sed 's/^/| /' conftest.$ac_ext >&5
34724
34725 fi
34726 rm -f conftest.err conftest.$ac_objext \
34727 conftest$ac_exeext conftest.$ac_ext
34728
34729 LIBS="$save_LIBS"
34730 CFLAGS="$save_CFLAGS"
34731
34732 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34733 echo "${ECHO_T}$THREADS_OK" >&6
34734 if test "x$THREADS_OK" = "xyes"; then
34735 break;
34736 fi
34737
34738 THREADS_LINK=""
34739 THREADS_CFLAGS=""
34740 done
34741
34742 if test "x$THREADS_OK" != "xyes"; then
34743 wxUSE_THREADS=no
34744 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34745 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34746 else
34747 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
34748 LIBS="$THREADS_LINK $LIBS"
34749
34750 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34751 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34752 flag=no
34753 case "${host}" in
34754 *-aix*)
34755 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
34756 flag="-D_THREAD_SAFE"
34757 ;;
34758 *-freebsd*)
34759 flag="-D_THREAD_SAFE"
34760 ;;
34761 *-hp-hpux* )
34762 flag="-D_REENTRANT"
34763 if test "x$GCC" != "xyes"; then
34764 flag="$flag -D_RWSTD_MULTI_THREAD"
34765 fi
34766 ;;
34767 *solaris* | alpha*-osf*)
34768 flag="-D_REENTRANT"
34769 ;;
34770 esac
34771 echo "$as_me:$LINENO: result: ${flag}" >&5
34772 echo "${ECHO_T}${flag}" >&6
34773 if test "x$flag" != xno; then
34774 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
34775 fi
34776
34777 if test "x$THREADS_CFLAGS" != "x"; then
34778 CFLAGS="$CFLAGS $THREADS_CFLAGS"
34779 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
34780 fi
34781 fi
34782 fi
34783
34784 if test "$wxUSE_THREADS" = "yes" ; then
34785
34786 for ac_func in thr_setconcurrency
34787 do
34788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34789 echo "$as_me:$LINENO: checking for $ac_func" >&5
34790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34791 if eval "test \"\${$as_ac_var+set}\" = set"; then
34792 echo $ECHO_N "(cached) $ECHO_C" >&6
34793 else
34794 cat >conftest.$ac_ext <<_ACEOF
34795 /* confdefs.h. */
34796 _ACEOF
34797 cat confdefs.h >>conftest.$ac_ext
34798 cat >>conftest.$ac_ext <<_ACEOF
34799 /* end confdefs.h. */
34800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34802 #define $ac_func innocuous_$ac_func
34803
34804 /* System header to define __stub macros and hopefully few prototypes,
34805 which can conflict with char $ac_func (); below.
34806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34807 <limits.h> exists even on freestanding compilers. */
34808
34809 #ifdef __STDC__
34810 # include <limits.h>
34811 #else
34812 # include <assert.h>
34813 #endif
34814
34815 #undef $ac_func
34816
34817 /* Override any gcc2 internal prototype to avoid an error. */
34818 #ifdef __cplusplus
34819 extern "C"
34820 {
34821 #endif
34822 /* We use char because int might match the return type of a gcc2
34823 builtin and then its argument prototype would still apply. */
34824 char $ac_func ();
34825 /* The GNU C library defines this for functions which it implements
34826 to always fail with ENOSYS. Some functions are actually named
34827 something starting with __ and the normal name is an alias. */
34828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34829 choke me
34830 #else
34831 char (*f) () = $ac_func;
34832 #endif
34833 #ifdef __cplusplus
34834 }
34835 #endif
34836
34837 int
34838 main ()
34839 {
34840 return f != $ac_func;
34841 ;
34842 return 0;
34843 }
34844 _ACEOF
34845 rm -f conftest.$ac_objext conftest$ac_exeext
34846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34847 (eval $ac_link) 2>conftest.er1
34848 ac_status=$?
34849 grep -v '^ *+' conftest.er1 >conftest.err
34850 rm -f conftest.er1
34851 cat conftest.err >&5
34852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34853 (exit $ac_status); } &&
34854 { ac_try='test -z "$ac_c_werror_flag"
34855 || test ! -s conftest.err'
34856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34857 (eval $ac_try) 2>&5
34858 ac_status=$?
34859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34860 (exit $ac_status); }; } &&
34861 { ac_try='test -s conftest$ac_exeext'
34862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34863 (eval $ac_try) 2>&5
34864 ac_status=$?
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); }; }; then
34867 eval "$as_ac_var=yes"
34868 else
34869 echo "$as_me: failed program was:" >&5
34870 sed 's/^/| /' conftest.$ac_ext >&5
34871
34872 eval "$as_ac_var=no"
34873 fi
34874 rm -f conftest.err conftest.$ac_objext \
34875 conftest$ac_exeext conftest.$ac_ext
34876 fi
34877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34879 if test `eval echo '${'$as_ac_var'}'` = yes; then
34880 cat >>confdefs.h <<_ACEOF
34881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34882 _ACEOF
34883
34884 fi
34885 done
34886
34887
34888
34889 for ac_header in sched.h
34890 do
34891 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34893 echo "$as_me:$LINENO: checking for $ac_header" >&5
34894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34896 echo $ECHO_N "(cached) $ECHO_C" >&6
34897 fi
34898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34900 else
34901 # Is the header compilable?
34902 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34903 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34904 cat >conftest.$ac_ext <<_ACEOF
34905 /* confdefs.h. */
34906 _ACEOF
34907 cat confdefs.h >>conftest.$ac_ext
34908 cat >>conftest.$ac_ext <<_ACEOF
34909 /* end confdefs.h. */
34910 $ac_includes_default
34911 #include <$ac_header>
34912 _ACEOF
34913 rm -f conftest.$ac_objext
34914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34915 (eval $ac_compile) 2>conftest.er1
34916 ac_status=$?
34917 grep -v '^ *+' conftest.er1 >conftest.err
34918 rm -f conftest.er1
34919 cat conftest.err >&5
34920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34921 (exit $ac_status); } &&
34922 { ac_try='test -z "$ac_c_werror_flag"
34923 || test ! -s conftest.err'
34924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34925 (eval $ac_try) 2>&5
34926 ac_status=$?
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); }; } &&
34929 { ac_try='test -s conftest.$ac_objext'
34930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34931 (eval $ac_try) 2>&5
34932 ac_status=$?
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); }; }; then
34935 ac_header_compiler=yes
34936 else
34937 echo "$as_me: failed program was:" >&5
34938 sed 's/^/| /' conftest.$ac_ext >&5
34939
34940 ac_header_compiler=no
34941 fi
34942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34943 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34944 echo "${ECHO_T}$ac_header_compiler" >&6
34945
34946 # Is the header present?
34947 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34948 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34949 cat >conftest.$ac_ext <<_ACEOF
34950 /* confdefs.h. */
34951 _ACEOF
34952 cat confdefs.h >>conftest.$ac_ext
34953 cat >>conftest.$ac_ext <<_ACEOF
34954 /* end confdefs.h. */
34955 #include <$ac_header>
34956 _ACEOF
34957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34958 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34959 ac_status=$?
34960 grep -v '^ *+' conftest.er1 >conftest.err
34961 rm -f conftest.er1
34962 cat conftest.err >&5
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); } >/dev/null; then
34965 if test -s conftest.err; then
34966 ac_cpp_err=$ac_c_preproc_warn_flag
34967 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34968 else
34969 ac_cpp_err=
34970 fi
34971 else
34972 ac_cpp_err=yes
34973 fi
34974 if test -z "$ac_cpp_err"; then
34975 ac_header_preproc=yes
34976 else
34977 echo "$as_me: failed program was:" >&5
34978 sed 's/^/| /' conftest.$ac_ext >&5
34979
34980 ac_header_preproc=no
34981 fi
34982 rm -f conftest.err conftest.$ac_ext
34983 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34984 echo "${ECHO_T}$ac_header_preproc" >&6
34985
34986 # So? What about this header?
34987 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34988 yes:no: )
34989 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34990 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34992 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34993 ac_header_preproc=yes
34994 ;;
34995 no:yes:* )
34996 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34997 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34998 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34999 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35000 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35001 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35002 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35003 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35005 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35006 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35007 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35008 (
35009 cat <<\_ASBOX
35010 ## ----------------------------------------- ##
35011 ## Report this to wx-dev@lists.wxwidgets.org ##
35012 ## ----------------------------------------- ##
35013 _ASBOX
35014 ) |
35015 sed "s/^/$as_me: WARNING: /" >&2
35016 ;;
35017 esac
35018 echo "$as_me:$LINENO: checking for $ac_header" >&5
35019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35021 echo $ECHO_N "(cached) $ECHO_C" >&6
35022 else
35023 eval "$as_ac_Header=\$ac_header_preproc"
35024 fi
35025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35027
35028 fi
35029 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35030 cat >>confdefs.h <<_ACEOF
35031 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35032 _ACEOF
35033
35034 fi
35035
35036 done
35037
35038 if test "$ac_cv_header_sched_h" = "yes"; then
35039 echo "$as_me:$LINENO: checking for sched_yield" >&5
35040 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
35041 if test "${ac_cv_func_sched_yield+set}" = set; then
35042 echo $ECHO_N "(cached) $ECHO_C" >&6
35043 else
35044 cat >conftest.$ac_ext <<_ACEOF
35045 /* confdefs.h. */
35046 _ACEOF
35047 cat confdefs.h >>conftest.$ac_ext
35048 cat >>conftest.$ac_ext <<_ACEOF
35049 /* end confdefs.h. */
35050 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
35051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35052 #define sched_yield innocuous_sched_yield
35053
35054 /* System header to define __stub macros and hopefully few prototypes,
35055 which can conflict with char sched_yield (); below.
35056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35057 <limits.h> exists even on freestanding compilers. */
35058
35059 #ifdef __STDC__
35060 # include <limits.h>
35061 #else
35062 # include <assert.h>
35063 #endif
35064
35065 #undef sched_yield
35066
35067 /* Override any gcc2 internal prototype to avoid an error. */
35068 #ifdef __cplusplus
35069 extern "C"
35070 {
35071 #endif
35072 /* We use char because int might match the return type of a gcc2
35073 builtin and then its argument prototype would still apply. */
35074 char sched_yield ();
35075 /* The GNU C library defines this for functions which it implements
35076 to always fail with ENOSYS. Some functions are actually named
35077 something starting with __ and the normal name is an alias. */
35078 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
35079 choke me
35080 #else
35081 char (*f) () = sched_yield;
35082 #endif
35083 #ifdef __cplusplus
35084 }
35085 #endif
35086
35087 int
35088 main ()
35089 {
35090 return f != sched_yield;
35091 ;
35092 return 0;
35093 }
35094 _ACEOF
35095 rm -f conftest.$ac_objext conftest$ac_exeext
35096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35097 (eval $ac_link) 2>conftest.er1
35098 ac_status=$?
35099 grep -v '^ *+' conftest.er1 >conftest.err
35100 rm -f conftest.er1
35101 cat conftest.err >&5
35102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103 (exit $ac_status); } &&
35104 { ac_try='test -z "$ac_c_werror_flag"
35105 || test ! -s conftest.err'
35106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35107 (eval $ac_try) 2>&5
35108 ac_status=$?
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); }; } &&
35111 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
35117 ac_cv_func_sched_yield=yes
35118 else
35119 echo "$as_me: failed program was:" >&5
35120 sed 's/^/| /' conftest.$ac_ext >&5
35121
35122 ac_cv_func_sched_yield=no
35123 fi
35124 rm -f conftest.err conftest.$ac_objext \
35125 conftest$ac_exeext conftest.$ac_ext
35126 fi
35127 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
35128 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
35129 if test $ac_cv_func_sched_yield = yes; then
35130 cat >>confdefs.h <<\_ACEOF
35131 #define HAVE_SCHED_YIELD 1
35132 _ACEOF
35133
35134 else
35135
35136 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
35137 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
35138 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
35139 echo $ECHO_N "(cached) $ECHO_C" >&6
35140 else
35141 ac_check_lib_save_LIBS=$LIBS
35142 LIBS="-lposix4 $LIBS"
35143 cat >conftest.$ac_ext <<_ACEOF
35144 /* confdefs.h. */
35145 _ACEOF
35146 cat confdefs.h >>conftest.$ac_ext
35147 cat >>conftest.$ac_ext <<_ACEOF
35148 /* end confdefs.h. */
35149
35150 /* Override any gcc2 internal prototype to avoid an error. */
35151 #ifdef __cplusplus
35152 extern "C"
35153 #endif
35154 /* We use char because int might match the return type of a gcc2
35155 builtin and then its argument prototype would still apply. */
35156 char sched_yield ();
35157 int
35158 main ()
35159 {
35160 sched_yield ();
35161 ;
35162 return 0;
35163 }
35164 _ACEOF
35165 rm -f conftest.$ac_objext conftest$ac_exeext
35166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35167 (eval $ac_link) 2>conftest.er1
35168 ac_status=$?
35169 grep -v '^ *+' conftest.er1 >conftest.err
35170 rm -f conftest.er1
35171 cat conftest.err >&5
35172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); } &&
35174 { ac_try='test -z "$ac_c_werror_flag"
35175 || test ! -s conftest.err'
35176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35177 (eval $ac_try) 2>&5
35178 ac_status=$?
35179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35180 (exit $ac_status); }; } &&
35181 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
35187 ac_cv_lib_posix4_sched_yield=yes
35188 else
35189 echo "$as_me: failed program was:" >&5
35190 sed 's/^/| /' conftest.$ac_ext >&5
35191
35192 ac_cv_lib_posix4_sched_yield=no
35193 fi
35194 rm -f conftest.err conftest.$ac_objext \
35195 conftest$ac_exeext conftest.$ac_ext
35196 LIBS=$ac_check_lib_save_LIBS
35197 fi
35198 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
35199 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
35200 if test $ac_cv_lib_posix4_sched_yield = yes; then
35201 cat >>confdefs.h <<\_ACEOF
35202 #define HAVE_SCHED_YIELD 1
35203 _ACEOF
35204 POSIX4_LINK=" -lposix4"
35205 else
35206 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
35207 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
35208
35209 fi
35210
35211
35212
35213 fi
35214
35215 fi
35216
35217 HAVE_PRIOR_FUNCS=0
35218 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
35219 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
35220 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
35221 echo $ECHO_N "(cached) $ECHO_C" >&6
35222 else
35223 cat >conftest.$ac_ext <<_ACEOF
35224 /* confdefs.h. */
35225 _ACEOF
35226 cat confdefs.h >>conftest.$ac_ext
35227 cat >>conftest.$ac_ext <<_ACEOF
35228 /* end confdefs.h. */
35229 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
35230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35231 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
35232
35233 /* System header to define __stub macros and hopefully few prototypes,
35234 which can conflict with char pthread_attr_getschedpolicy (); below.
35235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35236 <limits.h> exists even on freestanding compilers. */
35237
35238 #ifdef __STDC__
35239 # include <limits.h>
35240 #else
35241 # include <assert.h>
35242 #endif
35243
35244 #undef pthread_attr_getschedpolicy
35245
35246 /* Override any gcc2 internal prototype to avoid an error. */
35247 #ifdef __cplusplus
35248 extern "C"
35249 {
35250 #endif
35251 /* We use char because int might match the return type of a gcc2
35252 builtin and then its argument prototype would still apply. */
35253 char pthread_attr_getschedpolicy ();
35254 /* The GNU C library defines this for functions which it implements
35255 to always fail with ENOSYS. Some functions are actually named
35256 something starting with __ and the normal name is an alias. */
35257 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
35258 choke me
35259 #else
35260 char (*f) () = pthread_attr_getschedpolicy;
35261 #endif
35262 #ifdef __cplusplus
35263 }
35264 #endif
35265
35266 int
35267 main ()
35268 {
35269 return f != pthread_attr_getschedpolicy;
35270 ;
35271 return 0;
35272 }
35273 _ACEOF
35274 rm -f conftest.$ac_objext conftest$ac_exeext
35275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35276 (eval $ac_link) 2>conftest.er1
35277 ac_status=$?
35278 grep -v '^ *+' conftest.er1 >conftest.err
35279 rm -f conftest.er1
35280 cat conftest.err >&5
35281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35282 (exit $ac_status); } &&
35283 { ac_try='test -z "$ac_c_werror_flag"
35284 || test ! -s conftest.err'
35285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35286 (eval $ac_try) 2>&5
35287 ac_status=$?
35288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35289 (exit $ac_status); }; } &&
35290 { ac_try='test -s conftest$ac_exeext'
35291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35292 (eval $ac_try) 2>&5
35293 ac_status=$?
35294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35295 (exit $ac_status); }; }; then
35296 ac_cv_func_pthread_attr_getschedpolicy=yes
35297 else
35298 echo "$as_me: failed program was:" >&5
35299 sed 's/^/| /' conftest.$ac_ext >&5
35300
35301 ac_cv_func_pthread_attr_getschedpolicy=no
35302 fi
35303 rm -f conftest.err conftest.$ac_objext \
35304 conftest$ac_exeext conftest.$ac_ext
35305 fi
35306 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
35307 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
35308 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
35309 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
35310 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
35311 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
35312 echo $ECHO_N "(cached) $ECHO_C" >&6
35313 else
35314 cat >conftest.$ac_ext <<_ACEOF
35315 /* confdefs.h. */
35316 _ACEOF
35317 cat confdefs.h >>conftest.$ac_ext
35318 cat >>conftest.$ac_ext <<_ACEOF
35319 /* end confdefs.h. */
35320 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
35321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35322 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
35323
35324 /* System header to define __stub macros and hopefully few prototypes,
35325 which can conflict with char pthread_attr_setschedparam (); below.
35326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35327 <limits.h> exists even on freestanding compilers. */
35328
35329 #ifdef __STDC__
35330 # include <limits.h>
35331 #else
35332 # include <assert.h>
35333 #endif
35334
35335 #undef pthread_attr_setschedparam
35336
35337 /* Override any gcc2 internal prototype to avoid an error. */
35338 #ifdef __cplusplus
35339 extern "C"
35340 {
35341 #endif
35342 /* We use char because int might match the return type of a gcc2
35343 builtin and then its argument prototype would still apply. */
35344 char pthread_attr_setschedparam ();
35345 /* The GNU C library defines this for functions which it implements
35346 to always fail with ENOSYS. Some functions are actually named
35347 something starting with __ and the normal name is an alias. */
35348 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
35349 choke me
35350 #else
35351 char (*f) () = pthread_attr_setschedparam;
35352 #endif
35353 #ifdef __cplusplus
35354 }
35355 #endif
35356
35357 int
35358 main ()
35359 {
35360 return f != pthread_attr_setschedparam;
35361 ;
35362 return 0;
35363 }
35364 _ACEOF
35365 rm -f conftest.$ac_objext conftest$ac_exeext
35366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35367 (eval $ac_link) 2>conftest.er1
35368 ac_status=$?
35369 grep -v '^ *+' conftest.er1 >conftest.err
35370 rm -f conftest.er1
35371 cat conftest.err >&5
35372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373 (exit $ac_status); } &&
35374 { ac_try='test -z "$ac_c_werror_flag"
35375 || test ! -s conftest.err'
35376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35377 (eval $ac_try) 2>&5
35378 ac_status=$?
35379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380 (exit $ac_status); }; } &&
35381 { ac_try='test -s conftest$ac_exeext'
35382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35383 (eval $ac_try) 2>&5
35384 ac_status=$?
35385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35386 (exit $ac_status); }; }; then
35387 ac_cv_func_pthread_attr_setschedparam=yes
35388 else
35389 echo "$as_me: failed program was:" >&5
35390 sed 's/^/| /' conftest.$ac_ext >&5
35391
35392 ac_cv_func_pthread_attr_setschedparam=no
35393 fi
35394 rm -f conftest.err conftest.$ac_objext \
35395 conftest$ac_exeext conftest.$ac_ext
35396 fi
35397 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
35398 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
35399 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
35400 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
35401 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
35402 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
35403 echo $ECHO_N "(cached) $ECHO_C" >&6
35404 else
35405 cat >conftest.$ac_ext <<_ACEOF
35406 /* confdefs.h. */
35407 _ACEOF
35408 cat confdefs.h >>conftest.$ac_ext
35409 cat >>conftest.$ac_ext <<_ACEOF
35410 /* end confdefs.h. */
35411 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
35412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35413 #define sched_get_priority_max innocuous_sched_get_priority_max
35414
35415 /* System header to define __stub macros and hopefully few prototypes,
35416 which can conflict with char sched_get_priority_max (); below.
35417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35418 <limits.h> exists even on freestanding compilers. */
35419
35420 #ifdef __STDC__
35421 # include <limits.h>
35422 #else
35423 # include <assert.h>
35424 #endif
35425
35426 #undef sched_get_priority_max
35427
35428 /* Override any gcc2 internal prototype to avoid an error. */
35429 #ifdef __cplusplus
35430 extern "C"
35431 {
35432 #endif
35433 /* We use char because int might match the return type of a gcc2
35434 builtin and then its argument prototype would still apply. */
35435 char sched_get_priority_max ();
35436 /* The GNU C library defines this for functions which it implements
35437 to always fail with ENOSYS. Some functions are actually named
35438 something starting with __ and the normal name is an alias. */
35439 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
35440 choke me
35441 #else
35442 char (*f) () = sched_get_priority_max;
35443 #endif
35444 #ifdef __cplusplus
35445 }
35446 #endif
35447
35448 int
35449 main ()
35450 {
35451 return f != sched_get_priority_max;
35452 ;
35453 return 0;
35454 }
35455 _ACEOF
35456 rm -f conftest.$ac_objext conftest$ac_exeext
35457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35458 (eval $ac_link) 2>conftest.er1
35459 ac_status=$?
35460 grep -v '^ *+' conftest.er1 >conftest.err
35461 rm -f conftest.er1
35462 cat conftest.err >&5
35463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35464 (exit $ac_status); } &&
35465 { ac_try='test -z "$ac_c_werror_flag"
35466 || test ! -s conftest.err'
35467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35468 (eval $ac_try) 2>&5
35469 ac_status=$?
35470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35471 (exit $ac_status); }; } &&
35472 { ac_try='test -s conftest$ac_exeext'
35473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35474 (eval $ac_try) 2>&5
35475 ac_status=$?
35476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35477 (exit $ac_status); }; }; then
35478 ac_cv_func_sched_get_priority_max=yes
35479 else
35480 echo "$as_me: failed program was:" >&5
35481 sed 's/^/| /' conftest.$ac_ext >&5
35482
35483 ac_cv_func_sched_get_priority_max=no
35484 fi
35485 rm -f conftest.err conftest.$ac_objext \
35486 conftest$ac_exeext conftest.$ac_ext
35487 fi
35488 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
35489 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
35490 if test $ac_cv_func_sched_get_priority_max = yes; then
35491 HAVE_PRIOR_FUNCS=1
35492 else
35493 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
35494 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
35495 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
35496 echo $ECHO_N "(cached) $ECHO_C" >&6
35497 else
35498 ac_check_lib_save_LIBS=$LIBS
35499 LIBS="-lposix4 $LIBS"
35500 cat >conftest.$ac_ext <<_ACEOF
35501 /* confdefs.h. */
35502 _ACEOF
35503 cat confdefs.h >>conftest.$ac_ext
35504 cat >>conftest.$ac_ext <<_ACEOF
35505 /* end confdefs.h. */
35506
35507 /* Override any gcc2 internal prototype to avoid an error. */
35508 #ifdef __cplusplus
35509 extern "C"
35510 #endif
35511 /* We use char because int might match the return type of a gcc2
35512 builtin and then its argument prototype would still apply. */
35513 char sched_get_priority_max ();
35514 int
35515 main ()
35516 {
35517 sched_get_priority_max ();
35518 ;
35519 return 0;
35520 }
35521 _ACEOF
35522 rm -f conftest.$ac_objext conftest$ac_exeext
35523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35524 (eval $ac_link) 2>conftest.er1
35525 ac_status=$?
35526 grep -v '^ *+' conftest.er1 >conftest.err
35527 rm -f conftest.er1
35528 cat conftest.err >&5
35529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35530 (exit $ac_status); } &&
35531 { ac_try='test -z "$ac_c_werror_flag"
35532 || test ! -s conftest.err'
35533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35534 (eval $ac_try) 2>&5
35535 ac_status=$?
35536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35537 (exit $ac_status); }; } &&
35538 { ac_try='test -s conftest$ac_exeext'
35539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35540 (eval $ac_try) 2>&5
35541 ac_status=$?
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); }; }; then
35544 ac_cv_lib_posix4_sched_get_priority_max=yes
35545 else
35546 echo "$as_me: failed program was:" >&5
35547 sed 's/^/| /' conftest.$ac_ext >&5
35548
35549 ac_cv_lib_posix4_sched_get_priority_max=no
35550 fi
35551 rm -f conftest.err conftest.$ac_objext \
35552 conftest$ac_exeext conftest.$ac_ext
35553 LIBS=$ac_check_lib_save_LIBS
35554 fi
35555 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
35556 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
35557 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
35558
35559 HAVE_PRIOR_FUNCS=1
35560 POSIX4_LINK=" -lposix4"
35561
35562 fi
35563
35564
35565 fi
35566
35567
35568 fi
35569
35570
35571 fi
35572
35573
35574 if test "$HAVE_PRIOR_FUNCS" = 1; then
35575 cat >>confdefs.h <<\_ACEOF
35576 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
35577 _ACEOF
35578
35579 else
35580 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
35581 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
35582 fi
35583
35584 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
35585 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
35586 if test "${ac_cv_func_pthread_cancel+set}" = set; then
35587 echo $ECHO_N "(cached) $ECHO_C" >&6
35588 else
35589 cat >conftest.$ac_ext <<_ACEOF
35590 /* confdefs.h. */
35591 _ACEOF
35592 cat confdefs.h >>conftest.$ac_ext
35593 cat >>conftest.$ac_ext <<_ACEOF
35594 /* end confdefs.h. */
35595 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
35596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35597 #define pthread_cancel innocuous_pthread_cancel
35598
35599 /* System header to define __stub macros and hopefully few prototypes,
35600 which can conflict with char pthread_cancel (); below.
35601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35602 <limits.h> exists even on freestanding compilers. */
35603
35604 #ifdef __STDC__
35605 # include <limits.h>
35606 #else
35607 # include <assert.h>
35608 #endif
35609
35610 #undef pthread_cancel
35611
35612 /* Override any gcc2 internal prototype to avoid an error. */
35613 #ifdef __cplusplus
35614 extern "C"
35615 {
35616 #endif
35617 /* We use char because int might match the return type of a gcc2
35618 builtin and then its argument prototype would still apply. */
35619 char pthread_cancel ();
35620 /* The GNU C library defines this for functions which it implements
35621 to always fail with ENOSYS. Some functions are actually named
35622 something starting with __ and the normal name is an alias. */
35623 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
35624 choke me
35625 #else
35626 char (*f) () = pthread_cancel;
35627 #endif
35628 #ifdef __cplusplus
35629 }
35630 #endif
35631
35632 int
35633 main ()
35634 {
35635 return f != pthread_cancel;
35636 ;
35637 return 0;
35638 }
35639 _ACEOF
35640 rm -f conftest.$ac_objext conftest$ac_exeext
35641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35642 (eval $ac_link) 2>conftest.er1
35643 ac_status=$?
35644 grep -v '^ *+' conftest.er1 >conftest.err
35645 rm -f conftest.er1
35646 cat conftest.err >&5
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); } &&
35649 { ac_try='test -z "$ac_c_werror_flag"
35650 || test ! -s conftest.err'
35651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35652 (eval $ac_try) 2>&5
35653 ac_status=$?
35654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35655 (exit $ac_status); }; } &&
35656 { ac_try='test -s conftest$ac_exeext'
35657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35658 (eval $ac_try) 2>&5
35659 ac_status=$?
35660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35661 (exit $ac_status); }; }; then
35662 ac_cv_func_pthread_cancel=yes
35663 else
35664 echo "$as_me: failed program was:" >&5
35665 sed 's/^/| /' conftest.$ac_ext >&5
35666
35667 ac_cv_func_pthread_cancel=no
35668 fi
35669 rm -f conftest.err conftest.$ac_objext \
35670 conftest$ac_exeext conftest.$ac_ext
35671 fi
35672 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35673 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35674 if test $ac_cv_func_pthread_cancel = yes; then
35675 cat >>confdefs.h <<\_ACEOF
35676 #define HAVE_PTHREAD_CANCEL 1
35677 _ACEOF
35678
35679 else
35680 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35681 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35682 fi
35683
35684
35685 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
35686 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
35687 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
35688 echo $ECHO_N "(cached) $ECHO_C" >&6
35689 else
35690 cat >conftest.$ac_ext <<_ACEOF
35691 /* confdefs.h. */
35692 _ACEOF
35693 cat confdefs.h >>conftest.$ac_ext
35694 cat >>conftest.$ac_ext <<_ACEOF
35695 /* end confdefs.h. */
35696 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
35697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35698 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
35699
35700 /* System header to define __stub macros and hopefully few prototypes,
35701 which can conflict with char pthread_attr_setstacksize (); below.
35702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35703 <limits.h> exists even on freestanding compilers. */
35704
35705 #ifdef __STDC__
35706 # include <limits.h>
35707 #else
35708 # include <assert.h>
35709 #endif
35710
35711 #undef pthread_attr_setstacksize
35712
35713 /* Override any gcc2 internal prototype to avoid an error. */
35714 #ifdef __cplusplus
35715 extern "C"
35716 {
35717 #endif
35718 /* We use char because int might match the return type of a gcc2
35719 builtin and then its argument prototype would still apply. */
35720 char pthread_attr_setstacksize ();
35721 /* The GNU C library defines this for functions which it implements
35722 to always fail with ENOSYS. Some functions are actually named
35723 something starting with __ and the normal name is an alias. */
35724 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
35725 choke me
35726 #else
35727 char (*f) () = pthread_attr_setstacksize;
35728 #endif
35729 #ifdef __cplusplus
35730 }
35731 #endif
35732
35733 int
35734 main ()
35735 {
35736 return f != pthread_attr_setstacksize;
35737 ;
35738 return 0;
35739 }
35740 _ACEOF
35741 rm -f conftest.$ac_objext conftest$ac_exeext
35742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35743 (eval $ac_link) 2>conftest.er1
35744 ac_status=$?
35745 grep -v '^ *+' conftest.er1 >conftest.err
35746 rm -f conftest.er1
35747 cat conftest.err >&5
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); } &&
35750 { ac_try='test -z "$ac_c_werror_flag"
35751 || test ! -s conftest.err'
35752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35753 (eval $ac_try) 2>&5
35754 ac_status=$?
35755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35756 (exit $ac_status); }; } &&
35757 { ac_try='test -s conftest$ac_exeext'
35758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35759 (eval $ac_try) 2>&5
35760 ac_status=$?
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); }; }; then
35763 ac_cv_func_pthread_attr_setstacksize=yes
35764 else
35765 echo "$as_me: failed program was:" >&5
35766 sed 's/^/| /' conftest.$ac_ext >&5
35767
35768 ac_cv_func_pthread_attr_setstacksize=no
35769 fi
35770 rm -f conftest.err conftest.$ac_objext \
35771 conftest$ac_exeext conftest.$ac_ext
35772 fi
35773 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
35774 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
35775 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
35776 cat >>confdefs.h <<\_ACEOF
35777 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
35778 _ACEOF
35779
35780 fi
35781
35782
35783
35784 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35785 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35786 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35787 echo $ECHO_N "(cached) $ECHO_C" >&6
35788 else
35789
35790 cat >conftest.$ac_ext <<_ACEOF
35791 /* confdefs.h. */
35792 _ACEOF
35793 cat confdefs.h >>conftest.$ac_ext
35794 cat >>conftest.$ac_ext <<_ACEOF
35795 /* end confdefs.h. */
35796 #include <pthread.h>
35797 int
35798 main ()
35799 {
35800
35801 pthread_mutexattr_t attr;
35802 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35803
35804 ;
35805 return 0;
35806 }
35807 _ACEOF
35808 rm -f conftest.$ac_objext
35809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35810 (eval $ac_compile) 2>conftest.er1
35811 ac_status=$?
35812 grep -v '^ *+' conftest.er1 >conftest.err
35813 rm -f conftest.er1
35814 cat conftest.err >&5
35815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35816 (exit $ac_status); } &&
35817 { ac_try='test -z "$ac_c_werror_flag"
35818 || test ! -s conftest.err'
35819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35820 (eval $ac_try) 2>&5
35821 ac_status=$?
35822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35823 (exit $ac_status); }; } &&
35824 { ac_try='test -s conftest.$ac_objext'
35825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35826 (eval $ac_try) 2>&5
35827 ac_status=$?
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); }; }; then
35830
35831 wx_cv_type_pthread_mutexattr_t=yes
35832
35833 else
35834 echo "$as_me: failed program was:" >&5
35835 sed 's/^/| /' conftest.$ac_ext >&5
35836
35837
35838 wx_cv_type_pthread_mutexattr_t=no
35839
35840
35841 fi
35842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35843
35844 fi
35845 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35846 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35847
35848 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35849 cat >>confdefs.h <<\_ACEOF
35850 #define HAVE_PTHREAD_MUTEXATTR_T 1
35851 _ACEOF
35852
35853 else
35854 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35855 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35856 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35857 echo $ECHO_N "(cached) $ECHO_C" >&6
35858 else
35859
35860 cat >conftest.$ac_ext <<_ACEOF
35861 /* confdefs.h. */
35862 _ACEOF
35863 cat confdefs.h >>conftest.$ac_ext
35864 cat >>conftest.$ac_ext <<_ACEOF
35865 /* end confdefs.h. */
35866 #include <pthread.h>
35867 int
35868 main ()
35869 {
35870
35871 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35872
35873 ;
35874 return 0;
35875 }
35876 _ACEOF
35877 rm -f conftest.$ac_objext
35878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35879 (eval $ac_compile) 2>conftest.er1
35880 ac_status=$?
35881 grep -v '^ *+' conftest.er1 >conftest.err
35882 rm -f conftest.er1
35883 cat conftest.err >&5
35884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35885 (exit $ac_status); } &&
35886 { ac_try='test -z "$ac_c_werror_flag"
35887 || test ! -s conftest.err'
35888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35889 (eval $ac_try) 2>&5
35890 ac_status=$?
35891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35892 (exit $ac_status); }; } &&
35893 { ac_try='test -s conftest.$ac_objext'
35894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35895 (eval $ac_try) 2>&5
35896 ac_status=$?
35897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35898 (exit $ac_status); }; }; then
35899
35900 wx_cv_type_pthread_rec_mutex_init=yes
35901
35902 else
35903 echo "$as_me: failed program was:" >&5
35904 sed 's/^/| /' conftest.$ac_ext >&5
35905
35906
35907 wx_cv_type_pthread_rec_mutex_init=no
35908
35909
35910 fi
35911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35912
35913 fi
35914 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35915 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35916 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35917 cat >>confdefs.h <<\_ACEOF
35918 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35919 _ACEOF
35920
35921 else
35922 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35923 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35924 fi
35925 fi
35926 fi
35927
35928 else
35929 if test "$wxUSE_THREADS" = "yes" ; then
35930 case "${host}" in
35931 *-*-mingw32* )
35932 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35933 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35934 if test "${wx_cv_cflags_mthread+set}" = set; then
35935 echo $ECHO_N "(cached) $ECHO_C" >&6
35936 else
35937
35938 CFLAGS_OLD="$CFLAGS"
35939 CFLAGS="$CFLAGS -mthreads"
35940 cat >conftest.$ac_ext <<_ACEOF
35941 /* confdefs.h. */
35942 _ACEOF
35943 cat confdefs.h >>conftest.$ac_ext
35944 cat >>conftest.$ac_ext <<_ACEOF
35945 /* end confdefs.h. */
35946
35947 int
35948 main ()
35949 {
35950
35951 ;
35952 return 0;
35953 }
35954 _ACEOF
35955 rm -f conftest.$ac_objext
35956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35957 (eval $ac_compile) 2>conftest.er1
35958 ac_status=$?
35959 grep -v '^ *+' conftest.er1 >conftest.err
35960 rm -f conftest.er1
35961 cat conftest.err >&5
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); } &&
35964 { ac_try='test -z "$ac_c_werror_flag"
35965 || test ! -s conftest.err'
35966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35967 (eval $ac_try) 2>&5
35968 ac_status=$?
35969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35970 (exit $ac_status); }; } &&
35971 { ac_try='test -s conftest.$ac_objext'
35972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35973 (eval $ac_try) 2>&5
35974 ac_status=$?
35975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35976 (exit $ac_status); }; }; then
35977 wx_cv_cflags_mthread=yes
35978 else
35979 echo "$as_me: failed program was:" >&5
35980 sed 's/^/| /' conftest.$ac_ext >&5
35981
35982 wx_cv_cflags_mthread=no
35983
35984 fi
35985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35986
35987
35988 fi
35989 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
35990 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35991
35992 if test "$wx_cv_cflags_mthread" = "yes"; then
35993 CXXFLAGS="$CXXFLAGS -mthreads"
35994 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
35995 LDFLAGS="$LDFLAGS -mthreads"
35996 else
35997 CFLAGS="$CFLAGS_OLD"
35998 fi
35999 ;;
36000 *-pc-os2*emx )
36001 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
36002 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
36003 LDFLAGS="$LDFLAGS -Zmt"
36004 ;;
36005 esac
36006 fi
36007 fi
36008
36009 if test "$wxUSE_THREADS" = "yes"; then
36010 cat >>confdefs.h <<\_ACEOF
36011 #define wxUSE_THREADS 1
36012 _ACEOF
36013
36014
36015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
36016 else
36017 if test "$ac_cv_func_strtok_r" = "yes"; then
36018 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
36019 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
36020 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
36021 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
36022 echo "$as_me:$LINENO: result: yes" >&5
36023 echo "${ECHO_T}yes" >&6
36024 else
36025 echo "$as_me:$LINENO: result: no" >&5
36026 echo "${ECHO_T}no" >&6
36027 fi
36028 fi
36029 fi
36030
36031 if test "$WXGTK20" = 1 ; then
36032 cat >>confdefs.h <<_ACEOF
36033 #define __WXGTK20__ $WXGTK20
36034 _ACEOF
36035
36036 WXGTK12=1
36037 fi
36038
36039 if test "$WXGTK12" = 1 ; then
36040 cat >>confdefs.h <<_ACEOF
36041 #define __WXGTK12__ $WXGTK12
36042 _ACEOF
36043
36044 fi
36045
36046 if test "$WXGTK127" = 1 ; then
36047 cat >>confdefs.h <<_ACEOF
36048 #define __WXGTK127__ $WXGTK127
36049 _ACEOF
36050
36051 fi
36052
36053 if test "$WXGPE" = 1 ; then
36054 cat >>confdefs.h <<_ACEOF
36055 #define __WXGPE__ $WXGPE
36056 _ACEOF
36057
36058 fi
36059
36060 WXDEBUG=
36061
36062 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
36063 WXDEBUG="-g"
36064 wxUSE_OPTIMISE=no
36065 fi
36066
36067 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
36068 wxUSE_DEBUG_INFO=yes
36069 if test "$GCC" = yes; then
36070 WXDEBUG="-ggdb"
36071 fi
36072 fi
36073
36074 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
36075 cat >>confdefs.h <<\_ACEOF
36076 #define WXDEBUG 1
36077 _ACEOF
36078
36079 WXDEBUG_DEFINE="-D__WXDEBUG__"
36080 else
36081 if test "$wxUSE_GTK" = 1 ; then
36082 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
36083 fi
36084 fi
36085
36086 if test "$wxUSE_MEM_TRACING" = "yes" ; then
36087 cat >>confdefs.h <<\_ACEOF
36088 #define wxUSE_MEMORY_TRACING 1
36089 _ACEOF
36090
36091 cat >>confdefs.h <<\_ACEOF
36092 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
36093 _ACEOF
36094
36095 cat >>confdefs.h <<\_ACEOF
36096 #define wxUSE_DEBUG_NEW_ALWAYS 1
36097 _ACEOF
36098
36099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
36100 fi
36101
36102 if test "$wxUSE_DMALLOC" = "yes" ; then
36103 DMALLOC_LIBS="-ldmallocthcxx"
36104 fi
36105
36106 PROFILE=
36107 if test "$wxUSE_PROFILE" = "yes" ; then
36108 PROFILE=" -pg"
36109 fi
36110
36111 CODE_GEN_FLAGS=
36112 CODE_GEN_FLAGS_CXX=
36113 if test "$GCC" = "yes" ; then
36114 if test "$wxUSE_NO_RTTI" = "yes" ; then
36115 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
36116 fi
36117 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36118 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
36119 fi
36120 if test "$wxUSE_PERMISSIVE" = "yes" ; then
36121 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
36122 fi
36123
36124 case "${host}" in
36125 powerpc*-*-aix* )
36126 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
36127 ;;
36128 *-hppa* )
36129 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
36130 ;;
36131 esac
36132 fi
36133
36134 OPTIMISE=
36135 if test "$wxUSE_OPTIMISE" = "no" ; then
36136 if test "$GCC" = yes ; then
36137 OPTIMISE="-O0"
36138 fi
36139 else
36140 if test "$GCC" = yes ; then
36141 OPTIMISE="-O2"
36142
36143 case "${host}" in
36144 i586-*-*|i686-*-* )
36145 OPTIMISE="${OPTIMISE} "
36146 ;;
36147 esac
36148 else
36149 OPTIMISE="-O"
36150 fi
36151 fi
36152
36153
36154 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
36155 cat >>confdefs.h <<\_ACEOF
36156 #define WXWIN_COMPATIBILITY_2_2 1
36157 _ACEOF
36158
36159
36160 WXWIN_COMPATIBILITY_2_4="yes"
36161 fi
36162
36163 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
36164 cat >>confdefs.h <<\_ACEOF
36165 #define WXWIN_COMPATIBILITY_2_4 1
36166 _ACEOF
36167
36168 fi
36169
36170
36171 if test "$wxUSE_GUI" = "yes"; then
36172 cat >>confdefs.h <<\_ACEOF
36173 #define wxUSE_GUI 1
36174 _ACEOF
36175
36176
36177 fi
36178
36179
36180 if test "$wxUSE_UNIX" = "yes"; then
36181 cat >>confdefs.h <<\_ACEOF
36182 #define wxUSE_UNIX 1
36183 _ACEOF
36184
36185 fi
36186
36187
36188 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36189
36190 HAVE_DL_FUNCS=0
36191 HAVE_SHL_FUNCS=0
36192 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36193 if test "$USE_DARWIN" = 1; then
36194 HAVE_DL_FUNCS=1
36195 elif test "$USE_DOS" = 1; then
36196 HAVE_DL_FUNCS=0
36197 else
36198
36199 for ac_func in dlopen
36200 do
36201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36202 echo "$as_me:$LINENO: checking for $ac_func" >&5
36203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36204 if eval "test \"\${$as_ac_var+set}\" = set"; then
36205 echo $ECHO_N "(cached) $ECHO_C" >&6
36206 else
36207 cat >conftest.$ac_ext <<_ACEOF
36208 /* confdefs.h. */
36209 _ACEOF
36210 cat confdefs.h >>conftest.$ac_ext
36211 cat >>conftest.$ac_ext <<_ACEOF
36212 /* end confdefs.h. */
36213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36215 #define $ac_func innocuous_$ac_func
36216
36217 /* System header to define __stub macros and hopefully few prototypes,
36218 which can conflict with char $ac_func (); below.
36219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36220 <limits.h> exists even on freestanding compilers. */
36221
36222 #ifdef __STDC__
36223 # include <limits.h>
36224 #else
36225 # include <assert.h>
36226 #endif
36227
36228 #undef $ac_func
36229
36230 /* Override any gcc2 internal prototype to avoid an error. */
36231 #ifdef __cplusplus
36232 extern "C"
36233 {
36234 #endif
36235 /* We use char because int might match the return type of a gcc2
36236 builtin and then its argument prototype would still apply. */
36237 char $ac_func ();
36238 /* The GNU C library defines this for functions which it implements
36239 to always fail with ENOSYS. Some functions are actually named
36240 something starting with __ and the normal name is an alias. */
36241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36242 choke me
36243 #else
36244 char (*f) () = $ac_func;
36245 #endif
36246 #ifdef __cplusplus
36247 }
36248 #endif
36249
36250 int
36251 main ()
36252 {
36253 return f != $ac_func;
36254 ;
36255 return 0;
36256 }
36257 _ACEOF
36258 rm -f conftest.$ac_objext conftest$ac_exeext
36259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36260 (eval $ac_link) 2>conftest.er1
36261 ac_status=$?
36262 grep -v '^ *+' conftest.er1 >conftest.err
36263 rm -f conftest.er1
36264 cat conftest.err >&5
36265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36266 (exit $ac_status); } &&
36267 { ac_try='test -z "$ac_c_werror_flag"
36268 || test ! -s conftest.err'
36269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36270 (eval $ac_try) 2>&5
36271 ac_status=$?
36272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36273 (exit $ac_status); }; } &&
36274 { ac_try='test -s conftest$ac_exeext'
36275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36276 (eval $ac_try) 2>&5
36277 ac_status=$?
36278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36279 (exit $ac_status); }; }; then
36280 eval "$as_ac_var=yes"
36281 else
36282 echo "$as_me: failed program was:" >&5
36283 sed 's/^/| /' conftest.$ac_ext >&5
36284
36285 eval "$as_ac_var=no"
36286 fi
36287 rm -f conftest.err conftest.$ac_objext \
36288 conftest$ac_exeext conftest.$ac_ext
36289 fi
36290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36292 if test `eval echo '${'$as_ac_var'}'` = yes; then
36293 cat >>confdefs.h <<_ACEOF
36294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36295 _ACEOF
36296
36297 cat >>confdefs.h <<\_ACEOF
36298 #define HAVE_DLOPEN 1
36299 _ACEOF
36300
36301 HAVE_DL_FUNCS=1
36302
36303 else
36304
36305 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
36306 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
36307 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
36308 echo $ECHO_N "(cached) $ECHO_C" >&6
36309 else
36310 ac_check_lib_save_LIBS=$LIBS
36311 LIBS="-ldl $LIBS"
36312 cat >conftest.$ac_ext <<_ACEOF
36313 /* confdefs.h. */
36314 _ACEOF
36315 cat confdefs.h >>conftest.$ac_ext
36316 cat >>conftest.$ac_ext <<_ACEOF
36317 /* end confdefs.h. */
36318
36319 /* Override any gcc2 internal prototype to avoid an error. */
36320 #ifdef __cplusplus
36321 extern "C"
36322 #endif
36323 /* We use char because int might match the return type of a gcc2
36324 builtin and then its argument prototype would still apply. */
36325 char dlopen ();
36326 int
36327 main ()
36328 {
36329 dlopen ();
36330 ;
36331 return 0;
36332 }
36333 _ACEOF
36334 rm -f conftest.$ac_objext conftest$ac_exeext
36335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36336 (eval $ac_link) 2>conftest.er1
36337 ac_status=$?
36338 grep -v '^ *+' conftest.er1 >conftest.err
36339 rm -f conftest.er1
36340 cat conftest.err >&5
36341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36342 (exit $ac_status); } &&
36343 { ac_try='test -z "$ac_c_werror_flag"
36344 || test ! -s conftest.err'
36345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36346 (eval $ac_try) 2>&5
36347 ac_status=$?
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); }; } &&
36350 { ac_try='test -s conftest$ac_exeext'
36351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36352 (eval $ac_try) 2>&5
36353 ac_status=$?
36354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355 (exit $ac_status); }; }; then
36356 ac_cv_lib_dl_dlopen=yes
36357 else
36358 echo "$as_me: failed program was:" >&5
36359 sed 's/^/| /' conftest.$ac_ext >&5
36360
36361 ac_cv_lib_dl_dlopen=no
36362 fi
36363 rm -f conftest.err conftest.$ac_objext \
36364 conftest$ac_exeext conftest.$ac_ext
36365 LIBS=$ac_check_lib_save_LIBS
36366 fi
36367 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36368 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
36369 if test $ac_cv_lib_dl_dlopen = yes; then
36370
36371 cat >>confdefs.h <<\_ACEOF
36372 #define HAVE_DLOPEN 1
36373 _ACEOF
36374
36375 HAVE_DL_FUNCS=1
36376 DL_LINK=" -ldl$DL_LINK"
36377
36378 else
36379
36380
36381 for ac_func in shl_load
36382 do
36383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36384 echo "$as_me:$LINENO: checking for $ac_func" >&5
36385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36386 if eval "test \"\${$as_ac_var+set}\" = set"; then
36387 echo $ECHO_N "(cached) $ECHO_C" >&6
36388 else
36389 cat >conftest.$ac_ext <<_ACEOF
36390 /* confdefs.h. */
36391 _ACEOF
36392 cat confdefs.h >>conftest.$ac_ext
36393 cat >>conftest.$ac_ext <<_ACEOF
36394 /* end confdefs.h. */
36395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36397 #define $ac_func innocuous_$ac_func
36398
36399 /* System header to define __stub macros and hopefully few prototypes,
36400 which can conflict with char $ac_func (); below.
36401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36402 <limits.h> exists even on freestanding compilers. */
36403
36404 #ifdef __STDC__
36405 # include <limits.h>
36406 #else
36407 # include <assert.h>
36408 #endif
36409
36410 #undef $ac_func
36411
36412 /* Override any gcc2 internal prototype to avoid an error. */
36413 #ifdef __cplusplus
36414 extern "C"
36415 {
36416 #endif
36417 /* We use char because int might match the return type of a gcc2
36418 builtin and then its argument prototype would still apply. */
36419 char $ac_func ();
36420 /* The GNU C library defines this for functions which it implements
36421 to always fail with ENOSYS. Some functions are actually named
36422 something starting with __ and the normal name is an alias. */
36423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36424 choke me
36425 #else
36426 char (*f) () = $ac_func;
36427 #endif
36428 #ifdef __cplusplus
36429 }
36430 #endif
36431
36432 int
36433 main ()
36434 {
36435 return f != $ac_func;
36436 ;
36437 return 0;
36438 }
36439 _ACEOF
36440 rm -f conftest.$ac_objext conftest$ac_exeext
36441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36442 (eval $ac_link) 2>conftest.er1
36443 ac_status=$?
36444 grep -v '^ *+' conftest.er1 >conftest.err
36445 rm -f conftest.er1
36446 cat conftest.err >&5
36447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36448 (exit $ac_status); } &&
36449 { ac_try='test -z "$ac_c_werror_flag"
36450 || test ! -s conftest.err'
36451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36452 (eval $ac_try) 2>&5
36453 ac_status=$?
36454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36455 (exit $ac_status); }; } &&
36456 { ac_try='test -s conftest$ac_exeext'
36457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36458 (eval $ac_try) 2>&5
36459 ac_status=$?
36460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36461 (exit $ac_status); }; }; then
36462 eval "$as_ac_var=yes"
36463 else
36464 echo "$as_me: failed program was:" >&5
36465 sed 's/^/| /' conftest.$ac_ext >&5
36466
36467 eval "$as_ac_var=no"
36468 fi
36469 rm -f conftest.err conftest.$ac_objext \
36470 conftest$ac_exeext conftest.$ac_ext
36471 fi
36472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36474 if test `eval echo '${'$as_ac_var'}'` = yes; then
36475 cat >>confdefs.h <<_ACEOF
36476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36477 _ACEOF
36478
36479 cat >>confdefs.h <<\_ACEOF
36480 #define HAVE_SHL_LOAD 1
36481 _ACEOF
36482
36483 HAVE_SHL_FUNCS=1
36484
36485 else
36486
36487 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
36488 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
36489 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
36490 echo $ECHO_N "(cached) $ECHO_C" >&6
36491 else
36492 ac_check_lib_save_LIBS=$LIBS
36493 LIBS="-lshl_load $LIBS"
36494 cat >conftest.$ac_ext <<_ACEOF
36495 /* confdefs.h. */
36496 _ACEOF
36497 cat confdefs.h >>conftest.$ac_ext
36498 cat >>conftest.$ac_ext <<_ACEOF
36499 /* end confdefs.h. */
36500
36501 /* Override any gcc2 internal prototype to avoid an error. */
36502 #ifdef __cplusplus
36503 extern "C"
36504 #endif
36505 /* We use char because int might match the return type of a gcc2
36506 builtin and then its argument prototype would still apply. */
36507 char dld ();
36508 int
36509 main ()
36510 {
36511 dld ();
36512 ;
36513 return 0;
36514 }
36515 _ACEOF
36516 rm -f conftest.$ac_objext conftest$ac_exeext
36517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36518 (eval $ac_link) 2>conftest.er1
36519 ac_status=$?
36520 grep -v '^ *+' conftest.er1 >conftest.err
36521 rm -f conftest.er1
36522 cat conftest.err >&5
36523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36524 (exit $ac_status); } &&
36525 { ac_try='test -z "$ac_c_werror_flag"
36526 || test ! -s conftest.err'
36527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36528 (eval $ac_try) 2>&5
36529 ac_status=$?
36530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531 (exit $ac_status); }; } &&
36532 { ac_try='test -s conftest$ac_exeext'
36533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36534 (eval $ac_try) 2>&5
36535 ac_status=$?
36536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36537 (exit $ac_status); }; }; then
36538 ac_cv_lib_shl_load_dld=yes
36539 else
36540 echo "$as_me: failed program was:" >&5
36541 sed 's/^/| /' conftest.$ac_ext >&5
36542
36543 ac_cv_lib_shl_load_dld=no
36544 fi
36545 rm -f conftest.err conftest.$ac_objext \
36546 conftest$ac_exeext conftest.$ac_ext
36547 LIBS=$ac_check_lib_save_LIBS
36548 fi
36549 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
36550 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
36551 if test $ac_cv_lib_shl_load_dld = yes; then
36552
36553 HAVE_SHL_FUNCS=1
36554 DL_LINK=" -ldld$DL_LINK"
36555
36556 fi
36557
36558
36559 fi
36560 done
36561
36562
36563 fi
36564
36565
36566 fi
36567 done
36568
36569
36570 if test "$HAVE_DL_FUNCS" = 1; then
36571
36572 for ac_func in dlerror
36573 do
36574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36575 echo "$as_me:$LINENO: checking for $ac_func" >&5
36576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36577 if eval "test \"\${$as_ac_var+set}\" = set"; then
36578 echo $ECHO_N "(cached) $ECHO_C" >&6
36579 else
36580 cat >conftest.$ac_ext <<_ACEOF
36581 /* confdefs.h. */
36582 _ACEOF
36583 cat confdefs.h >>conftest.$ac_ext
36584 cat >>conftest.$ac_ext <<_ACEOF
36585 /* end confdefs.h. */
36586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36588 #define $ac_func innocuous_$ac_func
36589
36590 /* System header to define __stub macros and hopefully few prototypes,
36591 which can conflict with char $ac_func (); below.
36592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36593 <limits.h> exists even on freestanding compilers. */
36594
36595 #ifdef __STDC__
36596 # include <limits.h>
36597 #else
36598 # include <assert.h>
36599 #endif
36600
36601 #undef $ac_func
36602
36603 /* Override any gcc2 internal prototype to avoid an error. */
36604 #ifdef __cplusplus
36605 extern "C"
36606 {
36607 #endif
36608 /* We use char because int might match the return type of a gcc2
36609 builtin and then its argument prototype would still apply. */
36610 char $ac_func ();
36611 /* The GNU C library defines this for functions which it implements
36612 to always fail with ENOSYS. Some functions are actually named
36613 something starting with __ and the normal name is an alias. */
36614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36615 choke me
36616 #else
36617 char (*f) () = $ac_func;
36618 #endif
36619 #ifdef __cplusplus
36620 }
36621 #endif
36622
36623 int
36624 main ()
36625 {
36626 return f != $ac_func;
36627 ;
36628 return 0;
36629 }
36630 _ACEOF
36631 rm -f conftest.$ac_objext conftest$ac_exeext
36632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36633 (eval $ac_link) 2>conftest.er1
36634 ac_status=$?
36635 grep -v '^ *+' conftest.er1 >conftest.err
36636 rm -f conftest.er1
36637 cat conftest.err >&5
36638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36639 (exit $ac_status); } &&
36640 { ac_try='test -z "$ac_c_werror_flag"
36641 || test ! -s conftest.err'
36642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36643 (eval $ac_try) 2>&5
36644 ac_status=$?
36645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36646 (exit $ac_status); }; } &&
36647 { ac_try='test -s conftest$ac_exeext'
36648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36649 (eval $ac_try) 2>&5
36650 ac_status=$?
36651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36652 (exit $ac_status); }; }; then
36653 eval "$as_ac_var=yes"
36654 else
36655 echo "$as_me: failed program was:" >&5
36656 sed 's/^/| /' conftest.$ac_ext >&5
36657
36658 eval "$as_ac_var=no"
36659 fi
36660 rm -f conftest.err conftest.$ac_objext \
36661 conftest$ac_exeext conftest.$ac_ext
36662 fi
36663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36665 if test `eval echo '${'$as_ac_var'}'` = yes; then
36666 cat >>confdefs.h <<_ACEOF
36667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36668 _ACEOF
36669 cat >>confdefs.h <<\_ACEOF
36670 #define HAVE_DLERROR 1
36671 _ACEOF
36672
36673 else
36674
36675 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
36676 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
36677 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
36678 echo $ECHO_N "(cached) $ECHO_C" >&6
36679 else
36680 ac_check_lib_save_LIBS=$LIBS
36681 LIBS="-ldl $LIBS"
36682 cat >conftest.$ac_ext <<_ACEOF
36683 /* confdefs.h. */
36684 _ACEOF
36685 cat confdefs.h >>conftest.$ac_ext
36686 cat >>conftest.$ac_ext <<_ACEOF
36687 /* end confdefs.h. */
36688
36689 /* Override any gcc2 internal prototype to avoid an error. */
36690 #ifdef __cplusplus
36691 extern "C"
36692 #endif
36693 /* We use char because int might match the return type of a gcc2
36694 builtin and then its argument prototype would still apply. */
36695 char dlerror ();
36696 int
36697 main ()
36698 {
36699 dlerror ();
36700 ;
36701 return 0;
36702 }
36703 _ACEOF
36704 rm -f conftest.$ac_objext conftest$ac_exeext
36705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36706 (eval $ac_link) 2>conftest.er1
36707 ac_status=$?
36708 grep -v '^ *+' conftest.er1 >conftest.err
36709 rm -f conftest.er1
36710 cat conftest.err >&5
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); } &&
36713 { ac_try='test -z "$ac_c_werror_flag"
36714 || test ! -s conftest.err'
36715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36716 (eval $ac_try) 2>&5
36717 ac_status=$?
36718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36719 (exit $ac_status); }; } &&
36720 { ac_try='test -s conftest$ac_exeext'
36721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36722 (eval $ac_try) 2>&5
36723 ac_status=$?
36724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36725 (exit $ac_status); }; }; then
36726 ac_cv_lib_dl_dlerror=yes
36727 else
36728 echo "$as_me: failed program was:" >&5
36729 sed 's/^/| /' conftest.$ac_ext >&5
36730
36731 ac_cv_lib_dl_dlerror=no
36732 fi
36733 rm -f conftest.err conftest.$ac_objext \
36734 conftest$ac_exeext conftest.$ac_ext
36735 LIBS=$ac_check_lib_save_LIBS
36736 fi
36737 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
36738 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
36739 if test $ac_cv_lib_dl_dlerror = yes; then
36740 cat >>confdefs.h <<\_ACEOF
36741 #define HAVE_DLERROR 1
36742 _ACEOF
36743
36744 fi
36745
36746
36747
36748 fi
36749 done
36750
36751 fi
36752 fi
36753
36754 if test "$HAVE_DL_FUNCS" = 0; then
36755 if test "$HAVE_SHL_FUNCS" = 0; then
36756 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
36757 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36758 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
36759 wxUSE_DYNAMIC_LOADER=no
36760 wxUSE_DYNLIB_CLASS=no
36761 else
36762 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
36763 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36764 fi
36765 fi
36766 fi
36767 fi
36768 fi
36769
36770 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36771 cat >>confdefs.h <<\_ACEOF
36772 #define wxUSE_DYNAMIC_LOADER 1
36773 _ACEOF
36774
36775 fi
36776 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36777 cat >>confdefs.h <<\_ACEOF
36778 #define wxUSE_DYNLIB_CLASS 1
36779 _ACEOF
36780
36781 fi
36782
36783
36784
36785 if test "$wxUSE_PLUGINS" = "yes" ; then
36786 if test "$wxUSE_SHARED" = "no" ; then
36787 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36788 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36789 wxUSE_PLUGINS=no
36790 fi
36791 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36792 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36793 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36794 wxUSE_PLUGINS=no
36795 fi
36796 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36797 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36798 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36799 wxUSE_PLUGINS=no
36800 fi
36801 if test "$wxUSE_PLUGINS" = "yes" ; then
36802 cat >>confdefs.h <<\_ACEOF
36803 #define wxUSE_PLUGINS 1
36804 _ACEOF
36805
36806 fi
36807 fi
36808
36809
36810 if test "$wxUSE_STL" = "yes"; then
36811 cat >>confdefs.h <<\_ACEOF
36812 #define wxUSE_STL 1
36813 _ACEOF
36814
36815 fi
36816
36817 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36818 cat >>confdefs.h <<\_ACEOF
36819 #define wxUSE_APPLE_IEEE 1
36820 _ACEOF
36821
36822 fi
36823
36824 if test "$wxUSE_TIMER" = "yes"; then
36825 cat >>confdefs.h <<\_ACEOF
36826 #define wxUSE_TIMER 1
36827 _ACEOF
36828
36829 fi
36830
36831 if test "$USE_UNIX" = "1" ; then
36832
36833 for ac_header in sys/soundcard.h
36834 do
36835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36837 echo "$as_me:$LINENO: checking for $ac_header" >&5
36838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36840 echo $ECHO_N "(cached) $ECHO_C" >&6
36841 fi
36842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36844 else
36845 # Is the header compilable?
36846 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36847 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36848 cat >conftest.$ac_ext <<_ACEOF
36849 /* confdefs.h. */
36850 _ACEOF
36851 cat confdefs.h >>conftest.$ac_ext
36852 cat >>conftest.$ac_ext <<_ACEOF
36853 /* end confdefs.h. */
36854 $ac_includes_default
36855 #include <$ac_header>
36856 _ACEOF
36857 rm -f conftest.$ac_objext
36858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36859 (eval $ac_compile) 2>conftest.er1
36860 ac_status=$?
36861 grep -v '^ *+' conftest.er1 >conftest.err
36862 rm -f conftest.er1
36863 cat conftest.err >&5
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); } &&
36866 { ac_try='test -z "$ac_c_werror_flag"
36867 || test ! -s conftest.err'
36868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36869 (eval $ac_try) 2>&5
36870 ac_status=$?
36871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36872 (exit $ac_status); }; } &&
36873 { ac_try='test -s conftest.$ac_objext'
36874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36875 (eval $ac_try) 2>&5
36876 ac_status=$?
36877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36878 (exit $ac_status); }; }; then
36879 ac_header_compiler=yes
36880 else
36881 echo "$as_me: failed program was:" >&5
36882 sed 's/^/| /' conftest.$ac_ext >&5
36883
36884 ac_header_compiler=no
36885 fi
36886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36887 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36888 echo "${ECHO_T}$ac_header_compiler" >&6
36889
36890 # Is the header present?
36891 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36892 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36893 cat >conftest.$ac_ext <<_ACEOF
36894 /* confdefs.h. */
36895 _ACEOF
36896 cat confdefs.h >>conftest.$ac_ext
36897 cat >>conftest.$ac_ext <<_ACEOF
36898 /* end confdefs.h. */
36899 #include <$ac_header>
36900 _ACEOF
36901 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36902 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36903 ac_status=$?
36904 grep -v '^ *+' conftest.er1 >conftest.err
36905 rm -f conftest.er1
36906 cat conftest.err >&5
36907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36908 (exit $ac_status); } >/dev/null; then
36909 if test -s conftest.err; then
36910 ac_cpp_err=$ac_c_preproc_warn_flag
36911 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36912 else
36913 ac_cpp_err=
36914 fi
36915 else
36916 ac_cpp_err=yes
36917 fi
36918 if test -z "$ac_cpp_err"; then
36919 ac_header_preproc=yes
36920 else
36921 echo "$as_me: failed program was:" >&5
36922 sed 's/^/| /' conftest.$ac_ext >&5
36923
36924 ac_header_preproc=no
36925 fi
36926 rm -f conftest.err conftest.$ac_ext
36927 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36928 echo "${ECHO_T}$ac_header_preproc" >&6
36929
36930 # So? What about this header?
36931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36932 yes:no: )
36933 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36934 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36936 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36937 ac_header_preproc=yes
36938 ;;
36939 no:yes:* )
36940 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36941 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36942 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36943 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36944 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36945 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36946 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36947 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36949 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36950 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36951 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36952 (
36953 cat <<\_ASBOX
36954 ## ----------------------------------------- ##
36955 ## Report this to wx-dev@lists.wxwidgets.org ##
36956 ## ----------------------------------------- ##
36957 _ASBOX
36958 ) |
36959 sed "s/^/$as_me: WARNING: /" >&2
36960 ;;
36961 esac
36962 echo "$as_me:$LINENO: checking for $ac_header" >&5
36963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36965 echo $ECHO_N "(cached) $ECHO_C" >&6
36966 else
36967 eval "$as_ac_Header=\$ac_header_preproc"
36968 fi
36969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36971
36972 fi
36973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36974 cat >>confdefs.h <<_ACEOF
36975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36976 _ACEOF
36977
36978 else
36979 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
36980 fi
36981
36982 done
36983
36984 fi
36985 WITH_PLUGIN_SDL=0
36986 if test "$wxUSE_SOUND" = "yes"; then
36987 if test "$USE_UNIX" = "1" ; then
36988 if test "$wxUSE_LIBSDL" != "no"; then
36989
36990 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
36991 if test "${with_sdl_prefix+set}" = set; then
36992 withval="$with_sdl_prefix"
36993 sdl_prefix="$withval"
36994 else
36995 sdl_prefix=""
36996 fi;
36997
36998 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36999 if test "${with_sdl_exec_prefix+set}" = set; then
37000 withval="$with_sdl_exec_prefix"
37001 sdl_exec_prefix="$withval"
37002 else
37003 sdl_exec_prefix=""
37004 fi;
37005 # Check whether --enable-sdltest or --disable-sdltest was given.
37006 if test "${enable_sdltest+set}" = set; then
37007 enableval="$enable_sdltest"
37008
37009 else
37010 enable_sdltest=yes
37011 fi;
37012
37013 if test x$sdl_exec_prefix != x ; then
37014 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
37015 if test x${SDL_CONFIG+set} != xset ; then
37016 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
37017 fi
37018 fi
37019 if test x$sdl_prefix != x ; then
37020 sdl_args="$sdl_args --prefix=$sdl_prefix"
37021 if test x${SDL_CONFIG+set} != xset ; then
37022 SDL_CONFIG=$sdl_prefix/bin/sdl-config
37023 fi
37024 fi
37025
37026
37027 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
37028 # Extract the first word of "sdl-config", so it can be a program name with args.
37029 set dummy sdl-config; ac_word=$2
37030 echo "$as_me:$LINENO: checking for $ac_word" >&5
37031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37032 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
37033 echo $ECHO_N "(cached) $ECHO_C" >&6
37034 else
37035 case $SDL_CONFIG in
37036 [\\/]* | ?:[\\/]*)
37037 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
37038 ;;
37039 *)
37040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37041 for as_dir in $PATH
37042 do
37043 IFS=$as_save_IFS
37044 test -z "$as_dir" && as_dir=.
37045 for ac_exec_ext in '' $ac_executable_extensions; do
37046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37047 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37049 break 2
37050 fi
37051 done
37052 done
37053
37054 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
37055 ;;
37056 esac
37057 fi
37058 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
37059
37060 if test -n "$SDL_CONFIG"; then
37061 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
37062 echo "${ECHO_T}$SDL_CONFIG" >&6
37063 else
37064 echo "$as_me:$LINENO: result: no" >&5
37065 echo "${ECHO_T}no" >&6
37066 fi
37067
37068 min_sdl_version=1.2.0
37069 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
37070 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
37071 no_sdl=""
37072 if test "$SDL_CONFIG" = "no" ; then
37073 no_sdl=yes
37074 else
37075 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
37076 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
37077
37078 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
37079 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
37080 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
37081 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
37082 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
37083 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
37084 if test "x$enable_sdltest" = "xyes" ; then
37085 ac_save_CFLAGS="$CFLAGS"
37086 ac_save_CXXFLAGS="$CXXFLAGS"
37087 ac_save_LIBS="$LIBS"
37088 CFLAGS="$CFLAGS $SDL_CFLAGS"
37089 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
37090 LIBS="$LIBS $SDL_LIBS"
37091 rm -f conf.sdltest
37092 if test "$cross_compiling" = yes; then
37093 echo $ac_n "cross compiling; assumed OK... $ac_c"
37094 else
37095 cat >conftest.$ac_ext <<_ACEOF
37096 /* confdefs.h. */
37097 _ACEOF
37098 cat confdefs.h >>conftest.$ac_ext
37099 cat >>conftest.$ac_ext <<_ACEOF
37100 /* end confdefs.h. */
37101
37102 #include <stdio.h>
37103 #include <stdlib.h>
37104 #include <string.h>
37105 #include "SDL.h"
37106
37107 char*
37108 my_strdup (char *str)
37109 {
37110 char *new_str;
37111
37112 if (str)
37113 {
37114 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
37115 strcpy (new_str, str);
37116 }
37117 else
37118 new_str = NULL;
37119
37120 return new_str;
37121 }
37122
37123 int main (int argc, char *argv[])
37124 {
37125 int major, minor, micro;
37126 char *tmp_version;
37127
37128 /* This hangs on some systems (?)
37129 system ("touch conf.sdltest");
37130 */
37131 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
37132
37133 /* HP/UX 9 (%@#!) writes to sscanf strings */
37134 tmp_version = my_strdup("$min_sdl_version");
37135 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
37136 printf("%s, bad version string\n", "$min_sdl_version");
37137 exit(1);
37138 }
37139
37140 if (($sdl_major_version > major) ||
37141 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
37142 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
37143 {
37144 return 0;
37145 }
37146 else
37147 {
37148 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
37149 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
37150 printf("*** best to upgrade to the required version.\n");
37151 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
37152 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
37153 printf("*** config.cache before re-running configure\n");
37154 return 1;
37155 }
37156 }
37157
37158
37159 _ACEOF
37160 rm -f conftest$ac_exeext
37161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37162 (eval $ac_link) 2>&5
37163 ac_status=$?
37164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37165 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37167 (eval $ac_try) 2>&5
37168 ac_status=$?
37169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37170 (exit $ac_status); }; }; then
37171 :
37172 else
37173 echo "$as_me: program exited with status $ac_status" >&5
37174 echo "$as_me: failed program was:" >&5
37175 sed 's/^/| /' conftest.$ac_ext >&5
37176
37177 ( exit $ac_status )
37178 no_sdl=yes
37179 fi
37180 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37181 fi
37182 CFLAGS="$ac_save_CFLAGS"
37183 CXXFLAGS="$ac_save_CXXFLAGS"
37184 LIBS="$ac_save_LIBS"
37185 fi
37186 fi
37187 if test "x$no_sdl" = x ; then
37188 echo "$as_me:$LINENO: result: yes" >&5
37189 echo "${ECHO_T}yes" >&6
37190
37191 EXTRALIBS_SDL="$SDL_LIBS"
37192 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
37193 cat >>confdefs.h <<\_ACEOF
37194 #define wxUSE_LIBSDL 1
37195 _ACEOF
37196
37197
37198 else
37199 echo "$as_me:$LINENO: result: no" >&5
37200 echo "${ECHO_T}no" >&6
37201 if test "$SDL_CONFIG" = "no" ; then
37202 echo "*** The sdl-config script installed by SDL could not be found"
37203 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
37204 echo "*** your path, or set the SDL_CONFIG environment variable to the"
37205 echo "*** full path to sdl-config."
37206 else
37207 if test -f conf.sdltest ; then
37208 :
37209 else
37210 echo "*** Could not run SDL test program, checking why..."
37211 CFLAGS="$CFLAGS $SDL_CFLAGS"
37212 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
37213 LIBS="$LIBS $SDL_LIBS"
37214 cat >conftest.$ac_ext <<_ACEOF
37215 /* confdefs.h. */
37216 _ACEOF
37217 cat confdefs.h >>conftest.$ac_ext
37218 cat >>conftest.$ac_ext <<_ACEOF
37219 /* end confdefs.h. */
37220
37221 #include <stdio.h>
37222 #include "SDL.h"
37223
37224 int main(int argc, char *argv[])
37225 { return 0; }
37226 #undef main
37227 #define main K_and_R_C_main
37228
37229 int
37230 main ()
37231 {
37232 return 0;
37233 ;
37234 return 0;
37235 }
37236 _ACEOF
37237 rm -f conftest.$ac_objext conftest$ac_exeext
37238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37239 (eval $ac_link) 2>conftest.er1
37240 ac_status=$?
37241 grep -v '^ *+' conftest.er1 >conftest.err
37242 rm -f conftest.er1
37243 cat conftest.err >&5
37244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37245 (exit $ac_status); } &&
37246 { ac_try='test -z "$ac_c_werror_flag"
37247 || test ! -s conftest.err'
37248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37249 (eval $ac_try) 2>&5
37250 ac_status=$?
37251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37252 (exit $ac_status); }; } &&
37253 { ac_try='test -s conftest$ac_exeext'
37254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37255 (eval $ac_try) 2>&5
37256 ac_status=$?
37257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37258 (exit $ac_status); }; }; then
37259 echo "*** The test program compiled, but did not run. This usually means"
37260 echo "*** that the run-time linker is not finding SDL or finding the wrong"
37261 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
37262 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
37263 echo "*** to the installed location Also, make sure you have run ldconfig if that"
37264 echo "*** is required on your system"
37265 echo "***"
37266 echo "*** If you have an old version installed, it is best to remove it, although"
37267 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
37268 else
37269 echo "$as_me: failed program was:" >&5
37270 sed 's/^/| /' conftest.$ac_ext >&5
37271
37272 echo "*** The test program failed to compile or link. See the file config.log for the"
37273 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
37274 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
37275 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
37276 fi
37277 rm -f conftest.err conftest.$ac_objext \
37278 conftest$ac_exeext conftest.$ac_ext
37279 CFLAGS="$ac_save_CFLAGS"
37280 CXXFLAGS="$ac_save_CXXFLAGS"
37281 LIBS="$ac_save_LIBS"
37282 fi
37283 fi
37284 SDL_CFLAGS=""
37285 SDL_LIBS=""
37286 wxUSE_LIBSDL="no"
37287 fi
37288
37289
37290 rm -f conf.sdltest
37291
37292 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
37293 WITH_PLUGIN_SDL=1
37294 fi
37295 fi
37296 fi
37297
37298 cat >>confdefs.h <<\_ACEOF
37299 #define wxUSE_SOUND 1
37300 _ACEOF
37301
37302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
37303 fi
37304
37305 if test "$WXGTK20" = 1; then
37306 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37307 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37308
37309
37310 succeeded=no
37311
37312 if test -z "$PKG_CONFIG"; then
37313 # Extract the first word of "pkg-config", so it can be a program name with args.
37314 set dummy pkg-config; ac_word=$2
37315 echo "$as_me:$LINENO: checking for $ac_word" >&5
37316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37317 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37318 echo $ECHO_N "(cached) $ECHO_C" >&6
37319 else
37320 case $PKG_CONFIG in
37321 [\\/]* | ?:[\\/]*)
37322 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
37323 ;;
37324 *)
37325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37326 for as_dir in $PATH
37327 do
37328 IFS=$as_save_IFS
37329 test -z "$as_dir" && as_dir=.
37330 for ac_exec_ext in '' $ac_executable_extensions; do
37331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37332 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37334 break 2
37335 fi
37336 done
37337 done
37338
37339 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
37340 ;;
37341 esac
37342 fi
37343 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
37344
37345 if test -n "$PKG_CONFIG"; then
37346 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37347 echo "${ECHO_T}$PKG_CONFIG" >&6
37348 else
37349 echo "$as_me:$LINENO: result: no" >&5
37350 echo "${ECHO_T}no" >&6
37351 fi
37352
37353 fi
37354
37355 if test "$PKG_CONFIG" = "no" ; then
37356 echo "*** The pkg-config script could not be found. Make sure it is"
37357 echo "*** in your path, or set the PKG_CONFIG environment variable"
37358 echo "*** to the full path to pkg-config."
37359 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
37360 else
37361 PKG_CONFIG_MIN_VERSION=0.9.0
37362 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
37363 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
37364 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
37365
37366 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
37367 echo "$as_me:$LINENO: result: yes" >&5
37368 echo "${ECHO_T}yes" >&6
37369 succeeded=yes
37370
37371 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
37372 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
37373 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
37374 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
37375 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
37376
37377 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
37378 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
37379 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
37380 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
37381 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
37382 else
37383 LIBGNOMEPRINTUI_CFLAGS=""
37384 LIBGNOMEPRINTUI_LIBS=""
37385 ## If we have a custom action on failure, don't print errors, but
37386 ## do set a variable so people can do so.
37387 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
37388
37389 fi
37390
37391
37392
37393 else
37394 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
37395 echo "*** See http://www.freedesktop.org/software/pkgconfig"
37396 fi
37397 fi
37398
37399 if test $succeeded = yes; then
37400
37401 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
37402 cat >>confdefs.h <<\_ACEOF
37403 #define wxUSE_LIBGNOMEPRINT 1
37404 _ACEOF
37405
37406
37407 else
37408
37409 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
37410 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
37411 wxUSE_LIBGNOMEPRINT="no"
37412
37413
37414 fi
37415
37416 fi
37417 fi
37418 fi
37419
37420
37421 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
37422 cat >>confdefs.h <<\_ACEOF
37423 #define wxUSE_CMDLINE_PARSER 1
37424 _ACEOF
37425
37426 fi
37427
37428 if test "$wxUSE_STOPWATCH" = "yes"; then
37429 cat >>confdefs.h <<\_ACEOF
37430 #define wxUSE_STOPWATCH 1
37431 _ACEOF
37432
37433 fi
37434
37435 if test "$wxUSE_DATETIME" = "yes"; then
37436 cat >>confdefs.h <<\_ACEOF
37437 #define wxUSE_DATETIME 1
37438 _ACEOF
37439
37440 fi
37441
37442 if test "$wxUSE_FILE" = "yes"; then
37443 cat >>confdefs.h <<\_ACEOF
37444 #define wxUSE_FILE 1
37445 _ACEOF
37446
37447 fi
37448
37449 if test "$wxUSE_FFILE" = "yes"; then
37450 cat >>confdefs.h <<\_ACEOF
37451 #define wxUSE_FFILE 1
37452 _ACEOF
37453
37454 fi
37455
37456 if test "$wxUSE_FILESYSTEM" = "yes"; then
37457 cat >>confdefs.h <<\_ACEOF
37458 #define wxUSE_FILESYSTEM 1
37459 _ACEOF
37460
37461 fi
37462
37463 if test "$wxUSE_FS_ZIP" = "yes"; then
37464 cat >>confdefs.h <<\_ACEOF
37465 #define wxUSE_FS_ZIP 1
37466 _ACEOF
37467
37468 fi
37469
37470 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
37471 cat >>confdefs.h <<\_ACEOF
37472 #define wxUSE_ARCHIVE_STREAMS 1
37473 _ACEOF
37474
37475 fi
37476
37477 if test "$wxUSE_ZIPSTREAM" = "yes"; then
37478 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
37479 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
37480 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
37481 elif test "$wxUSE_ZLIB" = "no"; then
37482 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
37483 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
37484 else
37485 cat >>confdefs.h <<\_ACEOF
37486 #define wxUSE_ZIPSTREAM 1
37487 _ACEOF
37488
37489 fi
37490 fi
37491
37492 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37493 if test "$USE_UNIX" != 1; then
37494 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
37495 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
37496 wxUSE_ON_FATAL_EXCEPTION=no
37497 else
37498 cat >>confdefs.h <<\_ACEOF
37499 #define wxUSE_ON_FATAL_EXCEPTION 1
37500 _ACEOF
37501
37502 fi
37503 fi
37504
37505 if test "$wxUSE_STACKWALKER" = "yes"; then
37506 cat >>confdefs.h <<\_ACEOF
37507 #define wxUSE_STACKWALKER 1
37508 _ACEOF
37509
37510 fi
37511
37512 if test "$wxUSE_DEBUGREPORT" = "yes"; then
37513 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
37514 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
37515 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
37516 wxUSE_DEBUGREPORT=no
37517 else
37518 cat >>confdefs.h <<\_ACEOF
37519 #define wxUSE_DEBUGREPORT 1
37520 _ACEOF
37521
37522 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
37524 fi
37525 fi
37526 fi
37527
37528 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37529 cat >>confdefs.h <<\_ACEOF
37530 #define wxUSE_SNGLINST_CHECKER 1
37531 _ACEOF
37532
37533 fi
37534
37535 if test "$wxUSE_BUSYINFO" = "yes"; then
37536 cat >>confdefs.h <<\_ACEOF
37537 #define wxUSE_BUSYINFO 1
37538 _ACEOF
37539
37540 fi
37541
37542 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
37543 cat >>confdefs.h <<\_ACEOF
37544 #define wxUSE_STD_IOSTREAM 1
37545 _ACEOF
37546
37547 fi
37548
37549 if test "$wxUSE_STD_STRING" = "yes"; then
37550 cat >>confdefs.h <<\_ACEOF
37551 #define wxUSE_STD_STRING 1
37552 _ACEOF
37553
37554 fi
37555
37556 if test "$wxUSE_STDPATHS" = "yes"; then
37557 cat >>confdefs.h <<\_ACEOF
37558 #define wxUSE_STDPATHS 1
37559 _ACEOF
37560
37561 fi
37562
37563 if test "$wxUSE_TEXTBUFFER" = "yes"; then
37564 cat >>confdefs.h <<\_ACEOF
37565 #define wxUSE_TEXTBUFFER 1
37566 _ACEOF
37567
37568 fi
37569
37570 if test "$wxUSE_TEXTFILE" = "yes"; then
37571 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
37572 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
37573 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
37574 else
37575 cat >>confdefs.h <<\_ACEOF
37576 #define wxUSE_TEXTFILE 1
37577 _ACEOF
37578
37579 fi
37580 fi
37581
37582 if test "$wxUSE_CONFIG" = "yes" ; then
37583 if test "$wxUSE_TEXTFILE" != "yes"; then
37584 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
37585 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
37586 else
37587 cat >>confdefs.h <<\_ACEOF
37588 #define wxUSE_CONFIG 1
37589 _ACEOF
37590
37591 cat >>confdefs.h <<\_ACEOF
37592 #define wxUSE_CONFIG_NATIVE 1
37593 _ACEOF
37594
37595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
37596 fi
37597 fi
37598
37599 if test "$wxUSE_INTL" = "yes" ; then
37600 if test "$wxUSE_FILE" != "yes"; then
37601 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
37602 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
37603 else
37604 cat >>confdefs.h <<\_ACEOF
37605 #define wxUSE_INTL 1
37606 _ACEOF
37607
37608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
37609 GUIDIST="$GUIDIST INTL_DIST"
37610 fi
37611 fi
37612
37613 if test "$wxUSE_LOG" = "yes"; then
37614 cat >>confdefs.h <<\_ACEOF
37615 #define wxUSE_LOG 1
37616 _ACEOF
37617
37618
37619 if test "$wxUSE_LOGGUI" = "yes"; then
37620 cat >>confdefs.h <<\_ACEOF
37621 #define wxUSE_LOGGUI 1
37622 _ACEOF
37623
37624 fi
37625
37626 if test "$wxUSE_LOGWINDOW" = "yes"; then
37627 cat >>confdefs.h <<\_ACEOF
37628 #define wxUSE_LOGWINDOW 1
37629 _ACEOF
37630
37631 fi
37632
37633 if test "$wxUSE_LOGDIALOG" = "yes"; then
37634 cat >>confdefs.h <<\_ACEOF
37635 #define wxUSE_LOG_DIALOG 1
37636 _ACEOF
37637
37638 fi
37639
37640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
37641 fi
37642
37643 if test "$wxUSE_LONGLONG" = "yes"; then
37644 cat >>confdefs.h <<\_ACEOF
37645 #define wxUSE_LONGLONG 1
37646 _ACEOF
37647
37648 fi
37649
37650 if test "$wxUSE_GEOMETRY" = "yes"; then
37651 cat >>confdefs.h <<\_ACEOF
37652 #define wxUSE_GEOMETRY 1
37653 _ACEOF
37654
37655 fi
37656
37657 if test "$wxUSE_STREAMS" = "yes" ; then
37658 cat >>confdefs.h <<\_ACEOF
37659 #define wxUSE_STREAMS 1
37660 _ACEOF
37661
37662 fi
37663
37664
37665 if test "$wxUSE_DATETIME" = "yes"; then
37666
37667 for ac_func in strptime
37668 do
37669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37670 echo "$as_me:$LINENO: checking for $ac_func" >&5
37671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37672 if eval "test \"\${$as_ac_var+set}\" = set"; then
37673 echo $ECHO_N "(cached) $ECHO_C" >&6
37674 else
37675 cat >conftest.$ac_ext <<_ACEOF
37676 /* confdefs.h. */
37677 _ACEOF
37678 cat confdefs.h >>conftest.$ac_ext
37679 cat >>conftest.$ac_ext <<_ACEOF
37680 /* end confdefs.h. */
37681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37683 #define $ac_func innocuous_$ac_func
37684
37685 /* System header to define __stub macros and hopefully few prototypes,
37686 which can conflict with char $ac_func (); below.
37687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37688 <limits.h> exists even on freestanding compilers. */
37689
37690 #ifdef __STDC__
37691 # include <limits.h>
37692 #else
37693 # include <assert.h>
37694 #endif
37695
37696 #undef $ac_func
37697
37698 /* Override any gcc2 internal prototype to avoid an error. */
37699 #ifdef __cplusplus
37700 extern "C"
37701 {
37702 #endif
37703 /* We use char because int might match the return type of a gcc2
37704 builtin and then its argument prototype would still apply. */
37705 char $ac_func ();
37706 /* The GNU C library defines this for functions which it implements
37707 to always fail with ENOSYS. Some functions are actually named
37708 something starting with __ and the normal name is an alias. */
37709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37710 choke me
37711 #else
37712 char (*f) () = $ac_func;
37713 #endif
37714 #ifdef __cplusplus
37715 }
37716 #endif
37717
37718 int
37719 main ()
37720 {
37721 return f != $ac_func;
37722 ;
37723 return 0;
37724 }
37725 _ACEOF
37726 rm -f conftest.$ac_objext conftest$ac_exeext
37727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37728 (eval $ac_link) 2>conftest.er1
37729 ac_status=$?
37730 grep -v '^ *+' conftest.er1 >conftest.err
37731 rm -f conftest.er1
37732 cat conftest.err >&5
37733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37734 (exit $ac_status); } &&
37735 { ac_try='test -z "$ac_c_werror_flag"
37736 || test ! -s conftest.err'
37737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37738 (eval $ac_try) 2>&5
37739 ac_status=$?
37740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37741 (exit $ac_status); }; } &&
37742 { ac_try='test -s conftest$ac_exeext'
37743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37744 (eval $ac_try) 2>&5
37745 ac_status=$?
37746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37747 (exit $ac_status); }; }; then
37748 eval "$as_ac_var=yes"
37749 else
37750 echo "$as_me: failed program was:" >&5
37751 sed 's/^/| /' conftest.$ac_ext >&5
37752
37753 eval "$as_ac_var=no"
37754 fi
37755 rm -f conftest.err conftest.$ac_objext \
37756 conftest$ac_exeext conftest.$ac_ext
37757 fi
37758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37760 if test `eval echo '${'$as_ac_var'}'` = yes; then
37761 cat >>confdefs.h <<_ACEOF
37762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37763 _ACEOF
37764
37765 fi
37766 done
37767
37768
37769 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
37770 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
37771 if test "${wx_cv_var_timezone+set}" = set; then
37772 echo $ECHO_N "(cached) $ECHO_C" >&6
37773 else
37774
37775 cat >conftest.$ac_ext <<_ACEOF
37776 /* confdefs.h. */
37777 _ACEOF
37778 cat confdefs.h >>conftest.$ac_ext
37779 cat >>conftest.$ac_ext <<_ACEOF
37780 /* end confdefs.h. */
37781
37782 #include <time.h>
37783
37784 int
37785 main ()
37786 {
37787
37788 int tz;
37789 tz = timezone;
37790
37791 ;
37792 return 0;
37793 }
37794 _ACEOF
37795 rm -f conftest.$ac_objext
37796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37797 (eval $ac_compile) 2>conftest.er1
37798 ac_status=$?
37799 grep -v '^ *+' conftest.er1 >conftest.err
37800 rm -f conftest.er1
37801 cat conftest.err >&5
37802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37803 (exit $ac_status); } &&
37804 { ac_try='test -z "$ac_c_werror_flag"
37805 || test ! -s conftest.err'
37806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37807 (eval $ac_try) 2>&5
37808 ac_status=$?
37809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37810 (exit $ac_status); }; } &&
37811 { ac_try='test -s conftest.$ac_objext'
37812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37813 (eval $ac_try) 2>&5
37814 ac_status=$?
37815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37816 (exit $ac_status); }; }; then
37817
37818 wx_cv_var_timezone=timezone
37819
37820 else
37821 echo "$as_me: failed program was:" >&5
37822 sed 's/^/| /' conftest.$ac_ext >&5
37823
37824
37825 cat >conftest.$ac_ext <<_ACEOF
37826 /* confdefs.h. */
37827 _ACEOF
37828 cat confdefs.h >>conftest.$ac_ext
37829 cat >>conftest.$ac_ext <<_ACEOF
37830 /* end confdefs.h. */
37831
37832 #include <time.h>
37833
37834 int
37835 main ()
37836 {
37837
37838 int tz;
37839 tz = _timezone;
37840
37841 ;
37842 return 0;
37843 }
37844 _ACEOF
37845 rm -f conftest.$ac_objext
37846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37847 (eval $ac_compile) 2>conftest.er1
37848 ac_status=$?
37849 grep -v '^ *+' conftest.er1 >conftest.err
37850 rm -f conftest.er1
37851 cat conftest.err >&5
37852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37853 (exit $ac_status); } &&
37854 { ac_try='test -z "$ac_c_werror_flag"
37855 || test ! -s conftest.err'
37856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37857 (eval $ac_try) 2>&5
37858 ac_status=$?
37859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37860 (exit $ac_status); }; } &&
37861 { ac_try='test -s conftest.$ac_objext'
37862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37863 (eval $ac_try) 2>&5
37864 ac_status=$?
37865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37866 (exit $ac_status); }; }; then
37867
37868 wx_cv_var_timezone=_timezone
37869
37870 else
37871 echo "$as_me: failed program was:" >&5
37872 sed 's/^/| /' conftest.$ac_ext >&5
37873
37874
37875 cat >conftest.$ac_ext <<_ACEOF
37876 /* confdefs.h. */
37877 _ACEOF
37878 cat confdefs.h >>conftest.$ac_ext
37879 cat >>conftest.$ac_ext <<_ACEOF
37880 /* end confdefs.h. */
37881
37882 #include <time.h>
37883
37884 int
37885 main ()
37886 {
37887
37888 int tz;
37889 tz = __timezone;
37890
37891 ;
37892 return 0;
37893 }
37894 _ACEOF
37895 rm -f conftest.$ac_objext
37896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37897 (eval $ac_compile) 2>conftest.er1
37898 ac_status=$?
37899 grep -v '^ *+' conftest.er1 >conftest.err
37900 rm -f conftest.er1
37901 cat conftest.err >&5
37902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37903 (exit $ac_status); } &&
37904 { ac_try='test -z "$ac_c_werror_flag"
37905 || test ! -s conftest.err'
37906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37907 (eval $ac_try) 2>&5
37908 ac_status=$?
37909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37910 (exit $ac_status); }; } &&
37911 { ac_try='test -s conftest.$ac_objext'
37912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37913 (eval $ac_try) 2>&5
37914 ac_status=$?
37915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37916 (exit $ac_status); }; }; then
37917
37918 wx_cv_var_timezone=__timezone
37919
37920 else
37921 echo "$as_me: failed program was:" >&5
37922 sed 's/^/| /' conftest.$ac_ext >&5
37923
37924
37925 if test "$USE_DOS" = 0 ; then
37926 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37927 echo "$as_me: WARNING: no timezone variable" >&2;}
37928 fi
37929
37930
37931 fi
37932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37933
37934
37935 fi
37936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37937
37938
37939 fi
37940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37941
37942
37943 fi
37944 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37945 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37946
37947 if test "x$wx_cv_var_timezone" != x ; then
37948 cat >>confdefs.h <<_ACEOF
37949 #define WX_TIMEZONE $wx_cv_var_timezone
37950 _ACEOF
37951
37952 fi
37953
37954
37955 for ac_func in localtime
37956 do
37957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37958 echo "$as_me:$LINENO: checking for $ac_func" >&5
37959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37960 if eval "test \"\${$as_ac_var+set}\" = set"; then
37961 echo $ECHO_N "(cached) $ECHO_C" >&6
37962 else
37963 cat >conftest.$ac_ext <<_ACEOF
37964 /* confdefs.h. */
37965 _ACEOF
37966 cat confdefs.h >>conftest.$ac_ext
37967 cat >>conftest.$ac_ext <<_ACEOF
37968 /* end confdefs.h. */
37969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37971 #define $ac_func innocuous_$ac_func
37972
37973 /* System header to define __stub macros and hopefully few prototypes,
37974 which can conflict with char $ac_func (); below.
37975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37976 <limits.h> exists even on freestanding compilers. */
37977
37978 #ifdef __STDC__
37979 # include <limits.h>
37980 #else
37981 # include <assert.h>
37982 #endif
37983
37984 #undef $ac_func
37985
37986 /* Override any gcc2 internal prototype to avoid an error. */
37987 #ifdef __cplusplus
37988 extern "C"
37989 {
37990 #endif
37991 /* We use char because int might match the return type of a gcc2
37992 builtin and then its argument prototype would still apply. */
37993 char $ac_func ();
37994 /* The GNU C library defines this for functions which it implements
37995 to always fail with ENOSYS. Some functions are actually named
37996 something starting with __ and the normal name is an alias. */
37997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37998 choke me
37999 #else
38000 char (*f) () = $ac_func;
38001 #endif
38002 #ifdef __cplusplus
38003 }
38004 #endif
38005
38006 int
38007 main ()
38008 {
38009 return f != $ac_func;
38010 ;
38011 return 0;
38012 }
38013 _ACEOF
38014 rm -f conftest.$ac_objext conftest$ac_exeext
38015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38016 (eval $ac_link) 2>conftest.er1
38017 ac_status=$?
38018 grep -v '^ *+' conftest.er1 >conftest.err
38019 rm -f conftest.er1
38020 cat conftest.err >&5
38021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38022 (exit $ac_status); } &&
38023 { ac_try='test -z "$ac_c_werror_flag"
38024 || test ! -s conftest.err'
38025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38026 (eval $ac_try) 2>&5
38027 ac_status=$?
38028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38029 (exit $ac_status); }; } &&
38030 { ac_try='test -s conftest$ac_exeext'
38031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38032 (eval $ac_try) 2>&5
38033 ac_status=$?
38034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38035 (exit $ac_status); }; }; then
38036 eval "$as_ac_var=yes"
38037 else
38038 echo "$as_me: failed program was:" >&5
38039 sed 's/^/| /' conftest.$ac_ext >&5
38040
38041 eval "$as_ac_var=no"
38042 fi
38043 rm -f conftest.err conftest.$ac_objext \
38044 conftest$ac_exeext conftest.$ac_ext
38045 fi
38046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38048 if test `eval echo '${'$as_ac_var'}'` = yes; then
38049 cat >>confdefs.h <<_ACEOF
38050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38051 _ACEOF
38052
38053 fi
38054 done
38055
38056
38057 if test "$ac_cv_func_localtime" = "yes"; then
38058 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
38059 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
38060 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
38061 echo $ECHO_N "(cached) $ECHO_C" >&6
38062 else
38063
38064 cat >conftest.$ac_ext <<_ACEOF
38065 /* confdefs.h. */
38066 _ACEOF
38067 cat confdefs.h >>conftest.$ac_ext
38068 cat >>conftest.$ac_ext <<_ACEOF
38069 /* end confdefs.h. */
38070
38071 #include <time.h>
38072
38073 int
38074 main ()
38075 {
38076
38077 struct tm tm;
38078 tm.tm_gmtoff++;
38079
38080 ;
38081 return 0;
38082 }
38083 _ACEOF
38084 rm -f conftest.$ac_objext
38085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38086 (eval $ac_compile) 2>conftest.er1
38087 ac_status=$?
38088 grep -v '^ *+' conftest.er1 >conftest.err
38089 rm -f conftest.er1
38090 cat conftest.err >&5
38091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38092 (exit $ac_status); } &&
38093 { ac_try='test -z "$ac_c_werror_flag"
38094 || test ! -s conftest.err'
38095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38096 (eval $ac_try) 2>&5
38097 ac_status=$?
38098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38099 (exit $ac_status); }; } &&
38100 { ac_try='test -s conftest.$ac_objext'
38101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38102 (eval $ac_try) 2>&5
38103 ac_status=$?
38104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38105 (exit $ac_status); }; }; then
38106
38107 wx_cv_struct_tm_has_gmtoff=yes
38108
38109 else
38110 echo "$as_me: failed program was:" >&5
38111 sed 's/^/| /' conftest.$ac_ext >&5
38112
38113 wx_cv_struct_tm_has_gmtoff=no
38114
38115 fi
38116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38117
38118 fi
38119 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
38120 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
38121 fi
38122
38123 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
38124 cat >>confdefs.h <<\_ACEOF
38125 #define WX_GMTOFF_IN_TM 1
38126 _ACEOF
38127
38128 fi
38129
38130
38131
38132 for ac_func in gettimeofday ftime
38133 do
38134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38135 echo "$as_me:$LINENO: checking for $ac_func" >&5
38136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38137 if eval "test \"\${$as_ac_var+set}\" = set"; then
38138 echo $ECHO_N "(cached) $ECHO_C" >&6
38139 else
38140 cat >conftest.$ac_ext <<_ACEOF
38141 /* confdefs.h. */
38142 _ACEOF
38143 cat confdefs.h >>conftest.$ac_ext
38144 cat >>conftest.$ac_ext <<_ACEOF
38145 /* end confdefs.h. */
38146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38148 #define $ac_func innocuous_$ac_func
38149
38150 /* System header to define __stub macros and hopefully few prototypes,
38151 which can conflict with char $ac_func (); below.
38152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38153 <limits.h> exists even on freestanding compilers. */
38154
38155 #ifdef __STDC__
38156 # include <limits.h>
38157 #else
38158 # include <assert.h>
38159 #endif
38160
38161 #undef $ac_func
38162
38163 /* Override any gcc2 internal prototype to avoid an error. */
38164 #ifdef __cplusplus
38165 extern "C"
38166 {
38167 #endif
38168 /* We use char because int might match the return type of a gcc2
38169 builtin and then its argument prototype would still apply. */
38170 char $ac_func ();
38171 /* The GNU C library defines this for functions which it implements
38172 to always fail with ENOSYS. Some functions are actually named
38173 something starting with __ and the normal name is an alias. */
38174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38175 choke me
38176 #else
38177 char (*f) () = $ac_func;
38178 #endif
38179 #ifdef __cplusplus
38180 }
38181 #endif
38182
38183 int
38184 main ()
38185 {
38186 return f != $ac_func;
38187 ;
38188 return 0;
38189 }
38190 _ACEOF
38191 rm -f conftest.$ac_objext conftest$ac_exeext
38192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38193 (eval $ac_link) 2>conftest.er1
38194 ac_status=$?
38195 grep -v '^ *+' conftest.er1 >conftest.err
38196 rm -f conftest.er1
38197 cat conftest.err >&5
38198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38199 (exit $ac_status); } &&
38200 { ac_try='test -z "$ac_c_werror_flag"
38201 || test ! -s conftest.err'
38202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38203 (eval $ac_try) 2>&5
38204 ac_status=$?
38205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38206 (exit $ac_status); }; } &&
38207 { ac_try='test -s conftest$ac_exeext'
38208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38209 (eval $ac_try) 2>&5
38210 ac_status=$?
38211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38212 (exit $ac_status); }; }; then
38213 eval "$as_ac_var=yes"
38214 else
38215 echo "$as_me: failed program was:" >&5
38216 sed 's/^/| /' conftest.$ac_ext >&5
38217
38218 eval "$as_ac_var=no"
38219 fi
38220 rm -f conftest.err conftest.$ac_objext \
38221 conftest$ac_exeext conftest.$ac_ext
38222 fi
38223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38225 if test `eval echo '${'$as_ac_var'}'` = yes; then
38226 cat >>confdefs.h <<_ACEOF
38227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38228 _ACEOF
38229 break
38230 fi
38231 done
38232
38233
38234 if test "$ac_cv_func_gettimeofday" = "yes"; then
38235 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
38236 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
38237 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
38238 echo $ECHO_N "(cached) $ECHO_C" >&6
38239 else
38240
38241
38242
38243 ac_ext=cc
38244 ac_cpp='$CXXCPP $CPPFLAGS'
38245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38248
38249
38250 cat >conftest.$ac_ext <<_ACEOF
38251 /* confdefs.h. */
38252 _ACEOF
38253 cat confdefs.h >>conftest.$ac_ext
38254 cat >>conftest.$ac_ext <<_ACEOF
38255 /* end confdefs.h. */
38256
38257 #include <sys/time.h>
38258 #include <unistd.h>
38259
38260 int
38261 main ()
38262 {
38263
38264 struct timeval tv;
38265 gettimeofday(&tv, NULL);
38266
38267 ;
38268 return 0;
38269 }
38270 _ACEOF
38271 rm -f conftest.$ac_objext
38272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38273 (eval $ac_compile) 2>conftest.er1
38274 ac_status=$?
38275 grep -v '^ *+' conftest.er1 >conftest.err
38276 rm -f conftest.er1
38277 cat conftest.err >&5
38278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38279 (exit $ac_status); } &&
38280 { ac_try='test -z "$ac_cxx_werror_flag"
38281 || test ! -s conftest.err'
38282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38283 (eval $ac_try) 2>&5
38284 ac_status=$?
38285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38286 (exit $ac_status); }; } &&
38287 { ac_try='test -s conftest.$ac_objext'
38288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38289 (eval $ac_try) 2>&5
38290 ac_status=$?
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); }; }; then
38293 wx_cv_func_gettimeofday_has_2_args=yes
38294 else
38295 echo "$as_me: failed program was:" >&5
38296 sed 's/^/| /' conftest.$ac_ext >&5
38297
38298 cat >conftest.$ac_ext <<_ACEOF
38299 /* confdefs.h. */
38300 _ACEOF
38301 cat confdefs.h >>conftest.$ac_ext
38302 cat >>conftest.$ac_ext <<_ACEOF
38303 /* end confdefs.h. */
38304
38305 #include <sys/time.h>
38306 #include <unistd.h>
38307
38308 int
38309 main ()
38310 {
38311
38312 struct timeval tv;
38313 gettimeofday(&tv);
38314
38315 ;
38316 return 0;
38317 }
38318 _ACEOF
38319 rm -f conftest.$ac_objext
38320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38321 (eval $ac_compile) 2>conftest.er1
38322 ac_status=$?
38323 grep -v '^ *+' conftest.er1 >conftest.err
38324 rm -f conftest.er1
38325 cat conftest.err >&5
38326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327 (exit $ac_status); } &&
38328 { ac_try='test -z "$ac_cxx_werror_flag"
38329 || test ! -s conftest.err'
38330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38331 (eval $ac_try) 2>&5
38332 ac_status=$?
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); }; } &&
38335 { ac_try='test -s conftest.$ac_objext'
38336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38337 (eval $ac_try) 2>&5
38338 ac_status=$?
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); }; }; then
38341 wx_cv_func_gettimeofday_has_2_args=no
38342 else
38343 echo "$as_me: failed program was:" >&5
38344 sed 's/^/| /' conftest.$ac_ext >&5
38345
38346
38347 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
38348 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
38349 wx_cv_func_gettimeofday_has_2_args=unknown
38350
38351
38352 fi
38353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38354
38355 fi
38356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38357 ac_ext=c
38358 ac_cpp='$CPP $CPPFLAGS'
38359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38362
38363
38364 fi
38365 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
38366 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
38367
38368 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
38369 cat >>confdefs.h <<\_ACEOF
38370 #define WX_GETTIMEOFDAY_NO_TZ 1
38371 _ACEOF
38372
38373 fi
38374 fi
38375
38376 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
38377 fi
38378
38379
38380 if test "$wxUSE_SOCKETS" = "yes"; then
38381 if test "$wxUSE_MGL" = "1"; then
38382 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
38383 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
38384 wxUSE_SOCKETS="no"
38385 fi
38386 fi
38387
38388 if test "$wxUSE_SOCKETS" = "yes"; then
38389 if test "$TOOLKIT" != "MSW"; then
38390 echo "$as_me:$LINENO: checking for socket" >&5
38391 echo $ECHO_N "checking for socket... $ECHO_C" >&6
38392 if test "${ac_cv_func_socket+set}" = set; then
38393 echo $ECHO_N "(cached) $ECHO_C" >&6
38394 else
38395 cat >conftest.$ac_ext <<_ACEOF
38396 /* confdefs.h. */
38397 _ACEOF
38398 cat confdefs.h >>conftest.$ac_ext
38399 cat >>conftest.$ac_ext <<_ACEOF
38400 /* end confdefs.h. */
38401 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
38402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38403 #define socket innocuous_socket
38404
38405 /* System header to define __stub macros and hopefully few prototypes,
38406 which can conflict with char socket (); below.
38407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38408 <limits.h> exists even on freestanding compilers. */
38409
38410 #ifdef __STDC__
38411 # include <limits.h>
38412 #else
38413 # include <assert.h>
38414 #endif
38415
38416 #undef socket
38417
38418 /* Override any gcc2 internal prototype to avoid an error. */
38419 #ifdef __cplusplus
38420 extern "C"
38421 {
38422 #endif
38423 /* We use char because int might match the return type of a gcc2
38424 builtin and then its argument prototype would still apply. */
38425 char socket ();
38426 /* The GNU C library defines this for functions which it implements
38427 to always fail with ENOSYS. Some functions are actually named
38428 something starting with __ and the normal name is an alias. */
38429 #if defined (__stub_socket) || defined (__stub___socket)
38430 choke me
38431 #else
38432 char (*f) () = socket;
38433 #endif
38434 #ifdef __cplusplus
38435 }
38436 #endif
38437
38438 int
38439 main ()
38440 {
38441 return f != socket;
38442 ;
38443 return 0;
38444 }
38445 _ACEOF
38446 rm -f conftest.$ac_objext conftest$ac_exeext
38447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38448 (eval $ac_link) 2>conftest.er1
38449 ac_status=$?
38450 grep -v '^ *+' conftest.er1 >conftest.err
38451 rm -f conftest.er1
38452 cat conftest.err >&5
38453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454 (exit $ac_status); } &&
38455 { ac_try='test -z "$ac_c_werror_flag"
38456 || test ! -s conftest.err'
38457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38458 (eval $ac_try) 2>&5
38459 ac_status=$?
38460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38461 (exit $ac_status); }; } &&
38462 { ac_try='test -s conftest$ac_exeext'
38463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38464 (eval $ac_try) 2>&5
38465 ac_status=$?
38466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38467 (exit $ac_status); }; }; then
38468 ac_cv_func_socket=yes
38469 else
38470 echo "$as_me: failed program was:" >&5
38471 sed 's/^/| /' conftest.$ac_ext >&5
38472
38473 ac_cv_func_socket=no
38474 fi
38475 rm -f conftest.err conftest.$ac_objext \
38476 conftest$ac_exeext conftest.$ac_ext
38477 fi
38478 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
38479 echo "${ECHO_T}$ac_cv_func_socket" >&6
38480 if test $ac_cv_func_socket = yes; then
38481 :
38482 else
38483
38484 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38485 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
38486 if test "${ac_cv_lib_socket_socket+set}" = set; then
38487 echo $ECHO_N "(cached) $ECHO_C" >&6
38488 else
38489 ac_check_lib_save_LIBS=$LIBS
38490 LIBS="-lsocket $LIBS"
38491 cat >conftest.$ac_ext <<_ACEOF
38492 /* confdefs.h. */
38493 _ACEOF
38494 cat confdefs.h >>conftest.$ac_ext
38495 cat >>conftest.$ac_ext <<_ACEOF
38496 /* end confdefs.h. */
38497
38498 /* Override any gcc2 internal prototype to avoid an error. */
38499 #ifdef __cplusplus
38500 extern "C"
38501 #endif
38502 /* We use char because int might match the return type of a gcc2
38503 builtin and then its argument prototype would still apply. */
38504 char socket ();
38505 int
38506 main ()
38507 {
38508 socket ();
38509 ;
38510 return 0;
38511 }
38512 _ACEOF
38513 rm -f conftest.$ac_objext conftest$ac_exeext
38514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38515 (eval $ac_link) 2>conftest.er1
38516 ac_status=$?
38517 grep -v '^ *+' conftest.er1 >conftest.err
38518 rm -f conftest.er1
38519 cat conftest.err >&5
38520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38521 (exit $ac_status); } &&
38522 { ac_try='test -z "$ac_c_werror_flag"
38523 || test ! -s conftest.err'
38524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38525 (eval $ac_try) 2>&5
38526 ac_status=$?
38527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38528 (exit $ac_status); }; } &&
38529 { ac_try='test -s conftest$ac_exeext'
38530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38531 (eval $ac_try) 2>&5
38532 ac_status=$?
38533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38534 (exit $ac_status); }; }; then
38535 ac_cv_lib_socket_socket=yes
38536 else
38537 echo "$as_me: failed program was:" >&5
38538 sed 's/^/| /' conftest.$ac_ext >&5
38539
38540 ac_cv_lib_socket_socket=no
38541 fi
38542 rm -f conftest.err conftest.$ac_objext \
38543 conftest$ac_exeext conftest.$ac_ext
38544 LIBS=$ac_check_lib_save_LIBS
38545 fi
38546 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38547 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
38548 if test $ac_cv_lib_socket_socket = yes; then
38549 if test "$INET_LINK" != " -lsocket"; then
38550 INET_LINK="$INET_LINK -lsocket"
38551 fi
38552 else
38553
38554 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
38555 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
38556 wxUSE_SOCKETS=no
38557
38558
38559 fi
38560
38561
38562
38563 fi
38564
38565 fi
38566 fi
38567
38568 if test "$wxUSE_SOCKETS" = "yes" ; then
38569 if test "$TOOLKIT" != "MSW"; then
38570 ac_ext=cc
38571 ac_cpp='$CXXCPP $CPPFLAGS'
38572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38575
38576 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
38577 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
38578 if test "${wx_cv_type_getsockname3+set}" = set; then
38579 echo $ECHO_N "(cached) $ECHO_C" >&6
38580 else
38581
38582 cat >conftest.$ac_ext <<_ACEOF
38583 /* confdefs.h. */
38584 _ACEOF
38585 cat confdefs.h >>conftest.$ac_ext
38586 cat >>conftest.$ac_ext <<_ACEOF
38587 /* end confdefs.h. */
38588
38589 #include <sys/types.h>
38590 #include <sys/socket.h>
38591
38592 int
38593 main ()
38594 {
38595
38596 socklen_t len;
38597 getsockname(0, 0, &len);
38598
38599 ;
38600 return 0;
38601 }
38602 _ACEOF
38603 rm -f conftest.$ac_objext
38604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38605 (eval $ac_compile) 2>conftest.er1
38606 ac_status=$?
38607 grep -v '^ *+' conftest.er1 >conftest.err
38608 rm -f conftest.er1
38609 cat conftest.err >&5
38610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38611 (exit $ac_status); } &&
38612 { ac_try='test -z "$ac_cxx_werror_flag"
38613 || test ! -s conftest.err'
38614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38615 (eval $ac_try) 2>&5
38616 ac_status=$?
38617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38618 (exit $ac_status); }; } &&
38619 { ac_try='test -s conftest.$ac_objext'
38620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38621 (eval $ac_try) 2>&5
38622 ac_status=$?
38623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38624 (exit $ac_status); }; }; then
38625 wx_cv_type_getsockname3=socklen_t
38626 else
38627 echo "$as_me: failed program was:" >&5
38628 sed 's/^/| /' conftest.$ac_ext >&5
38629
38630
38631 CFLAGS_OLD="$CFLAGS"
38632 if test "$GCC" = yes ; then
38633 CFLAGS="$CFLAGS -Werror"
38634 fi
38635
38636 cat >conftest.$ac_ext <<_ACEOF
38637 /* confdefs.h. */
38638 _ACEOF
38639 cat confdefs.h >>conftest.$ac_ext
38640 cat >>conftest.$ac_ext <<_ACEOF
38641 /* end confdefs.h. */
38642
38643 #include <sys/types.h>
38644 #include <sys/socket.h>
38645
38646 int
38647 main ()
38648 {
38649
38650 size_t len;
38651 getsockname(0, 0, &len);
38652
38653 ;
38654 return 0;
38655 }
38656 _ACEOF
38657 rm -f conftest.$ac_objext
38658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38659 (eval $ac_compile) 2>conftest.er1
38660 ac_status=$?
38661 grep -v '^ *+' conftest.er1 >conftest.err
38662 rm -f conftest.er1
38663 cat conftest.err >&5
38664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38665 (exit $ac_status); } &&
38666 { ac_try='test -z "$ac_cxx_werror_flag"
38667 || test ! -s conftest.err'
38668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38669 (eval $ac_try) 2>&5
38670 ac_status=$?
38671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38672 (exit $ac_status); }; } &&
38673 { ac_try='test -s conftest.$ac_objext'
38674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38675 (eval $ac_try) 2>&5
38676 ac_status=$?
38677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38678 (exit $ac_status); }; }; then
38679 wx_cv_type_getsockname3=size_t
38680 else
38681 echo "$as_me: failed program was:" >&5
38682 sed 's/^/| /' conftest.$ac_ext >&5
38683
38684 cat >conftest.$ac_ext <<_ACEOF
38685 /* confdefs.h. */
38686 _ACEOF
38687 cat confdefs.h >>conftest.$ac_ext
38688 cat >>conftest.$ac_ext <<_ACEOF
38689 /* end confdefs.h. */
38690
38691 #include <sys/types.h>
38692 #include <sys/socket.h>
38693
38694 int
38695 main ()
38696 {
38697
38698 int len;
38699 getsockname(0, 0, &len);
38700
38701 ;
38702 return 0;
38703 }
38704 _ACEOF
38705 rm -f conftest.$ac_objext
38706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38707 (eval $ac_compile) 2>conftest.er1
38708 ac_status=$?
38709 grep -v '^ *+' conftest.er1 >conftest.err
38710 rm -f conftest.er1
38711 cat conftest.err >&5
38712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38713 (exit $ac_status); } &&
38714 { ac_try='test -z "$ac_cxx_werror_flag"
38715 || test ! -s conftest.err'
38716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38717 (eval $ac_try) 2>&5
38718 ac_status=$?
38719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38720 (exit $ac_status); }; } &&
38721 { ac_try='test -s conftest.$ac_objext'
38722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38723 (eval $ac_try) 2>&5
38724 ac_status=$?
38725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38726 (exit $ac_status); }; }; then
38727 wx_cv_type_getsockname3=int
38728 else
38729 echo "$as_me: failed program was:" >&5
38730 sed 's/^/| /' conftest.$ac_ext >&5
38731
38732 wx_cv_type_getsockname3=unknown
38733
38734 fi
38735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38736
38737 fi
38738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38739
38740 CFLAGS="$CFLAGS_OLD"
38741
38742
38743 fi
38744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38745
38746 fi
38747 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
38748 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
38749
38750 if test "$wx_cv_type_getsockname3" = "unknown"; then
38751 wxUSE_SOCKETS=no
38752 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38753 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38754 else
38755 cat >>confdefs.h <<_ACEOF
38756 #define SOCKLEN_T $wx_cv_type_getsockname3
38757 _ACEOF
38758
38759 fi
38760 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
38761 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
38762 if test "${wx_cv_type_getsockopt5+set}" = set; then
38763 echo $ECHO_N "(cached) $ECHO_C" >&6
38764 else
38765
38766 cat >conftest.$ac_ext <<_ACEOF
38767 /* confdefs.h. */
38768 _ACEOF
38769 cat confdefs.h >>conftest.$ac_ext
38770 cat >>conftest.$ac_ext <<_ACEOF
38771 /* end confdefs.h. */
38772
38773 #include <sys/types.h>
38774 #include <sys/socket.h>
38775
38776 int
38777 main ()
38778 {
38779
38780 socklen_t len;
38781 getsockopt(0, 0, 0, 0, &len);
38782
38783 ;
38784 return 0;
38785 }
38786 _ACEOF
38787 rm -f conftest.$ac_objext
38788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38789 (eval $ac_compile) 2>conftest.er1
38790 ac_status=$?
38791 grep -v '^ *+' conftest.er1 >conftest.err
38792 rm -f conftest.er1
38793 cat conftest.err >&5
38794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38795 (exit $ac_status); } &&
38796 { ac_try='test -z "$ac_cxx_werror_flag"
38797 || test ! -s conftest.err'
38798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38799 (eval $ac_try) 2>&5
38800 ac_status=$?
38801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38802 (exit $ac_status); }; } &&
38803 { ac_try='test -s conftest.$ac_objext'
38804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38805 (eval $ac_try) 2>&5
38806 ac_status=$?
38807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38808 (exit $ac_status); }; }; then
38809 wx_cv_type_getsockopt5=socklen_t
38810 else
38811 echo "$as_me: failed program was:" >&5
38812 sed 's/^/| /' conftest.$ac_ext >&5
38813
38814
38815 CFLAGS_OLD="$CFLAGS"
38816 if test "$GCC" = yes ; then
38817 CFLAGS="$CFLAGS -Werror"
38818 fi
38819
38820 cat >conftest.$ac_ext <<_ACEOF
38821 /* confdefs.h. */
38822 _ACEOF
38823 cat confdefs.h >>conftest.$ac_ext
38824 cat >>conftest.$ac_ext <<_ACEOF
38825 /* end confdefs.h. */
38826
38827 #include <sys/types.h>
38828 #include <sys/socket.h>
38829
38830 int
38831 main ()
38832 {
38833
38834 size_t len;
38835 getsockopt(0, 0, 0, 0, &len);
38836
38837 ;
38838 return 0;
38839 }
38840 _ACEOF
38841 rm -f conftest.$ac_objext
38842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38843 (eval $ac_compile) 2>conftest.er1
38844 ac_status=$?
38845 grep -v '^ *+' conftest.er1 >conftest.err
38846 rm -f conftest.er1
38847 cat conftest.err >&5
38848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38849 (exit $ac_status); } &&
38850 { ac_try='test -z "$ac_cxx_werror_flag"
38851 || test ! -s conftest.err'
38852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38853 (eval $ac_try) 2>&5
38854 ac_status=$?
38855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38856 (exit $ac_status); }; } &&
38857 { ac_try='test -s conftest.$ac_objext'
38858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38859 (eval $ac_try) 2>&5
38860 ac_status=$?
38861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38862 (exit $ac_status); }; }; then
38863 wx_cv_type_getsockopt5=size_t
38864 else
38865 echo "$as_me: failed program was:" >&5
38866 sed 's/^/| /' conftest.$ac_ext >&5
38867
38868 cat >conftest.$ac_ext <<_ACEOF
38869 /* confdefs.h. */
38870 _ACEOF
38871 cat confdefs.h >>conftest.$ac_ext
38872 cat >>conftest.$ac_ext <<_ACEOF
38873 /* end confdefs.h. */
38874
38875 #include <sys/types.h>
38876 #include <sys/socket.h>
38877
38878 int
38879 main ()
38880 {
38881
38882 int len;
38883 getsockopt(0, 0, 0, 0, &len);
38884
38885 ;
38886 return 0;
38887 }
38888 _ACEOF
38889 rm -f conftest.$ac_objext
38890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38891 (eval $ac_compile) 2>conftest.er1
38892 ac_status=$?
38893 grep -v '^ *+' conftest.er1 >conftest.err
38894 rm -f conftest.er1
38895 cat conftest.err >&5
38896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38897 (exit $ac_status); } &&
38898 { ac_try='test -z "$ac_cxx_werror_flag"
38899 || test ! -s conftest.err'
38900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38901 (eval $ac_try) 2>&5
38902 ac_status=$?
38903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38904 (exit $ac_status); }; } &&
38905 { ac_try='test -s conftest.$ac_objext'
38906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38907 (eval $ac_try) 2>&5
38908 ac_status=$?
38909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38910 (exit $ac_status); }; }; then
38911 wx_cv_type_getsockopt5=int
38912 else
38913 echo "$as_me: failed program was:" >&5
38914 sed 's/^/| /' conftest.$ac_ext >&5
38915
38916 wx_cv_type_getsockopt5=unknown
38917
38918 fi
38919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38920
38921 fi
38922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38923
38924 CFLAGS="$CFLAGS_OLD"
38925
38926
38927 fi
38928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38929
38930 fi
38931 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38932 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38933
38934 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38935 wxUSE_SOCKETS=no
38936 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38937 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38938 else
38939 cat >>confdefs.h <<_ACEOF
38940 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38941 _ACEOF
38942
38943 fi
38944 ac_ext=c
38945 ac_cpp='$CPP $CPPFLAGS'
38946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38949
38950 fi
38951 fi
38952
38953 if test "$wxUSE_SOCKETS" = "yes" ; then
38954 cat >>confdefs.h <<\_ACEOF
38955 #define wxUSE_SOCKETS 1
38956 _ACEOF
38957
38958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
38959 fi
38960
38961 if test "$wxUSE_PROTOCOL" = "yes"; then
38962 if test "$wxUSE_SOCKETS" != "yes"; then
38963 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
38964 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
38965 wxUSE_PROTOCOL=no
38966 fi
38967 fi
38968
38969 if test "$wxUSE_PROTOCOL" = "yes"; then
38970 cat >>confdefs.h <<\_ACEOF
38971 #define wxUSE_PROTOCOL 1
38972 _ACEOF
38973
38974
38975 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
38976 cat >>confdefs.h <<\_ACEOF
38977 #define wxUSE_PROTOCOL_HTTP 1
38978 _ACEOF
38979
38980 fi
38981 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
38982 cat >>confdefs.h <<\_ACEOF
38983 #define wxUSE_PROTOCOL_FTP 1
38984 _ACEOF
38985
38986 fi
38987 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
38988 cat >>confdefs.h <<\_ACEOF
38989 #define wxUSE_PROTOCOL_FILE 1
38990 _ACEOF
38991
38992 fi
38993 else
38994 if test "$wxUSE_FS_INET" = "yes"; then
38995 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
38996 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
38997 wxUSE_FS_INET="no"
38998 fi
38999 fi
39000
39001 if test "$wxUSE_URL" = "yes"; then
39002 if test "$wxUSE_PROTOCOL" != "yes"; then
39003 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
39004 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
39005 wxUSE_URL=no
39006 fi
39007 if test "$wxUSE_URL" = "yes"; then
39008 cat >>confdefs.h <<\_ACEOF
39009 #define wxUSE_URL 1
39010 _ACEOF
39011
39012 fi
39013 fi
39014
39015 if test "$wxUSE_FS_INET" = "yes"; then
39016 cat >>confdefs.h <<\_ACEOF
39017 #define wxUSE_FS_INET 1
39018 _ACEOF
39019
39020 fi
39021
39022
39023 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
39024 wxUSE_JOYSTICK=no
39025
39026 if test "$TOOLKIT" = "MSW"; then
39027 wxUSE_JOYSTICK=yes
39028
39029 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
39030 if test "$USE_DARWIN" = 1; then
39031 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
39032 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
39033 ac_ext=cc
39034 ac_cpp='$CXXCPP $CPPFLAGS'
39035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39038
39039 cat >conftest.$ac_ext <<_ACEOF
39040 /* confdefs.h. */
39041 _ACEOF
39042 cat confdefs.h >>conftest.$ac_ext
39043 cat >>conftest.$ac_ext <<_ACEOF
39044 /* end confdefs.h. */
39045 #include <IOKit/hid/IOHIDLib.h>
39046 int
39047 main ()
39048 {
39049 IOHIDQueueInterface *qi = NULL;
39050 IOHIDCallbackFunction cb = NULL;
39051 qi->setEventCallout(NULL, cb, NULL, NULL);
39052 ;
39053 return 0;
39054 }
39055 _ACEOF
39056 rm -f conftest.$ac_objext
39057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39058 (eval $ac_compile) 2>conftest.er1
39059 ac_status=$?
39060 grep -v '^ *+' conftest.er1 >conftest.err
39061 rm -f conftest.er1
39062 cat conftest.err >&5
39063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39064 (exit $ac_status); } &&
39065 { ac_try='test -z "$ac_cxx_werror_flag"
39066 || test ! -s conftest.err'
39067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39068 (eval $ac_try) 2>&5
39069 ac_status=$?
39070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39071 (exit $ac_status); }; } &&
39072 { ac_try='test -s conftest.$ac_objext'
39073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39074 (eval $ac_try) 2>&5
39075 ac_status=$?
39076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39077 (exit $ac_status); }; }; then
39078 wxUSE_JOYSTICK=yes
39079
39080 else
39081 echo "$as_me: failed program was:" >&5
39082 sed 's/^/| /' conftest.$ac_ext >&5
39083
39084 fi
39085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39086 ac_ext=c
39087 ac_cpp='$CPP $CPPFLAGS'
39088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39091
39092 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
39093 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
39094 fi
39095
39096 else
39097
39098 for ac_header in linux/joystick.h
39099 do
39100 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39102 echo "$as_me:$LINENO: checking for $ac_header" >&5
39103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39105 echo $ECHO_N "(cached) $ECHO_C" >&6
39106 fi
39107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39109 else
39110 # Is the header compilable?
39111 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39112 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39113 cat >conftest.$ac_ext <<_ACEOF
39114 /* confdefs.h. */
39115 _ACEOF
39116 cat confdefs.h >>conftest.$ac_ext
39117 cat >>conftest.$ac_ext <<_ACEOF
39118 /* end confdefs.h. */
39119 $ac_includes_default
39120 #include <$ac_header>
39121 _ACEOF
39122 rm -f conftest.$ac_objext
39123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39124 (eval $ac_compile) 2>conftest.er1
39125 ac_status=$?
39126 grep -v '^ *+' conftest.er1 >conftest.err
39127 rm -f conftest.er1
39128 cat conftest.err >&5
39129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39130 (exit $ac_status); } &&
39131 { ac_try='test -z "$ac_c_werror_flag"
39132 || test ! -s conftest.err'
39133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39134 (eval $ac_try) 2>&5
39135 ac_status=$?
39136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39137 (exit $ac_status); }; } &&
39138 { ac_try='test -s conftest.$ac_objext'
39139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39140 (eval $ac_try) 2>&5
39141 ac_status=$?
39142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39143 (exit $ac_status); }; }; then
39144 ac_header_compiler=yes
39145 else
39146 echo "$as_me: failed program was:" >&5
39147 sed 's/^/| /' conftest.$ac_ext >&5
39148
39149 ac_header_compiler=no
39150 fi
39151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39153 echo "${ECHO_T}$ac_header_compiler" >&6
39154
39155 # Is the header present?
39156 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39157 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39158 cat >conftest.$ac_ext <<_ACEOF
39159 /* confdefs.h. */
39160 _ACEOF
39161 cat confdefs.h >>conftest.$ac_ext
39162 cat >>conftest.$ac_ext <<_ACEOF
39163 /* end confdefs.h. */
39164 #include <$ac_header>
39165 _ACEOF
39166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39167 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39168 ac_status=$?
39169 grep -v '^ *+' conftest.er1 >conftest.err
39170 rm -f conftest.er1
39171 cat conftest.err >&5
39172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39173 (exit $ac_status); } >/dev/null; then
39174 if test -s conftest.err; then
39175 ac_cpp_err=$ac_c_preproc_warn_flag
39176 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39177 else
39178 ac_cpp_err=
39179 fi
39180 else
39181 ac_cpp_err=yes
39182 fi
39183 if test -z "$ac_cpp_err"; then
39184 ac_header_preproc=yes
39185 else
39186 echo "$as_me: failed program was:" >&5
39187 sed 's/^/| /' conftest.$ac_ext >&5
39188
39189 ac_header_preproc=no
39190 fi
39191 rm -f conftest.err conftest.$ac_ext
39192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39193 echo "${ECHO_T}$ac_header_preproc" >&6
39194
39195 # So? What about this header?
39196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39197 yes:no: )
39198 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39201 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39202 ac_header_preproc=yes
39203 ;;
39204 no:yes:* )
39205 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39207 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39208 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39209 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39210 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39211 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39212 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39215 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39216 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39217 (
39218 cat <<\_ASBOX
39219 ## ----------------------------------------- ##
39220 ## Report this to wx-dev@lists.wxwidgets.org ##
39221 ## ----------------------------------------- ##
39222 _ASBOX
39223 ) |
39224 sed "s/^/$as_me: WARNING: /" >&2
39225 ;;
39226 esac
39227 echo "$as_me:$LINENO: checking for $ac_header" >&5
39228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39230 echo $ECHO_N "(cached) $ECHO_C" >&6
39231 else
39232 eval "$as_ac_Header=\$ac_header_preproc"
39233 fi
39234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39236
39237 fi
39238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39239 cat >>confdefs.h <<_ACEOF
39240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39241 _ACEOF
39242 wxUSE_JOYSTICK=yes
39243 fi
39244
39245 done
39246
39247 fi
39248
39249 if test "$wxUSE_JOYSTICK" = "yes"; then
39250 cat >>confdefs.h <<\_ACEOF
39251 #define wxUSE_JOYSTICK 1
39252 _ACEOF
39253
39254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
39255 else
39256 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
39257 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
39258 fi
39259 fi
39260
39261
39262
39263 if test "$wxUSE_FONTMAP" = "yes" ; then
39264 cat >>confdefs.h <<\_ACEOF
39265 #define wxUSE_FONTMAP 1
39266 _ACEOF
39267
39268 fi
39269
39270 if test "$wxUSE_UNICODE" = "yes" ; then
39271 cat >>confdefs.h <<\_ACEOF
39272 #define wxUSE_UNICODE 1
39273 _ACEOF
39274
39275
39276 if test "$USE_WIN32" != 1; then
39277 wxUSE_UNICODE_MSLU=no
39278 fi
39279
39280 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
39281 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
39282 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
39283 if test "${ac_cv_lib_unicows_main+set}" = set; then
39284 echo $ECHO_N "(cached) $ECHO_C" >&6
39285 else
39286 ac_check_lib_save_LIBS=$LIBS
39287 LIBS="-lunicows $LIBS"
39288 cat >conftest.$ac_ext <<_ACEOF
39289 /* confdefs.h. */
39290 _ACEOF
39291 cat confdefs.h >>conftest.$ac_ext
39292 cat >>conftest.$ac_ext <<_ACEOF
39293 /* end confdefs.h. */
39294
39295
39296 int
39297 main ()
39298 {
39299 main ();
39300 ;
39301 return 0;
39302 }
39303 _ACEOF
39304 rm -f conftest.$ac_objext conftest$ac_exeext
39305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39306 (eval $ac_link) 2>conftest.er1
39307 ac_status=$?
39308 grep -v '^ *+' conftest.er1 >conftest.err
39309 rm -f conftest.er1
39310 cat conftest.err >&5
39311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39312 (exit $ac_status); } &&
39313 { ac_try='test -z "$ac_c_werror_flag"
39314 || test ! -s conftest.err'
39315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39316 (eval $ac_try) 2>&5
39317 ac_status=$?
39318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39319 (exit $ac_status); }; } &&
39320 { ac_try='test -s conftest$ac_exeext'
39321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39322 (eval $ac_try) 2>&5
39323 ac_status=$?
39324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39325 (exit $ac_status); }; }; then
39326 ac_cv_lib_unicows_main=yes
39327 else
39328 echo "$as_me: failed program was:" >&5
39329 sed 's/^/| /' conftest.$ac_ext >&5
39330
39331 ac_cv_lib_unicows_main=no
39332 fi
39333 rm -f conftest.err conftest.$ac_objext \
39334 conftest$ac_exeext conftest.$ac_ext
39335 LIBS=$ac_check_lib_save_LIBS
39336 fi
39337 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
39338 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
39339 if test $ac_cv_lib_unicows_main = yes; then
39340
39341 cat >>confdefs.h <<\_ACEOF
39342 #define wxUSE_UNICODE_MSLU 1
39343 _ACEOF
39344
39345
39346 else
39347
39348 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39349 Applications will only run on Windows NT/2000/XP!" >&5
39350 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39351 Applications will only run on Windows NT/2000/XP!" >&2;}
39352 wxUSE_UNICODE_MSLU=no
39353
39354 fi
39355
39356 fi
39357 fi
39358
39359 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
39360 cat >>confdefs.h <<\_ACEOF
39361 #define wxUSE_EXPERIMENTAL_PRINTF 1
39362 _ACEOF
39363
39364 fi
39365
39366
39367 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
39368 cat >>confdefs.h <<\_ACEOF
39369 #define wxUSE_POSTSCRIPT 1
39370 _ACEOF
39371
39372 fi
39373
39374 cat >>confdefs.h <<\_ACEOF
39375 #define wxUSE_AFM_FOR_POSTSCRIPT 1
39376 _ACEOF
39377
39378
39379 cat >>confdefs.h <<\_ACEOF
39380 #define wxUSE_NORMALIZED_PS_FONTS 1
39381 _ACEOF
39382
39383
39384
39385 if test "$wxUSE_CONSTRAINTS" = "yes"; then
39386 cat >>confdefs.h <<\_ACEOF
39387 #define wxUSE_CONSTRAINTS 1
39388 _ACEOF
39389
39390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
39391 fi
39392
39393 if test "$wxUSE_MDI" = "yes"; then
39394 cat >>confdefs.h <<\_ACEOF
39395 #define wxUSE_MDI 1
39396 _ACEOF
39397
39398
39399 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39400 cat >>confdefs.h <<\_ACEOF
39401 #define wxUSE_MDI_ARCHITECTURE 1
39402 _ACEOF
39403
39404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
39405 fi
39406 fi
39407
39408 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
39409 cat >>confdefs.h <<\_ACEOF
39410 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
39411 _ACEOF
39412
39413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
39414 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39415 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
39416 fi
39417 fi
39418
39419 if test "$wxUSE_HELP" = "yes"; then
39420 cat >>confdefs.h <<\_ACEOF
39421 #define wxUSE_HELP 1
39422 _ACEOF
39423
39424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
39425
39426 if test "$wxUSE_MSW" = 1; then
39427 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
39428 cat >>confdefs.h <<\_ACEOF
39429 #define wxUSE_MS_HTML_HELP 1
39430 _ACEOF
39431
39432 fi
39433 fi
39434
39435 if test "$wxUSE_WXHTML_HELP" = "yes"; then
39436 if test "$wxUSE_HTML" = "yes"; then
39437 cat >>confdefs.h <<\_ACEOF
39438 #define wxUSE_WXHTML_HELP 1
39439 _ACEOF
39440
39441 else
39442 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
39443 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
39444 wxUSE_WXHTML_HELP=no
39445 fi
39446 fi
39447 fi
39448
39449 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39450 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39451 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
39452 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
39453 else
39454 cat >>confdefs.h <<\_ACEOF
39455 #define wxUSE_PRINTING_ARCHITECTURE 1
39456 _ACEOF
39457
39458 fi
39459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
39460 fi
39461
39462 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
39463 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
39464 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
39465 { (exit 1); exit 1; }; }
39466 fi
39467
39468
39469 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
39470 -o "$wxUSE_CLIPBOARD" = "yes" \
39471 -o "$wxUSE_OLE" = "yes" \
39472 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
39473
39474 for ac_header in ole2.h
39475 do
39476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39478 echo "$as_me:$LINENO: checking for $ac_header" >&5
39479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39481 echo $ECHO_N "(cached) $ECHO_C" >&6
39482 fi
39483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39485 else
39486 # Is the header compilable?
39487 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39488 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39489 cat >conftest.$ac_ext <<_ACEOF
39490 /* confdefs.h. */
39491 _ACEOF
39492 cat confdefs.h >>conftest.$ac_ext
39493 cat >>conftest.$ac_ext <<_ACEOF
39494 /* end confdefs.h. */
39495 $ac_includes_default
39496 #include <$ac_header>
39497 _ACEOF
39498 rm -f conftest.$ac_objext
39499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39500 (eval $ac_compile) 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"
39508 || test ! -s conftest.err'
39509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39510 (eval $ac_try) 2>&5
39511 ac_status=$?
39512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39513 (exit $ac_status); }; } &&
39514 { ac_try='test -s conftest.$ac_objext'
39515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39516 (eval $ac_try) 2>&5
39517 ac_status=$?
39518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39519 (exit $ac_status); }; }; then
39520 ac_header_compiler=yes
39521 else
39522 echo "$as_me: failed program was:" >&5
39523 sed 's/^/| /' conftest.$ac_ext >&5
39524
39525 ac_header_compiler=no
39526 fi
39527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39528 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39529 echo "${ECHO_T}$ac_header_compiler" >&6
39530
39531 # Is the header present?
39532 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39533 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39534 cat >conftest.$ac_ext <<_ACEOF
39535 /* confdefs.h. */
39536 _ACEOF
39537 cat confdefs.h >>conftest.$ac_ext
39538 cat >>conftest.$ac_ext <<_ACEOF
39539 /* end confdefs.h. */
39540 #include <$ac_header>
39541 _ACEOF
39542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39543 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39544 ac_status=$?
39545 grep -v '^ *+' conftest.er1 >conftest.err
39546 rm -f conftest.er1
39547 cat conftest.err >&5
39548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39549 (exit $ac_status); } >/dev/null; then
39550 if test -s conftest.err; then
39551 ac_cpp_err=$ac_c_preproc_warn_flag
39552 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39553 else
39554 ac_cpp_err=
39555 fi
39556 else
39557 ac_cpp_err=yes
39558 fi
39559 if test -z "$ac_cpp_err"; then
39560 ac_header_preproc=yes
39561 else
39562 echo "$as_me: failed program was:" >&5
39563 sed 's/^/| /' conftest.$ac_ext >&5
39564
39565 ac_header_preproc=no
39566 fi
39567 rm -f conftest.err conftest.$ac_ext
39568 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39569 echo "${ECHO_T}$ac_header_preproc" >&6
39570
39571 # So? What about this header?
39572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39573 yes:no: )
39574 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39575 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39577 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39578 ac_header_preproc=yes
39579 ;;
39580 no:yes:* )
39581 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39582 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39583 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39584 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39585 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39586 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39587 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39588 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39591 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39592 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39593 (
39594 cat <<\_ASBOX
39595 ## ----------------------------------------- ##
39596 ## Report this to wx-dev@lists.wxwidgets.org ##
39597 ## ----------------------------------------- ##
39598 _ASBOX
39599 ) |
39600 sed "s/^/$as_me: WARNING: /" >&2
39601 ;;
39602 esac
39603 echo "$as_me:$LINENO: checking for $ac_header" >&5
39604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39606 echo $ECHO_N "(cached) $ECHO_C" >&6
39607 else
39608 eval "$as_ac_Header=\$ac_header_preproc"
39609 fi
39610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39611 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39612
39613 fi
39614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39615 cat >>confdefs.h <<_ACEOF
39616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39617 _ACEOF
39618
39619 fi
39620
39621 done
39622
39623
39624 if test "$ac_cv_header_ole2_h" = "yes" ; then
39625 if test "$GCC" = yes ; then
39626
39627
39628 ac_ext=cc
39629 ac_cpp='$CXXCPP $CPPFLAGS'
39630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39633
39634
39635 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
39636 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
39637 cat >conftest.$ac_ext <<_ACEOF
39638 /* confdefs.h. */
39639 _ACEOF
39640 cat confdefs.h >>conftest.$ac_ext
39641 cat >>conftest.$ac_ext <<_ACEOF
39642 /* end confdefs.h. */
39643 #include <windows.h>
39644 #include <ole2.h>
39645 int
39646 main ()
39647 {
39648
39649 ;
39650 return 0;
39651 }
39652 _ACEOF
39653 rm -f conftest.$ac_objext
39654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39655 (eval $ac_compile) 2>conftest.er1
39656 ac_status=$?
39657 grep -v '^ *+' conftest.er1 >conftest.err
39658 rm -f conftest.er1
39659 cat conftest.err >&5
39660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39661 (exit $ac_status); } &&
39662 { ac_try='test -z "$ac_cxx_werror_flag"
39663 || test ! -s conftest.err'
39664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39665 (eval $ac_try) 2>&5
39666 ac_status=$?
39667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39668 (exit $ac_status); }; } &&
39669 { ac_try='test -s conftest.$ac_objext'
39670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39671 (eval $ac_try) 2>&5
39672 ac_status=$?
39673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39674 (exit $ac_status); }; }; then
39675 echo "$as_me:$LINENO: result: no" >&5
39676 echo "${ECHO_T}no" >&6
39677 else
39678 echo "$as_me: failed program was:" >&5
39679 sed 's/^/| /' conftest.$ac_ext >&5
39680
39681 echo "$as_me:$LINENO: result: yes" >&5
39682 echo "${ECHO_T}yes" >&6
39683 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
39684 fi
39685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39686 ac_ext=c
39687 ac_cpp='$CPP $CPPFLAGS'
39688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39691
39692 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
39693 if test "$wxUSE_OLE" = "yes" ; then
39694 cat >>confdefs.h <<\_ACEOF
39695 #define wxUSE_OLE 1
39696 _ACEOF
39697
39698 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
39699 fi
39700 fi
39701
39702 if test "$wxUSE_DATAOBJ" = "yes" ; then
39703 cat >>confdefs.h <<\_ACEOF
39704 #define wxUSE_DATAOBJ 1
39705 _ACEOF
39706
39707 fi
39708 else
39709 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
39710 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
39711
39712 wxUSE_CLIPBOARD=no
39713 wxUSE_DRAG_AND_DROP=no
39714 wxUSE_DATAOBJ=no
39715 wxUSE_OLE=no
39716 fi
39717
39718 if test "$wxUSE_METAFILE" = "yes"; then
39719 cat >>confdefs.h <<\_ACEOF
39720 #define wxUSE_METAFILE 1
39721 _ACEOF
39722
39723
39724 cat >>confdefs.h <<\_ACEOF
39725 #define wxUSE_ENH_METAFILE 1
39726 _ACEOF
39727
39728 fi
39729 fi
39730
39731 if test "$wxUSE_IPC" = "yes"; then
39732 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
39733 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
39734 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
39735 wxUSE_IPC=no
39736 fi
39737
39738 if test "$wxUSE_IPC" = "yes"; then
39739 cat >>confdefs.h <<\_ACEOF
39740 #define wxUSE_IPC 1
39741 _ACEOF
39742
39743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
39744 fi
39745 fi
39746
39747 if test "$wxUSE_CLIPBOARD" = "yes"; then
39748 if test "$wxUSE_MGL" = 1; then
39749 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
39750 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
39751 wxUSE_CLIPBOARD=no
39752 fi
39753
39754 if test "$wxUSE_CLIPBOARD" = "yes"; then
39755 cat >>confdefs.h <<\_ACEOF
39756 #define wxUSE_CLIPBOARD 1
39757 _ACEOF
39758
39759
39760 cat >>confdefs.h <<\_ACEOF
39761 #define wxUSE_DATAOBJ 1
39762 _ACEOF
39763
39764 fi
39765 fi
39766
39767 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
39768 if test "$wxUSE_GTK" = 1; then
39769 if test "$WXGTK12" != 1; then
39770 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
39771 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
39772 wxUSE_DRAG_AND_DROP=no
39773 fi
39774 fi
39775
39776 if test "$wxUSE_MOTIF" = 1; then
39777 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
39778 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
39779 wxUSE_DRAG_AND_DROP=no
39780 fi
39781
39782 if test "$wxUSE_X11" = 1; then
39783 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
39784 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
39785 wxUSE_DRAG_AND_DROP=no
39786 fi
39787
39788 if test "$wxUSE_MGL" = 1; then
39789 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
39790 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
39791 wxUSE_DRAG_AND_DROP=no
39792 fi
39793
39794 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
39795 cat >>confdefs.h <<\_ACEOF
39796 #define wxUSE_DRAG_AND_DROP 1
39797 _ACEOF
39798
39799 fi
39800
39801 fi
39802
39803 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
39804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
39805 fi
39806
39807 if test "$wxUSE_SPLINES" = "yes" ; then
39808 cat >>confdefs.h <<\_ACEOF
39809 #define wxUSE_SPLINES 1
39810 _ACEOF
39811
39812 fi
39813
39814 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
39815 cat >>confdefs.h <<\_ACEOF
39816 #define wxUSE_MOUSEWHEEL 1
39817 _ACEOF
39818
39819 fi
39820
39821
39822 USES_CONTROLS=0
39823 if test "$wxUSE_CONTROLS" = "yes"; then
39824 USES_CONTROLS=1
39825 fi
39826
39827 if test "$wxUSE_ACCEL" = "yes"; then
39828 cat >>confdefs.h <<\_ACEOF
39829 #define wxUSE_ACCEL 1
39830 _ACEOF
39831
39832 USES_CONTROLS=1
39833 fi
39834
39835 if test "$wxUSE_BUTTON" = "yes"; then
39836 cat >>confdefs.h <<\_ACEOF
39837 #define wxUSE_BUTTON 1
39838 _ACEOF
39839
39840 USES_CONTROLS=1
39841 fi
39842
39843 if test "$wxUSE_BMPBUTTON" = "yes"; then
39844 cat >>confdefs.h <<\_ACEOF
39845 #define wxUSE_BMPBUTTON 1
39846 _ACEOF
39847
39848 USES_CONTROLS=1
39849 fi
39850
39851 if test "$wxUSE_CALCTRL" = "yes"; then
39852 cat >>confdefs.h <<\_ACEOF
39853 #define wxUSE_CALENDARCTRL 1
39854 _ACEOF
39855
39856 USES_CONTROLS=1
39857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
39858 fi
39859
39860 if test "$wxUSE_CARET" = "yes"; then
39861 cat >>confdefs.h <<\_ACEOF
39862 #define wxUSE_CARET 1
39863 _ACEOF
39864
39865 USES_CONTROLS=1
39866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
39867 fi
39868
39869 if test "$wxUSE_COMBOBOX" = "yes"; then
39870 cat >>confdefs.h <<\_ACEOF
39871 #define wxUSE_COMBOBOX 1
39872 _ACEOF
39873
39874 USES_CONTROLS=1
39875 fi
39876
39877 if test "$wxUSE_CHOICE" = "yes"; then
39878 cat >>confdefs.h <<\_ACEOF
39879 #define wxUSE_CHOICE 1
39880 _ACEOF
39881
39882 USES_CONTROLS=1
39883 fi
39884
39885 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39886 cat >>confdefs.h <<\_ACEOF
39887 #define wxUSE_CHOICEBOOK 1
39888 _ACEOF
39889
39890 USES_CONTROLS=1
39891 fi
39892
39893 if test "$wxUSE_CHECKBOX" = "yes"; then
39894 cat >>confdefs.h <<\_ACEOF
39895 #define wxUSE_CHECKBOX 1
39896 _ACEOF
39897
39898 USES_CONTROLS=1
39899 fi
39900
39901 if test "$wxUSE_CHECKLST" = "yes"; then
39902 cat >>confdefs.h <<\_ACEOF
39903 #define wxUSE_CHECKLISTBOX 1
39904 _ACEOF
39905
39906 USES_CONTROLS=1
39907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
39908 fi
39909
39910 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39911 cat >>confdefs.h <<\_ACEOF
39912 #define wxUSE_DATEPICKCTRL 1
39913 _ACEOF
39914
39915 USES_CONTROLS=1
39916 fi
39917
39918 if test "$wxUSE_DISPLAY" = "yes"; then
39919 cat >>confdefs.h <<\_ACEOF
39920 #define wxUSE_DISPLAY 1
39921 _ACEOF
39922
39923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
39924 fi
39925
39926 if test "$wxUSE_GAUGE" = "yes"; then
39927 cat >>confdefs.h <<\_ACEOF
39928 #define wxUSE_GAUGE 1
39929 _ACEOF
39930
39931 USES_CONTROLS=1
39932 fi
39933
39934 if test "$wxUSE_GRID" = "yes"; then
39935 cat >>confdefs.h <<\_ACEOF
39936 #define wxUSE_GRID 1
39937 _ACEOF
39938
39939 USES_CONTROLS=1
39940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
39941 fi
39942
39943 if test "$wxUSE_IMAGLIST" = "yes"; then
39944 cat >>confdefs.h <<\_ACEOF
39945 #define wxUSE_IMAGLIST 1
39946 _ACEOF
39947
39948 fi
39949
39950 if test "$wxUSE_LISTBOOK" = "yes"; then
39951 cat >>confdefs.h <<\_ACEOF
39952 #define wxUSE_LISTBOOK 1
39953 _ACEOF
39954
39955 USES_CONTROLS=1
39956 fi
39957
39958 if test "$wxUSE_LISTBOX" = "yes"; then
39959 cat >>confdefs.h <<\_ACEOF
39960 #define wxUSE_LISTBOX 1
39961 _ACEOF
39962
39963 USES_CONTROLS=1
39964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
39965 fi
39966
39967 if test "$wxUSE_LISTCTRL" = "yes"; then
39968 if test "$wxUSE_IMAGLIST" = "yes"; then
39969 cat >>confdefs.h <<\_ACEOF
39970 #define wxUSE_LISTCTRL 1
39971 _ACEOF
39972
39973 USES_CONTROLS=1
39974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
39975 else
39976 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
39977 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
39978 fi
39979 fi
39980
39981 if test "$wxUSE_NOTEBOOK" = "yes"; then
39982 cat >>confdefs.h <<\_ACEOF
39983 #define wxUSE_NOTEBOOK 1
39984 _ACEOF
39985
39986 USES_CONTROLS=1
39987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
39988 fi
39989
39990
39991 if test "$wxUSE_RADIOBOX" = "yes"; then
39992 cat >>confdefs.h <<\_ACEOF
39993 #define wxUSE_RADIOBOX 1
39994 _ACEOF
39995
39996 USES_CONTROLS=1
39997 fi
39998
39999 if test "$wxUSE_RADIOBTN" = "yes"; then
40000 cat >>confdefs.h <<\_ACEOF
40001 #define wxUSE_RADIOBTN 1
40002 _ACEOF
40003
40004 USES_CONTROLS=1
40005 fi
40006
40007 if test "$wxUSE_SASH" = "yes"; then
40008 cat >>confdefs.h <<\_ACEOF
40009 #define wxUSE_SASH 1
40010 _ACEOF
40011
40012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
40013 fi
40014
40015 if test "$wxUSE_SCROLLBAR" = "yes"; then
40016 cat >>confdefs.h <<\_ACEOF
40017 #define wxUSE_SCROLLBAR 1
40018 _ACEOF
40019
40020 USES_CONTROLS=1
40021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
40022 fi
40023
40024 if test "$wxUSE_SLIDER" = "yes"; then
40025 cat >>confdefs.h <<\_ACEOF
40026 #define wxUSE_SLIDER 1
40027 _ACEOF
40028
40029 USES_CONTROLS=1
40030 fi
40031
40032 if test "$wxUSE_SPINBTN" = "yes"; then
40033 cat >>confdefs.h <<\_ACEOF
40034 #define wxUSE_SPINBTN 1
40035 _ACEOF
40036
40037 USES_CONTROLS=1
40038 fi
40039
40040 if test "$wxUSE_SPINCTRL" = "yes"; then
40041 cat >>confdefs.h <<\_ACEOF
40042 #define wxUSE_SPINCTRL 1
40043 _ACEOF
40044
40045 USES_CONTROLS=1
40046 fi
40047
40048 if test "$wxUSE_SPLITTER" = "yes"; then
40049 cat >>confdefs.h <<\_ACEOF
40050 #define wxUSE_SPLITTER 1
40051 _ACEOF
40052
40053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
40054 fi
40055
40056 if test "$wxUSE_STATBMP" = "yes"; then
40057 cat >>confdefs.h <<\_ACEOF
40058 #define wxUSE_STATBMP 1
40059 _ACEOF
40060
40061 USES_CONTROLS=1
40062 fi
40063
40064 if test "$wxUSE_STATBOX" = "yes"; then
40065 cat >>confdefs.h <<\_ACEOF
40066 #define wxUSE_STATBOX 1
40067 _ACEOF
40068
40069 USES_CONTROLS=1
40070 fi
40071
40072 if test "$wxUSE_STATTEXT" = "yes"; then
40073 cat >>confdefs.h <<\_ACEOF
40074 #define wxUSE_STATTEXT 1
40075 _ACEOF
40076
40077 USES_CONTROLS=1
40078 fi
40079
40080 if test "$wxUSE_STATLINE" = "yes"; then
40081 cat >>confdefs.h <<\_ACEOF
40082 #define wxUSE_STATLINE 1
40083 _ACEOF
40084
40085 USES_CONTROLS=1
40086 fi
40087
40088 if test "$wxUSE_STATUSBAR" = "yes"; then
40089 cat >>confdefs.h <<\_ACEOF
40090 #define wxUSE_NATIVE_STATUSBAR 1
40091 _ACEOF
40092
40093 cat >>confdefs.h <<\_ACEOF
40094 #define wxUSE_STATUSBAR 1
40095 _ACEOF
40096
40097 USES_CONTROLS=1
40098
40099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
40100 fi
40101
40102 if test "$wxUSE_TABDIALOG" = "yes"; then
40103 cat >>confdefs.h <<\_ACEOF
40104 #define wxUSE_TAB_DIALOG 1
40105 _ACEOF
40106
40107 fi
40108
40109 if test "$wxUSE_TEXTCTRL" = "yes"; then
40110 cat >>confdefs.h <<\_ACEOF
40111 #define wxUSE_TEXTCTRL 1
40112 _ACEOF
40113
40114 USES_CONTROLS=1
40115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
40116 fi
40117
40118 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40119 if test "$wxUSE_COCOA" = 1 ; then
40120 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
40121 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
40122 wxUSE_TOGGLEBTN=no
40123 fi
40124 if test "$wxUSE_UNIVERSAL" = "yes"; then
40125 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
40126 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
40127 wxUSE_TOGGLEBTN=no
40128 fi
40129
40130 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40131 cat >>confdefs.h <<\_ACEOF
40132 #define wxUSE_TOGGLEBTN 1
40133 _ACEOF
40134
40135 USES_CONTROLS=1
40136 fi
40137 fi
40138
40139 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
40140 cat >>confdefs.h <<\_ACEOF
40141 #define wxUSE_TOOLBAR_SIMPLE 1
40142 _ACEOF
40143
40144 wxUSE_TOOLBAR="yes"
40145 USES_CONTROLS=1
40146 fi
40147
40148 if test "$wxUSE_TOOLBAR" = "yes"; then
40149 cat >>confdefs.h <<\_ACEOF
40150 #define wxUSE_TOOLBAR 1
40151 _ACEOF
40152
40153 USES_CONTROLS=1
40154
40155 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
40156 wxUSE_TOOLBAR_NATIVE="yes"
40157 fi
40158
40159 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
40160 cat >>confdefs.h <<\_ACEOF
40161 #define wxUSE_TOOLBAR_NATIVE 1
40162 _ACEOF
40163
40164 USES_CONTROLS=1
40165 fi
40166
40167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
40168 fi
40169
40170 if test "$wxUSE_TOOLTIPS" = "yes"; then
40171 if test "$wxUSE_MOTIF" = 1; then
40172 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
40173 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
40174 else
40175 if test "$wxUSE_UNIVERSAL" = "yes"; then
40176 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
40177 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
40178 else
40179 cat >>confdefs.h <<\_ACEOF
40180 #define wxUSE_TOOLTIPS 1
40181 _ACEOF
40182
40183 fi
40184 fi
40185 fi
40186
40187 if test "$wxUSE_TREECTRL" = "yes"; then
40188 if test "$wxUSE_IMAGLIST" = "yes"; then
40189 cat >>confdefs.h <<\_ACEOF
40190 #define wxUSE_TREECTRL 1
40191 _ACEOF
40192
40193 USES_CONTROLS=1
40194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
40195 else
40196 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
40197 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
40198 fi
40199 fi
40200
40201 if test "$wxUSE_POPUPWIN" = "yes"; then
40202 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40203 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
40204 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
40205 else
40206 if test "$wxUSE_PM" = 1; then
40207 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
40208 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
40209 else
40210 cat >>confdefs.h <<\_ACEOF
40211 #define wxUSE_POPUPWIN 1
40212 _ACEOF
40213
40214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
40215
40216 USES_CONTROLS=1
40217 fi
40218 fi
40219 fi
40220
40221 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
40222 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40223 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
40224 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
40225 else
40226 cat >>confdefs.h <<\_ACEOF
40227 #define wxUSE_DIALUP_MANAGER 1
40228 _ACEOF
40229
40230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
40231 fi
40232 fi
40233
40234 if test "$wxUSE_TIPWINDOW" = "yes"; then
40235 if test "$wxUSE_PM" = 1; then
40236 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
40237 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
40238 else
40239 cat >>confdefs.h <<\_ACEOF
40240 #define wxUSE_TIPWINDOW 1
40241 _ACEOF
40242
40243 fi
40244 fi
40245
40246 if test "$USES_CONTROLS" = 1; then
40247 cat >>confdefs.h <<\_ACEOF
40248 #define wxUSE_CONTROLS 1
40249 _ACEOF
40250
40251 fi
40252
40253
40254 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
40255 cat >>confdefs.h <<\_ACEOF
40256 #define wxUSE_ACCESSIBILITY 1
40257 _ACEOF
40258
40259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
40260 fi
40261
40262 if test "$wxUSE_DRAGIMAGE" = "yes"; then
40263 cat >>confdefs.h <<\_ACEOF
40264 #define wxUSE_DRAGIMAGE 1
40265 _ACEOF
40266
40267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
40268 fi
40269
40270 if test "$wxUSE_EXCEPTIONS" = "yes"; then
40271 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40272 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
40273 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
40274 else
40275 cat >>confdefs.h <<\_ACEOF
40276 #define wxUSE_EXCEPTIONS 1
40277 _ACEOF
40278
40279 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
40280 fi
40281 fi
40282
40283 USE_HTML=0
40284 if test "$wxUSE_HTML" = "yes"; then
40285 cat >>confdefs.h <<\_ACEOF
40286 #define wxUSE_HTML 1
40287 _ACEOF
40288
40289 USE_HTML=1
40290 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
40291 if test "$wxUSE_MAC" = 1; then
40292 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
40293 fi
40294 fi
40295 if test "$wxUSE_WEBKIT" = "yes"; then
40296 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
40297 old_CPPFLAGS="$CPPFLAGS"
40298 CPPFLAGS="$CPPFLAGS -x objective-c++"
40299 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
40300 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
40301 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
40302 echo $ECHO_N "(cached) $ECHO_C" >&6
40303 else
40304 cat >conftest.$ac_ext <<_ACEOF
40305 /* confdefs.h. */
40306 _ACEOF
40307 cat confdefs.h >>conftest.$ac_ext
40308 cat >>conftest.$ac_ext <<_ACEOF
40309 /* end confdefs.h. */
40310 #include <Carbon/Carbon.h>
40311
40312 #include <WebKit/HIWebView.h>
40313 _ACEOF
40314 rm -f conftest.$ac_objext
40315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40316 (eval $ac_compile) 2>conftest.er1
40317 ac_status=$?
40318 grep -v '^ *+' conftest.er1 >conftest.err
40319 rm -f conftest.er1
40320 cat conftest.err >&5
40321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40322 (exit $ac_status); } &&
40323 { ac_try='test -z "$ac_c_werror_flag"
40324 || test ! -s conftest.err'
40325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40326 (eval $ac_try) 2>&5
40327 ac_status=$?
40328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40329 (exit $ac_status); }; } &&
40330 { ac_try='test -s conftest.$ac_objext'
40331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40332 (eval $ac_try) 2>&5
40333 ac_status=$?
40334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40335 (exit $ac_status); }; }; then
40336 ac_cv_header_WebKit_HIWebView_h=yes
40337 else
40338 echo "$as_me: failed program was:" >&5
40339 sed 's/^/| /' conftest.$ac_ext >&5
40340
40341 ac_cv_header_WebKit_HIWebView_h=no
40342 fi
40343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40344 fi
40345 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
40346 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
40347 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
40348
40349 cat >>confdefs.h <<\_ACEOF
40350 #define wxUSE_WEBKIT 1
40351 _ACEOF
40352
40353 WEBKIT_LINK="-framework WebKit"
40354
40355 else
40356
40357 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
40358 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
40359 wxUSE_WEBKIT=no
40360
40361 fi
40362
40363
40364 CPPFLAGS="$old_CPPFLAGS"
40365 elif test "$wxUSE_COCOA" = 1; then
40366 cat >>confdefs.h <<\_ACEOF
40367 #define wxUSE_WEBKIT 1
40368 _ACEOF
40369
40370 else
40371 wxUSE_WEBKIT=no
40372 fi
40373 fi
40374
40375 USE_XRC=0
40376 if test "$wxUSE_XRC" = "yes"; then
40377 if test "$wxUSE_XML" != "yes"; then
40378 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
40379 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
40380 wxUSE_XRC=no
40381 else
40382 cat >>confdefs.h <<\_ACEOF
40383 #define wxUSE_XRC 1
40384 _ACEOF
40385
40386 USE_XRC=1
40387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
40388 fi
40389 fi
40390
40391 if test "$wxUSE_MENUS" = "yes"; then
40392 cat >>confdefs.h <<\_ACEOF
40393 #define wxUSE_MENUS 1
40394 _ACEOF
40395
40396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
40397 fi
40398
40399 if test "$wxUSE_METAFILE" = "yes"; then
40400 cat >>confdefs.h <<\_ACEOF
40401 #define wxUSE_METAFILE 1
40402 _ACEOF
40403
40404 fi
40405
40406 if test "$wxUSE_MIMETYPE" = "yes"; then
40407 cat >>confdefs.h <<\_ACEOF
40408 #define wxUSE_MIMETYPE 1
40409 _ACEOF
40410
40411 fi
40412
40413 if test "$wxUSE_MINIFRAME" = "yes"; then
40414 cat >>confdefs.h <<\_ACEOF
40415 #define wxUSE_MINIFRAME 1
40416 _ACEOF
40417
40418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
40419 fi
40420
40421 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
40422 cat >>confdefs.h <<\_ACEOF
40423 #define wxUSE_SYSTEM_OPTIONS 1
40424 _ACEOF
40425
40426 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
40427 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
40428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
40429 fi
40430 fi
40431
40432
40433 if test "$wxUSE_VALIDATORS" = "yes"; then
40434 cat >>confdefs.h <<\_ACEOF
40435 #define wxUSE_VALIDATORS 1
40436 _ACEOF
40437
40438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
40439 fi
40440
40441 if test "$wxUSE_PALETTE" = "yes" ; then
40442 cat >>confdefs.h <<\_ACEOF
40443 #define wxUSE_PALETTE 1
40444 _ACEOF
40445
40446 fi
40447
40448 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
40449 LIBS=" -lunicows $LIBS"
40450 fi
40451
40452
40453 if test "$wxUSE_IMAGE" = "yes" ; then
40454 cat >>confdefs.h <<\_ACEOF
40455 #define wxUSE_IMAGE 1
40456 _ACEOF
40457
40458
40459 if test "$wxUSE_GIF" = "yes" ; then
40460 cat >>confdefs.h <<\_ACEOF
40461 #define wxUSE_GIF 1
40462 _ACEOF
40463
40464 fi
40465
40466 if test "$wxUSE_PCX" = "yes" ; then
40467 cat >>confdefs.h <<\_ACEOF
40468 #define wxUSE_PCX 1
40469 _ACEOF
40470
40471 fi
40472
40473 if test "$wxUSE_IFF" = "yes" ; then
40474 cat >>confdefs.h <<\_ACEOF
40475 #define wxUSE_IFF 1
40476 _ACEOF
40477
40478 fi
40479
40480 if test "$wxUSE_PNM" = "yes" ; then
40481 cat >>confdefs.h <<\_ACEOF
40482 #define wxUSE_PNM 1
40483 _ACEOF
40484
40485 fi
40486
40487 if test "$wxUSE_XPM" = "yes" ; then
40488 cat >>confdefs.h <<\_ACEOF
40489 #define wxUSE_XPM 1
40490 _ACEOF
40491
40492 fi
40493
40494 if test "$wxUSE_ICO_CUR" = "yes" ; then
40495 cat >>confdefs.h <<\_ACEOF
40496 #define wxUSE_ICO_CUR 1
40497 _ACEOF
40498
40499 fi
40500 fi
40501
40502
40503 if test "$wxUSE_CHOICEDLG" = "yes"; then
40504 cat >>confdefs.h <<\_ACEOF
40505 #define wxUSE_CHOICEDLG 1
40506 _ACEOF
40507
40508 fi
40509
40510 if test "$wxUSE_COLOURDLG" = "yes"; then
40511 cat >>confdefs.h <<\_ACEOF
40512 #define wxUSE_COLOURDLG 1
40513 _ACEOF
40514
40515 fi
40516
40517 if test "$wxUSE_FILEDLG" = "yes"; then
40518 cat >>confdefs.h <<\_ACEOF
40519 #define wxUSE_FILEDLG 1
40520 _ACEOF
40521
40522 fi
40523
40524 if test "$wxUSE_FINDREPLDLG" = "yes"; then
40525 cat >>confdefs.h <<\_ACEOF
40526 #define wxUSE_FINDREPLDLG 1
40527 _ACEOF
40528
40529 fi
40530
40531 if test "$wxUSE_FONTDLG" = "yes"; then
40532 cat >>confdefs.h <<\_ACEOF
40533 #define wxUSE_FONTDLG 1
40534 _ACEOF
40535
40536 fi
40537
40538 if test "$wxUSE_DIRDLG" = "yes"; then
40539 if test "$wxUSE_TREECTRL" != "yes"; then
40540 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
40541 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
40542 else
40543 cat >>confdefs.h <<\_ACEOF
40544 #define wxUSE_DIRDLG 1
40545 _ACEOF
40546
40547 fi
40548 fi
40549
40550 if test "$wxUSE_MSGDLG" = "yes"; then
40551 cat >>confdefs.h <<\_ACEOF
40552 #define wxUSE_MSGDLG 1
40553 _ACEOF
40554
40555 fi
40556
40557 if test "$wxUSE_NUMBERDLG" = "yes"; then
40558 cat >>confdefs.h <<\_ACEOF
40559 #define wxUSE_NUMBERDLG 1
40560 _ACEOF
40561
40562 fi
40563
40564 if test "$wxUSE_PROGRESSDLG" = "yes"; then
40565 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40566 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
40567 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
40568 else
40569 cat >>confdefs.h <<\_ACEOF
40570 #define wxUSE_PROGRESSDLG 1
40571 _ACEOF
40572
40573 fi
40574 fi
40575
40576 if test "$wxUSE_SPLASH" = "yes"; then
40577 cat >>confdefs.h <<\_ACEOF
40578 #define wxUSE_SPLASH 1
40579 _ACEOF
40580
40581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
40582 fi
40583
40584 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
40585 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40586 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
40587 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
40588 else
40589 cat >>confdefs.h <<\_ACEOF
40590 #define wxUSE_STARTUP_TIPS 1
40591 _ACEOF
40592
40593 fi
40594 fi
40595
40596 if test "$wxUSE_TEXTDLG" = "yes"; then
40597 cat >>confdefs.h <<\_ACEOF
40598 #define wxUSE_TEXTDLG 1
40599 _ACEOF
40600
40601 fi
40602
40603 if test "$wxUSE_WIZARDDLG" = "yes"; then
40604 cat >>confdefs.h <<\_ACEOF
40605 #define wxUSE_WIZARDDLG 1
40606 _ACEOF
40607
40608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
40609 fi
40610
40611
40612 if test "$wxUSE_MEDIACTRL" = "yes"; then
40613 if test "$wxUSE_GTK" = 1; then
40614 wxUSE_GSTREAMER="yes"
40615
40616
40617 succeeded=no
40618
40619 if test -z "$PKG_CONFIG"; then
40620 # Extract the first word of "pkg-config", so it can be a program name with args.
40621 set dummy pkg-config; ac_word=$2
40622 echo "$as_me:$LINENO: checking for $ac_word" >&5
40623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40624 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40625 echo $ECHO_N "(cached) $ECHO_C" >&6
40626 else
40627 case $PKG_CONFIG in
40628 [\\/]* | ?:[\\/]*)
40629 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40630 ;;
40631 *)
40632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40633 for as_dir in $PATH
40634 do
40635 IFS=$as_save_IFS
40636 test -z "$as_dir" && as_dir=.
40637 for ac_exec_ext in '' $ac_executable_extensions; do
40638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40639 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40641 break 2
40642 fi
40643 done
40644 done
40645
40646 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
40647 ;;
40648 esac
40649 fi
40650 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
40651
40652 if test -n "$PKG_CONFIG"; then
40653 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40654 echo "${ECHO_T}$PKG_CONFIG" >&6
40655 else
40656 echo "$as_me:$LINENO: result: no" >&5
40657 echo "${ECHO_T}no" >&6
40658 fi
40659
40660 fi
40661
40662 if test "$PKG_CONFIG" = "no" ; then
40663 echo "*** The pkg-config script could not be found. Make sure it is"
40664 echo "*** in your path, or set the PKG_CONFIG environment variable"
40665 echo "*** to the full path to pkg-config."
40666 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40667 else
40668 PKG_CONFIG_MIN_VERSION=0.9.0
40669 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40670 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
40671 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
40672
40673 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
40674 echo "$as_me:$LINENO: result: yes" >&5
40675 echo "${ECHO_T}yes" >&6
40676 succeeded=yes
40677
40678 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
40679 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
40680 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
40681 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
40682 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
40683
40684 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
40685 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
40686 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
40687 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
40688 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
40689 else
40690 GSTREAMER_CFLAGS=""
40691 GSTREAMER_LIBS=""
40692 ## If we have a custom action on failure, don't print errors, but
40693 ## do set a variable so people can do so.
40694 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
40695
40696 fi
40697
40698
40699
40700 else
40701 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40702 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40703 fi
40704 fi
40705
40706 if test $succeeded = yes; then
40707
40708 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
40709 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
40710
40711 else
40712
40713 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
40714 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
40715 wxUSE_GSTREAMER="no"
40716
40717 fi
40718
40719
40720
40721
40722
40723 if test "x$GST_INSPECT" == "x"; then
40724 # Extract the first word of "gst-inspect", so it can be a program name with args.
40725 set dummy gst-inspect; ac_word=$2
40726 echo "$as_me:$LINENO: checking for $ac_word" >&5
40727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40728 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
40729 echo $ECHO_N "(cached) $ECHO_C" >&6
40730 else
40731 if test -n "$GST_INSPECT"; then
40732 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
40733 else
40734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40735 for as_dir in $PATH
40736 do
40737 IFS=$as_save_IFS
40738 test -z "$as_dir" && as_dir=.
40739 for ac_exec_ext in '' $ac_executable_extensions; do
40740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40741 ac_cv_prog_GST_INSPECT="gst-inspect"
40742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40743 break 2
40744 fi
40745 done
40746 done
40747
40748 fi
40749 fi
40750 GST_INSPECT=$ac_cv_prog_GST_INSPECT
40751 if test -n "$GST_INSPECT"; then
40752 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
40753 echo "${ECHO_T}$GST_INSPECT" >&6
40754 else
40755 echo "$as_me:$LINENO: result: no" >&5
40756 echo "${ECHO_T}no" >&6
40757 fi
40758
40759 fi
40760
40761 if test "x$GST_INSPECT" != "x"; then
40762 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40763 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40764 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
40765 echo "$as_me:$LINENO: result: found." >&5
40766 echo "${ECHO_T}found." >&6
40767
40768 else
40769 echo "$as_me:$LINENO: result: not found." >&5
40770 echo "${ECHO_T}not found." >&6
40771
40772 wxUSE_GSTREAMER="no"
40773 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40774 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40775
40776 fi
40777 fi
40778
40779
40780 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40781 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40782 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40783 echo $ECHO_N "(cached) $ECHO_C" >&6
40784 else
40785 cat >conftest.$ac_ext <<_ACEOF
40786 /* confdefs.h. */
40787 _ACEOF
40788 cat confdefs.h >>conftest.$ac_ext
40789 cat >>conftest.$ac_ext <<_ACEOF
40790 /* end confdefs.h. */
40791 #include <gst/gst.h>
40792
40793 #include <gst/xoverlay/xoverlay.h>
40794 _ACEOF
40795 rm -f conftest.$ac_objext
40796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40797 (eval $ac_compile) 2>conftest.er1
40798 ac_status=$?
40799 grep -v '^ *+' conftest.er1 >conftest.err
40800 rm -f conftest.er1
40801 cat conftest.err >&5
40802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40803 (exit $ac_status); } &&
40804 { ac_try='test -z "$ac_c_werror_flag"
40805 || test ! -s conftest.err'
40806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40807 (eval $ac_try) 2>&5
40808 ac_status=$?
40809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40810 (exit $ac_status); }; } &&
40811 { ac_try='test -s conftest.$ac_objext'
40812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40813 (eval $ac_try) 2>&5
40814 ac_status=$?
40815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40816 (exit $ac_status); }; }; then
40817 ac_cv_header_gst_xoverlay_xoverlay_h=yes
40818 else
40819 echo "$as_me: failed program was:" >&5
40820 sed 's/^/| /' conftest.$ac_ext >&5
40821
40822 ac_cv_header_gst_xoverlay_xoverlay_h=no
40823 fi
40824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40825 fi
40826 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40827 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40828 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40829 :
40830 else
40831
40832 wxUSE_GSTREAMER="no"
40833 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40834 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40835
40836 fi
40837
40838
40839
40840 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40841 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40842
40843 ac_find_libraries=
40844 for ac_dir in $SEARCH_LIB /usr/lib;
40845 do
40846 for ac_extension in a so sl dylib; do
40847 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40848 ac_find_libraries=$ac_dir
40849 break 2
40850 fi
40851 done
40852 done
40853
40854
40855 if test "$ac_find_libraries" = "" ; then
40856 echo "$as_me:$LINENO: result: no" >&5
40857 echo "${ECHO_T}no" >&6
40858 wxUSE_GSTREAMER="no"
40859 else
40860 echo "$as_me:$LINENO: result: yes" >&5
40861 echo "${ECHO_T}yes" >&6
40862 fi
40863
40864 if test "$wxUSE_GSTREAMER" = "yes"; then
40865 cat >>confdefs.h <<\_ACEOF
40866 #define wxUSE_GSTREAMER 1
40867 _ACEOF
40868
40869 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40870 echo "${ECHO_T}GStreamer detection successful" >&6
40871 fi
40872 fi
40873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
40874 cat >>confdefs.h <<\_ACEOF
40875 #define wxUSE_MEDIACTRL 1
40876 _ACEOF
40877
40878 fi
40879
40880
40881 if test "$cross_compiling" = "yes"; then
40882 OSINFO="\"$host\""
40883 else
40884 OSINFO=`uname -s -r -m`
40885 OSINFO="\"$OSINFO\""
40886 fi
40887
40888 cat >>confdefs.h <<_ACEOF
40889 #define WXWIN_OS_DESCRIPTION $OSINFO
40890 _ACEOF
40891
40892
40893
40894 if test "x$prefix" != "xNONE"; then
40895 wxPREFIX=$prefix
40896 else
40897 wxPREFIX=$ac_default_prefix
40898 fi
40899
40900 cat >>confdefs.h <<_ACEOF
40901 #define wxINSTALL_PREFIX "$wxPREFIX"
40902 _ACEOF
40903
40904
40905
40906
40907 CORE_BASE_LIBS="net base"
40908 CORE_GUI_LIBS="adv core"
40909
40910 if test "$wxUSE_XML" = "yes" ; then
40911 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
40912 fi
40913 if test "$wxUSE_ODBC" != "no" ; then
40914 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
40915 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
40916 fi
40917 if test "$wxUSE_HTML" = "yes" ; then
40918 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
40919 fi
40920 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40921 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
40922 fi
40923 if test "$wxUSE_XRC" = "yes" ; then
40924 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
40925 fi
40926
40927 if test "$wxUSE_GUI" != "yes"; then
40928 CORE_GUI_LIBS=""
40929 fi
40930
40931
40932
40933
40934
40935
40936
40937
40938 if test "$wxUSE_MAC" = 1 ; then
40939 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40940 if test "$USE_DARWIN" = 1; then
40941 LDFLAGS="$LDFLAGS -framework QuickTime"
40942 else
40943 LDFLAGS="$LDFLAGS -lQuickTimeLib"
40944 fi
40945 fi
40946 if test "$USE_DARWIN" = 1; then
40947 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40948 else
40949 LDFLAGS="$LDFLAGS -lCarbonLib"
40950 fi
40951 fi
40952 if test "$wxUSE_COCOA" = 1 ; then
40953 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
40954 if test "$wxUSE_MEDIACTRL" = "yes"; then
40955 LDFLAGS="$LDFLAGS -framework QuickTime"
40956 fi
40957 fi
40958 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
40959 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
40960 fi
40961
40962
40963 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
40964
40965 have_cos=0
40966 have_floor=0
40967
40968 for ac_func in cos
40969 do
40970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40971 echo "$as_me:$LINENO: checking for $ac_func" >&5
40972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40973 if eval "test \"\${$as_ac_var+set}\" = set"; then
40974 echo $ECHO_N "(cached) $ECHO_C" >&6
40975 else
40976 cat >conftest.$ac_ext <<_ACEOF
40977 /* confdefs.h. */
40978 _ACEOF
40979 cat confdefs.h >>conftest.$ac_ext
40980 cat >>conftest.$ac_ext <<_ACEOF
40981 /* end confdefs.h. */
40982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40984 #define $ac_func innocuous_$ac_func
40985
40986 /* System header to define __stub macros and hopefully few prototypes,
40987 which can conflict with char $ac_func (); below.
40988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40989 <limits.h> exists even on freestanding compilers. */
40990
40991 #ifdef __STDC__
40992 # include <limits.h>
40993 #else
40994 # include <assert.h>
40995 #endif
40996
40997 #undef $ac_func
40998
40999 /* Override any gcc2 internal prototype to avoid an error. */
41000 #ifdef __cplusplus
41001 extern "C"
41002 {
41003 #endif
41004 /* We use char because int might match the return type of a gcc2
41005 builtin and then its argument prototype would still apply. */
41006 char $ac_func ();
41007 /* The GNU C library defines this for functions which it implements
41008 to always fail with ENOSYS. Some functions are actually named
41009 something starting with __ and the normal name is an alias. */
41010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41011 choke me
41012 #else
41013 char (*f) () = $ac_func;
41014 #endif
41015 #ifdef __cplusplus
41016 }
41017 #endif
41018
41019 int
41020 main ()
41021 {
41022 return f != $ac_func;
41023 ;
41024 return 0;
41025 }
41026 _ACEOF
41027 rm -f conftest.$ac_objext conftest$ac_exeext
41028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41029 (eval $ac_link) 2>conftest.er1
41030 ac_status=$?
41031 grep -v '^ *+' conftest.er1 >conftest.err
41032 rm -f conftest.er1
41033 cat conftest.err >&5
41034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41035 (exit $ac_status); } &&
41036 { ac_try='test -z "$ac_c_werror_flag"
41037 || test ! -s conftest.err'
41038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41039 (eval $ac_try) 2>&5
41040 ac_status=$?
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); }; } &&
41043 { ac_try='test -s conftest$ac_exeext'
41044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41045 (eval $ac_try) 2>&5
41046 ac_status=$?
41047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41048 (exit $ac_status); }; }; then
41049 eval "$as_ac_var=yes"
41050 else
41051 echo "$as_me: failed program was:" >&5
41052 sed 's/^/| /' conftest.$ac_ext >&5
41053
41054 eval "$as_ac_var=no"
41055 fi
41056 rm -f conftest.err conftest.$ac_objext \
41057 conftest$ac_exeext conftest.$ac_ext
41058 fi
41059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41061 if test `eval echo '${'$as_ac_var'}'` = yes; then
41062 cat >>confdefs.h <<_ACEOF
41063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41064 _ACEOF
41065 have_cos=1
41066 fi
41067 done
41068
41069
41070 for ac_func in floor
41071 do
41072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41073 echo "$as_me:$LINENO: checking for $ac_func" >&5
41074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41075 if eval "test \"\${$as_ac_var+set}\" = set"; then
41076 echo $ECHO_N "(cached) $ECHO_C" >&6
41077 else
41078 cat >conftest.$ac_ext <<_ACEOF
41079 /* confdefs.h. */
41080 _ACEOF
41081 cat confdefs.h >>conftest.$ac_ext
41082 cat >>conftest.$ac_ext <<_ACEOF
41083 /* end confdefs.h. */
41084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41086 #define $ac_func innocuous_$ac_func
41087
41088 /* System header to define __stub macros and hopefully few prototypes,
41089 which can conflict with char $ac_func (); below.
41090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41091 <limits.h> exists even on freestanding compilers. */
41092
41093 #ifdef __STDC__
41094 # include <limits.h>
41095 #else
41096 # include <assert.h>
41097 #endif
41098
41099 #undef $ac_func
41100
41101 /* Override any gcc2 internal prototype to avoid an error. */
41102 #ifdef __cplusplus
41103 extern "C"
41104 {
41105 #endif
41106 /* We use char because int might match the return type of a gcc2
41107 builtin and then its argument prototype would still apply. */
41108 char $ac_func ();
41109 /* The GNU C library defines this for functions which it implements
41110 to always fail with ENOSYS. Some functions are actually named
41111 something starting with __ and the normal name is an alias. */
41112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41113 choke me
41114 #else
41115 char (*f) () = $ac_func;
41116 #endif
41117 #ifdef __cplusplus
41118 }
41119 #endif
41120
41121 int
41122 main ()
41123 {
41124 return f != $ac_func;
41125 ;
41126 return 0;
41127 }
41128 _ACEOF
41129 rm -f conftest.$ac_objext conftest$ac_exeext
41130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41131 (eval $ac_link) 2>conftest.er1
41132 ac_status=$?
41133 grep -v '^ *+' conftest.er1 >conftest.err
41134 rm -f conftest.er1
41135 cat conftest.err >&5
41136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41137 (exit $ac_status); } &&
41138 { ac_try='test -z "$ac_c_werror_flag"
41139 || test ! -s conftest.err'
41140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41141 (eval $ac_try) 2>&5
41142 ac_status=$?
41143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41144 (exit $ac_status); }; } &&
41145 { ac_try='test -s conftest$ac_exeext'
41146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41147 (eval $ac_try) 2>&5
41148 ac_status=$?
41149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41150 (exit $ac_status); }; }; then
41151 eval "$as_ac_var=yes"
41152 else
41153 echo "$as_me: failed program was:" >&5
41154 sed 's/^/| /' conftest.$ac_ext >&5
41155
41156 eval "$as_ac_var=no"
41157 fi
41158 rm -f conftest.err conftest.$ac_objext \
41159 conftest$ac_exeext conftest.$ac_ext
41160 fi
41161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41163 if test `eval echo '${'$as_ac_var'}'` = yes; then
41164 cat >>confdefs.h <<_ACEOF
41165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41166 _ACEOF
41167 have_floor=1
41168 fi
41169 done
41170
41171 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
41172 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
41173 if test "$have_cos" = 1 -a "$have_floor" = 1; then
41174 echo "$as_me:$LINENO: result: yes" >&5
41175 echo "${ECHO_T}yes" >&6
41176 else
41177 echo "$as_me:$LINENO: result: no" >&5
41178 echo "${ECHO_T}no" >&6
41179 LIBS="$LIBS -lm"
41180 # use different functions to avoid configure caching
41181 have_sin=0
41182 have_ceil=0
41183
41184 for ac_func in sin
41185 do
41186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41187 echo "$as_me:$LINENO: checking for $ac_func" >&5
41188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41189 if eval "test \"\${$as_ac_var+set}\" = set"; then
41190 echo $ECHO_N "(cached) $ECHO_C" >&6
41191 else
41192 cat >conftest.$ac_ext <<_ACEOF
41193 /* confdefs.h. */
41194 _ACEOF
41195 cat confdefs.h >>conftest.$ac_ext
41196 cat >>conftest.$ac_ext <<_ACEOF
41197 /* end confdefs.h. */
41198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41200 #define $ac_func innocuous_$ac_func
41201
41202 /* System header to define __stub macros and hopefully few prototypes,
41203 which can conflict with char $ac_func (); below.
41204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41205 <limits.h> exists even on freestanding compilers. */
41206
41207 #ifdef __STDC__
41208 # include <limits.h>
41209 #else
41210 # include <assert.h>
41211 #endif
41212
41213 #undef $ac_func
41214
41215 /* Override any gcc2 internal prototype to avoid an error. */
41216 #ifdef __cplusplus
41217 extern "C"
41218 {
41219 #endif
41220 /* We use char because int might match the return type of a gcc2
41221 builtin and then its argument prototype would still apply. */
41222 char $ac_func ();
41223 /* The GNU C library defines this for functions which it implements
41224 to always fail with ENOSYS. Some functions are actually named
41225 something starting with __ and the normal name is an alias. */
41226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41227 choke me
41228 #else
41229 char (*f) () = $ac_func;
41230 #endif
41231 #ifdef __cplusplus
41232 }
41233 #endif
41234
41235 int
41236 main ()
41237 {
41238 return f != $ac_func;
41239 ;
41240 return 0;
41241 }
41242 _ACEOF
41243 rm -f conftest.$ac_objext conftest$ac_exeext
41244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41245 (eval $ac_link) 2>conftest.er1
41246 ac_status=$?
41247 grep -v '^ *+' conftest.er1 >conftest.err
41248 rm -f conftest.er1
41249 cat conftest.err >&5
41250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41251 (exit $ac_status); } &&
41252 { ac_try='test -z "$ac_c_werror_flag"
41253 || test ! -s conftest.err'
41254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41255 (eval $ac_try) 2>&5
41256 ac_status=$?
41257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41258 (exit $ac_status); }; } &&
41259 { ac_try='test -s conftest$ac_exeext'
41260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41261 (eval $ac_try) 2>&5
41262 ac_status=$?
41263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41264 (exit $ac_status); }; }; then
41265 eval "$as_ac_var=yes"
41266 else
41267 echo "$as_me: failed program was:" >&5
41268 sed 's/^/| /' conftest.$ac_ext >&5
41269
41270 eval "$as_ac_var=no"
41271 fi
41272 rm -f conftest.err conftest.$ac_objext \
41273 conftest$ac_exeext conftest.$ac_ext
41274 fi
41275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41277 if test `eval echo '${'$as_ac_var'}'` = yes; then
41278 cat >>confdefs.h <<_ACEOF
41279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41280 _ACEOF
41281 have_sin=1
41282 fi
41283 done
41284
41285
41286 for ac_func in ceil
41287 do
41288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41289 echo "$as_me:$LINENO: checking for $ac_func" >&5
41290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41291 if eval "test \"\${$as_ac_var+set}\" = set"; then
41292 echo $ECHO_N "(cached) $ECHO_C" >&6
41293 else
41294 cat >conftest.$ac_ext <<_ACEOF
41295 /* confdefs.h. */
41296 _ACEOF
41297 cat confdefs.h >>conftest.$ac_ext
41298 cat >>conftest.$ac_ext <<_ACEOF
41299 /* end confdefs.h. */
41300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41302 #define $ac_func innocuous_$ac_func
41303
41304 /* System header to define __stub macros and hopefully few prototypes,
41305 which can conflict with char $ac_func (); below.
41306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41307 <limits.h> exists even on freestanding compilers. */
41308
41309 #ifdef __STDC__
41310 # include <limits.h>
41311 #else
41312 # include <assert.h>
41313 #endif
41314
41315 #undef $ac_func
41316
41317 /* Override any gcc2 internal prototype to avoid an error. */
41318 #ifdef __cplusplus
41319 extern "C"
41320 {
41321 #endif
41322 /* We use char because int might match the return type of a gcc2
41323 builtin and then its argument prototype would still apply. */
41324 char $ac_func ();
41325 /* The GNU C library defines this for functions which it implements
41326 to always fail with ENOSYS. Some functions are actually named
41327 something starting with __ and the normal name is an alias. */
41328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41329 choke me
41330 #else
41331 char (*f) () = $ac_func;
41332 #endif
41333 #ifdef __cplusplus
41334 }
41335 #endif
41336
41337 int
41338 main ()
41339 {
41340 return f != $ac_func;
41341 ;
41342 return 0;
41343 }
41344 _ACEOF
41345 rm -f conftest.$ac_objext conftest$ac_exeext
41346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41347 (eval $ac_link) 2>conftest.er1
41348 ac_status=$?
41349 grep -v '^ *+' conftest.er1 >conftest.err
41350 rm -f conftest.er1
41351 cat conftest.err >&5
41352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41353 (exit $ac_status); } &&
41354 { ac_try='test -z "$ac_c_werror_flag"
41355 || 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_ceil=1
41384 fi
41385 done
41386
41387 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
41388 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
41389 if test "$have_sin" = 1 -a "$have_ceil" = 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 # not sure we should warn the user, crash, etc.
41396 fi
41397 fi
41398
41399 if test "$wxUSE_GUI" = "yes"; then
41400
41401
41402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
41403 dynamic erase event exec font image minimal mobile \
41404 mobile/wxedit mobile/styles propsize render \
41405 richedit rotate shaped vscroll widgets"
41406
41407 if test "$wxUSE_MONOLITHIC" != "yes"; then
41408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
41409 fi
41410 if test "$TOOLKIT" = "MSW"; then
41411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
41412 if test "$wxUSE_UNIVERSAL" != "yes"; then
41413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
41414 fi
41415 fi
41416 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
41417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
41418 fi
41419 else
41420 SAMPLES_SUBDIRS="console"
41421 fi
41422
41423
41424 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
41425 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
41426
41427 if test "$GXX" = yes ; then
41428 CWARNINGS="-Wall"
41429 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
41430 fi
41431
41432 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
41433
41434 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
41435 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
41436 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
41437
41438 if test "x$MWCC" = "xyes"; then
41439
41440 CC="$CC -cwd source -I-"
41441 CXX="$CXX -cwd source -I-"
41442 fi
41443
41444
41445 LIBS=`echo $LIBS`
41446 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
41447 EXTRALIBS_XML="$EXPAT_LINK"
41448 EXTRALIBS_HTML="$MSPACK_LINK"
41449 EXTRALIBS_ODBC="$ODBC_LINK"
41450 if test "$wxUSE_GUI" = "yes"; then
41451 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
41452 fi
41453 if test "$wxUSE_OPENGL" = "yes"; then
41454 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
41455 fi
41456
41457 LDFLAGS="$LDFLAGS $PROFILE"
41458
41459 if test "$wxUSE_GTK" = 1; then
41460 WXCONFIG_INCLUDE=
41461 else
41462 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
41463 fi
41464
41465 WXCONFIG_EXTRALIBS="$LIBS"
41466
41467 if test "$wxUSE_REGEX" = "builtin" ; then
41468 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
41469 fi
41470 if test "$wxUSE_EXPAT" = "builtin" ; then
41471 wxconfig_3rdparty="expat $wxconfig_3rdparty"
41472 fi
41473 if test "$wxUSE_ODBC" = "builtin" ; then
41474 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
41475 fi
41476 if test "$wxUSE_LIBTIFF" = "builtin" ; then
41477 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
41478 fi
41479 if test "$wxUSE_LIBJPEG" = "builtin" ; then
41480 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
41481 fi
41482 if test "$wxUSE_LIBPNG" = "builtin" ; then
41483 wxconfig_3rdparty="png $wxconfig_3rdparty"
41484 fi
41485 if test "$wxUSE_ZLIB" = "builtin" ; then
41486 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
41487 fi
41488
41489 for i in $wxconfig_3rdparty ; do
41490 WXCONFIG_EXTRALIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
41491 done
41492
41493
41494 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
41495 WXUNIV=1
41496 else
41497 WXUNIV=0
41498 fi
41499
41500
41501
41502
41503
41504
41505
41506
41507
41508 if test $wxUSE_MONOLITHIC = "yes" ; then
41509 MONOLITHIC=1
41510 else
41511 MONOLITHIC=0
41512 fi
41513
41514 if test $wxUSE_PLUGINS = "yes" ; then
41515 USE_PLUGINS=1
41516 else
41517 USE_PLUGINS=0
41518 fi
41519
41520 if test $wxUSE_ODBC != "no" ; then
41521 USE_ODBC=1
41522 else
41523 USE_ODBC=0
41524 fi
41525
41526 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41527 USE_QA=1
41528 else
41529 USE_QA=0
41530 fi
41531
41532 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
41533 OFFICIAL_BUILD=1
41534 else
41535 OFFICIAL_BUILD=0
41536 fi
41537
41538
41539
41540
41541
41542
41543
41544
41545
41546
41547
41548
41549
41550
41551
41552
41553
41554
41555
41556
41557
41558
41559
41560 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
41561
41562
41563
41564
41565
41566
41567
41568
41569 case "$TOOLKIT" in
41570 GTK)
41571 TOOLKIT_USER="GTK+"
41572 if test "$WXGTK20" = 1; then
41573 TOOLKIT_USER="$TOOLKIT_USER 2"
41574 fi
41575 ;;
41576
41577 *)
41578 TOOLKIT_USER=$TOOLKIT_LOWERCASE
41579 ;;
41580 esac
41581
41582 if test "$wxUSE_WINE" = "yes"; then
41583 BAKEFILE_FORCE_PLATFORM=win32
41584 fi
41585
41586
41587
41588
41589 if test "x$BAKEFILE_HOST" = "x"; then
41590 BAKEFILE_HOST="${host}"
41591 fi
41592
41593 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
41594
41595 if test -n "$ac_tool_prefix"; then
41596 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
41597 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
41598 echo "$as_me:$LINENO: checking for $ac_word" >&5
41599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41600 if test "${ac_cv_prog_RANLIB+set}" = set; then
41601 echo $ECHO_N "(cached) $ECHO_C" >&6
41602 else
41603 if test -n "$RANLIB"; then
41604 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
41605 else
41606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41607 for as_dir in $PATH
41608 do
41609 IFS=$as_save_IFS
41610 test -z "$as_dir" && as_dir=.
41611 for ac_exec_ext in '' $ac_executable_extensions; do
41612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41613 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
41614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41615 break 2
41616 fi
41617 done
41618 done
41619
41620 fi
41621 fi
41622 RANLIB=$ac_cv_prog_RANLIB
41623 if test -n "$RANLIB"; then
41624 echo "$as_me:$LINENO: result: $RANLIB" >&5
41625 echo "${ECHO_T}$RANLIB" >&6
41626 else
41627 echo "$as_me:$LINENO: result: no" >&5
41628 echo "${ECHO_T}no" >&6
41629 fi
41630
41631 fi
41632 if test -z "$ac_cv_prog_RANLIB"; then
41633 ac_ct_RANLIB=$RANLIB
41634 # Extract the first word of "ranlib", so it can be a program name with args.
41635 set dummy ranlib; ac_word=$2
41636 echo "$as_me:$LINENO: checking for $ac_word" >&5
41637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41638 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
41639 echo $ECHO_N "(cached) $ECHO_C" >&6
41640 else
41641 if test -n "$ac_ct_RANLIB"; then
41642 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
41643 else
41644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41645 for as_dir in $PATH
41646 do
41647 IFS=$as_save_IFS
41648 test -z "$as_dir" && as_dir=.
41649 for ac_exec_ext in '' $ac_executable_extensions; do
41650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41651 ac_cv_prog_ac_ct_RANLIB="ranlib"
41652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41653 break 2
41654 fi
41655 done
41656 done
41657
41658 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
41659 fi
41660 fi
41661 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
41662 if test -n "$ac_ct_RANLIB"; then
41663 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
41664 echo "${ECHO_T}$ac_ct_RANLIB" >&6
41665 else
41666 echo "$as_me:$LINENO: result: no" >&5
41667 echo "${ECHO_T}no" >&6
41668 fi
41669
41670 RANLIB=$ac_ct_RANLIB
41671 else
41672 RANLIB="$ac_cv_prog_RANLIB"
41673 fi
41674
41675 # Find a good install program. We prefer a C program (faster),
41676 # so one script is as good as another. But avoid the broken or
41677 # incompatible versions:
41678 # SysV /etc/install, /usr/sbin/install
41679 # SunOS /usr/etc/install
41680 # IRIX /sbin/install
41681 # AIX /bin/install
41682 # AmigaOS /C/install, which installs bootblocks on floppy discs
41683 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
41684 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
41685 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
41686 # OS/2's system install, which has a completely different semantic
41687 # ./install, which can be erroneously created by make from ./install.sh.
41688 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
41689 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
41690 if test -z "$INSTALL"; then
41691 if test "${ac_cv_path_install+set}" = set; then
41692 echo $ECHO_N "(cached) $ECHO_C" >&6
41693 else
41694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41695 for as_dir in $PATH
41696 do
41697 IFS=$as_save_IFS
41698 test -z "$as_dir" && as_dir=.
41699 # Account for people who put trailing slashes in PATH elements.
41700 case $as_dir/ in
41701 ./ | .// | /cC/* | \
41702 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
41703 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
41704 /usr/ucb/* ) ;;
41705 *)
41706 # OSF1 and SCO ODT 3.0 have their own names for install.
41707 # Don't use installbsd from OSF since it installs stuff as root
41708 # by default.
41709 for ac_prog in ginstall scoinst install; do
41710 for ac_exec_ext in '' $ac_executable_extensions; do
41711 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
41712 if test $ac_prog = install &&
41713 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
41714 # AIX install. It has an incompatible calling convention.
41715 :
41716 elif test $ac_prog = install &&
41717 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
41718 # program-specific install script used by HP pwplus--don't use.
41719 :
41720 else
41721 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
41722 break 3
41723 fi
41724 fi
41725 done
41726 done
41727 ;;
41728 esac
41729 done
41730
41731
41732 fi
41733 if test "${ac_cv_path_install+set}" = set; then
41734 INSTALL=$ac_cv_path_install
41735 else
41736 # As a last resort, use the slow shell script. We don't cache a
41737 # path for INSTALL within a source directory, because that will
41738 # break other packages using the cache if that directory is
41739 # removed, or if the path is relative.
41740 INSTALL=$ac_install_sh
41741 fi
41742 fi
41743 echo "$as_me:$LINENO: result: $INSTALL" >&5
41744 echo "${ECHO_T}$INSTALL" >&6
41745
41746 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
41747 # It thinks the first close brace ends the variable substitution.
41748 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
41749
41750 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
41751
41752 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
41753
41754 echo "$as_me:$LINENO: checking whether ln -s works" >&5
41755 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
41756 LN_S=$as_ln_s
41757 if test "$LN_S" = "ln -s"; then
41758 echo "$as_me:$LINENO: result: yes" >&5
41759 echo "${ECHO_T}yes" >&6
41760 else
41761 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41762 echo "${ECHO_T}no, using $LN_S" >&6
41763 fi
41764
41765
41766 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41767 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41768 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41769 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41770 echo $ECHO_N "(cached) $ECHO_C" >&6
41771 else
41772 cat >conftest.make <<\_ACEOF
41773 all:
41774 @echo 'ac_maketemp="$(MAKE)"'
41775 _ACEOF
41776 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41777 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41778 if test -n "$ac_maketemp"; then
41779 eval ac_cv_prog_make_${ac_make}_set=yes
41780 else
41781 eval ac_cv_prog_make_${ac_make}_set=no
41782 fi
41783 rm -f conftest.make
41784 fi
41785 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41786 echo "$as_me:$LINENO: result: yes" >&5
41787 echo "${ECHO_T}yes" >&6
41788 SET_MAKE=
41789 else
41790 echo "$as_me:$LINENO: result: no" >&5
41791 echo "${ECHO_T}no" >&6
41792 SET_MAKE="MAKE=${MAKE-make}"
41793 fi
41794
41795
41796
41797 if test -n "$ac_tool_prefix"; then
41798 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41799 set dummy ${ac_tool_prefix}ar; ac_word=$2
41800 echo "$as_me:$LINENO: checking for $ac_word" >&5
41801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41802 if test "${ac_cv_prog_AR+set}" = set; then
41803 echo $ECHO_N "(cached) $ECHO_C" >&6
41804 else
41805 if test -n "$AR"; then
41806 ac_cv_prog_AR="$AR" # Let the user override the test.
41807 else
41808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41809 for as_dir in $PATH
41810 do
41811 IFS=$as_save_IFS
41812 test -z "$as_dir" && as_dir=.
41813 for ac_exec_ext in '' $ac_executable_extensions; do
41814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41815 ac_cv_prog_AR="${ac_tool_prefix}ar"
41816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41817 break 2
41818 fi
41819 done
41820 done
41821
41822 fi
41823 fi
41824 AR=$ac_cv_prog_AR
41825 if test -n "$AR"; then
41826 echo "$as_me:$LINENO: result: $AR" >&5
41827 echo "${ECHO_T}$AR" >&6
41828 else
41829 echo "$as_me:$LINENO: result: no" >&5
41830 echo "${ECHO_T}no" >&6
41831 fi
41832
41833 fi
41834 if test -z "$ac_cv_prog_AR"; then
41835 ac_ct_AR=$AR
41836 # Extract the first word of "ar", so it can be a program name with args.
41837 set dummy ar; ac_word=$2
41838 echo "$as_me:$LINENO: checking for $ac_word" >&5
41839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41840 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41841 echo $ECHO_N "(cached) $ECHO_C" >&6
41842 else
41843 if test -n "$ac_ct_AR"; then
41844 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
41845 else
41846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41847 for as_dir in $PATH
41848 do
41849 IFS=$as_save_IFS
41850 test -z "$as_dir" && as_dir=.
41851 for ac_exec_ext in '' $ac_executable_extensions; do
41852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41853 ac_cv_prog_ac_ct_AR="ar"
41854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41855 break 2
41856 fi
41857 done
41858 done
41859
41860 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
41861 fi
41862 fi
41863 ac_ct_AR=$ac_cv_prog_ac_ct_AR
41864 if test -n "$ac_ct_AR"; then
41865 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41866 echo "${ECHO_T}$ac_ct_AR" >&6
41867 else
41868 echo "$as_me:$LINENO: result: no" >&5
41869 echo "${ECHO_T}no" >&6
41870 fi
41871
41872 AR=$ac_ct_AR
41873 else
41874 AR="$ac_cv_prog_AR"
41875 fi
41876
41877 if test -n "$ac_tool_prefix"; then
41878 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41879 set dummy ${ac_tool_prefix}strip; ac_word=$2
41880 echo "$as_me:$LINENO: checking for $ac_word" >&5
41881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41882 if test "${ac_cv_prog_STRIP+set}" = set; then
41883 echo $ECHO_N "(cached) $ECHO_C" >&6
41884 else
41885 if test -n "$STRIP"; then
41886 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
41887 else
41888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41889 for as_dir in $PATH
41890 do
41891 IFS=$as_save_IFS
41892 test -z "$as_dir" && as_dir=.
41893 for ac_exec_ext in '' $ac_executable_extensions; do
41894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41895 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
41896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41897 break 2
41898 fi
41899 done
41900 done
41901
41902 fi
41903 fi
41904 STRIP=$ac_cv_prog_STRIP
41905 if test -n "$STRIP"; then
41906 echo "$as_me:$LINENO: result: $STRIP" >&5
41907 echo "${ECHO_T}$STRIP" >&6
41908 else
41909 echo "$as_me:$LINENO: result: no" >&5
41910 echo "${ECHO_T}no" >&6
41911 fi
41912
41913 fi
41914 if test -z "$ac_cv_prog_STRIP"; then
41915 ac_ct_STRIP=$STRIP
41916 # Extract the first word of "strip", so it can be a program name with args.
41917 set dummy strip; ac_word=$2
41918 echo "$as_me:$LINENO: checking for $ac_word" >&5
41919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41920 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41921 echo $ECHO_N "(cached) $ECHO_C" >&6
41922 else
41923 if test -n "$ac_ct_STRIP"; then
41924 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
41925 else
41926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41927 for as_dir in $PATH
41928 do
41929 IFS=$as_save_IFS
41930 test -z "$as_dir" && as_dir=.
41931 for ac_exec_ext in '' $ac_executable_extensions; do
41932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41933 ac_cv_prog_ac_ct_STRIP="strip"
41934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41935 break 2
41936 fi
41937 done
41938 done
41939
41940 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
41941 fi
41942 fi
41943 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
41944 if test -n "$ac_ct_STRIP"; then
41945 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41946 echo "${ECHO_T}$ac_ct_STRIP" >&6
41947 else
41948 echo "$as_me:$LINENO: result: no" >&5
41949 echo "${ECHO_T}no" >&6
41950 fi
41951
41952 STRIP=$ac_ct_STRIP
41953 else
41954 STRIP="$ac_cv_prog_STRIP"
41955 fi
41956
41957 if test -n "$ac_tool_prefix"; then
41958 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
41959 set dummy ${ac_tool_prefix}nm; ac_word=$2
41960 echo "$as_me:$LINENO: checking for $ac_word" >&5
41961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41962 if test "${ac_cv_prog_NM+set}" = set; then
41963 echo $ECHO_N "(cached) $ECHO_C" >&6
41964 else
41965 if test -n "$NM"; then
41966 ac_cv_prog_NM="$NM" # Let the user override the test.
41967 else
41968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41969 for as_dir in $PATH
41970 do
41971 IFS=$as_save_IFS
41972 test -z "$as_dir" && as_dir=.
41973 for ac_exec_ext in '' $ac_executable_extensions; do
41974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41975 ac_cv_prog_NM="${ac_tool_prefix}nm"
41976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41977 break 2
41978 fi
41979 done
41980 done
41981
41982 fi
41983 fi
41984 NM=$ac_cv_prog_NM
41985 if test -n "$NM"; then
41986 echo "$as_me:$LINENO: result: $NM" >&5
41987 echo "${ECHO_T}$NM" >&6
41988 else
41989 echo "$as_me:$LINENO: result: no" >&5
41990 echo "${ECHO_T}no" >&6
41991 fi
41992
41993 fi
41994 if test -z "$ac_cv_prog_NM"; then
41995 ac_ct_NM=$NM
41996 # Extract the first word of "nm", so it can be a program name with args.
41997 set dummy nm; ac_word=$2
41998 echo "$as_me:$LINENO: checking for $ac_word" >&5
41999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42000 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
42001 echo $ECHO_N "(cached) $ECHO_C" >&6
42002 else
42003 if test -n "$ac_ct_NM"; then
42004 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
42005 else
42006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42007 for as_dir in $PATH
42008 do
42009 IFS=$as_save_IFS
42010 test -z "$as_dir" && as_dir=.
42011 for ac_exec_ext in '' $ac_executable_extensions; do
42012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42013 ac_cv_prog_ac_ct_NM="nm"
42014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42015 break 2
42016 fi
42017 done
42018 done
42019
42020 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
42021 fi
42022 fi
42023 ac_ct_NM=$ac_cv_prog_ac_ct_NM
42024 if test -n "$ac_ct_NM"; then
42025 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
42026 echo "${ECHO_T}$ac_ct_NM" >&6
42027 else
42028 echo "$as_me:$LINENO: result: no" >&5
42029 echo "${ECHO_T}no" >&6
42030 fi
42031
42032 NM=$ac_ct_NM
42033 else
42034 NM="$ac_cv_prog_NM"
42035 fi
42036
42037
42038 case ${BAKEFILE_HOST} in
42039 *-hp-hpux* )
42040 INSTALL_DIR="mkdir -p"
42041 ;;
42042 *) INSTALL_DIR="$INSTALL -d"
42043 ;;
42044 esac
42045
42046
42047 LDFLAGS_GUI=
42048 case ${BAKEFILE_HOST} in
42049 *-*-cygwin* | *-*-mingw32* )
42050 LDFLAGS_GUI="-mwindows"
42051 esac
42052
42053
42054 fi
42055
42056 echo "$as_me:$LINENO: checking if make is GNU make" >&5
42057 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
42058 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
42059 echo $ECHO_N "(cached) $ECHO_C" >&6
42060 else
42061
42062 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
42063 egrep -s GNU > /dev/null); then
42064 bakefile_cv_prog_makeisgnu="yes"
42065 else
42066 bakefile_cv_prog_makeisgnu="no"
42067 fi
42068
42069 fi
42070 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
42071 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
42072
42073 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
42074 IF_GNU_MAKE=""
42075 else
42076 IF_GNU_MAKE="#"
42077 fi
42078
42079
42080
42081 PLATFORM_UNIX=0
42082 PLATFORM_WIN32=0
42083 PLATFORM_MSDOS=0
42084 PLATFORM_MAC=0
42085 PLATFORM_MACOS=0
42086 PLATFORM_MACOSX=0
42087 PLATFORM_OS2=0
42088 PLATFORM_BEOS=0
42089
42090 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
42091 case "${BAKEFILE_HOST}" in
42092 *-*-cygwin* | *-*-mingw32* )
42093 PLATFORM_WIN32=1
42094 ;;
42095 *-pc-msdosdjgpp )
42096 PLATFORM_MSDOS=1
42097 ;;
42098 *-pc-os2_emx | *-pc-os2-emx )
42099 PLATFORM_OS2=1
42100 ;;
42101 powerpc-*-darwin* )
42102 PLATFORM_MAC=1
42103 PLATFORM_MACOSX=1
42104 ;;
42105 *-*-beos* )
42106 PLATFORM_BEOS=1
42107 ;;
42108 powerpc-apple-macos* )
42109 PLATFORM_MAC=1
42110 PLATFORM_MACOS=1
42111 ;;
42112 * )
42113 PLATFORM_UNIX=1
42114 ;;
42115 esac
42116 else
42117 case "$BAKEFILE_FORCE_PLATFORM" in
42118 win32 )
42119 PLATFORM_WIN32=1
42120 ;;
42121 msdos )
42122 PLATFORM_MSDOS=1
42123 ;;
42124 os2 )
42125 PLATFORM_OS2=1
42126 ;;
42127 darwin )
42128 PLATFORM_MAC=1
42129 PLATFORM_MACOSX=1
42130 ;;
42131 unix )
42132 PLATFORM_UNIX=1
42133 ;;
42134 beos )
42135 PLATFORM_BEOS=1
42136 ;;
42137 * )
42138 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
42139 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
42140 { (exit 1); exit 1; }; }
42141 ;;
42142 esac
42143 fi
42144
42145
42146
42147
42148
42149
42150
42151
42152
42153
42154
42155 # Check whether --enable-omf or --disable-omf was given.
42156 if test "${enable_omf+set}" = set; then
42157 enableval="$enable_omf"
42158 bk_os2_use_omf="$enableval"
42159 fi;
42160
42161 case "${BAKEFILE_HOST}" in
42162 *-*-darwin* )
42163 CFLAGS="$CFLAGS -fno-common"
42164 CXXFLAGS="$CXXFLAGS -fno-common"
42165 ;;
42166
42167 *-pc-os2_emx | *-pc-os2-emx )
42168 if test "x$bk_os2_use_omf" = "xyes" ; then
42169 AR=emxomfar
42170 RANLIB=:
42171 LDFLAGS="-Zomf $LDFLAGS"
42172 CFLAGS="-Zomf $CFLAGS"
42173 CXXFLAGS="-Zomf $CXXFLAGS"
42174 OS2_LIBEXT="lib"
42175 else
42176 OS2_LIBEXT="a"
42177 fi
42178 ;;
42179
42180 i*86-*-beos* )
42181 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
42182 ;;
42183 esac
42184
42185
42186 SO_SUFFIX="so"
42187 SO_SUFFIX_MODULE="so"
42188 EXEEXT=""
42189 LIBPREFIX="lib"
42190 LIBEXT=".a"
42191 DLLPREFIX="lib"
42192 DLLPREFIX_MODULE=""
42193 DLLIMP_SUFFIX=""
42194
42195 case "${BAKEFILE_HOST}" in
42196 *-hp-hpux* )
42197 SO_SUFFIX="sl"
42198 SO_SUFFIX_MODULE="sl"
42199 ;;
42200 *-*-aix* )
42201 SO_SUFFIX="a"
42202 SO_SUFFIX_MODULE="a"
42203 ;;
42204 *-*-cygwin* | *-*-mingw32* )
42205 SO_SUFFIX="dll"
42206 SO_SUFFIX_MODULE="dll"
42207 DLLIMP_SUFFIX="dll.a"
42208 EXEEXT=".exe"
42209 DLLPREFIX=""
42210 ;;
42211 *-pc-msdosdjgpp )
42212 EXEEXT=".exe"
42213 DLLPREFIX=""
42214 ;;
42215 *-pc-os2_emx | *-pc-os2-emx )
42216 SO_SUFFIX="dll"
42217 SO_SUFFIX_MODULE="dll"
42218 DLLIMP_SUFFIX=$OS2_LIBEXT
42219 EXEEXT=".exe"
42220 DLLPREFIX=""
42221 LIBPREFIX=""
42222 LIBEXT=".$OS2_LIBEXT"
42223 ;;
42224 powerpc-*-darwin* )
42225 SO_SUFFIX="dylib"
42226 SO_SUFFIX_MODULE="bundle"
42227 ;;
42228 esac
42229
42230 if test "x$DLLIMP_SUFFIX" = "x" ; then
42231 DLLIMP_SUFFIX="$SO_SUFFIX"
42232 fi
42233
42234
42235
42236
42237
42238
42239
42240
42241
42242
42243
42244 PIC_FLAG=""
42245 if test "x$GCC" = "xyes"; then
42246 PIC_FLAG="-fPIC"
42247 fi
42248
42249 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
42250 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
42251
42252 case "${BAKEFILE_HOST}" in
42253 *-hp-hpux* )
42254 if test "x$GCC" != "xyes"; then
42255 LDFLAGS="$LDFLAGS -L/usr/lib"
42256
42257 SHARED_LD_CC="${CC} -b -o"
42258 SHARED_LD_CXX="${CXX} -b -o"
42259 PIC_FLAG="+Z"
42260 fi
42261 ;;
42262
42263 *-*-linux* )
42264 if test "x$GCC" != "xyes"; then
42265 echo "$as_me:$LINENO: checking for Intel compiler" >&5
42266 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
42267 if test "${bakefile_cv_prog_icc+set}" = set; then
42268 echo $ECHO_N "(cached) $ECHO_C" >&6
42269 else
42270
42271 cat >conftest.$ac_ext <<_ACEOF
42272 /* confdefs.h. */
42273 _ACEOF
42274 cat confdefs.h >>conftest.$ac_ext
42275 cat >>conftest.$ac_ext <<_ACEOF
42276 /* end confdefs.h. */
42277
42278 int
42279 main ()
42280 {
42281
42282 #ifndef __INTEL_COMPILER
42283 #error Not icc
42284 #endif
42285
42286 ;
42287 return 0;
42288 }
42289 _ACEOF
42290 rm -f conftest.$ac_objext
42291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42292 (eval $ac_compile) 2>conftest.er1
42293 ac_status=$?
42294 grep -v '^ *+' conftest.er1 >conftest.err
42295 rm -f conftest.er1
42296 cat conftest.err >&5
42297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42298 (exit $ac_status); } &&
42299 { ac_try='test -z "$ac_c_werror_flag"
42300 || test ! -s conftest.err'
42301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42302 (eval $ac_try) 2>&5
42303 ac_status=$?
42304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42305 (exit $ac_status); }; } &&
42306 { ac_try='test -s conftest.$ac_objext'
42307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42308 (eval $ac_try) 2>&5
42309 ac_status=$?
42310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42311 (exit $ac_status); }; }; then
42312 bakefile_cv_prog_icc=yes
42313 else
42314 echo "$as_me: failed program was:" >&5
42315 sed 's/^/| /' conftest.$ac_ext >&5
42316
42317 bakefile_cv_prog_icc=no
42318
42319 fi
42320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42321
42322 fi
42323 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
42324 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
42325 if test "$bakefile_cv_prog_icc" = "yes"; then
42326 PIC_FLAG="-KPIC"
42327 fi
42328 fi
42329 ;;
42330
42331 *-*-solaris2* )
42332 if test "x$GCC" != xyes ; then
42333 SHARED_LD_CC="${CC} -G -o"
42334 SHARED_LD_CXX="${CXX} -G -o"
42335 PIC_FLAG="-KPIC"
42336 fi
42337 ;;
42338
42339 *-*-darwin* )
42340
42341 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
42342 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
42343 if test "${wx_cv_gcc31+set}" = set; then
42344 echo $ECHO_N "(cached) $ECHO_C" >&6
42345 else
42346
42347 cat >conftest.$ac_ext <<_ACEOF
42348 /* confdefs.h. */
42349 _ACEOF
42350 cat confdefs.h >>conftest.$ac_ext
42351 cat >>conftest.$ac_ext <<_ACEOF
42352 /* end confdefs.h. */
42353
42354 int
42355 main ()
42356 {
42357
42358 #if (__GNUC__ < 3) || \
42359 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
42360 #error old gcc
42361 #endif
42362
42363 ;
42364 return 0;
42365 }
42366 _ACEOF
42367 rm -f conftest.$ac_objext
42368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42369 (eval $ac_compile) 2>conftest.er1
42370 ac_status=$?
42371 grep -v '^ *+' conftest.er1 >conftest.err
42372 rm -f conftest.er1
42373 cat conftest.err >&5
42374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42375 (exit $ac_status); } &&
42376 { ac_try='test -z "$ac_c_werror_flag"
42377 || test ! -s conftest.err'
42378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42379 (eval $ac_try) 2>&5
42380 ac_status=$?
42381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42382 (exit $ac_status); }; } &&
42383 { ac_try='test -s conftest.$ac_objext'
42384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42385 (eval $ac_try) 2>&5
42386 ac_status=$?
42387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42388 (exit $ac_status); }; }; then
42389
42390 wx_cv_gcc31=yes
42391
42392 else
42393 echo "$as_me: failed program was:" >&5
42394 sed 's/^/| /' conftest.$ac_ext >&5
42395
42396
42397 wx_cv_gcc31=no
42398
42399
42400 fi
42401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42402
42403 fi
42404 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
42405 echo "${ECHO_T}$wx_cv_gcc31" >&6
42406 if test "$wx_cv_gcc31" = "no"; then
42407
42408 D='$'
42409 cat <<EOF >shared-ld-sh
42410 #!/bin/sh
42411 #-----------------------------------------------------------------------------
42412 #-- Name: distrib/mac/shared-ld-sh
42413 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
42414 #-- Author: Gilles Depeyrot
42415 #-- Copyright: (c) 2002 Gilles Depeyrot
42416 #-- Licence: any use permitted
42417 #-----------------------------------------------------------------------------
42418
42419 verbose=0
42420 args=""
42421 objects=""
42422 linking_flag="-dynamiclib"
42423
42424 while test ${D}# -gt 0; do
42425 case ${D}1 in
42426
42427 -v)
42428 verbose=1
42429 ;;
42430
42431 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
42432 # collect these options and values
42433 args="${D}{args} ${D}1 ${D}2"
42434 shift
42435 ;;
42436
42437 -l*|-L*|-Wl,*|-flat_namespace|-headerpad_max_install_names)
42438 # collect these options
42439 args="${D}{args} ${D}1"
42440 ;;
42441
42442 -dynamiclib|-bundle)
42443 linking_flag="${D}1"
42444 ;;
42445
42446 -*)
42447 echo "shared-ld: unhandled option '${D}1'"
42448 exit 1
42449 ;;
42450
42451 *.o | *.a | *.dylib)
42452 # collect object files
42453 objects="${D}{objects} ${D}1"
42454 ;;
42455
42456 *)
42457 echo "shared-ld: unhandled argument '${D}1'"
42458 exit 1
42459 ;;
42460
42461 esac
42462 shift
42463 done
42464
42465 #
42466 # Link one module containing all the others
42467 #
42468 if test ${D}{verbose} = 1; then
42469 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
42470 fi
42471 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
42472 status=${D}?
42473 if test ${D}{status} != 0; then
42474 exit ${D}{status}
42475 fi
42476
42477 #
42478 # Link the shared library from the single module created
42479 #
42480 if test ${D}{verbose} = 1; then
42481 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
42482 fi
42483 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
42484 status=${D}?
42485 if test ${D}{status} != 0; then
42486 exit ${D}{status}
42487 fi
42488
42489 #
42490 # Remove intermediate module
42491 #
42492 rm -f master.${D}${D}.o
42493
42494 exit 0
42495 EOF
42496
42497 chmod +x shared-ld-sh
42498
42499 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
42500 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
42501 SHARED_LD_CXX="$SHARED_LD_CC"
42502 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
42503 else
42504 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
42505 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
42506 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
42507 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
42508 fi
42509
42510 PIC_FLAG="-dynamic -fPIC"
42511 ;;
42512
42513 *-*-aix* )
42514 if test "x$GCC" != "xyes"; then
42515 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
42516 set dummy makeC++SharedLib; ac_word=$2
42517 echo "$as_me:$LINENO: checking for $ac_word" >&5
42518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42519 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
42520 echo $ECHO_N "(cached) $ECHO_C" >&6
42521 else
42522 if test -n "$AIX_CXX_LD"; then
42523 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
42524 else
42525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42526 for as_dir in $PATH
42527 do
42528 IFS=$as_save_IFS
42529 test -z "$as_dir" && as_dir=.
42530 for ac_exec_ext in '' $ac_executable_extensions; do
42531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42532 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
42533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42534 break 2
42535 fi
42536 done
42537 done
42538
42539 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
42540 fi
42541 fi
42542 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
42543 if test -n "$AIX_CXX_LD"; then
42544 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
42545 echo "${ECHO_T}$AIX_CXX_LD" >&6
42546 else
42547 echo "$as_me:$LINENO: result: no" >&5
42548 echo "${ECHO_T}no" >&6
42549 fi
42550
42551 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
42552 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
42553 fi
42554 ;;
42555
42556 *-*-beos* )
42557 SHARED_LD_CC="${LD} -nostart -o"
42558 SHARED_LD_CXX="${LD} -nostart -o"
42559 ;;
42560
42561 *-*-irix* )
42562 if test "x$GCC" != "xyes"; then
42563 PIC_FLAG="-KPIC"
42564 fi
42565 ;;
42566
42567 *-*-cygwin* | *-*-mingw32* )
42568 PIC_FLAG=""
42569 SHARED_LD_CC="\$(CC) -shared -o"
42570 SHARED_LD_CXX="\$(CXX) -shared -o"
42571 ;;
42572
42573 *-pc-os2_emx | *-pc-os2-emx )
42574 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42575 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42576 PIC_FLAG=""
42577
42578 D='$'
42579 cat <<EOF >dllar.sh
42580 #!/bin/sh
42581 #
42582 # dllar - a tool to build both a .dll and an .a file
42583 # from a set of object (.o) files for EMX/OS2.
42584 #
42585 # Written by Andrew Zabolotny, bit@freya.etu.ru
42586 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
42587 #
42588 # This script will accept a set of files on the command line.
42589 # All the public symbols from the .o files will be exported into
42590 # a .DEF file, then linker will be run (through gcc) against them to
42591 # build a shared library consisting of all given .o files. All libraries
42592 # (.a) will be first decompressed into component .o files then act as
42593 # described above. You can optionally give a description (-d "description")
42594 # which will be put into .DLL. To see the list of accepted options (as well
42595 # as command-line format) simply run this program without options. The .DLL
42596 # is built to be imported by name (there is no guarantee that new versions
42597 # of the library you build will have same ordinals for same symbols).
42598 #
42599 # dllar is free software; you can redistribute it and/or modify
42600 # it under the terms of the GNU General Public License as published by
42601 # the Free Software Foundation; either version 2, or (at your option)
42602 # any later version.
42603 #
42604 # dllar is distributed in the hope that it will be useful,
42605 # but WITHOUT ANY WARRANTY; without even the implied warranty of
42606 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42607 # GNU General Public License for more details.
42608 #
42609 # You should have received a copy of the GNU General Public License
42610 # along with dllar; see the file COPYING. If not, write to the Free
42611 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
42612 # 02111-1307, USA.
42613
42614 # To successfuly run this program you will need:
42615 # - Current drive should have LFN support (HPFS, ext2, network, etc)
42616 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
42617 # - gcc
42618 # (used to build the .dll)
42619 # - emxexp
42620 # (used to create .def file from .o files)
42621 # - emximp
42622 # (used to create .a file from .def file)
42623 # - GNU text utilites (cat, sort, uniq)
42624 # used to process emxexp output
42625 # - GNU file utilities (mv, rm)
42626 # - GNU sed
42627 # - lxlite (optional, see flag below)
42628 # (used for general .dll cleanup)
42629 #
42630
42631 flag_USE_LXLITE=1;
42632
42633 #
42634 # helper functions
42635 # basnam, variant of basename, which does _not_ remove the path, _iff_
42636 # second argument (suffix to remove) is given
42637 basnam(){
42638 case ${D}# in
42639 1)
42640 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
42641 ;;
42642 2)
42643 echo ${D}1 | sed 's/'${D}2'${D}//'
42644 ;;
42645 *)
42646 echo "error in basnam ${D}*"
42647 exit 8
42648 ;;
42649 esac
42650 }
42651
42652 # Cleanup temporary files and output
42653 CleanUp() {
42654 cd ${D}curDir
42655 for i in ${D}inputFiles ; do
42656 case ${D}i in
42657 *!)
42658 rm -rf \`basnam ${D}i !\`
42659 ;;
42660 *)
42661 ;;
42662 esac
42663 done
42664
42665 # Kill result in case of failure as there is just to many stupid make/nmake
42666 # things out there which doesn't do this.
42667 if [ ${D}# -eq 0 ]; then
42668 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
42669 fi
42670 }
42671
42672 # Print usage and exit script with rc=1.
42673 PrintHelp() {
42674 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
42675 echo ' [-name-mangler-script script.sh]'
42676 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
42677 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
42678 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
42679 echo ' [*.o] [*.a]'
42680 echo '*> "output_file" should have no extension.'
42681 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
42682 echo ' The import library name is derived from this and is set to "name".a,'
42683 echo ' unless overridden by -import'
42684 echo '*> "importlib_name" should have no extension.'
42685 echo ' If it has the .o, or .a extension, it is automatically removed.'
42686 echo ' This name is used as the import library name and may be longer and'
42687 echo ' more descriptive than the DLL name which has to follow the old '
42688 echo ' 8.3 convention of FAT.'
42689 echo '*> "script.sh may be given to override the output_file name by a'
42690 echo ' different name. It is mainly useful if the regular make process'
42691 echo ' of some package does not take into account OS/2 restriction of'
42692 echo ' DLL name lengths. It takes the importlib name as input and is'
42693 echo ' supposed to procude a shorter name as output. The script should'
42694 echo ' expect to get importlib_name without extension and should produce'
42695 echo ' a (max.) 8 letter name without extension.'
42696 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
42697 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
42698 echo ' These flags will be put at the start of GCC command line.'
42699 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
42700 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
42701 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
42702 echo ' If the last character of a symbol is "*", all symbols beginning'
42703 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
42704 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
42705 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
42706 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
42707 echo ' C runtime DLLs.'
42708 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
42709 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
42710 echo ' unchanged to GCC at the end of command line.'
42711 echo '*> If you create a DLL from a library and you do not specify -o,'
42712 echo ' the basename for DLL and import library will be set to library name,'
42713 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
42714 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
42715 echo ' library will be renamed into gcc_s.a.'
42716 echo '--------'
42717 echo 'Example:'
42718 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
42719 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
42720 CleanUp
42721 exit 1
42722 }
42723
42724 # Execute a command.
42725 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
42726 # @Uses Whatever CleanUp() uses.
42727 doCommand() {
42728 echo "${D}*"
42729 eval ${D}*
42730 rcCmd=${D}?
42731
42732 if [ ${D}rcCmd -ne 0 ]; then
42733 echo "command failed, exit code="${D}rcCmd
42734 CleanUp
42735 exit ${D}rcCmd
42736 fi
42737 }
42738
42739 # main routine
42740 # setup globals
42741 cmdLine=${D}*
42742 outFile=""
42743 outimpFile=""
42744 inputFiles=""
42745 renameScript=""
42746 description=""
42747 CC=gcc.exe
42748 CFLAGS="-s -Zcrtdll"
42749 EXTRA_CFLAGS=""
42750 EXPORT_BY_ORDINALS=0
42751 exclude_symbols=""
42752 library_flags=""
42753 curDir=\`pwd\`
42754 curDirS=curDir
42755 case ${D}curDirS in
42756 */)
42757 ;;
42758 *)
42759 curDirS=${D}{curDirS}"/"
42760 ;;
42761 esac
42762 # Parse commandline
42763 libsToLink=0
42764 omfLinking=0
42765 while [ ${D}1 ]; do
42766 case ${D}1 in
42767 -ord*)
42768 EXPORT_BY_ORDINALS=1;
42769 ;;
42770 -o*)
42771 shift
42772 outFile=${D}1
42773 ;;
42774 -i*)
42775 shift
42776 outimpFile=${D}1
42777 ;;
42778 -name-mangler-script)
42779 shift
42780 renameScript=${D}1
42781 ;;
42782 -d*)
42783 shift
42784 description=${D}1
42785 ;;
42786 -f*)
42787 shift
42788 CFLAGS=${D}1
42789 ;;
42790 -c*)
42791 shift
42792 CC=${D}1
42793 ;;
42794 -h*)
42795 PrintHelp
42796 ;;
42797 -ex*)
42798 shift
42799 exclude_symbols=${D}{exclude_symbols}${D}1" "
42800 ;;
42801 -libf*)
42802 shift
42803 library_flags=${D}{library_flags}${D}1" "
42804 ;;
42805 -nocrt*)
42806 CFLAGS="-s"
42807 ;;
42808 -nolxl*)
42809 flag_USE_LXLITE=0
42810 ;;
42811 -* | /*)
42812 case ${D}1 in
42813 -L* | -l*)
42814 libsToLink=1
42815 ;;
42816 -Zomf)
42817 omfLinking=1
42818 ;;
42819 *)
42820 ;;
42821 esac
42822 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42823 ;;
42824 *.dll)
42825 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42826 if [ ${D}omfLinking -eq 1 ]; then
42827 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42828 else
42829 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42830 fi
42831 ;;
42832 *)
42833 found=0;
42834 if [ ${D}libsToLink -ne 0 ]; then
42835 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42836 else
42837 for file in ${D}1 ; do
42838 if [ -f ${D}file ]; then
42839 inputFiles="${D}{inputFiles} ${D}file"
42840 found=1
42841 fi
42842 done
42843 if [ ${D}found -eq 0 ]; then
42844 echo "ERROR: No file(s) found: "${D}1
42845 exit 8
42846 fi
42847 fi
42848 ;;
42849 esac
42850 shift
42851 done # iterate cmdline words
42852
42853 #
42854 if [ -z "${D}inputFiles" ]; then
42855 echo "dllar: no input files"
42856 PrintHelp
42857 fi
42858
42859 # Now extract all .o files from .a files
42860 newInputFiles=""
42861 for file in ${D}inputFiles ; do
42862 case ${D}file in
42863 *.a | *.lib)
42864 case ${D}file in
42865 *.a)
42866 suffix=".a"
42867 AR="ar"
42868 ;;
42869 *.lib)
42870 suffix=".lib"
42871 AR="emxomfar"
42872 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42873 ;;
42874 *)
42875 ;;
42876 esac
42877 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42878 mkdir ${D}dirname
42879 if [ ${D}? -ne 0 ]; then
42880 echo "Failed to create subdirectory ./${D}dirname"
42881 CleanUp
42882 exit 8;
42883 fi
42884 # Append '!' to indicate archive
42885 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42886 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42887 cd ${D}curDir
42888 found=0;
42889 for subfile in ${D}dirname/*.o* ; do
42890 if [ -f ${D}subfile ]; then
42891 found=1
42892 if [ -s ${D}subfile ]; then
42893 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42894 newInputFiles="${D}newInputFiles ${D}subfile"
42895 fi
42896 fi
42897 done
42898 if [ ${D}found -eq 0 ]; then
42899 echo "WARNING: there are no files in archive \\'${D}file\\'"
42900 fi
42901 ;;
42902 *)
42903 newInputFiles="${D}{newInputFiles} ${D}file"
42904 ;;
42905 esac
42906 done
42907 inputFiles="${D}newInputFiles"
42908
42909 # Output filename(s).
42910 do_backup=0;
42911 if [ -z ${D}outFile ]; then
42912 do_backup=1;
42913 set outFile ${D}inputFiles; outFile=${D}2
42914 fi
42915
42916 # If it is an archive, remove the '!' and the '_%' suffixes
42917 case ${D}outFile in
42918 *_%!)
42919 outFile=\`basnam ${D}outFile _%!\`
42920 ;;
42921 *)
42922 ;;
42923 esac
42924 case ${D}outFile in
42925 *.dll)
42926 outFile=\`basnam ${D}outFile .dll\`
42927 ;;
42928 *.DLL)
42929 outFile=\`basnam ${D}outFile .DLL\`
42930 ;;
42931 *.o)
42932 outFile=\`basnam ${D}outFile .o\`
42933 ;;
42934 *.obj)
42935 outFile=\`basnam ${D}outFile .obj\`
42936 ;;
42937 *.a)
42938 outFile=\`basnam ${D}outFile .a\`
42939 ;;
42940 *.lib)
42941 outFile=\`basnam ${D}outFile .lib\`
42942 ;;
42943 *)
42944 ;;
42945 esac
42946 case ${D}outimpFile in
42947 *.a)
42948 outimpFile=\`basnam ${D}outimpFile .a\`
42949 ;;
42950 *.lib)
42951 outimpFile=\`basnam ${D}outimpFile .lib\`
42952 ;;
42953 *)
42954 ;;
42955 esac
42956 if [ -z ${D}outimpFile ]; then
42957 outimpFile=${D}outFile
42958 fi
42959 defFile="${D}{outFile}.def"
42960 arcFile="${D}{outimpFile}.a"
42961 arcFile2="${D}{outimpFile}.lib"
42962
42963 #create ${D}dllFile as something matching 8.3 restrictions,
42964 if [ -z ${D}renameScript ] ; then
42965 dllFile="${D}outFile"
42966 else
42967 dllFile=\`${D}renameScript ${D}outimpFile\`
42968 fi
42969
42970 if [ ${D}do_backup -ne 0 ] ; then
42971 if [ -f ${D}arcFile ] ; then
42972 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
42973 fi
42974 if [ -f ${D}arcFile2 ] ; then
42975 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
42976 fi
42977 fi
42978
42979 # Extract public symbols from all the object files.
42980 tmpdefFile=${D}{defFile}_%
42981 rm -f ${D}tmpdefFile
42982 for file in ${D}inputFiles ; do
42983 case ${D}file in
42984 *!)
42985 ;;
42986 *)
42987 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
42988 ;;
42989 esac
42990 done
42991
42992 # Create the def file.
42993 rm -f ${D}defFile
42994 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
42995 dllFile="${D}{dllFile}.dll"
42996 if [ ! -z ${D}description ]; then
42997 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
42998 fi
42999 echo "EXPORTS" >> ${D}defFile
43000
43001 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
43002 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
43003
43004 # Checks if the export is ok or not.
43005 for word in ${D}exclude_symbols; do
43006 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
43007 mv ${D}{tmpdefFile}% ${D}tmpdefFile
43008 done
43009
43010
43011 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43012 sed "=" < ${D}tmpdefFile | \\
43013 sed '
43014 N
43015 : loop
43016 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
43017 t loop
43018 ' > ${D}{tmpdefFile}%
43019 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
43020 else
43021 rm -f ${D}{tmpdefFile}%
43022 fi
43023 cat ${D}tmpdefFile >> ${D}defFile
43024 rm -f ${D}tmpdefFile
43025
43026 # Do linking, create implib, and apply lxlite.
43027 gccCmdl="";
43028 for file in ${D}inputFiles ; do
43029 case ${D}file in
43030 *!)
43031 ;;
43032 *)
43033 gccCmdl="${D}gccCmdl ${D}file"
43034 ;;
43035 esac
43036 done
43037 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
43038 touch "${D}{outFile}.dll"
43039
43040 doCommand "emximp -o ${D}arcFile ${D}defFile"
43041 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
43042 add_flags="";
43043 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43044 add_flags="-ynd"
43045 fi
43046 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
43047 fi
43048 doCommand "emxomf -s -l ${D}arcFile"
43049
43050 # Successful exit.
43051 CleanUp 1
43052 exit 0
43053 EOF
43054
43055 chmod +x dllar.sh
43056 ;;
43057
43058 powerpc-apple-macos* | \
43059 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
43060 *-*-sunos4* | \
43061 *-*-osf* | \
43062 *-*-dgux5* | \
43063 *-*-sysv5* | \
43064 *-pc-msdosdjgpp )
43065 ;;
43066
43067 *)
43068 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
43069 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
43070 { (exit 1); exit 1; }; }
43071 esac
43072
43073 if test "x$PIC_FLAG" != "x" ; then
43074 PIC_FLAG="$PIC_FLAG -DPIC"
43075 fi
43076
43077 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
43078 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
43079 fi
43080 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
43081 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
43082 fi
43083
43084
43085
43086
43087
43088
43089
43090
43091 USE_SOVERSION=0
43092 USE_SOVERLINUX=0
43093 USE_SOVERSOLARIS=0
43094 USE_SOSYMLINKS=0
43095 USE_MACVERSION=0
43096 SONAME_FLAG=
43097
43098 case "${BAKEFILE_HOST}" in
43099 *-*-linux* | *-*-freebsd* )
43100 SONAME_FLAG="-Wl,-soname,"
43101 USE_SOVERSION=1
43102 USE_SOVERLINUX=1
43103 USE_SOSYMLINKS=1
43104 ;;
43105
43106 *-*-solaris2* )
43107 SONAME_FLAG="-h "
43108 USE_SOVERSION=1
43109 USE_SOVERSOLARIS=1
43110 USE_SOSYMLINKS=1
43111 ;;
43112
43113 *-*-darwin* )
43114 USE_MACVERSION=1
43115 USE_SOVERSION=1
43116 USE_SOSYMLINKS=1
43117 ;;
43118 esac
43119
43120
43121
43122
43123
43124
43125
43126
43127
43128 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
43129 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
43130 DEPS_TRACKING=0
43131
43132 if test "x$GCC" = "xyes"; then
43133 DEPSMODE=gcc
43134 DEPS_TRACKING=1
43135 case "${BAKEFILE_HOST}" in
43136 powerpc-*-darwin* )
43137 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
43138 ;;
43139 * )
43140 DEPSFLAG_GCC="-MMD"
43141 ;;
43142 esac
43143 echo "$as_me:$LINENO: result: gcc" >&5
43144 echo "${ECHO_T}gcc" >&6
43145 elif test "x$MWCC" = "xyes"; then
43146 DEPSMODE=mwcc
43147 DEPS_TRACKING=1
43148 DEPSFLAG_MWCC="-MM"
43149 echo "$as_me:$LINENO: result: mwcc" >&5
43150 echo "${ECHO_T}mwcc" >&6
43151 elif test "x$SUNCC" = "xyes"; then
43152 DEPSMODE=suncc
43153 DEPS_TRACKING=1
43154 DEPSFLAG_SUNCC="-xM1"
43155 echo "$as_me:$LINENO: result: suncc" >&5
43156 echo "${ECHO_T}suncc" >&6
43157 else
43158 echo "$as_me:$LINENO: result: none" >&5
43159 echo "${ECHO_T}none" >&6
43160 fi
43161
43162 if test $DEPS_TRACKING = 1 ; then
43163
43164 D='$'
43165 cat <<EOF >bk-deps
43166 #!/bin/sh
43167
43168 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43169 # script. It is used to track C/C++ files dependencies in portable way.
43170 #
43171 # Permission is given to use this file in any way.
43172
43173 DEPSMODE=${DEPSMODE}
43174 DEPSDIR=.deps
43175 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
43176 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
43177 DEPSFLAG_SUNCC="${DEPSFLAG_SUNCC}"
43178
43179 mkdir -p ${D}DEPSDIR
43180
43181 if test ${D}DEPSMODE = gcc ; then
43182 ${D}* ${D}{DEPSFLAG_GCC}
43183 status=${D}?
43184 if test ${D}{status} != 0 ; then
43185 exit ${D}{status}
43186 fi
43187 # move created file to the location we want it in:
43188 while test ${D}# -gt 0; do
43189 case "${D}1" in
43190 -o )
43191 shift
43192 objfile=${D}1
43193 ;;
43194 -* )
43195 ;;
43196 * )
43197 srcfile=${D}1
43198 ;;
43199 esac
43200 shift
43201 done
43202 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
43203 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
43204 if test -f ${D}depfile ; then
43205 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43206 rm -f ${D}depfile
43207 else
43208 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
43209 if test -f ${D}depfile ; then
43210 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43211 rm -f ${D}depfile
43212 fi
43213 fi
43214 exit 0
43215 elif test ${D}DEPSMODE = mwcc ; then
43216 ${D}*
43217 status=${D}?
43218 if test ${D}{status} != 0 ; then
43219 exit ${D}{status}
43220 fi
43221 # Run mwcc again with -MM and redirect into the dep file we want
43222 # NOTE: We can't use shift here because we need ${D}* to be valid
43223 prevarg=
43224 for arg in ${D}* ; do
43225 if test "${D}prevarg" = "-o"; then
43226 objfile=${D}arg
43227 else
43228 case "${D}arg" in
43229 -* )
43230 ;;
43231 * )
43232 srcfile=${D}arg
43233 ;;
43234 esac
43235 fi
43236 prevarg="${D}arg"
43237 done
43238 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
43239 exit 0
43240 elif test ${D}DEPSMODE = suncc; then
43241 ${D}* || exit
43242 # Run compiler again with deps flag and redirect into the dep file.
43243 # It doesn't work if the '-o FILE' option is used, but without it the
43244 # dependency file will contain the wrong name for the object. So it is
43245 # removed from the command line, and the dep file is fixed with sed.
43246 cmd=""
43247 while test ${D}# -gt 0; do
43248 case "${D}1" in
43249 -o )
43250 shift
43251 objfile=${D}1
43252 ;;
43253 * )
43254 eval arg${D}#=\\${D}1
43255 cmd="${D}cmd \\${D}arg${D}#"
43256 ;;
43257 esac
43258 shift
43259 done
43260 eval "${D}cmd ${D}DEPSFLAG_SUNCC" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
43261 exit 0
43262 else
43263 ${D}*
43264 exit ${D}?
43265 fi
43266 EOF
43267
43268 chmod +x bk-deps
43269 fi
43270
43271
43272
43273
43274 RESCOMP=
43275 SETFILE=
43276
43277 case ${BAKEFILE_HOST} in
43278 *-*-cygwin* | *-*-mingw32* )
43279 if test "$build" != "$host" ; then
43280 RESCOMP=$host_alias-windres
43281 else
43282 # Extract the first word of "windres", so it can be a program name with args.
43283 set dummy windres; ac_word=$2
43284 echo "$as_me:$LINENO: checking for $ac_word" >&5
43285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43286 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43287 echo $ECHO_N "(cached) $ECHO_C" >&6
43288 else
43289 if test -n "$RESCOMP"; then
43290 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
43291 else
43292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43293 for as_dir in $PATH
43294 do
43295 IFS=$as_save_IFS
43296 test -z "$as_dir" && as_dir=.
43297 for ac_exec_ext in '' $ac_executable_extensions; do
43298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43299 ac_cv_prog_RESCOMP="windres"
43300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43301 break 2
43302 fi
43303 done
43304 done
43305
43306 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
43307 fi
43308 fi
43309 RESCOMP=$ac_cv_prog_RESCOMP
43310 if test -n "$RESCOMP"; then
43311 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43312 echo "${ECHO_T}$RESCOMP" >&6
43313 else
43314 echo "$as_me:$LINENO: result: no" >&5
43315 echo "${ECHO_T}no" >&6
43316 fi
43317
43318 fi
43319 ;;
43320
43321 *-*-darwin* | powerpc-apple-macos* )
43322 # Extract the first word of "Rez", so it can be a program name with args.
43323 set dummy Rez; ac_word=$2
43324 echo "$as_me:$LINENO: checking for $ac_word" >&5
43325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43326 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43327 echo $ECHO_N "(cached) $ECHO_C" >&6
43328 else
43329 if test -n "$RESCOMP"; then
43330 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
43331 else
43332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43333 for as_dir in $PATH
43334 do
43335 IFS=$as_save_IFS
43336 test -z "$as_dir" && as_dir=.
43337 for ac_exec_ext in '' $ac_executable_extensions; do
43338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43339 ac_cv_prog_RESCOMP="Rez"
43340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43341 break 2
43342 fi
43343 done
43344 done
43345
43346 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
43347 fi
43348 fi
43349 RESCOMP=$ac_cv_prog_RESCOMP
43350 if test -n "$RESCOMP"; then
43351 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43352 echo "${ECHO_T}$RESCOMP" >&6
43353 else
43354 echo "$as_me:$LINENO: result: no" >&5
43355 echo "${ECHO_T}no" >&6
43356 fi
43357
43358 # Extract the first word of "SetFile", so it can be a program name with args.
43359 set dummy SetFile; ac_word=$2
43360 echo "$as_me:$LINENO: checking for $ac_word" >&5
43361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43362 if test "${ac_cv_prog_SETFILE+set}" = set; then
43363 echo $ECHO_N "(cached) $ECHO_C" >&6
43364 else
43365 if test -n "$SETFILE"; then
43366 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
43367 else
43368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43369 for as_dir in $PATH
43370 do
43371 IFS=$as_save_IFS
43372 test -z "$as_dir" && as_dir=.
43373 for ac_exec_ext in '' $ac_executable_extensions; do
43374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43375 ac_cv_prog_SETFILE="SetFile"
43376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43377 break 2
43378 fi
43379 done
43380 done
43381
43382 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
43383 fi
43384 fi
43385 SETFILE=$ac_cv_prog_SETFILE
43386 if test -n "$SETFILE"; then
43387 echo "$as_me:$LINENO: result: $SETFILE" >&5
43388 echo "${ECHO_T}$SETFILE" >&6
43389 else
43390 echo "$as_me:$LINENO: result: no" >&5
43391 echo "${ECHO_T}no" >&6
43392 fi
43393
43394 ;;
43395 esac
43396
43397
43398
43399
43400
43401 BAKEFILE_BAKEFILE_M4_VERSION="0.1.8"
43402
43403
43404 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.8"
43405
43406
43407
43408 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
43409 if test "${enable_precomp_headers+set}" = set; then
43410 enableval="$enable_precomp_headers"
43411 bk_use_pch="$enableval"
43412 fi;
43413
43414 GCC_PCH=0
43415
43416 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
43417 if test "x$GCC" = "xyes"; then
43418 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
43419 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
43420 cat >conftest.$ac_ext <<_ACEOF
43421 /* confdefs.h. */
43422 _ACEOF
43423 cat confdefs.h >>conftest.$ac_ext
43424 cat >>conftest.$ac_ext <<_ACEOF
43425 /* end confdefs.h. */
43426
43427 int
43428 main ()
43429 {
43430
43431 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
43432 #error "no pch support"
43433 #endif
43434 #if (__GNUC__ < 3)
43435 #error "no pch support"
43436 #endif
43437 #if (__GNUC__ == 3) && \
43438 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
43439 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
43440 #error "no pch support"
43441 #endif
43442
43443 ;
43444 return 0;
43445 }
43446 _ACEOF
43447 rm -f conftest.$ac_objext
43448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43449 (eval $ac_compile) 2>conftest.er1
43450 ac_status=$?
43451 grep -v '^ *+' conftest.er1 >conftest.err
43452 rm -f conftest.er1
43453 cat conftest.err >&5
43454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43455 (exit $ac_status); } &&
43456 { ac_try='test -z "$ac_c_werror_flag"
43457 || test ! -s conftest.err'
43458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43459 (eval $ac_try) 2>&5
43460 ac_status=$?
43461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43462 (exit $ac_status); }; } &&
43463 { ac_try='test -s conftest.$ac_objext'
43464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43465 (eval $ac_try) 2>&5
43466 ac_status=$?
43467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43468 (exit $ac_status); }; }; then
43469
43470 echo "$as_me:$LINENO: result: yes" >&5
43471 echo "${ECHO_T}yes" >&6
43472 GCC_PCH=1
43473
43474 else
43475 echo "$as_me: failed program was:" >&5
43476 sed 's/^/| /' conftest.$ac_ext >&5
43477
43478
43479 echo "$as_me:$LINENO: result: no" >&5
43480 echo "${ECHO_T}no" >&6
43481
43482 fi
43483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43484 if test $GCC_PCH = 1 ; then
43485
43486 D='$'
43487 cat <<EOF >bk-make-pch
43488 #!/bin/sh
43489
43490 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43491 # script. It is used to generated precompiled headers.
43492 #
43493 # Permission is given to use this file in any way.
43494
43495 outfile="${D}{1}"
43496 header="${D}{2}"
43497 shift
43498 shift
43499
43500 compiler=
43501 headerfile=
43502 while test ${D}{#} -gt 0; do
43503 case "${D}{1}" in
43504 -I* )
43505 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
43506 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
43507 headerfile="${D}{incdir}/${D}{header}"
43508 fi
43509 ;;
43510 esac
43511 compiler="${D}{compiler} ${D}{1}"
43512 shift
43513 done
43514
43515 if test "x${D}{headerfile}" = "x" ; then
43516 echo "error: can't find header ${D}{header} in include paths" >2
43517 else
43518 if test -f ${D}{outfile} ; then
43519 rm -f ${D}{outfile}
43520 else
43521 mkdir -p \`dirname ${D}{outfile}\`
43522 fi
43523 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
43524 mkdir -p .deps
43525 # can do this because gcc is >= 3.4:
43526 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
43527 exit ${D}{?}
43528 fi
43529 EOF
43530
43531 chmod +x bk-make-pch
43532 fi
43533 fi
43534 fi
43535
43536
43537
43538 COND_BUILD_DEBUG="#"
43539 if test "x$BUILD" = "xdebug" ; then
43540 COND_BUILD_DEBUG=""
43541 fi
43542
43543 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
43544 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
43545 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
43546 fi
43547
43548 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
43549 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
43550 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
43551 fi
43552
43553 COND_BUILD_DEBUG_UNICODE_0="#"
43554 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
43555 COND_BUILD_DEBUG_UNICODE_0=""
43556 fi
43557
43558 COND_BUILD_DEBUG_UNICODE_1="#"
43559 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
43560 COND_BUILD_DEBUG_UNICODE_1=""
43561 fi
43562
43563 COND_BUILD_RELEASE="#"
43564 if test "x$BUILD" = "xrelease" ; then
43565 COND_BUILD_RELEASE=""
43566 fi
43567
43568 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
43569 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
43570 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
43571 fi
43572
43573 COND_BUILD_RELEASE_UNICODE_0="#"
43574 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
43575 COND_BUILD_RELEASE_UNICODE_0=""
43576 fi
43577
43578 COND_BUILD_RELEASE_UNICODE_1="#"
43579 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
43580 COND_BUILD_RELEASE_UNICODE_1=""
43581 fi
43582
43583 COND_DEBUG_FLAG_1="#"
43584 if test "x$DEBUG_FLAG" = "x1" ; then
43585 COND_DEBUG_FLAG_1=""
43586 fi
43587
43588 COND_DEBUG_INFO_0="#"
43589 if test "x$DEBUG_INFO" = "x0" ; then
43590 COND_DEBUG_INFO_0=""
43591 fi
43592
43593 COND_DEBUG_INFO_1="#"
43594 if test "x$DEBUG_INFO" = "x1" ; then
43595 COND_DEBUG_INFO_1=""
43596 fi
43597
43598 COND_DEPS_TRACKING_0="#"
43599 if test "x$DEPS_TRACKING" = "x0" ; then
43600 COND_DEPS_TRACKING_0=""
43601 fi
43602
43603 COND_DEPS_TRACKING_1="#"
43604 if test "x$DEPS_TRACKING" = "x1" ; then
43605 COND_DEPS_TRACKING_1=""
43606 fi
43607
43608 COND_GCC_PCH_1="#"
43609 if test "x$GCC_PCH" = "x1" ; then
43610 COND_GCC_PCH_1=""
43611 fi
43612
43613 COND_MONOLITHIC_0="#"
43614 if test "x$MONOLITHIC" = "x0" ; then
43615 COND_MONOLITHIC_0=""
43616 fi
43617
43618 COND_MONOLITHIC_0_SHARED_0="#"
43619 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
43620 COND_MONOLITHIC_0_SHARED_0=""
43621 fi
43622
43623 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
43624 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
43625 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
43626 fi
43627
43628 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
43629 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43630 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
43631 fi
43632
43633 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
43634 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43635 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
43636 fi
43637
43638 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
43639 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43640 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
43641 fi
43642
43643 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
43644 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
43645 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
43646 fi
43647
43648 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
43649 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43650 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
43651 fi
43652
43653 COND_MONOLITHIC_0_SHARED_1="#"
43654 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
43655 COND_MONOLITHIC_0_SHARED_1=""
43656 fi
43657
43658 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
43659 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
43660 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
43661 fi
43662
43663 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
43664 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43665 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
43666 fi
43667
43668 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
43669 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43670 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
43671 fi
43672
43673 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
43674 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43675 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
43676 fi
43677
43678 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
43679 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
43680 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
43681 fi
43682
43683 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
43684 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43685 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
43686 fi
43687
43688 COND_MONOLITHIC_0_USE_ODBC_1="#"
43689 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
43690 COND_MONOLITHIC_0_USE_ODBC_1=""
43691 fi
43692
43693 COND_MONOLITHIC_1="#"
43694 if test "x$MONOLITHIC" = "x1" ; then
43695 COND_MONOLITHIC_1=""
43696 fi
43697
43698 COND_MONOLITHIC_1_SHARED_0="#"
43699 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
43700 COND_MONOLITHIC_1_SHARED_0=""
43701 fi
43702
43703 COND_MONOLITHIC_1_SHARED_1="#"
43704 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
43705 COND_MONOLITHIC_1_SHARED_1=""
43706 fi
43707
43708 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
43709 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
43710 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
43711 fi
43712
43713 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
43714 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
43715 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
43716 fi
43717
43718 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
43719 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43720 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
43721 fi
43722
43723 COND_PLATFORM_MACOSX_1="#"
43724 if test "x$PLATFORM_MACOSX" = "x1" ; then
43725 COND_PLATFORM_MACOSX_1=""
43726 fi
43727
43728 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
43729 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
43730 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
43731 fi
43732
43733 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
43734 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
43735 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
43736 fi
43737
43738 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
43739 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
43740 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
43741 fi
43742
43743 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
43744 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
43745 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
43746 fi
43747
43748 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
43749 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43750 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
43751 fi
43752
43753 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
43754 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43755 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
43756 fi
43757
43758 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
43759 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
43760 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
43761 fi
43762
43763 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
43764 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
43765 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
43766 fi
43767
43768 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
43769 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
43770 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
43771 fi
43772
43773 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
43774 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
43775 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
43776 fi
43777
43778 COND_PLATFORM_MACOS_1="#"
43779 if test "x$PLATFORM_MACOS" = "x1" ; then
43780 COND_PLATFORM_MACOS_1=""
43781 fi
43782
43783 COND_PLATFORM_MAC_1="#"
43784 if test "x$PLATFORM_MAC" = "x1" ; then
43785 COND_PLATFORM_MAC_1=""
43786 fi
43787
43788 COND_PLATFORM_MSDOS_1="#"
43789 if test "x$PLATFORM_MSDOS" = "x1" ; then
43790 COND_PLATFORM_MSDOS_1=""
43791 fi
43792
43793 COND_PLATFORM_OS2_1="#"
43794 if test "x$PLATFORM_OS2" = "x1" ; then
43795 COND_PLATFORM_OS2_1=""
43796 fi
43797
43798 COND_PLATFORM_UNIX_0="#"
43799 if test "x$PLATFORM_UNIX" = "x0" ; then
43800 COND_PLATFORM_UNIX_0=""
43801 fi
43802
43803 COND_PLATFORM_UNIX_1="#"
43804 if test "x$PLATFORM_UNIX" = "x1" ; then
43805 COND_PLATFORM_UNIX_1=""
43806 fi
43807
43808 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
43809 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
43810 COND_PLATFORM_UNIX_1_USE_GUI_1=""
43811 fi
43812
43813 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
43814 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
43815 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
43816 fi
43817
43818 COND_PLATFORM_WIN32_0="#"
43819 if test "x$PLATFORM_WIN32" = "x0" ; then
43820 COND_PLATFORM_WIN32_0=""
43821 fi
43822
43823 COND_PLATFORM_WIN32_1="#"
43824 if test "x$PLATFORM_WIN32" = "x1" ; then
43825 COND_PLATFORM_WIN32_1=""
43826 fi
43827
43828 COND_SHARED_0="#"
43829 if test "x$SHARED" = "x0" ; then
43830 COND_SHARED_0=""
43831 fi
43832
43833 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
43834 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43835 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
43836 fi
43837
43838 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
43839 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43840 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
43841 fi
43842
43843 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
43844 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43845 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
43846 fi
43847
43848 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
43849 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43850 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
43851 fi
43852
43853 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
43854 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43855 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
43856 fi
43857
43858 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
43859 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43860 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
43861 fi
43862
43863 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
43864 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43865 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
43866 fi
43867
43868 COND_SHARED_0_USE_XRC_1="#"
43869 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43870 COND_SHARED_0_USE_XRC_1=""
43871 fi
43872
43873 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
43874 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43875 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
43876 fi
43877
43878 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
43879 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43880 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
43881 fi
43882
43883 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
43884 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43885 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
43886 fi
43887
43888 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
43889 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43890 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
43891 fi
43892
43893 COND_SHARED_1="#"
43894 if test "x$SHARED" = "x1" ; then
43895 COND_SHARED_1=""
43896 fi
43897
43898 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
43899 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43900 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
43901 fi
43902
43903 COND_SHARED_1_USE_XRC_1="#"
43904 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43905 COND_SHARED_1_USE_XRC_1=""
43906 fi
43907
43908 COND_TOOLKIT_="#"
43909 if test "x$TOOLKIT" = "x" ; then
43910 COND_TOOLKIT_=""
43911 fi
43912
43913 COND_TOOLKIT_COCOA="#"
43914 if test "x$TOOLKIT" = "xCOCOA" ; then
43915 COND_TOOLKIT_COCOA=""
43916 fi
43917
43918 COND_TOOLKIT_COCOA_USE_GUI_1="#"
43919 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
43920 COND_TOOLKIT_COCOA_USE_GUI_1=""
43921 fi
43922
43923 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
43924 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43925 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
43926 fi
43927
43928 COND_TOOLKIT_GTK="#"
43929 if test "x$TOOLKIT" = "xGTK" ; then
43930 COND_TOOLKIT_GTK=""
43931 fi
43932
43933 COND_TOOLKIT_GTK_USE_GUI_1="#"
43934 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
43935 COND_TOOLKIT_GTK_USE_GUI_1=""
43936 fi
43937
43938 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
43939 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43940 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
43941 fi
43942
43943 COND_TOOLKIT_MAC="#"
43944 if test "x$TOOLKIT" = "xMAC" ; then
43945 COND_TOOLKIT_MAC=""
43946 fi
43947
43948 COND_TOOLKIT_MAC_USE_GUI_1="#"
43949 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43950 COND_TOOLKIT_MAC_USE_GUI_1=""
43951 fi
43952
43953 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
43954 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43955 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
43956 fi
43957
43958 COND_TOOLKIT_MGL="#"
43959 if test "x$TOOLKIT" = "xMGL" ; then
43960 COND_TOOLKIT_MGL=""
43961 fi
43962
43963 COND_TOOLKIT_MGL_USE_GUI_1="#"
43964 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
43965 COND_TOOLKIT_MGL_USE_GUI_1=""
43966 fi
43967
43968 COND_TOOLKIT_MOTIF="#"
43969 if test "x$TOOLKIT" = "xMOTIF" ; then
43970 COND_TOOLKIT_MOTIF=""
43971 fi
43972
43973 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
43974 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
43975 COND_TOOLKIT_MOTIF_USE_GUI_1=""
43976 fi
43977
43978 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
43979 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43980 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
43981 fi
43982
43983 COND_TOOLKIT_MSW="#"
43984 if test "x$TOOLKIT" = "xMSW" ; then
43985 COND_TOOLKIT_MSW=""
43986 fi
43987
43988 COND_TOOLKIT_MSW_USE_GUI_1="#"
43989 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
43990 COND_TOOLKIT_MSW_USE_GUI_1=""
43991 fi
43992
43993 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
43994 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43995 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
43996 fi
43997
43998 COND_TOOLKIT_PM="#"
43999 if test "x$TOOLKIT" = "xPM" ; then
44000 COND_TOOLKIT_PM=""
44001 fi
44002
44003 COND_TOOLKIT_PM_USE_GUI_1="#"
44004 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
44005 COND_TOOLKIT_PM_USE_GUI_1=""
44006 fi
44007
44008 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
44009 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44010 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
44011 fi
44012
44013 COND_TOOLKIT_WINCE="#"
44014 if test "x$TOOLKIT" = "xWINCE" ; then
44015 COND_TOOLKIT_WINCE=""
44016 fi
44017
44018 COND_TOOLKIT_WINCE_USE_GUI_1="#"
44019 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
44020 COND_TOOLKIT_WINCE_USE_GUI_1=""
44021 fi
44022
44023 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
44024 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44025 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
44026 fi
44027
44028 COND_TOOLKIT_X11="#"
44029 if test "x$TOOLKIT" = "xX11" ; then
44030 COND_TOOLKIT_X11=""
44031 fi
44032
44033 COND_TOOLKIT_X11_USE_GUI_1="#"
44034 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
44035 COND_TOOLKIT_X11_USE_GUI_1=""
44036 fi
44037
44038 COND_UNICODE_1="#"
44039 if test "x$UNICODE" = "x1" ; then
44040 COND_UNICODE_1=""
44041 fi
44042
44043 COND_USE_EXCEPTIONS_0="#"
44044 if test "x$USE_EXCEPTIONS" = "x0" ; then
44045 COND_USE_EXCEPTIONS_0=""
44046 fi
44047
44048 COND_USE_EXCEPTIONS_1="#"
44049 if test "x$USE_EXCEPTIONS" = "x1" ; then
44050 COND_USE_EXCEPTIONS_1=""
44051 fi
44052
44053 COND_USE_GUI_0="#"
44054 if test "x$USE_GUI" = "x0" ; then
44055 COND_USE_GUI_0=""
44056 fi
44057
44058 COND_USE_GUI_1="#"
44059 if test "x$USE_GUI" = "x1" ; then
44060 COND_USE_GUI_1=""
44061 fi
44062
44063 COND_USE_GUI_1_WXUNIV_0="#"
44064 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44065 COND_USE_GUI_1_WXUNIV_0=""
44066 fi
44067
44068 COND_USE_GUI_1_WXUNIV_1="#"
44069 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
44070 COND_USE_GUI_1_WXUNIV_1=""
44071 fi
44072
44073 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
44074 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44075 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
44076 fi
44077
44078 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
44079 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44080 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
44081 fi
44082
44083 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
44084 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44085 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
44086 fi
44087
44088 COND_USE_ODBC_1="#"
44089 if test "x$USE_ODBC" = "x1" ; then
44090 COND_USE_ODBC_1=""
44091 fi
44092
44093 COND_USE_OPENGL_1="#"
44094 if test "x$USE_OPENGL" = "x1" ; then
44095 COND_USE_OPENGL_1=""
44096 fi
44097
44098 COND_USE_PLUGINS_0="#"
44099 if test "x$USE_PLUGINS" = "x0" ; then
44100 COND_USE_PLUGINS_0=""
44101 fi
44102
44103 COND_USE_RTTI_0="#"
44104 if test "x$USE_RTTI" = "x0" ; then
44105 COND_USE_RTTI_0=""
44106 fi
44107
44108 COND_USE_RTTI_1="#"
44109 if test "x$USE_RTTI" = "x1" ; then
44110 COND_USE_RTTI_1=""
44111 fi
44112
44113 COND_USE_SOSYMLINKS_1="#"
44114 if test "x$USE_SOSYMLINKS" = "x1" ; then
44115 COND_USE_SOSYMLINKS_1=""
44116 fi
44117
44118 COND_USE_SOVERLINUX_1="#"
44119 if test "x$USE_SOVERLINUX" = "x1" ; then
44120 COND_USE_SOVERLINUX_1=""
44121 fi
44122
44123 COND_USE_SOVERSION_0="#"
44124 if test "x$USE_SOVERSION" = "x0" ; then
44125 COND_USE_SOVERSION_0=""
44126 fi
44127
44128 COND_USE_SOVERSOLARIS_1="#"
44129 if test "x$USE_SOVERSOLARIS" = "x1" ; then
44130 COND_USE_SOVERSOLARIS_1=""
44131 fi
44132
44133 COND_USE_THREADS_0="#"
44134 if test "x$USE_THREADS" = "x0" ; then
44135 COND_USE_THREADS_0=""
44136 fi
44137
44138 COND_USE_THREADS_1="#"
44139 if test "x$USE_THREADS" = "x1" ; then
44140 COND_USE_THREADS_1=""
44141 fi
44142
44143 COND_USE_XRC_1="#"
44144 if test "x$USE_XRC" = "x1" ; then
44145 COND_USE_XRC_1=""
44146 fi
44147
44148 COND_WITH_PLUGIN_SDL_1="#"
44149 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
44150 COND_WITH_PLUGIN_SDL_1=""
44151 fi
44152
44153 COND_WXUNIV_0="#"
44154 if test "x$WXUNIV" = "x0" ; then
44155 COND_WXUNIV_0=""
44156 fi
44157
44158 COND_WXUNIV_1="#"
44159 if test "x$WXUNIV" = "x1" ; then
44160 COND_WXUNIV_1=""
44161 fi
44162
44163 COND_WXUSE_EXPAT_BUILTIN="#"
44164 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
44165 COND_WXUSE_EXPAT_BUILTIN=""
44166 fi
44167
44168 COND_WXUSE_LIBJPEG_BUILTIN="#"
44169 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44170 COND_WXUSE_LIBJPEG_BUILTIN=""
44171 fi
44172
44173 COND_WXUSE_LIBPNG_BUILTIN="#"
44174 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44175 COND_WXUSE_LIBPNG_BUILTIN=""
44176 fi
44177
44178 COND_WXUSE_LIBTIFF_BUILTIN="#"
44179 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44180 COND_WXUSE_LIBTIFF_BUILTIN=""
44181 fi
44182
44183 COND_WXUSE_ODBC_BUILTIN="#"
44184 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
44185 COND_WXUSE_ODBC_BUILTIN=""
44186 fi
44187
44188 COND_WXUSE_REGEX_BUILTIN="#"
44189 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
44190 COND_WXUSE_REGEX_BUILTIN=""
44191 fi
44192
44193 COND_WXUSE_ZLIB_BUILTIN="#"
44194 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
44195 COND_WXUSE_ZLIB_BUILTIN=""
44196 fi
44197
44198
44199
44200 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
44201 { { 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
44202 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;}
44203 { (exit 1); exit 1; }; }
44204 fi
44205
44206
44207 if test "$wxUSE_WINE" = "yes"; then
44208 RESCOMP=wrc
44209 fi
44210
44211 if test "$wxUSE_SHARED" = "yes"; then
44212
44213 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
44214 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
44215
44216 case "${host}" in
44217 *-pc-os2_emx | *-pc-os2-emx )
44218 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44219 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44220 cp -p ${srcdir}/src/os2/dllnames.sh .
44221 cp -p ${srcdir}/src/os2/dllar.sh .
44222 ;;
44223 esac
44224 else
44225
44226 EXE_LINKER="$CXX -o"
44227
44228 fi
44229 if test "$wxUSE_OMF" = "yes"; then
44230 case "${host}" in
44231 *-pc-os2_emx | *-pc-os2-emx )
44232 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
44233 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
44234 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
44235 ;;
44236 esac
44237 fi
44238
44239 GCC_PRAGMA_FLAGS=""
44240 PCH_FLAGS=""
44241 if test $GCC_PCH = 1 ; then
44242 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44243 PCH_FLAGS="-DWX_PRECOMP"
44244 else
44245 case "${host}" in
44246 powerpc-*-darwin* )
44247 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44248 ;;
44249 *-*-mingw32* )
44250 if test "$wxUSE_STL" = "yes" -o \
44251 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
44252 "$wxUSE_NO_RTTI" != "yes"; then
44253 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
44254 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44255 cat >conftest.$ac_ext <<_ACEOF
44256 /* confdefs.h. */
44257 _ACEOF
44258 cat confdefs.h >>conftest.$ac_ext
44259 cat >>conftest.$ac_ext <<_ACEOF
44260 /* end confdefs.h. */
44261
44262 int
44263 main ()
44264 {
44265 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44266 #error "Not GCC 3.2 or greater"
44267 #endif
44268
44269 ;
44270 return 0;
44271 }
44272 _ACEOF
44273 rm -f conftest.$ac_objext
44274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44275 (eval $ac_compile) 2>conftest.er1
44276 ac_status=$?
44277 grep -v '^ *+' conftest.er1 >conftest.err
44278 rm -f conftest.er1
44279 cat conftest.err >&5
44280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44281 (exit $ac_status); } &&
44282 { ac_try='test -z "$ac_c_werror_flag"
44283 || test ! -s conftest.err'
44284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44285 (eval $ac_try) 2>&5
44286 ac_status=$?
44287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44288 (exit $ac_status); }; } &&
44289 { ac_try='test -s conftest.$ac_objext'
44290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44291 (eval $ac_try) 2>&5
44292 ac_status=$?
44293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44294 (exit $ac_status); }; }; then
44295 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44296 echo "$as_me:$LINENO: result: yes" >&5
44297 echo "${ECHO_T}yes" >&6
44298 else
44299 echo "$as_me: failed program was:" >&5
44300 sed 's/^/| /' conftest.$ac_ext >&5
44301
44302 echo "$as_me:$LINENO: result: no" >&5
44303 echo "${ECHO_T}no" >&6
44304 fi
44305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44306 fi
44307 ;;
44308 *-pc-os2_emx | *-pc-os2-emx )
44309 if test "$wxUSE_STL" = "yes"; then
44310 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
44311 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44312 cat >conftest.$ac_ext <<_ACEOF
44313 /* confdefs.h. */
44314 _ACEOF
44315 cat confdefs.h >>conftest.$ac_ext
44316 cat >>conftest.$ac_ext <<_ACEOF
44317 /* end confdefs.h. */
44318
44319 int
44320 main ()
44321 {
44322 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44323 #error "Not GCC 3.2 or greater"
44324 #endif
44325
44326 ;
44327 return 0;
44328 }
44329 _ACEOF
44330 rm -f conftest.$ac_objext
44331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44332 (eval $ac_compile) 2>conftest.er1
44333 ac_status=$?
44334 grep -v '^ *+' conftest.er1 >conftest.err
44335 rm -f conftest.er1
44336 cat conftest.err >&5
44337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44338 (exit $ac_status); } &&
44339 { ac_try='test -z "$ac_c_werror_flag"
44340 || test ! -s conftest.err'
44341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44342 (eval $ac_try) 2>&5
44343 ac_status=$?
44344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44345 (exit $ac_status); }; } &&
44346 { ac_try='test -s conftest.$ac_objext'
44347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44348 (eval $ac_try) 2>&5
44349 ac_status=$?
44350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44351 (exit $ac_status); }; }; then
44352 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44353 echo "$as_me:$LINENO: result: yes" >&5
44354 echo "${ECHO_T}yes" >&6
44355 else
44356 echo "$as_me: failed program was:" >&5
44357 sed 's/^/| /' conftest.$ac_ext >&5
44358
44359 echo "$as_me:$LINENO: result: no" >&5
44360 echo "${ECHO_T}no" >&6
44361 fi
44362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44363 fi
44364 ;;
44365 esac
44366 fi
44367 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
44368
44369
44370 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
44371
44372
44373
44374
44375
44376
44377
44378
44379
44380
44381
44382
44383
44384
44385
44386
44387
44388
44389
44390
44391
44392
44393
44394
44395
44396
44397
44398
44399
44400
44401
44402
44403
44404
44405
44406
44407
44408
44409
44410
44411
44412
44413
44414
44415
44416
44417
44418
44419
44420
44421
44422
44423
44424
44425
44426
44427
44428
44429
44430
44431
44432
44433
44434 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44435 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44436 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
44437 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44438 echo $ECHO_N "(cached) $ECHO_C" >&6
44439 else
44440 cat >conftest.make <<\_ACEOF
44441 all:
44442 @echo 'ac_maketemp="$(MAKE)"'
44443 _ACEOF
44444 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44445 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44446 if test -n "$ac_maketemp"; then
44447 eval ac_cv_prog_make_${ac_make}_set=yes
44448 else
44449 eval ac_cv_prog_make_${ac_make}_set=no
44450 fi
44451 rm -f conftest.make
44452 fi
44453 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44454 echo "$as_me:$LINENO: result: yes" >&5
44455 echo "${ECHO_T}yes" >&6
44456 SET_MAKE=
44457 else
44458 echo "$as_me:$LINENO: result: no" >&5
44459 echo "${ECHO_T}no" >&6
44460 SET_MAKE="MAKE=${MAKE-make}"
44461 fi
44462
44463
44464
44465 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
44466
44467
44468 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
44469
44470
44471 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
44472
44473
44474 ac_config_files="$ac_config_files version-script Makefile"
44475
44476
44477 ac_config_commands="$ac_config_commands wx-config
44478 "
44479
44480
44481
44482
44483 if test "$wxUSE_GUI" = "yes"; then
44484 SUBDIRS="samples demos utils contrib"
44485 else SUBDIRS="samples utils"
44486 fi
44487
44488
44489
44490 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
44491 if test "${with_cppunit_prefix+set}" = set; then
44492 withval="$with_cppunit_prefix"
44493 cppunit_config_prefix="$withval"
44494 else
44495 cppunit_config_prefix=""
44496 fi;
44497
44498 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
44499 if test "${with_cppunit_exec_prefix+set}" = set; then
44500 withval="$with_cppunit_exec_prefix"
44501 cppunit_config_exec_prefix="$withval"
44502 else
44503 cppunit_config_exec_prefix=""
44504 fi;
44505
44506 if test x$cppunit_config_exec_prefix != x ; then
44507 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
44508 if test x${CPPUNIT_CONFIG+set} != xset ; then
44509 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
44510 fi
44511 fi
44512 if test x$cppunit_config_prefix != x ; then
44513 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
44514 if test x${CPPUNIT_CONFIG+set} != xset ; then
44515 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
44516 fi
44517 fi
44518
44519 # Extract the first word of "cppunit-config", so it can be a program name with args.
44520 set dummy cppunit-config; ac_word=$2
44521 echo "$as_me:$LINENO: checking for $ac_word" >&5
44522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44523 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
44524 echo $ECHO_N "(cached) $ECHO_C" >&6
44525 else
44526 case $CPPUNIT_CONFIG in
44527 [\\/]* | ?:[\\/]*)
44528 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
44529 ;;
44530 *)
44531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44532 for as_dir in $PATH
44533 do
44534 IFS=$as_save_IFS
44535 test -z "$as_dir" && as_dir=.
44536 for ac_exec_ext in '' $ac_executable_extensions; do
44537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44538 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44540 break 2
44541 fi
44542 done
44543 done
44544
44545 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
44546 ;;
44547 esac
44548 fi
44549 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
44550
44551 if test -n "$CPPUNIT_CONFIG"; then
44552 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
44553 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
44554 else
44555 echo "$as_me:$LINENO: result: no" >&5
44556 echo "${ECHO_T}no" >&6
44557 fi
44558
44559 cppunit_version_min=1.8.0
44560
44561 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
44562 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
44563 no_cppunit=""
44564 if test "$CPPUNIT_CONFIG" = "no" ; then
44565 no_cppunit=yes
44566 else
44567 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
44568 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
44569 cppunit_version=`$CPPUNIT_CONFIG --version`
44570
44571 cppunit_major_version=`echo $cppunit_version | \
44572 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44573 cppunit_minor_version=`echo $cppunit_version | \
44574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44575 cppunit_micro_version=`echo $cppunit_version | \
44576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44577
44578 cppunit_major_min=`echo $cppunit_version_min | \
44579 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44580 cppunit_minor_min=`echo $cppunit_version_min | \
44581 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44582 cppunit_micro_min=`echo $cppunit_version_min | \
44583 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44584
44585 cppunit_version_proper=`expr \
44586 $cppunit_major_version \> $cppunit_major_min \| \
44587 $cppunit_major_version \= $cppunit_major_min \& \
44588 $cppunit_minor_version \> $cppunit_minor_min \| \
44589 $cppunit_major_version \= $cppunit_major_min \& \
44590 $cppunit_minor_version \= $cppunit_minor_min \& \
44591 $cppunit_micro_version \>= $cppunit_micro_min `
44592
44593 if test "$cppunit_version_proper" = "1" ; then
44594 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
44595 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
44596 else
44597 echo "$as_me:$LINENO: result: no" >&5
44598 echo "${ECHO_T}no" >&6
44599 no_cppunit=yes
44600 fi
44601 fi
44602
44603 if test "x$no_cppunit" = x ; then
44604 SUBDIRS="$SUBDIRS tests"
44605 else
44606 CPPUNIT_CFLAGS=""
44607 CPPUNIT_LIBS=""
44608 :
44609 fi
44610
44611
44612
44613
44614
44615 for subdir in `echo $SUBDIRS`; do
44616 if test -d ${srcdir}/${subdir} ; then
44617 if test "$wxUSE_GUI" = "yes"; then
44618 if test ${subdir} = "samples"; then
44619 makefiles="samples/Makefile.in $makefiles"
44620 for sample in `echo $SAMPLES_SUBDIRS`; do
44621 if test -d $srcdir/samples/$sample; then
44622 makefiles="samples/$sample/Makefile.in $makefiles"
44623 fi
44624 done
44625 else
44626 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
44627 eval "disabled=\$$disabled_var"
44628 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
44629 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
44630 fi
44631 else if test ${subdir} = "samples"; then
44632 makefiles="samples/Makefile.in samples/console/Makefile.in"
44633 elif test ${subdir} = "utils"; then
44634 makefiles=""
44635 for util in HelpGen tex2rtf ; do
44636 if test -d $srcdir/utils/$util ; then
44637 makefiles="utils/$util/Makefile.in \
44638 utils/$util/src/Makefile.in \
44639 $makefiles"
44640 fi
44641 done
44642 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
44643 fi
44644 fi
44645
44646 for mkin in $makefiles ; do
44647 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
44648 ac_config_files="$ac_config_files $mk"
44649
44650 done
44651 fi
44652 done
44653
44654
44655 cat >confcache <<\_ACEOF
44656 # This file is a shell script that caches the results of configure
44657 # tests run on this system so they can be shared between configure
44658 # scripts and configure runs, see configure's option --config-cache.
44659 # It is not useful on other systems. If it contains results you don't
44660 # want to keep, you may remove or edit it.
44661 #
44662 # config.status only pays attention to the cache file if you give it
44663 # the --recheck option to rerun configure.
44664 #
44665 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44666 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44667 # following values.
44668
44669 _ACEOF
44670
44671 # The following way of writing the cache mishandles newlines in values,
44672 # but we know of no workaround that is simple, portable, and efficient.
44673 # So, don't put newlines in cache variables' values.
44674 # Ultrix sh set writes to stderr and can't be redirected directly,
44675 # and sets the high bit in the cache file unless we assign to the vars.
44676 {
44677 (set) 2>&1 |
44678 case `(ac_space=' '; set | grep ac_space) 2>&1` in
44679 *ac_space=\ *)
44680 # `set' does not quote correctly, so add quotes (double-quote
44681 # substitution turns \\\\ into \\, and sed turns \\ into \).
44682 sed -n \
44683 "s/'/'\\\\''/g;
44684 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44685 ;;
44686 *)
44687 # `set' quotes correctly as required by POSIX, so do not add quotes.
44688 sed -n \
44689 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
44690 ;;
44691 esac;
44692 } |
44693 sed '
44694 t clear
44695 : clear
44696 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44697 t end
44698 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44699 : end' >>confcache
44700 if diff $cache_file confcache >/dev/null 2>&1; then :; else
44701 if test -w $cache_file; then
44702 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
44703 cat confcache >$cache_file
44704 else
44705 echo "not updating unwritable cache $cache_file"
44706 fi
44707 fi
44708 rm -f confcache
44709
44710 test "x$prefix" = xNONE && prefix=$ac_default_prefix
44711 # Let make expand exec_prefix.
44712 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
44713
44714 # VPATH may cause trouble with some makes, so we remove $(srcdir),
44715 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
44716 # trailing colons and then remove the whole line if VPATH becomes empty
44717 # (actually we leave an empty line to preserve line numbers).
44718 if test "x$srcdir" = x.; then
44719 ac_vpsub='/^[ ]*VPATH[ ]*=/{
44720 s/:*\$(srcdir):*/:/;
44721 s/:*\${srcdir}:*/:/;
44722 s/:*@srcdir@:*/:/;
44723 s/^\([^=]*=[ ]*\):*/\1/;
44724 s/:*$//;
44725 s/^[^=]*=[ ]*$//;
44726 }'
44727 fi
44728
44729 DEFS=-DHAVE_CONFIG_H
44730
44731 ac_libobjs=
44732 ac_ltlibobjs=
44733 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
44734 # 1. Remove the extension, and $U if already installed.
44735 ac_i=`echo "$ac_i" |
44736 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
44737 # 2. Add them.
44738 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
44739 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
44740 done
44741 LIBOBJS=$ac_libobjs
44742
44743 LTLIBOBJS=$ac_ltlibobjs
44744
44745
44746
44747 : ${CONFIG_STATUS=./config.status}
44748 ac_clean_files_save=$ac_clean_files
44749 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
44750 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
44751 echo "$as_me: creating $CONFIG_STATUS" >&6;}
44752 cat >$CONFIG_STATUS <<_ACEOF
44753 #! $SHELL
44754 # Generated by $as_me.
44755 # Run this file to recreate the current configuration.
44756 # Compiler output produced by configure, useful for debugging
44757 # configure, is in config.log if it exists.
44758
44759 debug=false
44760 ac_cs_recheck=false
44761 ac_cs_silent=false
44762 SHELL=\${CONFIG_SHELL-$SHELL}
44763 _ACEOF
44764
44765 cat >>$CONFIG_STATUS <<\_ACEOF
44766 ## --------------------- ##
44767 ## M4sh Initialization. ##
44768 ## --------------------- ##
44769
44770 # Be Bourne compatible
44771 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
44772 emulate sh
44773 NULLCMD=:
44774 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
44775 # is contrary to our usage. Disable this feature.
44776 alias -g '${1+"$@"}'='"$@"'
44777 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
44778 set -o posix
44779 fi
44780 DUALCASE=1; export DUALCASE # for MKS sh
44781
44782 # Support unset when possible.
44783 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
44784 as_unset=unset
44785 else
44786 as_unset=false
44787 fi
44788
44789
44790 # Work around bugs in pre-3.0 UWIN ksh.
44791 $as_unset ENV MAIL MAILPATH
44792 PS1='$ '
44793 PS2='> '
44794 PS4='+ '
44795
44796 # NLS nuisances.
44797 for as_var in \
44798 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44799 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44800 LC_TELEPHONE LC_TIME
44801 do
44802 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44803 eval $as_var=C; export $as_var
44804 else
44805 $as_unset $as_var
44806 fi
44807 done
44808
44809 # Required to use basename.
44810 if expr a : '\(a\)' >/dev/null 2>&1; then
44811 as_expr=expr
44812 else
44813 as_expr=false
44814 fi
44815
44816 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
44817 as_basename=basename
44818 else
44819 as_basename=false
44820 fi
44821
44822
44823 # Name of the executable.
44824 as_me=`$as_basename "$0" ||
44825 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
44826 X"$0" : 'X\(//\)$' \| \
44827 X"$0" : 'X\(/\)$' \| \
44828 . : '\(.\)' 2>/dev/null ||
44829 echo X/"$0" |
44830 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
44831 /^X\/\(\/\/\)$/{ s//\1/; q; }
44832 /^X\/\(\/\).*/{ s//\1/; q; }
44833 s/.*/./; q'`
44834
44835
44836 # PATH needs CR, and LINENO needs CR and PATH.
44837 # Avoid depending upon Character Ranges.
44838 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
44839 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44840 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
44841 as_cr_digits='0123456789'
44842 as_cr_alnum=$as_cr_Letters$as_cr_digits
44843
44844 # The user is always right.
44845 if test "${PATH_SEPARATOR+set}" != set; then
44846 echo "#! /bin/sh" >conf$$.sh
44847 echo "exit 0" >>conf$$.sh
44848 chmod +x conf$$.sh
44849 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44850 PATH_SEPARATOR=';'
44851 else
44852 PATH_SEPARATOR=:
44853 fi
44854 rm -f conf$$.sh
44855 fi
44856
44857
44858 as_lineno_1=$LINENO
44859 as_lineno_2=$LINENO
44860 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44861 test "x$as_lineno_1" != "x$as_lineno_2" &&
44862 test "x$as_lineno_3" = "x$as_lineno_2" || {
44863 # Find who we are. Look in the path if we contain no path at all
44864 # relative or not.
44865 case $0 in
44866 *[\\/]* ) as_myself=$0 ;;
44867 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44868 for as_dir in $PATH
44869 do
44870 IFS=$as_save_IFS
44871 test -z "$as_dir" && as_dir=.
44872 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
44873 done
44874
44875 ;;
44876 esac
44877 # We did not find ourselves, most probably we were run as `sh COMMAND'
44878 # in which case we are not to be found in the path.
44879 if test "x$as_myself" = x; then
44880 as_myself=$0
44881 fi
44882 if test ! -f "$as_myself"; then
44883 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
44884 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
44885 { (exit 1); exit 1; }; }
44886 fi
44887 case $CONFIG_SHELL in
44888 '')
44889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44890 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
44891 do
44892 IFS=$as_save_IFS
44893 test -z "$as_dir" && as_dir=.
44894 for as_base in sh bash ksh sh5; do
44895 case $as_dir in
44896 /*)
44897 if ("$as_dir/$as_base" -c '
44898 as_lineno_1=$LINENO
44899 as_lineno_2=$LINENO
44900 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44901 test "x$as_lineno_1" != "x$as_lineno_2" &&
44902 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
44903 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
44904 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
44905 CONFIG_SHELL=$as_dir/$as_base
44906 export CONFIG_SHELL
44907 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
44908 fi;;
44909 esac
44910 done
44911 done
44912 ;;
44913 esac
44914
44915 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
44916 # uniformly replaced by the line number. The first 'sed' inserts a
44917 # line-number line before each line; the second 'sed' does the real
44918 # work. The second script uses 'N' to pair each line-number line
44919 # with the numbered line, and appends trailing '-' during
44920 # substitution so that $LINENO is not a special case at line end.
44921 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
44922 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
44923 sed '=' <$as_myself |
44924 sed '
44925 N
44926 s,$,-,
44927 : loop
44928 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
44929 t loop
44930 s,-$,,
44931 s,^['$as_cr_digits']*\n,,
44932 ' >$as_me.lineno &&
44933 chmod +x $as_me.lineno ||
44934 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
44935 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
44936 { (exit 1); exit 1; }; }
44937
44938 # Don't try to exec as it changes $[0], causing all sort of problems
44939 # (the dirname of $[0] is not the place where we might find the
44940 # original and so on. Autoconf is especially sensible to this).
44941 . ./$as_me.lineno
44942 # Exit status is that of the last command.
44943 exit
44944 }
44945
44946
44947 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
44948 *c*,-n*) ECHO_N= ECHO_C='
44949 ' ECHO_T=' ' ;;
44950 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
44951 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
44952 esac
44953
44954 if expr a : '\(a\)' >/dev/null 2>&1; then
44955 as_expr=expr
44956 else
44957 as_expr=false
44958 fi
44959
44960 rm -f conf$$ conf$$.exe conf$$.file
44961 echo >conf$$.file
44962 if ln -s conf$$.file conf$$ 2>/dev/null; then
44963 # We could just check for DJGPP; but this test a) works b) is more generic
44964 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
44965 if test -f conf$$.exe; then
44966 # Don't use ln at all; we don't have any links
44967 as_ln_s='cp -p'
44968 else
44969 as_ln_s='ln -s'
44970 fi
44971 elif ln conf$$.file conf$$ 2>/dev/null; then
44972 as_ln_s=ln
44973 else
44974 as_ln_s='cp -p'
44975 fi
44976 rm -f conf$$ conf$$.exe conf$$.file
44977
44978 if mkdir -p . 2>/dev/null; then
44979 as_mkdir_p=:
44980 else
44981 test -d ./-p && rmdir ./-p
44982 as_mkdir_p=false
44983 fi
44984
44985 as_executable_p="test -f"
44986
44987 # Sed expression to map a string onto a valid CPP name.
44988 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
44989
44990 # Sed expression to map a string onto a valid variable name.
44991 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
44992
44993
44994 # IFS
44995 # We need space, tab and new line, in precisely that order.
44996 as_nl='
44997 '
44998 IFS=" $as_nl"
44999
45000 # CDPATH.
45001 $as_unset CDPATH
45002
45003 exec 6>&1
45004
45005 # Open the log real soon, to keep \$[0] and so on meaningful, and to
45006 # report actual input values of CONFIG_FILES etc. instead of their
45007 # values after options handling. Logging --version etc. is OK.
45008 exec 5>>config.log
45009 {
45010 echo
45011 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
45012 ## Running $as_me. ##
45013 _ASBOX
45014 } >&5
45015 cat >&5 <<_CSEOF
45016
45017 This file was extended by wxWidgets $as_me 2.6.1, which was
45018 generated by GNU Autoconf 2.59. Invocation command line was
45019
45020 CONFIG_FILES = $CONFIG_FILES
45021 CONFIG_HEADERS = $CONFIG_HEADERS
45022 CONFIG_LINKS = $CONFIG_LINKS
45023 CONFIG_COMMANDS = $CONFIG_COMMANDS
45024 $ $0 $@
45025
45026 _CSEOF
45027 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
45028 echo >&5
45029 _ACEOF
45030
45031 # Files that config.status was made for.
45032 if test -n "$ac_config_files"; then
45033 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
45034 fi
45035
45036 if test -n "$ac_config_headers"; then
45037 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
45038 fi
45039
45040 if test -n "$ac_config_links"; then
45041 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
45042 fi
45043
45044 if test -n "$ac_config_commands"; then
45045 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
45046 fi
45047
45048 cat >>$CONFIG_STATUS <<\_ACEOF
45049
45050 ac_cs_usage="\
45051 \`$as_me' instantiates files from templates according to the
45052 current configuration.
45053
45054 Usage: $0 [OPTIONS] [FILE]...
45055
45056 -h, --help print this help, then exit
45057 -V, --version print version number, then exit
45058 -q, --quiet do not print progress messages
45059 -d, --debug don't remove temporary files
45060 --recheck update $as_me by reconfiguring in the same conditions
45061 --file=FILE[:TEMPLATE]
45062 instantiate the configuration file FILE
45063 --header=FILE[:TEMPLATE]
45064 instantiate the configuration header FILE
45065
45066 Configuration files:
45067 $config_files
45068
45069 Configuration headers:
45070 $config_headers
45071
45072 Configuration commands:
45073 $config_commands
45074
45075 Report bugs to <bug-autoconf@gnu.org>."
45076 _ACEOF
45077
45078 cat >>$CONFIG_STATUS <<_ACEOF
45079 ac_cs_version="\\
45080 wxWidgets config.status 2.6.1
45081 configured by $0, generated by GNU Autoconf 2.59,
45082 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
45083
45084 Copyright (C) 2003 Free Software Foundation, Inc.
45085 This config.status script is free software; the Free Software Foundation
45086 gives unlimited permission to copy, distribute and modify it."
45087 srcdir=$srcdir
45088 INSTALL="$INSTALL"
45089 _ACEOF
45090
45091 cat >>$CONFIG_STATUS <<\_ACEOF
45092 # If no file are specified by the user, then we need to provide default
45093 # value. By we need to know if files were specified by the user.
45094 ac_need_defaults=:
45095 while test $# != 0
45096 do
45097 case $1 in
45098 --*=*)
45099 ac_option=`expr "x$1" : 'x\([^=]*\)='`
45100 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
45101 ac_shift=:
45102 ;;
45103 -*)
45104 ac_option=$1
45105 ac_optarg=$2
45106 ac_shift=shift
45107 ;;
45108 *) # This is not an option, so the user has probably given explicit
45109 # arguments.
45110 ac_option=$1
45111 ac_need_defaults=false;;
45112 esac
45113
45114 case $ac_option in
45115 # Handling of the options.
45116 _ACEOF
45117 cat >>$CONFIG_STATUS <<\_ACEOF
45118 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
45119 ac_cs_recheck=: ;;
45120 --version | --vers* | -V )
45121 echo "$ac_cs_version"; exit 0 ;;
45122 --he | --h)
45123 # Conflict between --help and --header
45124 { { echo "$as_me:$LINENO: error: ambiguous option: $1
45125 Try \`$0 --help' for more information." >&5
45126 echo "$as_me: error: ambiguous option: $1
45127 Try \`$0 --help' for more information." >&2;}
45128 { (exit 1); exit 1; }; };;
45129 --help | --hel | -h )
45130 echo "$ac_cs_usage"; exit 0 ;;
45131 --debug | --d* | -d )
45132 debug=: ;;
45133 --file | --fil | --fi | --f )
45134 $ac_shift
45135 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
45136 ac_need_defaults=false;;
45137 --header | --heade | --head | --hea )
45138 $ac_shift
45139 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
45140 ac_need_defaults=false;;
45141 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
45142 | -silent | --silent | --silen | --sile | --sil | --si | --s)
45143 ac_cs_silent=: ;;
45144
45145 # This is an error.
45146 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
45147 Try \`$0 --help' for more information." >&5
45148 echo "$as_me: error: unrecognized option: $1
45149 Try \`$0 --help' for more information." >&2;}
45150 { (exit 1); exit 1; }; } ;;
45151
45152 *) ac_config_targets="$ac_config_targets $1" ;;
45153
45154 esac
45155 shift
45156 done
45157
45158 ac_configure_extra_args=
45159
45160 if $ac_cs_silent; then
45161 exec 6>/dev/null
45162 ac_configure_extra_args="$ac_configure_extra_args --silent"
45163 fi
45164
45165 _ACEOF
45166 cat >>$CONFIG_STATUS <<_ACEOF
45167 if \$ac_cs_recheck; then
45168 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
45169 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
45170 fi
45171
45172 _ACEOF
45173
45174 cat >>$CONFIG_STATUS <<_ACEOF
45175 #
45176 # INIT-COMMANDS section.
45177 #
45178
45179 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45180 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45181 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45182 LN_S="${LN_S}"
45183
45184
45185 _ACEOF
45186
45187
45188
45189 cat >>$CONFIG_STATUS <<\_ACEOF
45190 for ac_config_target in $ac_config_targets
45191 do
45192 case "$ac_config_target" in
45193 # Handling of arguments.
45194 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
45195 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
45196 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
45197 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
45198 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
45199 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
45200 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
45201 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
45202 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
45203 { (exit 1); exit 1; }; };;
45204 esac
45205 done
45206
45207 # If the user did not use the arguments to specify the items to instantiate,
45208 # then the envvar interface is used. Set only those that are not.
45209 # We use the long form for the default assignment because of an extremely
45210 # bizarre bug on SunOS 4.1.3.
45211 if $ac_need_defaults; then
45212 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
45213 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
45214 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
45215 fi
45216
45217 # Have a temporary directory for convenience. Make it in the build tree
45218 # simply because there is no reason to put it here, and in addition,
45219 # creating and moving files from /tmp can sometimes cause problems.
45220 # Create a temporary directory, and hook for its removal unless debugging.
45221 $debug ||
45222 {
45223 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
45224 trap '{ (exit 1); exit 1; }' 1 2 13 15
45225 }
45226
45227 # Create a (secure) tmp directory for tmp files.
45228
45229 {
45230 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
45231 test -n "$tmp" && test -d "$tmp"
45232 } ||
45233 {
45234 tmp=./confstat$$-$RANDOM
45235 (umask 077 && mkdir $tmp)
45236 } ||
45237 {
45238 echo "$me: cannot create a temporary directory in ." >&2
45239 { (exit 1); exit 1; }
45240 }
45241
45242 _ACEOF
45243
45244 cat >>$CONFIG_STATUS <<_ACEOF
45245
45246 #
45247 # CONFIG_FILES section.
45248 #
45249
45250 # No need to generate the scripts if there are no CONFIG_FILES.
45251 # This happens for instance when ./config.status config.h
45252 if test -n "\$CONFIG_FILES"; then
45253 # Protect against being on the right side of a sed subst in config.status.
45254 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
45255 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
45256 s,@SHELL@,$SHELL,;t t
45257 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
45258 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
45259 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
45260 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
45261 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
45262 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
45263 s,@exec_prefix@,$exec_prefix,;t t
45264 s,@prefix@,$prefix,;t t
45265 s,@program_transform_name@,$program_transform_name,;t t
45266 s,@bindir@,$bindir,;t t
45267 s,@sbindir@,$sbindir,;t t
45268 s,@libexecdir@,$libexecdir,;t t
45269 s,@datadir@,$datadir,;t t
45270 s,@sysconfdir@,$sysconfdir,;t t
45271 s,@sharedstatedir@,$sharedstatedir,;t t
45272 s,@localstatedir@,$localstatedir,;t t
45273 s,@libdir@,$libdir,;t t
45274 s,@includedir@,$includedir,;t t
45275 s,@oldincludedir@,$oldincludedir,;t t
45276 s,@infodir@,$infodir,;t t
45277 s,@mandir@,$mandir,;t t
45278 s,@build_alias@,$build_alias,;t t
45279 s,@host_alias@,$host_alias,;t t
45280 s,@target_alias@,$target_alias,;t t
45281 s,@DEFS@,$DEFS,;t t
45282 s,@ECHO_C@,$ECHO_C,;t t
45283 s,@ECHO_N@,$ECHO_N,;t t
45284 s,@ECHO_T@,$ECHO_T,;t t
45285 s,@LIBS@,$LIBS,;t t
45286 s,@build@,$build,;t t
45287 s,@build_cpu@,$build_cpu,;t t
45288 s,@build_vendor@,$build_vendor,;t t
45289 s,@build_os@,$build_os,;t t
45290 s,@host@,$host,;t t
45291 s,@host_cpu@,$host_cpu,;t t
45292 s,@host_vendor@,$host_vendor,;t t
45293 s,@host_os@,$host_os,;t t
45294 s,@target@,$target,;t t
45295 s,@target_cpu@,$target_cpu,;t t
45296 s,@target_vendor@,$target_vendor,;t t
45297 s,@target_os@,$target_os,;t t
45298 s,@CC@,$CC,;t t
45299 s,@CFLAGS@,$CFLAGS,;t t
45300 s,@LDFLAGS@,$LDFLAGS,;t t
45301 s,@CPPFLAGS@,$CPPFLAGS,;t t
45302 s,@ac_ct_CC@,$ac_ct_CC,;t t
45303 s,@EXEEXT@,$EXEEXT,;t t
45304 s,@OBJEXT@,$OBJEXT,;t t
45305 s,@CPP@,$CPP,;t t
45306 s,@EGREP@,$EGREP,;t t
45307 s,@CXX@,$CXX,;t t
45308 s,@CXXFLAGS@,$CXXFLAGS,;t t
45309 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
45310 s,@RANLIB@,$RANLIB,;t t
45311 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
45312 s,@AR@,$AR,;t t
45313 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
45314 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
45315 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
45316 s,@STRIP@,$STRIP,;t t
45317 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
45318 s,@LN_S@,$LN_S,;t t
45319 s,@CXXCPP@,$CXXCPP,;t t
45320 s,@subdirs@,$subdirs,;t t
45321 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
45322 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
45323 s,@GTK_LIBS@,$GTK_LIBS,;t t
45324 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
45325 s,@X_CFLAGS@,$X_CFLAGS,;t t
45326 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
45327 s,@X_LIBS@,$X_LIBS,;t t
45328 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
45329 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
45330 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
45331 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
45332 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
45333 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
45334 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
45335 s,@RESCOMP@,$RESCOMP,;t t
45336 s,@DEREZ@,$DEREZ,;t t
45337 s,@SETFILE@,$SETFILE,;t t
45338 s,@LIBICONV@,$LIBICONV,;t t
45339 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
45340 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
45341 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
45342 s,@SDL_LIBS@,$SDL_LIBS,;t t
45343 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
45344 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
45345 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
45346 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
45347 s,@GST_INSPECT@,$GST_INSPECT,;t t
45348 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
45349 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
45350 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
45351 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
45352 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
45353 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
45354 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
45355 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
45356 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
45357 s,@VENDOR@,$VENDOR,;t t
45358 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
45359 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
45360 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
45361 s,@WXUNIV@,$WXUNIV,;t t
45362 s,@MONOLITHIC@,$MONOLITHIC,;t t
45363 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
45364 s,@EXTRALIBS@,$EXTRALIBS,;t t
45365 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
45366 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
45367 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
45368 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
45369 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
45370 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
45371 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
45372 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
45373 s,@UNICODE@,$UNICODE,;t t
45374 s,@BUILD@,$BUILD,;t t
45375 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
45376 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
45377 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
45378 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
45379 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
45380 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
45381 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
45382 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
45383 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
45384 s,@SET_MAKE@,$SET_MAKE,;t t
45385 s,@MAKE_SET@,$MAKE_SET,;t t
45386 s,@ac_ct_AR@,$ac_ct_AR,;t t
45387 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
45388 s,@NM@,$NM,;t t
45389 s,@ac_ct_NM@,$ac_ct_NM,;t t
45390 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
45391 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
45392 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
45393 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
45394 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
45395 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
45396 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
45397 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
45398 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
45399 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
45400 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
45401 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
45402 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
45403 s,@LIBPREFIX@,$LIBPREFIX,;t t
45404 s,@LIBEXT@,$LIBEXT,;t t
45405 s,@DLLPREFIX@,$DLLPREFIX,;t t
45406 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
45407 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
45408 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
45409 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
45410 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
45411 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
45412 s,@PIC_FLAG@,$PIC_FLAG,;t t
45413 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
45414 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
45415 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
45416 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
45417 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
45418 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
45419 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
45420 s,@GCC_PCH@,$GCC_PCH,;t t
45421 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
45422 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
45423 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
45424 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
45425 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
45426 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
45427 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
45428 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
45429 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
45430 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
45431 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
45432 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
45433 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
45434 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
45435 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
45436 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
45437 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
45438 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
45439 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
45440 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
45441 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
45442 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
45443 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
45444 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
45445 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
45446 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
45447 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
45448 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
45449 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
45450 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
45451 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
45452 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
45453 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
45454 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
45455 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
45456 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
45457 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
45458 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
45459 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
45460 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
45461 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
45462 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
45463 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
45464 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
45465 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
45466 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
45467 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
45468 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
45469 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
45470 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
45471 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
45472 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
45473 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
45474 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
45475 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
45476 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
45477 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
45478 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
45479 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
45480 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
45481 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
45482 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
45483 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
45484 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45485 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45486 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45487 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
45488 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
45489 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
45490 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
45491 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
45492 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
45493 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
45494 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
45495 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
45496 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
45497 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
45498 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
45499 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
45500 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
45501 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
45502 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
45503 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
45504 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
45505 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
45506 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
45507 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
45508 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
45509 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
45510 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
45511 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
45512 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
45513 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
45514 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
45515 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
45516 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
45517 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
45518 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
45519 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
45520 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
45521 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
45522 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
45523 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
45524 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
45525 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
45526 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
45527 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
45528 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45529 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45530 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45531 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
45532 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
45533 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
45534 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
45535 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
45536 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
45537 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
45538 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
45539 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
45540 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
45541 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
45542 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
45543 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
45544 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
45545 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
45546 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
45547 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
45548 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
45549 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
45550 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
45551 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
45552 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
45553 s,@SHARED@,$SHARED,;t t
45554 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
45555 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
45556 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
45557 s,@USE_GUI@,$USE_GUI,;t t
45558 s,@AFMINSTALL@,$AFMINSTALL,;t t
45559 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
45560 s,@TOOLKIT@,$TOOLKIT,;t t
45561 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
45562 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
45563 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
45564 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
45565 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
45566 s,@cross_compiling@,$cross_compiling,;t t
45567 s,@WIDGET_SET@,$WIDGET_SET,;t t
45568 s,@WX_RELEASE@,$WX_RELEASE,;t t
45569 s,@WX_VERSION@,$WX_VERSION,;t t
45570 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
45571 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
45572 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
45573 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
45574 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
45575 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
45576 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
45577 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
45578 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
45579 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
45580 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
45581 s,@EXE_LINKER@,$EXE_LINKER,;t t
45582 s,@GUIDIST@,$GUIDIST,;t t
45583 s,@DISTDIR@,$DISTDIR,;t t
45584 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
45585 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
45586 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
45587 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
45588 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
45589 s,@RESFLAGS@,$RESFLAGS,;t t
45590 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
45591 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
45592 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
45593 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
45594 s,@MACRESCOMP@,$MACRESCOMP,;t t
45595 s,@MACSETFILE@,$MACSETFILE,;t t
45596 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
45597 s,@GCC@,$GCC,;t t
45598 s,@DLLTOOL@,$DLLTOOL,;t t
45599 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
45600 s,@LIBOBJS@,$LIBOBJS,;t t
45601 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45602 CEOF
45603
45604 _ACEOF
45605
45606 cat >>$CONFIG_STATUS <<\_ACEOF
45607 # Split the substitutions into bite-sized pieces for seds with
45608 # small command number limits, like on Digital OSF/1 and HP-UX.
45609 ac_max_sed_lines=48
45610 ac_sed_frag=1 # Number of current file.
45611 ac_beg=1 # First line for current file.
45612 ac_end=$ac_max_sed_lines # Line after last line for current file.
45613 ac_more_lines=:
45614 ac_sed_cmds=
45615 while $ac_more_lines; do
45616 if test $ac_beg -gt 1; then
45617 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45618 else
45619 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45620 fi
45621 if test ! -s $tmp/subs.frag; then
45622 ac_more_lines=false
45623 else
45624 # The purpose of the label and of the branching condition is to
45625 # speed up the sed processing (if there are no `@' at all, there
45626 # is no need to browse any of the substitutions).
45627 # These are the two extra sed commands mentioned above.
45628 (echo ':t
45629 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
45630 if test -z "$ac_sed_cmds"; then
45631 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
45632 else
45633 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45634 fi
45635 ac_sed_frag=`expr $ac_sed_frag + 1`
45636 ac_beg=$ac_end
45637 ac_end=`expr $ac_end + $ac_max_sed_lines`
45638 fi
45639 done
45640 if test -z "$ac_sed_cmds"; then
45641 ac_sed_cmds=cat
45642 fi
45643 fi # test -n "$CONFIG_FILES"
45644
45645 _ACEOF
45646 cat >>$CONFIG_STATUS <<\_ACEOF
45647 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
45648 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45649 case $ac_file in
45650 - | *:- | *:-:* ) # input from stdin
45651 cat >$tmp/stdin
45652 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45653 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45654 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45655 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45656 * ) ac_file_in=$ac_file.in ;;
45657 esac
45658
45659 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45660 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45661 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45662 X"$ac_file" : 'X\(//\)[^/]' \| \
45663 X"$ac_file" : 'X\(//\)$' \| \
45664 X"$ac_file" : 'X\(/\)' \| \
45665 . : '\(.\)' 2>/dev/null ||
45666 echo X"$ac_file" |
45667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45668 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45669 /^X\(\/\/\)$/{ s//\1/; q; }
45670 /^X\(\/\).*/{ s//\1/; q; }
45671 s/.*/./; q'`
45672 { if $as_mkdir_p; then
45673 mkdir -p "$ac_dir"
45674 else
45675 as_dir="$ac_dir"
45676 as_dirs=
45677 while test ! -d "$as_dir"; do
45678 as_dirs="$as_dir $as_dirs"
45679 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45680 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45681 X"$as_dir" : 'X\(//\)[^/]' \| \
45682 X"$as_dir" : 'X\(//\)$' \| \
45683 X"$as_dir" : 'X\(/\)' \| \
45684 . : '\(.\)' 2>/dev/null ||
45685 echo X"$as_dir" |
45686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45687 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45688 /^X\(\/\/\)$/{ s//\1/; q; }
45689 /^X\(\/\).*/{ s//\1/; q; }
45690 s/.*/./; q'`
45691 done
45692 test ! -n "$as_dirs" || mkdir $as_dirs
45693 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45694 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45695 { (exit 1); exit 1; }; }; }
45696
45697 ac_builddir=.
45698
45699 if test "$ac_dir" != .; then
45700 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45701 # A "../" for each directory in $ac_dir_suffix.
45702 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45703 else
45704 ac_dir_suffix= ac_top_builddir=
45705 fi
45706
45707 case $srcdir in
45708 .) # No --srcdir option. We are building in place.
45709 ac_srcdir=.
45710 if test -z "$ac_top_builddir"; then
45711 ac_top_srcdir=.
45712 else
45713 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45714 fi ;;
45715 [\\/]* | ?:[\\/]* ) # Absolute path.
45716 ac_srcdir=$srcdir$ac_dir_suffix;
45717 ac_top_srcdir=$srcdir ;;
45718 *) # Relative path.
45719 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45720 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45721 esac
45722
45723 # Do not use `cd foo && pwd` to compute absolute paths, because
45724 # the directories may not exist.
45725 case `pwd` in
45726 .) ac_abs_builddir="$ac_dir";;
45727 *)
45728 case "$ac_dir" in
45729 .) ac_abs_builddir=`pwd`;;
45730 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45731 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45732 esac;;
45733 esac
45734 case $ac_abs_builddir in
45735 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45736 *)
45737 case ${ac_top_builddir}. in
45738 .) ac_abs_top_builddir=$ac_abs_builddir;;
45739 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45740 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45741 esac;;
45742 esac
45743 case $ac_abs_builddir in
45744 .) ac_abs_srcdir=$ac_srcdir;;
45745 *)
45746 case $ac_srcdir in
45747 .) ac_abs_srcdir=$ac_abs_builddir;;
45748 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45749 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45750 esac;;
45751 esac
45752 case $ac_abs_builddir in
45753 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45754 *)
45755 case $ac_top_srcdir in
45756 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45757 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45758 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45759 esac;;
45760 esac
45761
45762
45763 case $INSTALL in
45764 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
45765 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
45766 esac
45767
45768 if test x"$ac_file" != x-; then
45769 { echo "$as_me:$LINENO: creating $ac_file" >&5
45770 echo "$as_me: creating $ac_file" >&6;}
45771 rm -f "$ac_file"
45772 fi
45773 # Let's still pretend it is `configure' which instantiates (i.e., don't
45774 # use $as_me), people would be surprised to read:
45775 # /* config.h. Generated by config.status. */
45776 if test x"$ac_file" = x-; then
45777 configure_input=
45778 else
45779 configure_input="$ac_file. "
45780 fi
45781 configure_input=$configure_input"Generated from `echo $ac_file_in |
45782 sed 's,.*/,,'` by configure."
45783
45784 # First look for the input files in the build tree, otherwise in the
45785 # src tree.
45786 ac_file_inputs=`IFS=:
45787 for f in $ac_file_in; do
45788 case $f in
45789 -) echo $tmp/stdin ;;
45790 [\\/$]*)
45791 # Absolute (can't be DOS-style, as IFS=:)
45792 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45793 echo "$as_me: error: cannot find input file: $f" >&2;}
45794 { (exit 1); exit 1; }; }
45795 echo "$f";;
45796 *) # Relative
45797 if test -f "$f"; then
45798 # Build tree
45799 echo "$f"
45800 elif test -f "$srcdir/$f"; then
45801 # Source tree
45802 echo "$srcdir/$f"
45803 else
45804 # /dev/null tree
45805 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45806 echo "$as_me: error: cannot find input file: $f" >&2;}
45807 { (exit 1); exit 1; }; }
45808 fi;;
45809 esac
45810 done` || { (exit 1); exit 1; }
45811 _ACEOF
45812 cat >>$CONFIG_STATUS <<_ACEOF
45813 sed "$ac_vpsub
45814 $extrasub
45815 _ACEOF
45816 cat >>$CONFIG_STATUS <<\_ACEOF
45817 :t
45818 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
45819 s,@configure_input@,$configure_input,;t t
45820 s,@srcdir@,$ac_srcdir,;t t
45821 s,@abs_srcdir@,$ac_abs_srcdir,;t t
45822 s,@top_srcdir@,$ac_top_srcdir,;t t
45823 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
45824 s,@builddir@,$ac_builddir,;t t
45825 s,@abs_builddir@,$ac_abs_builddir,;t t
45826 s,@top_builddir@,$ac_top_builddir,;t t
45827 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
45828 s,@INSTALL@,$ac_INSTALL,;t t
45829 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45830 rm -f $tmp/stdin
45831 if test x"$ac_file" != x-; then
45832 mv $tmp/out $ac_file
45833 else
45834 cat $tmp/out
45835 rm -f $tmp/out
45836 fi
45837
45838 # Run the commands associated with the file.
45839 case $ac_file in
45840 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
45841 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
45842 esac
45843 done
45844 _ACEOF
45845 cat >>$CONFIG_STATUS <<\_ACEOF
45846
45847 #
45848 # CONFIG_HEADER section.
45849 #
45850
45851 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
45852 # NAME is the cpp macro being defined and VALUE is the value it is being given.
45853 #
45854 # ac_d sets the value in "#define NAME VALUE" lines.
45855 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
45856 ac_dB='[ ].*$,\1#\2'
45857 ac_dC=' '
45858 ac_dD=',;t'
45859 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
45860 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
45861 ac_uB='$,\1#\2define\3'
45862 ac_uC=' '
45863 ac_uD=',;t'
45864
45865 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
45866 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45867 case $ac_file in
45868 - | *:- | *:-:* ) # input from stdin
45869 cat >$tmp/stdin
45870 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45871 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45872 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45873 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45874 * ) ac_file_in=$ac_file.in ;;
45875 esac
45876
45877 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
45878 echo "$as_me: creating $ac_file" >&6;}
45879
45880 # First look for the input files in the build tree, otherwise in the
45881 # src tree.
45882 ac_file_inputs=`IFS=:
45883 for f in $ac_file_in; do
45884 case $f in
45885 -) echo $tmp/stdin ;;
45886 [\\/$]*)
45887 # Absolute (can't be DOS-style, as IFS=:)
45888 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45889 echo "$as_me: error: cannot find input file: $f" >&2;}
45890 { (exit 1); exit 1; }; }
45891 # Do quote $f, to prevent DOS paths from being IFS'd.
45892 echo "$f";;
45893 *) # Relative
45894 if test -f "$f"; then
45895 # Build tree
45896 echo "$f"
45897 elif test -f "$srcdir/$f"; then
45898 # Source tree
45899 echo "$srcdir/$f"
45900 else
45901 # /dev/null tree
45902 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45903 echo "$as_me: error: cannot find input file: $f" >&2;}
45904 { (exit 1); exit 1; }; }
45905 fi;;
45906 esac
45907 done` || { (exit 1); exit 1; }
45908 # Remove the trailing spaces.
45909 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
45910
45911 _ACEOF
45912
45913 # Transform confdefs.h into two sed scripts, `conftest.defines' and
45914 # `conftest.undefs', that substitutes the proper values into
45915 # config.h.in to produce config.h. The first handles `#define'
45916 # templates, and the second `#undef' templates.
45917 # And first: Protect against being on the right side of a sed subst in
45918 # config.status. Protect against being in an unquoted here document
45919 # in config.status.
45920 rm -f conftest.defines conftest.undefs
45921 # Using a here document instead of a string reduces the quoting nightmare.
45922 # Putting comments in sed scripts is not portable.
45923 #
45924 # `end' is used to avoid that the second main sed command (meant for
45925 # 0-ary CPP macros) applies to n-ary macro definitions.
45926 # See the Autoconf documentation for `clear'.
45927 cat >confdef2sed.sed <<\_ACEOF
45928 s/[\\&,]/\\&/g
45929 s,[\\$`],\\&,g
45930 t clear
45931 : clear
45932 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
45933 t end
45934 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
45935 : end
45936 _ACEOF
45937 # If some macros were called several times there might be several times
45938 # the same #defines, which is useless. Nevertheless, we may not want to
45939 # sort them, since we want the *last* AC-DEFINE to be honored.
45940 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
45941 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
45942 rm -f confdef2sed.sed
45943
45944 # This sed command replaces #undef with comments. This is necessary, for
45945 # example, in the case of _POSIX_SOURCE, which is predefined and required
45946 # on some systems where configure will not decide to define it.
45947 cat >>conftest.undefs <<\_ACEOF
45948 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45949 _ACEOF
45950
45951 # Break up conftest.defines because some shells have a limit on the size
45952 # of here documents, and old seds have small limits too (100 cmds).
45953 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
45954 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
45955 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
45956 echo ' :' >>$CONFIG_STATUS
45957 rm -f conftest.tail
45958 while grep . conftest.defines >/dev/null
45959 do
45960 # Write a limited-size here document to $tmp/defines.sed.
45961 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
45962 # Speed up: don't consider the non `#define' lines.
45963 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
45964 # Work around the forget-to-reset-the-flag bug.
45965 echo 't clr' >>$CONFIG_STATUS
45966 echo ': clr' >>$CONFIG_STATUS
45967 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
45968 echo 'CEOF
45969 sed -f $tmp/defines.sed $tmp/in >$tmp/out
45970 rm -f $tmp/in
45971 mv $tmp/out $tmp/in
45972 ' >>$CONFIG_STATUS
45973 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
45974 rm -f conftest.defines
45975 mv conftest.tail conftest.defines
45976 done
45977 rm -f conftest.defines
45978 echo ' fi # grep' >>$CONFIG_STATUS
45979 echo >>$CONFIG_STATUS
45980
45981 # Break up conftest.undefs because some shells have a limit on the size
45982 # of here documents, and old seds have small limits too (100 cmds).
45983 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
45984 rm -f conftest.tail
45985 while grep . conftest.undefs >/dev/null
45986 do
45987 # Write a limited-size here document to $tmp/undefs.sed.
45988 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
45989 # Speed up: don't consider the non `#undef'
45990 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
45991 # Work around the forget-to-reset-the-flag bug.
45992 echo 't clr' >>$CONFIG_STATUS
45993 echo ': clr' >>$CONFIG_STATUS
45994 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
45995 echo 'CEOF
45996 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
45997 rm -f $tmp/in
45998 mv $tmp/out $tmp/in
45999 ' >>$CONFIG_STATUS
46000 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
46001 rm -f conftest.undefs
46002 mv conftest.tail conftest.undefs
46003 done
46004 rm -f conftest.undefs
46005
46006 cat >>$CONFIG_STATUS <<\_ACEOF
46007 # Let's still pretend it is `configure' which instantiates (i.e., don't
46008 # use $as_me), people would be surprised to read:
46009 # /* config.h. Generated by config.status. */
46010 if test x"$ac_file" = x-; then
46011 echo "/* Generated by configure. */" >$tmp/config.h
46012 else
46013 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
46014 fi
46015 cat $tmp/in >>$tmp/config.h
46016 rm -f $tmp/in
46017 if test x"$ac_file" != x-; then
46018 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
46019 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
46020 echo "$as_me: $ac_file is unchanged" >&6;}
46021 else
46022 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
46023 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46024 X"$ac_file" : 'X\(//\)[^/]' \| \
46025 X"$ac_file" : 'X\(//\)$' \| \
46026 X"$ac_file" : 'X\(/\)' \| \
46027 . : '\(.\)' 2>/dev/null ||
46028 echo X"$ac_file" |
46029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46030 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46031 /^X\(\/\/\)$/{ s//\1/; q; }
46032 /^X\(\/\).*/{ s//\1/; q; }
46033 s/.*/./; q'`
46034 { if $as_mkdir_p; then
46035 mkdir -p "$ac_dir"
46036 else
46037 as_dir="$ac_dir"
46038 as_dirs=
46039 while test ! -d "$as_dir"; do
46040 as_dirs="$as_dir $as_dirs"
46041 as_dir=`(dirname "$as_dir") 2>/dev/null ||
46042 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46043 X"$as_dir" : 'X\(//\)[^/]' \| \
46044 X"$as_dir" : 'X\(//\)$' \| \
46045 X"$as_dir" : 'X\(/\)' \| \
46046 . : '\(.\)' 2>/dev/null ||
46047 echo X"$as_dir" |
46048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46049 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46050 /^X\(\/\/\)$/{ s//\1/; q; }
46051 /^X\(\/\).*/{ s//\1/; q; }
46052 s/.*/./; q'`
46053 done
46054 test ! -n "$as_dirs" || mkdir $as_dirs
46055 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46056 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46057 { (exit 1); exit 1; }; }; }
46058
46059 rm -f $ac_file
46060 mv $tmp/config.h $ac_file
46061 fi
46062 else
46063 cat $tmp/config.h
46064 rm -f $tmp/config.h
46065 fi
46066 done
46067 _ACEOF
46068 cat >>$CONFIG_STATUS <<\_ACEOF
46069
46070 #
46071 # CONFIG_COMMANDS section.
46072 #
46073 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
46074 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
46075 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
46076 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
46077 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46078 X"$ac_dest" : 'X\(//\)[^/]' \| \
46079 X"$ac_dest" : 'X\(//\)$' \| \
46080 X"$ac_dest" : 'X\(/\)' \| \
46081 . : '\(.\)' 2>/dev/null ||
46082 echo X"$ac_dest" |
46083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46084 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46085 /^X\(\/\/\)$/{ s//\1/; q; }
46086 /^X\(\/\).*/{ s//\1/; q; }
46087 s/.*/./; q'`
46088 { if $as_mkdir_p; then
46089 mkdir -p "$ac_dir"
46090 else
46091 as_dir="$ac_dir"
46092 as_dirs=
46093 while test ! -d "$as_dir"; do
46094 as_dirs="$as_dir $as_dirs"
46095 as_dir=`(dirname "$as_dir") 2>/dev/null ||
46096 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46097 X"$as_dir" : 'X\(//\)[^/]' \| \
46098 X"$as_dir" : 'X\(//\)$' \| \
46099 X"$as_dir" : 'X\(/\)' \| \
46100 . : '\(.\)' 2>/dev/null ||
46101 echo X"$as_dir" |
46102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46103 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46104 /^X\(\/\/\)$/{ s//\1/; q; }
46105 /^X\(\/\).*/{ s//\1/; q; }
46106 s/.*/./; q'`
46107 done
46108 test ! -n "$as_dirs" || mkdir $as_dirs
46109 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46110 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46111 { (exit 1); exit 1; }; }; }
46112
46113 ac_builddir=.
46114
46115 if test "$ac_dir" != .; then
46116 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46117 # A "../" for each directory in $ac_dir_suffix.
46118 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46119 else
46120 ac_dir_suffix= ac_top_builddir=
46121 fi
46122
46123 case $srcdir in
46124 .) # No --srcdir option. We are building in place.
46125 ac_srcdir=.
46126 if test -z "$ac_top_builddir"; then
46127 ac_top_srcdir=.
46128 else
46129 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
46130 fi ;;
46131 [\\/]* | ?:[\\/]* ) # Absolute path.
46132 ac_srcdir=$srcdir$ac_dir_suffix;
46133 ac_top_srcdir=$srcdir ;;
46134 *) # Relative path.
46135 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
46136 ac_top_srcdir=$ac_top_builddir$srcdir ;;
46137 esac
46138
46139 # Do not use `cd foo && pwd` to compute absolute paths, because
46140 # the directories may not exist.
46141 case `pwd` in
46142 .) ac_abs_builddir="$ac_dir";;
46143 *)
46144 case "$ac_dir" in
46145 .) ac_abs_builddir=`pwd`;;
46146 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
46147 *) ac_abs_builddir=`pwd`/"$ac_dir";;
46148 esac;;
46149 esac
46150 case $ac_abs_builddir in
46151 .) ac_abs_top_builddir=${ac_top_builddir}.;;
46152 *)
46153 case ${ac_top_builddir}. in
46154 .) ac_abs_top_builddir=$ac_abs_builddir;;
46155 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
46156 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
46157 esac;;
46158 esac
46159 case $ac_abs_builddir in
46160 .) ac_abs_srcdir=$ac_srcdir;;
46161 *)
46162 case $ac_srcdir in
46163 .) ac_abs_srcdir=$ac_abs_builddir;;
46164 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
46165 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
46166 esac;;
46167 esac
46168 case $ac_abs_builddir in
46169 .) ac_abs_top_srcdir=$ac_top_srcdir;;
46170 *)
46171 case $ac_top_srcdir in
46172 .) ac_abs_top_srcdir=$ac_abs_builddir;;
46173 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
46174 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
46175 esac;;
46176 esac
46177
46178
46179 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
46180 echo "$as_me: executing $ac_dest commands" >&6;}
46181 case $ac_dest in
46182 wx-config ) rm -f wx-config
46183 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
46184 ;;
46185 esac
46186 done
46187 _ACEOF
46188
46189 cat >>$CONFIG_STATUS <<\_ACEOF
46190
46191 { (exit 0); exit 0; }
46192 _ACEOF
46193 chmod +x $CONFIG_STATUS
46194 ac_clean_files=$ac_clean_files_save
46195
46196
46197 # configure is writing to config.log, and then calls config.status.
46198 # config.status does its own redirection, appending to config.log.
46199 # Unfortunately, on DOS this fails, as config.log is still kept open
46200 # by configure, so config.status won't be able to write to it; its
46201 # output is simply discarded. So we exec the FD to /dev/null,
46202 # effectively closing config.log, so it can be properly (re)opened and
46203 # appended to by config.status. When coming back to configure, we
46204 # need to make the FD available again.
46205 if test "$no_create" != yes; then
46206 ac_cs_success=:
46207 ac_config_status_args=
46208 test "$silent" = yes &&
46209 ac_config_status_args="$ac_config_status_args --quiet"
46210 exec 5>/dev/null
46211 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
46212 exec 5>>config.log
46213 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
46214 # would make configure fail if this is the last instruction.
46215 $ac_cs_success || { (exit 1); exit 1; }
46216 fi
46217
46218 #
46219 # CONFIG_SUBDIRS section.
46220 #
46221 if test "$no_recursion" != yes; then
46222
46223 # Remove --cache-file and --srcdir arguments so they do not pile up.
46224 ac_sub_configure_args=
46225 ac_prev=
46226 for ac_arg in $ac_configure_args; do
46227 if test -n "$ac_prev"; then
46228 ac_prev=
46229 continue
46230 fi
46231 case $ac_arg in
46232 -cache-file | --cache-file | --cache-fil | --cache-fi \
46233 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
46234 ac_prev=cache_file ;;
46235 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
46236 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
46237 | --c=*)
46238 ;;
46239 --config-cache | -C)
46240 ;;
46241 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
46242 ac_prev=srcdir ;;
46243 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
46244 ;;
46245 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
46246 ac_prev=prefix ;;
46247 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
46248 ;;
46249 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
46250 esac
46251 done
46252
46253 # Always prepend --prefix to ensure using the same prefix
46254 # in subdir configurations.
46255 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
46256
46257 ac_popdir=`pwd`
46258 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
46259
46260 # Do not complain, so a configure script can configure whichever
46261 # parts of a large source tree are present.
46262 test -d $srcdir/$ac_dir || continue
46263
46264 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
46265 echo "$as_me: configuring in $ac_dir" >&6;}
46266 { if $as_mkdir_p; then
46267 mkdir -p "$ac_dir"
46268 else
46269 as_dir="$ac_dir"
46270 as_dirs=
46271 while test ! -d "$as_dir"; do
46272 as_dirs="$as_dir $as_dirs"
46273 as_dir=`(dirname "$as_dir") 2>/dev/null ||
46274 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46275 X"$as_dir" : 'X\(//\)[^/]' \| \
46276 X"$as_dir" : 'X\(//\)$' \| \
46277 X"$as_dir" : 'X\(/\)' \| \
46278 . : '\(.\)' 2>/dev/null ||
46279 echo X"$as_dir" |
46280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46281 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46282 /^X\(\/\/\)$/{ s//\1/; q; }
46283 /^X\(\/\).*/{ s//\1/; q; }
46284 s/.*/./; q'`
46285 done
46286 test ! -n "$as_dirs" || mkdir $as_dirs
46287 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46288 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46289 { (exit 1); exit 1; }; }; }
46290
46291 ac_builddir=.
46292
46293 if test "$ac_dir" != .; then
46294 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46295 # A "../" for each directory in $ac_dir_suffix.
46296 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46297 else
46298 ac_dir_suffix= ac_top_builddir=
46299 fi
46300
46301 case $srcdir in
46302 .) # No --srcdir option. We are building in place.
46303 ac_srcdir=.
46304 if test -z "$ac_top_builddir"; then
46305 ac_top_srcdir=.
46306 else
46307 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
46308 fi ;;
46309 [\\/]* | ?:[\\/]* ) # Absolute path.
46310 ac_srcdir=$srcdir$ac_dir_suffix;
46311 ac_top_srcdir=$srcdir ;;
46312 *) # Relative path.
46313 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
46314 ac_top_srcdir=$ac_top_builddir$srcdir ;;
46315 esac
46316
46317 # Do not use `cd foo && pwd` to compute absolute paths, because
46318 # the directories may not exist.
46319 case `pwd` in
46320 .) ac_abs_builddir="$ac_dir";;
46321 *)
46322 case "$ac_dir" in
46323 .) ac_abs_builddir=`pwd`;;
46324 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
46325 *) ac_abs_builddir=`pwd`/"$ac_dir";;
46326 esac;;
46327 esac
46328 case $ac_abs_builddir in
46329 .) ac_abs_top_builddir=${ac_top_builddir}.;;
46330 *)
46331 case ${ac_top_builddir}. in
46332 .) ac_abs_top_builddir=$ac_abs_builddir;;
46333 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
46334 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
46335 esac;;
46336 esac
46337 case $ac_abs_builddir in
46338 .) ac_abs_srcdir=$ac_srcdir;;
46339 *)
46340 case $ac_srcdir in
46341 .) ac_abs_srcdir=$ac_abs_builddir;;
46342 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
46343 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
46344 esac;;
46345 esac
46346 case $ac_abs_builddir in
46347 .) ac_abs_top_srcdir=$ac_top_srcdir;;
46348 *)
46349 case $ac_top_srcdir in
46350 .) ac_abs_top_srcdir=$ac_abs_builddir;;
46351 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
46352 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
46353 esac;;
46354 esac
46355
46356
46357 cd $ac_dir
46358
46359 # Check for guested configure; otherwise get Cygnus style configure.
46360 if test -f $ac_srcdir/configure.gnu; then
46361 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
46362 elif test -f $ac_srcdir/configure; then
46363 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
46364 elif test -f $ac_srcdir/configure.in; then
46365 ac_sub_configure=$ac_configure
46366 else
46367 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
46368 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
46369 ac_sub_configure=
46370 fi
46371
46372 # The recursion is here.
46373 if test -n "$ac_sub_configure"; then
46374 # Make the cache file name correct relative to the subdirectory.
46375 case $cache_file in
46376 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
46377 *) # Relative path.
46378 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
46379 esac
46380
46381 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
46382 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
46383 # The eval makes quoting arguments work.
46384 eval $ac_sub_configure $ac_sub_configure_args \
46385 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
46386 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
46387 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
46388 { (exit 1); exit 1; }; }
46389 fi
46390
46391 cd $ac_popdir
46392 done
46393 fi
46394
46395
46396 echo
46397 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
46398 echo ""
46399 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
46400 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
46401
46402 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
46403 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
46404 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
46405
46406 echo " What level of wxWidgets compatibility should be enabled?"
46407 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
46408 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
46409
46410 echo " Which libraries should wxWidgets use?"
46411 echo " jpeg ${wxUSE_LIBJPEG-none}"
46412 echo " png ${wxUSE_LIBPNG-none}"
46413 echo " regex ${wxUSE_REGEX}"
46414 echo " tiff ${wxUSE_LIBTIFF-none}"
46415 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
46416 echo " xpm ${wxUSE_LIBXPM-none}"
46417 fi
46418 echo " zlib ${wxUSE_ZLIB}"
46419 echo " odbc ${wxUSE_ODBC}"
46420 echo " expat ${wxUSE_EXPAT}"
46421 echo " libmspack ${wxUSE_LIBMSPACK}"
46422 echo " sdl ${wxUSE_LIBSDL}"
46423 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
46424
46425 echo ""
46426