]> git.saurik.com Git - wxWidgets.git/blob - configure
Correction in comment in closing #endif.
[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.0.
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.0'
274 PACKAGE_STRING='wxWidgets 2.6.0'
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_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.0 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.0:";;
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 --enable-gpe use GNOME PDA Environment features if possible
876 --enable-shared create shared library code
877 --enable-optimise create optimised code
878 --enable-debug same as debug_flag and debug_info
879 --enable-stl use STL for containers
880 --enable-omf use OMF object format
881 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
882 --enable-debug_info create code with debugging information
883 --enable-debug_gdb create code with extra GDB debugging information
884 --enable-debug_cntxt use wxDebugContext
885 --enable-mem_tracing create code with memory tracing
886 --enable-profile create code with profiling information
887 --enable-no_rtti create code without RTTI information
888 --enable-no_exceptions create code without C++ exceptions handling
889 --enable-permissive compile code disregarding strict ANSI
890 --enable-no_deps create code without dependency information
891 --enable-compat22 enable wxWidgets 2.2 compatibility
892 --disable-compat24 disable wxWidgets 2.4 compatibility
893 --disable-rpath disable use of rpath for uninstalled builds
894 --enable-intl use internationalization system
895 --enable-config use wxConfig (and derived) classes
896 --enable-protocols use wxProtocol and derived classes
897 --enable-ftp use wxFTP (requires wxProtocol
898 --enable-http use wxHTTP (requires wxProtocol
899 --enable-fileproto use wxFileProto class (requires wxProtocol
900 --enable-sockets use socket/network classes
901 --enable-ole use OLE classes (Win32 only)
902 --enable-dataobj use data object classes
903 --enable-ipc use interprocess communication (wxSocket etc.)
904 --enable-apple_ieee use the Apple IEEE codec
905 --enable-arcstream use wxArchive streams
906 --enable-backtrace use wxStackWalker class for getting backtraces
907 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
908 --enable-cmdline use wxCmdLineParser class
909 --enable-datetime use wxDateTime class
910 --enable-debugreport use wxDebugReport class
911 --enable-dialupman use dialup network classes
912 --enable-dynlib use wxLibrary class for DLL loading
913 --enable-dynamicloader use (new) wxDynamicLibrary class
914 --enable-exceptions build exception-safe library
915 --enable-ffile use wxFFile class
916 --enable-file use wxFile class
917 --enable-filesystem use virtual file systems classes
918 --enable-fontmap use font encodings conversion classes
919 --enable-fs_inet use virtual HTTP/FTP filesystems
920 --enable-fs_zip use virtual ZIP filesystems
921 --enable-geometry use geometry class
922 --enable-log use logging system
923 --enable-longlong use wxLongLong class
924 --enable-mimetype use wxMimeTypesManager
925 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
926 --enable-snglinst use wxSingleInstanceChecker class
927 --enable-std_iostreams use standard C++ stream classes
928 --enable-std_string use standard C++ string classes
929 --enable-stdpaths use wxStandardPaths class
930 --enable-stopwatch use wxStopWatch class
931 --enable-streams use wxStream etc classes
932 --enable-sysoptions use wxSystemOptions
933 --enable-textbuf use wxTextBuffer class
934 --enable-textfile use wxTextFile class
935 --enable-timer use wxTimer class
936 --enable-unicode compile wxString with Unicode support
937 --enable-sound use wxSound class
938 --enable-mediactrl use wxMediaCtrl class
939 --enable-wxprintfv use wxWidgets implementation of vprintf()
940 --enable-zipstream use wxZip streams
941 --enable-url use wxURL class
942 --enable-protocol use wxProtocol class
943 --enable-protocol-http HTTP support in wxProtocol
944 --enable-protocol-ftp FTP support in wxProtocol
945 --enable-protocol-file FILE support in wxProtocol
946 --enable-threads use threads
947 --enable-docview use document view architecture
948 --enable-help use help subsystem
949 --enable-mshtmlhelp use MS HTML Help (win32)
950 --enable-html use wxHTML sub-library
951 --enable-htmlhelp use wxHTML-based help
952 --enable-xrc use XRC resources sub-library
953 --enable-constraints use layout-constraints system
954 --enable-printarch use printing architecture
955 --enable-mdi use multiple document interface architecture
956 --enable-mdidoc use docview architecture with MDI
957 --enable-loggui use standard GUI logger
958 --enable-logwin use wxLogWindow
959 --enable-logdialog use wxLogDialog
960 --enable-webkit use wxWebKitCtrl (Mac)
961 --enable-postscript use wxPostscriptDC device context (default for gtk+)
962 --enable-prologio not available; see contrib
963 --enable-resources not available; see contrib
964 --enable-clipboard use wxClipboard class
965 --enable-dnd use Drag'n'Drop classes
966 --enable-metafile use win32 metafiles
967 --enable-controls use all usual controls
968 --enable-accel use accelerators
969 --enable-button use wxButton class
970 --enable-bmpbutton use wxBitmapButton class
971 --enable-calendar use wxCalendarCtrl class
972 --enable-caret use wxCaret class
973 --enable-checkbox use wxCheckBox class
974 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
975 --enable-choice use wxChoice class
976 --enable-choicebook use wxChoicebook class
977 --enable-combobox use wxComboBox class
978 --enable-datepick use wxDatePickerCtrl class
979 --enable-display use wxDisplay class
980 --enable-gauge use wxGauge class
981 --enable-grid use wxGrid class
982 --enable-imaglist use wxImageList class
983 --enable-listbook use wxListbook class
984 --enable-listbox use wxListBox class
985 --enable-listctrl use wxListCtrl class
986 --enable-notebook use wxNotebook class
987 --enable-radiobox use wxRadioBox class
988 --enable-radiobtn use wxRadioButton class
989 --enable-sash use wxSashWindow class
990 --enable-scrollbar use wxScrollBar class and scrollable windows
991 --enable-slider use wxSlider class
992 --enable-spinbtn use wxSpinButton class
993 --enable-spinctrl use wxSpinCtrl class
994 --enable-splitter use wxSplitterWindow class
995 --enable-statbmp use wxStaticBitmap class
996 --enable-statbox use wxStaticBox class
997 --enable-statline use wxStaticLine class
998 --enable-stattext use wxStaticText class
999 --enable-statusbar use wxStatusBar class
1000 --enable-tabdialog use wxTabControl class
1001 --enable-textctrl use wxTextCtrl class
1002 --enable-togglebtn use wxToggleButton class
1003 --enable-toolbar use wxToolBar class
1004 --enable-tbarnative use native wxToolBar class
1005 --enable-tbarsmpl use wxToolBarSimple class
1006 --enable-treectrl use wxTreeCtrl class
1007 --enable-tipwindow use wxTipWindow class
1008 --enable-popupwin use wxPopUpWindow class
1009 --enable-commondlg use all common dialogs
1010 --enable-choicedlg use wxChoiceDialog
1011 --enable-coldlg use wxColourDialog
1012 --enable-filedlg use wxFileDialog
1013 --enable-finddlg use wxFindReplaceDialog
1014 --enable-fontdlg use wxFontDialog
1015 --enable-dirdlg use wxDirDialog
1016 --enable-msgdlg use wxMessageDialog
1017 --enable-numberdlg use wxNumberEntryDialog
1018 --enable-splash use wxSplashScreen
1019 --enable-textdlg use wxTextDialog
1020 --enable-tipdlg use startup tips
1021 --enable-progressdlg use wxProgressDialog
1022 --enable-wizarddlg use wxWizard
1023 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1024 --enable-miniframe use wxMiniFrame class
1025 --enable-tooltips use wxToolTip class
1026 --enable-splines use spline drawing code
1027 --enable-mousewheel use mousewheel
1028 --enable-validators use wxValidator and derived classes
1029 --enable-busyinfo use wxBusyInfo
1030 --enable-joystick use wxJoystick
1031 --enable-metafiles use wxMetaFile (Windows only)
1032 --enable-dragimage use wxDragImage
1033 --enable-accessibility enable accessibility support
1034 --enable-palette use wxPalette class
1035 --enable-image use wxImage class
1036 --enable-gif use gif images (GIF file format)
1037 --enable-pcx use pcx images (PCX file format)
1038 --enable-iff use iff images (IFF file format)
1039 --enable-pnm use pnm images (PNM file format)
1040 --enable-xpm use xpm images (XPM file format)
1041 --enable-icocur use Windows ICO and CUR formats
1042 --enable-official_build official build of wxWidgets (win32 DLL only)
1043 --enable-vendor=VENDOR vendor name (win32 DLL only)
1044 --disable-largefile omit support for large files
1045 --disable-gtktest do not try to compile and run a test GTK+ program
1046 --disable-gtktest Do not try to compile and run a test GTK program
1047 --disable-sdltest Do not try to compile and run a test SDL program
1048 --enable-omf use OMF object format (OS/2)
1049 --disable-precomp-headers
1050 don't use precompiled headers even if compiler can
1051
1052 Optional Packages:
1053 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1054 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1055 --with-gtk use GTK+ (currently uses 2.0)
1056 --with-gtk1 use GTK+ 1.2
1057 --with-gtk2 use GTK+ 2.0
1058 --with-motif use Motif/Lesstif
1059 --with-mac use Mac OS X
1060 --with-cocoa use Cocoa
1061 --with-wine use Wine
1062 --with-msw use MS-Windows
1063 --with-pm use OS/2 Presentation Manager
1064 --with-mgl use SciTech MGL
1065 --with-microwin use MicroWindows
1066 --with-x11 use X11
1067 --with-libpng use libpng (PNG image format)
1068 --with-libjpeg use libjpeg (JPEG file format)
1069 --with-libtiff use libtiff (TIFF file format)
1070 --with-libxpm use libxpm (XPM file format)
1071 --with-libmspack use libmspack (CHM help files loading)
1072 --with-sdl use SDL for audio on Unix
1073 --with-gnomeprint use GNOME print for printing under Unix
1074 --with-opengl use OpenGL (or Mesa)
1075 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1076 --with-regex enable support for wxRegEx class
1077 --with-zlib use zlib for LZW compression
1078 --with-odbc use the IODBC and wxODBC classes
1079 --with-expat enable XML support using expat parser
1080 --with-flavour=NAME specify a name to identify this build
1081 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1082 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1083 --with-x use the X Window System
1084 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1085 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1086 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1087 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1088 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1089
1090 Some influential environment variables:
1091 CC C compiler command
1092 CFLAGS C compiler flags
1093 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1094 nonstandard directory <lib dir>
1095 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1096 headers in a nonstandard directory <include dir>
1097 CPP C preprocessor
1098 CXX C++ compiler command
1099 CXXFLAGS C++ compiler flags
1100 CXXCPP C++ preprocessor
1101
1102 Use these variables to override the choices made by `configure' or to help
1103 it to find libraries and programs with nonstandard names/locations.
1104
1105 Report bugs to <wx-dev@lists.wxwidgets.org>.
1106 _ACEOF
1107 fi
1108
1109 if test "$ac_init_help" = "recursive"; then
1110 # If there are subdirs, report their specific --help.
1111 ac_popdir=`pwd`
1112 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1113 test -d $ac_dir || continue
1114 ac_builddir=.
1115
1116 if test "$ac_dir" != .; then
1117 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1118 # A "../" for each directory in $ac_dir_suffix.
1119 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1120 else
1121 ac_dir_suffix= ac_top_builddir=
1122 fi
1123
1124 case $srcdir in
1125 .) # No --srcdir option. We are building in place.
1126 ac_srcdir=.
1127 if test -z "$ac_top_builddir"; then
1128 ac_top_srcdir=.
1129 else
1130 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1131 fi ;;
1132 [\\/]* | ?:[\\/]* ) # Absolute path.
1133 ac_srcdir=$srcdir$ac_dir_suffix;
1134 ac_top_srcdir=$srcdir ;;
1135 *) # Relative path.
1136 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1137 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1138 esac
1139
1140 # Do not use `cd foo && pwd` to compute absolute paths, because
1141 # the directories may not exist.
1142 case `pwd` in
1143 .) ac_abs_builddir="$ac_dir";;
1144 *)
1145 case "$ac_dir" in
1146 .) ac_abs_builddir=`pwd`;;
1147 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1148 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1149 esac;;
1150 esac
1151 case $ac_abs_builddir in
1152 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1153 *)
1154 case ${ac_top_builddir}. in
1155 .) ac_abs_top_builddir=$ac_abs_builddir;;
1156 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1157 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1158 esac;;
1159 esac
1160 case $ac_abs_builddir in
1161 .) ac_abs_srcdir=$ac_srcdir;;
1162 *)
1163 case $ac_srcdir in
1164 .) ac_abs_srcdir=$ac_abs_builddir;;
1165 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1166 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1167 esac;;
1168 esac
1169 case $ac_abs_builddir in
1170 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1171 *)
1172 case $ac_top_srcdir in
1173 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1174 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1175 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1176 esac;;
1177 esac
1178
1179 cd $ac_dir
1180 # Check for guested configure; otherwise get Cygnus style configure.
1181 if test -f $ac_srcdir/configure.gnu; then
1182 echo
1183 $SHELL $ac_srcdir/configure.gnu --help=recursive
1184 elif test -f $ac_srcdir/configure; then
1185 echo
1186 $SHELL $ac_srcdir/configure --help=recursive
1187 elif test -f $ac_srcdir/configure.ac ||
1188 test -f $ac_srcdir/configure.in; then
1189 echo
1190 $ac_configure --help
1191 else
1192 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1193 fi
1194 cd "$ac_popdir"
1195 done
1196 fi
1197
1198 test -n "$ac_init_help" && exit 0
1199 if $ac_init_version; then
1200 cat <<\_ACEOF
1201 wxWidgets configure 2.6.0
1202 generated by GNU Autoconf 2.59
1203
1204 Copyright (C) 2003 Free Software Foundation, Inc.
1205 This configure script is free software; the Free Software Foundation
1206 gives unlimited permission to copy, distribute and modify it.
1207 _ACEOF
1208 exit 0
1209 fi
1210 exec 5>config.log
1211 cat >&5 <<_ACEOF
1212 This file contains any messages produced by compilers while
1213 running configure, to aid debugging if configure makes a mistake.
1214
1215 It was created by wxWidgets $as_me 2.6.0, which was
1216 generated by GNU Autoconf 2.59. Invocation command line was
1217
1218 $ $0 $@
1219
1220 _ACEOF
1221 {
1222 cat <<_ASUNAME
1223 ## --------- ##
1224 ## Platform. ##
1225 ## --------- ##
1226
1227 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1228 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1229 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1230 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1231 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1232
1233 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1234 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1235
1236 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1237 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1238 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1239 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1240 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1241 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1242 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1243
1244 _ASUNAME
1245
1246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1247 for as_dir in $PATH
1248 do
1249 IFS=$as_save_IFS
1250 test -z "$as_dir" && as_dir=.
1251 echo "PATH: $as_dir"
1252 done
1253
1254 } >&5
1255
1256 cat >&5 <<_ACEOF
1257
1258
1259 ## ----------- ##
1260 ## Core tests. ##
1261 ## ----------- ##
1262
1263 _ACEOF
1264
1265
1266 # Keep a trace of the command line.
1267 # Strip out --no-create and --no-recursion so they do not pile up.
1268 # Strip out --silent because we don't want to record it for future runs.
1269 # Also quote any args containing shell meta-characters.
1270 # Make two passes to allow for proper duplicate-argument suppression.
1271 ac_configure_args=
1272 ac_configure_args0=
1273 ac_configure_args1=
1274 ac_sep=
1275 ac_must_keep_next=false
1276 for ac_pass in 1 2
1277 do
1278 for ac_arg
1279 do
1280 case $ac_arg in
1281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1283 | -silent | --silent | --silen | --sile | --sil)
1284 continue ;;
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1287 esac
1288 case $ac_pass in
1289 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1290 2)
1291 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1292 if test $ac_must_keep_next = true; then
1293 ac_must_keep_next=false # Got value, back to normal.
1294 else
1295 case $ac_arg in
1296 *=* | --config-cache | -C | -disable-* | --disable-* \
1297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1299 | -with-* | --with-* | -without-* | --without-* | --x)
1300 case "$ac_configure_args0 " in
1301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1302 esac
1303 ;;
1304 -* ) ac_must_keep_next=true ;;
1305 esac
1306 fi
1307 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1308 # Get rid of the leading space.
1309 ac_sep=" "
1310 ;;
1311 esac
1312 done
1313 done
1314 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1315 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1316
1317 # When interrupted or exit'd, cleanup temporary files, and complete
1318 # config.log. We remove comments because anyway the quotes in there
1319 # would cause problems or look ugly.
1320 # WARNING: Be sure not to use single quotes in there, as some shells,
1321 # such as our DU 5.0 friend, will then `close' the trap.
1322 trap 'exit_status=$?
1323 # Save into config.log some information that might help in debugging.
1324 {
1325 echo
1326
1327 cat <<\_ASBOX
1328 ## ---------------- ##
1329 ## Cache variables. ##
1330 ## ---------------- ##
1331 _ASBOX
1332 echo
1333 # The following way of writing the cache mishandles newlines in values,
1334 {
1335 (set) 2>&1 |
1336 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1337 *ac_space=\ *)
1338 sed -n \
1339 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1341 ;;
1342 *)
1343 sed -n \
1344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1345 ;;
1346 esac;
1347 }
1348 echo
1349
1350 cat <<\_ASBOX
1351 ## ----------------- ##
1352 ## Output variables. ##
1353 ## ----------------- ##
1354 _ASBOX
1355 echo
1356 for ac_var in $ac_subst_vars
1357 do
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1360 done | sort
1361 echo
1362
1363 if test -n "$ac_subst_files"; then
1364 cat <<\_ASBOX
1365 ## ------------- ##
1366 ## Output files. ##
1367 ## ------------- ##
1368 _ASBOX
1369 echo
1370 for ac_var in $ac_subst_files
1371 do
1372 eval ac_val=$`echo $ac_var`
1373 echo "$ac_var='"'"'$ac_val'"'"'"
1374 done | sort
1375 echo
1376 fi
1377
1378 if test -s confdefs.h; then
1379 cat <<\_ASBOX
1380 ## ----------- ##
1381 ## confdefs.h. ##
1382 ## ----------- ##
1383 _ASBOX
1384 echo
1385 sed "/^$/d" confdefs.h | sort
1386 echo
1387 fi
1388 test "$ac_signal" != 0 &&
1389 echo "$as_me: caught signal $ac_signal"
1390 echo "$as_me: exit $exit_status"
1391 } >&5
1392 rm -f core *.core &&
1393 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1394 exit $exit_status
1395 ' 0
1396 for ac_signal in 1 2 13 15; do
1397 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1398 done
1399 ac_signal=0
1400
1401 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1402 rm -rf conftest* confdefs.h
1403 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1404 echo >confdefs.h
1405
1406 # Predefined preprocessor variables.
1407
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_NAME "$PACKAGE_NAME"
1410 _ACEOF
1411
1412
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1415 _ACEOF
1416
1417
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1420 _ACEOF
1421
1422
1423 cat >>confdefs.h <<_ACEOF
1424 #define PACKAGE_STRING "$PACKAGE_STRING"
1425 _ACEOF
1426
1427
1428 cat >>confdefs.h <<_ACEOF
1429 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1430 _ACEOF
1431
1432
1433 # Let the site file select an alternate cache file if it wants to.
1434 # Prefer explicitly selected file to automatically selected ones.
1435 if test -z "$CONFIG_SITE"; then
1436 if test "x$prefix" != xNONE; then
1437 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1438 else
1439 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1440 fi
1441 fi
1442 for ac_site_file in $CONFIG_SITE; do
1443 if test -r "$ac_site_file"; then
1444 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1445 echo "$as_me: loading site script $ac_site_file" >&6;}
1446 sed 's/^/| /' "$ac_site_file" >&5
1447 . "$ac_site_file"
1448 fi
1449 done
1450
1451 if test -r "$cache_file"; then
1452 # Some versions of bash will fail to source /dev/null (special
1453 # files actually), so we avoid doing that.
1454 if test -f "$cache_file"; then
1455 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1456 echo "$as_me: loading cache $cache_file" >&6;}
1457 case $cache_file in
1458 [\\/]* | ?:[\\/]* ) . $cache_file;;
1459 *) . ./$cache_file;;
1460 esac
1461 fi
1462 else
1463 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1464 echo "$as_me: creating cache $cache_file" >&6;}
1465 >$cache_file
1466 fi
1467
1468 # Check that the precious variables saved in the cache have kept the same
1469 # value.
1470 ac_cache_corrupted=false
1471 for ac_var in `(set) 2>&1 |
1472 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1473 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1474 eval ac_new_set=\$ac_env_${ac_var}_set
1475 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1476 eval ac_new_val="\$ac_env_${ac_var}_value"
1477 case $ac_old_set,$ac_new_set in
1478 set,)
1479 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1480 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1481 ac_cache_corrupted=: ;;
1482 ,set)
1483 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1484 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1485 ac_cache_corrupted=: ;;
1486 ,);;
1487 *)
1488 if test "x$ac_old_val" != "x$ac_new_val"; then
1489 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1490 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1491 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1492 echo "$as_me: former value: $ac_old_val" >&2;}
1493 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1494 echo "$as_me: current value: $ac_new_val" >&2;}
1495 ac_cache_corrupted=:
1496 fi;;
1497 esac
1498 # Pass precious variables to config.status.
1499 if test "$ac_new_set" = set; then
1500 case $ac_new_val in
1501 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 *) ac_arg=$ac_var=$ac_new_val ;;
1504 esac
1505 case " $ac_configure_args " in
1506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1507 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1508 esac
1509 fi
1510 done
1511 if $ac_cache_corrupted; then
1512 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1513 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1514 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1515 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1516 { (exit 1); exit 1; }; }
1517 fi
1518
1519 ac_ext=c
1520 ac_cpp='$CPP $CPPFLAGS'
1521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554 ac_aux_dir=
1555 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1556 if test -f $ac_dir/install-sh; then
1557 ac_aux_dir=$ac_dir
1558 ac_install_sh="$ac_aux_dir/install-sh -c"
1559 break
1560 elif test -f $ac_dir/install.sh; then
1561 ac_aux_dir=$ac_dir
1562 ac_install_sh="$ac_aux_dir/install.sh -c"
1563 break
1564 elif test -f $ac_dir/shtool; then
1565 ac_aux_dir=$ac_dir
1566 ac_install_sh="$ac_aux_dir/shtool install -c"
1567 break
1568 fi
1569 done
1570 if test -z "$ac_aux_dir"; then
1571 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1572 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1573 { (exit 1); exit 1; }; }
1574 fi
1575 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1576 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1577 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1578
1579 # Make sure we can run config.sub.
1580 $ac_config_sub sun4 >/dev/null 2>&1 ||
1581 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1582 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1583 { (exit 1); exit 1; }; }
1584
1585 echo "$as_me:$LINENO: checking build system type" >&5
1586 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1587 if test "${ac_cv_build+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 else
1590 ac_cv_build_alias=$build_alias
1591 test -z "$ac_cv_build_alias" &&
1592 ac_cv_build_alias=`$ac_config_guess`
1593 test -z "$ac_cv_build_alias" &&
1594 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1595 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1596 { (exit 1); exit 1; }; }
1597 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1598 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1599 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1600 { (exit 1); exit 1; }; }
1601
1602 fi
1603 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1604 echo "${ECHO_T}$ac_cv_build" >&6
1605 build=$ac_cv_build
1606 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1607 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1608 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1609
1610
1611 echo "$as_me:$LINENO: checking host system type" >&5
1612 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1613 if test "${ac_cv_host+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 else
1616 ac_cv_host_alias=$host_alias
1617 test -z "$ac_cv_host_alias" &&
1618 ac_cv_host_alias=$ac_cv_build_alias
1619 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1620 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1621 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1622 { (exit 1); exit 1; }; }
1623
1624 fi
1625 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1626 echo "${ECHO_T}$ac_cv_host" >&6
1627 host=$ac_cv_host
1628 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1629 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1630 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1631
1632
1633 echo "$as_me:$LINENO: checking target system type" >&5
1634 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1635 if test "${ac_cv_target+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 else
1638 ac_cv_target_alias=$target_alias
1639 test "x$ac_cv_target_alias" = "x" &&
1640 ac_cv_target_alias=$ac_cv_host_alias
1641 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1642 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1643 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1644 { (exit 1); exit 1; }; }
1645
1646 fi
1647 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1648 echo "${ECHO_T}$ac_cv_target" >&6
1649 target=$ac_cv_target
1650 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1651 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1652 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1653
1654
1655 # The aliases save the names the user supplied, while $host etc.
1656 # will get canonicalized.
1657 test -n "$target_alias" &&
1658 test "$program_prefix$program_suffix$program_transform_name" = \
1659 NONENONEs,x,x, &&
1660 program_prefix=${target_alias}-
1661
1662
1663
1664 wx_major_version_number=2
1665 wx_minor_version_number=6
1666 wx_release_number=0
1667 wx_subrelease_number=0
1668
1669 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1670 WX_VERSION=$WX_RELEASE.$wx_release_number
1671 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1672
1673 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1674
1675 WX_CURRENT=0
1676 WX_REVISION=0
1677 WX_AGE=0
1678
1679
1680
1681 USE_UNIX=1
1682 USE_OS2=0
1683 USE_WIN32=0
1684 USE_DOS=0
1685 USE_BEOS=0
1686 USE_MAC=0
1687
1688 USE_AIX=
1689 USE_BSD= USE_DARWIN= USE_FREEBSD=
1690 USE_GNU= USE_HPUX=
1691 USE_LINUX=
1692 USE_NETBSD=
1693 USE_OPENBSD=
1694 USE_OSF= USE_SGI=
1695 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1696 USE_ULTRIX=
1697 USE_UNIXWARE=
1698
1699 USE_ALPHA=
1700
1701 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1702
1703 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1704
1705 DEFAULT_wxUSE_COCOA=0
1706 DEFAULT_wxUSE_GTK=0
1707 DEFAULT_wxUSE_MAC=0
1708 DEFAULT_wxUSE_MGL=0
1709 DEFAULT_wxUSE_MICROWIN=0
1710 DEFAULT_wxUSE_MOTIF=0
1711 DEFAULT_wxUSE_MSW=0
1712 DEFAULT_wxUSE_PM=0
1713 DEFAULT_wxUSE_X11=0
1714
1715 DEFAULT_DEFAULT_wxUSE_COCOA=0
1716 DEFAULT_DEFAULT_wxUSE_GTK=0
1717 DEFAULT_DEFAULT_wxUSE_MAC=0
1718 DEFAULT_DEFAULT_wxUSE_MGL=0
1719 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1720 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1721 DEFAULT_DEFAULT_wxUSE_MSW=0
1722 DEFAULT_DEFAULT_wxUSE_PM=0
1723 DEFAULT_DEFAULT_wxUSE_X11=0
1724
1725 PROGRAM_EXT=
1726 SO_SUFFIX=so
1727 SAMPLES_RPATH_FLAG=
1728 SAMPLES_RPATH_POSTLINK=
1729
1730 case "${host}" in
1731 *-hp-hpux* )
1732 USE_HPUX=1
1733 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1734 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1735 SO_SUFFIX=sl
1736 cat >>confdefs.h <<\_ACEOF
1737 #define __HPUX__ 1
1738 _ACEOF
1739
1740 ;;
1741 *-*-linux* )
1742 USE_LINUX=1
1743 cat >>confdefs.h <<\_ACEOF
1744 #define __LINUX__ 1
1745 _ACEOF
1746
1747 TMP=`uname -m`
1748 if test "x$TMP" = "xalpha"; then
1749 USE_ALPHA=1
1750 cat >>confdefs.h <<\_ACEOF
1751 #define __ALPHA__ 1
1752 _ACEOF
1753
1754 fi
1755 DEFAULT_DEFAULT_wxUSE_GTK=1
1756 ;;
1757 *-*-gnu* | *-*-k*bsd*-gnu )
1758 USE_GNU=1
1759 TMP=`uname -m`
1760 if test "x$TMP" = "xalpha"; then
1761 USE_ALPHA=1
1762 cat >>confdefs.h <<\_ACEOF
1763 #define __ALPHA__ 1
1764 _ACEOF
1765
1766 fi
1767 DEFAULT_DEFAULT_wxUSE_GTK=1
1768 ;;
1769 *-*-irix5* | *-*-irix6* )
1770 USE_SGI=1
1771 USE_SVR4=1
1772 cat >>confdefs.h <<\_ACEOF
1773 #define __SGI__ 1
1774 _ACEOF
1775
1776 cat >>confdefs.h <<\_ACEOF
1777 #define __SVR4__ 1
1778 _ACEOF
1779
1780 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1781 ;;
1782 *-*-solaris2* )
1783 USE_SUN=1
1784 USE_SOLARIS=1
1785 USE_SVR4=1
1786 cat >>confdefs.h <<\_ACEOF
1787 #define __SUN__ 1
1788 _ACEOF
1789
1790 cat >>confdefs.h <<\_ACEOF
1791 #define __SOLARIS__ 1
1792 _ACEOF
1793
1794 cat >>confdefs.h <<\_ACEOF
1795 #define __SVR4__ 1
1796 _ACEOF
1797
1798 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1799 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1800 ;;
1801 *-*-sunos4* )
1802 USE_SUN=1
1803 USE_SUNOS=1
1804 USE_BSD=1
1805 cat >>confdefs.h <<\_ACEOF
1806 #define __SUN__ 1
1807 _ACEOF
1808
1809 cat >>confdefs.h <<\_ACEOF
1810 #define __SUNOS__ 1
1811 _ACEOF
1812
1813 cat >>confdefs.h <<\_ACEOF
1814 #define __BSD__ 1
1815 _ACEOF
1816
1817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1818 ;;
1819 *-*-freebsd*)
1820 USE_BSD=1
1821 USE_FREEBSD=1
1822 cat >>confdefs.h <<\_ACEOF
1823 #define __FREEBSD__ 1
1824 _ACEOF
1825
1826 cat >>confdefs.h <<\_ACEOF
1827 #define __BSD__ 1
1828 _ACEOF
1829
1830 DEFAULT_DEFAULT_wxUSE_GTK=1
1831 ;;
1832 *-*-openbsd*)
1833 USE_BSD=1
1834 USE_OPENBSD=1
1835 cat >>confdefs.h <<\_ACEOF
1836 #define __OPENBSD__ 1
1837 _ACEOF
1838
1839 cat >>confdefs.h <<\_ACEOF
1840 #define __BSD__ 1
1841 _ACEOF
1842
1843 DEFAULT_DEFAULT_wxUSE_GTK=1
1844 ;;
1845 *-*-netbsd*)
1846 USE_BSD=1
1847 USE_NETBSD=1
1848 cat >>confdefs.h <<\_ACEOF
1849 #define __NETBSD__ 1
1850 _ACEOF
1851
1852 cat >>confdefs.h <<\_ACEOF
1853 #define __BSD__ 1
1854 _ACEOF
1855
1856 DEFAULT_DEFAULT_wxUSE_GTK=1
1857 ;;
1858 *-*-osf* )
1859 USE_ALPHA=1
1860 USE_OSF=1
1861 cat >>confdefs.h <<\_ACEOF
1862 #define __ALPHA__ 1
1863 _ACEOF
1864
1865 cat >>confdefs.h <<\_ACEOF
1866 #define __OSF__ 1
1867 _ACEOF
1868
1869 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1870 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1871 ;;
1872 *-*-dgux5* )
1873 USE_ALPHA=1
1874 USE_SVR4=1
1875 cat >>confdefs.h <<\_ACEOF
1876 #define __ALPHA__ 1
1877 _ACEOF
1878
1879 cat >>confdefs.h <<\_ACEOF
1880 #define __SVR4__ 1
1881 _ACEOF
1882
1883 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1884 ;;
1885 *-*-sysv5* )
1886 USE_SYSV=1
1887 USE_SVR4=1
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __SYSV__ 1
1890 _ACEOF
1891
1892 cat >>confdefs.h <<\_ACEOF
1893 #define __SVR4__ 1
1894 _ACEOF
1895
1896 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1897 ;;
1898 *-*-aix* )
1899 USE_AIX=1
1900 USE_SYSV=1
1901 USE_SVR4=1
1902 SO_SUFFIX=a
1903 cat >>confdefs.h <<\_ACEOF
1904 #define __AIX__ 1
1905 _ACEOF
1906
1907 cat >>confdefs.h <<\_ACEOF
1908 #define __SYSV__ 1
1909 _ACEOF
1910
1911 cat >>confdefs.h <<\_ACEOF
1912 #define __SVR4__ 1
1913 _ACEOF
1914
1915 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1916 ;;
1917
1918 *-*-*UnixWare*)
1919 USE_SYSV=1
1920 USE_SVR4=1
1921 USE_UNIXWARE=1
1922 cat >>confdefs.h <<\_ACEOF
1923 #define __UNIXWARE__ 1
1924 _ACEOF
1925
1926 ;;
1927
1928 *-*-cygwin* | *-*-mingw32* )
1929 SO_SUFFIX=dll
1930 PROGRAM_EXT=".exe"
1931 RESCOMP=windres
1932 DEFAULT_DEFAULT_wxUSE_MSW=1
1933 ;;
1934
1935 *-pc-msdosdjgpp )
1936 USE_UNIX=0
1937 USE_DOS=1
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __DOS__ 1
1940 _ACEOF
1941
1942 PROGRAM_EXT=".exe"
1943 DEFAULT_DEFAULT_wxUSE_MGL=1
1944 LIBS="$LIBS -lstdc++"
1945 ;;
1946
1947 *-pc-os2_emx | *-pc-os2-emx )
1948 cat >>confdefs.h <<\_ACEOF
1949 #define __EMX__ 1
1950 _ACEOF
1951
1952 USE_OS2=1
1953 cat >>confdefs.h <<\_ACEOF
1954 #define __OS2__ 1
1955 _ACEOF
1956
1957 PROGRAM_EXT=".exe"
1958 DEFAULT_DEFAULT_wxUSE_PM=1
1959 CXX=gcc
1960 LDFLAGS="$LDFLAGS -Zcrtdll"
1961 ac_executable_extensions=".exe"
1962 export ac_executable_extensions
1963 ac_save_IFS="$IFS"
1964 IFS='\\'
1965 ac_TEMP_PATH=
1966 for ac_dir in $PATH; do
1967 IFS=$ac_save_IFS
1968 if test -z "$ac_TEMP_PATH"; then
1969 ac_TEMP_PATH="$ac_dir"
1970 else
1971 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1972 fi
1973 done
1974 export PATH="$ac_TEMP_PATH"
1975 unset ac_TEMP_PATH
1976 ;;
1977
1978 powerpc-*-darwin* )
1979 USE_BSD=1
1980 USE_DARWIN=1
1981 SO_SUFFIX=dylib
1982 cat >>confdefs.h <<\_ACEOF
1983 #define __BSD__ 1
1984 _ACEOF
1985
1986 cat >>confdefs.h <<\_ACEOF
1987 #define __DARWIN__ 1
1988 _ACEOF
1989
1990 cat >>confdefs.h <<\_ACEOF
1991 #define TARGET_CARBON 1
1992 _ACEOF
1993
1994 DEFAULT_DEFAULT_wxUSE_MAC=1
1995 ;;
1996 powerpc-apple-macos* )
1997 USE_UNIX=0
1998 ac_cv_c_bigendian=yes
1999 SO_SUFFIX=shlib
2000 DEFAULT_DEFAULT_wxUSE_MAC=1
2001 ;;
2002
2003 *-*-beos* )
2004 USE_BEOS=1
2005 cat >>confdefs.h <<\_ACEOF
2006 #define __BEOS__ 1
2007 _ACEOF
2008
2009 ;;
2010
2011 *)
2012 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2013 echo "$as_me: error: unknown system type ${host}." >&2;}
2014 { (exit 1); exit 1; }; }
2015 esac
2016
2017
2018
2019
2020 wx_arg_cache_file="configarg.cache"
2021 echo "loading argument cache $wx_arg_cache_file"
2022 rm -f ${wx_arg_cache_file}.tmp
2023 touch ${wx_arg_cache_file}.tmp
2024 touch ${wx_arg_cache_file}
2025
2026
2027 DEBUG_CONFIGURE=0
2028 if test $DEBUG_CONFIGURE = 1; then
2029 DEFAULT_wxUSE_UNIVERSAL=no
2030 DEFAULT_wxUSE_STL=no
2031
2032 DEFAULT_wxUSE_NANOX=no
2033
2034 DEFAULT_wxUSE_THREADS=yes
2035
2036 DEFAULT_wxUSE_SHARED=yes
2037 DEFAULT_wxUSE_OPTIMISE=no
2038 DEFAULT_wxUSE_PROFILE=no
2039 DEFAULT_wxUSE_NO_DEPS=no
2040 DEFAULT_wxUSE_NO_RTTI=no
2041 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2042 DEFAULT_wxUSE_RPATH=yes
2043 DEFAULT_wxUSE_PERMISSIVE=no
2044 DEFAULT_wxUSE_DEBUG_FLAG=yes
2045 DEFAULT_wxUSE_DEBUG_INFO=yes
2046 DEFAULT_wxUSE_DEBUG_GDB=yes
2047 DEFAULT_wxUSE_MEM_TRACING=no
2048 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2049 DEFAULT_wxUSE_DMALLOC=no
2050 DEFAULT_wxUSE_APPLE_IEEE=no
2051
2052 DEFAULT_wxUSE_EXCEPTIONS=no
2053 DEFAULT_wxUSE_LOG=yes
2054 DEFAULT_wxUSE_LOGWINDOW=no
2055 DEFAULT_wxUSE_LOGGUI=no
2056 DEFAULT_wxUSE_LOGDIALOG=no
2057
2058 DEFAULT_wxUSE_GUI=yes
2059 DEFAULT_wxUSE_CONTROLS=no
2060
2061 DEFAULT_wxUSE_REGEX=no
2062 DEFAULT_wxUSE_XML=no
2063 DEFAULT_wxUSE_EXPAT=no
2064 DEFAULT_wxUSE_ZLIB=no
2065 DEFAULT_wxUSE_LIBPNG=no
2066 DEFAULT_wxUSE_LIBJPEG=no
2067 DEFAULT_wxUSE_LIBTIFF=no
2068 DEFAULT_wxUSE_LIBXPM=no
2069 DEFAULT_wxUSE_LIBMSPACK=no
2070 DEFAULT_wxUSE_LIBSDL=no
2071 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2072 DEFAULT_wxUSE_ODBC=no
2073 DEFAULT_wxUSE_OPENGL=no
2074
2075 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2076 DEFAULT_wxUSE_STACKWALKER=no
2077 DEFAULT_wxUSE_DEBUGREPORT=no
2078 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2079 DEFAULT_wxUSE_STD_IOSTREAM=no
2080 DEFAULT_wxUSE_STD_STRING=no
2081 DEFAULT_wxUSE_CMDLINE_PARSER=no
2082 DEFAULT_wxUSE_DATETIME=no
2083 DEFAULT_wxUSE_TIMER=no
2084 DEFAULT_wxUSE_STOPWATCH=no
2085 DEFAULT_wxUSE_FILE=no
2086 DEFAULT_wxUSE_FFILE=no
2087 DEFAULT_wxUSE_STDPATHS=no
2088 DEFAULT_wxUSE_TEXTBUFFER=no
2089 DEFAULT_wxUSE_TEXTFILE=no
2090 DEFAULT_wxUSE_SOUND=no
2091 DEFAULT_wxUSE_MEDIACTRL=no
2092 DEFAULT_wxUSE_DIRECTSHOW=no
2093 DEFAULT_wxUSE_INTL=no
2094 DEFAULT_wxUSE_CONFIG=no
2095 DEFAULT_wxUSE_FONTMAP=no
2096 DEFAULT_wxUSE_STREAMS=no
2097 DEFAULT_wxUSE_SOCKETS=no
2098 DEFAULT_wxUSE_OLE=no
2099 DEFAULT_wxUSE_DATAOBJ=no
2100 DEFAULT_wxUSE_DIALUP_MANAGER=no
2101 DEFAULT_wxUSE_JOYSTICK=no
2102 DEFAULT_wxUSE_DYNLIB_CLASS=no
2103 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2104 DEFAULT_wxUSE_LONGLONG=no
2105 DEFAULT_wxUSE_GEOMETRY=no
2106
2107 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2108 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2109 DEFAULT_wxUSE_POSTSCRIPT=no
2110
2111 DEFAULT_wxUSE_CLIPBOARD=no
2112 DEFAULT_wxUSE_TOOLTIPS=no
2113 DEFAULT_wxUSE_DRAG_AND_DROP=no
2114 DEFAULT_wxUSE_DRAGIMAGE=no
2115 DEFAULT_wxUSE_SPLINES=no
2116 DEFAULT_wxUSE_MOUSEWHEEL=no
2117
2118 DEFAULT_wxUSE_MDI=no
2119 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2120 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2121 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2122
2123 DEFAULT_wxUSE_RESOURCES=no
2124 DEFAULT_wxUSE_CONSTRAINTS=no
2125 DEFAULT_wxUSE_IPC=no
2126 DEFAULT_wxUSE_HELP=no
2127 DEFAULT_wxUSE_MS_HTML_HELP=no
2128 DEFAULT_wxUSE_WXHTML_HELP=no
2129 DEFAULT_wxUSE_TREELAYOUT=no
2130 DEFAULT_wxUSE_METAFILE=no
2131 DEFAULT_wxUSE_MIMETYPE=no
2132 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2133 DEFAULT_wxUSE_PROTOCOL=no
2134 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2135 DEFAULT_wxUSE_PROTOCOL_FTP=no
2136 DEFAULT_wxUSE_PROTOCOL_FILE=no
2137 DEFAULT_wxUSE_URL=no
2138
2139 DEFAULT_wxUSE_COMMONDLGS=no
2140 DEFAULT_wxUSE_CHOICEDLG=no
2141 DEFAULT_wxUSE_COLOURDLG=no
2142 DEFAULT_wxUSE_DIRDLG=no
2143 DEFAULT_wxUSE_FILEDLG=no
2144 DEFAULT_wxUSE_FINDREPLDLG=no
2145 DEFAULT_wxUSE_FONTDLG=no
2146 DEFAULT_wxUSE_MSGDLG=no
2147 DEFAULT_wxUSE_NUMBERDLG=no
2148 DEFAULT_wxUSE_TEXTDLG=no
2149 DEFAULT_wxUSE_SPLASH=no
2150 DEFAULT_wxUSE_STARTUP_TIPS=no
2151 DEFAULT_wxUSE_PROGRESSDLG=no
2152 DEFAULT_wxUSE_WIZARDDLG=no
2153
2154 DEFAULT_wxUSE_MENUS=no
2155 DEFAULT_wxUSE_MINIFRAME=no
2156 DEFAULT_wxUSE_HTML=no
2157 DEFAULT_wxUSE_XRC=no
2158 DEFAULT_wxUSE_WEBKIT=no
2159 DEFAULT_wxUSE_FILESYSTEM=no
2160 DEFAULT_wxUSE_FS_INET=no
2161 DEFAULT_wxUSE_FS_ZIP=no
2162 DEFAULT_wxUSE_BUSYINFO=no
2163 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2164 DEFAULT_wxUSE_ZIPSTREAM=no
2165 DEFAULT_wxUSE_VALIDATORS=no
2166
2167 DEFAULT_wxUSE_ACCEL=no
2168 DEFAULT_wxUSE_BUTTON=no
2169 DEFAULT_wxUSE_BMPBUTTON=no
2170 DEFAULT_wxUSE_CALCTRL=no
2171 DEFAULT_wxUSE_CARET=no
2172 DEFAULT_wxUSE_CHECKBOX=no
2173 DEFAULT_wxUSE_CHECKLST=no
2174 DEFAULT_wxUSE_CHOICE=no
2175 DEFAULT_wxUSE_CHOICEBOOK=no
2176 DEFAULT_wxUSE_COMBOBOX=no
2177 DEFAULT_wxUSE_DATEPICKCTRL=no
2178 DEFAULT_wxUSE_DISPLAY=no
2179 DEFAULT_wxUSE_GAUGE=no
2180 DEFAULT_wxUSE_GRID=no
2181 DEFAULT_wxUSE_IMAGLIST=no
2182 DEFAULT_wxUSE_LISTBOOK=no
2183 DEFAULT_wxUSE_LISTBOX=no
2184 DEFAULT_wxUSE_LISTCTRL=no
2185 DEFAULT_wxUSE_NOTEBOOK=no
2186 DEFAULT_wxUSE_RADIOBOX=no
2187 DEFAULT_wxUSE_RADIOBTN=no
2188 DEFAULT_wxUSE_SASH=no
2189 DEFAULT_wxUSE_SCROLLBAR=no
2190 DEFAULT_wxUSE_SLIDER=no
2191 DEFAULT_wxUSE_SPINBTN=no
2192 DEFAULT_wxUSE_SPINCTRL=no
2193 DEFAULT_wxUSE_SPLITTER=no
2194 DEFAULT_wxUSE_STATBMP=no
2195 DEFAULT_wxUSE_STATBOX=no
2196 DEFAULT_wxUSE_STATLINE=no
2197 DEFAULT_wxUSE_STATTEXT=no
2198 DEFAULT_wxUSE_STATUSBAR=yes
2199 DEFAULT_wxUSE_TABDIALOG=no
2200 DEFAULT_wxUSE_TEXTCTRL=no
2201 DEFAULT_wxUSE_TOGGLEBTN=no
2202 DEFAULT_wxUSE_TOOLBAR=no
2203 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2204 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2205 DEFAULT_wxUSE_TREECTRL=no
2206 DEFAULT_wxUSE_POPUPWIN=no
2207 DEFAULT_wxUSE_TIPWINDOW=no
2208
2209 DEFAULT_wxUSE_UNICODE=no
2210 DEFAULT_wxUSE_UNICODE_MSLU=no
2211 DEFAULT_wxUSE_WCSRTOMBS=no
2212
2213 DEFAULT_wxUSE_PALETTE=no
2214 DEFAULT_wxUSE_IMAGE=no
2215 DEFAULT_wxUSE_GIF=no
2216 DEFAULT_wxUSE_PCX=no
2217 DEFAULT_wxUSE_PNM=no
2218 DEFAULT_wxUSE_IFF=no
2219 DEFAULT_wxUSE_XPM=no
2220 DEFAULT_wxUSE_ICO_CUR=no
2221 DEFAULT_wxUSE_ACCESSIBILITY=no
2222
2223 DEFAULT_wxUSE_MONOLITHIC=no
2224 DEFAULT_wxUSE_PLUGINS=no
2225 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2226
2227 DEFAULT_wxUSE_GTK1=no
2228 DEFAULT_wxUSE_GTK2=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=yes
2272 DEFAULT_wxUSE_ODBC=no
2273 DEFAULT_wxUSE_OPENGL=yes
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=yes
2280 DEFAULT_wxUSE_STD_STRING=yes
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_DIRECTSHOW=no
2293 DEFAULT_wxUSE_INTL=yes
2294 DEFAULT_wxUSE_CONFIG=yes
2295 DEFAULT_wxUSE_FONTMAP=yes
2296 DEFAULT_wxUSE_STREAMS=yes
2297 DEFAULT_wxUSE_SOCKETS=yes
2298 DEFAULT_wxUSE_OLE=yes
2299 DEFAULT_wxUSE_DATAOBJ=yes
2300 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2301 DEFAULT_wxUSE_JOYSTICK=yes
2302 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2303 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2304 DEFAULT_wxUSE_LONGLONG=yes
2305 DEFAULT_wxUSE_GEOMETRY=yes
2306
2307 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2308 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2309 DEFAULT_wxUSE_POSTSCRIPT=yes
2310
2311 DEFAULT_wxUSE_CLIPBOARD=yes
2312 DEFAULT_wxUSE_TOOLTIPS=yes
2313 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2314 DEFAULT_wxUSE_DRAGIMAGE=yes
2315 DEFAULT_wxUSE_SPLINES=yes
2316 DEFAULT_wxUSE_MOUSEWHEEL=yes
2317
2318 DEFAULT_wxUSE_MDI=yes
2319 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2320 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2321 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2322
2323 DEFAULT_wxUSE_RESOURCES=no
2324 DEFAULT_wxUSE_CONSTRAINTS=yes
2325 DEFAULT_wxUSE_IPC=yes
2326 DEFAULT_wxUSE_HELP=yes
2327 DEFAULT_wxUSE_MS_HTML_HELP=yes
2328 DEFAULT_wxUSE_WXHTML_HELP=yes
2329 DEFAULT_wxUSE_TREELAYOUT=yes
2330 DEFAULT_wxUSE_METAFILE=yes
2331 DEFAULT_wxUSE_MIMETYPE=yes
2332 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2333 DEFAULT_wxUSE_PROTOCOL=yes
2334 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2335 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2336 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2337 DEFAULT_wxUSE_URL=yes
2338
2339 DEFAULT_wxUSE_COMMONDLGS=yes
2340 DEFAULT_wxUSE_CHOICEDLG=yes
2341 DEFAULT_wxUSE_COLOURDLG=yes
2342 DEFAULT_wxUSE_DIRDLG=yes
2343 DEFAULT_wxUSE_FILEDLG=yes
2344 DEFAULT_wxUSE_FINDREPLDLG=yes
2345 DEFAULT_wxUSE_FONTDLG=yes
2346 DEFAULT_wxUSE_MSGDLG=yes
2347 DEFAULT_wxUSE_NUMBERDLG=yes
2348 DEFAULT_wxUSE_TEXTDLG=yes
2349 DEFAULT_wxUSE_SPLASH=yes
2350 DEFAULT_wxUSE_STARTUP_TIPS=yes
2351 DEFAULT_wxUSE_PROGRESSDLG=yes
2352 DEFAULT_wxUSE_WIZARDDLG=yes
2353
2354 DEFAULT_wxUSE_MENUS=yes
2355 DEFAULT_wxUSE_MINIFRAME=yes
2356 DEFAULT_wxUSE_HTML=yes
2357 DEFAULT_wxUSE_XRC=yes
2358 DEFAULT_wxUSE_WEBKIT=yes
2359 DEFAULT_wxUSE_FILESYSTEM=yes
2360 DEFAULT_wxUSE_FS_INET=yes
2361 DEFAULT_wxUSE_FS_ZIP=yes
2362 DEFAULT_wxUSE_BUSYINFO=yes
2363 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2364 DEFAULT_wxUSE_ZIPSTREAM=yes
2365 DEFAULT_wxUSE_VALIDATORS=yes
2366
2367 DEFAULT_wxUSE_ACCEL=yes
2368 DEFAULT_wxUSE_BUTTON=yes
2369 DEFAULT_wxUSE_BMPBUTTON=yes
2370 DEFAULT_wxUSE_CALCTRL=yes
2371 DEFAULT_wxUSE_CARET=yes
2372 DEFAULT_wxUSE_CHECKBOX=yes
2373 DEFAULT_wxUSE_CHECKLST=yes
2374 DEFAULT_wxUSE_CHOICE=yes
2375 DEFAULT_wxUSE_CHOICEBOOK=yes
2376 DEFAULT_wxUSE_COMBOBOX=yes
2377 DEFAULT_wxUSE_DATEPICKCTRL=yes
2378 DEFAULT_wxUSE_DISPLAY=yes
2379 DEFAULT_wxUSE_GAUGE=yes
2380 DEFAULT_wxUSE_GRID=yes
2381 DEFAULT_wxUSE_IMAGLIST=yes
2382 DEFAULT_wxUSE_LISTBOOK=yes
2383 DEFAULT_wxUSE_LISTBOX=yes
2384 DEFAULT_wxUSE_LISTCTRL=yes
2385 DEFAULT_wxUSE_NOTEBOOK=yes
2386 DEFAULT_wxUSE_RADIOBOX=yes
2387 DEFAULT_wxUSE_RADIOBTN=yes
2388 DEFAULT_wxUSE_SASH=yes
2389 DEFAULT_wxUSE_SCROLLBAR=yes
2390 DEFAULT_wxUSE_SLIDER=yes
2391 DEFAULT_wxUSE_SPINBTN=yes
2392 DEFAULT_wxUSE_SPINCTRL=yes
2393 DEFAULT_wxUSE_SPLITTER=yes
2394 DEFAULT_wxUSE_STATBMP=yes
2395 DEFAULT_wxUSE_STATBOX=yes
2396 DEFAULT_wxUSE_STATLINE=yes
2397 DEFAULT_wxUSE_STATTEXT=yes
2398 DEFAULT_wxUSE_STATUSBAR=yes
2399 DEFAULT_wxUSE_TABDIALOG=no
2400 DEFAULT_wxUSE_TEXTCTRL=yes
2401 DEFAULT_wxUSE_TOGGLEBTN=yes
2402 DEFAULT_wxUSE_TOOLBAR=yes
2403 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2404 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2405 DEFAULT_wxUSE_TREECTRL=yes
2406 DEFAULT_wxUSE_POPUPWIN=yes
2407 DEFAULT_wxUSE_TIPWINDOW=yes
2408
2409 DEFAULT_wxUSE_UNICODE=no
2410 DEFAULT_wxUSE_UNICODE_MSLU=yes
2411 DEFAULT_wxUSE_WCSRTOMBS=no
2412
2413 DEFAULT_wxUSE_PALETTE=yes
2414 DEFAULT_wxUSE_IMAGE=yes
2415 DEFAULT_wxUSE_GIF=yes
2416 DEFAULT_wxUSE_PCX=yes
2417 DEFAULT_wxUSE_IFF=no
2418 DEFAULT_wxUSE_PNM=yes
2419 DEFAULT_wxUSE_XPM=yes
2420 DEFAULT_wxUSE_ICO_CUR=yes
2421 DEFAULT_wxUSE_ACCESSIBILITY=no
2422
2423 DEFAULT_wxUSE_MONOLITHIC=no
2424 DEFAULT_wxUSE_PLUGINS=no
2425 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2426
2427 DEFAULT_wxUSE_GTK1=no
2428 DEFAULT_wxUSE_GTK2=no
2429 fi
2430
2431
2432
2433 for toolkit in `echo $ALL_TOOLKITS`; do
2434 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2435 if test "x$LINE" != "x" ; then
2436 has_toolkit_in_cache=1
2437 eval "DEFAULT_$LINE"
2438 eval "CACHE_$toolkit=1"
2439 fi
2440 done
2441
2442
2443
2444 enablestring=
2445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2446 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2447 no_cache=0
2448 # Check whether --enable-gui or --disable-gui was given.
2449 if test "${enable_gui+set}" = set; then
2450 enableval="$enable_gui"
2451
2452 if test "$enableval" = yes; then
2453 ac_cv_use_gui='wxUSE_GUI=yes'
2454 else
2455 ac_cv_use_gui='wxUSE_GUI=no'
2456 fi
2457
2458 else
2459
2460 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2461 if test "x$LINE" != x ; then
2462 eval "DEFAULT_$LINE"
2463 else
2464 no_cache=1
2465 fi
2466
2467 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2468
2469 fi;
2470
2471 eval "$ac_cv_use_gui"
2472 if test "$no_cache" != 1; then
2473 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2474 fi
2475
2476 if test "$wxUSE_GUI" = yes; then
2477 echo "$as_me:$LINENO: result: yes" >&5
2478 echo "${ECHO_T}yes" >&6
2479 else
2480 echo "$as_me:$LINENO: result: no" >&5
2481 echo "${ECHO_T}no" >&6
2482 fi
2483
2484
2485 enablestring=
2486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2487 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2488 no_cache=0
2489 # Check whether --enable-monolithic or --disable-monolithic was given.
2490 if test "${enable_monolithic+set}" = set; then
2491 enableval="$enable_monolithic"
2492
2493 if test "$enableval" = yes; then
2494 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2495 else
2496 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2497 fi
2498
2499 else
2500
2501 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2502 if test "x$LINE" != x ; then
2503 eval "DEFAULT_$LINE"
2504 else
2505 no_cache=1
2506 fi
2507
2508 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2509
2510 fi;
2511
2512 eval "$ac_cv_use_monolithic"
2513 if test "$no_cache" != 1; then
2514 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2515 fi
2516
2517 if test "$wxUSE_MONOLITHIC" = yes; then
2518 echo "$as_me:$LINENO: result: yes" >&5
2519 echo "${ECHO_T}yes" >&6
2520 else
2521 echo "$as_me:$LINENO: result: no" >&5
2522 echo "${ECHO_T}no" >&6
2523 fi
2524
2525
2526 enablestring=
2527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2528 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2529 no_cache=0
2530 # Check whether --enable-plugins or --disable-plugins was given.
2531 if test "${enable_plugins+set}" = set; then
2532 enableval="$enable_plugins"
2533
2534 if test "$enableval" = yes; then
2535 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2536 else
2537 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2538 fi
2539
2540 else
2541
2542 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2543 if test "x$LINE" != x ; then
2544 eval "DEFAULT_$LINE"
2545 else
2546 no_cache=1
2547 fi
2548
2549 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2550
2551 fi;
2552
2553 eval "$ac_cv_use_plugins"
2554 if test "$no_cache" != 1; then
2555 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2556 fi
2557
2558 if test "$wxUSE_PLUGINS" = yes; then
2559 echo "$as_me:$LINENO: result: yes" >&5
2560 echo "${ECHO_T}yes" >&6
2561 else
2562 echo "$as_me:$LINENO: result: no" >&5
2563 echo "${ECHO_T}no" >&6
2564 fi
2565
2566
2567 if test "$wxUSE_GUI" = "yes"; then
2568
2569
2570 enablestring=
2571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2572 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2573 no_cache=0
2574 # Check whether --enable-universal or --disable-universal was given.
2575 if test "${enable_universal+set}" = set; then
2576 enableval="$enable_universal"
2577
2578 if test "$enableval" = yes; then
2579 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2580 else
2581 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2582 fi
2583
2584 else
2585
2586 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2587 if test "x$LINE" != x ; then
2588 eval "DEFAULT_$LINE"
2589 else
2590 no_cache=1
2591 fi
2592
2593 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2594
2595 fi;
2596
2597 eval "$ac_cv_use_universal"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2600 fi
2601
2602 if test "$wxUSE_UNIVERSAL" = yes; then
2603 echo "$as_me:$LINENO: result: yes" >&5
2604 echo "${ECHO_T}yes" >&6
2605 else
2606 echo "$as_me:$LINENO: result: no" >&5
2607 echo "${ECHO_T}no" >&6
2608 fi
2609
2610
2611 # Check whether --with-gtk or --without-gtk was given.
2612 if test "${with_gtk+set}" = set; then
2613 withval="$with_gtk"
2614 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2615 fi;
2616
2617 echo "$as_me:$LINENO: checking for --with-gtk1" >&5
2618 echo $ECHO_N "checking for --with-gtk1... $ECHO_C" >&6
2619 no_cache=0
2620
2621 # Check whether --with-gtk1 or --without-gtk1 was given.
2622 if test "${with_gtk1+set}" = set; then
2623 withval="$with_gtk1"
2624
2625 if test "$withval" = yes; then
2626 ac_cv_use_gtk1='wxUSE_GTK1=yes'
2627 else
2628 ac_cv_use_gtk1='wxUSE_GTK1=no'
2629 fi
2630
2631 else
2632
2633 LINE=`grep "wxUSE_GTK1" ${wx_arg_cache_file}`
2634 if test "x$LINE" != x ; then
2635 eval "DEFAULT_$LINE"
2636 else
2637 no_cache=1
2638 fi
2639
2640 ac_cv_use_gtk1='wxUSE_GTK1='$DEFAULT_wxUSE_GTK1
2641
2642 fi;
2643
2644 eval "$ac_cv_use_gtk1"
2645 if test "$no_cache" != 1; then
2646 echo $ac_cv_use_gtk1 >> ${wx_arg_cache_file}.tmp
2647 fi
2648
2649 if test "$wxUSE_GTK1" = yes; then
2650 echo "$as_me:$LINENO: result: yes" >&5
2651 echo "${ECHO_T}yes" >&6
2652 else
2653 echo "$as_me:$LINENO: result: no" >&5
2654 echo "${ECHO_T}no" >&6
2655 fi
2656
2657
2658 echo "$as_me:$LINENO: checking for --with-gtk2" >&5
2659 echo $ECHO_N "checking for --with-gtk2... $ECHO_C" >&6
2660 no_cache=0
2661
2662 # Check whether --with-gtk2 or --without-gtk2 was given.
2663 if test "${with_gtk2+set}" = set; then
2664 withval="$with_gtk2"
2665
2666 if test "$withval" = yes; then
2667 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2668 else
2669 ac_cv_use_gtk2='wxUSE_GTK2=no'
2670 fi
2671
2672 else
2673
2674 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2675 if test "x$LINE" != x ; then
2676 eval "DEFAULT_$LINE"
2677 else
2678 no_cache=1
2679 fi
2680
2681 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2682
2683 fi;
2684
2685 eval "$ac_cv_use_gtk2"
2686 if test "$no_cache" != 1; then
2687 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2688 fi
2689
2690 if test "$wxUSE_GTK2" = yes; then
2691 echo "$as_me:$LINENO: result: yes" >&5
2692 echo "${ECHO_T}yes" >&6
2693 else
2694 echo "$as_me:$LINENO: result: no" >&5
2695 echo "${ECHO_T}no" >&6
2696 fi
2697
2698
2699 # Check whether --with-motif or --without-motif was given.
2700 if test "${with_motif+set}" = set; then
2701 withval="$with_motif"
2702 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2703 fi;
2704
2705 # Check whether --with-mac or --without-mac was given.
2706 if test "${with_mac+set}" = set; then
2707 withval="$with_mac"
2708 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2709 fi;
2710
2711 # Check whether --with-cocoa or --without-cocoa was given.
2712 if test "${with_cocoa+set}" = set; then
2713 withval="$with_cocoa"
2714 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2715 fi;
2716
2717 # Check whether --with-wine or --without-wine was given.
2718 if test "${with_wine+set}" = set; then
2719 withval="$with_wine"
2720 wxUSE_WINE="$withval" CACHE_WINE=1
2721 fi;
2722
2723 # Check whether --with-msw or --without-msw was given.
2724 if test "${with_msw+set}" = set; then
2725 withval="$with_msw"
2726 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2727 fi;
2728
2729 # Check whether --with-pm or --without-pm was given.
2730 if test "${with_pm+set}" = set; then
2731 withval="$with_pm"
2732 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2733 fi;
2734
2735 # Check whether --with-mgl or --without-mgl was given.
2736 if test "${with_mgl+set}" = set; then
2737 withval="$with_mgl"
2738 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2739 fi;
2740
2741 # Check whether --with-microwin or --without-microwin was given.
2742 if test "${with_microwin+set}" = set; then
2743 withval="$with_microwin"
2744 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2745 fi;
2746
2747 # Check whether --with-x11 or --without-x11 was given.
2748 if test "${with_x11+set}" = set; then
2749 withval="$with_x11"
2750 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2751 fi;
2752
2753 enablestring=
2754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2755 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2756 no_cache=0
2757 # Check whether --enable-nanox or --disable-nanox was given.
2758 if test "${enable_nanox+set}" = set; then
2759 enableval="$enable_nanox"
2760
2761 if test "$enableval" = yes; then
2762 ac_cv_use_nanox='wxUSE_NANOX=yes'
2763 else
2764 ac_cv_use_nanox='wxUSE_NANOX=no'
2765 fi
2766
2767 else
2768
2769 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2770 if test "x$LINE" != x ; then
2771 eval "DEFAULT_$LINE"
2772 else
2773 no_cache=1
2774 fi
2775
2776 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2777
2778 fi;
2779
2780 eval "$ac_cv_use_nanox"
2781 if test "$no_cache" != 1; then
2782 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2783 fi
2784
2785 if test "$wxUSE_NANOX" = yes; then
2786 echo "$as_me:$LINENO: result: yes" >&5
2787 echo "${ECHO_T}yes" >&6
2788 else
2789 echo "$as_me:$LINENO: result: no" >&5
2790 echo "${ECHO_T}no" >&6
2791 fi
2792
2793
2794
2795 enablestring=
2796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2797 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2798 no_cache=0
2799 # Check whether --enable-gpe or --disable-gpe was given.
2800 if test "${enable_gpe+set}" = set; then
2801 enableval="$enable_gpe"
2802
2803 if test "$enableval" = yes; then
2804 ac_cv_use_gpe='wxUSE_GPE=yes'
2805 else
2806 ac_cv_use_gpe='wxUSE_GPE=no'
2807 fi
2808
2809 else
2810
2811 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2812 if test "x$LINE" != x ; then
2813 eval "DEFAULT_$LINE"
2814 else
2815 no_cache=1
2816 fi
2817
2818 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2819
2820 fi;
2821
2822 eval "$ac_cv_use_gpe"
2823 if test "$no_cache" != 1; then
2824 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2825 fi
2826
2827 if test "$wxUSE_GPE" = yes; then
2828 echo "$as_me:$LINENO: result: yes" >&5
2829 echo "${ECHO_T}yes" >&6
2830 else
2831 echo "$as_me:$LINENO: result: no" >&5
2832 echo "${ECHO_T}no" >&6
2833 fi
2834
2835
2836
2837 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2838 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2839 no_cache=0
2840
2841 # Check whether --with-libpng or --without-libpng was given.
2842 if test "${with_libpng+set}" = set; then
2843 withval="$with_libpng"
2844
2845 if test "$withval" = yes; then
2846 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2847 elif test "$withval" = no; then
2848 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2849 elif test "$withval" = sys; then
2850 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2851 elif test "$withval" = builtin; then
2852 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2853 else
2854 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2855 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2856 { (exit 1); exit 1; }; }
2857 fi
2858
2859 else
2860
2861 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2862 if test "x$LINE" != x ; then
2863 eval "DEFAULT_$LINE"
2864 else
2865 no_cache=1
2866 fi
2867
2868 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2869
2870 fi;
2871
2872 eval "$ac_cv_use_libpng"
2873 if test "$no_cache" != 1; then
2874 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2875 fi
2876
2877 if test "$wxUSE_LIBPNG" = yes; then
2878 echo "$as_me:$LINENO: result: yes" >&5
2879 echo "${ECHO_T}yes" >&6
2880 elif test "$wxUSE_LIBPNG" = no; then
2881 echo "$as_me:$LINENO: result: no" >&5
2882 echo "${ECHO_T}no" >&6
2883 elif test "$wxUSE_LIBPNG" = sys; then
2884 echo "$as_me:$LINENO: result: system version" >&5
2885 echo "${ECHO_T}system version" >&6
2886 elif test "$wxUSE_LIBPNG" = builtin; then
2887 echo "$as_me:$LINENO: result: builtin version" >&5
2888 echo "${ECHO_T}builtin version" >&6
2889 else
2890 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2891 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2892 { (exit 1); exit 1; }; }
2893 fi
2894
2895
2896 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2897 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2898 no_cache=0
2899
2900 # Check whether --with-libjpeg or --without-libjpeg was given.
2901 if test "${with_libjpeg+set}" = set; then
2902 withval="$with_libjpeg"
2903
2904 if test "$withval" = yes; then
2905 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2906 elif test "$withval" = no; then
2907 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2908 elif test "$withval" = sys; then
2909 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2910 elif test "$withval" = builtin; then
2911 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2912 else
2913 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2914 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2915 { (exit 1); exit 1; }; }
2916 fi
2917
2918 else
2919
2920 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2921 if test "x$LINE" != x ; then
2922 eval "DEFAULT_$LINE"
2923 else
2924 no_cache=1
2925 fi
2926
2927 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2928
2929 fi;
2930
2931 eval "$ac_cv_use_libjpeg"
2932 if test "$no_cache" != 1; then
2933 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2934 fi
2935
2936 if test "$wxUSE_LIBJPEG" = yes; then
2937 echo "$as_me:$LINENO: result: yes" >&5
2938 echo "${ECHO_T}yes" >&6
2939 elif test "$wxUSE_LIBJPEG" = no; then
2940 echo "$as_me:$LINENO: result: no" >&5
2941 echo "${ECHO_T}no" >&6
2942 elif test "$wxUSE_LIBJPEG" = sys; then
2943 echo "$as_me:$LINENO: result: system version" >&5
2944 echo "${ECHO_T}system version" >&6
2945 elif test "$wxUSE_LIBJPEG" = builtin; then
2946 echo "$as_me:$LINENO: result: builtin version" >&5
2947 echo "${ECHO_T}builtin version" >&6
2948 else
2949 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2950 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2951 { (exit 1); exit 1; }; }
2952 fi
2953
2954
2955 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2956 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2957 no_cache=0
2958
2959 # Check whether --with-libtiff or --without-libtiff was given.
2960 if test "${with_libtiff+set}" = set; then
2961 withval="$with_libtiff"
2962
2963 if test "$withval" = yes; then
2964 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2965 elif test "$withval" = no; then
2966 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2967 elif test "$withval" = sys; then
2968 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2969 elif test "$withval" = builtin; then
2970 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2971 else
2972 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2973 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2974 { (exit 1); exit 1; }; }
2975 fi
2976
2977 else
2978
2979 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2980 if test "x$LINE" != x ; then
2981 eval "DEFAULT_$LINE"
2982 else
2983 no_cache=1
2984 fi
2985
2986 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2987
2988 fi;
2989
2990 eval "$ac_cv_use_libtiff"
2991 if test "$no_cache" != 1; then
2992 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2993 fi
2994
2995 if test "$wxUSE_LIBTIFF" = yes; then
2996 echo "$as_me:$LINENO: result: yes" >&5
2997 echo "${ECHO_T}yes" >&6
2998 elif test "$wxUSE_LIBTIFF" = no; then
2999 echo "$as_me:$LINENO: result: no" >&5
3000 echo "${ECHO_T}no" >&6
3001 elif test "$wxUSE_LIBTIFF" = sys; then
3002 echo "$as_me:$LINENO: result: system version" >&5
3003 echo "${ECHO_T}system version" >&6
3004 elif test "$wxUSE_LIBTIFF" = builtin; then
3005 echo "$as_me:$LINENO: result: builtin version" >&5
3006 echo "${ECHO_T}builtin version" >&6
3007 else
3008 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3009 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3010 { (exit 1); exit 1; }; }
3011 fi
3012
3013
3014 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3015 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3016 no_cache=0
3017
3018 # Check whether --with-libxpm or --without-libxpm was given.
3019 if test "${with_libxpm+set}" = set; then
3020 withval="$with_libxpm"
3021
3022 if test "$withval" = yes; then
3023 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3024 elif test "$withval" = no; then
3025 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3026 elif test "$withval" = sys; then
3027 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3028 elif test "$withval" = builtin; then
3029 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3030 else
3031 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3032 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3033 { (exit 1); exit 1; }; }
3034 fi
3035
3036 else
3037
3038 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3039 if test "x$LINE" != x ; then
3040 eval "DEFAULT_$LINE"
3041 else
3042 no_cache=1
3043 fi
3044
3045 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3046
3047 fi;
3048
3049 eval "$ac_cv_use_libxpm"
3050 if test "$no_cache" != 1; then
3051 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3052 fi
3053
3054 if test "$wxUSE_LIBXPM" = yes; then
3055 echo "$as_me:$LINENO: result: yes" >&5
3056 echo "${ECHO_T}yes" >&6
3057 elif test "$wxUSE_LIBXPM" = no; then
3058 echo "$as_me:$LINENO: result: no" >&5
3059 echo "${ECHO_T}no" >&6
3060 elif test "$wxUSE_LIBXPM" = sys; then
3061 echo "$as_me:$LINENO: result: system version" >&5
3062 echo "${ECHO_T}system version" >&6
3063 elif test "$wxUSE_LIBXPM" = builtin; then
3064 echo "$as_me:$LINENO: result: builtin version" >&5
3065 echo "${ECHO_T}builtin version" >&6
3066 else
3067 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3068 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3069 { (exit 1); exit 1; }; }
3070 fi
3071
3072
3073 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3074 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3075 no_cache=0
3076
3077 # Check whether --with-libmspack or --without-libmspack was given.
3078 if test "${with_libmspack+set}" = set; then
3079 withval="$with_libmspack"
3080
3081 if test "$withval" = yes; then
3082 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3083 else
3084 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3085 fi
3086
3087 else
3088
3089 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3090 if test "x$LINE" != x ; then
3091 eval "DEFAULT_$LINE"
3092 else
3093 no_cache=1
3094 fi
3095
3096 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3097
3098 fi;
3099
3100 eval "$ac_cv_use_libmspack"
3101 if test "$no_cache" != 1; then
3102 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3103 fi
3104
3105 if test "$wxUSE_LIBMSPACK" = yes; then
3106 echo "$as_me:$LINENO: result: yes" >&5
3107 echo "${ECHO_T}yes" >&6
3108 else
3109 echo "$as_me:$LINENO: result: no" >&5
3110 echo "${ECHO_T}no" >&6
3111 fi
3112
3113
3114 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3115 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3116 no_cache=0
3117
3118 # Check whether --with-sdl or --without-sdl was given.
3119 if test "${with_sdl+set}" = set; then
3120 withval="$with_sdl"
3121
3122 if test "$withval" = yes; then
3123 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3124 else
3125 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3126 fi
3127
3128 else
3129
3130 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3131 if test "x$LINE" != x ; then
3132 eval "DEFAULT_$LINE"
3133 else
3134 no_cache=1
3135 fi
3136
3137 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3138
3139 fi;
3140
3141 eval "$ac_cv_use_sdl"
3142 if test "$no_cache" != 1; then
3143 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3144 fi
3145
3146 if test "$wxUSE_LIBSDL" = yes; then
3147 echo "$as_me:$LINENO: result: yes" >&5
3148 echo "${ECHO_T}yes" >&6
3149 else
3150 echo "$as_me:$LINENO: result: no" >&5
3151 echo "${ECHO_T}no" >&6
3152 fi
3153
3154
3155 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3156 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3157 no_cache=0
3158
3159 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3160 if test "${with_gnomeprint+set}" = set; then
3161 withval="$with_gnomeprint"
3162
3163 if test "$withval" = yes; then
3164 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3165 else
3166 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3167 fi
3168
3169 else
3170
3171 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3172 if test "x$LINE" != x ; then
3173 eval "DEFAULT_$LINE"
3174 else
3175 no_cache=1
3176 fi
3177
3178 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3179
3180 fi;
3181
3182 eval "$ac_cv_use_gnomeprint"
3183 if test "$no_cache" != 1; then
3184 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3185 fi
3186
3187 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3188 echo "$as_me:$LINENO: result: yes" >&5
3189 echo "${ECHO_T}yes" >&6
3190 else
3191 echo "$as_me:$LINENO: result: no" >&5
3192 echo "${ECHO_T}no" >&6
3193 fi
3194
3195
3196 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3197 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3198 no_cache=0
3199
3200 # Check whether --with-opengl or --without-opengl was given.
3201 if test "${with_opengl+set}" = set; then
3202 withval="$with_opengl"
3203
3204 if test "$withval" = yes; then
3205 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3206 else
3207 ac_cv_use_opengl='wxUSE_OPENGL=no'
3208 fi
3209
3210 else
3211
3212 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x ; then
3214 eval "DEFAULT_$LINE"
3215 else
3216 no_cache=1
3217 fi
3218
3219 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3220
3221 fi;
3222
3223 eval "$ac_cv_use_opengl"
3224 if test "$no_cache" != 1; then
3225 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3226 fi
3227
3228 if test "$wxUSE_OPENGL" = yes; then
3229 echo "$as_me:$LINENO: result: yes" >&5
3230 echo "${ECHO_T}yes" >&6
3231 else
3232 echo "$as_me:$LINENO: result: no" >&5
3233 echo "${ECHO_T}no" >&6
3234 fi
3235
3236
3237 fi
3238
3239
3240 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3241 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3242 no_cache=0
3243
3244 # Check whether --with-dmalloc or --without-dmalloc was given.
3245 if test "${with_dmalloc+set}" = set; then
3246 withval="$with_dmalloc"
3247
3248 if test "$withval" = yes; then
3249 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3250 else
3251 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3252 fi
3253
3254 else
3255
3256 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3257 if test "x$LINE" != x ; then
3258 eval "DEFAULT_$LINE"
3259 else
3260 no_cache=1
3261 fi
3262
3263 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3264
3265 fi;
3266
3267 eval "$ac_cv_use_dmalloc"
3268 if test "$no_cache" != 1; then
3269 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3270 fi
3271
3272 if test "$wxUSE_DMALLOC" = yes; then
3273 echo "$as_me:$LINENO: result: yes" >&5
3274 echo "${ECHO_T}yes" >&6
3275 else
3276 echo "$as_me:$LINENO: result: no" >&5
3277 echo "${ECHO_T}no" >&6
3278 fi
3279
3280
3281 echo "$as_me:$LINENO: checking for --with-regex" >&5
3282 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3283 no_cache=0
3284
3285 # Check whether --with-regex or --without-regex was given.
3286 if test "${with_regex+set}" = set; then
3287 withval="$with_regex"
3288
3289 if test "$withval" = yes; then
3290 ac_cv_use_regex='wxUSE_REGEX=yes'
3291 elif test "$withval" = no; then
3292 ac_cv_use_regex='wxUSE_REGEX=no'
3293 elif test "$withval" = sys; then
3294 ac_cv_use_regex='wxUSE_REGEX=sys'
3295 elif test "$withval" = builtin; then
3296 ac_cv_use_regex='wxUSE_REGEX=builtin'
3297 else
3298 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3299 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3300 { (exit 1); exit 1; }; }
3301 fi
3302
3303 else
3304
3305 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3306 if test "x$LINE" != x ; then
3307 eval "DEFAULT_$LINE"
3308 else
3309 no_cache=1
3310 fi
3311
3312 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3313
3314 fi;
3315
3316 eval "$ac_cv_use_regex"
3317 if test "$no_cache" != 1; then
3318 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3319 fi
3320
3321 if test "$wxUSE_REGEX" = yes; then
3322 echo "$as_me:$LINENO: result: yes" >&5
3323 echo "${ECHO_T}yes" >&6
3324 elif test "$wxUSE_REGEX" = no; then
3325 echo "$as_me:$LINENO: result: no" >&5
3326 echo "${ECHO_T}no" >&6
3327 elif test "$wxUSE_REGEX" = sys; then
3328 echo "$as_me:$LINENO: result: system version" >&5
3329 echo "${ECHO_T}system version" >&6
3330 elif test "$wxUSE_REGEX" = builtin; then
3331 echo "$as_me:$LINENO: result: builtin version" >&5
3332 echo "${ECHO_T}builtin version" >&6
3333 else
3334 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3335 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3336 { (exit 1); exit 1; }; }
3337 fi
3338
3339
3340 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3341 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3342 no_cache=0
3343
3344 # Check whether --with-zlib or --without-zlib was given.
3345 if test "${with_zlib+set}" = set; then
3346 withval="$with_zlib"
3347
3348 if test "$withval" = yes; then
3349 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3350 elif test "$withval" = no; then
3351 ac_cv_use_zlib='wxUSE_ZLIB=no'
3352 elif test "$withval" = sys; then
3353 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3354 elif test "$withval" = builtin; then
3355 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3356 else
3357 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3358 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3359 { (exit 1); exit 1; }; }
3360 fi
3361
3362 else
3363
3364 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x ; then
3366 eval "DEFAULT_$LINE"
3367 else
3368 no_cache=1
3369 fi
3370
3371 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3372
3373 fi;
3374
3375 eval "$ac_cv_use_zlib"
3376 if test "$no_cache" != 1; then
3377 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3378 fi
3379
3380 if test "$wxUSE_ZLIB" = yes; then
3381 echo "$as_me:$LINENO: result: yes" >&5
3382 echo "${ECHO_T}yes" >&6
3383 elif test "$wxUSE_ZLIB" = no; then
3384 echo "$as_me:$LINENO: result: no" >&5
3385 echo "${ECHO_T}no" >&6
3386 elif test "$wxUSE_ZLIB" = sys; then
3387 echo "$as_me:$LINENO: result: system version" >&5
3388 echo "${ECHO_T}system version" >&6
3389 elif test "$wxUSE_ZLIB" = builtin; then
3390 echo "$as_me:$LINENO: result: builtin version" >&5
3391 echo "${ECHO_T}builtin version" >&6
3392 else
3393 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3394 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3395 { (exit 1); exit 1; }; }
3396 fi
3397
3398
3399 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3400 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3401 no_cache=0
3402
3403 # Check whether --with-odbc or --without-odbc was given.
3404 if test "${with_odbc+set}" = set; then
3405 withval="$with_odbc"
3406
3407 if test "$withval" = yes; then
3408 ac_cv_use_odbc='wxUSE_ODBC=yes'
3409 elif test "$withval" = no; then
3410 ac_cv_use_odbc='wxUSE_ODBC=no'
3411 elif test "$withval" = sys; then
3412 ac_cv_use_odbc='wxUSE_ODBC=sys'
3413 elif test "$withval" = builtin; then
3414 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3415 else
3416 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3417 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3418 { (exit 1); exit 1; }; }
3419 fi
3420
3421 else
3422
3423 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3424 if test "x$LINE" != x ; then
3425 eval "DEFAULT_$LINE"
3426 else
3427 no_cache=1
3428 fi
3429
3430 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3431
3432 fi;
3433
3434 eval "$ac_cv_use_odbc"
3435 if test "$no_cache" != 1; then
3436 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3437 fi
3438
3439 if test "$wxUSE_ODBC" = yes; then
3440 echo "$as_me:$LINENO: result: yes" >&5
3441 echo "${ECHO_T}yes" >&6
3442 elif test "$wxUSE_ODBC" = no; then
3443 echo "$as_me:$LINENO: result: no" >&5
3444 echo "${ECHO_T}no" >&6
3445 elif test "$wxUSE_ODBC" = sys; then
3446 echo "$as_me:$LINENO: result: system version" >&5
3447 echo "${ECHO_T}system version" >&6
3448 elif test "$wxUSE_ODBC" = builtin; then
3449 echo "$as_me:$LINENO: result: builtin version" >&5
3450 echo "${ECHO_T}builtin version" >&6
3451 else
3452 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3453 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3454 { (exit 1); exit 1; }; }
3455 fi
3456
3457
3458 echo "$as_me:$LINENO: checking for --with-expat" >&5
3459 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3460 no_cache=0
3461
3462 # Check whether --with-expat or --without-expat was given.
3463 if test "${with_expat+set}" = set; then
3464 withval="$with_expat"
3465
3466 if test "$withval" = yes; then
3467 ac_cv_use_expat='wxUSE_EXPAT=yes'
3468 elif test "$withval" = no; then
3469 ac_cv_use_expat='wxUSE_EXPAT=no'
3470 elif test "$withval" = sys; then
3471 ac_cv_use_expat='wxUSE_EXPAT=sys'
3472 elif test "$withval" = builtin; then
3473 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3474 else
3475 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3476 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3477 { (exit 1); exit 1; }; }
3478 fi
3479
3480 else
3481
3482 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3483 if test "x$LINE" != x ; then
3484 eval "DEFAULT_$LINE"
3485 else
3486 no_cache=1
3487 fi
3488
3489 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3490
3491 fi;
3492
3493 eval "$ac_cv_use_expat"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3496 fi
3497
3498 if test "$wxUSE_EXPAT" = yes; then
3499 echo "$as_me:$LINENO: result: yes" >&5
3500 echo "${ECHO_T}yes" >&6
3501 elif test "$wxUSE_EXPAT" = no; then
3502 echo "$as_me:$LINENO: result: no" >&5
3503 echo "${ECHO_T}no" >&6
3504 elif test "$wxUSE_EXPAT" = sys; then
3505 echo "$as_me:$LINENO: result: system version" >&5
3506 echo "${ECHO_T}system version" >&6
3507 elif test "$wxUSE_EXPAT" = builtin; then
3508 echo "$as_me:$LINENO: result: builtin version" >&5
3509 echo "${ECHO_T}builtin version" >&6
3510 else
3511 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3512 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3513 { (exit 1); exit 1; }; }
3514 fi
3515
3516
3517
3518
3519 enablestring=
3520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3521 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3522 no_cache=0
3523 # Check whether --enable-shared or --disable-shared was given.
3524 if test "${enable_shared+set}" = set; then
3525 enableval="$enable_shared"
3526
3527 if test "$enableval" = yes; then
3528 ac_cv_use_shared='wxUSE_SHARED=yes'
3529 else
3530 ac_cv_use_shared='wxUSE_SHARED=no'
3531 fi
3532
3533 else
3534
3535 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3536 if test "x$LINE" != x ; then
3537 eval "DEFAULT_$LINE"
3538 else
3539 no_cache=1
3540 fi
3541
3542 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3543
3544 fi;
3545
3546 eval "$ac_cv_use_shared"
3547 if test "$no_cache" != 1; then
3548 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3549 fi
3550
3551 if test "$wxUSE_SHARED" = yes; then
3552 echo "$as_me:$LINENO: result: yes" >&5
3553 echo "${ECHO_T}yes" >&6
3554 else
3555 echo "$as_me:$LINENO: result: no" >&5
3556 echo "${ECHO_T}no" >&6
3557 fi
3558
3559
3560 enablestring=
3561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3562 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3563 no_cache=0
3564 # Check whether --enable-optimise or --disable-optimise was given.
3565 if test "${enable_optimise+set}" = set; then
3566 enableval="$enable_optimise"
3567
3568 if test "$enableval" = yes; then
3569 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3570 else
3571 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3572 fi
3573
3574 else
3575
3576 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3577 if test "x$LINE" != x ; then
3578 eval "DEFAULT_$LINE"
3579 else
3580 no_cache=1
3581 fi
3582
3583 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3584
3585 fi;
3586
3587 eval "$ac_cv_use_optimise"
3588 if test "$no_cache" != 1; then
3589 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3590 fi
3591
3592 if test "$wxUSE_OPTIMISE" = yes; then
3593 echo "$as_me:$LINENO: result: yes" >&5
3594 echo "${ECHO_T}yes" >&6
3595 else
3596 echo "$as_me:$LINENO: result: no" >&5
3597 echo "${ECHO_T}no" >&6
3598 fi
3599
3600
3601 enablestring=
3602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3603 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3604 no_cache=0
3605 # Check whether --enable-debug or --disable-debug was given.
3606 if test "${enable_debug+set}" = set; then
3607 enableval="$enable_debug"
3608
3609 if test "$enableval" = yes; then
3610 ac_cv_use_debug='wxUSE_DEBUG=yes'
3611 else
3612 ac_cv_use_debug='wxUSE_DEBUG=no'
3613 fi
3614
3615 else
3616
3617 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3618 if test "x$LINE" != x ; then
3619 eval "DEFAULT_$LINE"
3620 else
3621 no_cache=1
3622 fi
3623
3624 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3625
3626 fi;
3627
3628 eval "$ac_cv_use_debug"
3629 if test "$no_cache" != 1; then
3630 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3631 fi
3632
3633 if test "$wxUSE_DEBUG" = yes; then
3634 echo "$as_me:$LINENO: result: yes" >&5
3635 echo "${ECHO_T}yes" >&6
3636 else
3637 echo "$as_me:$LINENO: result: no" >&5
3638 echo "${ECHO_T}no" >&6
3639 fi
3640
3641
3642 enablestring=
3643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3644 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3645 no_cache=0
3646 # Check whether --enable-stl or --disable-stl was given.
3647 if test "${enable_stl+set}" = set; then
3648 enableval="$enable_stl"
3649
3650 if test "$enableval" = yes; then
3651 ac_cv_use_stl='wxUSE_STL=yes'
3652 else
3653 ac_cv_use_stl='wxUSE_STL=no'
3654 fi
3655
3656 else
3657
3658 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3659 if test "x$LINE" != x ; then
3660 eval "DEFAULT_$LINE"
3661 else
3662 no_cache=1
3663 fi
3664
3665 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3666
3667 fi;
3668
3669 eval "$ac_cv_use_stl"
3670 if test "$no_cache" != 1; then
3671 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3672 fi
3673
3674 if test "$wxUSE_STL" = yes; then
3675 echo "$as_me:$LINENO: result: yes" >&5
3676 echo "${ECHO_T}yes" >&6
3677 else
3678 echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6
3680 fi
3681
3682 if test "$USE_OS2" = "1"; then
3683 DEFAULT_wxUSE_OMF=no
3684
3685 enablestring=
3686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3687 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3688 no_cache=0
3689 # Check whether --enable-omf or --disable-omf was given.
3690 if test "${enable_omf+set}" = set; then
3691 enableval="$enable_omf"
3692
3693 if test "$enableval" = yes; then
3694 ac_cv_use_omf='wxUSE_OMF=yes'
3695 else
3696 ac_cv_use_omf='wxUSE_OMF=no'
3697 fi
3698
3699 else
3700
3701 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3702 if test "x$LINE" != x ; then
3703 eval "DEFAULT_$LINE"
3704 else
3705 no_cache=1
3706 fi
3707
3708 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3709
3710 fi;
3711
3712 eval "$ac_cv_use_omf"
3713 if test "$no_cache" != 1; then
3714 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3715 fi
3716
3717 if test "$wxUSE_OMF" = yes; then
3718 echo "$as_me:$LINENO: result: yes" >&5
3719 echo "${ECHO_T}yes" >&6
3720 else
3721 echo "$as_me:$LINENO: result: no" >&5
3722 echo "${ECHO_T}no" >&6
3723 fi
3724
3725 fi
3726
3727 if test "$wxUSE_DEBUG" = "yes"; then
3728 DEFAULT_wxUSE_DEBUG_FLAG=yes
3729 DEFAULT_wxUSE_DEBUG_INFO=yes
3730 BUILD=debug
3731 elif test "$wxUSE_DEBUG" = "no"; then
3732 DEFAULT_wxUSE_DEBUG_FLAG=no
3733 DEFAULT_wxUSE_DEBUG_INFO=no
3734 BUILD=release
3735 fi
3736
3737
3738 enablestring=
3739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3740 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3741 no_cache=0
3742 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3743 if test "${enable_debug_flag+set}" = set; then
3744 enableval="$enable_debug_flag"
3745
3746 if test "$enableval" = yes; then
3747 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3748 else
3749 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3750 fi
3751
3752 else
3753
3754 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3755 if test "x$LINE" != x ; then
3756 eval "DEFAULT_$LINE"
3757 else
3758 no_cache=1
3759 fi
3760
3761 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3762
3763 fi;
3764
3765 eval "$ac_cv_use_debug_flag"
3766 if test "$no_cache" != 1; then
3767 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3768 fi
3769
3770 if test "$wxUSE_DEBUG_FLAG" = yes; then
3771 echo "$as_me:$LINENO: result: yes" >&5
3772 echo "${ECHO_T}yes" >&6
3773 else
3774 echo "$as_me:$LINENO: result: no" >&5
3775 echo "${ECHO_T}no" >&6
3776 fi
3777
3778
3779 enablestring=
3780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3781 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3782 no_cache=0
3783 # Check whether --enable-debug_info or --disable-debug_info was given.
3784 if test "${enable_debug_info+set}" = set; then
3785 enableval="$enable_debug_info"
3786
3787 if test "$enableval" = yes; then
3788 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3789 else
3790 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3791 fi
3792
3793 else
3794
3795 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x ; then
3797 eval "DEFAULT_$LINE"
3798 else
3799 no_cache=1
3800 fi
3801
3802 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3803
3804 fi;
3805
3806 eval "$ac_cv_use_debug_info"
3807 if test "$no_cache" != 1; then
3808 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3809 fi
3810
3811 if test "$wxUSE_DEBUG_INFO" = yes; then
3812 echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6
3814 else
3815 echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6
3817 fi
3818
3819
3820 enablestring=
3821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3822 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3823 no_cache=0
3824 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3825 if test "${enable_debug_gdb+set}" = set; then
3826 enableval="$enable_debug_gdb"
3827
3828 if test "$enableval" = yes; then
3829 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3830 else
3831 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3832 fi
3833
3834 else
3835
3836 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3837 if test "x$LINE" != x ; then
3838 eval "DEFAULT_$LINE"
3839 else
3840 no_cache=1
3841 fi
3842
3843 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3844
3845 fi;
3846
3847 eval "$ac_cv_use_debug_gdb"
3848 if test "$no_cache" != 1; then
3849 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3850 fi
3851
3852 if test "$wxUSE_DEBUG_GDB" = yes; then
3853 echo "$as_me:$LINENO: result: yes" >&5
3854 echo "${ECHO_T}yes" >&6
3855 else
3856 echo "$as_me:$LINENO: result: no" >&5
3857 echo "${ECHO_T}no" >&6
3858 fi
3859
3860
3861 enablestring=
3862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3863 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3864 no_cache=0
3865 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3866 if test "${enable_debug_cntxt+set}" = set; then
3867 enableval="$enable_debug_cntxt"
3868
3869 if test "$enableval" = yes; then
3870 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3871 else
3872 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3873 fi
3874
3875 else
3876
3877 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3878 if test "x$LINE" != x ; then
3879 eval "DEFAULT_$LINE"
3880 else
3881 no_cache=1
3882 fi
3883
3884 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3885
3886 fi;
3887
3888 eval "$ac_cv_use_debug_cntxt"
3889 if test "$no_cache" != 1; then
3890 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3891 fi
3892
3893 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3894 echo "$as_me:$LINENO: result: yes" >&5
3895 echo "${ECHO_T}yes" >&6
3896 else
3897 echo "$as_me:$LINENO: result: no" >&5
3898 echo "${ECHO_T}no" >&6
3899 fi
3900
3901
3902 enablestring=
3903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3904 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3905 no_cache=0
3906 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3907 if test "${enable_mem_tracing+set}" = set; then
3908 enableval="$enable_mem_tracing"
3909
3910 if test "$enableval" = yes; then
3911 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3912 else
3913 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3914 fi
3915
3916 else
3917
3918 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3919 if test "x$LINE" != x ; then
3920 eval "DEFAULT_$LINE"
3921 else
3922 no_cache=1
3923 fi
3924
3925 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3926
3927 fi;
3928
3929 eval "$ac_cv_use_mem_tracing"
3930 if test "$no_cache" != 1; then
3931 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3932 fi
3933
3934 if test "$wxUSE_MEM_TRACING" = yes; then
3935 echo "$as_me:$LINENO: result: yes" >&5
3936 echo "${ECHO_T}yes" >&6
3937 else
3938 echo "$as_me:$LINENO: result: no" >&5
3939 echo "${ECHO_T}no" >&6
3940 fi
3941
3942
3943 enablestring=
3944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3945 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3946 no_cache=0
3947 # Check whether --enable-profile or --disable-profile was given.
3948 if test "${enable_profile+set}" = set; then
3949 enableval="$enable_profile"
3950
3951 if test "$enableval" = yes; then
3952 ac_cv_use_profile='wxUSE_PROFILE=yes'
3953 else
3954 ac_cv_use_profile='wxUSE_PROFILE=no'
3955 fi
3956
3957 else
3958
3959 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3960 if test "x$LINE" != x ; then
3961 eval "DEFAULT_$LINE"
3962 else
3963 no_cache=1
3964 fi
3965
3966 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3967
3968 fi;
3969
3970 eval "$ac_cv_use_profile"
3971 if test "$no_cache" != 1; then
3972 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3973 fi
3974
3975 if test "$wxUSE_PROFILE" = yes; then
3976 echo "$as_me:$LINENO: result: yes" >&5
3977 echo "${ECHO_T}yes" >&6
3978 else
3979 echo "$as_me:$LINENO: result: no" >&5
3980 echo "${ECHO_T}no" >&6
3981 fi
3982
3983
3984 enablestring=
3985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3986 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3987 no_cache=0
3988 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3989 if test "${enable_no_rtti+set}" = set; then
3990 enableval="$enable_no_rtti"
3991
3992 if test "$enableval" = yes; then
3993 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3994 else
3995 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3996 fi
3997
3998 else
3999
4000 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4001 if test "x$LINE" != x ; then
4002 eval "DEFAULT_$LINE"
4003 else
4004 no_cache=1
4005 fi
4006
4007 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4008
4009 fi;
4010
4011 eval "$ac_cv_use_no_rtti"
4012 if test "$no_cache" != 1; then
4013 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4014 fi
4015
4016 if test "$wxUSE_NO_RTTI" = yes; then
4017 echo "$as_me:$LINENO: result: yes" >&5
4018 echo "${ECHO_T}yes" >&6
4019 else
4020 echo "$as_me:$LINENO: result: no" >&5
4021 echo "${ECHO_T}no" >&6
4022 fi
4023
4024
4025 enablestring=
4026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4027 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4028 no_cache=0
4029 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4030 if test "${enable_no_exceptions+set}" = set; then
4031 enableval="$enable_no_exceptions"
4032
4033 if test "$enableval" = yes; then
4034 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4035 else
4036 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4037 fi
4038
4039 else
4040
4041 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4042 if test "x$LINE" != x ; then
4043 eval "DEFAULT_$LINE"
4044 else
4045 no_cache=1
4046 fi
4047
4048 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4049
4050 fi;
4051
4052 eval "$ac_cv_use_no_exceptions"
4053 if test "$no_cache" != 1; then
4054 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4055 fi
4056
4057 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4058 echo "$as_me:$LINENO: result: yes" >&5
4059 echo "${ECHO_T}yes" >&6
4060 else
4061 echo "$as_me:$LINENO: result: no" >&5
4062 echo "${ECHO_T}no" >&6
4063 fi
4064
4065
4066 enablestring=
4067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4068 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4069 no_cache=0
4070 # Check whether --enable-permissive or --disable-permissive was given.
4071 if test "${enable_permissive+set}" = set; then
4072 enableval="$enable_permissive"
4073
4074 if test "$enableval" = yes; then
4075 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4076 else
4077 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4078 fi
4079
4080 else
4081
4082 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4083 if test "x$LINE" != x ; then
4084 eval "DEFAULT_$LINE"
4085 else
4086 no_cache=1
4087 fi
4088
4089 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4090
4091 fi;
4092
4093 eval "$ac_cv_use_permissive"
4094 if test "$no_cache" != 1; then
4095 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4096 fi
4097
4098 if test "$wxUSE_PERMISSIVE" = yes; then
4099 echo "$as_me:$LINENO: result: yes" >&5
4100 echo "${ECHO_T}yes" >&6
4101 else
4102 echo "$as_me:$LINENO: result: no" >&5
4103 echo "${ECHO_T}no" >&6
4104 fi
4105
4106
4107 enablestring=
4108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4109 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4110 no_cache=0
4111 # Check whether --enable-no_deps or --disable-no_deps was given.
4112 if test "${enable_no_deps+set}" = set; then
4113 enableval="$enable_no_deps"
4114
4115 if test "$enableval" = yes; then
4116 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4117 else
4118 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4119 fi
4120
4121 else
4122
4123 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x ; then
4125 eval "DEFAULT_$LINE"
4126 else
4127 no_cache=1
4128 fi
4129
4130 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4131
4132 fi;
4133
4134 eval "$ac_cv_use_no_deps"
4135 if test "$no_cache" != 1; then
4136 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4137 fi
4138
4139 if test "$wxUSE_NO_DEPS" = yes; then
4140 echo "$as_me:$LINENO: result: yes" >&5
4141 echo "${ECHO_T}yes" >&6
4142 else
4143 echo "$as_me:$LINENO: result: no" >&5
4144 echo "${ECHO_T}no" >&6
4145 fi
4146
4147
4148
4149 enablestring=
4150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4151 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4152 no_cache=0
4153 # Check whether --enable-compat22 or --disable-compat22 was given.
4154 if test "${enable_compat22+set}" = set; then
4155 enableval="$enable_compat22"
4156
4157 if test "$enableval" = yes; then
4158 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4159 else
4160 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4161 fi
4162
4163 else
4164
4165 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4166 if test "x$LINE" != x ; then
4167 eval "DEFAULT_$LINE"
4168 else
4169 no_cache=1
4170 fi
4171
4172 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4173
4174 fi;
4175
4176 eval "$ac_cv_use_compat22"
4177 if test "$no_cache" != 1; then
4178 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4179 fi
4180
4181 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4182 echo "$as_me:$LINENO: result: yes" >&5
4183 echo "${ECHO_T}yes" >&6
4184 else
4185 echo "$as_me:$LINENO: result: no" >&5
4186 echo "${ECHO_T}no" >&6
4187 fi
4188
4189
4190 enablestring=disable
4191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4192 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4193 no_cache=0
4194 # Check whether --enable-compat24 or --disable-compat24 was given.
4195 if test "${enable_compat24+set}" = set; then
4196 enableval="$enable_compat24"
4197
4198 if test "$enableval" = yes; then
4199 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4200 else
4201 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4202 fi
4203
4204 else
4205
4206 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4207 if test "x$LINE" != x ; then
4208 eval "DEFAULT_$LINE"
4209 else
4210 no_cache=1
4211 fi
4212
4213 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4214
4215 fi;
4216
4217 eval "$ac_cv_use_compat24"
4218 if test "$no_cache" != 1; then
4219 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4220 fi
4221
4222 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4223 echo "$as_me:$LINENO: result: yes" >&5
4224 echo "${ECHO_T}yes" >&6
4225 else
4226 echo "$as_me:$LINENO: result: no" >&5
4227 echo "${ECHO_T}no" >&6
4228 fi
4229
4230
4231
4232 enablestring=
4233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4234 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4235 no_cache=0
4236 # Check whether --enable-rpath or --disable-rpath was given.
4237 if test "${enable_rpath+set}" = set; then
4238 enableval="$enable_rpath"
4239
4240 if test "$enableval" = yes; then
4241 ac_cv_use_rpath='wxUSE_RPATH=yes'
4242 else
4243 ac_cv_use_rpath='wxUSE_RPATH=no'
4244 fi
4245
4246 else
4247
4248 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4249 if test "x$LINE" != x ; then
4250 eval "DEFAULT_$LINE"
4251 else
4252 no_cache=1
4253 fi
4254
4255 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4256
4257 fi;
4258
4259 eval "$ac_cv_use_rpath"
4260 if test "$no_cache" != 1; then
4261 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4262 fi
4263
4264 if test "$wxUSE_RPATH" = yes; then
4265 echo "$as_me:$LINENO: result: yes" >&5
4266 echo "${ECHO_T}yes" >&6
4267 else
4268 echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6
4270 fi
4271
4272
4273
4274
4275
4276 enablestring=
4277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4278 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4279 no_cache=0
4280 # Check whether --enable-intl or --disable-intl was given.
4281 if test "${enable_intl+set}" = set; then
4282 enableval="$enable_intl"
4283
4284 if test "$enableval" = yes; then
4285 ac_cv_use_intl='wxUSE_INTL=yes'
4286 else
4287 ac_cv_use_intl='wxUSE_INTL=no'
4288 fi
4289
4290 else
4291
4292 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4293 if test "x$LINE" != x ; then
4294 eval "DEFAULT_$LINE"
4295 else
4296 no_cache=1
4297 fi
4298
4299 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4300
4301 fi;
4302
4303 eval "$ac_cv_use_intl"
4304 if test "$no_cache" != 1; then
4305 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4306 fi
4307
4308 if test "$wxUSE_INTL" = yes; then
4309 echo "$as_me:$LINENO: result: yes" >&5
4310 echo "${ECHO_T}yes" >&6
4311 else
4312 echo "$as_me:$LINENO: result: no" >&5
4313 echo "${ECHO_T}no" >&6
4314 fi
4315
4316
4317 enablestring=
4318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4319 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4320 no_cache=0
4321 # Check whether --enable-config or --disable-config was given.
4322 if test "${enable_config+set}" = set; then
4323 enableval="$enable_config"
4324
4325 if test "$enableval" = yes; then
4326 ac_cv_use_config='wxUSE_CONFIG=yes'
4327 else
4328 ac_cv_use_config='wxUSE_CONFIG=no'
4329 fi
4330
4331 else
4332
4333 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4334 if test "x$LINE" != x ; then
4335 eval "DEFAULT_$LINE"
4336 else
4337 no_cache=1
4338 fi
4339
4340 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4341
4342 fi;
4343
4344 eval "$ac_cv_use_config"
4345 if test "$no_cache" != 1; then
4346 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4347 fi
4348
4349 if test "$wxUSE_CONFIG" = yes; then
4350 echo "$as_me:$LINENO: result: yes" >&5
4351 echo "${ECHO_T}yes" >&6
4352 else
4353 echo "$as_me:$LINENO: result: no" >&5
4354 echo "${ECHO_T}no" >&6
4355 fi
4356
4357
4358
4359 enablestring=
4360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4361 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4362 no_cache=0
4363 # Check whether --enable-protocols or --disable-protocols was given.
4364 if test "${enable_protocols+set}" = set; then
4365 enableval="$enable_protocols"
4366
4367 if test "$enableval" = yes; then
4368 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4369 else
4370 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4371 fi
4372
4373 else
4374
4375 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4376 if test "x$LINE" != x ; then
4377 eval "DEFAULT_$LINE"
4378 else
4379 no_cache=1
4380 fi
4381
4382 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4383
4384 fi;
4385
4386 eval "$ac_cv_use_protocols"
4387 if test "$no_cache" != 1; then
4388 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4389 fi
4390
4391 if test "$wxUSE_PROTOCOL" = yes; then
4392 echo "$as_me:$LINENO: result: yes" >&5
4393 echo "${ECHO_T}yes" >&6
4394 else
4395 echo "$as_me:$LINENO: result: no" >&5
4396 echo "${ECHO_T}no" >&6
4397 fi
4398
4399
4400 enablestring=
4401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4402 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4403 no_cache=0
4404 # Check whether --enable-ftp or --disable-ftp was given.
4405 if test "${enable_ftp+set}" = set; then
4406 enableval="$enable_ftp"
4407
4408 if test "$enableval" = yes; then
4409 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4410 else
4411 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4412 fi
4413
4414 else
4415
4416 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4417 if test "x$LINE" != x ; then
4418 eval "DEFAULT_$LINE"
4419 else
4420 no_cache=1
4421 fi
4422
4423 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4424
4425 fi;
4426
4427 eval "$ac_cv_use_ftp"
4428 if test "$no_cache" != 1; then
4429 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4430 fi
4431
4432 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4433 echo "$as_me:$LINENO: result: yes" >&5
4434 echo "${ECHO_T}yes" >&6
4435 else
4436 echo "$as_me:$LINENO: result: no" >&5
4437 echo "${ECHO_T}no" >&6
4438 fi
4439
4440
4441 enablestring=
4442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4443 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4444 no_cache=0
4445 # Check whether --enable-http or --disable-http was given.
4446 if test "${enable_http+set}" = set; then
4447 enableval="$enable_http"
4448
4449 if test "$enableval" = yes; then
4450 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4451 else
4452 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4453 fi
4454
4455 else
4456
4457 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4458 if test "x$LINE" != x ; then
4459 eval "DEFAULT_$LINE"
4460 else
4461 no_cache=1
4462 fi
4463
4464 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4465
4466 fi;
4467
4468 eval "$ac_cv_use_http"
4469 if test "$no_cache" != 1; then
4470 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4471 fi
4472
4473 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4474 echo "$as_me:$LINENO: result: yes" >&5
4475 echo "${ECHO_T}yes" >&6
4476 else
4477 echo "$as_me:$LINENO: result: no" >&5
4478 echo "${ECHO_T}no" >&6
4479 fi
4480
4481
4482 enablestring=
4483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4484 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4485 no_cache=0
4486 # Check whether --enable-fileproto or --disable-fileproto was given.
4487 if test "${enable_fileproto+set}" = set; then
4488 enableval="$enable_fileproto"
4489
4490 if test "$enableval" = yes; then
4491 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4492 else
4493 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4494 fi
4495
4496 else
4497
4498 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x ; then
4500 eval "DEFAULT_$LINE"
4501 else
4502 no_cache=1
4503 fi
4504
4505 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4506
4507 fi;
4508
4509 eval "$ac_cv_use_fileproto"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4512 fi
4513
4514 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4515 echo "$as_me:$LINENO: result: yes" >&5
4516 echo "${ECHO_T}yes" >&6
4517 else
4518 echo "$as_me:$LINENO: result: no" >&5
4519 echo "${ECHO_T}no" >&6
4520 fi
4521
4522
4523 enablestring=
4524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4526 no_cache=0
4527 # Check whether --enable-sockets or --disable-sockets was given.
4528 if test "${enable_sockets+set}" = set; then
4529 enableval="$enable_sockets"
4530
4531 if test "$enableval" = yes; then
4532 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4533 else
4534 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4535 fi
4536
4537 else
4538
4539 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4540 if test "x$LINE" != x ; then
4541 eval "DEFAULT_$LINE"
4542 else
4543 no_cache=1
4544 fi
4545
4546 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4547
4548 fi;
4549
4550 eval "$ac_cv_use_sockets"
4551 if test "$no_cache" != 1; then
4552 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4553 fi
4554
4555 if test "$wxUSE_SOCKETS" = yes; then
4556 echo "$as_me:$LINENO: result: yes" >&5
4557 echo "${ECHO_T}yes" >&6
4558 else
4559 echo "$as_me:$LINENO: result: no" >&5
4560 echo "${ECHO_T}no" >&6
4561 fi
4562
4563
4564 enablestring=
4565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4566 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4567 no_cache=0
4568 # Check whether --enable-ole or --disable-ole was given.
4569 if test "${enable_ole+set}" = set; then
4570 enableval="$enable_ole"
4571
4572 if test "$enableval" = yes; then
4573 ac_cv_use_ole='wxUSE_OLE=yes'
4574 else
4575 ac_cv_use_ole='wxUSE_OLE=no'
4576 fi
4577
4578 else
4579
4580 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4581 if test "x$LINE" != x ; then
4582 eval "DEFAULT_$LINE"
4583 else
4584 no_cache=1
4585 fi
4586
4587 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4588
4589 fi;
4590
4591 eval "$ac_cv_use_ole"
4592 if test "$no_cache" != 1; then
4593 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4594 fi
4595
4596 if test "$wxUSE_OLE" = yes; then
4597 echo "$as_me:$LINENO: result: yes" >&5
4598 echo "${ECHO_T}yes" >&6
4599 else
4600 echo "$as_me:$LINENO: result: no" >&5
4601 echo "${ECHO_T}no" >&6
4602 fi
4603
4604
4605 enablestring=
4606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4607 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4608 no_cache=0
4609 # Check whether --enable-dataobj or --disable-dataobj was given.
4610 if test "${enable_dataobj+set}" = set; then
4611 enableval="$enable_dataobj"
4612
4613 if test "$enableval" = yes; then
4614 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4615 else
4616 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4617 fi
4618
4619 else
4620
4621 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4622 if test "x$LINE" != x ; then
4623 eval "DEFAULT_$LINE"
4624 else
4625 no_cache=1
4626 fi
4627
4628 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4629
4630 fi;
4631
4632 eval "$ac_cv_use_dataobj"
4633 if test "$no_cache" != 1; then
4634 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4635 fi
4636
4637 if test "$wxUSE_DATAOBJ" = yes; then
4638 echo "$as_me:$LINENO: result: yes" >&5
4639 echo "${ECHO_T}yes" >&6
4640 else
4641 echo "$as_me:$LINENO: result: no" >&5
4642 echo "${ECHO_T}no" >&6
4643 fi
4644
4645
4646
4647 enablestring=
4648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4649 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4650 no_cache=0
4651 # Check whether --enable-ipc or --disable-ipc was given.
4652 if test "${enable_ipc+set}" = set; then
4653 enableval="$enable_ipc"
4654
4655 if test "$enableval" = yes; then
4656 ac_cv_use_ipc='wxUSE_IPC=yes'
4657 else
4658 ac_cv_use_ipc='wxUSE_IPC=no'
4659 fi
4660
4661 else
4662
4663 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4664 if test "x$LINE" != x ; then
4665 eval "DEFAULT_$LINE"
4666 else
4667 no_cache=1
4668 fi
4669
4670 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4671
4672 fi;
4673
4674 eval "$ac_cv_use_ipc"
4675 if test "$no_cache" != 1; then
4676 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4677 fi
4678
4679 if test "$wxUSE_IPC" = yes; then
4680 echo "$as_me:$LINENO: result: yes" >&5
4681 echo "${ECHO_T}yes" >&6
4682 else
4683 echo "$as_me:$LINENO: result: no" >&5
4684 echo "${ECHO_T}no" >&6
4685 fi
4686
4687
4688
4689 enablestring=
4690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4691 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4692 no_cache=0
4693 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4694 if test "${enable_apple_ieee+set}" = set; then
4695 enableval="$enable_apple_ieee"
4696
4697 if test "$enableval" = yes; then
4698 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4699 else
4700 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4701 fi
4702
4703 else
4704
4705 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4706 if test "x$LINE" != x ; then
4707 eval "DEFAULT_$LINE"
4708 else
4709 no_cache=1
4710 fi
4711
4712 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4713
4714 fi;
4715
4716 eval "$ac_cv_use_apple_ieee"
4717 if test "$no_cache" != 1; then
4718 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4719 fi
4720
4721 if test "$wxUSE_APPLE_IEEE" = yes; then
4722 echo "$as_me:$LINENO: result: yes" >&5
4723 echo "${ECHO_T}yes" >&6
4724 else
4725 echo "$as_me:$LINENO: result: no" >&5
4726 echo "${ECHO_T}no" >&6
4727 fi
4728
4729
4730 enablestring=
4731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4732 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4733 no_cache=0
4734 # Check whether --enable-arcstream or --disable-arcstream was given.
4735 if test "${enable_arcstream+set}" = set; then
4736 enableval="$enable_arcstream"
4737
4738 if test "$enableval" = yes; then
4739 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4740 else
4741 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4742 fi
4743
4744 else
4745
4746 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4747 if test "x$LINE" != x ; then
4748 eval "DEFAULT_$LINE"
4749 else
4750 no_cache=1
4751 fi
4752
4753 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4754
4755 fi;
4756
4757 eval "$ac_cv_use_arcstream"
4758 if test "$no_cache" != 1; then
4759 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4760 fi
4761
4762 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4763 echo "$as_me:$LINENO: result: yes" >&5
4764 echo "${ECHO_T}yes" >&6
4765 else
4766 echo "$as_me:$LINENO: result: no" >&5
4767 echo "${ECHO_T}no" >&6
4768 fi
4769
4770
4771 enablestring=
4772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4773 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4774 no_cache=0
4775 # Check whether --enable-backtrace or --disable-backtrace was given.
4776 if test "${enable_backtrace+set}" = set; then
4777 enableval="$enable_backtrace"
4778
4779 if test "$enableval" = yes; then
4780 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4781 else
4782 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4783 fi
4784
4785 else
4786
4787 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4788 if test "x$LINE" != x ; then
4789 eval "DEFAULT_$LINE"
4790 else
4791 no_cache=1
4792 fi
4793
4794 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4795
4796 fi;
4797
4798 eval "$ac_cv_use_backtrace"
4799 if test "$no_cache" != 1; then
4800 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4801 fi
4802
4803 if test "$wxUSE_STACKWALKER" = yes; then
4804 echo "$as_me:$LINENO: result: yes" >&5
4805 echo "${ECHO_T}yes" >&6
4806 else
4807 echo "$as_me:$LINENO: result: no" >&5
4808 echo "${ECHO_T}no" >&6
4809 fi
4810
4811
4812 enablestring=
4813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4814 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4815 no_cache=0
4816 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4817 if test "${enable_catch_segvs+set}" = set; then
4818 enableval="$enable_catch_segvs"
4819
4820 if test "$enableval" = yes; then
4821 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4822 else
4823 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4824 fi
4825
4826 else
4827
4828 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4829 if test "x$LINE" != x ; then
4830 eval "DEFAULT_$LINE"
4831 else
4832 no_cache=1
4833 fi
4834
4835 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4836
4837 fi;
4838
4839 eval "$ac_cv_use_catch_segvs"
4840 if test "$no_cache" != 1; then
4841 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4842 fi
4843
4844 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4845 echo "$as_me:$LINENO: result: yes" >&5
4846 echo "${ECHO_T}yes" >&6
4847 else
4848 echo "$as_me:$LINENO: result: no" >&5
4849 echo "${ECHO_T}no" >&6
4850 fi
4851
4852
4853 enablestring=
4854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4855 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4856 no_cache=0
4857 # Check whether --enable-cmdline or --disable-cmdline was given.
4858 if test "${enable_cmdline+set}" = set; then
4859 enableval="$enable_cmdline"
4860
4861 if test "$enableval" = yes; then
4862 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4863 else
4864 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4865 fi
4866
4867 else
4868
4869 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4870 if test "x$LINE" != x ; then
4871 eval "DEFAULT_$LINE"
4872 else
4873 no_cache=1
4874 fi
4875
4876 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4877
4878 fi;
4879
4880 eval "$ac_cv_use_cmdline"
4881 if test "$no_cache" != 1; then
4882 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4883 fi
4884
4885 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4886 echo "$as_me:$LINENO: result: yes" >&5
4887 echo "${ECHO_T}yes" >&6
4888 else
4889 echo "$as_me:$LINENO: result: no" >&5
4890 echo "${ECHO_T}no" >&6
4891 fi
4892
4893
4894 enablestring=
4895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4896 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4897 no_cache=0
4898 # Check whether --enable-datetime or --disable-datetime was given.
4899 if test "${enable_datetime+set}" = set; then
4900 enableval="$enable_datetime"
4901
4902 if test "$enableval" = yes; then
4903 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4904 else
4905 ac_cv_use_datetime='wxUSE_DATETIME=no'
4906 fi
4907
4908 else
4909
4910 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4911 if test "x$LINE" != x ; then
4912 eval "DEFAULT_$LINE"
4913 else
4914 no_cache=1
4915 fi
4916
4917 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4918
4919 fi;
4920
4921 eval "$ac_cv_use_datetime"
4922 if test "$no_cache" != 1; then
4923 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4924 fi
4925
4926 if test "$wxUSE_DATETIME" = yes; then
4927 echo "$as_me:$LINENO: result: yes" >&5
4928 echo "${ECHO_T}yes" >&6
4929 else
4930 echo "$as_me:$LINENO: result: no" >&5
4931 echo "${ECHO_T}no" >&6
4932 fi
4933
4934
4935 enablestring=
4936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4937 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4938 no_cache=0
4939 # Check whether --enable-debugreport or --disable-debugreport was given.
4940 if test "${enable_debugreport+set}" = set; then
4941 enableval="$enable_debugreport"
4942
4943 if test "$enableval" = yes; then
4944 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4945 else
4946 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4947 fi
4948
4949 else
4950
4951 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4952 if test "x$LINE" != x ; then
4953 eval "DEFAULT_$LINE"
4954 else
4955 no_cache=1
4956 fi
4957
4958 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4959
4960 fi;
4961
4962 eval "$ac_cv_use_debugreport"
4963 if test "$no_cache" != 1; then
4964 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4965 fi
4966
4967 if test "$wxUSE_DEBUGREPORT" = yes; then
4968 echo "$as_me:$LINENO: result: yes" >&5
4969 echo "${ECHO_T}yes" >&6
4970 else
4971 echo "$as_me:$LINENO: result: no" >&5
4972 echo "${ECHO_T}no" >&6
4973 fi
4974
4975
4976 enablestring=
4977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4979 no_cache=0
4980 # Check whether --enable-dialupman or --disable-dialupman was given.
4981 if test "${enable_dialupman+set}" = set; then
4982 enableval="$enable_dialupman"
4983
4984 if test "$enableval" = yes; then
4985 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4986 else
4987 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4988 fi
4989
4990 else
4991
4992 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4993 if test "x$LINE" != x ; then
4994 eval "DEFAULT_$LINE"
4995 else
4996 no_cache=1
4997 fi
4998
4999 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5000
5001 fi;
5002
5003 eval "$ac_cv_use_dialupman"
5004 if test "$no_cache" != 1; then
5005 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5006 fi
5007
5008 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5009 echo "$as_me:$LINENO: result: yes" >&5
5010 echo "${ECHO_T}yes" >&6
5011 else
5012 echo "$as_me:$LINENO: result: no" >&5
5013 echo "${ECHO_T}no" >&6
5014 fi
5015
5016
5017 enablestring=
5018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5019 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5020 no_cache=0
5021 # Check whether --enable-dynlib or --disable-dynlib was given.
5022 if test "${enable_dynlib+set}" = set; then
5023 enableval="$enable_dynlib"
5024
5025 if test "$enableval" = yes; then
5026 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5027 else
5028 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5029 fi
5030
5031 else
5032
5033 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5034 if test "x$LINE" != x ; then
5035 eval "DEFAULT_$LINE"
5036 else
5037 no_cache=1
5038 fi
5039
5040 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5041
5042 fi;
5043
5044 eval "$ac_cv_use_dynlib"
5045 if test "$no_cache" != 1; then
5046 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5047 fi
5048
5049 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5050 echo "$as_me:$LINENO: result: yes" >&5
5051 echo "${ECHO_T}yes" >&6
5052 else
5053 echo "$as_me:$LINENO: result: no" >&5
5054 echo "${ECHO_T}no" >&6
5055 fi
5056
5057
5058 enablestring=
5059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5060 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5061 no_cache=0
5062 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5063 if test "${enable_dynamicloader+set}" = set; then
5064 enableval="$enable_dynamicloader"
5065
5066 if test "$enableval" = yes; then
5067 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5068 else
5069 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5070 fi
5071
5072 else
5073
5074 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5075 if test "x$LINE" != x ; then
5076 eval "DEFAULT_$LINE"
5077 else
5078 no_cache=1
5079 fi
5080
5081 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5082
5083 fi;
5084
5085 eval "$ac_cv_use_dynamicloader"
5086 if test "$no_cache" != 1; then
5087 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5088 fi
5089
5090 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5091 echo "$as_me:$LINENO: result: yes" >&5
5092 echo "${ECHO_T}yes" >&6
5093 else
5094 echo "$as_me:$LINENO: result: no" >&5
5095 echo "${ECHO_T}no" >&6
5096 fi
5097
5098
5099 enablestring=
5100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5101 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5102 no_cache=0
5103 # Check whether --enable-exceptions or --disable-exceptions was given.
5104 if test "${enable_exceptions+set}" = set; then
5105 enableval="$enable_exceptions"
5106
5107 if test "$enableval" = yes; then
5108 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5109 else
5110 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5111 fi
5112
5113 else
5114
5115 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5116 if test "x$LINE" != x ; then
5117 eval "DEFAULT_$LINE"
5118 else
5119 no_cache=1
5120 fi
5121
5122 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5123
5124 fi;
5125
5126 eval "$ac_cv_use_exceptions"
5127 if test "$no_cache" != 1; then
5128 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5129 fi
5130
5131 if test "$wxUSE_EXCEPTIONS" = yes; then
5132 echo "$as_me:$LINENO: result: yes" >&5
5133 echo "${ECHO_T}yes" >&6
5134 else
5135 echo "$as_me:$LINENO: result: no" >&5
5136 echo "${ECHO_T}no" >&6
5137 fi
5138
5139
5140 enablestring=
5141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5142 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5143 no_cache=0
5144 # Check whether --enable-ffile or --disable-ffile was given.
5145 if test "${enable_ffile+set}" = set; then
5146 enableval="$enable_ffile"
5147
5148 if test "$enableval" = yes; then
5149 ac_cv_use_ffile='wxUSE_FFILE=yes'
5150 else
5151 ac_cv_use_ffile='wxUSE_FFILE=no'
5152 fi
5153
5154 else
5155
5156 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5157 if test "x$LINE" != x ; then
5158 eval "DEFAULT_$LINE"
5159 else
5160 no_cache=1
5161 fi
5162
5163 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5164
5165 fi;
5166
5167 eval "$ac_cv_use_ffile"
5168 if test "$no_cache" != 1; then
5169 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5170 fi
5171
5172 if test "$wxUSE_FFILE" = yes; then
5173 echo "$as_me:$LINENO: result: yes" >&5
5174 echo "${ECHO_T}yes" >&6
5175 else
5176 echo "$as_me:$LINENO: result: no" >&5
5177 echo "${ECHO_T}no" >&6
5178 fi
5179
5180
5181 enablestring=
5182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5183 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5184 no_cache=0
5185 # Check whether --enable-file or --disable-file was given.
5186 if test "${enable_file+set}" = set; then
5187 enableval="$enable_file"
5188
5189 if test "$enableval" = yes; then
5190 ac_cv_use_file='wxUSE_FILE=yes'
5191 else
5192 ac_cv_use_file='wxUSE_FILE=no'
5193 fi
5194
5195 else
5196
5197 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5198 if test "x$LINE" != x ; then
5199 eval "DEFAULT_$LINE"
5200 else
5201 no_cache=1
5202 fi
5203
5204 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5205
5206 fi;
5207
5208 eval "$ac_cv_use_file"
5209 if test "$no_cache" != 1; then
5210 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5211 fi
5212
5213 if test "$wxUSE_FILE" = yes; then
5214 echo "$as_me:$LINENO: result: yes" >&5
5215 echo "${ECHO_T}yes" >&6
5216 else
5217 echo "$as_me:$LINENO: result: no" >&5
5218 echo "${ECHO_T}no" >&6
5219 fi
5220
5221
5222 enablestring=
5223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5224 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5225 no_cache=0
5226 # Check whether --enable-filesystem or --disable-filesystem was given.
5227 if test "${enable_filesystem+set}" = set; then
5228 enableval="$enable_filesystem"
5229
5230 if test "$enableval" = yes; then
5231 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5232 else
5233 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5234 fi
5235
5236 else
5237
5238 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5239 if test "x$LINE" != x ; then
5240 eval "DEFAULT_$LINE"
5241 else
5242 no_cache=1
5243 fi
5244
5245 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5246
5247 fi;
5248
5249 eval "$ac_cv_use_filesystem"
5250 if test "$no_cache" != 1; then
5251 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5252 fi
5253
5254 if test "$wxUSE_FILESYSTEM" = yes; then
5255 echo "$as_me:$LINENO: result: yes" >&5
5256 echo "${ECHO_T}yes" >&6
5257 else
5258 echo "$as_me:$LINENO: result: no" >&5
5259 echo "${ECHO_T}no" >&6
5260 fi
5261
5262
5263 enablestring=
5264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5265 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5266 no_cache=0
5267 # Check whether --enable-fontmap or --disable-fontmap was given.
5268 if test "${enable_fontmap+set}" = set; then
5269 enableval="$enable_fontmap"
5270
5271 if test "$enableval" = yes; then
5272 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5273 else
5274 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5275 fi
5276
5277 else
5278
5279 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5280 if test "x$LINE" != x ; then
5281 eval "DEFAULT_$LINE"
5282 else
5283 no_cache=1
5284 fi
5285
5286 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5287
5288 fi;
5289
5290 eval "$ac_cv_use_fontmap"
5291 if test "$no_cache" != 1; then
5292 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5293 fi
5294
5295 if test "$wxUSE_FONTMAP" = yes; then
5296 echo "$as_me:$LINENO: result: yes" >&5
5297 echo "${ECHO_T}yes" >&6
5298 else
5299 echo "$as_me:$LINENO: result: no" >&5
5300 echo "${ECHO_T}no" >&6
5301 fi
5302
5303
5304 enablestring=
5305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5306 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5307 no_cache=0
5308 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5309 if test "${enable_fs_inet+set}" = set; then
5310 enableval="$enable_fs_inet"
5311
5312 if test "$enableval" = yes; then
5313 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5314 else
5315 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5316 fi
5317
5318 else
5319
5320 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5321 if test "x$LINE" != x ; then
5322 eval "DEFAULT_$LINE"
5323 else
5324 no_cache=1
5325 fi
5326
5327 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5328
5329 fi;
5330
5331 eval "$ac_cv_use_fs_inet"
5332 if test "$no_cache" != 1; then
5333 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5334 fi
5335
5336 if test "$wxUSE_FS_INET" = yes; then
5337 echo "$as_me:$LINENO: result: yes" >&5
5338 echo "${ECHO_T}yes" >&6
5339 else
5340 echo "$as_me:$LINENO: result: no" >&5
5341 echo "${ECHO_T}no" >&6
5342 fi
5343
5344
5345 enablestring=
5346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5347 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5348 no_cache=0
5349 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5350 if test "${enable_fs_zip+set}" = set; then
5351 enableval="$enable_fs_zip"
5352
5353 if test "$enableval" = yes; then
5354 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5355 else
5356 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5357 fi
5358
5359 else
5360
5361 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5362 if test "x$LINE" != x ; then
5363 eval "DEFAULT_$LINE"
5364 else
5365 no_cache=1
5366 fi
5367
5368 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5369
5370 fi;
5371
5372 eval "$ac_cv_use_fs_zip"
5373 if test "$no_cache" != 1; then
5374 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5375 fi
5376
5377 if test "$wxUSE_FS_ZIP" = yes; then
5378 echo "$as_me:$LINENO: result: yes" >&5
5379 echo "${ECHO_T}yes" >&6
5380 else
5381 echo "$as_me:$LINENO: result: no" >&5
5382 echo "${ECHO_T}no" >&6
5383 fi
5384
5385
5386 enablestring=
5387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5388 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5389 no_cache=0
5390 # Check whether --enable-geometry or --disable-geometry was given.
5391 if test "${enable_geometry+set}" = set; then
5392 enableval="$enable_geometry"
5393
5394 if test "$enableval" = yes; then
5395 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5396 else
5397 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5398 fi
5399
5400 else
5401
5402 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5403 if test "x$LINE" != x ; then
5404 eval "DEFAULT_$LINE"
5405 else
5406 no_cache=1
5407 fi
5408
5409 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5410
5411 fi;
5412
5413 eval "$ac_cv_use_geometry"
5414 if test "$no_cache" != 1; then
5415 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5416 fi
5417
5418 if test "$wxUSE_GEOMETRY" = yes; then
5419 echo "$as_me:$LINENO: result: yes" >&5
5420 echo "${ECHO_T}yes" >&6
5421 else
5422 echo "$as_me:$LINENO: result: no" >&5
5423 echo "${ECHO_T}no" >&6
5424 fi
5425
5426
5427 enablestring=
5428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5429 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5430 no_cache=0
5431 # Check whether --enable-log or --disable-log was given.
5432 if test "${enable_log+set}" = set; then
5433 enableval="$enable_log"
5434
5435 if test "$enableval" = yes; then
5436 ac_cv_use_log='wxUSE_LOG=yes'
5437 else
5438 ac_cv_use_log='wxUSE_LOG=no'
5439 fi
5440
5441 else
5442
5443 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5444 if test "x$LINE" != x ; then
5445 eval "DEFAULT_$LINE"
5446 else
5447 no_cache=1
5448 fi
5449
5450 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5451
5452 fi;
5453
5454 eval "$ac_cv_use_log"
5455 if test "$no_cache" != 1; then
5456 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5457 fi
5458
5459 if test "$wxUSE_LOG" = yes; then
5460 echo "$as_me:$LINENO: result: yes" >&5
5461 echo "${ECHO_T}yes" >&6
5462 else
5463 echo "$as_me:$LINENO: result: no" >&5
5464 echo "${ECHO_T}no" >&6
5465 fi
5466
5467
5468 enablestring=
5469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5470 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5471 no_cache=0
5472 # Check whether --enable-longlong or --disable-longlong was given.
5473 if test "${enable_longlong+set}" = set; then
5474 enableval="$enable_longlong"
5475
5476 if test "$enableval" = yes; then
5477 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5478 else
5479 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5480 fi
5481
5482 else
5483
5484 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5485 if test "x$LINE" != x ; then
5486 eval "DEFAULT_$LINE"
5487 else
5488 no_cache=1
5489 fi
5490
5491 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5492
5493 fi;
5494
5495 eval "$ac_cv_use_longlong"
5496 if test "$no_cache" != 1; then
5497 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5498 fi
5499
5500 if test "$wxUSE_LONGLONG" = yes; then
5501 echo "$as_me:$LINENO: result: yes" >&5
5502 echo "${ECHO_T}yes" >&6
5503 else
5504 echo "$as_me:$LINENO: result: no" >&5
5505 echo "${ECHO_T}no" >&6
5506 fi
5507
5508
5509 enablestring=
5510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5511 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5512 no_cache=0
5513 # Check whether --enable-mimetype or --disable-mimetype was given.
5514 if test "${enable_mimetype+set}" = set; then
5515 enableval="$enable_mimetype"
5516
5517 if test "$enableval" = yes; then
5518 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5519 else
5520 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5521 fi
5522
5523 else
5524
5525 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5526 if test "x$LINE" != x ; then
5527 eval "DEFAULT_$LINE"
5528 else
5529 no_cache=1
5530 fi
5531
5532 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5533
5534 fi;
5535
5536 eval "$ac_cv_use_mimetype"
5537 if test "$no_cache" != 1; then
5538 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5539 fi
5540
5541 if test "$wxUSE_MIMETYPE" = yes; then
5542 echo "$as_me:$LINENO: result: yes" >&5
5543 echo "${ECHO_T}yes" >&6
5544 else
5545 echo "$as_me:$LINENO: result: no" >&5
5546 echo "${ECHO_T}no" >&6
5547 fi
5548
5549
5550 enablestring=
5551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5552 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5553 no_cache=0
5554 # Check whether --enable-mslu or --disable-mslu was given.
5555 if test "${enable_mslu+set}" = set; then
5556 enableval="$enable_mslu"
5557
5558 if test "$enableval" = yes; then
5559 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5560 else
5561 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5562 fi
5563
5564 else
5565
5566 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5567 if test "x$LINE" != x ; then
5568 eval "DEFAULT_$LINE"
5569 else
5570 no_cache=1
5571 fi
5572
5573 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5574
5575 fi;
5576
5577 eval "$ac_cv_use_mslu"
5578 if test "$no_cache" != 1; then
5579 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5580 fi
5581
5582 if test "$wxUSE_UNICODE_MSLU" = yes; then
5583 echo "$as_me:$LINENO: result: yes" >&5
5584 echo "${ECHO_T}yes" >&6
5585 else
5586 echo "$as_me:$LINENO: result: no" >&5
5587 echo "${ECHO_T}no" >&6
5588 fi
5589
5590
5591 enablestring=
5592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5593 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5594 no_cache=0
5595 # Check whether --enable-snglinst or --disable-snglinst was given.
5596 if test "${enable_snglinst+set}" = set; then
5597 enableval="$enable_snglinst"
5598
5599 if test "$enableval" = yes; then
5600 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5601 else
5602 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5603 fi
5604
5605 else
5606
5607 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5608 if test "x$LINE" != x ; then
5609 eval "DEFAULT_$LINE"
5610 else
5611 no_cache=1
5612 fi
5613
5614 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5615
5616 fi;
5617
5618 eval "$ac_cv_use_snglinst"
5619 if test "$no_cache" != 1; then
5620 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5621 fi
5622
5623 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5624 echo "$as_me:$LINENO: result: yes" >&5
5625 echo "${ECHO_T}yes" >&6
5626 else
5627 echo "$as_me:$LINENO: result: no" >&5
5628 echo "${ECHO_T}no" >&6
5629 fi
5630
5631
5632 enablestring=
5633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5634 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5635 no_cache=0
5636 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5637 if test "${enable_std_iostreams+set}" = set; then
5638 enableval="$enable_std_iostreams"
5639
5640 if test "$enableval" = yes; then
5641 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5642 else
5643 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5644 fi
5645
5646 else
5647
5648 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5649 if test "x$LINE" != x ; then
5650 eval "DEFAULT_$LINE"
5651 else
5652 no_cache=1
5653 fi
5654
5655 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5656
5657 fi;
5658
5659 eval "$ac_cv_use_std_iostreams"
5660 if test "$no_cache" != 1; then
5661 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5662 fi
5663
5664 if test "$wxUSE_STD_IOSTREAM" = yes; then
5665 echo "$as_me:$LINENO: result: yes" >&5
5666 echo "${ECHO_T}yes" >&6
5667 else
5668 echo "$as_me:$LINENO: result: no" >&5
5669 echo "${ECHO_T}no" >&6
5670 fi
5671
5672
5673 enablestring=
5674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5675 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5676 no_cache=0
5677 # Check whether --enable-std_string or --disable-std_string was given.
5678 if test "${enable_std_string+set}" = set; then
5679 enableval="$enable_std_string"
5680
5681 if test "$enableval" = yes; then
5682 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5683 else
5684 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5685 fi
5686
5687 else
5688
5689 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5690 if test "x$LINE" != x ; then
5691 eval "DEFAULT_$LINE"
5692 else
5693 no_cache=1
5694 fi
5695
5696 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5697
5698 fi;
5699
5700 eval "$ac_cv_use_std_string"
5701 if test "$no_cache" != 1; then
5702 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5703 fi
5704
5705 if test "$wxUSE_STD_STRING" = yes; then
5706 echo "$as_me:$LINENO: result: yes" >&5
5707 echo "${ECHO_T}yes" >&6
5708 else
5709 echo "$as_me:$LINENO: result: no" >&5
5710 echo "${ECHO_T}no" >&6
5711 fi
5712
5713
5714 enablestring=
5715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5716 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5717 no_cache=0
5718 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5719 if test "${enable_stdpaths+set}" = set; then
5720 enableval="$enable_stdpaths"
5721
5722 if test "$enableval" = yes; then
5723 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5724 else
5725 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5726 fi
5727
5728 else
5729
5730 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5731 if test "x$LINE" != x ; then
5732 eval "DEFAULT_$LINE"
5733 else
5734 no_cache=1
5735 fi
5736
5737 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5738
5739 fi;
5740
5741 eval "$ac_cv_use_stdpaths"
5742 if test "$no_cache" != 1; then
5743 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5744 fi
5745
5746 if test "$wxUSE_STDPATHS" = yes; then
5747 echo "$as_me:$LINENO: result: yes" >&5
5748 echo "${ECHO_T}yes" >&6
5749 else
5750 echo "$as_me:$LINENO: result: no" >&5
5751 echo "${ECHO_T}no" >&6
5752 fi
5753
5754
5755 enablestring=
5756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5757 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5758 no_cache=0
5759 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5760 if test "${enable_stopwatch+set}" = set; then
5761 enableval="$enable_stopwatch"
5762
5763 if test "$enableval" = yes; then
5764 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5765 else
5766 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5767 fi
5768
5769 else
5770
5771 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5772 if test "x$LINE" != x ; then
5773 eval "DEFAULT_$LINE"
5774 else
5775 no_cache=1
5776 fi
5777
5778 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5779
5780 fi;
5781
5782 eval "$ac_cv_use_stopwatch"
5783 if test "$no_cache" != 1; then
5784 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5785 fi
5786
5787 if test "$wxUSE_STOPWATCH" = yes; then
5788 echo "$as_me:$LINENO: result: yes" >&5
5789 echo "${ECHO_T}yes" >&6
5790 else
5791 echo "$as_me:$LINENO: result: no" >&5
5792 echo "${ECHO_T}no" >&6
5793 fi
5794
5795
5796 enablestring=
5797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5798 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5799 no_cache=0
5800 # Check whether --enable-streams or --disable-streams was given.
5801 if test "${enable_streams+set}" = set; then
5802 enableval="$enable_streams"
5803
5804 if test "$enableval" = yes; then
5805 ac_cv_use_streams='wxUSE_STREAMS=yes'
5806 else
5807 ac_cv_use_streams='wxUSE_STREAMS=no'
5808 fi
5809
5810 else
5811
5812 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5813 if test "x$LINE" != x ; then
5814 eval "DEFAULT_$LINE"
5815 else
5816 no_cache=1
5817 fi
5818
5819 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5820
5821 fi;
5822
5823 eval "$ac_cv_use_streams"
5824 if test "$no_cache" != 1; then
5825 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5826 fi
5827
5828 if test "$wxUSE_STREAMS" = yes; then
5829 echo "$as_me:$LINENO: result: yes" >&5
5830 echo "${ECHO_T}yes" >&6
5831 else
5832 echo "$as_me:$LINENO: result: no" >&5
5833 echo "${ECHO_T}no" >&6
5834 fi
5835
5836
5837 enablestring=
5838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5839 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5840 no_cache=0
5841 # Check whether --enable-system_options or --disable-system_options was given.
5842 if test "${enable_system_options+set}" = set; then
5843 enableval="$enable_system_options"
5844
5845 if test "$enableval" = yes; then
5846 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5847 else
5848 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5849 fi
5850
5851 else
5852
5853 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5854 if test "x$LINE" != x ; then
5855 eval "DEFAULT_$LINE"
5856 else
5857 no_cache=1
5858 fi
5859
5860 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5861
5862 fi;
5863
5864 eval "$ac_cv_use_system_options"
5865 if test "$no_cache" != 1; then
5866 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5867 fi
5868
5869 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5870 echo "$as_me:$LINENO: result: yes" >&5
5871 echo "${ECHO_T}yes" >&6
5872 else
5873 echo "$as_me:$LINENO: result: no" >&5
5874 echo "${ECHO_T}no" >&6
5875 fi
5876
5877
5878 enablestring=
5879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5880 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5881 no_cache=0
5882 # Check whether --enable-textbuf or --disable-textbuf was given.
5883 if test "${enable_textbuf+set}" = set; then
5884 enableval="$enable_textbuf"
5885
5886 if test "$enableval" = yes; then
5887 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5888 else
5889 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5890 fi
5891
5892 else
5893
5894 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5895 if test "x$LINE" != x ; then
5896 eval "DEFAULT_$LINE"
5897 else
5898 no_cache=1
5899 fi
5900
5901 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5902
5903 fi;
5904
5905 eval "$ac_cv_use_textbuf"
5906 if test "$no_cache" != 1; then
5907 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5908 fi
5909
5910 if test "$wxUSE_TEXTBUFFER" = yes; then
5911 echo "$as_me:$LINENO: result: yes" >&5
5912 echo "${ECHO_T}yes" >&6
5913 else
5914 echo "$as_me:$LINENO: result: no" >&5
5915 echo "${ECHO_T}no" >&6
5916 fi
5917
5918
5919 enablestring=
5920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5921 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5922 no_cache=0
5923 # Check whether --enable-textfile or --disable-textfile was given.
5924 if test "${enable_textfile+set}" = set; then
5925 enableval="$enable_textfile"
5926
5927 if test "$enableval" = yes; then
5928 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5929 else
5930 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5931 fi
5932
5933 else
5934
5935 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5936 if test "x$LINE" != x ; then
5937 eval "DEFAULT_$LINE"
5938 else
5939 no_cache=1
5940 fi
5941
5942 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5943
5944 fi;
5945
5946 eval "$ac_cv_use_textfile"
5947 if test "$no_cache" != 1; then
5948 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5949 fi
5950
5951 if test "$wxUSE_TEXTFILE" = yes; then
5952 echo "$as_me:$LINENO: result: yes" >&5
5953 echo "${ECHO_T}yes" >&6
5954 else
5955 echo "$as_me:$LINENO: result: no" >&5
5956 echo "${ECHO_T}no" >&6
5957 fi
5958
5959
5960 enablestring=
5961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5962 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5963 no_cache=0
5964 # Check whether --enable-timer or --disable-timer was given.
5965 if test "${enable_timer+set}" = set; then
5966 enableval="$enable_timer"
5967
5968 if test "$enableval" = yes; then
5969 ac_cv_use_timer='wxUSE_TIMER=yes'
5970 else
5971 ac_cv_use_timer='wxUSE_TIMER=no'
5972 fi
5973
5974 else
5975
5976 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5977 if test "x$LINE" != x ; then
5978 eval "DEFAULT_$LINE"
5979 else
5980 no_cache=1
5981 fi
5982
5983 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5984
5985 fi;
5986
5987 eval "$ac_cv_use_timer"
5988 if test "$no_cache" != 1; then
5989 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5990 fi
5991
5992 if test "$wxUSE_TIMER" = yes; then
5993 echo "$as_me:$LINENO: result: yes" >&5
5994 echo "${ECHO_T}yes" >&6
5995 else
5996 echo "$as_me:$LINENO: result: no" >&5
5997 echo "${ECHO_T}no" >&6
5998 fi
5999
6000
6001 enablestring=
6002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6003 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6004 no_cache=0
6005 # Check whether --enable-unicode or --disable-unicode was given.
6006 if test "${enable_unicode+set}" = set; then
6007 enableval="$enable_unicode"
6008
6009 if test "$enableval" = yes; then
6010 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6011 else
6012 ac_cv_use_unicode='wxUSE_UNICODE=no'
6013 fi
6014
6015 else
6016
6017 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6018 if test "x$LINE" != x ; then
6019 eval "DEFAULT_$LINE"
6020 else
6021 no_cache=1
6022 fi
6023
6024 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6025
6026 fi;
6027
6028 eval "$ac_cv_use_unicode"
6029 if test "$no_cache" != 1; then
6030 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6031 fi
6032
6033 if test "$wxUSE_UNICODE" = yes; then
6034 echo "$as_me:$LINENO: result: yes" >&5
6035 echo "${ECHO_T}yes" >&6
6036 else
6037 echo "$as_me:$LINENO: result: no" >&5
6038 echo "${ECHO_T}no" >&6
6039 fi
6040
6041
6042 enablestring=
6043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6044 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6045 no_cache=0
6046 # Check whether --enable-sound or --disable-sound was given.
6047 if test "${enable_sound+set}" = set; then
6048 enableval="$enable_sound"
6049
6050 if test "$enableval" = yes; then
6051 ac_cv_use_sound='wxUSE_SOUND=yes'
6052 else
6053 ac_cv_use_sound='wxUSE_SOUND=no'
6054 fi
6055
6056 else
6057
6058 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6059 if test "x$LINE" != x ; then
6060 eval "DEFAULT_$LINE"
6061 else
6062 no_cache=1
6063 fi
6064
6065 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6066
6067 fi;
6068
6069 eval "$ac_cv_use_sound"
6070 if test "$no_cache" != 1; then
6071 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6072 fi
6073
6074 if test "$wxUSE_SOUND" = yes; then
6075 echo "$as_me:$LINENO: result: yes" >&5
6076 echo "${ECHO_T}yes" >&6
6077 else
6078 echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6
6080 fi
6081
6082
6083 enablestring=
6084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6085 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6086 no_cache=0
6087 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6088 if test "${enable_mediactrl+set}" = set; then
6089 enableval="$enable_mediactrl"
6090
6091 if test "$enableval" = yes; then
6092 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6093 else
6094 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6095 fi
6096
6097 else
6098
6099 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6100 if test "x$LINE" != x ; then
6101 eval "DEFAULT_$LINE"
6102 else
6103 no_cache=1
6104 fi
6105
6106 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6107
6108 fi;
6109
6110 eval "$ac_cv_use_mediactrl"
6111 if test "$no_cache" != 1; then
6112 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6113 fi
6114
6115 if test "$wxUSE_MEDIACTRL" = yes; then
6116 echo "$as_me:$LINENO: result: yes" >&5
6117 echo "${ECHO_T}yes" >&6
6118 else
6119 echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6
6121 fi
6122
6123
6124 enablestring=
6125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6126 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6127 no_cache=0
6128 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6129 if test "${enable_wxprintfv+set}" = set; then
6130 enableval="$enable_wxprintfv"
6131
6132 if test "$enableval" = yes; then
6133 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6134 else
6135 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6136 fi
6137
6138 else
6139
6140 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6141 if test "x$LINE" != x ; then
6142 eval "DEFAULT_$LINE"
6143 else
6144 no_cache=1
6145 fi
6146
6147 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6148
6149 fi;
6150
6151 eval "$ac_cv_use_wxprintfv"
6152 if test "$no_cache" != 1; then
6153 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6154 fi
6155
6156 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6157 echo "$as_me:$LINENO: result: yes" >&5
6158 echo "${ECHO_T}yes" >&6
6159 else
6160 echo "$as_me:$LINENO: result: no" >&5
6161 echo "${ECHO_T}no" >&6
6162 fi
6163
6164
6165 enablestring=
6166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6167 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6168 no_cache=0
6169 # Check whether --enable-zipstream or --disable-zipstream was given.
6170 if test "${enable_zipstream+set}" = set; then
6171 enableval="$enable_zipstream"
6172
6173 if test "$enableval" = yes; then
6174 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6175 else
6176 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6177 fi
6178
6179 else
6180
6181 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6182 if test "x$LINE" != x ; then
6183 eval "DEFAULT_$LINE"
6184 else
6185 no_cache=1
6186 fi
6187
6188 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6189
6190 fi;
6191
6192 eval "$ac_cv_use_zipstream"
6193 if test "$no_cache" != 1; then
6194 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6195 fi
6196
6197 if test "$wxUSE_ZIPSTREAM" = yes; then
6198 echo "$as_me:$LINENO: result: yes" >&5
6199 echo "${ECHO_T}yes" >&6
6200 else
6201 echo "$as_me:$LINENO: result: no" >&5
6202 echo "${ECHO_T}no" >&6
6203 fi
6204
6205
6206
6207 enablestring=
6208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6209 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6210 no_cache=0
6211 # Check whether --enable-url or --disable-url was given.
6212 if test "${enable_url+set}" = set; then
6213 enableval="$enable_url"
6214
6215 if test "$enableval" = yes; then
6216 ac_cv_use_url='wxUSE_URL=yes'
6217 else
6218 ac_cv_use_url='wxUSE_URL=no'
6219 fi
6220
6221 else
6222
6223 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6224 if test "x$LINE" != x ; then
6225 eval "DEFAULT_$LINE"
6226 else
6227 no_cache=1
6228 fi
6229
6230 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6231
6232 fi;
6233
6234 eval "$ac_cv_use_url"
6235 if test "$no_cache" != 1; then
6236 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6237 fi
6238
6239 if test "$wxUSE_URL" = yes; then
6240 echo "$as_me:$LINENO: result: yes" >&5
6241 echo "${ECHO_T}yes" >&6
6242 else
6243 echo "$as_me:$LINENO: result: no" >&5
6244 echo "${ECHO_T}no" >&6
6245 fi
6246
6247
6248 enablestring=
6249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6250 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6251 no_cache=0
6252 # Check whether --enable-protocol or --disable-protocol was given.
6253 if test "${enable_protocol+set}" = set; then
6254 enableval="$enable_protocol"
6255
6256 if test "$enableval" = yes; then
6257 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6258 else
6259 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6260 fi
6261
6262 else
6263
6264 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6265 if test "x$LINE" != x ; then
6266 eval "DEFAULT_$LINE"
6267 else
6268 no_cache=1
6269 fi
6270
6271 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6272
6273 fi;
6274
6275 eval "$ac_cv_use_protocol"
6276 if test "$no_cache" != 1; then
6277 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6278 fi
6279
6280 if test "$wxUSE_PROTOCOL" = yes; then
6281 echo "$as_me:$LINENO: result: yes" >&5
6282 echo "${ECHO_T}yes" >&6
6283 else
6284 echo "$as_me:$LINENO: result: no" >&5
6285 echo "${ECHO_T}no" >&6
6286 fi
6287
6288
6289 enablestring=
6290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6291 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6292 no_cache=0
6293 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6294 if test "${enable_protocol_http+set}" = set; then
6295 enableval="$enable_protocol_http"
6296
6297 if test "$enableval" = yes; then
6298 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6299 else
6300 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6301 fi
6302
6303 else
6304
6305 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6306 if test "x$LINE" != x ; then
6307 eval "DEFAULT_$LINE"
6308 else
6309 no_cache=1
6310 fi
6311
6312 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6313
6314 fi;
6315
6316 eval "$ac_cv_use_protocol_http"
6317 if test "$no_cache" != 1; then
6318 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6319 fi
6320
6321 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6322 echo "$as_me:$LINENO: result: yes" >&5
6323 echo "${ECHO_T}yes" >&6
6324 else
6325 echo "$as_me:$LINENO: result: no" >&5
6326 echo "${ECHO_T}no" >&6
6327 fi
6328
6329
6330 enablestring=
6331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6332 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6333 no_cache=0
6334 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6335 if test "${enable_protocol_ftp+set}" = set; then
6336 enableval="$enable_protocol_ftp"
6337
6338 if test "$enableval" = yes; then
6339 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6340 else
6341 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6342 fi
6343
6344 else
6345
6346 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6347 if test "x$LINE" != x ; then
6348 eval "DEFAULT_$LINE"
6349 else
6350 no_cache=1
6351 fi
6352
6353 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6354
6355 fi;
6356
6357 eval "$ac_cv_use_protocol_ftp"
6358 if test "$no_cache" != 1; then
6359 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6360 fi
6361
6362 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6363 echo "$as_me:$LINENO: result: yes" >&5
6364 echo "${ECHO_T}yes" >&6
6365 else
6366 echo "$as_me:$LINENO: result: no" >&5
6367 echo "${ECHO_T}no" >&6
6368 fi
6369
6370
6371 enablestring=
6372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6373 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6374 no_cache=0
6375 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6376 if test "${enable_protocol_file+set}" = set; then
6377 enableval="$enable_protocol_file"
6378
6379 if test "$enableval" = yes; then
6380 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6381 else
6382 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6383 fi
6384
6385 else
6386
6387 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6388 if test "x$LINE" != x ; then
6389 eval "DEFAULT_$LINE"
6390 else
6391 no_cache=1
6392 fi
6393
6394 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6395
6396 fi;
6397
6398 eval "$ac_cv_use_protocol_file"
6399 if test "$no_cache" != 1; then
6400 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6401 fi
6402
6403 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6404 echo "$as_me:$LINENO: result: yes" >&5
6405 echo "${ECHO_T}yes" >&6
6406 else
6407 echo "$as_me:$LINENO: result: no" >&5
6408 echo "${ECHO_T}no" >&6
6409 fi
6410
6411
6412
6413
6414
6415 enablestring=
6416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6417 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6418 no_cache=0
6419 # Check whether --enable-threads or --disable-threads was given.
6420 if test "${enable_threads+set}" = set; then
6421 enableval="$enable_threads"
6422
6423 if test "$enableval" = yes; then
6424 ac_cv_use_threads='wxUSE_THREADS=yes'
6425 else
6426 ac_cv_use_threads='wxUSE_THREADS=no'
6427 fi
6428
6429 else
6430
6431 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6432 if test "x$LINE" != x ; then
6433 eval "DEFAULT_$LINE"
6434 else
6435 no_cache=1
6436 fi
6437
6438 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6439
6440 fi;
6441
6442 eval "$ac_cv_use_threads"
6443 if test "$no_cache" != 1; then
6444 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6445 fi
6446
6447 if test "$wxUSE_THREADS" = yes; then
6448 echo "$as_me:$LINENO: result: yes" >&5
6449 echo "${ECHO_T}yes" >&6
6450 else
6451 echo "$as_me:$LINENO: result: no" >&5
6452 echo "${ECHO_T}no" >&6
6453 fi
6454
6455
6456 if test "$wxUSE_GUI" = "yes"; then
6457
6458
6459
6460 enablestring=
6461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6462 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6463 no_cache=0
6464 # Check whether --enable-docview or --disable-docview was given.
6465 if test "${enable_docview+set}" = set; then
6466 enableval="$enable_docview"
6467
6468 if test "$enableval" = yes; then
6469 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6470 else
6471 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6472 fi
6473
6474 else
6475
6476 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6477 if test "x$LINE" != x ; then
6478 eval "DEFAULT_$LINE"
6479 else
6480 no_cache=1
6481 fi
6482
6483 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6484
6485 fi;
6486
6487 eval "$ac_cv_use_docview"
6488 if test "$no_cache" != 1; then
6489 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6490 fi
6491
6492 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6493 echo "$as_me:$LINENO: result: yes" >&5
6494 echo "${ECHO_T}yes" >&6
6495 else
6496 echo "$as_me:$LINENO: result: no" >&5
6497 echo "${ECHO_T}no" >&6
6498 fi
6499
6500
6501 enablestring=
6502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6503 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6504 no_cache=0
6505 # Check whether --enable-help or --disable-help was given.
6506 if test "${enable_help+set}" = set; then
6507 enableval="$enable_help"
6508
6509 if test "$enableval" = yes; then
6510 ac_cv_use_help='wxUSE_HELP=yes'
6511 else
6512 ac_cv_use_help='wxUSE_HELP=no'
6513 fi
6514
6515 else
6516
6517 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6518 if test "x$LINE" != x ; then
6519 eval "DEFAULT_$LINE"
6520 else
6521 no_cache=1
6522 fi
6523
6524 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6525
6526 fi;
6527
6528 eval "$ac_cv_use_help"
6529 if test "$no_cache" != 1; then
6530 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6531 fi
6532
6533 if test "$wxUSE_HELP" = yes; then
6534 echo "$as_me:$LINENO: result: yes" >&5
6535 echo "${ECHO_T}yes" >&6
6536 else
6537 echo "$as_me:$LINENO: result: no" >&5
6538 echo "${ECHO_T}no" >&6
6539 fi
6540
6541
6542 enablestring=
6543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6544 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6545 no_cache=0
6546 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6547 if test "${enable_mshtmlhelp+set}" = set; then
6548 enableval="$enable_mshtmlhelp"
6549
6550 if test "$enableval" = yes; then
6551 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6552 else
6553 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6554 fi
6555
6556 else
6557
6558 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6559 if test "x$LINE" != x ; then
6560 eval "DEFAULT_$LINE"
6561 else
6562 no_cache=1
6563 fi
6564
6565 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6566
6567 fi;
6568
6569 eval "$ac_cv_use_mshtmlhelp"
6570 if test "$no_cache" != 1; then
6571 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6572 fi
6573
6574 if test "$wxUSE_MS_HTML_HELP" = yes; then
6575 echo "$as_me:$LINENO: result: yes" >&5
6576 echo "${ECHO_T}yes" >&6
6577 else
6578 echo "$as_me:$LINENO: result: no" >&5
6579 echo "${ECHO_T}no" >&6
6580 fi
6581
6582
6583 enablestring=
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6586 no_cache=0
6587 # Check whether --enable-html or --disable-html was given.
6588 if test "${enable_html+set}" = set; then
6589 enableval="$enable_html"
6590
6591 if test "$enableval" = yes; then
6592 ac_cv_use_html='wxUSE_HTML=yes'
6593 else
6594 ac_cv_use_html='wxUSE_HTML=no'
6595 fi
6596
6597 else
6598
6599 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x ; then
6601 eval "DEFAULT_$LINE"
6602 else
6603 no_cache=1
6604 fi
6605
6606 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6607
6608 fi;
6609
6610 eval "$ac_cv_use_html"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6613 fi
6614
6615 if test "$wxUSE_HTML" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6618 else
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6621 fi
6622
6623
6624 enablestring=
6625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6627 no_cache=0
6628 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6629 if test "${enable_htmlhelp+set}" = set; then
6630 enableval="$enable_htmlhelp"
6631
6632 if test "$enableval" = yes; then
6633 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6634 else
6635 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6636 fi
6637
6638 else
6639
6640 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x ; then
6642 eval "DEFAULT_$LINE"
6643 else
6644 no_cache=1
6645 fi
6646
6647 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6648
6649 fi;
6650
6651 eval "$ac_cv_use_htmlhelp"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6654 fi
6655
6656 if test "$wxUSE_WXHTML_HELP" = yes; then
6657 echo "$as_me:$LINENO: result: yes" >&5
6658 echo "${ECHO_T}yes" >&6
6659 else
6660 echo "$as_me:$LINENO: result: no" >&5
6661 echo "${ECHO_T}no" >&6
6662 fi
6663
6664
6665 enablestring=
6666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6667 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6668 no_cache=0
6669 # Check whether --enable-xrc or --disable-xrc was given.
6670 if test "${enable_xrc+set}" = set; then
6671 enableval="$enable_xrc"
6672
6673 if test "$enableval" = yes; then
6674 ac_cv_use_xrc='wxUSE_XRC=yes'
6675 else
6676 ac_cv_use_xrc='wxUSE_XRC=no'
6677 fi
6678
6679 else
6680
6681 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x ; then
6683 eval "DEFAULT_$LINE"
6684 else
6685 no_cache=1
6686 fi
6687
6688 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6689
6690 fi;
6691
6692 eval "$ac_cv_use_xrc"
6693 if test "$no_cache" != 1; then
6694 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6695 fi
6696
6697 if test "$wxUSE_XRC" = yes; then
6698 echo "$as_me:$LINENO: result: yes" >&5
6699 echo "${ECHO_T}yes" >&6
6700 else
6701 echo "$as_me:$LINENO: result: no" >&5
6702 echo "${ECHO_T}no" >&6
6703 fi
6704
6705
6706 enablestring=
6707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6708 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6709 no_cache=0
6710 # Check whether --enable-constraints or --disable-constraints was given.
6711 if test "${enable_constraints+set}" = set; then
6712 enableval="$enable_constraints"
6713
6714 if test "$enableval" = yes; then
6715 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6716 else
6717 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6718 fi
6719
6720 else
6721
6722 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6723 if test "x$LINE" != x ; then
6724 eval "DEFAULT_$LINE"
6725 else
6726 no_cache=1
6727 fi
6728
6729 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6730
6731 fi;
6732
6733 eval "$ac_cv_use_constraints"
6734 if test "$no_cache" != 1; then
6735 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6736 fi
6737
6738 if test "$wxUSE_CONSTRAINTS" = yes; then
6739 echo "$as_me:$LINENO: result: yes" >&5
6740 echo "${ECHO_T}yes" >&6
6741 else
6742 echo "$as_me:$LINENO: result: no" >&5
6743 echo "${ECHO_T}no" >&6
6744 fi
6745
6746
6747 enablestring=
6748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6749 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6750 no_cache=0
6751 # Check whether --enable-printarch or --disable-printarch was given.
6752 if test "${enable_printarch+set}" = set; then
6753 enableval="$enable_printarch"
6754
6755 if test "$enableval" = yes; then
6756 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6757 else
6758 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6759 fi
6760
6761 else
6762
6763 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6764 if test "x$LINE" != x ; then
6765 eval "DEFAULT_$LINE"
6766 else
6767 no_cache=1
6768 fi
6769
6770 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6771
6772 fi;
6773
6774 eval "$ac_cv_use_printarch"
6775 if test "$no_cache" != 1; then
6776 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6777 fi
6778
6779 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6780 echo "$as_me:$LINENO: result: yes" >&5
6781 echo "${ECHO_T}yes" >&6
6782 else
6783 echo "$as_me:$LINENO: result: no" >&5
6784 echo "${ECHO_T}no" >&6
6785 fi
6786
6787
6788 enablestring=
6789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6790 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6791 no_cache=0
6792 # Check whether --enable-mdi or --disable-mdi was given.
6793 if test "${enable_mdi+set}" = set; then
6794 enableval="$enable_mdi"
6795
6796 if test "$enableval" = yes; then
6797 ac_cv_use_mdi='wxUSE_MDI=yes'
6798 else
6799 ac_cv_use_mdi='wxUSE_MDI=no'
6800 fi
6801
6802 else
6803
6804 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6805 if test "x$LINE" != x ; then
6806 eval "DEFAULT_$LINE"
6807 else
6808 no_cache=1
6809 fi
6810
6811 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6812
6813 fi;
6814
6815 eval "$ac_cv_use_mdi"
6816 if test "$no_cache" != 1; then
6817 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6818 fi
6819
6820 if test "$wxUSE_MDI" = yes; then
6821 echo "$as_me:$LINENO: result: yes" >&5
6822 echo "${ECHO_T}yes" >&6
6823 else
6824 echo "$as_me:$LINENO: result: no" >&5
6825 echo "${ECHO_T}no" >&6
6826 fi
6827
6828
6829 enablestring=
6830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6831 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6832 no_cache=0
6833 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6834 if test "${enable_mdidoc+set}" = set; then
6835 enableval="$enable_mdidoc"
6836
6837 if test "$enableval" = yes; then
6838 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6839 else
6840 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6841 fi
6842
6843 else
6844
6845 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6846 if test "x$LINE" != x ; then
6847 eval "DEFAULT_$LINE"
6848 else
6849 no_cache=1
6850 fi
6851
6852 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6853
6854 fi;
6855
6856 eval "$ac_cv_use_mdidoc"
6857 if test "$no_cache" != 1; then
6858 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6859 fi
6860
6861 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6862 echo "$as_me:$LINENO: result: yes" >&5
6863 echo "${ECHO_T}yes" >&6
6864 else
6865 echo "$as_me:$LINENO: result: no" >&5
6866 echo "${ECHO_T}no" >&6
6867 fi
6868
6869
6870 enablestring=
6871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6872 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6873 no_cache=0
6874 # Check whether --enable-loggui or --disable-loggui was given.
6875 if test "${enable_loggui+set}" = set; then
6876 enableval="$enable_loggui"
6877
6878 if test "$enableval" = yes; then
6879 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6880 else
6881 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6882 fi
6883
6884 else
6885
6886 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6887 if test "x$LINE" != x ; then
6888 eval "DEFAULT_$LINE"
6889 else
6890 no_cache=1
6891 fi
6892
6893 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6894
6895 fi;
6896
6897 eval "$ac_cv_use_loggui"
6898 if test "$no_cache" != 1; then
6899 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6900 fi
6901
6902 if test "$wxUSE_LOGGUI" = yes; then
6903 echo "$as_me:$LINENO: result: yes" >&5
6904 echo "${ECHO_T}yes" >&6
6905 else
6906 echo "$as_me:$LINENO: result: no" >&5
6907 echo "${ECHO_T}no" >&6
6908 fi
6909
6910
6911 enablestring=
6912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6913 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6914 no_cache=0
6915 # Check whether --enable-logwin or --disable-logwin was given.
6916 if test "${enable_logwin+set}" = set; then
6917 enableval="$enable_logwin"
6918
6919 if test "$enableval" = yes; then
6920 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6921 else
6922 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6923 fi
6924
6925 else
6926
6927 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6928 if test "x$LINE" != x ; then
6929 eval "DEFAULT_$LINE"
6930 else
6931 no_cache=1
6932 fi
6933
6934 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6935
6936 fi;
6937
6938 eval "$ac_cv_use_logwin"
6939 if test "$no_cache" != 1; then
6940 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6941 fi
6942
6943 if test "$wxUSE_LOGWINDOW" = yes; then
6944 echo "$as_me:$LINENO: result: yes" >&5
6945 echo "${ECHO_T}yes" >&6
6946 else
6947 echo "$as_me:$LINENO: result: no" >&5
6948 echo "${ECHO_T}no" >&6
6949 fi
6950
6951
6952 enablestring=
6953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6954 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6955 no_cache=0
6956 # Check whether --enable-logdialog or --disable-logdialog was given.
6957 if test "${enable_logdialog+set}" = set; then
6958 enableval="$enable_logdialog"
6959
6960 if test "$enableval" = yes; then
6961 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6962 else
6963 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6964 fi
6965
6966 else
6967
6968 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6969 if test "x$LINE" != x ; then
6970 eval "DEFAULT_$LINE"
6971 else
6972 no_cache=1
6973 fi
6974
6975 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6976
6977 fi;
6978
6979 eval "$ac_cv_use_logdialog"
6980 if test "$no_cache" != 1; then
6981 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6982 fi
6983
6984 if test "$wxUSE_LOGDIALOG" = yes; then
6985 echo "$as_me:$LINENO: result: yes" >&5
6986 echo "${ECHO_T}yes" >&6
6987 else
6988 echo "$as_me:$LINENO: result: no" >&5
6989 echo "${ECHO_T}no" >&6
6990 fi
6991
6992
6993 enablestring=
6994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6995 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6996 no_cache=0
6997 # Check whether --enable-webkit or --disable-webkit was given.
6998 if test "${enable_webkit+set}" = set; then
6999 enableval="$enable_webkit"
7000
7001 if test "$enableval" = yes; then
7002 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7003 else
7004 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7005 fi
7006
7007 else
7008
7009 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7010 if test "x$LINE" != x ; then
7011 eval "DEFAULT_$LINE"
7012 else
7013 no_cache=1
7014 fi
7015
7016 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7017
7018 fi;
7019
7020 eval "$ac_cv_use_webkit"
7021 if test "$no_cache" != 1; then
7022 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7023 fi
7024
7025 if test "$wxUSE_WEBKIT" = yes; then
7026 echo "$as_me:$LINENO: result: yes" >&5
7027 echo "${ECHO_T}yes" >&6
7028 else
7029 echo "$as_me:$LINENO: result: no" >&5
7030 echo "${ECHO_T}no" >&6
7031 fi
7032
7033
7034
7035 enablestring=
7036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7037 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7038 no_cache=0
7039 # Check whether --enable-postscript or --disable-postscript was given.
7040 if test "${enable_postscript+set}" = set; then
7041 enableval="$enable_postscript"
7042
7043 if test "$enableval" = yes; then
7044 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7045 else
7046 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7047 fi
7048
7049 else
7050
7051 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7052 if test "x$LINE" != x ; then
7053 eval "DEFAULT_$LINE"
7054 else
7055 no_cache=1
7056 fi
7057
7058 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7059
7060 fi;
7061
7062 eval "$ac_cv_use_postscript"
7063 if test "$no_cache" != 1; then
7064 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7065 fi
7066
7067 if test "$wxUSE_POSTSCRIPT" = yes; then
7068 echo "$as_me:$LINENO: result: yes" >&5
7069 echo "${ECHO_T}yes" >&6
7070 else
7071 echo "$as_me:$LINENO: result: no" >&5
7072 echo "${ECHO_T}no" >&6
7073 fi
7074
7075
7076
7077
7078
7079 enablestring=
7080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7081 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7082 no_cache=0
7083 # Check whether --enable-prologio or --disable-prologio was given.
7084 if test "${enable_prologio+set}" = set; then
7085 enableval="$enable_prologio"
7086
7087 if test "$enableval" = yes; then
7088 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7089 else
7090 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7091 fi
7092
7093 else
7094
7095 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7096 if test "x$LINE" != x ; then
7097 eval "DEFAULT_$LINE"
7098 else
7099 no_cache=1
7100 fi
7101
7102 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7103
7104 fi;
7105
7106 eval "$ac_cv_use_prologio"
7107 if test "$no_cache" != 1; then
7108 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7109 fi
7110
7111 if test "$wxUSE_PROLOGIO" = yes; then
7112 echo "$as_me:$LINENO: result: yes" >&5
7113 echo "${ECHO_T}yes" >&6
7114 else
7115 echo "$as_me:$LINENO: result: no" >&5
7116 echo "${ECHO_T}no" >&6
7117 fi
7118
7119
7120 enablestring=
7121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7122 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7123 no_cache=0
7124 # Check whether --enable-resources or --disable-resources was given.
7125 if test "${enable_resources+set}" = set; then
7126 enableval="$enable_resources"
7127
7128 if test "$enableval" = yes; then
7129 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7130 else
7131 ac_cv_use_resources='wxUSE_RESOURCES=no'
7132 fi
7133
7134 else
7135
7136 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7137 if test "x$LINE" != x ; then
7138 eval "DEFAULT_$LINE"
7139 else
7140 no_cache=1
7141 fi
7142
7143 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7144
7145 fi;
7146
7147 eval "$ac_cv_use_resources"
7148 if test "$no_cache" != 1; then
7149 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7150 fi
7151
7152 if test "$wxUSE_RESOURCES" = yes; then
7153 echo "$as_me:$LINENO: result: yes" >&5
7154 echo "${ECHO_T}yes" >&6
7155 else
7156 echo "$as_me:$LINENO: result: no" >&5
7157 echo "${ECHO_T}no" >&6
7158 fi
7159
7160
7161
7162
7163 enablestring=
7164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7165 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7166 no_cache=0
7167 # Check whether --enable-clipboard or --disable-clipboard was given.
7168 if test "${enable_clipboard+set}" = set; then
7169 enableval="$enable_clipboard"
7170
7171 if test "$enableval" = yes; then
7172 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7173 else
7174 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7175 fi
7176
7177 else
7178
7179 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7180 if test "x$LINE" != x ; then
7181 eval "DEFAULT_$LINE"
7182 else
7183 no_cache=1
7184 fi
7185
7186 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7187
7188 fi;
7189
7190 eval "$ac_cv_use_clipboard"
7191 if test "$no_cache" != 1; then
7192 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7193 fi
7194
7195 if test "$wxUSE_CLIPBOARD" = yes; then
7196 echo "$as_me:$LINENO: result: yes" >&5
7197 echo "${ECHO_T}yes" >&6
7198 else
7199 echo "$as_me:$LINENO: result: no" >&5
7200 echo "${ECHO_T}no" >&6
7201 fi
7202
7203
7204 enablestring=
7205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7206 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7207 no_cache=0
7208 # Check whether --enable-dnd or --disable-dnd was given.
7209 if test "${enable_dnd+set}" = set; then
7210 enableval="$enable_dnd"
7211
7212 if test "$enableval" = yes; then
7213 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7214 else
7215 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7216 fi
7217
7218 else
7219
7220 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7221 if test "x$LINE" != x ; then
7222 eval "DEFAULT_$LINE"
7223 else
7224 no_cache=1
7225 fi
7226
7227 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7228
7229 fi;
7230
7231 eval "$ac_cv_use_dnd"
7232 if test "$no_cache" != 1; then
7233 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7234 fi
7235
7236 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7237 echo "$as_me:$LINENO: result: yes" >&5
7238 echo "${ECHO_T}yes" >&6
7239 else
7240 echo "$as_me:$LINENO: result: no" >&5
7241 echo "${ECHO_T}no" >&6
7242 fi
7243
7244
7245 enablestring=
7246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7247 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7248 no_cache=0
7249 # Check whether --enable-metafile or --disable-metafile was given.
7250 if test "${enable_metafile+set}" = set; then
7251 enableval="$enable_metafile"
7252
7253 if test "$enableval" = yes; then
7254 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7255 else
7256 ac_cv_use_metafile='wxUSE_METAFILE=no'
7257 fi
7258
7259 else
7260
7261 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7262 if test "x$LINE" != x ; then
7263 eval "DEFAULT_$LINE"
7264 else
7265 no_cache=1
7266 fi
7267
7268 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7269
7270 fi;
7271
7272 eval "$ac_cv_use_metafile"
7273 if test "$no_cache" != 1; then
7274 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7275 fi
7276
7277 if test "$wxUSE_METAFILE" = yes; then
7278 echo "$as_me:$LINENO: result: yes" >&5
7279 echo "${ECHO_T}yes" >&6
7280 else
7281 echo "$as_me:$LINENO: result: no" >&5
7282 echo "${ECHO_T}no" >&6
7283 fi
7284
7285
7286
7287
7288
7289 enablestring=
7290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7291 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7292 no_cache=0
7293 # Check whether --enable-controls or --disable-controls was given.
7294 if test "${enable_controls+set}" = set; then
7295 enableval="$enable_controls"
7296
7297 if test "$enableval" = yes; then
7298 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7299 else
7300 ac_cv_use_controls='wxUSE_CONTROLS=no'
7301 fi
7302
7303 else
7304
7305 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7306 if test "x$LINE" != x ; then
7307 eval "DEFAULT_$LINE"
7308 else
7309 no_cache=1
7310 fi
7311
7312 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7313
7314 fi;
7315
7316 eval "$ac_cv_use_controls"
7317 if test "$no_cache" != 1; then
7318 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7319 fi
7320
7321 if test "$wxUSE_CONTROLS" = yes; then
7322 echo "$as_me:$LINENO: result: yes" >&5
7323 echo "${ECHO_T}yes" >&6
7324 else
7325 echo "$as_me:$LINENO: result: no" >&5
7326 echo "${ECHO_T}no" >&6
7327 fi
7328
7329
7330 if test "$wxUSE_CONTROLS" = "yes"; then
7331 DEFAULT_wxUSE_ACCEL=yes
7332 DEFAULT_wxUSE_BMPBUTTON=yes
7333 DEFAULT_wxUSE_BUTTON=yes
7334 DEFAULT_wxUSE_CALCTRL=yes
7335 DEFAULT_wxUSE_CARET=yes
7336 DEFAULT_wxUSE_COMBOBOX=yes
7337 DEFAULT_wxUSE_CHECKBOX=yes
7338 DEFAULT_wxUSE_CHECKLISTBOX=yes
7339 DEFAULT_wxUSE_CHOICE=yes
7340 DEFAULT_wxUSE_CHOICEBOOK=yes
7341 DEFAULT_wxUSE_DATEPICKCTRL=yes
7342 DEFAULT_wxUSE_GAUGE=yes
7343 DEFAULT_wxUSE_GRID=yes
7344 DEFAULT_wxUSE_IMAGLIST=yes
7345 DEFAULT_wxUSE_LISTBOOK=yes
7346 DEFAULT_wxUSE_LISTBOX=yes
7347 DEFAULT_wxUSE_LISTCTRL=yes
7348 DEFAULT_wxUSE_NOTEBOOK=yes
7349 DEFAULT_wxUSE_RADIOBOX=yes
7350 DEFAULT_wxUSE_RADIOBTN=yes
7351 DEFAULT_wxUSE_SASH=yes
7352 DEFAULT_wxUSE_SCROLLBAR=yes
7353 DEFAULT_wxUSE_SLIDER=yes
7354 DEFAULT_wxUSE_SPINBTN=yes
7355 DEFAULT_wxUSE_SPINCTRL=yes
7356 DEFAULT_wxUSE_SPLITTER=yes
7357 DEFAULT_wxUSE_STATBMP=yes
7358 DEFAULT_wxUSE_STATBOX=yes
7359 DEFAULT_wxUSE_STATLINE=yes
7360 DEFAULT_wxUSE_STATUSBAR=yes
7361 DEFAULT_wxUSE_TAB_DIALOG=yes
7362 DEFAULT_wxUSE_TOGGLEBTN=yes
7363 DEFAULT_wxUSE_TOOLBAR=yes
7364 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7365 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7366 DEFAULT_wxUSE_TOOLTIPS=yes
7367 DEFAULT_wxUSE_TREECTRL=yes
7368 DEFAULT_wxUSE_POPUPWIN=yes
7369 DEFAULT_wxUSE_TIPWINDOW=yes
7370 elif test "$wxUSE_CONTROLS" = "no"; then
7371 DEFAULT_wxUSE_ACCEL=no
7372 DEFAULT_wxUSE_BMPBUTTON=no
7373 DEFAULT_wxUSE_BUTTON=no
7374 DEFAULT_wxUSE_CALCTRL=no
7375 DEFAULT_wxUSE_CARET=no
7376 DEFAULT_wxUSE_COMBOBOX=no
7377 DEFAULT_wxUSE_CHECKBOX=no
7378 DEFAULT_wxUSE_CHECKLISTBOX=no
7379 DEFAULT_wxUSE_CHOICE=no
7380 DEFAULT_wxUSE_CHOICEBOOK=no
7381 DEFAULT_wxUSE_DATEPICKCTRL=no
7382 DEFAULT_wxUSE_GAUGE=no
7383 DEFAULT_wxUSE_GRID=no
7384 DEFAULT_wxUSE_IMAGLIST=no
7385 DEFAULT_wxUSE_LISTBOOK=no
7386 DEFAULT_wxUSE_LISTBOX=no
7387 DEFAULT_wxUSE_LISTCTRL=no
7388 DEFAULT_wxUSE_NOTEBOOK=no
7389 DEFAULT_wxUSE_RADIOBOX=no
7390 DEFAULT_wxUSE_RADIOBTN=no
7391 DEFAULT_wxUSE_SASH=no
7392 DEFAULT_wxUSE_SCROLLBAR=no
7393 DEFAULT_wxUSE_SLIDER=no
7394 DEFAULT_wxUSE_SPINBTN=no
7395 DEFAULT_wxUSE_SPINCTRL=no
7396 DEFAULT_wxUSE_SPLITTER=no
7397 DEFAULT_wxUSE_STATBMP=no
7398 DEFAULT_wxUSE_STATBOX=no
7399 DEFAULT_wxUSE_STATLINE=no
7400 DEFAULT_wxUSE_STATUSBAR=no
7401 DEFAULT_wxUSE_TAB_DIALOG=no
7402 DEFAULT_wxUSE_TOGGLEBTN=no
7403 DEFAULT_wxUSE_TOOLBAR=no
7404 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7405 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7406 DEFAULT_wxUSE_TOOLTIPS=no
7407 DEFAULT_wxUSE_TREECTRL=no
7408 DEFAULT_wxUSE_POPUPWIN=no
7409 DEFAULT_wxUSE_TIPWINDOW=no
7410 fi
7411
7412
7413 enablestring=
7414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7415 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7416 no_cache=0
7417 # Check whether --enable-accel or --disable-accel was given.
7418 if test "${enable_accel+set}" = set; then
7419 enableval="$enable_accel"
7420
7421 if test "$enableval" = yes; then
7422 ac_cv_use_accel='wxUSE_ACCEL=yes'
7423 else
7424 ac_cv_use_accel='wxUSE_ACCEL=no'
7425 fi
7426
7427 else
7428
7429 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7430 if test "x$LINE" != x ; then
7431 eval "DEFAULT_$LINE"
7432 else
7433 no_cache=1
7434 fi
7435
7436 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7437
7438 fi;
7439
7440 eval "$ac_cv_use_accel"
7441 if test "$no_cache" != 1; then
7442 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7443 fi
7444
7445 if test "$wxUSE_ACCEL" = yes; then
7446 echo "$as_me:$LINENO: result: yes" >&5
7447 echo "${ECHO_T}yes" >&6
7448 else
7449 echo "$as_me:$LINENO: result: no" >&5
7450 echo "${ECHO_T}no" >&6
7451 fi
7452
7453
7454 enablestring=
7455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7456 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7457 no_cache=0
7458 # Check whether --enable-button or --disable-button was given.
7459 if test "${enable_button+set}" = set; then
7460 enableval="$enable_button"
7461
7462 if test "$enableval" = yes; then
7463 ac_cv_use_button='wxUSE_BUTTON=yes'
7464 else
7465 ac_cv_use_button='wxUSE_BUTTON=no'
7466 fi
7467
7468 else
7469
7470 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7471 if test "x$LINE" != x ; then
7472 eval "DEFAULT_$LINE"
7473 else
7474 no_cache=1
7475 fi
7476
7477 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7478
7479 fi;
7480
7481 eval "$ac_cv_use_button"
7482 if test "$no_cache" != 1; then
7483 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7484 fi
7485
7486 if test "$wxUSE_BUTTON" = yes; then
7487 echo "$as_me:$LINENO: result: yes" >&5
7488 echo "${ECHO_T}yes" >&6
7489 else
7490 echo "$as_me:$LINENO: result: no" >&5
7491 echo "${ECHO_T}no" >&6
7492 fi
7493
7494
7495 enablestring=
7496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7497 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7498 no_cache=0
7499 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7500 if test "${enable_bmpbutton+set}" = set; then
7501 enableval="$enable_bmpbutton"
7502
7503 if test "$enableval" = yes; then
7504 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7505 else
7506 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7507 fi
7508
7509 else
7510
7511 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7512 if test "x$LINE" != x ; then
7513 eval "DEFAULT_$LINE"
7514 else
7515 no_cache=1
7516 fi
7517
7518 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7519
7520 fi;
7521
7522 eval "$ac_cv_use_bmpbutton"
7523 if test "$no_cache" != 1; then
7524 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7525 fi
7526
7527 if test "$wxUSE_BMPBUTTON" = yes; then
7528 echo "$as_me:$LINENO: result: yes" >&5
7529 echo "${ECHO_T}yes" >&6
7530 else
7531 echo "$as_me:$LINENO: result: no" >&5
7532 echo "${ECHO_T}no" >&6
7533 fi
7534
7535
7536 enablestring=
7537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7538 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7539 no_cache=0
7540 # Check whether --enable-calendar or --disable-calendar was given.
7541 if test "${enable_calendar+set}" = set; then
7542 enableval="$enable_calendar"
7543
7544 if test "$enableval" = yes; then
7545 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7546 else
7547 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7548 fi
7549
7550 else
7551
7552 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7553 if test "x$LINE" != x ; then
7554 eval "DEFAULT_$LINE"
7555 else
7556 no_cache=1
7557 fi
7558
7559 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7560
7561 fi;
7562
7563 eval "$ac_cv_use_calendar"
7564 if test "$no_cache" != 1; then
7565 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7566 fi
7567
7568 if test "$wxUSE_CALCTRL" = yes; then
7569 echo "$as_me:$LINENO: result: yes" >&5
7570 echo "${ECHO_T}yes" >&6
7571 else
7572 echo "$as_me:$LINENO: result: no" >&5
7573 echo "${ECHO_T}no" >&6
7574 fi
7575
7576
7577 enablestring=
7578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7579 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7580 no_cache=0
7581 # Check whether --enable-caret or --disable-caret was given.
7582 if test "${enable_caret+set}" = set; then
7583 enableval="$enable_caret"
7584
7585 if test "$enableval" = yes; then
7586 ac_cv_use_caret='wxUSE_CARET=yes'
7587 else
7588 ac_cv_use_caret='wxUSE_CARET=no'
7589 fi
7590
7591 else
7592
7593 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x ; then
7595 eval "DEFAULT_$LINE"
7596 else
7597 no_cache=1
7598 fi
7599
7600 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7601
7602 fi;
7603
7604 eval "$ac_cv_use_caret"
7605 if test "$no_cache" != 1; then
7606 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7607 fi
7608
7609 if test "$wxUSE_CARET" = yes; then
7610 echo "$as_me:$LINENO: result: yes" >&5
7611 echo "${ECHO_T}yes" >&6
7612 else
7613 echo "$as_me:$LINENO: result: no" >&5
7614 echo "${ECHO_T}no" >&6
7615 fi
7616
7617
7618 enablestring=
7619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7620 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7621 no_cache=0
7622 # Check whether --enable-checkbox or --disable-checkbox was given.
7623 if test "${enable_checkbox+set}" = set; then
7624 enableval="$enable_checkbox"
7625
7626 if test "$enableval" = yes; then
7627 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7628 else
7629 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7630 fi
7631
7632 else
7633
7634 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7635 if test "x$LINE" != x ; then
7636 eval "DEFAULT_$LINE"
7637 else
7638 no_cache=1
7639 fi
7640
7641 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7642
7643 fi;
7644
7645 eval "$ac_cv_use_checkbox"
7646 if test "$no_cache" != 1; then
7647 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7648 fi
7649
7650 if test "$wxUSE_CHECKBOX" = yes; then
7651 echo "$as_me:$LINENO: result: yes" >&5
7652 echo "${ECHO_T}yes" >&6
7653 else
7654 echo "$as_me:$LINENO: result: no" >&5
7655 echo "${ECHO_T}no" >&6
7656 fi
7657
7658
7659 enablestring=
7660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7661 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7662 no_cache=0
7663 # Check whether --enable-checklst or --disable-checklst was given.
7664 if test "${enable_checklst+set}" = set; then
7665 enableval="$enable_checklst"
7666
7667 if test "$enableval" = yes; then
7668 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7669 else
7670 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7671 fi
7672
7673 else
7674
7675 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7676 if test "x$LINE" != x ; then
7677 eval "DEFAULT_$LINE"
7678 else
7679 no_cache=1
7680 fi
7681
7682 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7683
7684 fi;
7685
7686 eval "$ac_cv_use_checklst"
7687 if test "$no_cache" != 1; then
7688 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7689 fi
7690
7691 if test "$wxUSE_CHECKLST" = yes; then
7692 echo "$as_me:$LINENO: result: yes" >&5
7693 echo "${ECHO_T}yes" >&6
7694 else
7695 echo "$as_me:$LINENO: result: no" >&5
7696 echo "${ECHO_T}no" >&6
7697 fi
7698
7699
7700 enablestring=
7701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7702 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7703 no_cache=0
7704 # Check whether --enable-choice or --disable-choice was given.
7705 if test "${enable_choice+set}" = set; then
7706 enableval="$enable_choice"
7707
7708 if test "$enableval" = yes; then
7709 ac_cv_use_choice='wxUSE_CHOICE=yes'
7710 else
7711 ac_cv_use_choice='wxUSE_CHOICE=no'
7712 fi
7713
7714 else
7715
7716 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7717 if test "x$LINE" != x ; then
7718 eval "DEFAULT_$LINE"
7719 else
7720 no_cache=1
7721 fi
7722
7723 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7724
7725 fi;
7726
7727 eval "$ac_cv_use_choice"
7728 if test "$no_cache" != 1; then
7729 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7730 fi
7731
7732 if test "$wxUSE_CHOICE" = yes; then
7733 echo "$as_me:$LINENO: result: yes" >&5
7734 echo "${ECHO_T}yes" >&6
7735 else
7736 echo "$as_me:$LINENO: result: no" >&5
7737 echo "${ECHO_T}no" >&6
7738 fi
7739
7740
7741 enablestring=
7742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7743 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7744 no_cache=0
7745 # Check whether --enable-choicebook or --disable-choicebook was given.
7746 if test "${enable_choicebook+set}" = set; then
7747 enableval="$enable_choicebook"
7748
7749 if test "$enableval" = yes; then
7750 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7751 else
7752 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7753 fi
7754
7755 else
7756
7757 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7758 if test "x$LINE" != x ; then
7759 eval "DEFAULT_$LINE"
7760 else
7761 no_cache=1
7762 fi
7763
7764 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7765
7766 fi;
7767
7768 eval "$ac_cv_use_choicebook"
7769 if test "$no_cache" != 1; then
7770 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7771 fi
7772
7773 if test "$wxUSE_CHOICEBOOK" = yes; then
7774 echo "$as_me:$LINENO: result: yes" >&5
7775 echo "${ECHO_T}yes" >&6
7776 else
7777 echo "$as_me:$LINENO: result: no" >&5
7778 echo "${ECHO_T}no" >&6
7779 fi
7780
7781
7782 enablestring=
7783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7784 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7785 no_cache=0
7786 # Check whether --enable-combobox or --disable-combobox was given.
7787 if test "${enable_combobox+set}" = set; then
7788 enableval="$enable_combobox"
7789
7790 if test "$enableval" = yes; then
7791 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7792 else
7793 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7794 fi
7795
7796 else
7797
7798 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7799 if test "x$LINE" != x ; then
7800 eval "DEFAULT_$LINE"
7801 else
7802 no_cache=1
7803 fi
7804
7805 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7806
7807 fi;
7808
7809 eval "$ac_cv_use_combobox"
7810 if test "$no_cache" != 1; then
7811 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7812 fi
7813
7814 if test "$wxUSE_COMBOBOX" = yes; then
7815 echo "$as_me:$LINENO: result: yes" >&5
7816 echo "${ECHO_T}yes" >&6
7817 else
7818 echo "$as_me:$LINENO: result: no" >&5
7819 echo "${ECHO_T}no" >&6
7820 fi
7821
7822
7823 enablestring=
7824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7825 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7826 no_cache=0
7827 # Check whether --enable-datepick or --disable-datepick was given.
7828 if test "${enable_datepick+set}" = set; then
7829 enableval="$enable_datepick"
7830
7831 if test "$enableval" = yes; then
7832 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7833 else
7834 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7835 fi
7836
7837 else
7838
7839 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7840 if test "x$LINE" != x ; then
7841 eval "DEFAULT_$LINE"
7842 else
7843 no_cache=1
7844 fi
7845
7846 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7847
7848 fi;
7849
7850 eval "$ac_cv_use_datepick"
7851 if test "$no_cache" != 1; then
7852 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7853 fi
7854
7855 if test "$wxUSE_DATEPICKCTRL" = yes; then
7856 echo "$as_me:$LINENO: result: yes" >&5
7857 echo "${ECHO_T}yes" >&6
7858 else
7859 echo "$as_me:$LINENO: result: no" >&5
7860 echo "${ECHO_T}no" >&6
7861 fi
7862
7863
7864 enablestring=
7865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7867 no_cache=0
7868 # Check whether --enable-display or --disable-display was given.
7869 if test "${enable_display+set}" = set; then
7870 enableval="$enable_display"
7871
7872 if test "$enableval" = yes; then
7873 ac_cv_use_display='wxUSE_DISPLAY=yes'
7874 else
7875 ac_cv_use_display='wxUSE_DISPLAY=no'
7876 fi
7877
7878 else
7879
7880 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7881 if test "x$LINE" != x ; then
7882 eval "DEFAULT_$LINE"
7883 else
7884 no_cache=1
7885 fi
7886
7887 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7888
7889 fi;
7890
7891 eval "$ac_cv_use_display"
7892 if test "$no_cache" != 1; then
7893 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7894 fi
7895
7896 if test "$wxUSE_DISPLAY" = yes; then
7897 echo "$as_me:$LINENO: result: yes" >&5
7898 echo "${ECHO_T}yes" >&6
7899 else
7900 echo "$as_me:$LINENO: result: no" >&5
7901 echo "${ECHO_T}no" >&6
7902 fi
7903
7904
7905 enablestring=
7906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7908 no_cache=0
7909 # Check whether --enable-gauge or --disable-gauge was given.
7910 if test "${enable_gauge+set}" = set; then
7911 enableval="$enable_gauge"
7912
7913 if test "$enableval" = yes; then
7914 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7915 else
7916 ac_cv_use_gauge='wxUSE_GAUGE=no'
7917 fi
7918
7919 else
7920
7921 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7922 if test "x$LINE" != x ; then
7923 eval "DEFAULT_$LINE"
7924 else
7925 no_cache=1
7926 fi
7927
7928 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7929
7930 fi;
7931
7932 eval "$ac_cv_use_gauge"
7933 if test "$no_cache" != 1; then
7934 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7935 fi
7936
7937 if test "$wxUSE_GAUGE" = yes; then
7938 echo "$as_me:$LINENO: result: yes" >&5
7939 echo "${ECHO_T}yes" >&6
7940 else
7941 echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6
7943 fi
7944
7945
7946 enablestring=
7947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7949 no_cache=0
7950 # Check whether --enable-grid or --disable-grid was given.
7951 if test "${enable_grid+set}" = set; then
7952 enableval="$enable_grid"
7953
7954 if test "$enableval" = yes; then
7955 ac_cv_use_grid='wxUSE_GRID=yes'
7956 else
7957 ac_cv_use_grid='wxUSE_GRID=no'
7958 fi
7959
7960 else
7961
7962 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7963 if test "x$LINE" != x ; then
7964 eval "DEFAULT_$LINE"
7965 else
7966 no_cache=1
7967 fi
7968
7969 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7970
7971 fi;
7972
7973 eval "$ac_cv_use_grid"
7974 if test "$no_cache" != 1; then
7975 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7976 fi
7977
7978 if test "$wxUSE_GRID" = yes; then
7979 echo "$as_me:$LINENO: result: yes" >&5
7980 echo "${ECHO_T}yes" >&6
7981 else
7982 echo "$as_me:$LINENO: result: no" >&5
7983 echo "${ECHO_T}no" >&6
7984 fi
7985
7986
7987 enablestring=
7988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7989 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7990 no_cache=0
7991 # Check whether --enable-imaglist or --disable-imaglist was given.
7992 if test "${enable_imaglist+set}" = set; then
7993 enableval="$enable_imaglist"
7994
7995 if test "$enableval" = yes; then
7996 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7997 else
7998 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7999 fi
8000
8001 else
8002
8003 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8004 if test "x$LINE" != x ; then
8005 eval "DEFAULT_$LINE"
8006 else
8007 no_cache=1
8008 fi
8009
8010 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8011
8012 fi;
8013
8014 eval "$ac_cv_use_imaglist"
8015 if test "$no_cache" != 1; then
8016 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8017 fi
8018
8019 if test "$wxUSE_IMAGLIST" = yes; then
8020 echo "$as_me:$LINENO: result: yes" >&5
8021 echo "${ECHO_T}yes" >&6
8022 else
8023 echo "$as_me:$LINENO: result: no" >&5
8024 echo "${ECHO_T}no" >&6
8025 fi
8026
8027
8028 enablestring=
8029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8030 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8031 no_cache=0
8032 # Check whether --enable-listbook or --disable-listbook was given.
8033 if test "${enable_listbook+set}" = set; then
8034 enableval="$enable_listbook"
8035
8036 if test "$enableval" = yes; then
8037 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8038 else
8039 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8040 fi
8041
8042 else
8043
8044 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8045 if test "x$LINE" != x ; then
8046 eval "DEFAULT_$LINE"
8047 else
8048 no_cache=1
8049 fi
8050
8051 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8052
8053 fi;
8054
8055 eval "$ac_cv_use_listbook"
8056 if test "$no_cache" != 1; then
8057 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8058 fi
8059
8060 if test "$wxUSE_LISTBOOK" = yes; then
8061 echo "$as_me:$LINENO: result: yes" >&5
8062 echo "${ECHO_T}yes" >&6
8063 else
8064 echo "$as_me:$LINENO: result: no" >&5
8065 echo "${ECHO_T}no" >&6
8066 fi
8067
8068
8069 enablestring=
8070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8071 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8072 no_cache=0
8073 # Check whether --enable-listbox or --disable-listbox was given.
8074 if test "${enable_listbox+set}" = set; then
8075 enableval="$enable_listbox"
8076
8077 if test "$enableval" = yes; then
8078 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8079 else
8080 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8081 fi
8082
8083 else
8084
8085 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8086 if test "x$LINE" != x ; then
8087 eval "DEFAULT_$LINE"
8088 else
8089 no_cache=1
8090 fi
8091
8092 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8093
8094 fi;
8095
8096 eval "$ac_cv_use_listbox"
8097 if test "$no_cache" != 1; then
8098 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8099 fi
8100
8101 if test "$wxUSE_LISTBOX" = yes; then
8102 echo "$as_me:$LINENO: result: yes" >&5
8103 echo "${ECHO_T}yes" >&6
8104 else
8105 echo "$as_me:$LINENO: result: no" >&5
8106 echo "${ECHO_T}no" >&6
8107 fi
8108
8109
8110 enablestring=
8111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8112 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8113 no_cache=0
8114 # Check whether --enable-listctrl or --disable-listctrl was given.
8115 if test "${enable_listctrl+set}" = set; then
8116 enableval="$enable_listctrl"
8117
8118 if test "$enableval" = yes; then
8119 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8120 else
8121 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8122 fi
8123
8124 else
8125
8126 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8127 if test "x$LINE" != x ; then
8128 eval "DEFAULT_$LINE"
8129 else
8130 no_cache=1
8131 fi
8132
8133 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8134
8135 fi;
8136
8137 eval "$ac_cv_use_listctrl"
8138 if test "$no_cache" != 1; then
8139 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8140 fi
8141
8142 if test "$wxUSE_LISTCTRL" = yes; then
8143 echo "$as_me:$LINENO: result: yes" >&5
8144 echo "${ECHO_T}yes" >&6
8145 else
8146 echo "$as_me:$LINENO: result: no" >&5
8147 echo "${ECHO_T}no" >&6
8148 fi
8149
8150
8151 enablestring=
8152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8154 no_cache=0
8155 # Check whether --enable-notebook or --disable-notebook was given.
8156 if test "${enable_notebook+set}" = set; then
8157 enableval="$enable_notebook"
8158
8159 if test "$enableval" = yes; then
8160 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8161 else
8162 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8163 fi
8164
8165 else
8166
8167 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8168 if test "x$LINE" != x ; then
8169 eval "DEFAULT_$LINE"
8170 else
8171 no_cache=1
8172 fi
8173
8174 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8175
8176 fi;
8177
8178 eval "$ac_cv_use_notebook"
8179 if test "$no_cache" != 1; then
8180 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8181 fi
8182
8183 if test "$wxUSE_NOTEBOOK" = yes; then
8184 echo "$as_me:$LINENO: result: yes" >&5
8185 echo "${ECHO_T}yes" >&6
8186 else
8187 echo "$as_me:$LINENO: result: no" >&5
8188 echo "${ECHO_T}no" >&6
8189 fi
8190
8191
8192 enablestring=
8193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8195 no_cache=0
8196 # Check whether --enable-radiobox or --disable-radiobox was given.
8197 if test "${enable_radiobox+set}" = set; then
8198 enableval="$enable_radiobox"
8199
8200 if test "$enableval" = yes; then
8201 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8202 else
8203 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8204 fi
8205
8206 else
8207
8208 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8209 if test "x$LINE" != x ; then
8210 eval "DEFAULT_$LINE"
8211 else
8212 no_cache=1
8213 fi
8214
8215 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8216
8217 fi;
8218
8219 eval "$ac_cv_use_radiobox"
8220 if test "$no_cache" != 1; then
8221 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8222 fi
8223
8224 if test "$wxUSE_RADIOBOX" = yes; then
8225 echo "$as_me:$LINENO: result: yes" >&5
8226 echo "${ECHO_T}yes" >&6
8227 else
8228 echo "$as_me:$LINENO: result: no" >&5
8229 echo "${ECHO_T}no" >&6
8230 fi
8231
8232
8233 enablestring=
8234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8236 no_cache=0
8237 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8238 if test "${enable_radiobtn+set}" = set; then
8239 enableval="$enable_radiobtn"
8240
8241 if test "$enableval" = yes; then
8242 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8243 else
8244 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8245 fi
8246
8247 else
8248
8249 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8250 if test "x$LINE" != x ; then
8251 eval "DEFAULT_$LINE"
8252 else
8253 no_cache=1
8254 fi
8255
8256 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8257
8258 fi;
8259
8260 eval "$ac_cv_use_radiobtn"
8261 if test "$no_cache" != 1; then
8262 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8263 fi
8264
8265 if test "$wxUSE_RADIOBTN" = yes; then
8266 echo "$as_me:$LINENO: result: yes" >&5
8267 echo "${ECHO_T}yes" >&6
8268 else
8269 echo "$as_me:$LINENO: result: no" >&5
8270 echo "${ECHO_T}no" >&6
8271 fi
8272
8273
8274 enablestring=
8275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8277 no_cache=0
8278 # Check whether --enable-sash or --disable-sash was given.
8279 if test "${enable_sash+set}" = set; then
8280 enableval="$enable_sash"
8281
8282 if test "$enableval" = yes; then
8283 ac_cv_use_sash='wxUSE_SASH=yes'
8284 else
8285 ac_cv_use_sash='wxUSE_SASH=no'
8286 fi
8287
8288 else
8289
8290 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8291 if test "x$LINE" != x ; then
8292 eval "DEFAULT_$LINE"
8293 else
8294 no_cache=1
8295 fi
8296
8297 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8298
8299 fi;
8300
8301 eval "$ac_cv_use_sash"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8304 fi
8305
8306 if test "$wxUSE_SASH" = yes; then
8307 echo "$as_me:$LINENO: result: yes" >&5
8308 echo "${ECHO_T}yes" >&6
8309 else
8310 echo "$as_me:$LINENO: result: no" >&5
8311 echo "${ECHO_T}no" >&6
8312 fi
8313
8314
8315 enablestring=
8316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8318 no_cache=0
8319 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8320 if test "${enable_scrollbar+set}" = set; then
8321 enableval="$enable_scrollbar"
8322
8323 if test "$enableval" = yes; then
8324 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8325 else
8326 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8327 fi
8328
8329 else
8330
8331 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8332 if test "x$LINE" != x ; then
8333 eval "DEFAULT_$LINE"
8334 else
8335 no_cache=1
8336 fi
8337
8338 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8339
8340 fi;
8341
8342 eval "$ac_cv_use_scrollbar"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8345 fi
8346
8347 if test "$wxUSE_SCROLLBAR" = yes; then
8348 echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6
8350 else
8351 echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6
8353 fi
8354
8355
8356 enablestring=
8357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8359 no_cache=0
8360 # Check whether --enable-slider or --disable-slider was given.
8361 if test "${enable_slider+set}" = set; then
8362 enableval="$enable_slider"
8363
8364 if test "$enableval" = yes; then
8365 ac_cv_use_slider='wxUSE_SLIDER=yes'
8366 else
8367 ac_cv_use_slider='wxUSE_SLIDER=no'
8368 fi
8369
8370 else
8371
8372 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8373 if test "x$LINE" != x ; then
8374 eval "DEFAULT_$LINE"
8375 else
8376 no_cache=1
8377 fi
8378
8379 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8380
8381 fi;
8382
8383 eval "$ac_cv_use_slider"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8386 fi
8387
8388 if test "$wxUSE_SLIDER" = yes; then
8389 echo "$as_me:$LINENO: result: yes" >&5
8390 echo "${ECHO_T}yes" >&6
8391 else
8392 echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6
8394 fi
8395
8396
8397 enablestring=
8398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8400 no_cache=0
8401 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8402 if test "${enable_spinbtn+set}" = set; then
8403 enableval="$enable_spinbtn"
8404
8405 if test "$enableval" = yes; then
8406 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8407 else
8408 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8409 fi
8410
8411 else
8412
8413 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8414 if test "x$LINE" != x ; then
8415 eval "DEFAULT_$LINE"
8416 else
8417 no_cache=1
8418 fi
8419
8420 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8421
8422 fi;
8423
8424 eval "$ac_cv_use_spinbtn"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8427 fi
8428
8429 if test "$wxUSE_SPINBTN" = yes; then
8430 echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6
8432 else
8433 echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6
8435 fi
8436
8437
8438 enablestring=
8439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8441 no_cache=0
8442 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8443 if test "${enable_spinctrl+set}" = set; then
8444 enableval="$enable_spinctrl"
8445
8446 if test "$enableval" = yes; then
8447 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8448 else
8449 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8450 fi
8451
8452 else
8453
8454 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8455 if test "x$LINE" != x ; then
8456 eval "DEFAULT_$LINE"
8457 else
8458 no_cache=1
8459 fi
8460
8461 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8462
8463 fi;
8464
8465 eval "$ac_cv_use_spinctrl"
8466 if test "$no_cache" != 1; then
8467 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8468 fi
8469
8470 if test "$wxUSE_SPINCTRL" = yes; then
8471 echo "$as_me:$LINENO: result: yes" >&5
8472 echo "${ECHO_T}yes" >&6
8473 else
8474 echo "$as_me:$LINENO: result: no" >&5
8475 echo "${ECHO_T}no" >&6
8476 fi
8477
8478
8479 enablestring=
8480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8481 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8482 no_cache=0
8483 # Check whether --enable-splitter or --disable-splitter was given.
8484 if test "${enable_splitter+set}" = set; then
8485 enableval="$enable_splitter"
8486
8487 if test "$enableval" = yes; then
8488 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8489 else
8490 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8491 fi
8492
8493 else
8494
8495 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8496 if test "x$LINE" != x ; then
8497 eval "DEFAULT_$LINE"
8498 else
8499 no_cache=1
8500 fi
8501
8502 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8503
8504 fi;
8505
8506 eval "$ac_cv_use_splitter"
8507 if test "$no_cache" != 1; then
8508 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8509 fi
8510
8511 if test "$wxUSE_SPLITTER" = yes; then
8512 echo "$as_me:$LINENO: result: yes" >&5
8513 echo "${ECHO_T}yes" >&6
8514 else
8515 echo "$as_me:$LINENO: result: no" >&5
8516 echo "${ECHO_T}no" >&6
8517 fi
8518
8519
8520 enablestring=
8521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8523 no_cache=0
8524 # Check whether --enable-statbmp or --disable-statbmp was given.
8525 if test "${enable_statbmp+set}" = set; then
8526 enableval="$enable_statbmp"
8527
8528 if test "$enableval" = yes; then
8529 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8530 else
8531 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8532 fi
8533
8534 else
8535
8536 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8537 if test "x$LINE" != x ; then
8538 eval "DEFAULT_$LINE"
8539 else
8540 no_cache=1
8541 fi
8542
8543 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8544
8545 fi;
8546
8547 eval "$ac_cv_use_statbmp"
8548 if test "$no_cache" != 1; then
8549 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8550 fi
8551
8552 if test "$wxUSE_STATBMP" = yes; then
8553 echo "$as_me:$LINENO: result: yes" >&5
8554 echo "${ECHO_T}yes" >&6
8555 else
8556 echo "$as_me:$LINENO: result: no" >&5
8557 echo "${ECHO_T}no" >&6
8558 fi
8559
8560
8561 enablestring=
8562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8563 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8564 no_cache=0
8565 # Check whether --enable-statbox or --disable-statbox was given.
8566 if test "${enable_statbox+set}" = set; then
8567 enableval="$enable_statbox"
8568
8569 if test "$enableval" = yes; then
8570 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8571 else
8572 ac_cv_use_statbox='wxUSE_STATBOX=no'
8573 fi
8574
8575 else
8576
8577 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8578 if test "x$LINE" != x ; then
8579 eval "DEFAULT_$LINE"
8580 else
8581 no_cache=1
8582 fi
8583
8584 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8585
8586 fi;
8587
8588 eval "$ac_cv_use_statbox"
8589 if test "$no_cache" != 1; then
8590 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8591 fi
8592
8593 if test "$wxUSE_STATBOX" = yes; then
8594 echo "$as_me:$LINENO: result: yes" >&5
8595 echo "${ECHO_T}yes" >&6
8596 else
8597 echo "$as_me:$LINENO: result: no" >&5
8598 echo "${ECHO_T}no" >&6
8599 fi
8600
8601
8602 enablestring=
8603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8604 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8605 no_cache=0
8606 # Check whether --enable-statline or --disable-statline was given.
8607 if test "${enable_statline+set}" = set; then
8608 enableval="$enable_statline"
8609
8610 if test "$enableval" = yes; then
8611 ac_cv_use_statline='wxUSE_STATLINE=yes'
8612 else
8613 ac_cv_use_statline='wxUSE_STATLINE=no'
8614 fi
8615
8616 else
8617
8618 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8619 if test "x$LINE" != x ; then
8620 eval "DEFAULT_$LINE"
8621 else
8622 no_cache=1
8623 fi
8624
8625 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8626
8627 fi;
8628
8629 eval "$ac_cv_use_statline"
8630 if test "$no_cache" != 1; then
8631 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8632 fi
8633
8634 if test "$wxUSE_STATLINE" = yes; then
8635 echo "$as_me:$LINENO: result: yes" >&5
8636 echo "${ECHO_T}yes" >&6
8637 else
8638 echo "$as_me:$LINENO: result: no" >&5
8639 echo "${ECHO_T}no" >&6
8640 fi
8641
8642
8643 enablestring=
8644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8645 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8646 no_cache=0
8647 # Check whether --enable-stattext or --disable-stattext was given.
8648 if test "${enable_stattext+set}" = set; then
8649 enableval="$enable_stattext"
8650
8651 if test "$enableval" = yes; then
8652 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8653 else
8654 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8655 fi
8656
8657 else
8658
8659 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8660 if test "x$LINE" != x ; then
8661 eval "DEFAULT_$LINE"
8662 else
8663 no_cache=1
8664 fi
8665
8666 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8667
8668 fi;
8669
8670 eval "$ac_cv_use_stattext"
8671 if test "$no_cache" != 1; then
8672 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8673 fi
8674
8675 if test "$wxUSE_STATTEXT" = yes; then
8676 echo "$as_me:$LINENO: result: yes" >&5
8677 echo "${ECHO_T}yes" >&6
8678 else
8679 echo "$as_me:$LINENO: result: no" >&5
8680 echo "${ECHO_T}no" >&6
8681 fi
8682
8683
8684 enablestring=
8685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8686 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8687 no_cache=0
8688 # Check whether --enable-statusbar or --disable-statusbar was given.
8689 if test "${enable_statusbar+set}" = set; then
8690 enableval="$enable_statusbar"
8691
8692 if test "$enableval" = yes; then
8693 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8694 else
8695 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8696 fi
8697
8698 else
8699
8700 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8701 if test "x$LINE" != x ; then
8702 eval "DEFAULT_$LINE"
8703 else
8704 no_cache=1
8705 fi
8706
8707 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8708
8709 fi;
8710
8711 eval "$ac_cv_use_statusbar"
8712 if test "$no_cache" != 1; then
8713 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8714 fi
8715
8716 if test "$wxUSE_STATUSBAR" = yes; then
8717 echo "$as_me:$LINENO: result: yes" >&5
8718 echo "${ECHO_T}yes" >&6
8719 else
8720 echo "$as_me:$LINENO: result: no" >&5
8721 echo "${ECHO_T}no" >&6
8722 fi
8723
8724
8725 enablestring=
8726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8727 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8728 no_cache=0
8729 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8730 if test "${enable_tabdialog+set}" = set; then
8731 enableval="$enable_tabdialog"
8732
8733 if test "$enableval" = yes; then
8734 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8735 else
8736 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8737 fi
8738
8739 else
8740
8741 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8742 if test "x$LINE" != x ; then
8743 eval "DEFAULT_$LINE"
8744 else
8745 no_cache=1
8746 fi
8747
8748 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8749
8750 fi;
8751
8752 eval "$ac_cv_use_tabdialog"
8753 if test "$no_cache" != 1; then
8754 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8755 fi
8756
8757 if test "$wxUSE_TABDIALOG" = yes; then
8758 echo "$as_me:$LINENO: result: yes" >&5
8759 echo "${ECHO_T}yes" >&6
8760 else
8761 echo "$as_me:$LINENO: result: no" >&5
8762 echo "${ECHO_T}no" >&6
8763 fi
8764
8765
8766 enablestring=
8767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8768 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8769 no_cache=0
8770 # Check whether --enable-textctrl or --disable-textctrl was given.
8771 if test "${enable_textctrl+set}" = set; then
8772 enableval="$enable_textctrl"
8773
8774 if test "$enableval" = yes; then
8775 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8776 else
8777 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8778 fi
8779
8780 else
8781
8782 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8783 if test "x$LINE" != x ; then
8784 eval "DEFAULT_$LINE"
8785 else
8786 no_cache=1
8787 fi
8788
8789 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8790
8791 fi;
8792
8793 eval "$ac_cv_use_textctrl"
8794 if test "$no_cache" != 1; then
8795 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8796 fi
8797
8798 if test "$wxUSE_TEXTCTRL" = yes; then
8799 echo "$as_me:$LINENO: result: yes" >&5
8800 echo "${ECHO_T}yes" >&6
8801 else
8802 echo "$as_me:$LINENO: result: no" >&5
8803 echo "${ECHO_T}no" >&6
8804 fi
8805
8806
8807 enablestring=
8808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8809 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8810 no_cache=0
8811 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8812 if test "${enable_togglebtn+set}" = set; then
8813 enableval="$enable_togglebtn"
8814
8815 if test "$enableval" = yes; then
8816 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8817 else
8818 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8819 fi
8820
8821 else
8822
8823 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8824 if test "x$LINE" != x ; then
8825 eval "DEFAULT_$LINE"
8826 else
8827 no_cache=1
8828 fi
8829
8830 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8831
8832 fi;
8833
8834 eval "$ac_cv_use_togglebtn"
8835 if test "$no_cache" != 1; then
8836 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8837 fi
8838
8839 if test "$wxUSE_TOGGLEBTN" = yes; then
8840 echo "$as_me:$LINENO: result: yes" >&5
8841 echo "${ECHO_T}yes" >&6
8842 else
8843 echo "$as_me:$LINENO: result: no" >&5
8844 echo "${ECHO_T}no" >&6
8845 fi
8846
8847
8848 enablestring=
8849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8850 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8851 no_cache=0
8852 # Check whether --enable-toolbar or --disable-toolbar was given.
8853 if test "${enable_toolbar+set}" = set; then
8854 enableval="$enable_toolbar"
8855
8856 if test "$enableval" = yes; then
8857 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8858 else
8859 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8860 fi
8861
8862 else
8863
8864 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8865 if test "x$LINE" != x ; then
8866 eval "DEFAULT_$LINE"
8867 else
8868 no_cache=1
8869 fi
8870
8871 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8872
8873 fi;
8874
8875 eval "$ac_cv_use_toolbar"
8876 if test "$no_cache" != 1; then
8877 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8878 fi
8879
8880 if test "$wxUSE_TOOLBAR" = yes; then
8881 echo "$as_me:$LINENO: result: yes" >&5
8882 echo "${ECHO_T}yes" >&6
8883 else
8884 echo "$as_me:$LINENO: result: no" >&5
8885 echo "${ECHO_T}no" >&6
8886 fi
8887
8888
8889 enablestring=
8890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8891 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8892 no_cache=0
8893 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8894 if test "${enable_tbarnative+set}" = set; then
8895 enableval="$enable_tbarnative"
8896
8897 if test "$enableval" = yes; then
8898 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8899 else
8900 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8901 fi
8902
8903 else
8904
8905 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8906 if test "x$LINE" != x ; then
8907 eval "DEFAULT_$LINE"
8908 else
8909 no_cache=1
8910 fi
8911
8912 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8913
8914 fi;
8915
8916 eval "$ac_cv_use_tbarnative"
8917 if test "$no_cache" != 1; then
8918 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8919 fi
8920
8921 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8922 echo "$as_me:$LINENO: result: yes" >&5
8923 echo "${ECHO_T}yes" >&6
8924 else
8925 echo "$as_me:$LINENO: result: no" >&5
8926 echo "${ECHO_T}no" >&6
8927 fi
8928
8929
8930 enablestring=
8931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8932 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8933 no_cache=0
8934 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8935 if test "${enable_tbarsmpl+set}" = set; then
8936 enableval="$enable_tbarsmpl"
8937
8938 if test "$enableval" = yes; then
8939 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8940 else
8941 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8942 fi
8943
8944 else
8945
8946 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8947 if test "x$LINE" != x ; then
8948 eval "DEFAULT_$LINE"
8949 else
8950 no_cache=1
8951 fi
8952
8953 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8954
8955 fi;
8956
8957 eval "$ac_cv_use_tbarsmpl"
8958 if test "$no_cache" != 1; then
8959 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8960 fi
8961
8962 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8963 echo "$as_me:$LINENO: result: yes" >&5
8964 echo "${ECHO_T}yes" >&6
8965 else
8966 echo "$as_me:$LINENO: result: no" >&5
8967 echo "${ECHO_T}no" >&6
8968 fi
8969
8970
8971 enablestring=
8972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8973 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8974 no_cache=0
8975 # Check whether --enable-treectrl or --disable-treectrl was given.
8976 if test "${enable_treectrl+set}" = set; then
8977 enableval="$enable_treectrl"
8978
8979 if test "$enableval" = yes; then
8980 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8981 else
8982 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8983 fi
8984
8985 else
8986
8987 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8988 if test "x$LINE" != x ; then
8989 eval "DEFAULT_$LINE"
8990 else
8991 no_cache=1
8992 fi
8993
8994 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8995
8996 fi;
8997
8998 eval "$ac_cv_use_treectrl"
8999 if test "$no_cache" != 1; then
9000 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9001 fi
9002
9003 if test "$wxUSE_TREECTRL" = yes; then
9004 echo "$as_me:$LINENO: result: yes" >&5
9005 echo "${ECHO_T}yes" >&6
9006 else
9007 echo "$as_me:$LINENO: result: no" >&5
9008 echo "${ECHO_T}no" >&6
9009 fi
9010
9011
9012 enablestring=
9013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9014 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9015 no_cache=0
9016 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9017 if test "${enable_tipwindow+set}" = set; then
9018 enableval="$enable_tipwindow"
9019
9020 if test "$enableval" = yes; then
9021 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9022 else
9023 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9024 fi
9025
9026 else
9027
9028 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9029 if test "x$LINE" != x ; then
9030 eval "DEFAULT_$LINE"
9031 else
9032 no_cache=1
9033 fi
9034
9035 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9036
9037 fi;
9038
9039 eval "$ac_cv_use_tipwindow"
9040 if test "$no_cache" != 1; then
9041 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9042 fi
9043
9044 if test "$wxUSE_TIPWINDOW" = yes; then
9045 echo "$as_me:$LINENO: result: yes" >&5
9046 echo "${ECHO_T}yes" >&6
9047 else
9048 echo "$as_me:$LINENO: result: no" >&5
9049 echo "${ECHO_T}no" >&6
9050 fi
9051
9052
9053 enablestring=
9054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9055 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9056 no_cache=0
9057 # Check whether --enable-popupwin or --disable-popupwin was given.
9058 if test "${enable_popupwin+set}" = set; then
9059 enableval="$enable_popupwin"
9060
9061 if test "$enableval" = yes; then
9062 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9063 else
9064 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9065 fi
9066
9067 else
9068
9069 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9070 if test "x$LINE" != x ; then
9071 eval "DEFAULT_$LINE"
9072 else
9073 no_cache=1
9074 fi
9075
9076 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9077
9078 fi;
9079
9080 eval "$ac_cv_use_popupwin"
9081 if test "$no_cache" != 1; then
9082 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9083 fi
9084
9085 if test "$wxUSE_POPUPWIN" = yes; then
9086 echo "$as_me:$LINENO: result: yes" >&5
9087 echo "${ECHO_T}yes" >&6
9088 else
9089 echo "$as_me:$LINENO: result: no" >&5
9090 echo "${ECHO_T}no" >&6
9091 fi
9092
9093
9094
9095
9096 enablestring=
9097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9098 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9099 no_cache=0
9100 # Check whether --enable-commondlg or --disable-commondlg was given.
9101 if test "${enable_commondlg+set}" = set; then
9102 enableval="$enable_commondlg"
9103
9104 if test "$enableval" = yes; then
9105 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9106 else
9107 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9108 fi
9109
9110 else
9111
9112 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9113 if test "x$LINE" != x ; then
9114 eval "DEFAULT_$LINE"
9115 else
9116 no_cache=1
9117 fi
9118
9119 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9120
9121 fi;
9122
9123 eval "$ac_cv_use_commondlg"
9124 if test "$no_cache" != 1; then
9125 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9126 fi
9127
9128 if test "$wxUSE_COMMONDLGS" = yes; then
9129 echo "$as_me:$LINENO: result: yes" >&5
9130 echo "${ECHO_T}yes" >&6
9131 else
9132 echo "$as_me:$LINENO: result: no" >&5
9133 echo "${ECHO_T}no" >&6
9134 fi
9135
9136
9137 enablestring=
9138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9139 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9140 no_cache=0
9141 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9142 if test "${enable_choicedlg+set}" = set; then
9143 enableval="$enable_choicedlg"
9144
9145 if test "$enableval" = yes; then
9146 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9147 else
9148 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9149 fi
9150
9151 else
9152
9153 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9154 if test "x$LINE" != x ; then
9155 eval "DEFAULT_$LINE"
9156 else
9157 no_cache=1
9158 fi
9159
9160 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9161
9162 fi;
9163
9164 eval "$ac_cv_use_choicedlg"
9165 if test "$no_cache" != 1; then
9166 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9167 fi
9168
9169 if test "$wxUSE_CHOICEDLG" = yes; then
9170 echo "$as_me:$LINENO: result: yes" >&5
9171 echo "${ECHO_T}yes" >&6
9172 else
9173 echo "$as_me:$LINENO: result: no" >&5
9174 echo "${ECHO_T}no" >&6
9175 fi
9176
9177
9178 enablestring=
9179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9180 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9181 no_cache=0
9182 # Check whether --enable-coldlg or --disable-coldlg was given.
9183 if test "${enable_coldlg+set}" = set; then
9184 enableval="$enable_coldlg"
9185
9186 if test "$enableval" = yes; then
9187 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9188 else
9189 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9190 fi
9191
9192 else
9193
9194 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9195 if test "x$LINE" != x ; then
9196 eval "DEFAULT_$LINE"
9197 else
9198 no_cache=1
9199 fi
9200
9201 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9202
9203 fi;
9204
9205 eval "$ac_cv_use_coldlg"
9206 if test "$no_cache" != 1; then
9207 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9208 fi
9209
9210 if test "$wxUSE_COLOURDLG" = yes; then
9211 echo "$as_me:$LINENO: result: yes" >&5
9212 echo "${ECHO_T}yes" >&6
9213 else
9214 echo "$as_me:$LINENO: result: no" >&5
9215 echo "${ECHO_T}no" >&6
9216 fi
9217
9218
9219 enablestring=
9220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9221 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9222 no_cache=0
9223 # Check whether --enable-filedlg or --disable-filedlg was given.
9224 if test "${enable_filedlg+set}" = set; then
9225 enableval="$enable_filedlg"
9226
9227 if test "$enableval" = yes; then
9228 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9229 else
9230 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9231 fi
9232
9233 else
9234
9235 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9236 if test "x$LINE" != x ; then
9237 eval "DEFAULT_$LINE"
9238 else
9239 no_cache=1
9240 fi
9241
9242 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9243
9244 fi;
9245
9246 eval "$ac_cv_use_filedlg"
9247 if test "$no_cache" != 1; then
9248 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9249 fi
9250
9251 if test "$wxUSE_FILEDLG" = yes; then
9252 echo "$as_me:$LINENO: result: yes" >&5
9253 echo "${ECHO_T}yes" >&6
9254 else
9255 echo "$as_me:$LINENO: result: no" >&5
9256 echo "${ECHO_T}no" >&6
9257 fi
9258
9259
9260 enablestring=
9261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9262 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9263 no_cache=0
9264 # Check whether --enable-finddlg or --disable-finddlg was given.
9265 if test "${enable_finddlg+set}" = set; then
9266 enableval="$enable_finddlg"
9267
9268 if test "$enableval" = yes; then
9269 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9270 else
9271 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9272 fi
9273
9274 else
9275
9276 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9277 if test "x$LINE" != x ; then
9278 eval "DEFAULT_$LINE"
9279 else
9280 no_cache=1
9281 fi
9282
9283 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9284
9285 fi;
9286
9287 eval "$ac_cv_use_finddlg"
9288 if test "$no_cache" != 1; then
9289 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9290 fi
9291
9292 if test "$wxUSE_FINDREPLDLG" = yes; then
9293 echo "$as_me:$LINENO: result: yes" >&5
9294 echo "${ECHO_T}yes" >&6
9295 else
9296 echo "$as_me:$LINENO: result: no" >&5
9297 echo "${ECHO_T}no" >&6
9298 fi
9299
9300
9301 enablestring=
9302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9303 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9304 no_cache=0
9305 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9306 if test "${enable_fontdlg+set}" = set; then
9307 enableval="$enable_fontdlg"
9308
9309 if test "$enableval" = yes; then
9310 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9311 else
9312 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9313 fi
9314
9315 else
9316
9317 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9318 if test "x$LINE" != x ; then
9319 eval "DEFAULT_$LINE"
9320 else
9321 no_cache=1
9322 fi
9323
9324 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9325
9326 fi;
9327
9328 eval "$ac_cv_use_fontdlg"
9329 if test "$no_cache" != 1; then
9330 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9331 fi
9332
9333 if test "$wxUSE_FONTDLG" = yes; then
9334 echo "$as_me:$LINENO: result: yes" >&5
9335 echo "${ECHO_T}yes" >&6
9336 else
9337 echo "$as_me:$LINENO: result: no" >&5
9338 echo "${ECHO_T}no" >&6
9339 fi
9340
9341
9342 enablestring=
9343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9344 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9345 no_cache=0
9346 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9347 if test "${enable_dirdlg+set}" = set; then
9348 enableval="$enable_dirdlg"
9349
9350 if test "$enableval" = yes; then
9351 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9352 else
9353 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9354 fi
9355
9356 else
9357
9358 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9359 if test "x$LINE" != x ; then
9360 eval "DEFAULT_$LINE"
9361 else
9362 no_cache=1
9363 fi
9364
9365 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9366
9367 fi;
9368
9369 eval "$ac_cv_use_dirdlg"
9370 if test "$no_cache" != 1; then
9371 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9372 fi
9373
9374 if test "$wxUSE_DIRDLG" = yes; then
9375 echo "$as_me:$LINENO: result: yes" >&5
9376 echo "${ECHO_T}yes" >&6
9377 else
9378 echo "$as_me:$LINENO: result: no" >&5
9379 echo "${ECHO_T}no" >&6
9380 fi
9381
9382
9383 enablestring=
9384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9385 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9386 no_cache=0
9387 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9388 if test "${enable_msgdlg+set}" = set; then
9389 enableval="$enable_msgdlg"
9390
9391 if test "$enableval" = yes; then
9392 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9393 else
9394 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9395 fi
9396
9397 else
9398
9399 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9400 if test "x$LINE" != x ; then
9401 eval "DEFAULT_$LINE"
9402 else
9403 no_cache=1
9404 fi
9405
9406 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9407
9408 fi;
9409
9410 eval "$ac_cv_use_msgdlg"
9411 if test "$no_cache" != 1; then
9412 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9413 fi
9414
9415 if test "$wxUSE_MSGDLG" = yes; then
9416 echo "$as_me:$LINENO: result: yes" >&5
9417 echo "${ECHO_T}yes" >&6
9418 else
9419 echo "$as_me:$LINENO: result: no" >&5
9420 echo "${ECHO_T}no" >&6
9421 fi
9422
9423
9424 enablestring=
9425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9426 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9427 no_cache=0
9428 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9429 if test "${enable_numberdlg+set}" = set; then
9430 enableval="$enable_numberdlg"
9431
9432 if test "$enableval" = yes; then
9433 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9434 else
9435 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9436 fi
9437
9438 else
9439
9440 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9441 if test "x$LINE" != x ; then
9442 eval "DEFAULT_$LINE"
9443 else
9444 no_cache=1
9445 fi
9446
9447 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9448
9449 fi;
9450
9451 eval "$ac_cv_use_numberdlg"
9452 if test "$no_cache" != 1; then
9453 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9454 fi
9455
9456 if test "$wxUSE_NUMBERDLG" = yes; then
9457 echo "$as_me:$LINENO: result: yes" >&5
9458 echo "${ECHO_T}yes" >&6
9459 else
9460 echo "$as_me:$LINENO: result: no" >&5
9461 echo "${ECHO_T}no" >&6
9462 fi
9463
9464
9465 enablestring=
9466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9467 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9468 no_cache=0
9469 # Check whether --enable-splash or --disable-splash was given.
9470 if test "${enable_splash+set}" = set; then
9471 enableval="$enable_splash"
9472
9473 if test "$enableval" = yes; then
9474 ac_cv_use_splash='wxUSE_SPLASH=yes'
9475 else
9476 ac_cv_use_splash='wxUSE_SPLASH=no'
9477 fi
9478
9479 else
9480
9481 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9482 if test "x$LINE" != x ; then
9483 eval "DEFAULT_$LINE"
9484 else
9485 no_cache=1
9486 fi
9487
9488 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9489
9490 fi;
9491
9492 eval "$ac_cv_use_splash"
9493 if test "$no_cache" != 1; then
9494 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9495 fi
9496
9497 if test "$wxUSE_SPLASH" = yes; then
9498 echo "$as_me:$LINENO: result: yes" >&5
9499 echo "${ECHO_T}yes" >&6
9500 else
9501 echo "$as_me:$LINENO: result: no" >&5
9502 echo "${ECHO_T}no" >&6
9503 fi
9504
9505
9506 enablestring=
9507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9508 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9509 no_cache=0
9510 # Check whether --enable-textdlg or --disable-textdlg was given.
9511 if test "${enable_textdlg+set}" = set; then
9512 enableval="$enable_textdlg"
9513
9514 if test "$enableval" = yes; then
9515 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9516 else
9517 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9518 fi
9519
9520 else
9521
9522 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9523 if test "x$LINE" != x ; then
9524 eval "DEFAULT_$LINE"
9525 else
9526 no_cache=1
9527 fi
9528
9529 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9530
9531 fi;
9532
9533 eval "$ac_cv_use_textdlg"
9534 if test "$no_cache" != 1; then
9535 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9536 fi
9537
9538 if test "$wxUSE_TEXTDLG" = yes; then
9539 echo "$as_me:$LINENO: result: yes" >&5
9540 echo "${ECHO_T}yes" >&6
9541 else
9542 echo "$as_me:$LINENO: result: no" >&5
9543 echo "${ECHO_T}no" >&6
9544 fi
9545
9546
9547 enablestring=
9548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9549 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9550 no_cache=0
9551 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9552 if test "${enable_tipdlg+set}" = set; then
9553 enableval="$enable_tipdlg"
9554
9555 if test "$enableval" = yes; then
9556 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9557 else
9558 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9559 fi
9560
9561 else
9562
9563 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9564 if test "x$LINE" != x ; then
9565 eval "DEFAULT_$LINE"
9566 else
9567 no_cache=1
9568 fi
9569
9570 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9571
9572 fi;
9573
9574 eval "$ac_cv_use_tipdlg"
9575 if test "$no_cache" != 1; then
9576 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9577 fi
9578
9579 if test "$wxUSE_STARTUP_TIPS" = yes; then
9580 echo "$as_me:$LINENO: result: yes" >&5
9581 echo "${ECHO_T}yes" >&6
9582 else
9583 echo "$as_me:$LINENO: result: no" >&5
9584 echo "${ECHO_T}no" >&6
9585 fi
9586
9587
9588 enablestring=
9589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9590 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9591 no_cache=0
9592 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9593 if test "${enable_progressdlg+set}" = set; then
9594 enableval="$enable_progressdlg"
9595
9596 if test "$enableval" = yes; then
9597 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9598 else
9599 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9600 fi
9601
9602 else
9603
9604 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9605 if test "x$LINE" != x ; then
9606 eval "DEFAULT_$LINE"
9607 else
9608 no_cache=1
9609 fi
9610
9611 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9612
9613 fi;
9614
9615 eval "$ac_cv_use_progressdlg"
9616 if test "$no_cache" != 1; then
9617 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9618 fi
9619
9620 if test "$wxUSE_PROGRESSDLG" = yes; then
9621 echo "$as_me:$LINENO: result: yes" >&5
9622 echo "${ECHO_T}yes" >&6
9623 else
9624 echo "$as_me:$LINENO: result: no" >&5
9625 echo "${ECHO_T}no" >&6
9626 fi
9627
9628
9629 enablestring=
9630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9631 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9632 no_cache=0
9633 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9634 if test "${enable_wizarddlg+set}" = set; then
9635 enableval="$enable_wizarddlg"
9636
9637 if test "$enableval" = yes; then
9638 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9639 else
9640 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9641 fi
9642
9643 else
9644
9645 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9646 if test "x$LINE" != x ; then
9647 eval "DEFAULT_$LINE"
9648 else
9649 no_cache=1
9650 fi
9651
9652 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9653
9654 fi;
9655
9656 eval "$ac_cv_use_wizarddlg"
9657 if test "$no_cache" != 1; then
9658 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9659 fi
9660
9661 if test "$wxUSE_WIZARDDLG" = yes; then
9662 echo "$as_me:$LINENO: result: yes" >&5
9663 echo "${ECHO_T}yes" >&6
9664 else
9665 echo "$as_me:$LINENO: result: no" >&5
9666 echo "${ECHO_T}no" >&6
9667 fi
9668
9669
9670
9671
9672 enablestring=
9673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9674 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9675 no_cache=0
9676 # Check whether --enable-menus or --disable-menus was given.
9677 if test "${enable_menus+set}" = set; then
9678 enableval="$enable_menus"
9679
9680 if test "$enableval" = yes; then
9681 ac_cv_use_menus='wxUSE_MENUS=yes'
9682 else
9683 ac_cv_use_menus='wxUSE_MENUS=no'
9684 fi
9685
9686 else
9687
9688 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9689 if test "x$LINE" != x ; then
9690 eval "DEFAULT_$LINE"
9691 else
9692 no_cache=1
9693 fi
9694
9695 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9696
9697 fi;
9698
9699 eval "$ac_cv_use_menus"
9700 if test "$no_cache" != 1; then
9701 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9702 fi
9703
9704 if test "$wxUSE_MENUS" = yes; then
9705 echo "$as_me:$LINENO: result: yes" >&5
9706 echo "${ECHO_T}yes" >&6
9707 else
9708 echo "$as_me:$LINENO: result: no" >&5
9709 echo "${ECHO_T}no" >&6
9710 fi
9711
9712
9713 enablestring=
9714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9716 no_cache=0
9717 # Check whether --enable-miniframe or --disable-miniframe was given.
9718 if test "${enable_miniframe+set}" = set; then
9719 enableval="$enable_miniframe"
9720
9721 if test "$enableval" = yes; then
9722 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9723 else
9724 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9725 fi
9726
9727 else
9728
9729 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9730 if test "x$LINE" != x ; then
9731 eval "DEFAULT_$LINE"
9732 else
9733 no_cache=1
9734 fi
9735
9736 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9737
9738 fi;
9739
9740 eval "$ac_cv_use_miniframe"
9741 if test "$no_cache" != 1; then
9742 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9743 fi
9744
9745 if test "$wxUSE_MINIFRAME" = yes; then
9746 echo "$as_me:$LINENO: result: yes" >&5
9747 echo "${ECHO_T}yes" >&6
9748 else
9749 echo "$as_me:$LINENO: result: no" >&5
9750 echo "${ECHO_T}no" >&6
9751 fi
9752
9753
9754 enablestring=
9755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9756 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9757 no_cache=0
9758 # Check whether --enable-tooltips or --disable-tooltips was given.
9759 if test "${enable_tooltips+set}" = set; then
9760 enableval="$enable_tooltips"
9761
9762 if test "$enableval" = yes; then
9763 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9764 else
9765 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9766 fi
9767
9768 else
9769
9770 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9771 if test "x$LINE" != x ; then
9772 eval "DEFAULT_$LINE"
9773 else
9774 no_cache=1
9775 fi
9776
9777 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9778
9779 fi;
9780
9781 eval "$ac_cv_use_tooltips"
9782 if test "$no_cache" != 1; then
9783 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9784 fi
9785
9786 if test "$wxUSE_TOOLTIPS" = yes; then
9787 echo "$as_me:$LINENO: result: yes" >&5
9788 echo "${ECHO_T}yes" >&6
9789 else
9790 echo "$as_me:$LINENO: result: no" >&5
9791 echo "${ECHO_T}no" >&6
9792 fi
9793
9794
9795 enablestring=
9796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9797 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9798 no_cache=0
9799 # Check whether --enable-splines or --disable-splines was given.
9800 if test "${enable_splines+set}" = set; then
9801 enableval="$enable_splines"
9802
9803 if test "$enableval" = yes; then
9804 ac_cv_use_splines='wxUSE_SPLINES=yes'
9805 else
9806 ac_cv_use_splines='wxUSE_SPLINES=no'
9807 fi
9808
9809 else
9810
9811 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9812 if test "x$LINE" != x ; then
9813 eval "DEFAULT_$LINE"
9814 else
9815 no_cache=1
9816 fi
9817
9818 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9819
9820 fi;
9821
9822 eval "$ac_cv_use_splines"
9823 if test "$no_cache" != 1; then
9824 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9825 fi
9826
9827 if test "$wxUSE_SPLINES" = yes; then
9828 echo "$as_me:$LINENO: result: yes" >&5
9829 echo "${ECHO_T}yes" >&6
9830 else
9831 echo "$as_me:$LINENO: result: no" >&5
9832 echo "${ECHO_T}no" >&6
9833 fi
9834
9835
9836 enablestring=
9837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9838 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9839 no_cache=0
9840 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9841 if test "${enable_mousewheel+set}" = set; then
9842 enableval="$enable_mousewheel"
9843
9844 if test "$enableval" = yes; then
9845 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
9846 else
9847 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
9848 fi
9849
9850 else
9851
9852 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9853 if test "x$LINE" != x ; then
9854 eval "DEFAULT_$LINE"
9855 else
9856 no_cache=1
9857 fi
9858
9859 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9860
9861 fi;
9862
9863 eval "$ac_cv_use_mousewheel"
9864 if test "$no_cache" != 1; then
9865 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9866 fi
9867
9868 if test "$wxUSE_MOUSEWHEEL" = yes; then
9869 echo "$as_me:$LINENO: result: yes" >&5
9870 echo "${ECHO_T}yes" >&6
9871 else
9872 echo "$as_me:$LINENO: result: no" >&5
9873 echo "${ECHO_T}no" >&6
9874 fi
9875
9876
9877 enablestring=
9878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9879 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9880 no_cache=0
9881 # Check whether --enable-validators or --disable-validators was given.
9882 if test "${enable_validators+set}" = set; then
9883 enableval="$enable_validators"
9884
9885 if test "$enableval" = yes; then
9886 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9887 else
9888 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9889 fi
9890
9891 else
9892
9893 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9894 if test "x$LINE" != x ; then
9895 eval "DEFAULT_$LINE"
9896 else
9897 no_cache=1
9898 fi
9899
9900 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9901
9902 fi;
9903
9904 eval "$ac_cv_use_validators"
9905 if test "$no_cache" != 1; then
9906 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9907 fi
9908
9909 if test "$wxUSE_VALIDATORS" = yes; then
9910 echo "$as_me:$LINENO: result: yes" >&5
9911 echo "${ECHO_T}yes" >&6
9912 else
9913 echo "$as_me:$LINENO: result: no" >&5
9914 echo "${ECHO_T}no" >&6
9915 fi
9916
9917
9918 enablestring=
9919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9920 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9921 no_cache=0
9922 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9923 if test "${enable_busyinfo+set}" = set; then
9924 enableval="$enable_busyinfo"
9925
9926 if test "$enableval" = yes; then
9927 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9928 else
9929 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9930 fi
9931
9932 else
9933
9934 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9935 if test "x$LINE" != x ; then
9936 eval "DEFAULT_$LINE"
9937 else
9938 no_cache=1
9939 fi
9940
9941 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9942
9943 fi;
9944
9945 eval "$ac_cv_use_busyinfo"
9946 if test "$no_cache" != 1; then
9947 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9948 fi
9949
9950 if test "$wxUSE_BUSYINFO" = yes; then
9951 echo "$as_me:$LINENO: result: yes" >&5
9952 echo "${ECHO_T}yes" >&6
9953 else
9954 echo "$as_me:$LINENO: result: no" >&5
9955 echo "${ECHO_T}no" >&6
9956 fi
9957
9958
9959 enablestring=
9960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9961 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9962 no_cache=0
9963 # Check whether --enable-joystick or --disable-joystick was given.
9964 if test "${enable_joystick+set}" = set; then
9965 enableval="$enable_joystick"
9966
9967 if test "$enableval" = yes; then
9968 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9969 else
9970 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9971 fi
9972
9973 else
9974
9975 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9976 if test "x$LINE" != x ; then
9977 eval "DEFAULT_$LINE"
9978 else
9979 no_cache=1
9980 fi
9981
9982 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9983
9984 fi;
9985
9986 eval "$ac_cv_use_joystick"
9987 if test "$no_cache" != 1; then
9988 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9989 fi
9990
9991 if test "$wxUSE_JOYSTICK" = yes; then
9992 echo "$as_me:$LINENO: result: yes" >&5
9993 echo "${ECHO_T}yes" >&6
9994 else
9995 echo "$as_me:$LINENO: result: no" >&5
9996 echo "${ECHO_T}no" >&6
9997 fi
9998
9999
10000 enablestring=
10001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10002 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10003 no_cache=0
10004 # Check whether --enable-metafile or --disable-metafile was given.
10005 if test "${enable_metafile+set}" = set; then
10006 enableval="$enable_metafile"
10007
10008 if test "$enableval" = yes; then
10009 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10010 else
10011 ac_cv_use_metafile='wxUSE_METAFILE=no'
10012 fi
10013
10014 else
10015
10016 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10017 if test "x$LINE" != x ; then
10018 eval "DEFAULT_$LINE"
10019 else
10020 no_cache=1
10021 fi
10022
10023 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10024
10025 fi;
10026
10027 eval "$ac_cv_use_metafile"
10028 if test "$no_cache" != 1; then
10029 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10030 fi
10031
10032 if test "$wxUSE_METAFILE" = yes; then
10033 echo "$as_me:$LINENO: result: yes" >&5
10034 echo "${ECHO_T}yes" >&6
10035 else
10036 echo "$as_me:$LINENO: result: no" >&5
10037 echo "${ECHO_T}no" >&6
10038 fi
10039
10040
10041 enablestring=
10042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10043 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10044 no_cache=0
10045 # Check whether --enable-dragimage or --disable-dragimage was given.
10046 if test "${enable_dragimage+set}" = set; then
10047 enableval="$enable_dragimage"
10048
10049 if test "$enableval" = yes; then
10050 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10051 else
10052 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10053 fi
10054
10055 else
10056
10057 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10058 if test "x$LINE" != x ; then
10059 eval "DEFAULT_$LINE"
10060 else
10061 no_cache=1
10062 fi
10063
10064 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10065
10066 fi;
10067
10068 eval "$ac_cv_use_dragimage"
10069 if test "$no_cache" != 1; then
10070 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10071 fi
10072
10073 if test "$wxUSE_DRAGIMAGE" = yes; then
10074 echo "$as_me:$LINENO: result: yes" >&5
10075 echo "${ECHO_T}yes" >&6
10076 else
10077 echo "$as_me:$LINENO: result: no" >&5
10078 echo "${ECHO_T}no" >&6
10079 fi
10080
10081
10082 enablestring=
10083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10084 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10085 no_cache=0
10086 # Check whether --enable-accessibility or --disable-accessibility was given.
10087 if test "${enable_accessibility+set}" = set; then
10088 enableval="$enable_accessibility"
10089
10090 if test "$enableval" = yes; then
10091 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10092 else
10093 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10094 fi
10095
10096 else
10097
10098 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10099 if test "x$LINE" != x ; then
10100 eval "DEFAULT_$LINE"
10101 else
10102 no_cache=1
10103 fi
10104
10105 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10106
10107 fi;
10108
10109 eval "$ac_cv_use_accessibility"
10110 if test "$no_cache" != 1; then
10111 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10112 fi
10113
10114 if test "$wxUSE_ACCESSIBILITY" = yes; then
10115 echo "$as_me:$LINENO: result: yes" >&5
10116 echo "${ECHO_T}yes" >&6
10117 else
10118 echo "$as_me:$LINENO: result: no" >&5
10119 echo "${ECHO_T}no" >&6
10120 fi
10121
10122
10123
10124
10125 enablestring=
10126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10127 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10128 no_cache=0
10129 # Check whether --enable-palette or --disable-palette was given.
10130 if test "${enable_palette+set}" = set; then
10131 enableval="$enable_palette"
10132
10133 if test "$enableval" = yes; then
10134 ac_cv_use_palette='wxUSE_PALETTE=yes'
10135 else
10136 ac_cv_use_palette='wxUSE_PALETTE=no'
10137 fi
10138
10139 else
10140
10141 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10142 if test "x$LINE" != x ; then
10143 eval "DEFAULT_$LINE"
10144 else
10145 no_cache=1
10146 fi
10147
10148 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10149
10150 fi;
10151
10152 eval "$ac_cv_use_palette"
10153 if test "$no_cache" != 1; then
10154 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10155 fi
10156
10157 if test "$wxUSE_PALETTE" = yes; then
10158 echo "$as_me:$LINENO: result: yes" >&5
10159 echo "${ECHO_T}yes" >&6
10160 else
10161 echo "$as_me:$LINENO: result: no" >&5
10162 echo "${ECHO_T}no" >&6
10163 fi
10164
10165
10166 enablestring=
10167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10168 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10169 no_cache=0
10170 # Check whether --enable-image or --disable-image was given.
10171 if test "${enable_image+set}" = set; then
10172 enableval="$enable_image"
10173
10174 if test "$enableval" = yes; then
10175 ac_cv_use_image='wxUSE_IMAGE=yes'
10176 else
10177 ac_cv_use_image='wxUSE_IMAGE=no'
10178 fi
10179
10180 else
10181
10182 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10183 if test "x$LINE" != x ; then
10184 eval "DEFAULT_$LINE"
10185 else
10186 no_cache=1
10187 fi
10188
10189 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10190
10191 fi;
10192
10193 eval "$ac_cv_use_image"
10194 if test "$no_cache" != 1; then
10195 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10196 fi
10197
10198 if test "$wxUSE_IMAGE" = yes; then
10199 echo "$as_me:$LINENO: result: yes" >&5
10200 echo "${ECHO_T}yes" >&6
10201 else
10202 echo "$as_me:$LINENO: result: no" >&5
10203 echo "${ECHO_T}no" >&6
10204 fi
10205
10206
10207 enablestring=
10208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10209 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10210 no_cache=0
10211 # Check whether --enable-gif or --disable-gif was given.
10212 if test "${enable_gif+set}" = set; then
10213 enableval="$enable_gif"
10214
10215 if test "$enableval" = yes; then
10216 ac_cv_use_gif='wxUSE_GIF=yes'
10217 else
10218 ac_cv_use_gif='wxUSE_GIF=no'
10219 fi
10220
10221 else
10222
10223 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10224 if test "x$LINE" != x ; then
10225 eval "DEFAULT_$LINE"
10226 else
10227 no_cache=1
10228 fi
10229
10230 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10231
10232 fi;
10233
10234 eval "$ac_cv_use_gif"
10235 if test "$no_cache" != 1; then
10236 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10237 fi
10238
10239 if test "$wxUSE_GIF" = yes; then
10240 echo "$as_me:$LINENO: result: yes" >&5
10241 echo "${ECHO_T}yes" >&6
10242 else
10243 echo "$as_me:$LINENO: result: no" >&5
10244 echo "${ECHO_T}no" >&6
10245 fi
10246
10247
10248 enablestring=
10249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10250 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10251 no_cache=0
10252 # Check whether --enable-pcx or --disable-pcx was given.
10253 if test "${enable_pcx+set}" = set; then
10254 enableval="$enable_pcx"
10255
10256 if test "$enableval" = yes; then
10257 ac_cv_use_pcx='wxUSE_PCX=yes'
10258 else
10259 ac_cv_use_pcx='wxUSE_PCX=no'
10260 fi
10261
10262 else
10263
10264 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10265 if test "x$LINE" != x ; then
10266 eval "DEFAULT_$LINE"
10267 else
10268 no_cache=1
10269 fi
10270
10271 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10272
10273 fi;
10274
10275 eval "$ac_cv_use_pcx"
10276 if test "$no_cache" != 1; then
10277 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10278 fi
10279
10280 if test "$wxUSE_PCX" = yes; then
10281 echo "$as_me:$LINENO: result: yes" >&5
10282 echo "${ECHO_T}yes" >&6
10283 else
10284 echo "$as_me:$LINENO: result: no" >&5
10285 echo "${ECHO_T}no" >&6
10286 fi
10287
10288
10289 enablestring=
10290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10292 no_cache=0
10293 # Check whether --enable-iff or --disable-iff was given.
10294 if test "${enable_iff+set}" = set; then
10295 enableval="$enable_iff"
10296
10297 if test "$enableval" = yes; then
10298 ac_cv_use_iff='wxUSE_IFF=yes'
10299 else
10300 ac_cv_use_iff='wxUSE_IFF=no'
10301 fi
10302
10303 else
10304
10305 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10306 if test "x$LINE" != x ; then
10307 eval "DEFAULT_$LINE"
10308 else
10309 no_cache=1
10310 fi
10311
10312 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10313
10314 fi;
10315
10316 eval "$ac_cv_use_iff"
10317 if test "$no_cache" != 1; then
10318 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10319 fi
10320
10321 if test "$wxUSE_IFF" = yes; then
10322 echo "$as_me:$LINENO: result: yes" >&5
10323 echo "${ECHO_T}yes" >&6
10324 else
10325 echo "$as_me:$LINENO: result: no" >&5
10326 echo "${ECHO_T}no" >&6
10327 fi
10328
10329
10330 enablestring=
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10333 no_cache=0
10334 # Check whether --enable-pnm or --disable-pnm was given.
10335 if test "${enable_pnm+set}" = set; then
10336 enableval="$enable_pnm"
10337
10338 if test "$enableval" = yes; then
10339 ac_cv_use_pnm='wxUSE_PNM=yes'
10340 else
10341 ac_cv_use_pnm='wxUSE_PNM=no'
10342 fi
10343
10344 else
10345
10346 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x ; then
10348 eval "DEFAULT_$LINE"
10349 else
10350 no_cache=1
10351 fi
10352
10353 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10354
10355 fi;
10356
10357 eval "$ac_cv_use_pnm"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10360 fi
10361
10362 if test "$wxUSE_PNM" = yes; then
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10365 else
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10368 fi
10369
10370
10371 enablestring=
10372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10374 no_cache=0
10375 # Check whether --enable-xpm or --disable-xpm was given.
10376 if test "${enable_xpm+set}" = set; then
10377 enableval="$enable_xpm"
10378
10379 if test "$enableval" = yes; then
10380 ac_cv_use_xpm='wxUSE_XPM=yes'
10381 else
10382 ac_cv_use_xpm='wxUSE_XPM=no'
10383 fi
10384
10385 else
10386
10387 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10388 if test "x$LINE" != x ; then
10389 eval "DEFAULT_$LINE"
10390 else
10391 no_cache=1
10392 fi
10393
10394 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10395
10396 fi;
10397
10398 eval "$ac_cv_use_xpm"
10399 if test "$no_cache" != 1; then
10400 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10401 fi
10402
10403 if test "$wxUSE_XPM" = yes; then
10404 echo "$as_me:$LINENO: result: yes" >&5
10405 echo "${ECHO_T}yes" >&6
10406 else
10407 echo "$as_me:$LINENO: result: no" >&5
10408 echo "${ECHO_T}no" >&6
10409 fi
10410
10411
10412 enablestring=
10413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10414 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10415 no_cache=0
10416 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10417 if test "${enable_ico_cur+set}" = set; then
10418 enableval="$enable_ico_cur"
10419
10420 if test "$enableval" = yes; then
10421 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10422 else
10423 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10424 fi
10425
10426 else
10427
10428 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10429 if test "x$LINE" != x ; then
10430 eval "DEFAULT_$LINE"
10431 else
10432 no_cache=1
10433 fi
10434
10435 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10436
10437 fi;
10438
10439 eval "$ac_cv_use_ico_cur"
10440 if test "$no_cache" != 1; then
10441 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10442 fi
10443
10444 if test "$wxUSE_ICO_CUR" = yes; then
10445 echo "$as_me:$LINENO: result: yes" >&5
10446 echo "${ECHO_T}yes" >&6
10447 else
10448 echo "$as_me:$LINENO: result: no" >&5
10449 echo "${ECHO_T}no" >&6
10450 fi
10451
10452
10453 fi
10454
10455
10456
10457 # Check whether --with-flavour or --without-flavour was given.
10458 if test "${with_flavour+set}" = set; then
10459 withval="$with_flavour"
10460 WX_FLAVOUR="$withval"
10461 fi;
10462
10463
10464
10465 enablestring=
10466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10467 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10468 no_cache=0
10469 # Check whether --enable-official_build or --disable-official_build was given.
10470 if test "${enable_official_build+set}" = set; then
10471 enableval="$enable_official_build"
10472
10473 if test "$enableval" = yes; then
10474 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10475 else
10476 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10477 fi
10478
10479 else
10480
10481 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10482 if test "x$LINE" != x ; then
10483 eval "DEFAULT_$LINE"
10484 else
10485 no_cache=1
10486 fi
10487
10488 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10489
10490 fi;
10491
10492 eval "$ac_cv_use_official_build"
10493 if test "$no_cache" != 1; then
10494 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10495 fi
10496
10497 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10498 echo "$as_me:$LINENO: result: yes" >&5
10499 echo "${ECHO_T}yes" >&6
10500 else
10501 echo "$as_me:$LINENO: result: no" >&5
10502 echo "${ECHO_T}no" >&6
10503 fi
10504
10505 # Check whether --enable-vendor or --disable-vendor was given.
10506 if test "${enable_vendor+set}" = set; then
10507 enableval="$enable_vendor"
10508 VENDOR="$enableval"
10509 fi;
10510 if test "x$VENDOR" = "x"; then
10511 VENDOR="custom"
10512 fi
10513
10514
10515
10516
10517 echo "saving argument cache $wx_arg_cache_file"
10518 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10519
10520
10521
10522 echo "$as_me:$LINENO: checking for toolkit" >&5
10523 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10524
10525 # In Wine, we need to default to MSW, not GTK or MOTIF
10526 if test "$wxUSE_WINE" = "yes"; then
10527 DEFAULT_DEFAULT_wxUSE_GTK=0
10528 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10529 DEFAULT_DEFAULT_wxUSE_MSW=1
10530 wxUSE_SHARED=no
10531 fi
10532
10533 if test "$wxUSE_GTK1" = "yes" -o "$wxUSE_GTK2" = "yes"; then
10534 wxUSE_GTK=yes
10535 TOOLKIT_GIVEN=1
10536 fi
10537
10538 if test "$wxUSE_GUI" = "yes"; then
10539
10540 if test "$USE_BEOS" = 1; then
10541 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10542 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10543 { (exit 1); exit 1; }; }
10544 fi
10545
10546 if test "$TOOLKIT_GIVEN" = 1; then
10547 for toolkit in `echo $ALL_TOOLKITS`; do
10548 var=wxUSE_$toolkit
10549 eval "value=\$${var}"
10550 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10551 done
10552 else
10553 for toolkit in `echo $ALL_TOOLKITS`; do
10554 if test "$has_toolkit_in_cache" != 1; then
10555 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10556 else
10557 var=DEFAULT_wxUSE_$toolkit
10558 fi
10559 eval "wxUSE_$toolkit=\$${var}"
10560 done
10561 fi
10562
10563 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10564 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10565 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10566
10567 case "${host}" in
10568 *-pc-os2_emx | *-pc-os2-emx )
10569 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10570 esac
10571
10572 case "$NUM_TOOLKITS" in
10573 1)
10574 ;;
10575 0)
10576 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10577 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10578 { (exit 1); exit 1; }; }
10579 ;;
10580 *)
10581 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10582 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10583 { (exit 1); exit 1; }; }
10584 esac
10585
10586 for toolkit in `echo $ALL_TOOLKITS`; do
10587 var=wxUSE_$toolkit
10588 eval "value=\$${var}"
10589 if test "x$value" != x; then
10590 cache_var=CACHE_$toolkit
10591 eval "cache=\$${cache_var}"
10592 if test "$cache" = 1; then
10593 echo "$var=$value" >> ${wx_arg_cache_file}
10594 fi
10595 if test "$value" = 1; then
10596 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10597 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10598 echo "${ECHO_T}$toolkit_echo" >&6
10599 fi
10600 fi
10601 done
10602 else
10603 if test "x$host_alias" != "x"; then
10604 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10605 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10606 else
10607 echo "$as_me:$LINENO: result: base only" >&5
10608 echo "${ECHO_T}base only" >&6
10609 fi
10610 fi
10611
10612 wants_win32=0
10613 doesnt_want_win32=0
10614 case "${host}" in
10615 *-*-cygwin*)
10616 if test "$wxUSE_MSW" = 1 ; then
10617 wants_win32=1
10618 else
10619 doesnt_want_win32=1
10620 fi
10621 ;;
10622 *-*-mingw*)
10623 wants_win32=1
10624 ;;
10625 esac
10626
10627 if test "$wxUSE_WINE" = "yes"; then
10628 wants_win32=1
10629 CC=winegcc
10630 CXX=wineg++
10631 RESCOMP=wrc
10632 LDFLAGS_GUI="-mwindows"
10633 fi
10634
10635 if test "$wants_win32" = 1 ; then
10636 USE_UNIX=0
10637 USE_WIN32=1
10638 cat >>confdefs.h <<\_ACEOF
10639 #define __WIN32__ 1
10640 _ACEOF
10641
10642 cat >>confdefs.h <<\_ACEOF
10643 #define __WIN95__ 1
10644 _ACEOF
10645
10646 cat >>confdefs.h <<\_ACEOF
10647 #define __WINDOWS__ 1
10648 _ACEOF
10649
10650 cat >>confdefs.h <<\_ACEOF
10651 #define __GNUWIN32__ 1
10652 _ACEOF
10653
10654 cat >>confdefs.h <<\_ACEOF
10655 #define STRICT 1
10656 _ACEOF
10657
10658 cat >>confdefs.h <<\_ACEOF
10659 #define WINVER 0x0400
10660 _ACEOF
10661
10662 fi
10663 if test "$doesnt_want_win32" = 1 ; then
10664 USE_UNIX=1
10665 USE_WIN32=0
10666 fi
10667
10668 if test "$USE_UNIX" = 1 ; then
10669 wxUSE_UNIX=yes
10670 cat >>confdefs.h <<\_ACEOF
10671 #define __UNIX__ 1
10672 _ACEOF
10673
10674 fi
10675
10676
10677 cat >confcache <<\_ACEOF
10678 # This file is a shell script that caches the results of configure
10679 # tests run on this system so they can be shared between configure
10680 # scripts and configure runs, see configure's option --config-cache.
10681 # It is not useful on other systems. If it contains results you don't
10682 # want to keep, you may remove or edit it.
10683 #
10684 # config.status only pays attention to the cache file if you give it
10685 # the --recheck option to rerun configure.
10686 #
10687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10689 # following values.
10690
10691 _ACEOF
10692
10693 # The following way of writing the cache mishandles newlines in values,
10694 # but we know of no workaround that is simple, portable, and efficient.
10695 # So, don't put newlines in cache variables' values.
10696 # Ultrix sh set writes to stderr and can't be redirected directly,
10697 # and sets the high bit in the cache file unless we assign to the vars.
10698 {
10699 (set) 2>&1 |
10700 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10701 *ac_space=\ *)
10702 # `set' does not quote correctly, so add quotes (double-quote
10703 # substitution turns \\\\ into \\, and sed turns \\ into \).
10704 sed -n \
10705 "s/'/'\\\\''/g;
10706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10707 ;;
10708 *)
10709 # `set' quotes correctly as required by POSIX, so do not add quotes.
10710 sed -n \
10711 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10712 ;;
10713 esac;
10714 } |
10715 sed '
10716 t clear
10717 : clear
10718 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10719 t end
10720 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10721 : end' >>confcache
10722 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10723 if test -w $cache_file; then
10724 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10725 cat confcache >$cache_file
10726 else
10727 echo "not updating unwritable cache $cache_file"
10728 fi
10729 fi
10730 rm -f confcache
10731
10732 if test "$build" != "$host" ; then
10733 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10734 CC=$host_alias-gcc
10735 CXX=$host_alias-c++
10736 AR=$host_alias-ar
10737 RANLIB=$host_alias-ranlib
10738 DLLTOOL=$host_alias-dlltool
10739 RESCOMP=$host_alias-windres
10740 STRIP=$host_alias-strip
10741 elif test "x$CC" '!=' "x"; then
10742 echo "You set CC, I assume you know what you are doing."
10743 else
10744 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10745 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10746 { (exit 1); exit 1; }; }
10747 fi
10748 fi
10749
10750 CFLAGS=${CFLAGS:=}
10751
10752
10753 ac_ext=c
10754 ac_cpp='$CPP $CPPFLAGS'
10755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10758 if test -n "$ac_tool_prefix"; then
10759 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10760 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10761 echo "$as_me:$LINENO: checking for $ac_word" >&5
10762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10763 if test "${ac_cv_prog_CC+set}" = set; then
10764 echo $ECHO_N "(cached) $ECHO_C" >&6
10765 else
10766 if test -n "$CC"; then
10767 ac_cv_prog_CC="$CC" # Let the user override the test.
10768 else
10769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10770 for as_dir in $PATH
10771 do
10772 IFS=$as_save_IFS
10773 test -z "$as_dir" && as_dir=.
10774 for ac_exec_ext in '' $ac_executable_extensions; do
10775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10776 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10778 break 2
10779 fi
10780 done
10781 done
10782
10783 fi
10784 fi
10785 CC=$ac_cv_prog_CC
10786 if test -n "$CC"; then
10787 echo "$as_me:$LINENO: result: $CC" >&5
10788 echo "${ECHO_T}$CC" >&6
10789 else
10790 echo "$as_me:$LINENO: result: no" >&5
10791 echo "${ECHO_T}no" >&6
10792 fi
10793
10794 fi
10795 if test -z "$ac_cv_prog_CC"; then
10796 ac_ct_CC=$CC
10797 # Extract the first word of "gcc", so it can be a program name with args.
10798 set dummy gcc; ac_word=$2
10799 echo "$as_me:$LINENO: checking for $ac_word" >&5
10800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10801 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10802 echo $ECHO_N "(cached) $ECHO_C" >&6
10803 else
10804 if test -n "$ac_ct_CC"; then
10805 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10806 else
10807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10808 for as_dir in $PATH
10809 do
10810 IFS=$as_save_IFS
10811 test -z "$as_dir" && as_dir=.
10812 for ac_exec_ext in '' $ac_executable_extensions; do
10813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10814 ac_cv_prog_ac_ct_CC="gcc"
10815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10816 break 2
10817 fi
10818 done
10819 done
10820
10821 fi
10822 fi
10823 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10824 if test -n "$ac_ct_CC"; then
10825 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10826 echo "${ECHO_T}$ac_ct_CC" >&6
10827 else
10828 echo "$as_me:$LINENO: result: no" >&5
10829 echo "${ECHO_T}no" >&6
10830 fi
10831
10832 CC=$ac_ct_CC
10833 else
10834 CC="$ac_cv_prog_CC"
10835 fi
10836
10837 if test -z "$CC"; then
10838 if test -n "$ac_tool_prefix"; then
10839 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10840 set dummy ${ac_tool_prefix}cc; ac_word=$2
10841 echo "$as_me:$LINENO: checking for $ac_word" >&5
10842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10843 if test "${ac_cv_prog_CC+set}" = set; then
10844 echo $ECHO_N "(cached) $ECHO_C" >&6
10845 else
10846 if test -n "$CC"; then
10847 ac_cv_prog_CC="$CC" # Let the user override the test.
10848 else
10849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10850 for as_dir in $PATH
10851 do
10852 IFS=$as_save_IFS
10853 test -z "$as_dir" && as_dir=.
10854 for ac_exec_ext in '' $ac_executable_extensions; do
10855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10856 ac_cv_prog_CC="${ac_tool_prefix}cc"
10857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10858 break 2
10859 fi
10860 done
10861 done
10862
10863 fi
10864 fi
10865 CC=$ac_cv_prog_CC
10866 if test -n "$CC"; then
10867 echo "$as_me:$LINENO: result: $CC" >&5
10868 echo "${ECHO_T}$CC" >&6
10869 else
10870 echo "$as_me:$LINENO: result: no" >&5
10871 echo "${ECHO_T}no" >&6
10872 fi
10873
10874 fi
10875 if test -z "$ac_cv_prog_CC"; then
10876 ac_ct_CC=$CC
10877 # Extract the first word of "cc", so it can be a program name with args.
10878 set dummy cc; ac_word=$2
10879 echo "$as_me:$LINENO: checking for $ac_word" >&5
10880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10881 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10882 echo $ECHO_N "(cached) $ECHO_C" >&6
10883 else
10884 if test -n "$ac_ct_CC"; then
10885 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10886 else
10887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10888 for as_dir in $PATH
10889 do
10890 IFS=$as_save_IFS
10891 test -z "$as_dir" && as_dir=.
10892 for ac_exec_ext in '' $ac_executable_extensions; do
10893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10894 ac_cv_prog_ac_ct_CC="cc"
10895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10896 break 2
10897 fi
10898 done
10899 done
10900
10901 fi
10902 fi
10903 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10904 if test -n "$ac_ct_CC"; then
10905 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10906 echo "${ECHO_T}$ac_ct_CC" >&6
10907 else
10908 echo "$as_me:$LINENO: result: no" >&5
10909 echo "${ECHO_T}no" >&6
10910 fi
10911
10912 CC=$ac_ct_CC
10913 else
10914 CC="$ac_cv_prog_CC"
10915 fi
10916
10917 fi
10918 if test -z "$CC"; then
10919 # Extract the first word of "cc", so it can be a program name with args.
10920 set dummy cc; ac_word=$2
10921 echo "$as_me:$LINENO: checking for $ac_word" >&5
10922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10923 if test "${ac_cv_prog_CC+set}" = set; then
10924 echo $ECHO_N "(cached) $ECHO_C" >&6
10925 else
10926 if test -n "$CC"; then
10927 ac_cv_prog_CC="$CC" # Let the user override the test.
10928 else
10929 ac_prog_rejected=no
10930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10931 for as_dir in $PATH
10932 do
10933 IFS=$as_save_IFS
10934 test -z "$as_dir" && as_dir=.
10935 for ac_exec_ext in '' $ac_executable_extensions; do
10936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10937 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10938 ac_prog_rejected=yes
10939 continue
10940 fi
10941 ac_cv_prog_CC="cc"
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 if test $ac_prog_rejected = yes; then
10949 # We found a bogon in the path, so make sure we never use it.
10950 set dummy $ac_cv_prog_CC
10951 shift
10952 if test $# != 0; then
10953 # We chose a different compiler from the bogus one.
10954 # However, it has the same basename, so the bogon will be chosen
10955 # first if we set CC to just the basename; use the full file name.
10956 shift
10957 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10958 fi
10959 fi
10960 fi
10961 fi
10962 CC=$ac_cv_prog_CC
10963 if test -n "$CC"; then
10964 echo "$as_me:$LINENO: result: $CC" >&5
10965 echo "${ECHO_T}$CC" >&6
10966 else
10967 echo "$as_me:$LINENO: result: no" >&5
10968 echo "${ECHO_T}no" >&6
10969 fi
10970
10971 fi
10972 if test -z "$CC"; then
10973 if test -n "$ac_tool_prefix"; then
10974 for ac_prog in cl
10975 do
10976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10977 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10978 echo "$as_me:$LINENO: checking for $ac_word" >&5
10979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10980 if test "${ac_cv_prog_CC+set}" = set; then
10981 echo $ECHO_N "(cached) $ECHO_C" >&6
10982 else
10983 if test -n "$CC"; then
10984 ac_cv_prog_CC="$CC" # Let the user override the test.
10985 else
10986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10987 for as_dir in $PATH
10988 do
10989 IFS=$as_save_IFS
10990 test -z "$as_dir" && as_dir=.
10991 for ac_exec_ext in '' $ac_executable_extensions; do
10992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10993 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10995 break 2
10996 fi
10997 done
10998 done
10999
11000 fi
11001 fi
11002 CC=$ac_cv_prog_CC
11003 if test -n "$CC"; then
11004 echo "$as_me:$LINENO: result: $CC" >&5
11005 echo "${ECHO_T}$CC" >&6
11006 else
11007 echo "$as_me:$LINENO: result: no" >&5
11008 echo "${ECHO_T}no" >&6
11009 fi
11010
11011 test -n "$CC" && break
11012 done
11013 fi
11014 if test -z "$CC"; then
11015 ac_ct_CC=$CC
11016 for ac_prog in cl
11017 do
11018 # Extract the first word of "$ac_prog", so it can be a program name with args.
11019 set dummy $ac_prog; ac_word=$2
11020 echo "$as_me:$LINENO: checking for $ac_word" >&5
11021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11022 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11023 echo $ECHO_N "(cached) $ECHO_C" >&6
11024 else
11025 if test -n "$ac_ct_CC"; then
11026 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11027 else
11028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11029 for as_dir in $PATH
11030 do
11031 IFS=$as_save_IFS
11032 test -z "$as_dir" && as_dir=.
11033 for ac_exec_ext in '' $ac_executable_extensions; do
11034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11035 ac_cv_prog_ac_ct_CC="$ac_prog"
11036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11037 break 2
11038 fi
11039 done
11040 done
11041
11042 fi
11043 fi
11044 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11045 if test -n "$ac_ct_CC"; then
11046 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11047 echo "${ECHO_T}$ac_ct_CC" >&6
11048 else
11049 echo "$as_me:$LINENO: result: no" >&5
11050 echo "${ECHO_T}no" >&6
11051 fi
11052
11053 test -n "$ac_ct_CC" && break
11054 done
11055
11056 CC=$ac_ct_CC
11057 fi
11058
11059 fi
11060
11061
11062 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11063 See \`config.log' for more details." >&5
11064 echo "$as_me: error: no acceptable C compiler found in \$PATH
11065 See \`config.log' for more details." >&2;}
11066 { (exit 1); exit 1; }; }
11067
11068 # Provide some information about the compiler.
11069 echo "$as_me:$LINENO:" \
11070 "checking for C compiler version" >&5
11071 ac_compiler=`set X $ac_compile; echo $2`
11072 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11073 (eval $ac_compiler --version </dev/null >&5) 2>&5
11074 ac_status=$?
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }
11077 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11078 (eval $ac_compiler -v </dev/null >&5) 2>&5
11079 ac_status=$?
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); }
11082 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11083 (eval $ac_compiler -V </dev/null >&5) 2>&5
11084 ac_status=$?
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); }
11087
11088 cat >conftest.$ac_ext <<_ACEOF
11089 /* confdefs.h. */
11090 _ACEOF
11091 cat confdefs.h >>conftest.$ac_ext
11092 cat >>conftest.$ac_ext <<_ACEOF
11093 /* end confdefs.h. */
11094
11095 int
11096 main ()
11097 {
11098
11099 ;
11100 return 0;
11101 }
11102 _ACEOF
11103 ac_clean_files_save=$ac_clean_files
11104 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11105 # Try to create an executable without -o first, disregard a.out.
11106 # It will help us diagnose broken compilers, and finding out an intuition
11107 # of exeext.
11108 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11109 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11110 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11111 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11112 (eval $ac_link_default) 2>&5
11113 ac_status=$?
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); }; then
11116 # Find the output, starting from the most likely. This scheme is
11117 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11118 # resort.
11119
11120 # Be careful to initialize this variable, since it used to be cached.
11121 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11122 ac_cv_exeext=
11123 # b.out is created by i960 compilers.
11124 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11125 do
11126 test -f "$ac_file" || continue
11127 case $ac_file in
11128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11129 ;;
11130 conftest.$ac_ext )
11131 # This is the source file.
11132 ;;
11133 [ab].out )
11134 # We found the default executable, but exeext='' is most
11135 # certainly right.
11136 break;;
11137 *.* )
11138 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11139 # FIXME: I believe we export ac_cv_exeext for Libtool,
11140 # but it would be cool to find out if it's true. Does anybody
11141 # maintain Libtool? --akim.
11142 export ac_cv_exeext
11143 break;;
11144 * )
11145 break;;
11146 esac
11147 done
11148 else
11149 echo "$as_me: failed program was:" >&5
11150 sed 's/^/| /' conftest.$ac_ext >&5
11151
11152 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11153 See \`config.log' for more details." >&5
11154 echo "$as_me: error: C compiler cannot create executables
11155 See \`config.log' for more details." >&2;}
11156 { (exit 77); exit 77; }; }
11157 fi
11158
11159 ac_exeext=$ac_cv_exeext
11160 echo "$as_me:$LINENO: result: $ac_file" >&5
11161 echo "${ECHO_T}$ac_file" >&6
11162
11163 # Check the compiler produces executables we can run. If not, either
11164 # the compiler is broken, or we cross compile.
11165 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11166 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11167 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11168 # If not cross compiling, check that we can run a simple program.
11169 if test "$cross_compiling" != yes; then
11170 if { ac_try='./$ac_file'
11171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172 (eval $ac_try) 2>&5
11173 ac_status=$?
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); }; }; then
11176 cross_compiling=no
11177 else
11178 if test "$cross_compiling" = maybe; then
11179 cross_compiling=yes
11180 else
11181 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11182 If you meant to cross compile, use \`--host'.
11183 See \`config.log' for more details." >&5
11184 echo "$as_me: error: cannot run C compiled programs.
11185 If you meant to cross compile, use \`--host'.
11186 See \`config.log' for more details." >&2;}
11187 { (exit 1); exit 1; }; }
11188 fi
11189 fi
11190 fi
11191 echo "$as_me:$LINENO: result: yes" >&5
11192 echo "${ECHO_T}yes" >&6
11193
11194 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11195 ac_clean_files=$ac_clean_files_save
11196 # Check the compiler produces executables we can run. If not, either
11197 # the compiler is broken, or we cross compile.
11198 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11199 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11200 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11201 echo "${ECHO_T}$cross_compiling" >&6
11202
11203 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11204 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11206 (eval $ac_link) 2>&5
11207 ac_status=$?
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); }; then
11210 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11211 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11212 # work properly (i.e., refer to `conftest.exe'), while it won't with
11213 # `rm'.
11214 for ac_file in conftest.exe conftest conftest.*; do
11215 test -f "$ac_file" || continue
11216 case $ac_file in
11217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11218 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11219 export ac_cv_exeext
11220 break;;
11221 * ) break;;
11222 esac
11223 done
11224 else
11225 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11226 See \`config.log' for more details." >&5
11227 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11228 See \`config.log' for more details." >&2;}
11229 { (exit 1); exit 1; }; }
11230 fi
11231
11232 rm -f conftest$ac_cv_exeext
11233 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11234 echo "${ECHO_T}$ac_cv_exeext" >&6
11235
11236 rm -f conftest.$ac_ext
11237 EXEEXT=$ac_cv_exeext
11238 ac_exeext=$EXEEXT
11239 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11240 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11241 if test "${ac_cv_objext+set}" = set; then
11242 echo $ECHO_N "(cached) $ECHO_C" >&6
11243 else
11244 cat >conftest.$ac_ext <<_ACEOF
11245 /* confdefs.h. */
11246 _ACEOF
11247 cat confdefs.h >>conftest.$ac_ext
11248 cat >>conftest.$ac_ext <<_ACEOF
11249 /* end confdefs.h. */
11250
11251 int
11252 main ()
11253 {
11254
11255 ;
11256 return 0;
11257 }
11258 _ACEOF
11259 rm -f conftest.o conftest.obj
11260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11261 (eval $ac_compile) 2>&5
11262 ac_status=$?
11263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); }; then
11265 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11266 case $ac_file in
11267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11268 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11269 break;;
11270 esac
11271 done
11272 else
11273 echo "$as_me: failed program was:" >&5
11274 sed 's/^/| /' conftest.$ac_ext >&5
11275
11276 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11277 See \`config.log' for more details." >&5
11278 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11279 See \`config.log' for more details." >&2;}
11280 { (exit 1); exit 1; }; }
11281 fi
11282
11283 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11284 fi
11285 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11286 echo "${ECHO_T}$ac_cv_objext" >&6
11287 OBJEXT=$ac_cv_objext
11288 ac_objext=$OBJEXT
11289 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11290 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11291 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11292 echo $ECHO_N "(cached) $ECHO_C" >&6
11293 else
11294 cat >conftest.$ac_ext <<_ACEOF
11295 /* confdefs.h. */
11296 _ACEOF
11297 cat confdefs.h >>conftest.$ac_ext
11298 cat >>conftest.$ac_ext <<_ACEOF
11299 /* end confdefs.h. */
11300
11301 int
11302 main ()
11303 {
11304 #ifndef __GNUC__
11305 choke me
11306 #endif
11307
11308 ;
11309 return 0;
11310 }
11311 _ACEOF
11312 rm -f conftest.$ac_objext
11313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11314 (eval $ac_compile) 2>conftest.er1
11315 ac_status=$?
11316 grep -v '^ *+' conftest.er1 >conftest.err
11317 rm -f conftest.er1
11318 cat conftest.err >&5
11319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320 (exit $ac_status); } &&
11321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11323 (eval $ac_try) 2>&5
11324 ac_status=$?
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); }; } &&
11327 { ac_try='test -s conftest.$ac_objext'
11328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11329 (eval $ac_try) 2>&5
11330 ac_status=$?
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); }; }; then
11333 ac_compiler_gnu=yes
11334 else
11335 echo "$as_me: failed program was:" >&5
11336 sed 's/^/| /' conftest.$ac_ext >&5
11337
11338 ac_compiler_gnu=no
11339 fi
11340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11341 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11342
11343 fi
11344 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11345 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11346 GCC=`test $ac_compiler_gnu = yes && echo yes`
11347 ac_test_CFLAGS=${CFLAGS+set}
11348 ac_save_CFLAGS=$CFLAGS
11349 CFLAGS="-g"
11350 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11351 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11352 if test "${ac_cv_prog_cc_g+set}" = set; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11354 else
11355 cat >conftest.$ac_ext <<_ACEOF
11356 /* confdefs.h. */
11357 _ACEOF
11358 cat confdefs.h >>conftest.$ac_ext
11359 cat >>conftest.$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11361
11362 int
11363 main ()
11364 {
11365
11366 ;
11367 return 0;
11368 }
11369 _ACEOF
11370 rm -f conftest.$ac_objext
11371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11372 (eval $ac_compile) 2>conftest.er1
11373 ac_status=$?
11374 grep -v '^ *+' conftest.er1 >conftest.err
11375 rm -f conftest.er1
11376 cat conftest.err >&5
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); } &&
11379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11381 (eval $ac_try) 2>&5
11382 ac_status=$?
11383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384 (exit $ac_status); }; } &&
11385 { ac_try='test -s conftest.$ac_objext'
11386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11387 (eval $ac_try) 2>&5
11388 ac_status=$?
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); }; }; then
11391 ac_cv_prog_cc_g=yes
11392 else
11393 echo "$as_me: failed program was:" >&5
11394 sed 's/^/| /' conftest.$ac_ext >&5
11395
11396 ac_cv_prog_cc_g=no
11397 fi
11398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11399 fi
11400 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11401 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11402 if test "$ac_test_CFLAGS" = set; then
11403 CFLAGS=$ac_save_CFLAGS
11404 elif test $ac_cv_prog_cc_g = yes; then
11405 if test "$GCC" = yes; then
11406 CFLAGS="-g -O2"
11407 else
11408 CFLAGS="-g"
11409 fi
11410 else
11411 if test "$GCC" = yes; then
11412 CFLAGS="-O2"
11413 else
11414 CFLAGS=
11415 fi
11416 fi
11417 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11418 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11419 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11420 echo $ECHO_N "(cached) $ECHO_C" >&6
11421 else
11422 ac_cv_prog_cc_stdc=no
11423 ac_save_CC=$CC
11424 cat >conftest.$ac_ext <<_ACEOF
11425 /* confdefs.h. */
11426 _ACEOF
11427 cat confdefs.h >>conftest.$ac_ext
11428 cat >>conftest.$ac_ext <<_ACEOF
11429 /* end confdefs.h. */
11430 #include <stdarg.h>
11431 #include <stdio.h>
11432 #include <sys/types.h>
11433 #include <sys/stat.h>
11434 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11435 struct buf { int x; };
11436 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11437 static char *e (p, i)
11438 char **p;
11439 int i;
11440 {
11441 return p[i];
11442 }
11443 static char *f (char * (*g) (char **, int), char **p, ...)
11444 {
11445 char *s;
11446 va_list v;
11447 va_start (v,p);
11448 s = g (p, va_arg (v,int));
11449 va_end (v);
11450 return s;
11451 }
11452
11453 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11454 function prototypes and stuff, but not '\xHH' hex character constants.
11455 These don't provoke an error unfortunately, instead are silently treated
11456 as 'x'. The following induces an error, until -std1 is added to get
11457 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11458 array size at least. It's necessary to write '\x00'==0 to get something
11459 that's true only with -std1. */
11460 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11461
11462 int test (int i, double x);
11463 struct s1 {int (*f) (int a);};
11464 struct s2 {int (*f) (double a);};
11465 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11466 int argc;
11467 char **argv;
11468 int
11469 main ()
11470 {
11471 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11472 ;
11473 return 0;
11474 }
11475 _ACEOF
11476 # Don't try gcc -ansi; that turns off useful extensions and
11477 # breaks some systems' header files.
11478 # AIX -qlanglvl=ansi
11479 # Ultrix and OSF/1 -std1
11480 # HP-UX 10.20 and later -Ae
11481 # HP-UX older versions -Aa -D_HPUX_SOURCE
11482 # SVR4 -Xc -D__EXTENSIONS__
11483 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11484 do
11485 CC="$ac_save_CC $ac_arg"
11486 rm -f conftest.$ac_objext
11487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11488 (eval $ac_compile) 2>conftest.er1
11489 ac_status=$?
11490 grep -v '^ *+' conftest.er1 >conftest.err
11491 rm -f conftest.er1
11492 cat conftest.err >&5
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); } &&
11495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11497 (eval $ac_try) 2>&5
11498 ac_status=$?
11499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500 (exit $ac_status); }; } &&
11501 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
11507 ac_cv_prog_cc_stdc=$ac_arg
11508 break
11509 else
11510 echo "$as_me: failed program was:" >&5
11511 sed 's/^/| /' conftest.$ac_ext >&5
11512
11513 fi
11514 rm -f conftest.err conftest.$ac_objext
11515 done
11516 rm -f conftest.$ac_ext conftest.$ac_objext
11517 CC=$ac_save_CC
11518
11519 fi
11520
11521 case "x$ac_cv_prog_cc_stdc" in
11522 x|xno)
11523 echo "$as_me:$LINENO: result: none needed" >&5
11524 echo "${ECHO_T}none needed" >&6 ;;
11525 *)
11526 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11527 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11528 CC="$CC $ac_cv_prog_cc_stdc" ;;
11529 esac
11530
11531 # Some people use a C++ compiler to compile C. Since we use `exit',
11532 # in C++ we need to declare it. In case someone uses the same compiler
11533 # for both compiling C and C++ we need to have the C++ compiler decide
11534 # the declaration of exit, since it's the most demanding environment.
11535 cat >conftest.$ac_ext <<_ACEOF
11536 #ifndef __cplusplus
11537 choke me
11538 #endif
11539 _ACEOF
11540 rm -f conftest.$ac_objext
11541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11542 (eval $ac_compile) 2>conftest.er1
11543 ac_status=$?
11544 grep -v '^ *+' conftest.er1 >conftest.err
11545 rm -f conftest.er1
11546 cat conftest.err >&5
11547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11548 (exit $ac_status); } &&
11549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11551 (eval $ac_try) 2>&5
11552 ac_status=$?
11553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11554 (exit $ac_status); }; } &&
11555 { ac_try='test -s conftest.$ac_objext'
11556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11557 (eval $ac_try) 2>&5
11558 ac_status=$?
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); }; }; then
11561 for ac_declaration in \
11562 '' \
11563 'extern "C" void std::exit (int) throw (); using std::exit;' \
11564 'extern "C" void std::exit (int); using std::exit;' \
11565 'extern "C" void exit (int) throw ();' \
11566 'extern "C" void exit (int);' \
11567 'void exit (int);'
11568 do
11569 cat >conftest.$ac_ext <<_ACEOF
11570 /* confdefs.h. */
11571 _ACEOF
11572 cat confdefs.h >>conftest.$ac_ext
11573 cat >>conftest.$ac_ext <<_ACEOF
11574 /* end confdefs.h. */
11575 $ac_declaration
11576 #include <stdlib.h>
11577 int
11578 main ()
11579 {
11580 exit (42);
11581 ;
11582 return 0;
11583 }
11584 _ACEOF
11585 rm -f conftest.$ac_objext
11586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11587 (eval $ac_compile) 2>conftest.er1
11588 ac_status=$?
11589 grep -v '^ *+' conftest.er1 >conftest.err
11590 rm -f conftest.er1
11591 cat conftest.err >&5
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); } &&
11594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11596 (eval $ac_try) 2>&5
11597 ac_status=$?
11598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11599 (exit $ac_status); }; } &&
11600 { ac_try='test -s conftest.$ac_objext'
11601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11602 (eval $ac_try) 2>&5
11603 ac_status=$?
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); }; }; then
11606 :
11607 else
11608 echo "$as_me: failed program was:" >&5
11609 sed 's/^/| /' conftest.$ac_ext >&5
11610
11611 continue
11612 fi
11613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11614 cat >conftest.$ac_ext <<_ACEOF
11615 /* confdefs.h. */
11616 _ACEOF
11617 cat confdefs.h >>conftest.$ac_ext
11618 cat >>conftest.$ac_ext <<_ACEOF
11619 /* end confdefs.h. */
11620 $ac_declaration
11621 int
11622 main ()
11623 {
11624 exit (42);
11625 ;
11626 return 0;
11627 }
11628 _ACEOF
11629 rm -f conftest.$ac_objext
11630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11631 (eval $ac_compile) 2>conftest.er1
11632 ac_status=$?
11633 grep -v '^ *+' conftest.er1 >conftest.err
11634 rm -f conftest.er1
11635 cat conftest.err >&5
11636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11637 (exit $ac_status); } &&
11638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11640 (eval $ac_try) 2>&5
11641 ac_status=$?
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); }; } &&
11644 { ac_try='test -s conftest.$ac_objext'
11645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11646 (eval $ac_try) 2>&5
11647 ac_status=$?
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); }; }; then
11650 break
11651 else
11652 echo "$as_me: failed program was:" >&5
11653 sed 's/^/| /' conftest.$ac_ext >&5
11654
11655 fi
11656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11657 done
11658 rm -f conftest*
11659 if test -n "$ac_declaration"; then
11660 echo '#ifdef __cplusplus' >>confdefs.h
11661 echo $ac_declaration >>confdefs.h
11662 echo '#endif' >>confdefs.h
11663 fi
11664
11665 else
11666 echo "$as_me: failed program was:" >&5
11667 sed 's/^/| /' conftest.$ac_ext >&5
11668
11669 fi
11670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11671 ac_ext=c
11672 ac_cpp='$CPP $CPPFLAGS'
11673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11676
11677 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11678 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11679 if test "${wx_cv_c_exto+set}" = set; then
11680 echo $ECHO_N "(cached) $ECHO_C" >&6
11681 else
11682 cat >conftest.$ac_ext <<_ACEOF
11683 /* confdefs.h. */
11684 _ACEOF
11685 cat confdefs.h >>conftest.$ac_ext
11686 cat >>conftest.$ac_ext <<_ACEOF
11687 /* end confdefs.h. */
11688
11689 int
11690 main ()
11691 {
11692
11693 ;
11694 return 0;
11695 }
11696 _ACEOF
11697 rm -f conftest.$ac_objext conftest.$ac_ext.o
11698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11699 (eval $ac_compile) 2>&5
11700 ac_status=$?
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; then
11703 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11704 case $ac_file in
11705 conftest.$ac_ext.o)
11706 wx_cv_c_exto="-ext o"
11707 ;;
11708 *)
11709 ;;
11710 esac
11711 done
11712 else
11713 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11714 See \`config.log' for more details." >&5
11715 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11716 See \`config.log' for more details." >&2;}
11717 { (exit 1); exit 1; }; }
11718
11719 fi
11720
11721 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11722
11723 fi
11724 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11725 echo "${ECHO_T}$wx_cv_c_exto" >&6
11726 if test "x$wx_cv_c_exto" '!=' "x"; then
11727 if test "c" = "c"; then
11728 CFLAGS="$wx_cv_c_exto $CFLAGS"
11729 fi
11730 if test "c" = "cxx"; then
11731 CXXFLAGS="$wx_cv_c_exto $CXXFLAGS"
11732 fi
11733 fi
11734
11735 if test "x$wx_cv_c_exto" '!=' "x"; then
11736 unset ac_cv_prog_cc_g
11737 ac_test_CFLAGS=${CFLAGS+set}
11738 ac_save_CFLAGS=$CFLAGS
11739 CFLAGS="-g"
11740 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11741 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11742 if test "${ac_cv_prog_cc_g+set}" = set; then
11743 echo $ECHO_N "(cached) $ECHO_C" >&6
11744 else
11745 cat >conftest.$ac_ext <<_ACEOF
11746 /* confdefs.h. */
11747 _ACEOF
11748 cat confdefs.h >>conftest.$ac_ext
11749 cat >>conftest.$ac_ext <<_ACEOF
11750 /* end confdefs.h. */
11751
11752 int
11753 main ()
11754 {
11755
11756 ;
11757 return 0;
11758 }
11759 _ACEOF
11760 rm -f conftest.$ac_objext
11761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11762 (eval $ac_compile) 2>conftest.er1
11763 ac_status=$?
11764 grep -v '^ *+' conftest.er1 >conftest.err
11765 rm -f conftest.er1
11766 cat conftest.err >&5
11767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11768 (exit $ac_status); } &&
11769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11771 (eval $ac_try) 2>&5
11772 ac_status=$?
11773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11774 (exit $ac_status); }; } &&
11775 { ac_try='test -s conftest.$ac_objext'
11776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11777 (eval $ac_try) 2>&5
11778 ac_status=$?
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); }; }; then
11781 ac_cv_prog_cc_g=yes
11782 else
11783 echo "$as_me: failed program was:" >&5
11784 sed 's/^/| /' conftest.$ac_ext >&5
11785
11786 ac_cv_prog_cc_g=no
11787 fi
11788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11789 fi
11790 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11791 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11792 if test "$ac_test_CFLAGS" = set; then
11793 CFLAGS=$ac_save_CFLAGS
11794 elif test $ac_cv_prog_cc_g = yes; then
11795 if test "$GCC" = yes; then
11796 CFLAGS="-g -O2"
11797 else
11798 CFLAGS="-g"
11799 fi
11800 else
11801 if test "$GCC" = yes; then
11802 CFLAGS="-O2"
11803 else
11804 CFLAGS=
11805 fi
11806 fi
11807 fi
11808 ac_ext=c
11809 ac_cpp='$CPP $CPPFLAGS'
11810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11813
11814 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11815 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11816 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11817 echo $ECHO_N "(cached) $ECHO_C" >&6
11818 else
11819 cat >conftest.$ac_ext <<_ACEOF
11820 /* confdefs.h. */
11821 _ACEOF
11822 cat confdefs.h >>conftest.$ac_ext
11823 cat >>conftest.$ac_ext <<_ACEOF
11824 /* end confdefs.h. */
11825
11826 int
11827 main ()
11828 {
11829 #ifndef __MWERKS__
11830 choke me
11831 #endif
11832
11833 ;
11834 return 0;
11835 }
11836 _ACEOF
11837 rm -f conftest.$ac_objext
11838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11839 (eval $ac_compile) 2>conftest.er1
11840 ac_status=$?
11841 grep -v '^ *+' conftest.er1 >conftest.err
11842 rm -f conftest.er1
11843 cat conftest.err >&5
11844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11845 (exit $ac_status); } &&
11846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11848 (eval $ac_try) 2>&5
11849 ac_status=$?
11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); }; } &&
11852 { ac_try='test -s conftest.$ac_objext'
11853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11854 (eval $ac_try) 2>&5
11855 ac_status=$?
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); }; }; then
11858 bakefile_compiler_mwerks=yes
11859 else
11860 echo "$as_me: failed program was:" >&5
11861 sed 's/^/| /' conftest.$ac_ext >&5
11862
11863 bakefile_compiler_mwerks=no
11864 fi
11865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11866 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11867
11868 fi
11869 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11870 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11871
11872 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11873 ac_ext=c
11874 ac_cpp='$CPP $CPPFLAGS'
11875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11878
11879
11880 ac_ext=c
11881 ac_cpp='$CPP $CPPFLAGS'
11882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11885
11886 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11887 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11888 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11889 echo $ECHO_N "(cached) $ECHO_C" >&6
11890 else
11891 cat >conftest.$ac_ext <<_ACEOF
11892 /* confdefs.h. */
11893 _ACEOF
11894 cat confdefs.h >>conftest.$ac_ext
11895 cat >>conftest.$ac_ext <<_ACEOF
11896 /* end confdefs.h. */
11897
11898 int
11899 main ()
11900 {
11901 #ifndef __xlC__
11902 choke me
11903 #endif
11904
11905 ;
11906 return 0;
11907 }
11908 _ACEOF
11909 rm -f conftest.$ac_objext
11910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11911 (eval $ac_compile) 2>conftest.er1
11912 ac_status=$?
11913 grep -v '^ *+' conftest.er1 >conftest.err
11914 rm -f conftest.er1
11915 cat conftest.err >&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); } &&
11918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11921 ac_status=$?
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); }; } &&
11924 { ac_try='test -s conftest.$ac_objext'
11925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11926 (eval $ac_try) 2>&5
11927 ac_status=$?
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); }; }; then
11930 wx_compiler_xlc=yes
11931 else
11932 echo "$as_me: failed program was:" >&5
11933 sed 's/^/| /' conftest.$ac_ext >&5
11934
11935 wx_compiler_xlc=no
11936 fi
11937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11938 wx_cv_c_compiler_xlc=$wx_compiler_xlc
11939
11940 fi
11941 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11942 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11943
11944 XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11945 ac_ext=c
11946 ac_cpp='$CPP $CPPFLAGS'
11947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11950
11951
11952
11953
11954 ac_ext=c
11955 ac_cpp='$CPP $CPPFLAGS'
11956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11959 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11960 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11961 # On Suns, sometimes $CPP names a directory.
11962 if test -n "$CPP" && test -d "$CPP"; then
11963 CPP=
11964 fi
11965 if test -z "$CPP"; then
11966 if test "${ac_cv_prog_CPP+set}" = set; then
11967 echo $ECHO_N "(cached) $ECHO_C" >&6
11968 else
11969 # Double quotes because CPP needs to be expanded
11970 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11971 do
11972 ac_preproc_ok=false
11973 for ac_c_preproc_warn_flag in '' yes
11974 do
11975 # Use a header file that comes with gcc, so configuring glibc
11976 # with a fresh cross-compiler works.
11977 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11978 # <limits.h> exists even on freestanding compilers.
11979 # On the NeXT, cc -E runs the code through the compiler's parser,
11980 # not just through cpp. "Syntax error" is here to catch this case.
11981 cat >conftest.$ac_ext <<_ACEOF
11982 /* confdefs.h. */
11983 _ACEOF
11984 cat confdefs.h >>conftest.$ac_ext
11985 cat >>conftest.$ac_ext <<_ACEOF
11986 /* end confdefs.h. */
11987 #ifdef __STDC__
11988 # include <limits.h>
11989 #else
11990 # include <assert.h>
11991 #endif
11992 Syntax error
11993 _ACEOF
11994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11996 ac_status=$?
11997 grep -v '^ *+' conftest.er1 >conftest.err
11998 rm -f conftest.er1
11999 cat conftest.err >&5
12000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001 (exit $ac_status); } >/dev/null; then
12002 if test -s conftest.err; then
12003 ac_cpp_err=$ac_c_preproc_warn_flag
12004 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12005 else
12006 ac_cpp_err=
12007 fi
12008 else
12009 ac_cpp_err=yes
12010 fi
12011 if test -z "$ac_cpp_err"; then
12012 :
12013 else
12014 echo "$as_me: failed program was:" >&5
12015 sed 's/^/| /' conftest.$ac_ext >&5
12016
12017 # Broken: fails on valid input.
12018 continue
12019 fi
12020 rm -f conftest.err conftest.$ac_ext
12021
12022 # OK, works on sane cases. Now check whether non-existent headers
12023 # can be detected and how.
12024 cat >conftest.$ac_ext <<_ACEOF
12025 /* confdefs.h. */
12026 _ACEOF
12027 cat confdefs.h >>conftest.$ac_ext
12028 cat >>conftest.$ac_ext <<_ACEOF
12029 /* end confdefs.h. */
12030 #include <ac_nonexistent.h>
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 # Broken: success on invalid input.
12051 continue
12052 else
12053 echo "$as_me: failed program was:" >&5
12054 sed 's/^/| /' conftest.$ac_ext >&5
12055
12056 # Passes both tests.
12057 ac_preproc_ok=:
12058 break
12059 fi
12060 rm -f conftest.err conftest.$ac_ext
12061
12062 done
12063 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12064 rm -f conftest.err conftest.$ac_ext
12065 if $ac_preproc_ok; then
12066 break
12067 fi
12068
12069 done
12070 ac_cv_prog_CPP=$CPP
12071
12072 fi
12073 CPP=$ac_cv_prog_CPP
12074 else
12075 ac_cv_prog_CPP=$CPP
12076 fi
12077 echo "$as_me:$LINENO: result: $CPP" >&5
12078 echo "${ECHO_T}$CPP" >&6
12079 ac_preproc_ok=false
12080 for ac_c_preproc_warn_flag in '' yes
12081 do
12082 # Use a header file that comes with gcc, so configuring glibc
12083 # with a fresh cross-compiler works.
12084 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12085 # <limits.h> exists even on freestanding compilers.
12086 # On the NeXT, cc -E runs the code through the compiler's parser,
12087 # not just through cpp. "Syntax error" is here to catch this case.
12088 cat >conftest.$ac_ext <<_ACEOF
12089 /* confdefs.h. */
12090 _ACEOF
12091 cat confdefs.h >>conftest.$ac_ext
12092 cat >>conftest.$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12094 #ifdef __STDC__
12095 # include <limits.h>
12096 #else
12097 # include <assert.h>
12098 #endif
12099 Syntax error
12100 _ACEOF
12101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12103 ac_status=$?
12104 grep -v '^ *+' conftest.er1 >conftest.err
12105 rm -f conftest.er1
12106 cat conftest.err >&5
12107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12108 (exit $ac_status); } >/dev/null; then
12109 if test -s conftest.err; then
12110 ac_cpp_err=$ac_c_preproc_warn_flag
12111 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12112 else
12113 ac_cpp_err=
12114 fi
12115 else
12116 ac_cpp_err=yes
12117 fi
12118 if test -z "$ac_cpp_err"; then
12119 :
12120 else
12121 echo "$as_me: failed program was:" >&5
12122 sed 's/^/| /' conftest.$ac_ext >&5
12123
12124 # Broken: fails on valid input.
12125 continue
12126 fi
12127 rm -f conftest.err conftest.$ac_ext
12128
12129 # OK, works on sane cases. Now check whether non-existent headers
12130 # can be detected and how.
12131 cat >conftest.$ac_ext <<_ACEOF
12132 /* confdefs.h. */
12133 _ACEOF
12134 cat confdefs.h >>conftest.$ac_ext
12135 cat >>conftest.$ac_ext <<_ACEOF
12136 /* end confdefs.h. */
12137 #include <ac_nonexistent.h>
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 # Broken: success on invalid input.
12158 continue
12159 else
12160 echo "$as_me: failed program was:" >&5
12161 sed 's/^/| /' conftest.$ac_ext >&5
12162
12163 # Passes both tests.
12164 ac_preproc_ok=:
12165 break
12166 fi
12167 rm -f conftest.err conftest.$ac_ext
12168
12169 done
12170 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12171 rm -f conftest.err conftest.$ac_ext
12172 if $ac_preproc_ok; then
12173 :
12174 else
12175 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12176 See \`config.log' for more details." >&5
12177 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12178 See \`config.log' for more details." >&2;}
12179 { (exit 1); exit 1; }; }
12180 fi
12181
12182 ac_ext=c
12183 ac_cpp='$CPP $CPPFLAGS'
12184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12187
12188
12189 echo "$as_me:$LINENO: checking for egrep" >&5
12190 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12191 if test "${ac_cv_prog_egrep+set}" = set; then
12192 echo $ECHO_N "(cached) $ECHO_C" >&6
12193 else
12194 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12195 then ac_cv_prog_egrep='grep -E'
12196 else ac_cv_prog_egrep='egrep'
12197 fi
12198 fi
12199 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12200 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12201 EGREP=$ac_cv_prog_egrep
12202
12203
12204 if test $ac_cv_c_compiler_gnu = yes; then
12205 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12206 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12207 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12208 echo $ECHO_N "(cached) $ECHO_C" >&6
12209 else
12210 ac_pattern="Autoconf.*'x'"
12211 cat >conftest.$ac_ext <<_ACEOF
12212 /* confdefs.h. */
12213 _ACEOF
12214 cat confdefs.h >>conftest.$ac_ext
12215 cat >>conftest.$ac_ext <<_ACEOF
12216 /* end confdefs.h. */
12217 #include <sgtty.h>
12218 Autoconf TIOCGETP
12219 _ACEOF
12220 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12221 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12222 ac_cv_prog_gcc_traditional=yes
12223 else
12224 ac_cv_prog_gcc_traditional=no
12225 fi
12226 rm -f conftest*
12227
12228
12229 if test $ac_cv_prog_gcc_traditional = no; then
12230 cat >conftest.$ac_ext <<_ACEOF
12231 /* confdefs.h. */
12232 _ACEOF
12233 cat confdefs.h >>conftest.$ac_ext
12234 cat >>conftest.$ac_ext <<_ACEOF
12235 /* end confdefs.h. */
12236 #include <termio.h>
12237 Autoconf TCGETA
12238 _ACEOF
12239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12240 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12241 ac_cv_prog_gcc_traditional=yes
12242 fi
12243 rm -f conftest*
12244
12245 fi
12246 fi
12247 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12248 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12249 if test $ac_cv_prog_gcc_traditional = yes; then
12250 CC="$CC -traditional"
12251 fi
12252 fi
12253
12254
12255
12256
12257 ac_ext=cc
12258 ac_cpp='$CXXCPP $CPPFLAGS'
12259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12262
12263
12264 CXXFLAGS=${CXXFLAGS:=}
12265
12266
12267 ac_ext=cc
12268 ac_cpp='$CXXCPP $CPPFLAGS'
12269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12272 if test -n "$ac_tool_prefix"; then
12273 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12274 do
12275 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12276 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12277 echo "$as_me:$LINENO: checking for $ac_word" >&5
12278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12279 if test "${ac_cv_prog_CXX+set}" = set; then
12280 echo $ECHO_N "(cached) $ECHO_C" >&6
12281 else
12282 if test -n "$CXX"; then
12283 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12284 else
12285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12286 for as_dir in $PATH
12287 do
12288 IFS=$as_save_IFS
12289 test -z "$as_dir" && as_dir=.
12290 for ac_exec_ext in '' $ac_executable_extensions; do
12291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12292 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12294 break 2
12295 fi
12296 done
12297 done
12298
12299 fi
12300 fi
12301 CXX=$ac_cv_prog_CXX
12302 if test -n "$CXX"; then
12303 echo "$as_me:$LINENO: result: $CXX" >&5
12304 echo "${ECHO_T}$CXX" >&6
12305 else
12306 echo "$as_me:$LINENO: result: no" >&5
12307 echo "${ECHO_T}no" >&6
12308 fi
12309
12310 test -n "$CXX" && break
12311 done
12312 fi
12313 if test -z "$CXX"; then
12314 ac_ct_CXX=$CXX
12315 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12316 do
12317 # Extract the first word of "$ac_prog", so it can be a program name with args.
12318 set dummy $ac_prog; ac_word=$2
12319 echo "$as_me:$LINENO: checking for $ac_word" >&5
12320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12321 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12322 echo $ECHO_N "(cached) $ECHO_C" >&6
12323 else
12324 if test -n "$ac_ct_CXX"; then
12325 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12326 else
12327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12328 for as_dir in $PATH
12329 do
12330 IFS=$as_save_IFS
12331 test -z "$as_dir" && as_dir=.
12332 for ac_exec_ext in '' $ac_executable_extensions; do
12333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12334 ac_cv_prog_ac_ct_CXX="$ac_prog"
12335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12336 break 2
12337 fi
12338 done
12339 done
12340
12341 fi
12342 fi
12343 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12344 if test -n "$ac_ct_CXX"; then
12345 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12346 echo "${ECHO_T}$ac_ct_CXX" >&6
12347 else
12348 echo "$as_me:$LINENO: result: no" >&5
12349 echo "${ECHO_T}no" >&6
12350 fi
12351
12352 test -n "$ac_ct_CXX" && break
12353 done
12354 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12355
12356 CXX=$ac_ct_CXX
12357 fi
12358
12359
12360 # Provide some information about the compiler.
12361 echo "$as_me:$LINENO:" \
12362 "checking for C++ compiler version" >&5
12363 ac_compiler=`set X $ac_compile; echo $2`
12364 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12365 (eval $ac_compiler --version </dev/null >&5) 2>&5
12366 ac_status=$?
12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368 (exit $ac_status); }
12369 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12370 (eval $ac_compiler -v </dev/null >&5) 2>&5
12371 ac_status=$?
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); }
12374 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12375 (eval $ac_compiler -V </dev/null >&5) 2>&5
12376 ac_status=$?
12377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); }
12379
12380 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12381 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12382 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12383 echo $ECHO_N "(cached) $ECHO_C" >&6
12384 else
12385 cat >conftest.$ac_ext <<_ACEOF
12386 /* confdefs.h. */
12387 _ACEOF
12388 cat confdefs.h >>conftest.$ac_ext
12389 cat >>conftest.$ac_ext <<_ACEOF
12390 /* end confdefs.h. */
12391
12392 int
12393 main ()
12394 {
12395 #ifndef __GNUC__
12396 choke me
12397 #endif
12398
12399 ;
12400 return 0;
12401 }
12402 _ACEOF
12403 rm -f conftest.$ac_objext
12404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12405 (eval $ac_compile) 2>conftest.er1
12406 ac_status=$?
12407 grep -v '^ *+' conftest.er1 >conftest.err
12408 rm -f conftest.er1
12409 cat conftest.err >&5
12410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411 (exit $ac_status); } &&
12412 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12414 (eval $ac_try) 2>&5
12415 ac_status=$?
12416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12417 (exit $ac_status); }; } &&
12418 { ac_try='test -s conftest.$ac_objext'
12419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12420 (eval $ac_try) 2>&5
12421 ac_status=$?
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }; }; then
12424 ac_compiler_gnu=yes
12425 else
12426 echo "$as_me: failed program was:" >&5
12427 sed 's/^/| /' conftest.$ac_ext >&5
12428
12429 ac_compiler_gnu=no
12430 fi
12431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12432 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12433
12434 fi
12435 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12436 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12437 GXX=`test $ac_compiler_gnu = yes && echo yes`
12438 ac_test_CXXFLAGS=${CXXFLAGS+set}
12439 ac_save_CXXFLAGS=$CXXFLAGS
12440 CXXFLAGS="-g"
12441 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12442 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12443 if test "${ac_cv_prog_cxx_g+set}" = set; then
12444 echo $ECHO_N "(cached) $ECHO_C" >&6
12445 else
12446 cat >conftest.$ac_ext <<_ACEOF
12447 /* confdefs.h. */
12448 _ACEOF
12449 cat confdefs.h >>conftest.$ac_ext
12450 cat >>conftest.$ac_ext <<_ACEOF
12451 /* end confdefs.h. */
12452
12453 int
12454 main ()
12455 {
12456
12457 ;
12458 return 0;
12459 }
12460 _ACEOF
12461 rm -f conftest.$ac_objext
12462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12463 (eval $ac_compile) 2>conftest.er1
12464 ac_status=$?
12465 grep -v '^ *+' conftest.er1 >conftest.err
12466 rm -f conftest.er1
12467 cat conftest.err >&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); } &&
12470 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12472 (eval $ac_try) 2>&5
12473 ac_status=$?
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); }; } &&
12476 { ac_try='test -s conftest.$ac_objext'
12477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12479 ac_status=$?
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }; }; then
12482 ac_cv_prog_cxx_g=yes
12483 else
12484 echo "$as_me: failed program was:" >&5
12485 sed 's/^/| /' conftest.$ac_ext >&5
12486
12487 ac_cv_prog_cxx_g=no
12488 fi
12489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12490 fi
12491 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12492 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12493 if test "$ac_test_CXXFLAGS" = set; then
12494 CXXFLAGS=$ac_save_CXXFLAGS
12495 elif test $ac_cv_prog_cxx_g = yes; then
12496 if test "$GXX" = yes; then
12497 CXXFLAGS="-g -O2"
12498 else
12499 CXXFLAGS="-g"
12500 fi
12501 else
12502 if test "$GXX" = yes; then
12503 CXXFLAGS="-O2"
12504 else
12505 CXXFLAGS=
12506 fi
12507 fi
12508 for ac_declaration in \
12509 '' \
12510 'extern "C" void std::exit (int) throw (); using std::exit;' \
12511 'extern "C" void std::exit (int); using std::exit;' \
12512 'extern "C" void exit (int) throw ();' \
12513 'extern "C" void exit (int);' \
12514 'void exit (int);'
12515 do
12516 cat >conftest.$ac_ext <<_ACEOF
12517 /* confdefs.h. */
12518 _ACEOF
12519 cat confdefs.h >>conftest.$ac_ext
12520 cat >>conftest.$ac_ext <<_ACEOF
12521 /* end confdefs.h. */
12522 $ac_declaration
12523 #include <stdlib.h>
12524 int
12525 main ()
12526 {
12527 exit (42);
12528 ;
12529 return 0;
12530 }
12531 _ACEOF
12532 rm -f conftest.$ac_objext
12533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12534 (eval $ac_compile) 2>conftest.er1
12535 ac_status=$?
12536 grep -v '^ *+' conftest.er1 >conftest.err
12537 rm -f conftest.er1
12538 cat conftest.err >&5
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); } &&
12541 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12544 ac_status=$?
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; } &&
12547 { ac_try='test -s conftest.$ac_objext'
12548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12549 (eval $ac_try) 2>&5
12550 ac_status=$?
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); }; }; then
12553 :
12554 else
12555 echo "$as_me: failed program was:" >&5
12556 sed 's/^/| /' conftest.$ac_ext >&5
12557
12558 continue
12559 fi
12560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12561 cat >conftest.$ac_ext <<_ACEOF
12562 /* confdefs.h. */
12563 _ACEOF
12564 cat confdefs.h >>conftest.$ac_ext
12565 cat >>conftest.$ac_ext <<_ACEOF
12566 /* end confdefs.h. */
12567 $ac_declaration
12568 int
12569 main ()
12570 {
12571 exit (42);
12572 ;
12573 return 0;
12574 }
12575 _ACEOF
12576 rm -f conftest.$ac_objext
12577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12578 (eval $ac_compile) 2>conftest.er1
12579 ac_status=$?
12580 grep -v '^ *+' conftest.er1 >conftest.err
12581 rm -f conftest.er1
12582 cat conftest.err >&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } &&
12585 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12587 (eval $ac_try) 2>&5
12588 ac_status=$?
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }; } &&
12591 { ac_try='test -s conftest.$ac_objext'
12592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593 (eval $ac_try) 2>&5
12594 ac_status=$?
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); }; }; then
12597 break
12598 else
12599 echo "$as_me: failed program was:" >&5
12600 sed 's/^/| /' conftest.$ac_ext >&5
12601
12602 fi
12603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12604 done
12605 rm -f conftest*
12606 if test -n "$ac_declaration"; then
12607 echo '#ifdef __cplusplus' >>confdefs.h
12608 echo $ac_declaration >>confdefs.h
12609 echo '#endif' >>confdefs.h
12610 fi
12611
12612 ac_ext=cc
12613 ac_cpp='$CXXCPP $CPPFLAGS'
12614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12617
12618 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12619 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12620 if test "${wx_cv_cxx_exto+set}" = set; then
12621 echo $ECHO_N "(cached) $ECHO_C" >&6
12622 else
12623 cat >conftest.$ac_ext <<_ACEOF
12624 /* confdefs.h. */
12625 _ACEOF
12626 cat confdefs.h >>conftest.$ac_ext
12627 cat >>conftest.$ac_ext <<_ACEOF
12628 /* end confdefs.h. */
12629
12630 int
12631 main ()
12632 {
12633
12634 ;
12635 return 0;
12636 }
12637 _ACEOF
12638 rm -f conftest.$ac_objext conftest.$ac_ext.o
12639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12640 (eval $ac_compile) 2>&5
12641 ac_status=$?
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); }; then
12644 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12645 case $ac_file in
12646 conftest.$ac_ext.o)
12647 wx_cv_cxx_exto="-ext o"
12648 ;;
12649 *)
12650 ;;
12651 esac
12652 done
12653 else
12654 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12655 See \`config.log' for more details." >&5
12656 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12657 See \`config.log' for more details." >&2;}
12658 { (exit 1); exit 1; }; }
12659
12660 fi
12661
12662 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12663
12664 fi
12665 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12666 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12667 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12668 if test "cxx" = "c"; then
12669 CFLAGS="$wx_cv_cxx_exto $CFLAGS"
12670 fi
12671 if test "cxx" = "cxx"; then
12672 CXXFLAGS="$wx_cv_cxx_exto $CXXFLAGS"
12673 fi
12674 fi
12675
12676 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12677 unset ac_cv_prog_cxx_g
12678 ac_test_CXXFLAGS=${CXXFLAGS+set}
12679 ac_save_CXXFLAGS=$CXXFLAGS
12680 CXXFLAGS="-g"
12681 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12682 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12683 if test "${ac_cv_prog_cxx_g+set}" = set; then
12684 echo $ECHO_N "(cached) $ECHO_C" >&6
12685 else
12686 cat >conftest.$ac_ext <<_ACEOF
12687 /* confdefs.h. */
12688 _ACEOF
12689 cat confdefs.h >>conftest.$ac_ext
12690 cat >>conftest.$ac_ext <<_ACEOF
12691 /* end confdefs.h. */
12692
12693 int
12694 main ()
12695 {
12696
12697 ;
12698 return 0;
12699 }
12700 _ACEOF
12701 rm -f conftest.$ac_objext
12702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12703 (eval $ac_compile) 2>conftest.er1
12704 ac_status=$?
12705 grep -v '^ *+' conftest.er1 >conftest.err
12706 rm -f conftest.er1
12707 cat conftest.err >&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); } &&
12710 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12712 (eval $ac_try) 2>&5
12713 ac_status=$?
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); }; } &&
12716 { ac_try='test -s conftest.$ac_objext'
12717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12718 (eval $ac_try) 2>&5
12719 ac_status=$?
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); }; }; then
12722 ac_cv_prog_cxx_g=yes
12723 else
12724 echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.$ac_ext >&5
12726
12727 ac_cv_prog_cxx_g=no
12728 fi
12729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12730 fi
12731 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12732 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12733 if test "$ac_test_CXXFLAGS" = set; then
12734 CXXFLAGS=$ac_save_CXXFLAGS
12735 elif test $ac_cv_prog_cxx_g = yes; then
12736 if test "$GXX" = yes; then
12737 CXXFLAGS="-g -O2"
12738 else
12739 CXXFLAGS="-g"
12740 fi
12741 else
12742 if test "$GXX" = yes; then
12743 CXXFLAGS="-O2"
12744 else
12745 CXXFLAGS=
12746 fi
12747 fi
12748 fi
12749 ac_ext=cc
12750 ac_cpp='$CXXCPP $CPPFLAGS'
12751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12754
12755 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12756 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12757 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12758 echo $ECHO_N "(cached) $ECHO_C" >&6
12759 else
12760 cat >conftest.$ac_ext <<_ACEOF
12761 /* confdefs.h. */
12762 _ACEOF
12763 cat confdefs.h >>conftest.$ac_ext
12764 cat >>conftest.$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12766
12767 int
12768 main ()
12769 {
12770 #ifndef __MWERKS__
12771 choke me
12772 #endif
12773
12774 ;
12775 return 0;
12776 }
12777 _ACEOF
12778 rm -f conftest.$ac_objext
12779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12780 (eval $ac_compile) 2>conftest.er1
12781 ac_status=$?
12782 grep -v '^ *+' conftest.er1 >conftest.err
12783 rm -f conftest.er1
12784 cat conftest.err >&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); } &&
12787 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12789 (eval $ac_try) 2>&5
12790 ac_status=$?
12791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792 (exit $ac_status); }; } &&
12793 { ac_try='test -s conftest.$ac_objext'
12794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12795 (eval $ac_try) 2>&5
12796 ac_status=$?
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); }; }; then
12799 bakefile_compiler_mwerks=yes
12800 else
12801 echo "$as_me: failed program was:" >&5
12802 sed 's/^/| /' conftest.$ac_ext >&5
12803
12804 bakefile_compiler_mwerks=no
12805 fi
12806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12807 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12808
12809 fi
12810 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12811 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12812
12813 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12814 ac_ext=cc
12815 ac_cpp='$CXXCPP $CPPFLAGS'
12816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12819
12820
12821 ac_ext=cc
12822 ac_cpp='$CXXCPP $CPPFLAGS'
12823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12826
12827 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12828 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12829 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12830 echo $ECHO_N "(cached) $ECHO_C" >&6
12831 else
12832 cat >conftest.$ac_ext <<_ACEOF
12833 /* confdefs.h. */
12834 _ACEOF
12835 cat confdefs.h >>conftest.$ac_ext
12836 cat >>conftest.$ac_ext <<_ACEOF
12837 /* end confdefs.h. */
12838
12839 int
12840 main ()
12841 {
12842 #ifndef __xlC__
12843 choke me
12844 #endif
12845
12846 ;
12847 return 0;
12848 }
12849 _ACEOF
12850 rm -f conftest.$ac_objext
12851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12852 (eval $ac_compile) 2>conftest.er1
12853 ac_status=$?
12854 grep -v '^ *+' conftest.er1 >conftest.err
12855 rm -f conftest.er1
12856 cat conftest.err >&5
12857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12858 (exit $ac_status); } &&
12859 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12861 (eval $ac_try) 2>&5
12862 ac_status=$?
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); }; } &&
12865 { ac_try='test -s conftest.$ac_objext'
12866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12867 (eval $ac_try) 2>&5
12868 ac_status=$?
12869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12870 (exit $ac_status); }; }; then
12871 wx_compiler_xlc=yes
12872 else
12873 echo "$as_me: failed program was:" >&5
12874 sed 's/^/| /' conftest.$ac_ext >&5
12875
12876 wx_compiler_xlc=no
12877 fi
12878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12879 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
12880
12881 fi
12882 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12883 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12884
12885 XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12886 ac_ext=cc
12887 ac_cpp='$CXXCPP $CPPFLAGS'
12888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12891
12892
12893
12894
12895 ac_ext=c
12896 ac_cpp='$CPP $CPPFLAGS'
12897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12900
12901
12902 if test -n "$ac_tool_prefix"; then
12903 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12904 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12905 echo "$as_me:$LINENO: checking for $ac_word" >&5
12906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12907 if test "${ac_cv_prog_RANLIB+set}" = set; then
12908 echo $ECHO_N "(cached) $ECHO_C" >&6
12909 else
12910 if test -n "$RANLIB"; then
12911 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12912 else
12913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12914 for as_dir in $PATH
12915 do
12916 IFS=$as_save_IFS
12917 test -z "$as_dir" && as_dir=.
12918 for ac_exec_ext in '' $ac_executable_extensions; do
12919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12920 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12922 break 2
12923 fi
12924 done
12925 done
12926
12927 fi
12928 fi
12929 RANLIB=$ac_cv_prog_RANLIB
12930 if test -n "$RANLIB"; then
12931 echo "$as_me:$LINENO: result: $RANLIB" >&5
12932 echo "${ECHO_T}$RANLIB" >&6
12933 else
12934 echo "$as_me:$LINENO: result: no" >&5
12935 echo "${ECHO_T}no" >&6
12936 fi
12937
12938 fi
12939 if test -z "$ac_cv_prog_RANLIB"; then
12940 ac_ct_RANLIB=$RANLIB
12941 # Extract the first word of "ranlib", so it can be a program name with args.
12942 set dummy ranlib; ac_word=$2
12943 echo "$as_me:$LINENO: checking for $ac_word" >&5
12944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12945 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12946 echo $ECHO_N "(cached) $ECHO_C" >&6
12947 else
12948 if test -n "$ac_ct_RANLIB"; then
12949 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12950 else
12951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12952 for as_dir in $PATH
12953 do
12954 IFS=$as_save_IFS
12955 test -z "$as_dir" && as_dir=.
12956 for ac_exec_ext in '' $ac_executable_extensions; do
12957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12958 ac_cv_prog_ac_ct_RANLIB="ranlib"
12959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12960 break 2
12961 fi
12962 done
12963 done
12964
12965 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12966 fi
12967 fi
12968 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12969 if test -n "$ac_ct_RANLIB"; then
12970 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12971 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12972 else
12973 echo "$as_me:$LINENO: result: no" >&5
12974 echo "${ECHO_T}no" >&6
12975 fi
12976
12977 RANLIB=$ac_ct_RANLIB
12978 else
12979 RANLIB="$ac_cv_prog_RANLIB"
12980 fi
12981
12982
12983 # Extract the first word of "ar", so it can be a program name with args.
12984 set dummy ar; ac_word=$2
12985 echo "$as_me:$LINENO: checking for $ac_word" >&5
12986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12987 if test "${ac_cv_prog_AR+set}" = set; then
12988 echo $ECHO_N "(cached) $ECHO_C" >&6
12989 else
12990 if test -n "$AR"; then
12991 ac_cv_prog_AR="$AR" # Let the user override the test.
12992 else
12993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12994 for as_dir in $PATH
12995 do
12996 IFS=$as_save_IFS
12997 test -z "$as_dir" && as_dir=.
12998 for ac_exec_ext in '' $ac_executable_extensions; do
12999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13000 ac_cv_prog_AR="ar"
13001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13002 break 2
13003 fi
13004 done
13005 done
13006
13007 fi
13008 fi
13009 AR=$ac_cv_prog_AR
13010 if test -n "$AR"; then
13011 echo "$as_me:$LINENO: result: $AR" >&5
13012 echo "${ECHO_T}$AR" >&6
13013 else
13014 echo "$as_me:$LINENO: result: no" >&5
13015 echo "${ECHO_T}no" >&6
13016 fi
13017
13018 if test "x$AR" = "x" ; then
13019 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13020 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13021 { (exit 1); exit 1; }; }
13022 fi
13023
13024 # Find a good install program. We prefer a C program (faster),
13025 # so one script is as good as another. But avoid the broken or
13026 # incompatible versions:
13027 # SysV /etc/install, /usr/sbin/install
13028 # SunOS /usr/etc/install
13029 # IRIX /sbin/install
13030 # AIX /bin/install
13031 # AmigaOS /C/install, which installs bootblocks on floppy discs
13032 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13033 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13034 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13035 # OS/2's system install, which has a completely different semantic
13036 # ./install, which can be erroneously created by make from ./install.sh.
13037 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13038 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13039 if test -z "$INSTALL"; then
13040 if test "${ac_cv_path_install+set}" = set; then
13041 echo $ECHO_N "(cached) $ECHO_C" >&6
13042 else
13043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13044 for as_dir in $PATH
13045 do
13046 IFS=$as_save_IFS
13047 test -z "$as_dir" && as_dir=.
13048 # Account for people who put trailing slashes in PATH elements.
13049 case $as_dir/ in
13050 ./ | .// | /cC/* | \
13051 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
13052 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
13053 /usr/ucb/* ) ;;
13054 *)
13055 # OSF1 and SCO ODT 3.0 have their own names for install.
13056 # Don't use installbsd from OSF since it installs stuff as root
13057 # by default.
13058 for ac_prog in ginstall scoinst install; do
13059 for ac_exec_ext in '' $ac_executable_extensions; do
13060 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13061 if test $ac_prog = install &&
13062 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13063 # AIX install. It has an incompatible calling convention.
13064 :
13065 elif test $ac_prog = install &&
13066 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13067 # program-specific install script used by HP pwplus--don't use.
13068 :
13069 else
13070 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
13071 break 3
13072 fi
13073 fi
13074 done
13075 done
13076 ;;
13077 esac
13078 done
13079
13080
13081 fi
13082 if test "${ac_cv_path_install+set}" = set; then
13083 INSTALL=$ac_cv_path_install
13084 else
13085 # As a last resort, use the slow shell script. We don't cache a
13086 # path for INSTALL within a source directory, because that will
13087 # break other packages using the cache if that directory is
13088 # removed, or if the path is relative.
13089 INSTALL=$ac_install_sh
13090 fi
13091 fi
13092 echo "$as_me:$LINENO: result: $INSTALL" >&5
13093 echo "${ECHO_T}$INSTALL" >&6
13094
13095 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13096 # It thinks the first close brace ends the variable substitution.
13097 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
13098
13099 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
13100
13101 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
13102
13103
13104 case ${INSTALL} in
13105 /* ) # Absolute
13106 ;;
13107 ?:* ) # Drive letter, considered as absolute.
13108 ;;
13109 *)
13110 INSTALL=`pwd`/${INSTALL} ;;
13111 esac
13112
13113
13114 case "${host}" in
13115
13116 powerpc-*-darwin* )
13117 INSTALL_PROGRAM="cp -fp"
13118 INSTALL_DATA="cp -fp"
13119 ;;
13120 *)
13121 ;;
13122 esac
13123
13124 # Extract the first word of "strip", so it can be a program name with args.
13125 set dummy strip; ac_word=$2
13126 echo "$as_me:$LINENO: checking for $ac_word" >&5
13127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13128 if test "${ac_cv_prog_STRIP+set}" = set; then
13129 echo $ECHO_N "(cached) $ECHO_C" >&6
13130 else
13131 if test -n "$STRIP"; then
13132 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13133 else
13134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13135 for as_dir in $PATH
13136 do
13137 IFS=$as_save_IFS
13138 test -z "$as_dir" && as_dir=.
13139 for ac_exec_ext in '' $ac_executable_extensions; do
13140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13141 ac_cv_prog_STRIP="strip"
13142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13143 break 2
13144 fi
13145 done
13146 done
13147
13148 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
13149 fi
13150 fi
13151 STRIP=$ac_cv_prog_STRIP
13152 if test -n "$STRIP"; then
13153 echo "$as_me:$LINENO: result: $STRIP" >&5
13154 echo "${ECHO_T}$STRIP" >&6
13155 else
13156 echo "$as_me:$LINENO: result: no" >&5
13157 echo "${ECHO_T}no" >&6
13158 fi
13159
13160
13161 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13162 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13163 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13164 echo $ECHO_N "(cached) $ECHO_C" >&6
13165 else
13166
13167 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
13168 egrep -s GNU > /dev/null); then
13169 wx_cv_prog_makeisgnu="yes"
13170 else
13171 wx_cv_prog_makeisgnu="no"
13172 fi
13173
13174 fi
13175 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13176 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13177
13178 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13179 IF_GNU_MAKE=""
13180 else
13181 IF_GNU_MAKE="#"
13182 fi
13183
13184
13185
13186 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13187 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13188 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13189 if test "${wx_cv_prog_makevpath+set}" = set; then
13190 echo $ECHO_N "(cached) $ECHO_C" >&6
13191 else
13192
13193 cat - << EOF > confMake
13194 check : file
13195 cp \$? \$@
13196 cp \$? final_file
13197 EOF
13198
13199 if test ! -d sub ; then
13200 mkdir sub
13201 fi
13202 echo dummy > sub/file
13203 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
13204 RESULT=$?
13205 rm -f sub/file check final_file confMake
13206 rmdir sub
13207 if test "$RESULT" = 0; then
13208 wx_cv_prog_makevpath="yes"
13209 else
13210 wx_cv_prog_makevpath="no"
13211 fi
13212
13213 fi
13214 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13215 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13216
13217 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13218 { { echo "$as_me:$LINENO: error:
13219 You need a make-utility that is able to use the variable
13220 VPATH correctly.
13221 If your version of make does not support VPATH correctly,
13222 please install GNU-make (possibly as gmake), and start
13223 configure with the following command:
13224 export MAKE=gmake; ./configure for sh-type shells
13225 setenv MAKE gmake; ./configure for csh-type shells
13226 Also please do remember to use gmake in this case every time
13227 you are trying to compile.
13228 " >&5
13229 echo "$as_me: error:
13230 You need a make-utility that is able to use the variable
13231 VPATH correctly.
13232 If your version of make does not support VPATH correctly,
13233 please install GNU-make (possibly as gmake), and start
13234 configure with the following command:
13235 export MAKE=gmake; ./configure for sh-type shells
13236 setenv MAKE gmake; ./configure for csh-type shells
13237 Also please do remember to use gmake in this case every time
13238 you are trying to compile.
13239 " >&2;}
13240 { (exit 1); exit 1; }; }
13241 fi fi
13242 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13243 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13244 LN_S=$as_ln_s
13245 if test "$LN_S" = "ln -s"; then
13246 echo "$as_me:$LINENO: result: yes" >&5
13247 echo "${ECHO_T}yes" >&6
13248 else
13249 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13250 echo "${ECHO_T}no, using $LN_S" >&6
13251 fi
13252
13253
13254
13255 if test "x$XLCXX" = "xyes"; then
13256 CXXFLAGS="$CXXFLAGS -qunique"
13257 fi
13258
13259
13260 case "${host}" in
13261 powerpc-*-darwin* )
13262 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13263 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13264 cat >conftest.$ac_ext <<_ACEOF
13265 /* confdefs.h. */
13266 _ACEOF
13267 cat confdefs.h >>conftest.$ac_ext
13268 cat >>conftest.$ac_ext <<_ACEOF
13269 /* end confdefs.h. */
13270
13271 int
13272 main ()
13273 {
13274 #ifndef __POWERPC__
13275 choke me for lack of PowerPC
13276 #endif
13277
13278 ;
13279 return 0;
13280 }
13281 _ACEOF
13282 rm -f conftest.$ac_objext
13283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13284 (eval $ac_compile) 2>conftest.er1
13285 ac_status=$?
13286 grep -v '^ *+' conftest.er1 >conftest.err
13287 rm -f conftest.er1
13288 cat conftest.err >&5
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); } &&
13291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13293 (eval $ac_try) 2>&5
13294 ac_status=$?
13295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13296 (exit $ac_status); }; } &&
13297 { ac_try='test -s conftest.$ac_objext'
13298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13299 (eval $ac_try) 2>&5
13300 ac_status=$?
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); }; }; then
13303 echo "$as_me:$LINENO: result: yes" >&5
13304 echo "${ECHO_T}yes" >&6
13305 else
13306 echo "$as_me: failed program was:" >&5
13307 sed 's/^/| /' conftest.$ac_ext >&5
13308
13309 echo "$as_me:$LINENO: result: no" >&5
13310 echo "${ECHO_T}no" >&6
13311 cat >>confdefs.h <<\_ACEOF
13312 #define __POWERPC__ 1
13313 _ACEOF
13314
13315
13316 fi
13317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13318 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13319 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13320 cat >conftest.$ac_ext <<_ACEOF
13321 /* confdefs.h. */
13322 _ACEOF
13323 cat confdefs.h >>conftest.$ac_ext
13324 cat >>conftest.$ac_ext <<_ACEOF
13325 /* end confdefs.h. */
13326 #include <CoreFoundation/CFBase.h>
13327
13328 int
13329 main ()
13330 {
13331
13332 ;
13333 return 0;
13334 }
13335 _ACEOF
13336 rm -f conftest.$ac_objext
13337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13338 (eval $ac_compile) 2>conftest.er1
13339 ac_status=$?
13340 grep -v '^ *+' conftest.er1 >conftest.err
13341 rm -f conftest.er1
13342 cat conftest.err >&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); } &&
13345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13347 (eval $ac_try) 2>&5
13348 ac_status=$?
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); }; } &&
13351 { ac_try='test -s conftest.$ac_objext'
13352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13353 (eval $ac_try) 2>&5
13354 ac_status=$?
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); }; }; then
13357 echo "$as_me:$LINENO: result: yes" >&5
13358 echo "${ECHO_T}yes" >&6
13359 else
13360 echo "$as_me: failed program was:" >&5
13361 sed 's/^/| /' conftest.$ac_ext >&5
13362
13363 echo "$as_me:$LINENO: result: no" >&5
13364 echo "${ECHO_T}no" >&6
13365 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13366 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13367 cat >conftest.$ac_ext <<_ACEOF
13368 /* confdefs.h. */
13369 _ACEOF
13370 cat confdefs.h >>conftest.$ac_ext
13371 cat >>conftest.$ac_ext <<_ACEOF
13372 /* end confdefs.h. */
13373 #define __CF_USE_FRAMEWORK_INCLUDES__
13374 #include <CoreFoundation/CFBase.h>
13375
13376 int
13377 main ()
13378 {
13379
13380 ;
13381 return 0;
13382 }
13383 _ACEOF
13384 rm -f conftest.$ac_objext
13385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13386 (eval $ac_compile) 2>conftest.er1
13387 ac_status=$?
13388 grep -v '^ *+' conftest.er1 >conftest.err
13389 rm -f conftest.er1
13390 cat conftest.err >&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } &&
13393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13395 (eval $ac_try) 2>&5
13396 ac_status=$?
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); }; } &&
13399 { ac_try='test -s conftest.$ac_objext'
13400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13401 (eval $ac_try) 2>&5
13402 ac_status=$?
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; }; then
13405 echo "$as_me:$LINENO: result: yes" >&5
13406 echo "${ECHO_T}yes" >&6
13407 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13408 else
13409 echo "$as_me: failed program was:" >&5
13410 sed 's/^/| /' conftest.$ac_ext >&5
13411
13412 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13413 See \`config.log' for more details." >&5
13414 echo "$as_me: error: no. CoreFoundation not available.
13415 See \`config.log' for more details." >&2;}
13416 { (exit 1); exit 1; }; }
13417
13418 fi
13419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13420
13421
13422 fi
13423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13424 ;;
13425 esac
13426
13427 case "${host}" in
13428 *-pc-os2_emx | *-pc-os2-emx )
13429 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13430 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13431 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13432 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13433 echo $ECHO_N "(cached) $ECHO_C" >&6
13434 else
13435 ac_check_lib_save_LIBS=$LIBS
13436 LIBS="-lcExt $LIBS"
13437 cat >conftest.$ac_ext <<_ACEOF
13438 /* confdefs.h. */
13439 _ACEOF
13440 cat confdefs.h >>conftest.$ac_ext
13441 cat >>conftest.$ac_ext <<_ACEOF
13442 /* end confdefs.h. */
13443
13444 /* Override any gcc2 internal prototype to avoid an error. */
13445 #ifdef __cplusplus
13446 extern "C"
13447 #endif
13448 /* We use char because int might match the return type of a gcc2
13449 builtin and then its argument prototype would still apply. */
13450 char drand48 ();
13451 int
13452 main ()
13453 {
13454 drand48 ();
13455 ;
13456 return 0;
13457 }
13458 _ACEOF
13459 rm -f conftest.$ac_objext conftest$ac_exeext
13460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13461 (eval $ac_link) 2>conftest.er1
13462 ac_status=$?
13463 grep -v '^ *+' conftest.er1 >conftest.err
13464 rm -f conftest.er1
13465 cat conftest.err >&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } &&
13468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13471 ac_status=$?
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; } &&
13474 { ac_try='test -s conftest$ac_exeext'
13475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13476 (eval $ac_try) 2>&5
13477 ac_status=$?
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); }; }; then
13480 ac_cv_lib_cExt_drand48=yes
13481 else
13482 echo "$as_me: failed program was:" >&5
13483 sed 's/^/| /' conftest.$ac_ext >&5
13484
13485 ac_cv_lib_cExt_drand48=no
13486 fi
13487 rm -f conftest.err conftest.$ac_objext \
13488 conftest$ac_exeext conftest.$ac_ext
13489 LIBS=$ac_check_lib_save_LIBS
13490 fi
13491 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13492 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13493 if test $ac_cv_lib_cExt_drand48 = yes; then
13494 LIBS="$LIBS -lcExt"
13495 fi
13496
13497 else
13498 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
13499 fi
13500 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13501 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13502 if test "${wx_cv_gccversion+set}" = set; then
13503 echo $ECHO_N "(cached) $ECHO_C" >&6
13504 else
13505
13506 if test "$cross_compiling" = yes; then
13507 wx_cv_gccversion="EMX2"
13508
13509 else
13510 cat >conftest.$ac_ext <<_ACEOF
13511 /* confdefs.h. */
13512 _ACEOF
13513 cat confdefs.h >>conftest.$ac_ext
13514 cat >>conftest.$ac_ext <<_ACEOF
13515 /* end confdefs.h. */
13516
13517 #include <stdio.h>
13518
13519 int main()
13520 {
13521 FILE *f=fopen("conftestval", "w");
13522 if (!f) exit(1);
13523 fprintf(f,
13524 #if (__GNUC__ < 3)
13525 "EMX2"
13526 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13527 "EMX3"
13528 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13529 "Innotek5"
13530 #else
13531 "Innotek6"
13532 #endif
13533 );
13534 exit(0);
13535 }
13536
13537 _ACEOF
13538 rm -f conftest$ac_exeext
13539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13540 (eval $ac_link) 2>&5
13541 ac_status=$?
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13543 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13546 ac_status=$?
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; }; then
13549 wx_cv_gccversion=`cat conftestval`
13550 else
13551 echo "$as_me: program exited with status $ac_status" >&5
13552 echo "$as_me: failed program was:" >&5
13553 sed 's/^/| /' conftest.$ac_ext >&5
13554
13555 ( exit $ac_status )
13556 wx_cv_gccversion="EMX2"
13557 fi
13558 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13559 fi
13560
13561 fi
13562 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13563 echo "${ECHO_T}$wx_cv_gccversion" >&6
13564 if test "$wx_cv_gccversion" = "EMX2"; then
13565 LIBS="$LIBS -lstdcpp"
13566 LDFLAGS="$LDFLAGS -Zsysv-signals"
13567 else
13568 if test "$wx_cv_gccversion" = "EMX3"; then
13569 LIBS="$LIBS -lstdcxx"
13570 LDFLAGS="$LDFLAGS -Zsysv-signals"
13571 else
13572 LIBS="$LIBS -lstdc++"
13573 fi
13574 fi
13575 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13576 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13577 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13578 wxUSE_OMF=yes
13579 enable_omf=yes
13580 fi
13581 ;;
13582 *)
13583
13584
13585
13586 ac_ext=cc
13587 ac_cpp='$CXXCPP $CPPFLAGS'
13588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13591
13592
13593 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13594 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13595 if test "${ac_cv_string_strcasecmp+set}" = set; then
13596 echo $ECHO_N "(cached) $ECHO_C" >&6
13597 else
13598
13599 cat >conftest.$ac_ext <<_ACEOF
13600 /* confdefs.h. */
13601 _ACEOF
13602 cat confdefs.h >>conftest.$ac_ext
13603 cat >>conftest.$ac_ext <<_ACEOF
13604 /* end confdefs.h. */
13605
13606 #include <string.h>
13607
13608 int
13609 main ()
13610 {
13611
13612 strcasecmp("foo", "bar");
13613
13614 ;
13615 return 0;
13616 }
13617 _ACEOF
13618 rm -f conftest.$ac_objext conftest$ac_exeext
13619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13620 (eval $ac_link) 2>conftest.er1
13621 ac_status=$?
13622 grep -v '^ *+' conftest.er1 >conftest.err
13623 rm -f conftest.er1
13624 cat conftest.err >&5
13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); } &&
13627 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13629 (eval $ac_try) 2>&5
13630 ac_status=$?
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); }; } &&
13633 { ac_try='test -s conftest$ac_exeext'
13634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13635 (eval $ac_try) 2>&5
13636 ac_status=$?
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); }; }; then
13639 ac_cv_string_strcasecmp=yes
13640 else
13641 echo "$as_me: failed program was:" >&5
13642 sed 's/^/| /' conftest.$ac_ext >&5
13643
13644 ac_cv_string_strcasecmp=no
13645
13646 fi
13647 rm -f conftest.err conftest.$ac_objext \
13648 conftest$ac_exeext conftest.$ac_ext
13649
13650 fi
13651 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13652 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13653
13654 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
13655 cat >>confdefs.h <<\_ACEOF
13656 #define HAVE_STRCASECMP_IN_STRING_H 1
13657 _ACEOF
13658
13659 else
13660 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13661 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13662 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13663 echo $ECHO_N "(cached) $ECHO_C" >&6
13664 else
13665
13666 cat >conftest.$ac_ext <<_ACEOF
13667 /* confdefs.h. */
13668 _ACEOF
13669 cat confdefs.h >>conftest.$ac_ext
13670 cat >>conftest.$ac_ext <<_ACEOF
13671 /* end confdefs.h. */
13672
13673 #include <strings.h>
13674
13675 int
13676 main ()
13677 {
13678
13679 strcasecmp("foo", "bar");
13680
13681 ;
13682 return 0;
13683 }
13684 _ACEOF
13685 rm -f conftest.$ac_objext conftest$ac_exeext
13686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13687 (eval $ac_link) 2>conftest.er1
13688 ac_status=$?
13689 grep -v '^ *+' conftest.er1 >conftest.err
13690 rm -f conftest.er1
13691 cat conftest.err >&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); } &&
13694 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13696 (eval $ac_try) 2>&5
13697 ac_status=$?
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); }; } &&
13700 { ac_try='test -s conftest$ac_exeext'
13701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13702 (eval $ac_try) 2>&5
13703 ac_status=$?
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); }; }; then
13706 ac_cv_strings_strcasecmp=yes
13707 else
13708 echo "$as_me: failed program was:" >&5
13709 sed 's/^/| /' conftest.$ac_ext >&5
13710
13711 ac_cv_strings_strcasecmp=no
13712
13713 fi
13714 rm -f conftest.err conftest.$ac_objext \
13715 conftest$ac_exeext conftest.$ac_ext
13716
13717 fi
13718 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13719 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13720
13721 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
13722 cat >>confdefs.h <<\_ACEOF
13723 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13724 _ACEOF
13725
13726 else
13727 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13728 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13729 { (exit 1); exit 1; }; }
13730 fi
13731 fi
13732
13733 ac_ext=c
13734 ac_cpp='$CPP $CPPFLAGS'
13735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13738
13739 ;;
13740 esac
13741
13742
13743 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13744 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13745 if test "${ac_cv_header_stdc+set}" = set; then
13746 echo $ECHO_N "(cached) $ECHO_C" >&6
13747 else
13748 cat >conftest.$ac_ext <<_ACEOF
13749 /* confdefs.h. */
13750 _ACEOF
13751 cat confdefs.h >>conftest.$ac_ext
13752 cat >>conftest.$ac_ext <<_ACEOF
13753 /* end confdefs.h. */
13754 #include <stdlib.h>
13755 #include <stdarg.h>
13756 #include <string.h>
13757 #include <float.h>
13758
13759 int
13760 main ()
13761 {
13762
13763 ;
13764 return 0;
13765 }
13766 _ACEOF
13767 rm -f conftest.$ac_objext
13768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13769 (eval $ac_compile) 2>conftest.er1
13770 ac_status=$?
13771 grep -v '^ *+' conftest.er1 >conftest.err
13772 rm -f conftest.er1
13773 cat conftest.err >&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); } &&
13776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13779 ac_status=$?
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; } &&
13782 { ac_try='test -s conftest.$ac_objext'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13785 ac_status=$?
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; }; then
13788 ac_cv_header_stdc=yes
13789 else
13790 echo "$as_me: failed program was:" >&5
13791 sed 's/^/| /' conftest.$ac_ext >&5
13792
13793 ac_cv_header_stdc=no
13794 fi
13795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13796
13797 if test $ac_cv_header_stdc = yes; then
13798 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13799 cat >conftest.$ac_ext <<_ACEOF
13800 /* confdefs.h. */
13801 _ACEOF
13802 cat confdefs.h >>conftest.$ac_ext
13803 cat >>conftest.$ac_ext <<_ACEOF
13804 /* end confdefs.h. */
13805 #include <string.h>
13806
13807 _ACEOF
13808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13809 $EGREP "memchr" >/dev/null 2>&1; then
13810 :
13811 else
13812 ac_cv_header_stdc=no
13813 fi
13814 rm -f conftest*
13815
13816 fi
13817
13818 if test $ac_cv_header_stdc = yes; then
13819 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13820 cat >conftest.$ac_ext <<_ACEOF
13821 /* confdefs.h. */
13822 _ACEOF
13823 cat confdefs.h >>conftest.$ac_ext
13824 cat >>conftest.$ac_ext <<_ACEOF
13825 /* end confdefs.h. */
13826 #include <stdlib.h>
13827
13828 _ACEOF
13829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13830 $EGREP "free" >/dev/null 2>&1; then
13831 :
13832 else
13833 ac_cv_header_stdc=no
13834 fi
13835 rm -f conftest*
13836
13837 fi
13838
13839 if test $ac_cv_header_stdc = yes; then
13840 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13841 if test "$cross_compiling" = yes; then
13842 :
13843 else
13844 cat >conftest.$ac_ext <<_ACEOF
13845 /* confdefs.h. */
13846 _ACEOF
13847 cat confdefs.h >>conftest.$ac_ext
13848 cat >>conftest.$ac_ext <<_ACEOF
13849 /* end confdefs.h. */
13850 #include <ctype.h>
13851 #if ((' ' & 0x0FF) == 0x020)
13852 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13853 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13854 #else
13855 # define ISLOWER(c) \
13856 (('a' <= (c) && (c) <= 'i') \
13857 || ('j' <= (c) && (c) <= 'r') \
13858 || ('s' <= (c) && (c) <= 'z'))
13859 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13860 #endif
13861
13862 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13863 int
13864 main ()
13865 {
13866 int i;
13867 for (i = 0; i < 256; i++)
13868 if (XOR (islower (i), ISLOWER (i))
13869 || toupper (i) != TOUPPER (i))
13870 exit(2);
13871 exit (0);
13872 }
13873 _ACEOF
13874 rm -f conftest$ac_exeext
13875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13876 (eval $ac_link) 2>&5
13877 ac_status=$?
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13881 (eval $ac_try) 2>&5
13882 ac_status=$?
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); }; }; then
13885 :
13886 else
13887 echo "$as_me: program exited with status $ac_status" >&5
13888 echo "$as_me: failed program was:" >&5
13889 sed 's/^/| /' conftest.$ac_ext >&5
13890
13891 ( exit $ac_status )
13892 ac_cv_header_stdc=no
13893 fi
13894 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13895 fi
13896 fi
13897 fi
13898 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13899 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13900 if test $ac_cv_header_stdc = yes; then
13901
13902 cat >>confdefs.h <<\_ACEOF
13903 #define STDC_HEADERS 1
13904 _ACEOF
13905
13906 fi
13907
13908 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13919 inttypes.h stdint.h unistd.h
13920 do
13921 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13922 echo "$as_me:$LINENO: checking for $ac_header" >&5
13923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13925 echo $ECHO_N "(cached) $ECHO_C" >&6
13926 else
13927 cat >conftest.$ac_ext <<_ACEOF
13928 /* confdefs.h. */
13929 _ACEOF
13930 cat confdefs.h >>conftest.$ac_ext
13931 cat >>conftest.$ac_ext <<_ACEOF
13932 /* end confdefs.h. */
13933 $ac_includes_default
13934
13935 #include <$ac_header>
13936 _ACEOF
13937 rm -f conftest.$ac_objext
13938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13939 (eval $ac_compile) 2>conftest.er1
13940 ac_status=$?
13941 grep -v '^ *+' conftest.er1 >conftest.err
13942 rm -f conftest.er1
13943 cat conftest.err >&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); } &&
13946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13948 (eval $ac_try) 2>&5
13949 ac_status=$?
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); }; } &&
13952 { ac_try='test -s conftest.$ac_objext'
13953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13954 (eval $ac_try) 2>&5
13955 ac_status=$?
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); }; }; then
13958 eval "$as_ac_Header=yes"
13959 else
13960 echo "$as_me: failed program was:" >&5
13961 sed 's/^/| /' conftest.$ac_ext >&5
13962
13963 eval "$as_ac_Header=no"
13964 fi
13965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13966 fi
13967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13970 cat >>confdefs.h <<_ACEOF
13971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13972 _ACEOF
13973
13974 fi
13975
13976 done
13977
13978
13979
13980 for ac_header in stdlib.h
13981 do
13982 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13984 echo "$as_me:$LINENO: checking for $ac_header" >&5
13985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13987 echo $ECHO_N "(cached) $ECHO_C" >&6
13988 fi
13989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13991 else
13992 # Is the header compilable?
13993 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13994 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13995 cat >conftest.$ac_ext <<_ACEOF
13996 /* confdefs.h. */
13997 _ACEOF
13998 cat confdefs.h >>conftest.$ac_ext
13999 cat >>conftest.$ac_ext <<_ACEOF
14000 /* end confdefs.h. */
14001 $ac_includes_default
14002 #include <$ac_header>
14003 _ACEOF
14004 rm -f conftest.$ac_objext
14005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14006 (eval $ac_compile) 2>conftest.er1
14007 ac_status=$?
14008 grep -v '^ *+' conftest.er1 >conftest.err
14009 rm -f conftest.er1
14010 cat conftest.err >&5
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); } &&
14013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14015 (eval $ac_try) 2>&5
14016 ac_status=$?
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); }; } &&
14019 { ac_try='test -s conftest.$ac_objext'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14022 ac_status=$?
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; }; then
14025 ac_header_compiler=yes
14026 else
14027 echo "$as_me: failed program was:" >&5
14028 sed 's/^/| /' conftest.$ac_ext >&5
14029
14030 ac_header_compiler=no
14031 fi
14032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14033 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14034 echo "${ECHO_T}$ac_header_compiler" >&6
14035
14036 # Is the header present?
14037 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14038 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14039 cat >conftest.$ac_ext <<_ACEOF
14040 /* confdefs.h. */
14041 _ACEOF
14042 cat confdefs.h >>conftest.$ac_ext
14043 cat >>conftest.$ac_ext <<_ACEOF
14044 /* end confdefs.h. */
14045 #include <$ac_header>
14046 _ACEOF
14047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14048 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14049 ac_status=$?
14050 grep -v '^ *+' conftest.er1 >conftest.err
14051 rm -f conftest.er1
14052 cat conftest.err >&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); } >/dev/null; then
14055 if test -s conftest.err; then
14056 ac_cpp_err=$ac_c_preproc_warn_flag
14057 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14058 else
14059 ac_cpp_err=
14060 fi
14061 else
14062 ac_cpp_err=yes
14063 fi
14064 if test -z "$ac_cpp_err"; then
14065 ac_header_preproc=yes
14066 else
14067 echo "$as_me: failed program was:" >&5
14068 sed 's/^/| /' conftest.$ac_ext >&5
14069
14070 ac_header_preproc=no
14071 fi
14072 rm -f conftest.err conftest.$ac_ext
14073 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14074 echo "${ECHO_T}$ac_header_preproc" >&6
14075
14076 # So? What about this header?
14077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14078 yes:no: )
14079 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14080 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14082 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14083 ac_header_preproc=yes
14084 ;;
14085 no:yes:* )
14086 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14087 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14088 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14089 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14090 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14091 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14092 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14093 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14095 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14096 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14097 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14098 (
14099 cat <<\_ASBOX
14100 ## ----------------------------------------- ##
14101 ## Report this to wx-dev@lists.wxwidgets.org ##
14102 ## ----------------------------------------- ##
14103 _ASBOX
14104 ) |
14105 sed "s/^/$as_me: WARNING: /" >&2
14106 ;;
14107 esac
14108 echo "$as_me:$LINENO: checking for $ac_header" >&5
14109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14111 echo $ECHO_N "(cached) $ECHO_C" >&6
14112 else
14113 eval "$as_ac_Header=\$ac_header_preproc"
14114 fi
14115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14117
14118 fi
14119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14120 cat >>confdefs.h <<_ACEOF
14121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14122 _ACEOF
14123
14124 fi
14125
14126 done
14127
14128
14129 for ac_header in malloc.h
14130 do
14131 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14133 echo "$as_me:$LINENO: checking for $ac_header" >&5
14134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14136 echo $ECHO_N "(cached) $ECHO_C" >&6
14137 fi
14138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14140 else
14141 # Is the header compilable?
14142 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14143 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14144 cat >conftest.$ac_ext <<_ACEOF
14145 /* confdefs.h. */
14146 _ACEOF
14147 cat confdefs.h >>conftest.$ac_ext
14148 cat >>conftest.$ac_ext <<_ACEOF
14149 /* end confdefs.h. */
14150 $ac_includes_default
14151 #include <$ac_header>
14152 _ACEOF
14153 rm -f conftest.$ac_objext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14155 (eval $ac_compile) 2>conftest.er1
14156 ac_status=$?
14157 grep -v '^ *+' conftest.er1 >conftest.err
14158 rm -f conftest.er1
14159 cat conftest.err >&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14164 (eval $ac_try) 2>&5
14165 ac_status=$?
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); }; } &&
14168 { ac_try='test -s conftest.$ac_objext'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14171 ac_status=$?
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; }; then
14174 ac_header_compiler=yes
14175 else
14176 echo "$as_me: failed program was:" >&5
14177 sed 's/^/| /' conftest.$ac_ext >&5
14178
14179 ac_header_compiler=no
14180 fi
14181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14183 echo "${ECHO_T}$ac_header_compiler" >&6
14184
14185 # Is the header present?
14186 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14187 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14188 cat >conftest.$ac_ext <<_ACEOF
14189 /* confdefs.h. */
14190 _ACEOF
14191 cat confdefs.h >>conftest.$ac_ext
14192 cat >>conftest.$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14194 #include <$ac_header>
14195 _ACEOF
14196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14198 ac_status=$?
14199 grep -v '^ *+' conftest.er1 >conftest.err
14200 rm -f conftest.er1
14201 cat conftest.err >&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); } >/dev/null; then
14204 if test -s conftest.err; then
14205 ac_cpp_err=$ac_c_preproc_warn_flag
14206 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14207 else
14208 ac_cpp_err=
14209 fi
14210 else
14211 ac_cpp_err=yes
14212 fi
14213 if test -z "$ac_cpp_err"; then
14214 ac_header_preproc=yes
14215 else
14216 echo "$as_me: failed program was:" >&5
14217 sed 's/^/| /' conftest.$ac_ext >&5
14218
14219 ac_header_preproc=no
14220 fi
14221 rm -f conftest.err conftest.$ac_ext
14222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14223 echo "${ECHO_T}$ac_header_preproc" >&6
14224
14225 # So? What about this header?
14226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14227 yes:no: )
14228 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14232 ac_header_preproc=yes
14233 ;;
14234 no:yes:* )
14235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14239 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14241 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14242 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14247 (
14248 cat <<\_ASBOX
14249 ## ----------------------------------------- ##
14250 ## Report this to wx-dev@lists.wxwidgets.org ##
14251 ## ----------------------------------------- ##
14252 _ASBOX
14253 ) |
14254 sed "s/^/$as_me: WARNING: /" >&2
14255 ;;
14256 esac
14257 echo "$as_me:$LINENO: checking for $ac_header" >&5
14258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14260 echo $ECHO_N "(cached) $ECHO_C" >&6
14261 else
14262 eval "$as_ac_Header=\$ac_header_preproc"
14263 fi
14264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14266
14267 fi
14268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14269 cat >>confdefs.h <<_ACEOF
14270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14271 _ACEOF
14272
14273 fi
14274
14275 done
14276
14277
14278 for ac_header in unistd.h
14279 do
14280 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14282 echo "$as_me:$LINENO: checking for $ac_header" >&5
14283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14285 echo $ECHO_N "(cached) $ECHO_C" >&6
14286 fi
14287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14288 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14289 else
14290 # Is the header compilable?
14291 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14292 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14293 cat >conftest.$ac_ext <<_ACEOF
14294 /* confdefs.h. */
14295 _ACEOF
14296 cat confdefs.h >>conftest.$ac_ext
14297 cat >>conftest.$ac_ext <<_ACEOF
14298 /* end confdefs.h. */
14299 $ac_includes_default
14300 #include <$ac_header>
14301 _ACEOF
14302 rm -f conftest.$ac_objext
14303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14304 (eval $ac_compile) 2>conftest.er1
14305 ac_status=$?
14306 grep -v '^ *+' conftest.er1 >conftest.err
14307 rm -f conftest.er1
14308 cat conftest.err >&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } &&
14311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14314 ac_status=$?
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; } &&
14317 { ac_try='test -s conftest.$ac_objext'
14318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14319 (eval $ac_try) 2>&5
14320 ac_status=$?
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); }; }; then
14323 ac_header_compiler=yes
14324 else
14325 echo "$as_me: failed program was:" >&5
14326 sed 's/^/| /' conftest.$ac_ext >&5
14327
14328 ac_header_compiler=no
14329 fi
14330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14331 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14332 echo "${ECHO_T}$ac_header_compiler" >&6
14333
14334 # Is the header present?
14335 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14336 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14337 cat >conftest.$ac_ext <<_ACEOF
14338 /* confdefs.h. */
14339 _ACEOF
14340 cat confdefs.h >>conftest.$ac_ext
14341 cat >>conftest.$ac_ext <<_ACEOF
14342 /* end confdefs.h. */
14343 #include <$ac_header>
14344 _ACEOF
14345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14346 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14347 ac_status=$?
14348 grep -v '^ *+' conftest.er1 >conftest.err
14349 rm -f conftest.er1
14350 cat conftest.err >&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); } >/dev/null; then
14353 if test -s conftest.err; then
14354 ac_cpp_err=$ac_c_preproc_warn_flag
14355 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14356 else
14357 ac_cpp_err=
14358 fi
14359 else
14360 ac_cpp_err=yes
14361 fi
14362 if test -z "$ac_cpp_err"; then
14363 ac_header_preproc=yes
14364 else
14365 echo "$as_me: failed program was:" >&5
14366 sed 's/^/| /' conftest.$ac_ext >&5
14367
14368 ac_header_preproc=no
14369 fi
14370 rm -f conftest.err conftest.$ac_ext
14371 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14372 echo "${ECHO_T}$ac_header_preproc" >&6
14373
14374 # So? What about this header?
14375 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14376 yes:no: )
14377 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14378 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14380 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14381 ac_header_preproc=yes
14382 ;;
14383 no:yes:* )
14384 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14385 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14386 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14387 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14388 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14389 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14390 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14391 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14393 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14395 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14396 (
14397 cat <<\_ASBOX
14398 ## ----------------------------------------- ##
14399 ## Report this to wx-dev@lists.wxwidgets.org ##
14400 ## ----------------------------------------- ##
14401 _ASBOX
14402 ) |
14403 sed "s/^/$as_me: WARNING: /" >&2
14404 ;;
14405 esac
14406 echo "$as_me:$LINENO: checking for $ac_header" >&5
14407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14409 echo $ECHO_N "(cached) $ECHO_C" >&6
14410 else
14411 eval "$as_ac_Header=\$ac_header_preproc"
14412 fi
14413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14415
14416 fi
14417 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14418 cat >>confdefs.h <<_ACEOF
14419 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14420 _ACEOF
14421
14422 fi
14423
14424 done
14425
14426
14427 for ac_header in wchar.h
14428 do
14429 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14431 echo "$as_me:$LINENO: checking for $ac_header" >&5
14432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14434 echo $ECHO_N "(cached) $ECHO_C" >&6
14435 fi
14436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14438 else
14439 # Is the header compilable?
14440 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14441 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14442 cat >conftest.$ac_ext <<_ACEOF
14443 /* confdefs.h. */
14444 _ACEOF
14445 cat confdefs.h >>conftest.$ac_ext
14446 cat >>conftest.$ac_ext <<_ACEOF
14447 /* end confdefs.h. */
14448 $ac_includes_default
14449 #include <$ac_header>
14450 _ACEOF
14451 rm -f conftest.$ac_objext
14452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14453 (eval $ac_compile) 2>conftest.er1
14454 ac_status=$?
14455 grep -v '^ *+' conftest.er1 >conftest.err
14456 rm -f conftest.er1
14457 cat conftest.err >&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); } &&
14460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14462 (eval $ac_try) 2>&5
14463 ac_status=$?
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); }; } &&
14466 { ac_try='test -s conftest.$ac_objext'
14467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14468 (eval $ac_try) 2>&5
14469 ac_status=$?
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); }; }; then
14472 ac_header_compiler=yes
14473 else
14474 echo "$as_me: failed program was:" >&5
14475 sed 's/^/| /' conftest.$ac_ext >&5
14476
14477 ac_header_compiler=no
14478 fi
14479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14481 echo "${ECHO_T}$ac_header_compiler" >&6
14482
14483 # Is the header present?
14484 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14485 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14486 cat >conftest.$ac_ext <<_ACEOF
14487 /* confdefs.h. */
14488 _ACEOF
14489 cat confdefs.h >>conftest.$ac_ext
14490 cat >>conftest.$ac_ext <<_ACEOF
14491 /* end confdefs.h. */
14492 #include <$ac_header>
14493 _ACEOF
14494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14496 ac_status=$?
14497 grep -v '^ *+' conftest.er1 >conftest.err
14498 rm -f conftest.er1
14499 cat conftest.err >&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } >/dev/null; then
14502 if test -s conftest.err; then
14503 ac_cpp_err=$ac_c_preproc_warn_flag
14504 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14505 else
14506 ac_cpp_err=
14507 fi
14508 else
14509 ac_cpp_err=yes
14510 fi
14511 if test -z "$ac_cpp_err"; then
14512 ac_header_preproc=yes
14513 else
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14516
14517 ac_header_preproc=no
14518 fi
14519 rm -f conftest.err conftest.$ac_ext
14520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14521 echo "${ECHO_T}$ac_header_preproc" >&6
14522
14523 # So? What about this header?
14524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14525 yes:no: )
14526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14529 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14530 ac_header_preproc=yes
14531 ;;
14532 no:yes:* )
14533 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14534 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14535 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14536 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14537 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14538 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14539 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14540 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14543 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14544 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14545 (
14546 cat <<\_ASBOX
14547 ## ----------------------------------------- ##
14548 ## Report this to wx-dev@lists.wxwidgets.org ##
14549 ## ----------------------------------------- ##
14550 _ASBOX
14551 ) |
14552 sed "s/^/$as_me: WARNING: /" >&2
14553 ;;
14554 esac
14555 echo "$as_me:$LINENO: checking for $ac_header" >&5
14556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14558 echo $ECHO_N "(cached) $ECHO_C" >&6
14559 else
14560 eval "$as_ac_Header=\$ac_header_preproc"
14561 fi
14562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14564
14565 fi
14566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14567 cat >>confdefs.h <<_ACEOF
14568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14569 _ACEOF
14570
14571 fi
14572
14573 done
14574
14575
14576 if test "$ac_cv_header_wchar_h" != "yes"; then
14577
14578 for ac_header in wcstr.h
14579 do
14580 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14582 echo "$as_me:$LINENO: checking for $ac_header" >&5
14583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14585 echo $ECHO_N "(cached) $ECHO_C" >&6
14586 fi
14587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14589 else
14590 # Is the header compilable?
14591 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14592 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14593 cat >conftest.$ac_ext <<_ACEOF
14594 /* confdefs.h. */
14595 _ACEOF
14596 cat confdefs.h >>conftest.$ac_ext
14597 cat >>conftest.$ac_ext <<_ACEOF
14598 /* end confdefs.h. */
14599 $ac_includes_default
14600 #include <$ac_header>
14601 _ACEOF
14602 rm -f conftest.$ac_objext
14603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14604 (eval $ac_compile) 2>conftest.er1
14605 ac_status=$?
14606 grep -v '^ *+' conftest.er1 >conftest.err
14607 rm -f conftest.er1
14608 cat conftest.err >&5
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); } &&
14611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14613 (eval $ac_try) 2>&5
14614 ac_status=$?
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); }; } &&
14617 { ac_try='test -s conftest.$ac_objext'
14618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14619 (eval $ac_try) 2>&5
14620 ac_status=$?
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); }; }; then
14623 ac_header_compiler=yes
14624 else
14625 echo "$as_me: failed program was:" >&5
14626 sed 's/^/| /' conftest.$ac_ext >&5
14627
14628 ac_header_compiler=no
14629 fi
14630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14631 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14632 echo "${ECHO_T}$ac_header_compiler" >&6
14633
14634 # Is the header present?
14635 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14636 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14637 cat >conftest.$ac_ext <<_ACEOF
14638 /* confdefs.h. */
14639 _ACEOF
14640 cat confdefs.h >>conftest.$ac_ext
14641 cat >>conftest.$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14643 #include <$ac_header>
14644 _ACEOF
14645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14646 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14647 ac_status=$?
14648 grep -v '^ *+' conftest.er1 >conftest.err
14649 rm -f conftest.er1
14650 cat conftest.err >&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); } >/dev/null; then
14653 if test -s conftest.err; then
14654 ac_cpp_err=$ac_c_preproc_warn_flag
14655 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14656 else
14657 ac_cpp_err=
14658 fi
14659 else
14660 ac_cpp_err=yes
14661 fi
14662 if test -z "$ac_cpp_err"; then
14663 ac_header_preproc=yes
14664 else
14665 echo "$as_me: failed program was:" >&5
14666 sed 's/^/| /' conftest.$ac_ext >&5
14667
14668 ac_header_preproc=no
14669 fi
14670 rm -f conftest.err conftest.$ac_ext
14671 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14672 echo "${ECHO_T}$ac_header_preproc" >&6
14673
14674 # So? What about this header?
14675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14676 yes:no: )
14677 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14678 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14680 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14681 ac_header_preproc=yes
14682 ;;
14683 no:yes:* )
14684 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14685 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14686 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14687 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14688 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14689 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14690 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14691 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14693 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14694 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14695 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14696 (
14697 cat <<\_ASBOX
14698 ## ----------------------------------------- ##
14699 ## Report this to wx-dev@lists.wxwidgets.org ##
14700 ## ----------------------------------------- ##
14701 _ASBOX
14702 ) |
14703 sed "s/^/$as_me: WARNING: /" >&2
14704 ;;
14705 esac
14706 echo "$as_me:$LINENO: checking for $ac_header" >&5
14707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14709 echo $ECHO_N "(cached) $ECHO_C" >&6
14710 else
14711 eval "$as_ac_Header=\$ac_header_preproc"
14712 fi
14713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14715
14716 fi
14717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14718 cat >>confdefs.h <<_ACEOF
14719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14720 _ACEOF
14721
14722 fi
14723
14724 done
14725
14726 fi
14727
14728
14729 for ac_header in fnmatch.h
14730 do
14731 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14733 echo "$as_me:$LINENO: checking for $ac_header" >&5
14734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14736 echo $ECHO_N "(cached) $ECHO_C" >&6
14737 fi
14738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14740 else
14741 # Is the header compilable?
14742 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14743 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14744 cat >conftest.$ac_ext <<_ACEOF
14745 /* confdefs.h. */
14746 _ACEOF
14747 cat confdefs.h >>conftest.$ac_ext
14748 cat >>conftest.$ac_ext <<_ACEOF
14749 /* end confdefs.h. */
14750 $ac_includes_default
14751 #include <$ac_header>
14752 _ACEOF
14753 rm -f conftest.$ac_objext
14754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14755 (eval $ac_compile) 2>conftest.er1
14756 ac_status=$?
14757 grep -v '^ *+' conftest.er1 >conftest.err
14758 rm -f conftest.er1
14759 cat conftest.err >&5
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); } &&
14762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14764 (eval $ac_try) 2>&5
14765 ac_status=$?
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); }; } &&
14768 { ac_try='test -s conftest.$ac_objext'
14769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14770 (eval $ac_try) 2>&5
14771 ac_status=$?
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); }; }; then
14774 ac_header_compiler=yes
14775 else
14776 echo "$as_me: failed program was:" >&5
14777 sed 's/^/| /' conftest.$ac_ext >&5
14778
14779 ac_header_compiler=no
14780 fi
14781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14783 echo "${ECHO_T}$ac_header_compiler" >&6
14784
14785 # Is the header present?
14786 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14788 cat >conftest.$ac_ext <<_ACEOF
14789 /* confdefs.h. */
14790 _ACEOF
14791 cat confdefs.h >>conftest.$ac_ext
14792 cat >>conftest.$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14794 #include <$ac_header>
14795 _ACEOF
14796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14797 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14798 ac_status=$?
14799 grep -v '^ *+' conftest.er1 >conftest.err
14800 rm -f conftest.er1
14801 cat conftest.err >&5
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); } >/dev/null; then
14804 if test -s conftest.err; then
14805 ac_cpp_err=$ac_c_preproc_warn_flag
14806 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14807 else
14808 ac_cpp_err=
14809 fi
14810 else
14811 ac_cpp_err=yes
14812 fi
14813 if test -z "$ac_cpp_err"; then
14814 ac_header_preproc=yes
14815 else
14816 echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.$ac_ext >&5
14818
14819 ac_header_preproc=no
14820 fi
14821 rm -f conftest.err conftest.$ac_ext
14822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14823 echo "${ECHO_T}$ac_header_preproc" >&6
14824
14825 # So? What about this header?
14826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14827 yes:no: )
14828 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14829 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14831 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14832 ac_header_preproc=yes
14833 ;;
14834 no:yes:* )
14835 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14837 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14838 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14839 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14840 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14841 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14842 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14845 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14846 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14847 (
14848 cat <<\_ASBOX
14849 ## ----------------------------------------- ##
14850 ## Report this to wx-dev@lists.wxwidgets.org ##
14851 ## ----------------------------------------- ##
14852 _ASBOX
14853 ) |
14854 sed "s/^/$as_me: WARNING: /" >&2
14855 ;;
14856 esac
14857 echo "$as_me:$LINENO: checking for $ac_header" >&5
14858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14860 echo $ECHO_N "(cached) $ECHO_C" >&6
14861 else
14862 eval "$as_ac_Header=\$ac_header_preproc"
14863 fi
14864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14866
14867 fi
14868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14869 cat >>confdefs.h <<_ACEOF
14870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14871 _ACEOF
14872
14873 fi
14874
14875 done
14876
14877
14878 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14879
14880 for ac_func in fnmatch
14881 do
14882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14883 echo "$as_me:$LINENO: checking for $ac_func" >&5
14884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14885 if eval "test \"\${$as_ac_var+set}\" = set"; then
14886 echo $ECHO_N "(cached) $ECHO_C" >&6
14887 else
14888 cat >conftest.$ac_ext <<_ACEOF
14889 /* confdefs.h. */
14890 _ACEOF
14891 cat confdefs.h >>conftest.$ac_ext
14892 cat >>conftest.$ac_ext <<_ACEOF
14893 /* end confdefs.h. */
14894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14896 #define $ac_func innocuous_$ac_func
14897
14898 /* System header to define __stub macros and hopefully few prototypes,
14899 which can conflict with char $ac_func (); below.
14900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14901 <limits.h> exists even on freestanding compilers. */
14902
14903 #ifdef __STDC__
14904 # include <limits.h>
14905 #else
14906 # include <assert.h>
14907 #endif
14908
14909 #undef $ac_func
14910
14911 /* Override any gcc2 internal prototype to avoid an error. */
14912 #ifdef __cplusplus
14913 extern "C"
14914 {
14915 #endif
14916 /* We use char because int might match the return type of a gcc2
14917 builtin and then its argument prototype would still apply. */
14918 char $ac_func ();
14919 /* The GNU C library defines this for functions which it implements
14920 to always fail with ENOSYS. Some functions are actually named
14921 something starting with __ and the normal name is an alias. */
14922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14923 choke me
14924 #else
14925 char (*f) () = $ac_func;
14926 #endif
14927 #ifdef __cplusplus
14928 }
14929 #endif
14930
14931 int
14932 main ()
14933 {
14934 return f != $ac_func;
14935 ;
14936 return 0;
14937 }
14938 _ACEOF
14939 rm -f conftest.$ac_objext conftest$ac_exeext
14940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14941 (eval $ac_link) 2>conftest.er1
14942 ac_status=$?
14943 grep -v '^ *+' conftest.er1 >conftest.err
14944 rm -f conftest.er1
14945 cat conftest.err >&5
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); } &&
14948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14950 (eval $ac_try) 2>&5
14951 ac_status=$?
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); }; } &&
14954 { ac_try='test -s conftest$ac_exeext'
14955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14956 (eval $ac_try) 2>&5
14957 ac_status=$?
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); }; }; then
14960 eval "$as_ac_var=yes"
14961 else
14962 echo "$as_me: failed program was:" >&5
14963 sed 's/^/| /' conftest.$ac_ext >&5
14964
14965 eval "$as_ac_var=no"
14966 fi
14967 rm -f conftest.err conftest.$ac_objext \
14968 conftest$ac_exeext conftest.$ac_ext
14969 fi
14970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14972 if test `eval echo '${'$as_ac_var'}'` = yes; then
14973 cat >>confdefs.h <<_ACEOF
14974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14975 _ACEOF
14976
14977 fi
14978 done
14979
14980 fi
14981
14982
14983 for ac_header in langinfo.h
14984 do
14985 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14987 echo "$as_me:$LINENO: checking for $ac_header" >&5
14988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14990 echo $ECHO_N "(cached) $ECHO_C" >&6
14991 fi
14992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14994 else
14995 # Is the header compilable?
14996 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14997 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14998 cat >conftest.$ac_ext <<_ACEOF
14999 /* confdefs.h. */
15000 _ACEOF
15001 cat confdefs.h >>conftest.$ac_ext
15002 cat >>conftest.$ac_ext <<_ACEOF
15003 /* end confdefs.h. */
15004 $ac_includes_default
15005 #include <$ac_header>
15006 _ACEOF
15007 rm -f conftest.$ac_objext
15008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15009 (eval $ac_compile) 2>conftest.er1
15010 ac_status=$?
15011 grep -v '^ *+' conftest.er1 >conftest.err
15012 rm -f conftest.er1
15013 cat conftest.err >&5
15014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); } &&
15016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15018 (eval $ac_try) 2>&5
15019 ac_status=$?
15020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021 (exit $ac_status); }; } &&
15022 { ac_try='test -s conftest.$ac_objext'
15023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15024 (eval $ac_try) 2>&5
15025 ac_status=$?
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); }; }; then
15028 ac_header_compiler=yes
15029 else
15030 echo "$as_me: failed program was:" >&5
15031 sed 's/^/| /' conftest.$ac_ext >&5
15032
15033 ac_header_compiler=no
15034 fi
15035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15037 echo "${ECHO_T}$ac_header_compiler" >&6
15038
15039 # Is the header present?
15040 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15042 cat >conftest.$ac_ext <<_ACEOF
15043 /* confdefs.h. */
15044 _ACEOF
15045 cat confdefs.h >>conftest.$ac_ext
15046 cat >>conftest.$ac_ext <<_ACEOF
15047 /* end confdefs.h. */
15048 #include <$ac_header>
15049 _ACEOF
15050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15051 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15052 ac_status=$?
15053 grep -v '^ *+' conftest.er1 >conftest.err
15054 rm -f conftest.er1
15055 cat conftest.err >&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } >/dev/null; then
15058 if test -s conftest.err; then
15059 ac_cpp_err=$ac_c_preproc_warn_flag
15060 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15061 else
15062 ac_cpp_err=
15063 fi
15064 else
15065 ac_cpp_err=yes
15066 fi
15067 if test -z "$ac_cpp_err"; then
15068 ac_header_preproc=yes
15069 else
15070 echo "$as_me: failed program was:" >&5
15071 sed 's/^/| /' conftest.$ac_ext >&5
15072
15073 ac_header_preproc=no
15074 fi
15075 rm -f conftest.err conftest.$ac_ext
15076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15077 echo "${ECHO_T}$ac_header_preproc" >&6
15078
15079 # So? What about this header?
15080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15081 yes:no: )
15082 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15085 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15086 ac_header_preproc=yes
15087 ;;
15088 no:yes:* )
15089 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15090 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15091 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15092 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15093 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15094 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15095 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15096 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15099 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15100 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15101 (
15102 cat <<\_ASBOX
15103 ## ----------------------------------------- ##
15104 ## Report this to wx-dev@lists.wxwidgets.org ##
15105 ## ----------------------------------------- ##
15106 _ASBOX
15107 ) |
15108 sed "s/^/$as_me: WARNING: /" >&2
15109 ;;
15110 esac
15111 echo "$as_me:$LINENO: checking for $ac_header" >&5
15112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15114 echo $ECHO_N "(cached) $ECHO_C" >&6
15115 else
15116 eval "$as_ac_Header=\$ac_header_preproc"
15117 fi
15118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15120
15121 fi
15122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15123 cat >>confdefs.h <<_ACEOF
15124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15125 _ACEOF
15126
15127 fi
15128
15129 done
15130
15131
15132 case "${host}" in
15133 *-pc-os2_emx | *-pc-os2-emx )
15134 if test $ac_cv_header_langinfo_h = "yes" \
15135 -a \( "$wx_cv_gccversion" = "EMX2" \
15136 -o "$wx_cv_gccversion" = "EMX3" \
15137 -o "$wx_cv_gccversion" = "Innotek5" \); then
15138 LIBS="$LIBS -lintl"
15139 fi
15140 ;;
15141 esac
15142
15143 if test "$wxUSE_GUI" = "yes"; then
15144 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15145
15146 for ac_header in X11/Xlib.h
15147 do
15148 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15150 echo "$as_me:$LINENO: checking for $ac_header" >&5
15151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15153 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 fi
15155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15157 else
15158 # Is the header compilable?
15159 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15160 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15161 cat >conftest.$ac_ext <<_ACEOF
15162 /* confdefs.h. */
15163 _ACEOF
15164 cat confdefs.h >>conftest.$ac_ext
15165 cat >>conftest.$ac_ext <<_ACEOF
15166 /* end confdefs.h. */
15167 $ac_includes_default
15168 #include <$ac_header>
15169 _ACEOF
15170 rm -f conftest.$ac_objext
15171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15172 (eval $ac_compile) 2>conftest.er1
15173 ac_status=$?
15174 grep -v '^ *+' conftest.er1 >conftest.err
15175 rm -f conftest.er1
15176 cat conftest.err >&5
15177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15178 (exit $ac_status); } &&
15179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15181 (eval $ac_try) 2>&5
15182 ac_status=$?
15183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15184 (exit $ac_status); }; } &&
15185 { ac_try='test -s conftest.$ac_objext'
15186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15187 (eval $ac_try) 2>&5
15188 ac_status=$?
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); }; }; then
15191 ac_header_compiler=yes
15192 else
15193 echo "$as_me: failed program was:" >&5
15194 sed 's/^/| /' conftest.$ac_ext >&5
15195
15196 ac_header_compiler=no
15197 fi
15198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15200 echo "${ECHO_T}$ac_header_compiler" >&6
15201
15202 # Is the header present?
15203 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15204 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15205 cat >conftest.$ac_ext <<_ACEOF
15206 /* confdefs.h. */
15207 _ACEOF
15208 cat confdefs.h >>conftest.$ac_ext
15209 cat >>conftest.$ac_ext <<_ACEOF
15210 /* end confdefs.h. */
15211 #include <$ac_header>
15212 _ACEOF
15213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15214 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15215 ac_status=$?
15216 grep -v '^ *+' conftest.er1 >conftest.err
15217 rm -f conftest.er1
15218 cat conftest.err >&5
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); } >/dev/null; then
15221 if test -s conftest.err; then
15222 ac_cpp_err=$ac_c_preproc_warn_flag
15223 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15224 else
15225 ac_cpp_err=
15226 fi
15227 else
15228 ac_cpp_err=yes
15229 fi
15230 if test -z "$ac_cpp_err"; then
15231 ac_header_preproc=yes
15232 else
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.$ac_ext >&5
15235
15236 ac_header_preproc=no
15237 fi
15238 rm -f conftest.err conftest.$ac_ext
15239 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15240 echo "${ECHO_T}$ac_header_preproc" >&6
15241
15242 # So? What about this header?
15243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15244 yes:no: )
15245 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15246 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15248 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15249 ac_header_preproc=yes
15250 ;;
15251 no:yes:* )
15252 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15253 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15254 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15255 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15256 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15257 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15258 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15259 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15261 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15262 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15263 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15264 (
15265 cat <<\_ASBOX
15266 ## ----------------------------------------- ##
15267 ## Report this to wx-dev@lists.wxwidgets.org ##
15268 ## ----------------------------------------- ##
15269 _ASBOX
15270 ) |
15271 sed "s/^/$as_me: WARNING: /" >&2
15272 ;;
15273 esac
15274 echo "$as_me:$LINENO: checking for $ac_header" >&5
15275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15277 echo $ECHO_N "(cached) $ECHO_C" >&6
15278 else
15279 eval "$as_ac_Header=\$ac_header_preproc"
15280 fi
15281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15283
15284 fi
15285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15286 cat >>confdefs.h <<_ACEOF
15287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15288 _ACEOF
15289
15290 fi
15291
15292 done
15293
15294
15295 for ac_header in X11/XKBlib.h
15296 do
15297 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15298 echo "$as_me:$LINENO: checking for $ac_header" >&5
15299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15301 echo $ECHO_N "(cached) $ECHO_C" >&6
15302 else
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
15310 #if HAVE_X11_XLIB_H
15311 #include <X11/Xlib.h>
15312 #endif
15313
15314
15315 #include <$ac_header>
15316 _ACEOF
15317 rm -f conftest.$ac_objext
15318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15319 (eval $ac_compile) 2>conftest.er1
15320 ac_status=$?
15321 grep -v '^ *+' conftest.er1 >conftest.err
15322 rm -f conftest.er1
15323 cat conftest.err >&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); } &&
15326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15328 (eval $ac_try) 2>&5
15329 ac_status=$?
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); }; } &&
15332 { ac_try='test -s conftest.$ac_objext'
15333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15334 (eval $ac_try) 2>&5
15335 ac_status=$?
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); }; }; then
15338 eval "$as_ac_Header=yes"
15339 else
15340 echo "$as_me: failed program was:" >&5
15341 sed 's/^/| /' conftest.$ac_ext >&5
15342
15343 eval "$as_ac_Header=no"
15344 fi
15345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15346 fi
15347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15350 cat >>confdefs.h <<_ACEOF
15351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15352 _ACEOF
15353
15354 fi
15355
15356 done
15357
15358 fi
15359 fi
15360
15361
15362 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15363 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15364 if test "${ac_cv_c_const+set}" = set; then
15365 echo $ECHO_N "(cached) $ECHO_C" >&6
15366 else
15367 cat >conftest.$ac_ext <<_ACEOF
15368 /* confdefs.h. */
15369 _ACEOF
15370 cat confdefs.h >>conftest.$ac_ext
15371 cat >>conftest.$ac_ext <<_ACEOF
15372 /* end confdefs.h. */
15373
15374 int
15375 main ()
15376 {
15377 /* FIXME: Include the comments suggested by Paul. */
15378 #ifndef __cplusplus
15379 /* Ultrix mips cc rejects this. */
15380 typedef int charset[2];
15381 const charset x;
15382 /* SunOS 4.1.1 cc rejects this. */
15383 char const *const *ccp;
15384 char **p;
15385 /* NEC SVR4.0.2 mips cc rejects this. */
15386 struct point {int x, y;};
15387 static struct point const zero = {0,0};
15388 /* AIX XL C 1.02.0.0 rejects this.
15389 It does not let you subtract one const X* pointer from another in
15390 an arm of an if-expression whose if-part is not a constant
15391 expression */
15392 const char *g = "string";
15393 ccp = &g + (g ? g-g : 0);
15394 /* HPUX 7.0 cc rejects these. */
15395 ++ccp;
15396 p = (char**) ccp;
15397 ccp = (char const *const *) p;
15398 { /* SCO 3.2v4 cc rejects this. */
15399 char *t;
15400 char const *s = 0 ? (char *) 0 : (char const *) 0;
15401
15402 *t++ = 0;
15403 }
15404 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15405 int x[] = {25, 17};
15406 const int *foo = &x[0];
15407 ++foo;
15408 }
15409 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15410 typedef const int *iptr;
15411 iptr p = 0;
15412 ++p;
15413 }
15414 { /* AIX XL C 1.02.0.0 rejects this saying
15415 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15416 struct s { int j; const int *ap[3]; };
15417 struct s *b; b->j = 5;
15418 }
15419 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15420 const int foo = 10;
15421 }
15422 #endif
15423
15424 ;
15425 return 0;
15426 }
15427 _ACEOF
15428 rm -f conftest.$ac_objext
15429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15430 (eval $ac_compile) 2>conftest.er1
15431 ac_status=$?
15432 grep -v '^ *+' conftest.er1 >conftest.err
15433 rm -f conftest.er1
15434 cat conftest.err >&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); } &&
15437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15439 (eval $ac_try) 2>&5
15440 ac_status=$?
15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442 (exit $ac_status); }; } &&
15443 { ac_try='test -s conftest.$ac_objext'
15444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15445 (eval $ac_try) 2>&5
15446 ac_status=$?
15447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15448 (exit $ac_status); }; }; then
15449 ac_cv_c_const=yes
15450 else
15451 echo "$as_me: failed program was:" >&5
15452 sed 's/^/| /' conftest.$ac_ext >&5
15453
15454 ac_cv_c_const=no
15455 fi
15456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15457 fi
15458 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15459 echo "${ECHO_T}$ac_cv_c_const" >&6
15460 if test $ac_cv_c_const = no; then
15461
15462 cat >>confdefs.h <<\_ACEOF
15463 #define const
15464 _ACEOF
15465
15466 fi
15467
15468 echo "$as_me:$LINENO: checking for inline" >&5
15469 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15470 if test "${ac_cv_c_inline+set}" = set; then
15471 echo $ECHO_N "(cached) $ECHO_C" >&6
15472 else
15473 ac_cv_c_inline=no
15474 for ac_kw in inline __inline__ __inline; do
15475 cat >conftest.$ac_ext <<_ACEOF
15476 /* confdefs.h. */
15477 _ACEOF
15478 cat confdefs.h >>conftest.$ac_ext
15479 cat >>conftest.$ac_ext <<_ACEOF
15480 /* end confdefs.h. */
15481 #ifndef __cplusplus
15482 typedef int foo_t;
15483 static $ac_kw foo_t static_foo () {return 0; }
15484 $ac_kw foo_t foo () {return 0; }
15485 #endif
15486
15487 _ACEOF
15488 rm -f conftest.$ac_objext
15489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15490 (eval $ac_compile) 2>conftest.er1
15491 ac_status=$?
15492 grep -v '^ *+' conftest.er1 >conftest.err
15493 rm -f conftest.er1
15494 cat conftest.err >&5
15495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 (exit $ac_status); } &&
15497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15499 (eval $ac_try) 2>&5
15500 ac_status=$?
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); }; } &&
15503 { ac_try='test -s conftest.$ac_objext'
15504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15505 (eval $ac_try) 2>&5
15506 ac_status=$?
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); }; }; then
15509 ac_cv_c_inline=$ac_kw; break
15510 else
15511 echo "$as_me: failed program was:" >&5
15512 sed 's/^/| /' conftest.$ac_ext >&5
15513
15514 fi
15515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15516 done
15517
15518 fi
15519 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15520 echo "${ECHO_T}$ac_cv_c_inline" >&6
15521
15522
15523 case $ac_cv_c_inline in
15524 inline | yes) ;;
15525 *)
15526 case $ac_cv_c_inline in
15527 no) ac_val=;;
15528 *) ac_val=$ac_cv_c_inline;;
15529 esac
15530 cat >>confdefs.h <<_ACEOF
15531 #ifndef __cplusplus
15532 #define inline $ac_val
15533 #endif
15534 _ACEOF
15535 ;;
15536 esac
15537
15538
15539 echo "$as_me:$LINENO: checking for char" >&5
15540 echo $ECHO_N "checking for char... $ECHO_C" >&6
15541 if test "${ac_cv_type_char+set}" = set; then
15542 echo $ECHO_N "(cached) $ECHO_C" >&6
15543 else
15544 cat >conftest.$ac_ext <<_ACEOF
15545 /* confdefs.h. */
15546 _ACEOF
15547 cat confdefs.h >>conftest.$ac_ext
15548 cat >>conftest.$ac_ext <<_ACEOF
15549 /* end confdefs.h. */
15550 $ac_includes_default
15551 int
15552 main ()
15553 {
15554 if ((char *) 0)
15555 return 0;
15556 if (sizeof (char))
15557 return 0;
15558 ;
15559 return 0;
15560 }
15561 _ACEOF
15562 rm -f conftest.$ac_objext
15563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15564 (eval $ac_compile) 2>conftest.er1
15565 ac_status=$?
15566 grep -v '^ *+' conftest.er1 >conftest.err
15567 rm -f conftest.er1
15568 cat conftest.err >&5
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); } &&
15571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15573 (eval $ac_try) 2>&5
15574 ac_status=$?
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); }; } &&
15577 { ac_try='test -s conftest.$ac_objext'
15578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15579 (eval $ac_try) 2>&5
15580 ac_status=$?
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); }; }; then
15583 ac_cv_type_char=yes
15584 else
15585 echo "$as_me: failed program was:" >&5
15586 sed 's/^/| /' conftest.$ac_ext >&5
15587
15588 ac_cv_type_char=no
15589 fi
15590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15591 fi
15592 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15593 echo "${ECHO_T}$ac_cv_type_char" >&6
15594
15595 echo "$as_me:$LINENO: checking size of char" >&5
15596 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15597 if test "${ac_cv_sizeof_char+set}" = set; then
15598 echo $ECHO_N "(cached) $ECHO_C" >&6
15599 else
15600 if test "$ac_cv_type_char" = yes; then
15601 # The cast to unsigned long works around a bug in the HP C Compiler
15602 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15603 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15604 # This bug is HP SR number 8606223364.
15605 if test "$cross_compiling" = yes; then
15606 # Depending upon the size, compute the lo and hi bounds.
15607 cat >conftest.$ac_ext <<_ACEOF
15608 /* confdefs.h. */
15609 _ACEOF
15610 cat confdefs.h >>conftest.$ac_ext
15611 cat >>conftest.$ac_ext <<_ACEOF
15612 /* end confdefs.h. */
15613 $ac_includes_default
15614 int
15615 main ()
15616 {
15617 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15618 test_array [0] = 0
15619
15620 ;
15621 return 0;
15622 }
15623 _ACEOF
15624 rm -f conftest.$ac_objext
15625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15626 (eval $ac_compile) 2>conftest.er1
15627 ac_status=$?
15628 grep -v '^ *+' conftest.er1 >conftest.err
15629 rm -f conftest.er1
15630 cat conftest.err >&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); } &&
15633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15635 (eval $ac_try) 2>&5
15636 ac_status=$?
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); }; } &&
15639 { ac_try='test -s conftest.$ac_objext'
15640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15641 (eval $ac_try) 2>&5
15642 ac_status=$?
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); }; }; then
15645 ac_lo=0 ac_mid=0
15646 while :; do
15647 cat >conftest.$ac_ext <<_ACEOF
15648 /* confdefs.h. */
15649 _ACEOF
15650 cat confdefs.h >>conftest.$ac_ext
15651 cat >>conftest.$ac_ext <<_ACEOF
15652 /* end confdefs.h. */
15653 $ac_includes_default
15654 int
15655 main ()
15656 {
15657 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15658 test_array [0] = 0
15659
15660 ;
15661 return 0;
15662 }
15663 _ACEOF
15664 rm -f conftest.$ac_objext
15665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15666 (eval $ac_compile) 2>conftest.er1
15667 ac_status=$?
15668 grep -v '^ *+' conftest.er1 >conftest.err
15669 rm -f conftest.er1
15670 cat conftest.err >&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); } &&
15673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675 (eval $ac_try) 2>&5
15676 ac_status=$?
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); }; } &&
15679 { ac_try='test -s conftest.$ac_objext'
15680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681 (eval $ac_try) 2>&5
15682 ac_status=$?
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; }; then
15685 ac_hi=$ac_mid; break
15686 else
15687 echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.$ac_ext >&5
15689
15690 ac_lo=`expr $ac_mid + 1`
15691 if test $ac_lo -le $ac_mid; then
15692 ac_lo= ac_hi=
15693 break
15694 fi
15695 ac_mid=`expr 2 '*' $ac_mid + 1`
15696 fi
15697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15698 done
15699 else
15700 echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.$ac_ext >&5
15702
15703 cat >conftest.$ac_ext <<_ACEOF
15704 /* confdefs.h. */
15705 _ACEOF
15706 cat confdefs.h >>conftest.$ac_ext
15707 cat >>conftest.$ac_ext <<_ACEOF
15708 /* end confdefs.h. */
15709 $ac_includes_default
15710 int
15711 main ()
15712 {
15713 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15714 test_array [0] = 0
15715
15716 ;
15717 return 0;
15718 }
15719 _ACEOF
15720 rm -f conftest.$ac_objext
15721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15722 (eval $ac_compile) 2>conftest.er1
15723 ac_status=$?
15724 grep -v '^ *+' conftest.er1 >conftest.err
15725 rm -f conftest.er1
15726 cat conftest.err >&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } &&
15729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15731 (eval $ac_try) 2>&5
15732 ac_status=$?
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); }; } &&
15735 { ac_try='test -s conftest.$ac_objext'
15736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15737 (eval $ac_try) 2>&5
15738 ac_status=$?
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); }; }; then
15741 ac_hi=-1 ac_mid=-1
15742 while :; do
15743 cat >conftest.$ac_ext <<_ACEOF
15744 /* confdefs.h. */
15745 _ACEOF
15746 cat confdefs.h >>conftest.$ac_ext
15747 cat >>conftest.$ac_ext <<_ACEOF
15748 /* end confdefs.h. */
15749 $ac_includes_default
15750 int
15751 main ()
15752 {
15753 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15754 test_array [0] = 0
15755
15756 ;
15757 return 0;
15758 }
15759 _ACEOF
15760 rm -f conftest.$ac_objext
15761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15762 (eval $ac_compile) 2>conftest.er1
15763 ac_status=$?
15764 grep -v '^ *+' conftest.er1 >conftest.err
15765 rm -f conftest.er1
15766 cat conftest.err >&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); } &&
15769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15772 ac_status=$?
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; } &&
15775 { ac_try='test -s conftest.$ac_objext'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15778 ac_status=$?
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; }; then
15781 ac_lo=$ac_mid; break
15782 else
15783 echo "$as_me: failed program was:" >&5
15784 sed 's/^/| /' conftest.$ac_ext >&5
15785
15786 ac_hi=`expr '(' $ac_mid ')' - 1`
15787 if test $ac_mid -le $ac_hi; then
15788 ac_lo= ac_hi=
15789 break
15790 fi
15791 ac_mid=`expr 2 '*' $ac_mid`
15792 fi
15793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15794 done
15795 else
15796 echo "$as_me: failed program was:" >&5
15797 sed 's/^/| /' conftest.$ac_ext >&5
15798
15799 ac_lo= ac_hi=
15800 fi
15801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15802 fi
15803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15804 # Binary search between lo and hi bounds.
15805 while test "x$ac_lo" != "x$ac_hi"; do
15806 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15807 cat >conftest.$ac_ext <<_ACEOF
15808 /* confdefs.h. */
15809 _ACEOF
15810 cat confdefs.h >>conftest.$ac_ext
15811 cat >>conftest.$ac_ext <<_ACEOF
15812 /* end confdefs.h. */
15813 $ac_includes_default
15814 int
15815 main ()
15816 {
15817 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15818 test_array [0] = 0
15819
15820 ;
15821 return 0;
15822 }
15823 _ACEOF
15824 rm -f conftest.$ac_objext
15825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15826 (eval $ac_compile) 2>conftest.er1
15827 ac_status=$?
15828 grep -v '^ *+' conftest.er1 >conftest.err
15829 rm -f conftest.er1
15830 cat conftest.err >&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } &&
15833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835 (eval $ac_try) 2>&5
15836 ac_status=$?
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); }; } &&
15839 { ac_try='test -s conftest.$ac_objext'
15840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15841 (eval $ac_try) 2>&5
15842 ac_status=$?
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); }; }; then
15845 ac_hi=$ac_mid
15846 else
15847 echo "$as_me: failed program was:" >&5
15848 sed 's/^/| /' conftest.$ac_ext >&5
15849
15850 ac_lo=`expr '(' $ac_mid ')' + 1`
15851 fi
15852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15853 done
15854 case $ac_lo in
15855 ?*) ac_cv_sizeof_char=$ac_lo;;
15856 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15857 See \`config.log' for more details." >&5
15858 echo "$as_me: error: cannot compute sizeof (char), 77
15859 See \`config.log' for more details." >&2;}
15860 { (exit 1); exit 1; }; } ;;
15861 esac
15862 else
15863 if test "$cross_compiling" = yes; then
15864 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15865 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15866 { (exit 1); exit 1; }; }
15867 else
15868 cat >conftest.$ac_ext <<_ACEOF
15869 /* confdefs.h. */
15870 _ACEOF
15871 cat confdefs.h >>conftest.$ac_ext
15872 cat >>conftest.$ac_ext <<_ACEOF
15873 /* end confdefs.h. */
15874 $ac_includes_default
15875 long longval () { return (long) (sizeof (char)); }
15876 unsigned long ulongval () { return (long) (sizeof (char)); }
15877 #include <stdio.h>
15878 #include <stdlib.h>
15879 int
15880 main ()
15881 {
15882
15883 FILE *f = fopen ("conftest.val", "w");
15884 if (! f)
15885 exit (1);
15886 if (((long) (sizeof (char))) < 0)
15887 {
15888 long i = longval ();
15889 if (i != ((long) (sizeof (char))))
15890 exit (1);
15891 fprintf (f, "%ld\n", i);
15892 }
15893 else
15894 {
15895 unsigned long i = ulongval ();
15896 if (i != ((long) (sizeof (char))))
15897 exit (1);
15898 fprintf (f, "%lu\n", i);
15899 }
15900 exit (ferror (f) || fclose (f) != 0);
15901
15902 ;
15903 return 0;
15904 }
15905 _ACEOF
15906 rm -f conftest$ac_exeext
15907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15908 (eval $ac_link) 2>&5
15909 ac_status=$?
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15913 (eval $ac_try) 2>&5
15914 ac_status=$?
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); }; }; then
15917 ac_cv_sizeof_char=`cat conftest.val`
15918 else
15919 echo "$as_me: program exited with status $ac_status" >&5
15920 echo "$as_me: failed program was:" >&5
15921 sed 's/^/| /' conftest.$ac_ext >&5
15922
15923 ( exit $ac_status )
15924 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15925 See \`config.log' for more details." >&5
15926 echo "$as_me: error: cannot compute sizeof (char), 77
15927 See \`config.log' for more details." >&2;}
15928 { (exit 1); exit 1; }; }
15929 fi
15930 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15931 fi
15932 fi
15933 rm -f conftest.val
15934 else
15935 ac_cv_sizeof_char=0
15936 fi
15937 fi
15938 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15939 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15940 cat >>confdefs.h <<_ACEOF
15941 #define SIZEOF_CHAR $ac_cv_sizeof_char
15942 _ACEOF
15943
15944
15945 echo "$as_me:$LINENO: checking for short" >&5
15946 echo $ECHO_N "checking for short... $ECHO_C" >&6
15947 if test "${ac_cv_type_short+set}" = set; then
15948 echo $ECHO_N "(cached) $ECHO_C" >&6
15949 else
15950 cat >conftest.$ac_ext <<_ACEOF
15951 /* confdefs.h. */
15952 _ACEOF
15953 cat confdefs.h >>conftest.$ac_ext
15954 cat >>conftest.$ac_ext <<_ACEOF
15955 /* end confdefs.h. */
15956 $ac_includes_default
15957 int
15958 main ()
15959 {
15960 if ((short *) 0)
15961 return 0;
15962 if (sizeof (short))
15963 return 0;
15964 ;
15965 return 0;
15966 }
15967 _ACEOF
15968 rm -f conftest.$ac_objext
15969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15970 (eval $ac_compile) 2>conftest.er1
15971 ac_status=$?
15972 grep -v '^ *+' conftest.er1 >conftest.err
15973 rm -f conftest.er1
15974 cat conftest.err >&5
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); } &&
15977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15979 (eval $ac_try) 2>&5
15980 ac_status=$?
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); }; } &&
15983 { ac_try='test -s conftest.$ac_objext'
15984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15985 (eval $ac_try) 2>&5
15986 ac_status=$?
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); }; }; then
15989 ac_cv_type_short=yes
15990 else
15991 echo "$as_me: failed program was:" >&5
15992 sed 's/^/| /' conftest.$ac_ext >&5
15993
15994 ac_cv_type_short=no
15995 fi
15996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15997 fi
15998 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15999 echo "${ECHO_T}$ac_cv_type_short" >&6
16000
16001 echo "$as_me:$LINENO: checking size of short" >&5
16002 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16003 if test "${ac_cv_sizeof_short+set}" = set; then
16004 echo $ECHO_N "(cached) $ECHO_C" >&6
16005 else
16006 if test "$ac_cv_type_short" = yes; then
16007 # The cast to unsigned long works around a bug in the HP C Compiler
16008 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16009 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16010 # This bug is HP SR number 8606223364.
16011 if test "$cross_compiling" = yes; then
16012 # Depending upon the size, compute the lo and hi bounds.
16013 cat >conftest.$ac_ext <<_ACEOF
16014 /* confdefs.h. */
16015 _ACEOF
16016 cat confdefs.h >>conftest.$ac_ext
16017 cat >>conftest.$ac_ext <<_ACEOF
16018 /* end confdefs.h. */
16019 $ac_includes_default
16020 int
16021 main ()
16022 {
16023 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16024 test_array [0] = 0
16025
16026 ;
16027 return 0;
16028 }
16029 _ACEOF
16030 rm -f conftest.$ac_objext
16031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16032 (eval $ac_compile) 2>conftest.er1
16033 ac_status=$?
16034 grep -v '^ *+' conftest.er1 >conftest.err
16035 rm -f conftest.er1
16036 cat conftest.err >&5
16037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16038 (exit $ac_status); } &&
16039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16041 (eval $ac_try) 2>&5
16042 ac_status=$?
16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044 (exit $ac_status); }; } &&
16045 { ac_try='test -s conftest.$ac_objext'
16046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16047 (eval $ac_try) 2>&5
16048 ac_status=$?
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); }; }; then
16051 ac_lo=0 ac_mid=0
16052 while :; do
16053 cat >conftest.$ac_ext <<_ACEOF
16054 /* confdefs.h. */
16055 _ACEOF
16056 cat confdefs.h >>conftest.$ac_ext
16057 cat >>conftest.$ac_ext <<_ACEOF
16058 /* end confdefs.h. */
16059 $ac_includes_default
16060 int
16061 main ()
16062 {
16063 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16064 test_array [0] = 0
16065
16066 ;
16067 return 0;
16068 }
16069 _ACEOF
16070 rm -f conftest.$ac_objext
16071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16072 (eval $ac_compile) 2>conftest.er1
16073 ac_status=$?
16074 grep -v '^ *+' conftest.er1 >conftest.err
16075 rm -f conftest.er1
16076 cat conftest.err >&5
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); } &&
16079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16082 ac_status=$?
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; } &&
16085 { ac_try='test -s conftest.$ac_objext'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16088 ac_status=$?
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; }; then
16091 ac_hi=$ac_mid; break
16092 else
16093 echo "$as_me: failed program was:" >&5
16094 sed 's/^/| /' conftest.$ac_ext >&5
16095
16096 ac_lo=`expr $ac_mid + 1`
16097 if test $ac_lo -le $ac_mid; then
16098 ac_lo= ac_hi=
16099 break
16100 fi
16101 ac_mid=`expr 2 '*' $ac_mid + 1`
16102 fi
16103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16104 done
16105 else
16106 echo "$as_me: failed program was:" >&5
16107 sed 's/^/| /' conftest.$ac_ext >&5
16108
16109 cat >conftest.$ac_ext <<_ACEOF
16110 /* confdefs.h. */
16111 _ACEOF
16112 cat confdefs.h >>conftest.$ac_ext
16113 cat >>conftest.$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115 $ac_includes_default
16116 int
16117 main ()
16118 {
16119 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16120 test_array [0] = 0
16121
16122 ;
16123 return 0;
16124 }
16125 _ACEOF
16126 rm -f conftest.$ac_objext
16127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16128 (eval $ac_compile) 2>conftest.er1
16129 ac_status=$?
16130 grep -v '^ *+' conftest.er1 >conftest.err
16131 rm -f conftest.er1
16132 cat conftest.err >&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); } &&
16135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16137 (eval $ac_try) 2>&5
16138 ac_status=$?
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); }; } &&
16141 { ac_try='test -s conftest.$ac_objext'
16142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16143 (eval $ac_try) 2>&5
16144 ac_status=$?
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); }; }; then
16147 ac_hi=-1 ac_mid=-1
16148 while :; do
16149 cat >conftest.$ac_ext <<_ACEOF
16150 /* confdefs.h. */
16151 _ACEOF
16152 cat confdefs.h >>conftest.$ac_ext
16153 cat >>conftest.$ac_ext <<_ACEOF
16154 /* end confdefs.h. */
16155 $ac_includes_default
16156 int
16157 main ()
16158 {
16159 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16160 test_array [0] = 0
16161
16162 ;
16163 return 0;
16164 }
16165 _ACEOF
16166 rm -f conftest.$ac_objext
16167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16168 (eval $ac_compile) 2>conftest.er1
16169 ac_status=$?
16170 grep -v '^ *+' conftest.er1 >conftest.err
16171 rm -f conftest.er1
16172 cat conftest.err >&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); } &&
16175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16178 ac_status=$?
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; } &&
16181 { ac_try='test -s conftest.$ac_objext'
16182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16183 (eval $ac_try) 2>&5
16184 ac_status=$?
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); }; }; then
16187 ac_lo=$ac_mid; break
16188 else
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.$ac_ext >&5
16191
16192 ac_hi=`expr '(' $ac_mid ')' - 1`
16193 if test $ac_mid -le $ac_hi; then
16194 ac_lo= ac_hi=
16195 break
16196 fi
16197 ac_mid=`expr 2 '*' $ac_mid`
16198 fi
16199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16200 done
16201 else
16202 echo "$as_me: failed program was:" >&5
16203 sed 's/^/| /' conftest.$ac_ext >&5
16204
16205 ac_lo= ac_hi=
16206 fi
16207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16208 fi
16209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16210 # Binary search between lo and hi bounds.
16211 while test "x$ac_lo" != "x$ac_hi"; do
16212 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16213 cat >conftest.$ac_ext <<_ACEOF
16214 /* confdefs.h. */
16215 _ACEOF
16216 cat confdefs.h >>conftest.$ac_ext
16217 cat >>conftest.$ac_ext <<_ACEOF
16218 /* end confdefs.h. */
16219 $ac_includes_default
16220 int
16221 main ()
16222 {
16223 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16224 test_array [0] = 0
16225
16226 ;
16227 return 0;
16228 }
16229 _ACEOF
16230 rm -f conftest.$ac_objext
16231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16232 (eval $ac_compile) 2>conftest.er1
16233 ac_status=$?
16234 grep -v '^ *+' conftest.er1 >conftest.err
16235 rm -f conftest.er1
16236 cat conftest.err >&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); } &&
16239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16241 (eval $ac_try) 2>&5
16242 ac_status=$?
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); }; } &&
16245 { ac_try='test -s conftest.$ac_objext'
16246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16247 (eval $ac_try) 2>&5
16248 ac_status=$?
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); }; }; then
16251 ac_hi=$ac_mid
16252 else
16253 echo "$as_me: failed program was:" >&5
16254 sed 's/^/| /' conftest.$ac_ext >&5
16255
16256 ac_lo=`expr '(' $ac_mid ')' + 1`
16257 fi
16258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16259 done
16260 case $ac_lo in
16261 ?*) ac_cv_sizeof_short=$ac_lo;;
16262 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16263 See \`config.log' for more details." >&5
16264 echo "$as_me: error: cannot compute sizeof (short), 77
16265 See \`config.log' for more details." >&2;}
16266 { (exit 1); exit 1; }; } ;;
16267 esac
16268 else
16269 if test "$cross_compiling" = yes; then
16270 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16271 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16272 { (exit 1); exit 1; }; }
16273 else
16274 cat >conftest.$ac_ext <<_ACEOF
16275 /* confdefs.h. */
16276 _ACEOF
16277 cat confdefs.h >>conftest.$ac_ext
16278 cat >>conftest.$ac_ext <<_ACEOF
16279 /* end confdefs.h. */
16280 $ac_includes_default
16281 long longval () { return (long) (sizeof (short)); }
16282 unsigned long ulongval () { return (long) (sizeof (short)); }
16283 #include <stdio.h>
16284 #include <stdlib.h>
16285 int
16286 main ()
16287 {
16288
16289 FILE *f = fopen ("conftest.val", "w");
16290 if (! f)
16291 exit (1);
16292 if (((long) (sizeof (short))) < 0)
16293 {
16294 long i = longval ();
16295 if (i != ((long) (sizeof (short))))
16296 exit (1);
16297 fprintf (f, "%ld\n", i);
16298 }
16299 else
16300 {
16301 unsigned long i = ulongval ();
16302 if (i != ((long) (sizeof (short))))
16303 exit (1);
16304 fprintf (f, "%lu\n", i);
16305 }
16306 exit (ferror (f) || fclose (f) != 0);
16307
16308 ;
16309 return 0;
16310 }
16311 _ACEOF
16312 rm -f conftest$ac_exeext
16313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16314 (eval $ac_link) 2>&5
16315 ac_status=$?
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16319 (eval $ac_try) 2>&5
16320 ac_status=$?
16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 (exit $ac_status); }; }; then
16323 ac_cv_sizeof_short=`cat conftest.val`
16324 else
16325 echo "$as_me: program exited with status $ac_status" >&5
16326 echo "$as_me: failed program was:" >&5
16327 sed 's/^/| /' conftest.$ac_ext >&5
16328
16329 ( exit $ac_status )
16330 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16331 See \`config.log' for more details." >&5
16332 echo "$as_me: error: cannot compute sizeof (short), 77
16333 See \`config.log' for more details." >&2;}
16334 { (exit 1); exit 1; }; }
16335 fi
16336 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16337 fi
16338 fi
16339 rm -f conftest.val
16340 else
16341 ac_cv_sizeof_short=0
16342 fi
16343 fi
16344 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16345 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16346 cat >>confdefs.h <<_ACEOF
16347 #define SIZEOF_SHORT $ac_cv_sizeof_short
16348 _ACEOF
16349
16350
16351 echo "$as_me:$LINENO: checking for void *" >&5
16352 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16353 if test "${ac_cv_type_void_p+set}" = set; then
16354 echo $ECHO_N "(cached) $ECHO_C" >&6
16355 else
16356 cat >conftest.$ac_ext <<_ACEOF
16357 /* confdefs.h. */
16358 _ACEOF
16359 cat confdefs.h >>conftest.$ac_ext
16360 cat >>conftest.$ac_ext <<_ACEOF
16361 /* end confdefs.h. */
16362 $ac_includes_default
16363 int
16364 main ()
16365 {
16366 if ((void * *) 0)
16367 return 0;
16368 if (sizeof (void *))
16369 return 0;
16370 ;
16371 return 0;
16372 }
16373 _ACEOF
16374 rm -f conftest.$ac_objext
16375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16376 (eval $ac_compile) 2>conftest.er1
16377 ac_status=$?
16378 grep -v '^ *+' conftest.er1 >conftest.err
16379 rm -f conftest.er1
16380 cat conftest.err >&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); } &&
16383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16385 (eval $ac_try) 2>&5
16386 ac_status=$?
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); }; } &&
16389 { ac_try='test -s conftest.$ac_objext'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16392 ac_status=$?
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; }; then
16395 ac_cv_type_void_p=yes
16396 else
16397 echo "$as_me: failed program was:" >&5
16398 sed 's/^/| /' conftest.$ac_ext >&5
16399
16400 ac_cv_type_void_p=no
16401 fi
16402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16403 fi
16404 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16405 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16406
16407 echo "$as_me:$LINENO: checking size of void *" >&5
16408 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16409 if test "${ac_cv_sizeof_void_p+set}" = set; then
16410 echo $ECHO_N "(cached) $ECHO_C" >&6
16411 else
16412 if test "$ac_cv_type_void_p" = yes; then
16413 # The cast to unsigned long works around a bug in the HP C Compiler
16414 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16415 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16416 # This bug is HP SR number 8606223364.
16417 if test "$cross_compiling" = yes; then
16418 # Depending upon the size, compute the lo and hi bounds.
16419 cat >conftest.$ac_ext <<_ACEOF
16420 /* confdefs.h. */
16421 _ACEOF
16422 cat confdefs.h >>conftest.$ac_ext
16423 cat >>conftest.$ac_ext <<_ACEOF
16424 /* end confdefs.h. */
16425 $ac_includes_default
16426 int
16427 main ()
16428 {
16429 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16430 test_array [0] = 0
16431
16432 ;
16433 return 0;
16434 }
16435 _ACEOF
16436 rm -f conftest.$ac_objext
16437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16438 (eval $ac_compile) 2>conftest.er1
16439 ac_status=$?
16440 grep -v '^ *+' conftest.er1 >conftest.err
16441 rm -f conftest.er1
16442 cat conftest.err >&5
16443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16444 (exit $ac_status); } &&
16445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16447 (eval $ac_try) 2>&5
16448 ac_status=$?
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); }; } &&
16451 { ac_try='test -s conftest.$ac_objext'
16452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16453 (eval $ac_try) 2>&5
16454 ac_status=$?
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); }; }; then
16457 ac_lo=0 ac_mid=0
16458 while :; do
16459 cat >conftest.$ac_ext <<_ACEOF
16460 /* confdefs.h. */
16461 _ACEOF
16462 cat confdefs.h >>conftest.$ac_ext
16463 cat >>conftest.$ac_ext <<_ACEOF
16464 /* end confdefs.h. */
16465 $ac_includes_default
16466 int
16467 main ()
16468 {
16469 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16470 test_array [0] = 0
16471
16472 ;
16473 return 0;
16474 }
16475 _ACEOF
16476 rm -f conftest.$ac_objext
16477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16478 (eval $ac_compile) 2>conftest.er1
16479 ac_status=$?
16480 grep -v '^ *+' conftest.er1 >conftest.err
16481 rm -f conftest.er1
16482 cat conftest.err >&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } &&
16485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16487 (eval $ac_try) 2>&5
16488 ac_status=$?
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; } &&
16491 { ac_try='test -s conftest.$ac_objext'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16494 ac_status=$?
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; }; then
16497 ac_hi=$ac_mid; break
16498 else
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.$ac_ext >&5
16501
16502 ac_lo=`expr $ac_mid + 1`
16503 if test $ac_lo -le $ac_mid; then
16504 ac_lo= ac_hi=
16505 break
16506 fi
16507 ac_mid=`expr 2 '*' $ac_mid + 1`
16508 fi
16509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16510 done
16511 else
16512 echo "$as_me: failed program was:" >&5
16513 sed 's/^/| /' conftest.$ac_ext >&5
16514
16515 cat >conftest.$ac_ext <<_ACEOF
16516 /* confdefs.h. */
16517 _ACEOF
16518 cat confdefs.h >>conftest.$ac_ext
16519 cat >>conftest.$ac_ext <<_ACEOF
16520 /* end confdefs.h. */
16521 $ac_includes_default
16522 int
16523 main ()
16524 {
16525 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16526 test_array [0] = 0
16527
16528 ;
16529 return 0;
16530 }
16531 _ACEOF
16532 rm -f conftest.$ac_objext
16533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16534 (eval $ac_compile) 2>conftest.er1
16535 ac_status=$?
16536 grep -v '^ *+' conftest.er1 >conftest.err
16537 rm -f conftest.er1
16538 cat conftest.err >&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); } &&
16541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16543 (eval $ac_try) 2>&5
16544 ac_status=$?
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); }; } &&
16547 { ac_try='test -s conftest.$ac_objext'
16548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549 (eval $ac_try) 2>&5
16550 ac_status=$?
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); }; }; then
16553 ac_hi=-1 ac_mid=-1
16554 while :; do
16555 cat >conftest.$ac_ext <<_ACEOF
16556 /* confdefs.h. */
16557 _ACEOF
16558 cat confdefs.h >>conftest.$ac_ext
16559 cat >>conftest.$ac_ext <<_ACEOF
16560 /* end confdefs.h. */
16561 $ac_includes_default
16562 int
16563 main ()
16564 {
16565 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16566 test_array [0] = 0
16567
16568 ;
16569 return 0;
16570 }
16571 _ACEOF
16572 rm -f conftest.$ac_objext
16573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16574 (eval $ac_compile) 2>conftest.er1
16575 ac_status=$?
16576 grep -v '^ *+' conftest.er1 >conftest.err
16577 rm -f conftest.er1
16578 cat conftest.err >&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); } &&
16581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16583 (eval $ac_try) 2>&5
16584 ac_status=$?
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); }; } &&
16587 { ac_try='test -s conftest.$ac_objext'
16588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16589 (eval $ac_try) 2>&5
16590 ac_status=$?
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); }; }; then
16593 ac_lo=$ac_mid; break
16594 else
16595 echo "$as_me: failed program was:" >&5
16596 sed 's/^/| /' conftest.$ac_ext >&5
16597
16598 ac_hi=`expr '(' $ac_mid ')' - 1`
16599 if test $ac_mid -le $ac_hi; then
16600 ac_lo= ac_hi=
16601 break
16602 fi
16603 ac_mid=`expr 2 '*' $ac_mid`
16604 fi
16605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16606 done
16607 else
16608 echo "$as_me: failed program was:" >&5
16609 sed 's/^/| /' conftest.$ac_ext >&5
16610
16611 ac_lo= ac_hi=
16612 fi
16613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16614 fi
16615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16616 # Binary search between lo and hi bounds.
16617 while test "x$ac_lo" != "x$ac_hi"; do
16618 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16619 cat >conftest.$ac_ext <<_ACEOF
16620 /* confdefs.h. */
16621 _ACEOF
16622 cat confdefs.h >>conftest.$ac_ext
16623 cat >>conftest.$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16625 $ac_includes_default
16626 int
16627 main ()
16628 {
16629 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16630 test_array [0] = 0
16631
16632 ;
16633 return 0;
16634 }
16635 _ACEOF
16636 rm -f conftest.$ac_objext
16637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16638 (eval $ac_compile) 2>conftest.er1
16639 ac_status=$?
16640 grep -v '^ *+' conftest.er1 >conftest.err
16641 rm -f conftest.er1
16642 cat conftest.err >&5
16643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16644 (exit $ac_status); } &&
16645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16647 (eval $ac_try) 2>&5
16648 ac_status=$?
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); }; } &&
16651 { ac_try='test -s conftest.$ac_objext'
16652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16653 (eval $ac_try) 2>&5
16654 ac_status=$?
16655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656 (exit $ac_status); }; }; then
16657 ac_hi=$ac_mid
16658 else
16659 echo "$as_me: failed program was:" >&5
16660 sed 's/^/| /' conftest.$ac_ext >&5
16661
16662 ac_lo=`expr '(' $ac_mid ')' + 1`
16663 fi
16664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16665 done
16666 case $ac_lo in
16667 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16668 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16669 See \`config.log' for more details." >&5
16670 echo "$as_me: error: cannot compute sizeof (void *), 77
16671 See \`config.log' for more details." >&2;}
16672 { (exit 1); exit 1; }; } ;;
16673 esac
16674 else
16675 if test "$cross_compiling" = yes; then
16676 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16677 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16678 { (exit 1); exit 1; }; }
16679 else
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 long longval () { return (long) (sizeof (void *)); }
16688 unsigned long ulongval () { return (long) (sizeof (void *)); }
16689 #include <stdio.h>
16690 #include <stdlib.h>
16691 int
16692 main ()
16693 {
16694
16695 FILE *f = fopen ("conftest.val", "w");
16696 if (! f)
16697 exit (1);
16698 if (((long) (sizeof (void *))) < 0)
16699 {
16700 long i = longval ();
16701 if (i != ((long) (sizeof (void *))))
16702 exit (1);
16703 fprintf (f, "%ld\n", i);
16704 }
16705 else
16706 {
16707 unsigned long i = ulongval ();
16708 if (i != ((long) (sizeof (void *))))
16709 exit (1);
16710 fprintf (f, "%lu\n", i);
16711 }
16712 exit (ferror (f) || fclose (f) != 0);
16713
16714 ;
16715 return 0;
16716 }
16717 _ACEOF
16718 rm -f conftest$ac_exeext
16719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16720 (eval $ac_link) 2>&5
16721 ac_status=$?
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16725 (eval $ac_try) 2>&5
16726 ac_status=$?
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); }; }; then
16729 ac_cv_sizeof_void_p=`cat conftest.val`
16730 else
16731 echo "$as_me: program exited with status $ac_status" >&5
16732 echo "$as_me: failed program was:" >&5
16733 sed 's/^/| /' conftest.$ac_ext >&5
16734
16735 ( exit $ac_status )
16736 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16737 See \`config.log' for more details." >&5
16738 echo "$as_me: error: cannot compute sizeof (void *), 77
16739 See \`config.log' for more details." >&2;}
16740 { (exit 1); exit 1; }; }
16741 fi
16742 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16743 fi
16744 fi
16745 rm -f conftest.val
16746 else
16747 ac_cv_sizeof_void_p=0
16748 fi
16749 fi
16750 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16751 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16752 cat >>confdefs.h <<_ACEOF
16753 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16754 _ACEOF
16755
16756
16757 echo "$as_me:$LINENO: checking for int" >&5
16758 echo $ECHO_N "checking for int... $ECHO_C" >&6
16759 if test "${ac_cv_type_int+set}" = set; then
16760 echo $ECHO_N "(cached) $ECHO_C" >&6
16761 else
16762 cat >conftest.$ac_ext <<_ACEOF
16763 /* confdefs.h. */
16764 _ACEOF
16765 cat confdefs.h >>conftest.$ac_ext
16766 cat >>conftest.$ac_ext <<_ACEOF
16767 /* end confdefs.h. */
16768 $ac_includes_default
16769 int
16770 main ()
16771 {
16772 if ((int *) 0)
16773 return 0;
16774 if (sizeof (int))
16775 return 0;
16776 ;
16777 return 0;
16778 }
16779 _ACEOF
16780 rm -f conftest.$ac_objext
16781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16782 (eval $ac_compile) 2>conftest.er1
16783 ac_status=$?
16784 grep -v '^ *+' conftest.er1 >conftest.err
16785 rm -f conftest.er1
16786 cat conftest.err >&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); } &&
16789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16791 (eval $ac_try) 2>&5
16792 ac_status=$?
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); }; } &&
16795 { ac_try='test -s conftest.$ac_objext'
16796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16797 (eval $ac_try) 2>&5
16798 ac_status=$?
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); }; }; then
16801 ac_cv_type_int=yes
16802 else
16803 echo "$as_me: failed program was:" >&5
16804 sed 's/^/| /' conftest.$ac_ext >&5
16805
16806 ac_cv_type_int=no
16807 fi
16808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16809 fi
16810 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16811 echo "${ECHO_T}$ac_cv_type_int" >&6
16812
16813 echo "$as_me:$LINENO: checking size of int" >&5
16814 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16815 if test "${ac_cv_sizeof_int+set}" = set; then
16816 echo $ECHO_N "(cached) $ECHO_C" >&6
16817 else
16818 if test "$ac_cv_type_int" = yes; then
16819 # The cast to unsigned long works around a bug in the HP C Compiler
16820 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16821 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16822 # This bug is HP SR number 8606223364.
16823 if test "$cross_compiling" = yes; then
16824 # Depending upon the size, compute the lo and hi bounds.
16825 cat >conftest.$ac_ext <<_ACEOF
16826 /* confdefs.h. */
16827 _ACEOF
16828 cat confdefs.h >>conftest.$ac_ext
16829 cat >>conftest.$ac_ext <<_ACEOF
16830 /* end confdefs.h. */
16831 $ac_includes_default
16832 int
16833 main ()
16834 {
16835 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16836 test_array [0] = 0
16837
16838 ;
16839 return 0;
16840 }
16841 _ACEOF
16842 rm -f conftest.$ac_objext
16843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16844 (eval $ac_compile) 2>conftest.er1
16845 ac_status=$?
16846 grep -v '^ *+' conftest.er1 >conftest.err
16847 rm -f conftest.er1
16848 cat conftest.err >&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); } &&
16851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16853 (eval $ac_try) 2>&5
16854 ac_status=$?
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); }; } &&
16857 { ac_try='test -s conftest.$ac_objext'
16858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16859 (eval $ac_try) 2>&5
16860 ac_status=$?
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); }; }; then
16863 ac_lo=0 ac_mid=0
16864 while :; do
16865 cat >conftest.$ac_ext <<_ACEOF
16866 /* confdefs.h. */
16867 _ACEOF
16868 cat confdefs.h >>conftest.$ac_ext
16869 cat >>conftest.$ac_ext <<_ACEOF
16870 /* end confdefs.h. */
16871 $ac_includes_default
16872 int
16873 main ()
16874 {
16875 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16876 test_array [0] = 0
16877
16878 ;
16879 return 0;
16880 }
16881 _ACEOF
16882 rm -f conftest.$ac_objext
16883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16884 (eval $ac_compile) 2>conftest.er1
16885 ac_status=$?
16886 grep -v '^ *+' conftest.er1 >conftest.err
16887 rm -f conftest.er1
16888 cat conftest.err >&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); } &&
16891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16894 ac_status=$?
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); }; } &&
16897 { ac_try='test -s conftest.$ac_objext'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16900 ac_status=$?
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; }; then
16903 ac_hi=$ac_mid; break
16904 else
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.$ac_ext >&5
16907
16908 ac_lo=`expr $ac_mid + 1`
16909 if test $ac_lo -le $ac_mid; then
16910 ac_lo= ac_hi=
16911 break
16912 fi
16913 ac_mid=`expr 2 '*' $ac_mid + 1`
16914 fi
16915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16916 done
16917 else
16918 echo "$as_me: failed program was:" >&5
16919 sed 's/^/| /' conftest.$ac_ext >&5
16920
16921 cat >conftest.$ac_ext <<_ACEOF
16922 /* confdefs.h. */
16923 _ACEOF
16924 cat confdefs.h >>conftest.$ac_ext
16925 cat >>conftest.$ac_ext <<_ACEOF
16926 /* end confdefs.h. */
16927 $ac_includes_default
16928 int
16929 main ()
16930 {
16931 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16932 test_array [0] = 0
16933
16934 ;
16935 return 0;
16936 }
16937 _ACEOF
16938 rm -f conftest.$ac_objext
16939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16940 (eval $ac_compile) 2>conftest.er1
16941 ac_status=$?
16942 grep -v '^ *+' conftest.er1 >conftest.err
16943 rm -f conftest.er1
16944 cat conftest.err >&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } &&
16947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16949 (eval $ac_try) 2>&5
16950 ac_status=$?
16951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952 (exit $ac_status); }; } &&
16953 { ac_try='test -s conftest.$ac_objext'
16954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16955 (eval $ac_try) 2>&5
16956 ac_status=$?
16957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958 (exit $ac_status); }; }; then
16959 ac_hi=-1 ac_mid=-1
16960 while :; do
16961 cat >conftest.$ac_ext <<_ACEOF
16962 /* confdefs.h. */
16963 _ACEOF
16964 cat confdefs.h >>conftest.$ac_ext
16965 cat >>conftest.$ac_ext <<_ACEOF
16966 /* end confdefs.h. */
16967 $ac_includes_default
16968 int
16969 main ()
16970 {
16971 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16972 test_array [0] = 0
16973
16974 ;
16975 return 0;
16976 }
16977 _ACEOF
16978 rm -f conftest.$ac_objext
16979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16980 (eval $ac_compile) 2>conftest.er1
16981 ac_status=$?
16982 grep -v '^ *+' conftest.er1 >conftest.err
16983 rm -f conftest.er1
16984 cat conftest.err >&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); } &&
16987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16990 ac_status=$?
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; } &&
16993 { ac_try='test -s conftest.$ac_objext'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16996 ac_status=$?
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; }; then
16999 ac_lo=$ac_mid; break
17000 else
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.$ac_ext >&5
17003
17004 ac_hi=`expr '(' $ac_mid ')' - 1`
17005 if test $ac_mid -le $ac_hi; then
17006 ac_lo= ac_hi=
17007 break
17008 fi
17009 ac_mid=`expr 2 '*' $ac_mid`
17010 fi
17011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17012 done
17013 else
17014 echo "$as_me: failed program was:" >&5
17015 sed 's/^/| /' conftest.$ac_ext >&5
17016
17017 ac_lo= ac_hi=
17018 fi
17019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17020 fi
17021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17022 # Binary search between lo and hi bounds.
17023 while test "x$ac_lo" != "x$ac_hi"; do
17024 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17025 cat >conftest.$ac_ext <<_ACEOF
17026 /* confdefs.h. */
17027 _ACEOF
17028 cat confdefs.h >>conftest.$ac_ext
17029 cat >>conftest.$ac_ext <<_ACEOF
17030 /* end confdefs.h. */
17031 $ac_includes_default
17032 int
17033 main ()
17034 {
17035 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17036 test_array [0] = 0
17037
17038 ;
17039 return 0;
17040 }
17041 _ACEOF
17042 rm -f conftest.$ac_objext
17043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17044 (eval $ac_compile) 2>conftest.er1
17045 ac_status=$?
17046 grep -v '^ *+' conftest.er1 >conftest.err
17047 rm -f conftest.er1
17048 cat conftest.err >&5
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); } &&
17051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17053 (eval $ac_try) 2>&5
17054 ac_status=$?
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); }; } &&
17057 { ac_try='test -s conftest.$ac_objext'
17058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17059 (eval $ac_try) 2>&5
17060 ac_status=$?
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); }; }; then
17063 ac_hi=$ac_mid
17064 else
17065 echo "$as_me: failed program was:" >&5
17066 sed 's/^/| /' conftest.$ac_ext >&5
17067
17068 ac_lo=`expr '(' $ac_mid ')' + 1`
17069 fi
17070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17071 done
17072 case $ac_lo in
17073 ?*) ac_cv_sizeof_int=$ac_lo;;
17074 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17075 See \`config.log' for more details." >&5
17076 echo "$as_me: error: cannot compute sizeof (int), 77
17077 See \`config.log' for more details." >&2;}
17078 { (exit 1); exit 1; }; } ;;
17079 esac
17080 else
17081 if test "$cross_compiling" = yes; then
17082 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17083 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17084 { (exit 1); exit 1; }; }
17085 else
17086 cat >conftest.$ac_ext <<_ACEOF
17087 /* confdefs.h. */
17088 _ACEOF
17089 cat confdefs.h >>conftest.$ac_ext
17090 cat >>conftest.$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092 $ac_includes_default
17093 long longval () { return (long) (sizeof (int)); }
17094 unsigned long ulongval () { return (long) (sizeof (int)); }
17095 #include <stdio.h>
17096 #include <stdlib.h>
17097 int
17098 main ()
17099 {
17100
17101 FILE *f = fopen ("conftest.val", "w");
17102 if (! f)
17103 exit (1);
17104 if (((long) (sizeof (int))) < 0)
17105 {
17106 long i = longval ();
17107 if (i != ((long) (sizeof (int))))
17108 exit (1);
17109 fprintf (f, "%ld\n", i);
17110 }
17111 else
17112 {
17113 unsigned long i = ulongval ();
17114 if (i != ((long) (sizeof (int))))
17115 exit (1);
17116 fprintf (f, "%lu\n", i);
17117 }
17118 exit (ferror (f) || fclose (f) != 0);
17119
17120 ;
17121 return 0;
17122 }
17123 _ACEOF
17124 rm -f conftest$ac_exeext
17125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17126 (eval $ac_link) 2>&5
17127 ac_status=$?
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17131 (eval $ac_try) 2>&5
17132 ac_status=$?
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); }; }; then
17135 ac_cv_sizeof_int=`cat conftest.val`
17136 else
17137 echo "$as_me: program exited with status $ac_status" >&5
17138 echo "$as_me: failed program was:" >&5
17139 sed 's/^/| /' conftest.$ac_ext >&5
17140
17141 ( exit $ac_status )
17142 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17143 See \`config.log' for more details." >&5
17144 echo "$as_me: error: cannot compute sizeof (int), 77
17145 See \`config.log' for more details." >&2;}
17146 { (exit 1); exit 1; }; }
17147 fi
17148 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17149 fi
17150 fi
17151 rm -f conftest.val
17152 else
17153 ac_cv_sizeof_int=0
17154 fi
17155 fi
17156 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17157 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17158 cat >>confdefs.h <<_ACEOF
17159 #define SIZEOF_INT $ac_cv_sizeof_int
17160 _ACEOF
17161
17162
17163 echo "$as_me:$LINENO: checking for long" >&5
17164 echo $ECHO_N "checking for long... $ECHO_C" >&6
17165 if test "${ac_cv_type_long+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17167 else
17168 cat >conftest.$ac_ext <<_ACEOF
17169 /* confdefs.h. */
17170 _ACEOF
17171 cat confdefs.h >>conftest.$ac_ext
17172 cat >>conftest.$ac_ext <<_ACEOF
17173 /* end confdefs.h. */
17174 $ac_includes_default
17175 int
17176 main ()
17177 {
17178 if ((long *) 0)
17179 return 0;
17180 if (sizeof (long))
17181 return 0;
17182 ;
17183 return 0;
17184 }
17185 _ACEOF
17186 rm -f conftest.$ac_objext
17187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17188 (eval $ac_compile) 2>conftest.er1
17189 ac_status=$?
17190 grep -v '^ *+' conftest.er1 >conftest.err
17191 rm -f conftest.er1
17192 cat conftest.err >&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); } &&
17195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17197 (eval $ac_try) 2>&5
17198 ac_status=$?
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); }; } &&
17201 { ac_try='test -s conftest.$ac_objext'
17202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17203 (eval $ac_try) 2>&5
17204 ac_status=$?
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; }; then
17207 ac_cv_type_long=yes
17208 else
17209 echo "$as_me: failed program was:" >&5
17210 sed 's/^/| /' conftest.$ac_ext >&5
17211
17212 ac_cv_type_long=no
17213 fi
17214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17215 fi
17216 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17217 echo "${ECHO_T}$ac_cv_type_long" >&6
17218
17219 echo "$as_me:$LINENO: checking size of long" >&5
17220 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17221 if test "${ac_cv_sizeof_long+set}" = set; then
17222 echo $ECHO_N "(cached) $ECHO_C" >&6
17223 else
17224 if test "$ac_cv_type_long" = yes; then
17225 # The cast to unsigned long works around a bug in the HP C Compiler
17226 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17227 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17228 # This bug is HP SR number 8606223364.
17229 if test "$cross_compiling" = yes; then
17230 # Depending upon the size, compute the lo and hi bounds.
17231 cat >conftest.$ac_ext <<_ACEOF
17232 /* confdefs.h. */
17233 _ACEOF
17234 cat confdefs.h >>conftest.$ac_ext
17235 cat >>conftest.$ac_ext <<_ACEOF
17236 /* end confdefs.h. */
17237 $ac_includes_default
17238 int
17239 main ()
17240 {
17241 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17242 test_array [0] = 0
17243
17244 ;
17245 return 0;
17246 }
17247 _ACEOF
17248 rm -f conftest.$ac_objext
17249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250 (eval $ac_compile) 2>conftest.er1
17251 ac_status=$?
17252 grep -v '^ *+' conftest.er1 >conftest.err
17253 rm -f conftest.er1
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } &&
17257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17260 ac_status=$?
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; } &&
17263 { ac_try='test -s conftest.$ac_objext'
17264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17265 (eval $ac_try) 2>&5
17266 ac_status=$?
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); }; }; then
17269 ac_lo=0 ac_mid=0
17270 while :; do
17271 cat >conftest.$ac_ext <<_ACEOF
17272 /* confdefs.h. */
17273 _ACEOF
17274 cat confdefs.h >>conftest.$ac_ext
17275 cat >>conftest.$ac_ext <<_ACEOF
17276 /* end confdefs.h. */
17277 $ac_includes_default
17278 int
17279 main ()
17280 {
17281 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17282 test_array [0] = 0
17283
17284 ;
17285 return 0;
17286 }
17287 _ACEOF
17288 rm -f conftest.$ac_objext
17289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17290 (eval $ac_compile) 2>conftest.er1
17291 ac_status=$?
17292 grep -v '^ *+' conftest.er1 >conftest.err
17293 rm -f conftest.er1
17294 cat conftest.err >&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } &&
17297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299 (eval $ac_try) 2>&5
17300 ac_status=$?
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }; } &&
17303 { ac_try='test -s conftest.$ac_objext'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17306 ac_status=$?
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; }; then
17309 ac_hi=$ac_mid; break
17310 else
17311 echo "$as_me: failed program was:" >&5
17312 sed 's/^/| /' conftest.$ac_ext >&5
17313
17314 ac_lo=`expr $ac_mid + 1`
17315 if test $ac_lo -le $ac_mid; then
17316 ac_lo= ac_hi=
17317 break
17318 fi
17319 ac_mid=`expr 2 '*' $ac_mid + 1`
17320 fi
17321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17322 done
17323 else
17324 echo "$as_me: failed program was:" >&5
17325 sed 's/^/| /' conftest.$ac_ext >&5
17326
17327 cat >conftest.$ac_ext <<_ACEOF
17328 /* confdefs.h. */
17329 _ACEOF
17330 cat confdefs.h >>conftest.$ac_ext
17331 cat >>conftest.$ac_ext <<_ACEOF
17332 /* end confdefs.h. */
17333 $ac_includes_default
17334 int
17335 main ()
17336 {
17337 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17338 test_array [0] = 0
17339
17340 ;
17341 return 0;
17342 }
17343 _ACEOF
17344 rm -f conftest.$ac_objext
17345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17346 (eval $ac_compile) 2>conftest.er1
17347 ac_status=$?
17348 grep -v '^ *+' conftest.er1 >conftest.err
17349 rm -f conftest.er1
17350 cat conftest.err >&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); } &&
17353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17355 (eval $ac_try) 2>&5
17356 ac_status=$?
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); }; } &&
17359 { ac_try='test -s conftest.$ac_objext'
17360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17361 (eval $ac_try) 2>&5
17362 ac_status=$?
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); }; }; then
17365 ac_hi=-1 ac_mid=-1
17366 while :; do
17367 cat >conftest.$ac_ext <<_ACEOF
17368 /* confdefs.h. */
17369 _ACEOF
17370 cat confdefs.h >>conftest.$ac_ext
17371 cat >>conftest.$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17373 $ac_includes_default
17374 int
17375 main ()
17376 {
17377 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17378 test_array [0] = 0
17379
17380 ;
17381 return 0;
17382 }
17383 _ACEOF
17384 rm -f conftest.$ac_objext
17385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17386 (eval $ac_compile) 2>conftest.er1
17387 ac_status=$?
17388 grep -v '^ *+' conftest.er1 >conftest.err
17389 rm -f conftest.er1
17390 cat conftest.err >&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); } &&
17393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17395 (eval $ac_try) 2>&5
17396 ac_status=$?
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }; } &&
17399 { ac_try='test -s conftest.$ac_objext'
17400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17401 (eval $ac_try) 2>&5
17402 ac_status=$?
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); }; }; then
17405 ac_lo=$ac_mid; break
17406 else
17407 echo "$as_me: failed program was:" >&5
17408 sed 's/^/| /' conftest.$ac_ext >&5
17409
17410 ac_hi=`expr '(' $ac_mid ')' - 1`
17411 if test $ac_mid -le $ac_hi; then
17412 ac_lo= ac_hi=
17413 break
17414 fi
17415 ac_mid=`expr 2 '*' $ac_mid`
17416 fi
17417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17418 done
17419 else
17420 echo "$as_me: failed program was:" >&5
17421 sed 's/^/| /' conftest.$ac_ext >&5
17422
17423 ac_lo= ac_hi=
17424 fi
17425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17426 fi
17427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17428 # Binary search between lo and hi bounds.
17429 while test "x$ac_lo" != "x$ac_hi"; do
17430 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17431 cat >conftest.$ac_ext <<_ACEOF
17432 /* confdefs.h. */
17433 _ACEOF
17434 cat confdefs.h >>conftest.$ac_ext
17435 cat >>conftest.$ac_ext <<_ACEOF
17436 /* end confdefs.h. */
17437 $ac_includes_default
17438 int
17439 main ()
17440 {
17441 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17442 test_array [0] = 0
17443
17444 ;
17445 return 0;
17446 }
17447 _ACEOF
17448 rm -f conftest.$ac_objext
17449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17450 (eval $ac_compile) 2>conftest.er1
17451 ac_status=$?
17452 grep -v '^ *+' conftest.er1 >conftest.err
17453 rm -f conftest.er1
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } &&
17457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17460 ac_status=$?
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; } &&
17463 { ac_try='test -s conftest.$ac_objext'
17464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465 (eval $ac_try) 2>&5
17466 ac_status=$?
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; }; then
17469 ac_hi=$ac_mid
17470 else
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.$ac_ext >&5
17473
17474 ac_lo=`expr '(' $ac_mid ')' + 1`
17475 fi
17476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17477 done
17478 case $ac_lo in
17479 ?*) ac_cv_sizeof_long=$ac_lo;;
17480 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17481 See \`config.log' for more details." >&5
17482 echo "$as_me: error: cannot compute sizeof (long), 77
17483 See \`config.log' for more details." >&2;}
17484 { (exit 1); exit 1; }; } ;;
17485 esac
17486 else
17487 if test "$cross_compiling" = yes; then
17488 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17489 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17490 { (exit 1); exit 1; }; }
17491 else
17492 cat >conftest.$ac_ext <<_ACEOF
17493 /* confdefs.h. */
17494 _ACEOF
17495 cat confdefs.h >>conftest.$ac_ext
17496 cat >>conftest.$ac_ext <<_ACEOF
17497 /* end confdefs.h. */
17498 $ac_includes_default
17499 long longval () { return (long) (sizeof (long)); }
17500 unsigned long ulongval () { return (long) (sizeof (long)); }
17501 #include <stdio.h>
17502 #include <stdlib.h>
17503 int
17504 main ()
17505 {
17506
17507 FILE *f = fopen ("conftest.val", "w");
17508 if (! f)
17509 exit (1);
17510 if (((long) (sizeof (long))) < 0)
17511 {
17512 long i = longval ();
17513 if (i != ((long) (sizeof (long))))
17514 exit (1);
17515 fprintf (f, "%ld\n", i);
17516 }
17517 else
17518 {
17519 unsigned long i = ulongval ();
17520 if (i != ((long) (sizeof (long))))
17521 exit (1);
17522 fprintf (f, "%lu\n", i);
17523 }
17524 exit (ferror (f) || fclose (f) != 0);
17525
17526 ;
17527 return 0;
17528 }
17529 _ACEOF
17530 rm -f conftest$ac_exeext
17531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17532 (eval $ac_link) 2>&5
17533 ac_status=$?
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
17541 ac_cv_sizeof_long=`cat conftest.val`
17542 else
17543 echo "$as_me: program exited with status $ac_status" >&5
17544 echo "$as_me: failed program was:" >&5
17545 sed 's/^/| /' conftest.$ac_ext >&5
17546
17547 ( exit $ac_status )
17548 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17549 See \`config.log' for more details." >&5
17550 echo "$as_me: error: cannot compute sizeof (long), 77
17551 See \`config.log' for more details." >&2;}
17552 { (exit 1); exit 1; }; }
17553 fi
17554 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17555 fi
17556 fi
17557 rm -f conftest.val
17558 else
17559 ac_cv_sizeof_long=0
17560 fi
17561 fi
17562 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17563 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17564 cat >>confdefs.h <<_ACEOF
17565 #define SIZEOF_LONG $ac_cv_sizeof_long
17566 _ACEOF
17567
17568
17569 echo "$as_me:$LINENO: checking for size_t" >&5
17570 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17571 if test "${ac_cv_type_size_t+set}" = set; then
17572 echo $ECHO_N "(cached) $ECHO_C" >&6
17573 else
17574 cat >conftest.$ac_ext <<_ACEOF
17575 /* confdefs.h. */
17576 _ACEOF
17577 cat confdefs.h >>conftest.$ac_ext
17578 cat >>conftest.$ac_ext <<_ACEOF
17579 /* end confdefs.h. */
17580 $ac_includes_default
17581 int
17582 main ()
17583 {
17584 if ((size_t *) 0)
17585 return 0;
17586 if (sizeof (size_t))
17587 return 0;
17588 ;
17589 return 0;
17590 }
17591 _ACEOF
17592 rm -f conftest.$ac_objext
17593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17594 (eval $ac_compile) 2>conftest.er1
17595 ac_status=$?
17596 grep -v '^ *+' conftest.er1 >conftest.err
17597 rm -f conftest.er1
17598 cat conftest.err >&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); } &&
17601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17603 (eval $ac_try) 2>&5
17604 ac_status=$?
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); }; } &&
17607 { ac_try='test -s conftest.$ac_objext'
17608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17609 (eval $ac_try) 2>&5
17610 ac_status=$?
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); }; }; then
17613 ac_cv_type_size_t=yes
17614 else
17615 echo "$as_me: failed program was:" >&5
17616 sed 's/^/| /' conftest.$ac_ext >&5
17617
17618 ac_cv_type_size_t=no
17619 fi
17620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17621 fi
17622 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17623 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17624
17625 echo "$as_me:$LINENO: checking size of size_t" >&5
17626 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17627 if test "${ac_cv_sizeof_size_t+set}" = set; then
17628 echo $ECHO_N "(cached) $ECHO_C" >&6
17629 else
17630 if test "$ac_cv_type_size_t" = yes; then
17631 # The cast to unsigned long works around a bug in the HP C Compiler
17632 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17633 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17634 # This bug is HP SR number 8606223364.
17635 if test "$cross_compiling" = yes; then
17636 # Depending upon the size, compute the lo and hi bounds.
17637 cat >conftest.$ac_ext <<_ACEOF
17638 /* confdefs.h. */
17639 _ACEOF
17640 cat confdefs.h >>conftest.$ac_ext
17641 cat >>conftest.$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17643 $ac_includes_default
17644 int
17645 main ()
17646 {
17647 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17648 test_array [0] = 0
17649
17650 ;
17651 return 0;
17652 }
17653 _ACEOF
17654 rm -f conftest.$ac_objext
17655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17656 (eval $ac_compile) 2>conftest.er1
17657 ac_status=$?
17658 grep -v '^ *+' conftest.er1 >conftest.err
17659 rm -f conftest.er1
17660 cat conftest.err >&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); } &&
17663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17666 ac_status=$?
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; } &&
17669 { ac_try='test -s conftest.$ac_objext'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17672 ac_status=$?
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; }; then
17675 ac_lo=0 ac_mid=0
17676 while :; do
17677 cat >conftest.$ac_ext <<_ACEOF
17678 /* confdefs.h. */
17679 _ACEOF
17680 cat confdefs.h >>conftest.$ac_ext
17681 cat >>conftest.$ac_ext <<_ACEOF
17682 /* end confdefs.h. */
17683 $ac_includes_default
17684 int
17685 main ()
17686 {
17687 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17688 test_array [0] = 0
17689
17690 ;
17691 return 0;
17692 }
17693 _ACEOF
17694 rm -f conftest.$ac_objext
17695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17696 (eval $ac_compile) 2>conftest.er1
17697 ac_status=$?
17698 grep -v '^ *+' conftest.er1 >conftest.err
17699 rm -f conftest.er1
17700 cat conftest.err >&5
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); } &&
17703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17705 (eval $ac_try) 2>&5
17706 ac_status=$?
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); }; } &&
17709 { ac_try='test -s conftest.$ac_objext'
17710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17711 (eval $ac_try) 2>&5
17712 ac_status=$?
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; }; then
17715 ac_hi=$ac_mid; break
17716 else
17717 echo "$as_me: failed program was:" >&5
17718 sed 's/^/| /' conftest.$ac_ext >&5
17719
17720 ac_lo=`expr $ac_mid + 1`
17721 if test $ac_lo -le $ac_mid; then
17722 ac_lo= ac_hi=
17723 break
17724 fi
17725 ac_mid=`expr 2 '*' $ac_mid + 1`
17726 fi
17727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17728 done
17729 else
17730 echo "$as_me: failed program was:" >&5
17731 sed 's/^/| /' conftest.$ac_ext >&5
17732
17733 cat >conftest.$ac_ext <<_ACEOF
17734 /* confdefs.h. */
17735 _ACEOF
17736 cat confdefs.h >>conftest.$ac_ext
17737 cat >>conftest.$ac_ext <<_ACEOF
17738 /* end confdefs.h. */
17739 $ac_includes_default
17740 int
17741 main ()
17742 {
17743 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17744 test_array [0] = 0
17745
17746 ;
17747 return 0;
17748 }
17749 _ACEOF
17750 rm -f conftest.$ac_objext
17751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17752 (eval $ac_compile) 2>conftest.er1
17753 ac_status=$?
17754 grep -v '^ *+' conftest.er1 >conftest.err
17755 rm -f conftest.er1
17756 cat conftest.err >&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); } &&
17759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17761 (eval $ac_try) 2>&5
17762 ac_status=$?
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); }; } &&
17765 { ac_try='test -s conftest.$ac_objext'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17768 ac_status=$?
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; }; then
17771 ac_hi=-1 ac_mid=-1
17772 while :; do
17773 cat >conftest.$ac_ext <<_ACEOF
17774 /* confdefs.h. */
17775 _ACEOF
17776 cat confdefs.h >>conftest.$ac_ext
17777 cat >>conftest.$ac_ext <<_ACEOF
17778 /* end confdefs.h. */
17779 $ac_includes_default
17780 int
17781 main ()
17782 {
17783 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17784 test_array [0] = 0
17785
17786 ;
17787 return 0;
17788 }
17789 _ACEOF
17790 rm -f conftest.$ac_objext
17791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17792 (eval $ac_compile) 2>conftest.er1
17793 ac_status=$?
17794 grep -v '^ *+' conftest.er1 >conftest.err
17795 rm -f conftest.er1
17796 cat conftest.err >&5
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); } &&
17799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17801 (eval $ac_try) 2>&5
17802 ac_status=$?
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); }; } &&
17805 { ac_try='test -s conftest.$ac_objext'
17806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17807 (eval $ac_try) 2>&5
17808 ac_status=$?
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); }; }; then
17811 ac_lo=$ac_mid; break
17812 else
17813 echo "$as_me: failed program was:" >&5
17814 sed 's/^/| /' conftest.$ac_ext >&5
17815
17816 ac_hi=`expr '(' $ac_mid ')' - 1`
17817 if test $ac_mid -le $ac_hi; then
17818 ac_lo= ac_hi=
17819 break
17820 fi
17821 ac_mid=`expr 2 '*' $ac_mid`
17822 fi
17823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17824 done
17825 else
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.$ac_ext >&5
17828
17829 ac_lo= ac_hi=
17830 fi
17831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17832 fi
17833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17834 # Binary search between lo and hi bounds.
17835 while test "x$ac_lo" != "x$ac_hi"; do
17836 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17837 cat >conftest.$ac_ext <<_ACEOF
17838 /* confdefs.h. */
17839 _ACEOF
17840 cat confdefs.h >>conftest.$ac_ext
17841 cat >>conftest.$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17843 $ac_includes_default
17844 int
17845 main ()
17846 {
17847 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17848 test_array [0] = 0
17849
17850 ;
17851 return 0;
17852 }
17853 _ACEOF
17854 rm -f conftest.$ac_objext
17855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17856 (eval $ac_compile) 2>conftest.er1
17857 ac_status=$?
17858 grep -v '^ *+' conftest.er1 >conftest.err
17859 rm -f conftest.er1
17860 cat conftest.err >&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); } &&
17863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17865 (eval $ac_try) 2>&5
17866 ac_status=$?
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); }; } &&
17869 { ac_try='test -s conftest.$ac_objext'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17872 ac_status=$?
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; }; then
17875 ac_hi=$ac_mid
17876 else
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.$ac_ext >&5
17879
17880 ac_lo=`expr '(' $ac_mid ')' + 1`
17881 fi
17882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17883 done
17884 case $ac_lo in
17885 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17886 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17887 See \`config.log' for more details." >&5
17888 echo "$as_me: error: cannot compute sizeof (size_t), 77
17889 See \`config.log' for more details." >&2;}
17890 { (exit 1); exit 1; }; } ;;
17891 esac
17892 else
17893 if test "$cross_compiling" = yes; then
17894 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17895 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17896 { (exit 1); exit 1; }; }
17897 else
17898 cat >conftest.$ac_ext <<_ACEOF
17899 /* confdefs.h. */
17900 _ACEOF
17901 cat confdefs.h >>conftest.$ac_ext
17902 cat >>conftest.$ac_ext <<_ACEOF
17903 /* end confdefs.h. */
17904 $ac_includes_default
17905 long longval () { return (long) (sizeof (size_t)); }
17906 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17907 #include <stdio.h>
17908 #include <stdlib.h>
17909 int
17910 main ()
17911 {
17912
17913 FILE *f = fopen ("conftest.val", "w");
17914 if (! f)
17915 exit (1);
17916 if (((long) (sizeof (size_t))) < 0)
17917 {
17918 long i = longval ();
17919 if (i != ((long) (sizeof (size_t))))
17920 exit (1);
17921 fprintf (f, "%ld\n", i);
17922 }
17923 else
17924 {
17925 unsigned long i = ulongval ();
17926 if (i != ((long) (sizeof (size_t))))
17927 exit (1);
17928 fprintf (f, "%lu\n", i);
17929 }
17930 exit (ferror (f) || fclose (f) != 0);
17931
17932 ;
17933 return 0;
17934 }
17935 _ACEOF
17936 rm -f conftest$ac_exeext
17937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17938 (eval $ac_link) 2>&5
17939 ac_status=$?
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17943 (eval $ac_try) 2>&5
17944 ac_status=$?
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); }; }; then
17947 ac_cv_sizeof_size_t=`cat conftest.val`
17948 else
17949 echo "$as_me: program exited with status $ac_status" >&5
17950 echo "$as_me: failed program was:" >&5
17951 sed 's/^/| /' conftest.$ac_ext >&5
17952
17953 ( exit $ac_status )
17954 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17955 See \`config.log' for more details." >&5
17956 echo "$as_me: error: cannot compute sizeof (size_t), 77
17957 See \`config.log' for more details." >&2;}
17958 { (exit 1); exit 1; }; }
17959 fi
17960 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17961 fi
17962 fi
17963 rm -f conftest.val
17964 else
17965 ac_cv_sizeof_size_t=0
17966 fi
17967 fi
17968 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17969 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17970 cat >>confdefs.h <<_ACEOF
17971 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17972 _ACEOF
17973
17974
17975
17976 case "${host}" in
17977 arm-*-linux* )
17978 echo "$as_me:$LINENO: checking for long long" >&5
17979 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17980 if test "${ac_cv_type_long_long+set}" = set; then
17981 echo $ECHO_N "(cached) $ECHO_C" >&6
17982 else
17983 cat >conftest.$ac_ext <<_ACEOF
17984 /* confdefs.h. */
17985 _ACEOF
17986 cat confdefs.h >>conftest.$ac_ext
17987 cat >>conftest.$ac_ext <<_ACEOF
17988 /* end confdefs.h. */
17989 $ac_includes_default
17990 int
17991 main ()
17992 {
17993 if ((long long *) 0)
17994 return 0;
17995 if (sizeof (long long))
17996 return 0;
17997 ;
17998 return 0;
17999 }
18000 _ACEOF
18001 rm -f conftest.$ac_objext
18002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18003 (eval $ac_compile) 2>conftest.er1
18004 ac_status=$?
18005 grep -v '^ *+' conftest.er1 >conftest.err
18006 rm -f conftest.er1
18007 cat conftest.err >&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); } &&
18010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18012 (eval $ac_try) 2>&5
18013 ac_status=$?
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); }; } &&
18016 { ac_try='test -s conftest.$ac_objext'
18017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018 (eval $ac_try) 2>&5
18019 ac_status=$?
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; }; then
18022 ac_cv_type_long_long=yes
18023 else
18024 echo "$as_me: failed program was:" >&5
18025 sed 's/^/| /' conftest.$ac_ext >&5
18026
18027 ac_cv_type_long_long=no
18028 fi
18029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18030 fi
18031 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18032 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18033
18034 echo "$as_me:$LINENO: checking size of long long" >&5
18035 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18036 if test "${ac_cv_sizeof_long_long+set}" = set; then
18037 echo $ECHO_N "(cached) $ECHO_C" >&6
18038 else
18039 if test "$ac_cv_type_long_long" = yes; then
18040 # The cast to unsigned long works around a bug in the HP C Compiler
18041 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18042 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18043 # This bug is HP SR number 8606223364.
18044 if test "$cross_compiling" = yes; then
18045 # Depending upon the size, compute the lo and hi bounds.
18046 cat >conftest.$ac_ext <<_ACEOF
18047 /* confdefs.h. */
18048 _ACEOF
18049 cat confdefs.h >>conftest.$ac_ext
18050 cat >>conftest.$ac_ext <<_ACEOF
18051 /* end confdefs.h. */
18052 $ac_includes_default
18053 int
18054 main ()
18055 {
18056 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18057 test_array [0] = 0
18058
18059 ;
18060 return 0;
18061 }
18062 _ACEOF
18063 rm -f conftest.$ac_objext
18064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18065 (eval $ac_compile) 2>conftest.er1
18066 ac_status=$?
18067 grep -v '^ *+' conftest.er1 >conftest.err
18068 rm -f conftest.er1
18069 cat conftest.err >&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); } &&
18072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18074 (eval $ac_try) 2>&5
18075 ac_status=$?
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); }; } &&
18078 { ac_try='test -s conftest.$ac_objext'
18079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18080 (eval $ac_try) 2>&5
18081 ac_status=$?
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); }; }; then
18084 ac_lo=0 ac_mid=0
18085 while :; do
18086 cat >conftest.$ac_ext <<_ACEOF
18087 /* confdefs.h. */
18088 _ACEOF
18089 cat confdefs.h >>conftest.$ac_ext
18090 cat >>conftest.$ac_ext <<_ACEOF
18091 /* end confdefs.h. */
18092 $ac_includes_default
18093 int
18094 main ()
18095 {
18096 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18097 test_array [0] = 0
18098
18099 ;
18100 return 0;
18101 }
18102 _ACEOF
18103 rm -f conftest.$ac_objext
18104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18105 (eval $ac_compile) 2>conftest.er1
18106 ac_status=$?
18107 grep -v '^ *+' conftest.er1 >conftest.err
18108 rm -f conftest.er1
18109 cat conftest.err >&5
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); } &&
18112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18114 (eval $ac_try) 2>&5
18115 ac_status=$?
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); }; } &&
18118 { ac_try='test -s conftest.$ac_objext'
18119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18120 (eval $ac_try) 2>&5
18121 ac_status=$?
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); }; }; then
18124 ac_hi=$ac_mid; break
18125 else
18126 echo "$as_me: failed program was:" >&5
18127 sed 's/^/| /' conftest.$ac_ext >&5
18128
18129 ac_lo=`expr $ac_mid + 1`
18130 if test $ac_lo -le $ac_mid; then
18131 ac_lo= ac_hi=
18132 break
18133 fi
18134 ac_mid=`expr 2 '*' $ac_mid + 1`
18135 fi
18136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18137 done
18138 else
18139 echo "$as_me: failed program was:" >&5
18140 sed 's/^/| /' conftest.$ac_ext >&5
18141
18142 cat >conftest.$ac_ext <<_ACEOF
18143 /* confdefs.h. */
18144 _ACEOF
18145 cat confdefs.h >>conftest.$ac_ext
18146 cat >>conftest.$ac_ext <<_ACEOF
18147 /* end confdefs.h. */
18148 $ac_includes_default
18149 int
18150 main ()
18151 {
18152 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18153 test_array [0] = 0
18154
18155 ;
18156 return 0;
18157 }
18158 _ACEOF
18159 rm -f conftest.$ac_objext
18160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18161 (eval $ac_compile) 2>conftest.er1
18162 ac_status=$?
18163 grep -v '^ *+' conftest.er1 >conftest.err
18164 rm -f conftest.er1
18165 cat conftest.err >&5
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); } &&
18168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18171 ac_status=$?
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; } &&
18174 { ac_try='test -s conftest.$ac_objext'
18175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18176 (eval $ac_try) 2>&5
18177 ac_status=$?
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); }; }; then
18180 ac_hi=-1 ac_mid=-1
18181 while :; do
18182 cat >conftest.$ac_ext <<_ACEOF
18183 /* confdefs.h. */
18184 _ACEOF
18185 cat confdefs.h >>conftest.$ac_ext
18186 cat >>conftest.$ac_ext <<_ACEOF
18187 /* end confdefs.h. */
18188 $ac_includes_default
18189 int
18190 main ()
18191 {
18192 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18193 test_array [0] = 0
18194
18195 ;
18196 return 0;
18197 }
18198 _ACEOF
18199 rm -f conftest.$ac_objext
18200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18201 (eval $ac_compile) 2>conftest.er1
18202 ac_status=$?
18203 grep -v '^ *+' conftest.er1 >conftest.err
18204 rm -f conftest.er1
18205 cat conftest.err >&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } &&
18208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18210 (eval $ac_try) 2>&5
18211 ac_status=$?
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); }; } &&
18214 { ac_try='test -s conftest.$ac_objext'
18215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18216 (eval $ac_try) 2>&5
18217 ac_status=$?
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); }; }; then
18220 ac_lo=$ac_mid; break
18221 else
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18224
18225 ac_hi=`expr '(' $ac_mid ')' - 1`
18226 if test $ac_mid -le $ac_hi; then
18227 ac_lo= ac_hi=
18228 break
18229 fi
18230 ac_mid=`expr 2 '*' $ac_mid`
18231 fi
18232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18233 done
18234 else
18235 echo "$as_me: failed program was:" >&5
18236 sed 's/^/| /' conftest.$ac_ext >&5
18237
18238 ac_lo= ac_hi=
18239 fi
18240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18241 fi
18242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18243 # Binary search between lo and hi bounds.
18244 while test "x$ac_lo" != "x$ac_hi"; do
18245 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18246 cat >conftest.$ac_ext <<_ACEOF
18247 /* confdefs.h. */
18248 _ACEOF
18249 cat confdefs.h >>conftest.$ac_ext
18250 cat >>conftest.$ac_ext <<_ACEOF
18251 /* end confdefs.h. */
18252 $ac_includes_default
18253 int
18254 main ()
18255 {
18256 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18257 test_array [0] = 0
18258
18259 ;
18260 return 0;
18261 }
18262 _ACEOF
18263 rm -f conftest.$ac_objext
18264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18265 (eval $ac_compile) 2>conftest.er1
18266 ac_status=$?
18267 grep -v '^ *+' conftest.er1 >conftest.err
18268 rm -f conftest.er1
18269 cat conftest.err >&5
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); } &&
18272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18275 ac_status=$?
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; } &&
18278 { ac_try='test -s conftest.$ac_objext'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18281 ac_status=$?
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; }; then
18284 ac_hi=$ac_mid
18285 else
18286 echo "$as_me: failed program was:" >&5
18287 sed 's/^/| /' conftest.$ac_ext >&5
18288
18289 ac_lo=`expr '(' $ac_mid ')' + 1`
18290 fi
18291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18292 done
18293 case $ac_lo in
18294 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18295 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18296 See \`config.log' for more details." >&5
18297 echo "$as_me: error: cannot compute sizeof (long long), 77
18298 See \`config.log' for more details." >&2;}
18299 { (exit 1); exit 1; }; } ;;
18300 esac
18301 else
18302 if test "$cross_compiling" = yes; then
18303 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18304 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18305 { (exit 1); exit 1; }; }
18306 else
18307 cat >conftest.$ac_ext <<_ACEOF
18308 /* confdefs.h. */
18309 _ACEOF
18310 cat confdefs.h >>conftest.$ac_ext
18311 cat >>conftest.$ac_ext <<_ACEOF
18312 /* end confdefs.h. */
18313 $ac_includes_default
18314 long longval () { return (long) (sizeof (long long)); }
18315 unsigned long ulongval () { return (long) (sizeof (long long)); }
18316 #include <stdio.h>
18317 #include <stdlib.h>
18318 int
18319 main ()
18320 {
18321
18322 FILE *f = fopen ("conftest.val", "w");
18323 if (! f)
18324 exit (1);
18325 if (((long) (sizeof (long long))) < 0)
18326 {
18327 long i = longval ();
18328 if (i != ((long) (sizeof (long long))))
18329 exit (1);
18330 fprintf (f, "%ld\n", i);
18331 }
18332 else
18333 {
18334 unsigned long i = ulongval ();
18335 if (i != ((long) (sizeof (long long))))
18336 exit (1);
18337 fprintf (f, "%lu\n", i);
18338 }
18339 exit (ferror (f) || fclose (f) != 0);
18340
18341 ;
18342 return 0;
18343 }
18344 _ACEOF
18345 rm -f conftest$ac_exeext
18346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18347 (eval $ac_link) 2>&5
18348 ac_status=$?
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18352 (eval $ac_try) 2>&5
18353 ac_status=$?
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); }; }; then
18356 ac_cv_sizeof_long_long=`cat conftest.val`
18357 else
18358 echo "$as_me: program exited with status $ac_status" >&5
18359 echo "$as_me: failed program was:" >&5
18360 sed 's/^/| /' conftest.$ac_ext >&5
18361
18362 ( exit $ac_status )
18363 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18364 See \`config.log' for more details." >&5
18365 echo "$as_me: error: cannot compute sizeof (long long), 77
18366 See \`config.log' for more details." >&2;}
18367 { (exit 1); exit 1; }; }
18368 fi
18369 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18370 fi
18371 fi
18372 rm -f conftest.val
18373 else
18374 ac_cv_sizeof_long_long=0
18375 fi
18376 fi
18377 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18378 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18379 cat >>confdefs.h <<_ACEOF
18380 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18381 _ACEOF
18382
18383
18384 ;;
18385 *-hp-hpux* )
18386 echo "$as_me:$LINENO: checking for long long" >&5
18387 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18388 if test "${ac_cv_type_long_long+set}" = set; then
18389 echo $ECHO_N "(cached) $ECHO_C" >&6
18390 else
18391 cat >conftest.$ac_ext <<_ACEOF
18392 /* confdefs.h. */
18393 _ACEOF
18394 cat confdefs.h >>conftest.$ac_ext
18395 cat >>conftest.$ac_ext <<_ACEOF
18396 /* end confdefs.h. */
18397 $ac_includes_default
18398 int
18399 main ()
18400 {
18401 if ((long long *) 0)
18402 return 0;
18403 if (sizeof (long long))
18404 return 0;
18405 ;
18406 return 0;
18407 }
18408 _ACEOF
18409 rm -f conftest.$ac_objext
18410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18411 (eval $ac_compile) 2>conftest.er1
18412 ac_status=$?
18413 grep -v '^ *+' conftest.er1 >conftest.err
18414 rm -f conftest.er1
18415 cat conftest.err >&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); } &&
18418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18421 ac_status=$?
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; } &&
18424 { ac_try='test -s conftest.$ac_objext'
18425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18426 (eval $ac_try) 2>&5
18427 ac_status=$?
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; }; then
18430 ac_cv_type_long_long=yes
18431 else
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.$ac_ext >&5
18434
18435 ac_cv_type_long_long=no
18436 fi
18437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18438 fi
18439 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18440 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18441
18442 echo "$as_me:$LINENO: checking size of long long" >&5
18443 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18444 if test "${ac_cv_sizeof_long_long+set}" = set; then
18445 echo $ECHO_N "(cached) $ECHO_C" >&6
18446 else
18447 if test "$ac_cv_type_long_long" = yes; then
18448 # The cast to unsigned long works around a bug in the HP C Compiler
18449 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18450 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18451 # This bug is HP SR number 8606223364.
18452 if test "$cross_compiling" = yes; then
18453 # Depending upon the size, compute the lo and hi bounds.
18454 cat >conftest.$ac_ext <<_ACEOF
18455 /* confdefs.h. */
18456 _ACEOF
18457 cat confdefs.h >>conftest.$ac_ext
18458 cat >>conftest.$ac_ext <<_ACEOF
18459 /* end confdefs.h. */
18460 $ac_includes_default
18461 int
18462 main ()
18463 {
18464 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18465 test_array [0] = 0
18466
18467 ;
18468 return 0;
18469 }
18470 _ACEOF
18471 rm -f conftest.$ac_objext
18472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18473 (eval $ac_compile) 2>conftest.er1
18474 ac_status=$?
18475 grep -v '^ *+' conftest.er1 >conftest.err
18476 rm -f conftest.er1
18477 cat conftest.err >&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); } &&
18480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18482 (eval $ac_try) 2>&5
18483 ac_status=$?
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); }; } &&
18486 { ac_try='test -s conftest.$ac_objext'
18487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18488 (eval $ac_try) 2>&5
18489 ac_status=$?
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); }; }; then
18492 ac_lo=0 ac_mid=0
18493 while :; do
18494 cat >conftest.$ac_ext <<_ACEOF
18495 /* confdefs.h. */
18496 _ACEOF
18497 cat confdefs.h >>conftest.$ac_ext
18498 cat >>conftest.$ac_ext <<_ACEOF
18499 /* end confdefs.h. */
18500 $ac_includes_default
18501 int
18502 main ()
18503 {
18504 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18505 test_array [0] = 0
18506
18507 ;
18508 return 0;
18509 }
18510 _ACEOF
18511 rm -f conftest.$ac_objext
18512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18513 (eval $ac_compile) 2>conftest.er1
18514 ac_status=$?
18515 grep -v '^ *+' conftest.er1 >conftest.err
18516 rm -f conftest.er1
18517 cat conftest.err >&5
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); } &&
18520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18522 (eval $ac_try) 2>&5
18523 ac_status=$?
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); }; } &&
18526 { ac_try='test -s conftest.$ac_objext'
18527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18528 (eval $ac_try) 2>&5
18529 ac_status=$?
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); }; }; then
18532 ac_hi=$ac_mid; break
18533 else
18534 echo "$as_me: failed program was:" >&5
18535 sed 's/^/| /' conftest.$ac_ext >&5
18536
18537 ac_lo=`expr $ac_mid + 1`
18538 if test $ac_lo -le $ac_mid; then
18539 ac_lo= ac_hi=
18540 break
18541 fi
18542 ac_mid=`expr 2 '*' $ac_mid + 1`
18543 fi
18544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18545 done
18546 else
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.$ac_ext >&5
18549
18550 cat >conftest.$ac_ext <<_ACEOF
18551 /* confdefs.h. */
18552 _ACEOF
18553 cat confdefs.h >>conftest.$ac_ext
18554 cat >>conftest.$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556 $ac_includes_default
18557 int
18558 main ()
18559 {
18560 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18561 test_array [0] = 0
18562
18563 ;
18564 return 0;
18565 }
18566 _ACEOF
18567 rm -f conftest.$ac_objext
18568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18569 (eval $ac_compile) 2>conftest.er1
18570 ac_status=$?
18571 grep -v '^ *+' conftest.er1 >conftest.err
18572 rm -f conftest.er1
18573 cat conftest.err >&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); } &&
18576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18578 (eval $ac_try) 2>&5
18579 ac_status=$?
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); }; } &&
18582 { ac_try='test -s conftest.$ac_objext'
18583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18584 (eval $ac_try) 2>&5
18585 ac_status=$?
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); }; }; then
18588 ac_hi=-1 ac_mid=-1
18589 while :; do
18590 cat >conftest.$ac_ext <<_ACEOF
18591 /* confdefs.h. */
18592 _ACEOF
18593 cat confdefs.h >>conftest.$ac_ext
18594 cat >>conftest.$ac_ext <<_ACEOF
18595 /* end confdefs.h. */
18596 $ac_includes_default
18597 int
18598 main ()
18599 {
18600 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18601 test_array [0] = 0
18602
18603 ;
18604 return 0;
18605 }
18606 _ACEOF
18607 rm -f conftest.$ac_objext
18608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18609 (eval $ac_compile) 2>conftest.er1
18610 ac_status=$?
18611 grep -v '^ *+' conftest.er1 >conftest.err
18612 rm -f conftest.er1
18613 cat conftest.err >&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); } &&
18616 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18618 (eval $ac_try) 2>&5
18619 ac_status=$?
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); }; } &&
18622 { ac_try='test -s conftest.$ac_objext'
18623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18624 (eval $ac_try) 2>&5
18625 ac_status=$?
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); }; }; then
18628 ac_lo=$ac_mid; break
18629 else
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.$ac_ext >&5
18632
18633 ac_hi=`expr '(' $ac_mid ')' - 1`
18634 if test $ac_mid -le $ac_hi; then
18635 ac_lo= ac_hi=
18636 break
18637 fi
18638 ac_mid=`expr 2 '*' $ac_mid`
18639 fi
18640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18641 done
18642 else
18643 echo "$as_me: failed program was:" >&5
18644 sed 's/^/| /' conftest.$ac_ext >&5
18645
18646 ac_lo= ac_hi=
18647 fi
18648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18649 fi
18650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18651 # Binary search between lo and hi bounds.
18652 while test "x$ac_lo" != "x$ac_hi"; do
18653 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18654 cat >conftest.$ac_ext <<_ACEOF
18655 /* confdefs.h. */
18656 _ACEOF
18657 cat confdefs.h >>conftest.$ac_ext
18658 cat >>conftest.$ac_ext <<_ACEOF
18659 /* end confdefs.h. */
18660 $ac_includes_default
18661 int
18662 main ()
18663 {
18664 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18665 test_array [0] = 0
18666
18667 ;
18668 return 0;
18669 }
18670 _ACEOF
18671 rm -f conftest.$ac_objext
18672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18673 (eval $ac_compile) 2>conftest.er1
18674 ac_status=$?
18675 grep -v '^ *+' conftest.er1 >conftest.err
18676 rm -f conftest.er1
18677 cat conftest.err >&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } &&
18680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18682 (eval $ac_try) 2>&5
18683 ac_status=$?
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); }; } &&
18686 { ac_try='test -s conftest.$ac_objext'
18687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18688 (eval $ac_try) 2>&5
18689 ac_status=$?
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); }; }; then
18692 ac_hi=$ac_mid
18693 else
18694 echo "$as_me: failed program was:" >&5
18695 sed 's/^/| /' conftest.$ac_ext >&5
18696
18697 ac_lo=`expr '(' $ac_mid ')' + 1`
18698 fi
18699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18700 done
18701 case $ac_lo in
18702 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18703 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18704 See \`config.log' for more details." >&5
18705 echo "$as_me: error: cannot compute sizeof (long long), 77
18706 See \`config.log' for more details." >&2;}
18707 { (exit 1); exit 1; }; } ;;
18708 esac
18709 else
18710 if test "$cross_compiling" = yes; then
18711 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18712 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18713 { (exit 1); exit 1; }; }
18714 else
18715 cat >conftest.$ac_ext <<_ACEOF
18716 /* confdefs.h. */
18717 _ACEOF
18718 cat confdefs.h >>conftest.$ac_ext
18719 cat >>conftest.$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721 $ac_includes_default
18722 long longval () { return (long) (sizeof (long long)); }
18723 unsigned long ulongval () { return (long) (sizeof (long long)); }
18724 #include <stdio.h>
18725 #include <stdlib.h>
18726 int
18727 main ()
18728 {
18729
18730 FILE *f = fopen ("conftest.val", "w");
18731 if (! f)
18732 exit (1);
18733 if (((long) (sizeof (long long))) < 0)
18734 {
18735 long i = longval ();
18736 if (i != ((long) (sizeof (long long))))
18737 exit (1);
18738 fprintf (f, "%ld\n", i);
18739 }
18740 else
18741 {
18742 unsigned long i = ulongval ();
18743 if (i != ((long) (sizeof (long long))))
18744 exit (1);
18745 fprintf (f, "%lu\n", i);
18746 }
18747 exit (ferror (f) || fclose (f) != 0);
18748
18749 ;
18750 return 0;
18751 }
18752 _ACEOF
18753 rm -f conftest$ac_exeext
18754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18755 (eval $ac_link) 2>&5
18756 ac_status=$?
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18761 ac_status=$?
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; }; then
18764 ac_cv_sizeof_long_long=`cat conftest.val`
18765 else
18766 echo "$as_me: program exited with status $ac_status" >&5
18767 echo "$as_me: failed program was:" >&5
18768 sed 's/^/| /' conftest.$ac_ext >&5
18769
18770 ( exit $ac_status )
18771 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18772 See \`config.log' for more details." >&5
18773 echo "$as_me: error: cannot compute sizeof (long long), 77
18774 See \`config.log' for more details." >&2;}
18775 { (exit 1); exit 1; }; }
18776 fi
18777 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18778 fi
18779 fi
18780 rm -f conftest.val
18781 else
18782 ac_cv_sizeof_long_long=0
18783 fi
18784 fi
18785 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18786 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18787 cat >>confdefs.h <<_ACEOF
18788 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18789 _ACEOF
18790
18791
18792 if test "$ac_cv_sizeof_long_long" != "0"; then
18793 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
18794 fi
18795 ;;
18796 * )
18797 echo "$as_me:$LINENO: checking for long long" >&5
18798 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18799 if test "${ac_cv_type_long_long+set}" = set; then
18800 echo $ECHO_N "(cached) $ECHO_C" >&6
18801 else
18802 cat >conftest.$ac_ext <<_ACEOF
18803 /* confdefs.h. */
18804 _ACEOF
18805 cat confdefs.h >>conftest.$ac_ext
18806 cat >>conftest.$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18808 $ac_includes_default
18809 int
18810 main ()
18811 {
18812 if ((long long *) 0)
18813 return 0;
18814 if (sizeof (long long))
18815 return 0;
18816 ;
18817 return 0;
18818 }
18819 _ACEOF
18820 rm -f conftest.$ac_objext
18821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18822 (eval $ac_compile) 2>conftest.er1
18823 ac_status=$?
18824 grep -v '^ *+' conftest.er1 >conftest.err
18825 rm -f conftest.er1
18826 cat conftest.err >&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } &&
18829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18835 { ac_try='test -s conftest.$ac_objext'
18836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18837 (eval $ac_try) 2>&5
18838 ac_status=$?
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); }; }; then
18841 ac_cv_type_long_long=yes
18842 else
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.$ac_ext >&5
18845
18846 ac_cv_type_long_long=no
18847 fi
18848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18849 fi
18850 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18851 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18852
18853 echo "$as_me:$LINENO: checking size of long long" >&5
18854 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18855 if test "${ac_cv_sizeof_long_long+set}" = set; then
18856 echo $ECHO_N "(cached) $ECHO_C" >&6
18857 else
18858 if test "$ac_cv_type_long_long" = yes; then
18859 # The cast to unsigned long works around a bug in the HP C Compiler
18860 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18861 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18862 # This bug is HP SR number 8606223364.
18863 if test "$cross_compiling" = yes; then
18864 # Depending upon the size, compute the lo and hi bounds.
18865 cat >conftest.$ac_ext <<_ACEOF
18866 /* confdefs.h. */
18867 _ACEOF
18868 cat confdefs.h >>conftest.$ac_ext
18869 cat >>conftest.$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18871 $ac_includes_default
18872 int
18873 main ()
18874 {
18875 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18876 test_array [0] = 0
18877
18878 ;
18879 return 0;
18880 }
18881 _ACEOF
18882 rm -f conftest.$ac_objext
18883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18884 (eval $ac_compile) 2>conftest.er1
18885 ac_status=$?
18886 grep -v '^ *+' conftest.er1 >conftest.err
18887 rm -f conftest.er1
18888 cat conftest.err >&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); } &&
18891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18893 (eval $ac_try) 2>&5
18894 ac_status=$?
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); }; } &&
18897 { ac_try='test -s conftest.$ac_objext'
18898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18899 (eval $ac_try) 2>&5
18900 ac_status=$?
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); }; }; then
18903 ac_lo=0 ac_mid=0
18904 while :; do
18905 cat >conftest.$ac_ext <<_ACEOF
18906 /* confdefs.h. */
18907 _ACEOF
18908 cat confdefs.h >>conftest.$ac_ext
18909 cat >>conftest.$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911 $ac_includes_default
18912 int
18913 main ()
18914 {
18915 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18916 test_array [0] = 0
18917
18918 ;
18919 return 0;
18920 }
18921 _ACEOF
18922 rm -f conftest.$ac_objext
18923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18924 (eval $ac_compile) 2>conftest.er1
18925 ac_status=$?
18926 grep -v '^ *+' conftest.er1 >conftest.err
18927 rm -f conftest.er1
18928 cat conftest.err >&5
18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18930 (exit $ac_status); } &&
18931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18933 (eval $ac_try) 2>&5
18934 ac_status=$?
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); }; } &&
18937 { ac_try='test -s conftest.$ac_objext'
18938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939 (eval $ac_try) 2>&5
18940 ac_status=$?
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; }; then
18943 ac_hi=$ac_mid; break
18944 else
18945 echo "$as_me: failed program was:" >&5
18946 sed 's/^/| /' conftest.$ac_ext >&5
18947
18948 ac_lo=`expr $ac_mid + 1`
18949 if test $ac_lo -le $ac_mid; then
18950 ac_lo= ac_hi=
18951 break
18952 fi
18953 ac_mid=`expr 2 '*' $ac_mid + 1`
18954 fi
18955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18956 done
18957 else
18958 echo "$as_me: failed program was:" >&5
18959 sed 's/^/| /' conftest.$ac_ext >&5
18960
18961 cat >conftest.$ac_ext <<_ACEOF
18962 /* confdefs.h. */
18963 _ACEOF
18964 cat confdefs.h >>conftest.$ac_ext
18965 cat >>conftest.$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18967 $ac_includes_default
18968 int
18969 main ()
18970 {
18971 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18972 test_array [0] = 0
18973
18974 ;
18975 return 0;
18976 }
18977 _ACEOF
18978 rm -f conftest.$ac_objext
18979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18980 (eval $ac_compile) 2>conftest.er1
18981 ac_status=$?
18982 grep -v '^ *+' conftest.er1 >conftest.err
18983 rm -f conftest.er1
18984 cat conftest.err >&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); } &&
18987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18990 ac_status=$?
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; } &&
18993 { ac_try='test -s conftest.$ac_objext'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18996 ac_status=$?
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; }; then
18999 ac_hi=-1 ac_mid=-1
19000 while :; do
19001 cat >conftest.$ac_ext <<_ACEOF
19002 /* confdefs.h. */
19003 _ACEOF
19004 cat confdefs.h >>conftest.$ac_ext
19005 cat >>conftest.$ac_ext <<_ACEOF
19006 /* end confdefs.h. */
19007 $ac_includes_default
19008 int
19009 main ()
19010 {
19011 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19012 test_array [0] = 0
19013
19014 ;
19015 return 0;
19016 }
19017 _ACEOF
19018 rm -f conftest.$ac_objext
19019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19020 (eval $ac_compile) 2>conftest.er1
19021 ac_status=$?
19022 grep -v '^ *+' conftest.er1 >conftest.err
19023 rm -f conftest.er1
19024 cat conftest.err >&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); } &&
19027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19029 (eval $ac_try) 2>&5
19030 ac_status=$?
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); }; } &&
19033 { ac_try='test -s conftest.$ac_objext'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19036 ac_status=$?
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; }; then
19039 ac_lo=$ac_mid; break
19040 else
19041 echo "$as_me: failed program was:" >&5
19042 sed 's/^/| /' conftest.$ac_ext >&5
19043
19044 ac_hi=`expr '(' $ac_mid ')' - 1`
19045 if test $ac_mid -le $ac_hi; then
19046 ac_lo= ac_hi=
19047 break
19048 fi
19049 ac_mid=`expr 2 '*' $ac_mid`
19050 fi
19051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19052 done
19053 else
19054 echo "$as_me: failed program was:" >&5
19055 sed 's/^/| /' conftest.$ac_ext >&5
19056
19057 ac_lo= ac_hi=
19058 fi
19059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19060 fi
19061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19062 # Binary search between lo and hi bounds.
19063 while test "x$ac_lo" != "x$ac_hi"; do
19064 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19065 cat >conftest.$ac_ext <<_ACEOF
19066 /* confdefs.h. */
19067 _ACEOF
19068 cat confdefs.h >>conftest.$ac_ext
19069 cat >>conftest.$ac_ext <<_ACEOF
19070 /* end confdefs.h. */
19071 $ac_includes_default
19072 int
19073 main ()
19074 {
19075 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19076 test_array [0] = 0
19077
19078 ;
19079 return 0;
19080 }
19081 _ACEOF
19082 rm -f conftest.$ac_objext
19083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19084 (eval $ac_compile) 2>conftest.er1
19085 ac_status=$?
19086 grep -v '^ *+' conftest.er1 >conftest.err
19087 rm -f conftest.er1
19088 cat conftest.err >&5
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); } &&
19091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 (eval $ac_try) 2>&5
19094 ac_status=$?
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); }; } &&
19097 { ac_try='test -s conftest.$ac_objext'
19098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099 (eval $ac_try) 2>&5
19100 ac_status=$?
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; }; then
19103 ac_hi=$ac_mid
19104 else
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.$ac_ext >&5
19107
19108 ac_lo=`expr '(' $ac_mid ')' + 1`
19109 fi
19110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19111 done
19112 case $ac_lo in
19113 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19114 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19115 See \`config.log' for more details." >&5
19116 echo "$as_me: error: cannot compute sizeof (long long), 77
19117 See \`config.log' for more details." >&2;}
19118 { (exit 1); exit 1; }; } ;;
19119 esac
19120 else
19121 if test "$cross_compiling" = yes; then
19122 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19123 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19124 { (exit 1); exit 1; }; }
19125 else
19126 cat >conftest.$ac_ext <<_ACEOF
19127 /* confdefs.h. */
19128 _ACEOF
19129 cat confdefs.h >>conftest.$ac_ext
19130 cat >>conftest.$ac_ext <<_ACEOF
19131 /* end confdefs.h. */
19132 $ac_includes_default
19133 long longval () { return (long) (sizeof (long long)); }
19134 unsigned long ulongval () { return (long) (sizeof (long long)); }
19135 #include <stdio.h>
19136 #include <stdlib.h>
19137 int
19138 main ()
19139 {
19140
19141 FILE *f = fopen ("conftest.val", "w");
19142 if (! f)
19143 exit (1);
19144 if (((long) (sizeof (long long))) < 0)
19145 {
19146 long i = longval ();
19147 if (i != ((long) (sizeof (long long))))
19148 exit (1);
19149 fprintf (f, "%ld\n", i);
19150 }
19151 else
19152 {
19153 unsigned long i = ulongval ();
19154 if (i != ((long) (sizeof (long long))))
19155 exit (1);
19156 fprintf (f, "%lu\n", i);
19157 }
19158 exit (ferror (f) || fclose (f) != 0);
19159
19160 ;
19161 return 0;
19162 }
19163 _ACEOF
19164 rm -f conftest$ac_exeext
19165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19166 (eval $ac_link) 2>&5
19167 ac_status=$?
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19171 (eval $ac_try) 2>&5
19172 ac_status=$?
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); }; }; then
19175 ac_cv_sizeof_long_long=`cat conftest.val`
19176 else
19177 echo "$as_me: program exited with status $ac_status" >&5
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.$ac_ext >&5
19180
19181 ( exit $ac_status )
19182 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19183 See \`config.log' for more details." >&5
19184 echo "$as_me: error: cannot compute sizeof (long long), 77
19185 See \`config.log' for more details." >&2;}
19186 { (exit 1); exit 1; }; }
19187 fi
19188 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19189 fi
19190 fi
19191 rm -f conftest.val
19192 else
19193 ac_cv_sizeof_long_long=0
19194 fi
19195 fi
19196 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19197 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19198 cat >>confdefs.h <<_ACEOF
19199 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19200 _ACEOF
19201
19202
19203 esac
19204
19205 echo "$as_me:$LINENO: checking for wchar_t" >&5
19206 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19207 if test "${ac_cv_type_wchar_t+set}" = set; then
19208 echo $ECHO_N "(cached) $ECHO_C" >&6
19209 else
19210 cat >conftest.$ac_ext <<_ACEOF
19211 /* confdefs.h. */
19212 _ACEOF
19213 cat confdefs.h >>conftest.$ac_ext
19214 cat >>conftest.$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19216
19217 /* DJGPP only has fake wchar_t: */
19218 #ifdef __DJGPP__
19219 # error "fake wchar_t"
19220 #endif
19221 #ifdef HAVE_WCHAR_H
19222 # ifdef __CYGWIN__
19223 # include <stddef.h>
19224 # endif
19225 # include <wchar.h>
19226 #endif
19227 #ifdef HAVE_STDLIB_H
19228 # include <stdlib.h>
19229 #endif
19230 #include <stdio.h>
19231
19232
19233
19234 int
19235 main ()
19236 {
19237 if ((wchar_t *) 0)
19238 return 0;
19239 if (sizeof (wchar_t))
19240 return 0;
19241 ;
19242 return 0;
19243 }
19244 _ACEOF
19245 rm -f conftest.$ac_objext
19246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19247 (eval $ac_compile) 2>conftest.er1
19248 ac_status=$?
19249 grep -v '^ *+' conftest.er1 >conftest.err
19250 rm -f conftest.er1
19251 cat conftest.err >&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); } &&
19254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19256 (eval $ac_try) 2>&5
19257 ac_status=$?
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); }; } &&
19260 { ac_try='test -s conftest.$ac_objext'
19261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19262 (eval $ac_try) 2>&5
19263 ac_status=$?
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); }; }; then
19266 ac_cv_type_wchar_t=yes
19267 else
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.$ac_ext >&5
19270
19271 ac_cv_type_wchar_t=no
19272 fi
19273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19274 fi
19275 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19276 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19277
19278 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19279 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19280 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19281 echo $ECHO_N "(cached) $ECHO_C" >&6
19282 else
19283 if test "$ac_cv_type_wchar_t" = yes; then
19284 # The cast to unsigned long works around a bug in the HP C Compiler
19285 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19286 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19287 # This bug is HP SR number 8606223364.
19288 if test "$cross_compiling" = yes; then
19289 # Depending upon the size, compute the lo and hi bounds.
19290 cat >conftest.$ac_ext <<_ACEOF
19291 /* confdefs.h. */
19292 _ACEOF
19293 cat confdefs.h >>conftest.$ac_ext
19294 cat >>conftest.$ac_ext <<_ACEOF
19295 /* end confdefs.h. */
19296
19297 /* DJGPP only has fake wchar_t: */
19298 #ifdef __DJGPP__
19299 # error "fake wchar_t"
19300 #endif
19301 #ifdef HAVE_WCHAR_H
19302 # ifdef __CYGWIN__
19303 # include <stddef.h>
19304 # endif
19305 # include <wchar.h>
19306 #endif
19307 #ifdef HAVE_STDLIB_H
19308 # include <stdlib.h>
19309 #endif
19310 #include <stdio.h>
19311
19312
19313
19314 int
19315 main ()
19316 {
19317 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19318 test_array [0] = 0
19319
19320 ;
19321 return 0;
19322 }
19323 _ACEOF
19324 rm -f conftest.$ac_objext
19325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19326 (eval $ac_compile) 2>conftest.er1
19327 ac_status=$?
19328 grep -v '^ *+' conftest.er1 >conftest.err
19329 rm -f conftest.er1
19330 cat conftest.err >&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); } &&
19333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19335 (eval $ac_try) 2>&5
19336 ac_status=$?
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); }; } &&
19339 { ac_try='test -s conftest.$ac_objext'
19340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19341 (eval $ac_try) 2>&5
19342 ac_status=$?
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); }; }; then
19345 ac_lo=0 ac_mid=0
19346 while :; do
19347 cat >conftest.$ac_ext <<_ACEOF
19348 /* confdefs.h. */
19349 _ACEOF
19350 cat confdefs.h >>conftest.$ac_ext
19351 cat >>conftest.$ac_ext <<_ACEOF
19352 /* end confdefs.h. */
19353
19354 /* DJGPP only has fake wchar_t: */
19355 #ifdef __DJGPP__
19356 # error "fake wchar_t"
19357 #endif
19358 #ifdef HAVE_WCHAR_H
19359 # ifdef __CYGWIN__
19360 # include <stddef.h>
19361 # endif
19362 # include <wchar.h>
19363 #endif
19364 #ifdef HAVE_STDLIB_H
19365 # include <stdlib.h>
19366 #endif
19367 #include <stdio.h>
19368
19369
19370
19371 int
19372 main ()
19373 {
19374 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19375 test_array [0] = 0
19376
19377 ;
19378 return 0;
19379 }
19380 _ACEOF
19381 rm -f conftest.$ac_objext
19382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19383 (eval $ac_compile) 2>conftest.er1
19384 ac_status=$?
19385 grep -v '^ *+' conftest.er1 >conftest.err
19386 rm -f conftest.er1
19387 cat conftest.err >&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); } &&
19390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 (eval $ac_try) 2>&5
19393 ac_status=$?
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); }; } &&
19396 { ac_try='test -s conftest.$ac_objext'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19399 ac_status=$?
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; }; then
19402 ac_hi=$ac_mid; break
19403 else
19404 echo "$as_me: failed program was:" >&5
19405 sed 's/^/| /' conftest.$ac_ext >&5
19406
19407 ac_lo=`expr $ac_mid + 1`
19408 if test $ac_lo -le $ac_mid; then
19409 ac_lo= ac_hi=
19410 break
19411 fi
19412 ac_mid=`expr 2 '*' $ac_mid + 1`
19413 fi
19414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19415 done
19416 else
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
19419
19420 cat >conftest.$ac_ext <<_ACEOF
19421 /* confdefs.h. */
19422 _ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426
19427 /* DJGPP only has fake wchar_t: */
19428 #ifdef __DJGPP__
19429 # error "fake wchar_t"
19430 #endif
19431 #ifdef HAVE_WCHAR_H
19432 # ifdef __CYGWIN__
19433 # include <stddef.h>
19434 # endif
19435 # include <wchar.h>
19436 #endif
19437 #ifdef HAVE_STDLIB_H
19438 # include <stdlib.h>
19439 #endif
19440 #include <stdio.h>
19441
19442
19443
19444 int
19445 main ()
19446 {
19447 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19448 test_array [0] = 0
19449
19450 ;
19451 return 0;
19452 }
19453 _ACEOF
19454 rm -f conftest.$ac_objext
19455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19456 (eval $ac_compile) 2>conftest.er1
19457 ac_status=$?
19458 grep -v '^ *+' conftest.er1 >conftest.err
19459 rm -f conftest.er1
19460 cat conftest.err >&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); } &&
19463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19465 (eval $ac_try) 2>&5
19466 ac_status=$?
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); }; } &&
19469 { ac_try='test -s conftest.$ac_objext'
19470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19471 (eval $ac_try) 2>&5
19472 ac_status=$?
19473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19474 (exit $ac_status); }; }; then
19475 ac_hi=-1 ac_mid=-1
19476 while :; do
19477 cat >conftest.$ac_ext <<_ACEOF
19478 /* confdefs.h. */
19479 _ACEOF
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483
19484 /* DJGPP only has fake wchar_t: */
19485 #ifdef __DJGPP__
19486 # error "fake wchar_t"
19487 #endif
19488 #ifdef HAVE_WCHAR_H
19489 # ifdef __CYGWIN__
19490 # include <stddef.h>
19491 # endif
19492 # include <wchar.h>
19493 #endif
19494 #ifdef HAVE_STDLIB_H
19495 # include <stdlib.h>
19496 #endif
19497 #include <stdio.h>
19498
19499
19500
19501 int
19502 main ()
19503 {
19504 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19505 test_array [0] = 0
19506
19507 ;
19508 return 0;
19509 }
19510 _ACEOF
19511 rm -f conftest.$ac_objext
19512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19513 (eval $ac_compile) 2>conftest.er1
19514 ac_status=$?
19515 grep -v '^ *+' conftest.er1 >conftest.err
19516 rm -f conftest.er1
19517 cat conftest.err >&5
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); } &&
19520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522 (eval $ac_try) 2>&5
19523 ac_status=$?
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; } &&
19526 { ac_try='test -s conftest.$ac_objext'
19527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528 (eval $ac_try) 2>&5
19529 ac_status=$?
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; }; then
19532 ac_lo=$ac_mid; break
19533 else
19534 echo "$as_me: failed program was:" >&5
19535 sed 's/^/| /' conftest.$ac_ext >&5
19536
19537 ac_hi=`expr '(' $ac_mid ')' - 1`
19538 if test $ac_mid -le $ac_hi; then
19539 ac_lo= ac_hi=
19540 break
19541 fi
19542 ac_mid=`expr 2 '*' $ac_mid`
19543 fi
19544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19545 done
19546 else
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.$ac_ext >&5
19549
19550 ac_lo= ac_hi=
19551 fi
19552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19553 fi
19554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19555 # Binary search between lo and hi bounds.
19556 while test "x$ac_lo" != "x$ac_hi"; do
19557 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19558 cat >conftest.$ac_ext <<_ACEOF
19559 /* confdefs.h. */
19560 _ACEOF
19561 cat confdefs.h >>conftest.$ac_ext
19562 cat >>conftest.$ac_ext <<_ACEOF
19563 /* end confdefs.h. */
19564
19565 /* DJGPP only has fake wchar_t: */
19566 #ifdef __DJGPP__
19567 # error "fake wchar_t"
19568 #endif
19569 #ifdef HAVE_WCHAR_H
19570 # ifdef __CYGWIN__
19571 # include <stddef.h>
19572 # endif
19573 # include <wchar.h>
19574 #endif
19575 #ifdef HAVE_STDLIB_H
19576 # include <stdlib.h>
19577 #endif
19578 #include <stdio.h>
19579
19580
19581
19582 int
19583 main ()
19584 {
19585 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19586 test_array [0] = 0
19587
19588 ;
19589 return 0;
19590 }
19591 _ACEOF
19592 rm -f conftest.$ac_objext
19593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19594 (eval $ac_compile) 2>conftest.er1
19595 ac_status=$?
19596 grep -v '^ *+' conftest.er1 >conftest.err
19597 rm -f conftest.er1
19598 cat conftest.err >&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); } &&
19601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19604 ac_status=$?
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; } &&
19607 { ac_try='test -s conftest.$ac_objext'
19608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19609 (eval $ac_try) 2>&5
19610 ac_status=$?
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; }; then
19613 ac_hi=$ac_mid
19614 else
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.$ac_ext >&5
19617
19618 ac_lo=`expr '(' $ac_mid ')' + 1`
19619 fi
19620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19621 done
19622 case $ac_lo in
19623 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
19624 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19625 See \`config.log' for more details." >&5
19626 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19627 See \`config.log' for more details." >&2;}
19628 { (exit 1); exit 1; }; } ;;
19629 esac
19630 else
19631 if test "$cross_compiling" = yes; then
19632 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19633 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19634 { (exit 1); exit 1; }; }
19635 else
19636 cat >conftest.$ac_ext <<_ACEOF
19637 /* confdefs.h. */
19638 _ACEOF
19639 cat confdefs.h >>conftest.$ac_ext
19640 cat >>conftest.$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19642
19643 /* DJGPP only has fake wchar_t: */
19644 #ifdef __DJGPP__
19645 # error "fake wchar_t"
19646 #endif
19647 #ifdef HAVE_WCHAR_H
19648 # ifdef __CYGWIN__
19649 # include <stddef.h>
19650 # endif
19651 # include <wchar.h>
19652 #endif
19653 #ifdef HAVE_STDLIB_H
19654 # include <stdlib.h>
19655 #endif
19656 #include <stdio.h>
19657
19658
19659
19660 long longval () { return (long) (sizeof (wchar_t)); }
19661 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19662 #include <stdio.h>
19663 #include <stdlib.h>
19664 int
19665 main ()
19666 {
19667
19668 FILE *f = fopen ("conftest.val", "w");
19669 if (! f)
19670 exit (1);
19671 if (((long) (sizeof (wchar_t))) < 0)
19672 {
19673 long i = longval ();
19674 if (i != ((long) (sizeof (wchar_t))))
19675 exit (1);
19676 fprintf (f, "%ld\n", i);
19677 }
19678 else
19679 {
19680 unsigned long i = ulongval ();
19681 if (i != ((long) (sizeof (wchar_t))))
19682 exit (1);
19683 fprintf (f, "%lu\n", i);
19684 }
19685 exit (ferror (f) || fclose (f) != 0);
19686
19687 ;
19688 return 0;
19689 }
19690 _ACEOF
19691 rm -f conftest$ac_exeext
19692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19693 (eval $ac_link) 2>&5
19694 ac_status=$?
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19698 (eval $ac_try) 2>&5
19699 ac_status=$?
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); }; }; then
19702 ac_cv_sizeof_wchar_t=`cat conftest.val`
19703 else
19704 echo "$as_me: program exited with status $ac_status" >&5
19705 echo "$as_me: failed program was:" >&5
19706 sed 's/^/| /' conftest.$ac_ext >&5
19707
19708 ( exit $ac_status )
19709 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19710 See \`config.log' for more details." >&5
19711 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19712 See \`config.log' for more details." >&2;}
19713 { (exit 1); exit 1; }; }
19714 fi
19715 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19716 fi
19717 fi
19718 rm -f conftest.val
19719 else
19720 ac_cv_sizeof_wchar_t=0
19721 fi
19722 fi
19723 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19724 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19725 cat >>confdefs.h <<_ACEOF
19726 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19727 _ACEOF
19728
19729
19730
19731 echo "$as_me:$LINENO: checking for va_copy" >&5
19732 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19733 if test "${wx_cv_func_va_copy+set}" = set; then
19734 echo $ECHO_N "(cached) $ECHO_C" >&6
19735 else
19736
19737 cat >conftest.$ac_ext <<_ACEOF
19738
19739 #include <stdarg.h>
19740 void foo(char *f, ...)
19741 {
19742 va_list ap1, ap2;
19743 va_start(ap1, f);
19744 va_copy(ap2, ap1);
19745 va_end(ap2);
19746 va_end(ap1);
19747 }
19748 int main()
19749 {
19750 foo("hi", 17);
19751 return 0;
19752 }
19753 _ACEOF
19754 rm -f conftest.$ac_objext conftest$ac_exeext
19755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19756 (eval $ac_link) 2>conftest.er1
19757 ac_status=$?
19758 grep -v '^ *+' conftest.er1 >conftest.err
19759 rm -f conftest.er1
19760 cat conftest.err >&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } &&
19763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19766 ac_status=$?
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; } &&
19769 { ac_try='test -s conftest$ac_exeext'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19772 ac_status=$?
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; }; then
19775 wx_cv_func_va_copy=yes
19776 else
19777 echo "$as_me: failed program was:" >&5
19778 sed 's/^/| /' conftest.$ac_ext >&5
19779
19780 wx_cv_func_va_copy=no
19781
19782 fi
19783 rm -f conftest.err conftest.$ac_objext \
19784 conftest$ac_exeext conftest.$ac_ext
19785
19786
19787 fi
19788 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19789 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19790
19791 if test $wx_cv_func_va_copy = "yes"; then
19792 cat >>confdefs.h <<\_ACEOF
19793 #define HAVE_VA_COPY 1
19794 _ACEOF
19795
19796 else
19797 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19798 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19799 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19800 echo $ECHO_N "(cached) $ECHO_C" >&6
19801 else
19802
19803 if test "$cross_compiling" = yes; then
19804 wx_cv_type_va_list_lvalue=yes
19805
19806 else
19807 cat >conftest.$ac_ext <<_ACEOF
19808
19809 #include <stdarg.h>
19810 int foo(char *f, ...)
19811 {
19812 va_list ap1, ap2;
19813 va_start(ap1, f);
19814 ap2 = ap1;
19815 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19816 return 1;
19817 va_end(ap2);
19818 va_end(ap1);
19819 return 0;
19820 }
19821 int main()
19822 {
19823 return foo("hi", 17);
19824 }
19825 _ACEOF
19826 rm -f conftest$ac_exeext
19827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19828 (eval $ac_link) 2>&5
19829 ac_status=$?
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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 wx_cv_type_va_list_lvalue=yes
19838 else
19839 echo "$as_me: program exited with status $ac_status" >&5
19840 echo "$as_me: failed program was:" >&5
19841 sed 's/^/| /' conftest.$ac_ext >&5
19842
19843 ( exit $ac_status )
19844 wx_cv_type_va_list_lvalue=no
19845 fi
19846 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19847 fi
19848
19849
19850 fi
19851 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19852 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19853
19854 if test $wx_cv_type_va_list_lvalue != "yes"; then
19855 cat >>confdefs.h <<\_ACEOF
19856 #define VA_LIST_IS_ARRAY 1
19857 _ACEOF
19858
19859 fi
19860 fi
19861
19862 # Check whether --enable-largefile or --disable-largefile was given.
19863 if test "${enable_largefile+set}" = set; then
19864 enableval="$enable_largefile"
19865
19866 fi;
19867 if test "$enable_largefile" != no; then
19868 wx_largefile=no
19869
19870 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19871 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19872 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19873 echo $ECHO_N "(cached) $ECHO_C" >&6
19874 else
19875
19876 cat >conftest.$ac_ext <<_ACEOF
19877 /* confdefs.h. */
19878 _ACEOF
19879 cat confdefs.h >>conftest.$ac_ext
19880 cat >>conftest.$ac_ext <<_ACEOF
19881 /* end confdefs.h. */
19882 #define _FILE_OFFSET_BITS 64
19883 #include <sys/types.h>
19884 int
19885 main ()
19886 {
19887 typedef struct {
19888 unsigned int field: sizeof(off_t) == 8;
19889 } wxlf;
19890
19891 ;
19892 return 0;
19893 }
19894 _ACEOF
19895 rm -f conftest.$ac_objext
19896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19897 (eval $ac_compile) 2>conftest.er1
19898 ac_status=$?
19899 grep -v '^ *+' conftest.er1 >conftest.err
19900 rm -f conftest.er1
19901 cat conftest.err >&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } &&
19904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19906 (eval $ac_try) 2>&5
19907 ac_status=$?
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); }; } &&
19910 { ac_try='test -s conftest.$ac_objext'
19911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19912 (eval $ac_try) 2>&5
19913 ac_status=$?
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); }; }; then
19916 ac_cv_sys_file_offset_bits=64
19917 else
19918 echo "$as_me: failed program was:" >&5
19919 sed 's/^/| /' conftest.$ac_ext >&5
19920
19921 ac_cv_sys_file_offset_bits=no
19922 fi
19923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19924
19925
19926 fi
19927 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19928 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19929
19930 if test "$ac_cv_sys_file_offset_bits" != no; then
19931 wx_largefile=yes
19932 cat >>confdefs.h <<_ACEOF
19933 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19934 _ACEOF
19935
19936 fi
19937
19938 if test "x$wx_largefile" != "xyes"; then
19939
19940 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19941 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19942 if test "${ac_cv_sys_large_files+set}" = set; then
19943 echo $ECHO_N "(cached) $ECHO_C" >&6
19944 else
19945
19946 cat >conftest.$ac_ext <<_ACEOF
19947 /* confdefs.h. */
19948 _ACEOF
19949 cat confdefs.h >>conftest.$ac_ext
19950 cat >>conftest.$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19952 #define _LARGE_FILES 1
19953 #include <sys/types.h>
19954 int
19955 main ()
19956 {
19957 typedef struct {
19958 unsigned int field: sizeof(off_t) == 8;
19959 } wxlf;
19960
19961 ;
19962 return 0;
19963 }
19964 _ACEOF
19965 rm -f conftest.$ac_objext
19966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19967 (eval $ac_compile) 2>conftest.er1
19968 ac_status=$?
19969 grep -v '^ *+' conftest.er1 >conftest.err
19970 rm -f conftest.er1
19971 cat conftest.err >&5
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); } &&
19974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19976 (eval $ac_try) 2>&5
19977 ac_status=$?
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); }; } &&
19980 { ac_try='test -s conftest.$ac_objext'
19981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19982 (eval $ac_try) 2>&5
19983 ac_status=$?
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); }; }; then
19986 ac_cv_sys_large_files=1
19987 else
19988 echo "$as_me: failed program was:" >&5
19989 sed 's/^/| /' conftest.$ac_ext >&5
19990
19991 ac_cv_sys_large_files=no
19992 fi
19993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19994
19995
19996 fi
19997 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19998 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19999
20000 if test "$ac_cv_sys_large_files" != no; then
20001 wx_largefile=yes
20002 cat >>confdefs.h <<_ACEOF
20003 #define _LARGE_FILES $ac_cv_sys_large_files
20004 _ACEOF
20005
20006 fi
20007
20008 fi
20009
20010 echo "$as_me:$LINENO: checking if large file support is available" >&5
20011 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20012 if test "x$wx_largefile" = "xyes"; then
20013 cat >>confdefs.h <<\_ACEOF
20014 #define HAVE_LARGEFILE_SUPPORT 1
20015 _ACEOF
20016
20017 fi
20018 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20019 echo "${ECHO_T}$wx_largefile" >&6
20020 fi
20021
20022
20023 if test "x$wx_largefile" = "xyes"; then
20024 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20025 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20026 else
20027 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
20028 fi
20029 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20030 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20031 if test "${ac_cv_sys_largefile_source+set}" = set; then
20032 echo $ECHO_N "(cached) $ECHO_C" >&6
20033 else
20034 while :; do
20035 ac_cv_sys_largefile_source=no
20036 cat >conftest.$ac_ext <<_ACEOF
20037 /* confdefs.h. */
20038 _ACEOF
20039 cat confdefs.h >>conftest.$ac_ext
20040 cat >>conftest.$ac_ext <<_ACEOF
20041 /* end confdefs.h. */
20042 #include <stdio.h>
20043 int
20044 main ()
20045 {
20046 return !fseeko;
20047 ;
20048 return 0;
20049 }
20050 _ACEOF
20051 rm -f conftest.$ac_objext
20052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20053 (eval $ac_compile) 2>conftest.er1
20054 ac_status=$?
20055 grep -v '^ *+' conftest.er1 >conftest.err
20056 rm -f conftest.er1
20057 cat conftest.err >&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); } &&
20060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20062 (eval $ac_try) 2>&5
20063 ac_status=$?
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); }; } &&
20066 { ac_try='test -s conftest.$ac_objext'
20067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068 (eval $ac_try) 2>&5
20069 ac_status=$?
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); }; }; then
20072 break
20073 else
20074 echo "$as_me: failed program was:" >&5
20075 sed 's/^/| /' conftest.$ac_ext >&5
20076
20077 fi
20078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20079 cat >conftest.$ac_ext <<_ACEOF
20080 /* confdefs.h. */
20081 _ACEOF
20082 cat confdefs.h >>conftest.$ac_ext
20083 cat >>conftest.$ac_ext <<_ACEOF
20084 /* end confdefs.h. */
20085 #define _LARGEFILE_SOURCE 1
20086 #include <stdio.h>
20087 int
20088 main ()
20089 {
20090 return !fseeko;
20091 ;
20092 return 0;
20093 }
20094 _ACEOF
20095 rm -f conftest.$ac_objext
20096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20097 (eval $ac_compile) 2>conftest.er1
20098 ac_status=$?
20099 grep -v '^ *+' conftest.er1 >conftest.err
20100 rm -f conftest.er1
20101 cat conftest.err >&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); } &&
20104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20106 (eval $ac_try) 2>&5
20107 ac_status=$?
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); }; } &&
20110 { ac_try='test -s conftest.$ac_objext'
20111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20112 (eval $ac_try) 2>&5
20113 ac_status=$?
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); }; }; then
20116 ac_cv_sys_largefile_source=1; break
20117 else
20118 echo "$as_me: failed program was:" >&5
20119 sed 's/^/| /' conftest.$ac_ext >&5
20120
20121 fi
20122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20123 break
20124 done
20125 fi
20126 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20127 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20128 if test "$ac_cv_sys_largefile_source" != no; then
20129
20130 cat >>confdefs.h <<_ACEOF
20131 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20132 _ACEOF
20133
20134 fi
20135 rm -f conftest*
20136
20137 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20138 # in glibc 2.1.3, but that breaks too many other things.
20139 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20140 echo "$as_me:$LINENO: checking for fseeko" >&5
20141 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20142 if test "${ac_cv_func_fseeko+set}" = set; then
20143 echo $ECHO_N "(cached) $ECHO_C" >&6
20144 else
20145 cat >conftest.$ac_ext <<_ACEOF
20146 /* confdefs.h. */
20147 _ACEOF
20148 cat confdefs.h >>conftest.$ac_ext
20149 cat >>conftest.$ac_ext <<_ACEOF
20150 /* end confdefs.h. */
20151 #include <stdio.h>
20152 int
20153 main ()
20154 {
20155 return fseeko && fseeko (stdin, 0, 0);
20156 ;
20157 return 0;
20158 }
20159 _ACEOF
20160 rm -f conftest.$ac_objext conftest$ac_exeext
20161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20162 (eval $ac_link) 2>conftest.er1
20163 ac_status=$?
20164 grep -v '^ *+' conftest.er1 >conftest.err
20165 rm -f conftest.er1
20166 cat conftest.err >&5
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } &&
20169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20171 (eval $ac_try) 2>&5
20172 ac_status=$?
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); }; } &&
20175 { ac_try='test -s conftest$ac_exeext'
20176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20177 (eval $ac_try) 2>&5
20178 ac_status=$?
20179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180 (exit $ac_status); }; }; then
20181 ac_cv_func_fseeko=yes
20182 else
20183 echo "$as_me: failed program was:" >&5
20184 sed 's/^/| /' conftest.$ac_ext >&5
20185
20186 ac_cv_func_fseeko=no
20187 fi
20188 rm -f conftest.err conftest.$ac_objext \
20189 conftest$ac_exeext conftest.$ac_ext
20190 fi
20191 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20192 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20193 if test $ac_cv_func_fseeko = yes; then
20194
20195 cat >>confdefs.h <<\_ACEOF
20196 #define HAVE_FSEEKO 1
20197 _ACEOF
20198
20199 fi
20200
20201 if test "$ac_cv_sys_largefile_source" != no; then
20202 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20203 fi
20204 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20205 fi
20206
20207 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20208 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20209 if test "${ac_cv_c_bigendian+set}" = set; then
20210 echo $ECHO_N "(cached) $ECHO_C" >&6
20211 else
20212 ac_cv_c_bigendian=unknown
20213 # See if sys/param.h defines the BYTE_ORDER macro.
20214 cat >conftest.$ac_ext <<_ACEOF
20215 /* confdefs.h. */
20216 _ACEOF
20217 cat confdefs.h >>conftest.$ac_ext
20218 cat >>conftest.$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20220 #include <sys/types.h>
20221 #include <sys/param.h>
20222 int
20223 main ()
20224 {
20225
20226 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20227 bogus endian macros
20228 #endif
20229 ;
20230 return 0;
20231 }
20232 _ACEOF
20233 rm -f conftest.$ac_objext
20234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20235 (eval $ac_compile) 2>conftest.er1
20236 ac_status=$?
20237 grep -v '^ *+' conftest.er1 >conftest.err
20238 rm -f conftest.er1
20239 cat conftest.err >&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } &&
20242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244 (eval $ac_try) 2>&5
20245 ac_status=$?
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); }; } &&
20248 { ac_try='test -s conftest.$ac_objext'
20249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250 (eval $ac_try) 2>&5
20251 ac_status=$?
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; }; then
20254 # It does; now see whether it defined to BIG_ENDIAN or not.
20255 cat >conftest.$ac_ext <<_ACEOF
20256 /* confdefs.h. */
20257 _ACEOF
20258 cat confdefs.h >>conftest.$ac_ext
20259 cat >>conftest.$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20261 #include <sys/types.h>
20262 #include <sys/param.h>
20263 int
20264 main ()
20265 {
20266
20267 #if BYTE_ORDER != BIG_ENDIAN
20268 not big endian
20269 #endif
20270 ;
20271 return 0;
20272 }
20273 _ACEOF
20274 rm -f conftest.$ac_objext
20275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20276 (eval $ac_compile) 2>conftest.er1
20277 ac_status=$?
20278 grep -v '^ *+' conftest.er1 >conftest.err
20279 rm -f conftest.er1
20280 cat conftest.err >&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); } &&
20283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20285 (eval $ac_try) 2>&5
20286 ac_status=$?
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); }; } &&
20289 { ac_try='test -s conftest.$ac_objext'
20290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20291 (eval $ac_try) 2>&5
20292 ac_status=$?
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); }; }; then
20295 ac_cv_c_bigendian=yes
20296 else
20297 echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.$ac_ext >&5
20299
20300 ac_cv_c_bigendian=no
20301 fi
20302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20303 else
20304 echo "$as_me: failed program was:" >&5
20305 sed 's/^/| /' conftest.$ac_ext >&5
20306
20307 fi
20308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20309 if test $ac_cv_c_bigendian = unknown; then
20310 if test "$cross_compiling" = yes; then
20311 ac_cv_c_bigendian=unknown
20312 else
20313 cat >conftest.$ac_ext <<_ACEOF
20314 /* confdefs.h. */
20315 _ACEOF
20316 cat confdefs.h >>conftest.$ac_ext
20317 cat >>conftest.$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 main () {
20320 /* Are we little or big endian? From Harbison&Steele. */
20321 union
20322 {
20323 long l;
20324 char c[sizeof (long)];
20325 } u;
20326 u.l = 1;
20327 exit (u.c[sizeof (long) - 1] == 1);
20328 }
20329 _ACEOF
20330 rm -f conftest$ac_exeext
20331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20332 (eval $ac_link) 2>&5
20333 ac_status=$?
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20337 (eval $ac_try) 2>&5
20338 ac_status=$?
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340 (exit $ac_status); }; }; then
20341 ac_cv_c_bigendian=no
20342 else
20343 echo "$as_me: program exited with status $ac_status" >&5
20344 echo "$as_me: failed program was:" >&5
20345 sed 's/^/| /' conftest.$ac_ext >&5
20346
20347 ( exit $ac_status )
20348 ac_cv_c_bigendian=yes
20349 fi
20350 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20351 fi
20352 fi
20353 fi
20354 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20355 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20356 if test $ac_cv_c_bigendian = unknown; then
20357 { 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
20358 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;}
20359 fi
20360 if test $ac_cv_c_bigendian = yes; then
20361 cat >>confdefs.h <<\_ACEOF
20362 #define WORDS_BIGENDIAN 1
20363 _ACEOF
20364
20365 fi
20366
20367
20368 ac_ext=cc
20369 ac_cpp='$CXXCPP $CPPFLAGS'
20370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20373 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20374 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20375 if test -z "$CXXCPP"; then
20376 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20377 echo $ECHO_N "(cached) $ECHO_C" >&6
20378 else
20379 # Double quotes because CXXCPP needs to be expanded
20380 for CXXCPP in "$CXX -E" "/lib/cpp"
20381 do
20382 ac_preproc_ok=false
20383 for ac_cxx_preproc_warn_flag in '' yes
20384 do
20385 # Use a header file that comes with gcc, so configuring glibc
20386 # with a fresh cross-compiler works.
20387 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20388 # <limits.h> exists even on freestanding compilers.
20389 # On the NeXT, cc -E runs the code through the compiler's parser,
20390 # not just through cpp. "Syntax error" is here to catch this case.
20391 cat >conftest.$ac_ext <<_ACEOF
20392 /* confdefs.h. */
20393 _ACEOF
20394 cat confdefs.h >>conftest.$ac_ext
20395 cat >>conftest.$ac_ext <<_ACEOF
20396 /* end confdefs.h. */
20397 #ifdef __STDC__
20398 # include <limits.h>
20399 #else
20400 # include <assert.h>
20401 #endif
20402 Syntax error
20403 _ACEOF
20404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20405 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20406 ac_status=$?
20407 grep -v '^ *+' conftest.er1 >conftest.err
20408 rm -f conftest.er1
20409 cat conftest.err >&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } >/dev/null; then
20412 if test -s conftest.err; then
20413 ac_cpp_err=$ac_cxx_preproc_warn_flag
20414 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20415 else
20416 ac_cpp_err=
20417 fi
20418 else
20419 ac_cpp_err=yes
20420 fi
20421 if test -z "$ac_cpp_err"; then
20422 :
20423 else
20424 echo "$as_me: failed program was:" >&5
20425 sed 's/^/| /' conftest.$ac_ext >&5
20426
20427 # Broken: fails on valid input.
20428 continue
20429 fi
20430 rm -f conftest.err conftest.$ac_ext
20431
20432 # OK, works on sane cases. Now check whether non-existent headers
20433 # can be detected and how.
20434 cat >conftest.$ac_ext <<_ACEOF
20435 /* confdefs.h. */
20436 _ACEOF
20437 cat confdefs.h >>conftest.$ac_ext
20438 cat >>conftest.$ac_ext <<_ACEOF
20439 /* end confdefs.h. */
20440 #include <ac_nonexistent.h>
20441 _ACEOF
20442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20443 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20444 ac_status=$?
20445 grep -v '^ *+' conftest.er1 >conftest.err
20446 rm -f conftest.er1
20447 cat conftest.err >&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } >/dev/null; then
20450 if test -s conftest.err; then
20451 ac_cpp_err=$ac_cxx_preproc_warn_flag
20452 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20453 else
20454 ac_cpp_err=
20455 fi
20456 else
20457 ac_cpp_err=yes
20458 fi
20459 if test -z "$ac_cpp_err"; then
20460 # Broken: success on invalid input.
20461 continue
20462 else
20463 echo "$as_me: failed program was:" >&5
20464 sed 's/^/| /' conftest.$ac_ext >&5
20465
20466 # Passes both tests.
20467 ac_preproc_ok=:
20468 break
20469 fi
20470 rm -f conftest.err conftest.$ac_ext
20471
20472 done
20473 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20474 rm -f conftest.err conftest.$ac_ext
20475 if $ac_preproc_ok; then
20476 break
20477 fi
20478
20479 done
20480 ac_cv_prog_CXXCPP=$CXXCPP
20481
20482 fi
20483 CXXCPP=$ac_cv_prog_CXXCPP
20484 else
20485 ac_cv_prog_CXXCPP=$CXXCPP
20486 fi
20487 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20488 echo "${ECHO_T}$CXXCPP" >&6
20489 ac_preproc_ok=false
20490 for ac_cxx_preproc_warn_flag in '' yes
20491 do
20492 # Use a header file that comes with gcc, so configuring glibc
20493 # with a fresh cross-compiler works.
20494 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20495 # <limits.h> exists even on freestanding compilers.
20496 # On the NeXT, cc -E runs the code through the compiler's parser,
20497 # not just through cpp. "Syntax error" is here to catch this case.
20498 cat >conftest.$ac_ext <<_ACEOF
20499 /* confdefs.h. */
20500 _ACEOF
20501 cat confdefs.h >>conftest.$ac_ext
20502 cat >>conftest.$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20504 #ifdef __STDC__
20505 # include <limits.h>
20506 #else
20507 # include <assert.h>
20508 #endif
20509 Syntax error
20510 _ACEOF
20511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20512 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20513 ac_status=$?
20514 grep -v '^ *+' conftest.er1 >conftest.err
20515 rm -f conftest.er1
20516 cat conftest.err >&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); } >/dev/null; then
20519 if test -s conftest.err; then
20520 ac_cpp_err=$ac_cxx_preproc_warn_flag
20521 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20522 else
20523 ac_cpp_err=
20524 fi
20525 else
20526 ac_cpp_err=yes
20527 fi
20528 if test -z "$ac_cpp_err"; then
20529 :
20530 else
20531 echo "$as_me: failed program was:" >&5
20532 sed 's/^/| /' conftest.$ac_ext >&5
20533
20534 # Broken: fails on valid input.
20535 continue
20536 fi
20537 rm -f conftest.err conftest.$ac_ext
20538
20539 # OK, works on sane cases. Now check whether non-existent headers
20540 # can be detected and how.
20541 cat >conftest.$ac_ext <<_ACEOF
20542 /* confdefs.h. */
20543 _ACEOF
20544 cat confdefs.h >>conftest.$ac_ext
20545 cat >>conftest.$ac_ext <<_ACEOF
20546 /* end confdefs.h. */
20547 #include <ac_nonexistent.h>
20548 _ACEOF
20549 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20550 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20551 ac_status=$?
20552 grep -v '^ *+' conftest.er1 >conftest.err
20553 rm -f conftest.er1
20554 cat conftest.err >&5
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); } >/dev/null; then
20557 if test -s conftest.err; then
20558 ac_cpp_err=$ac_cxx_preproc_warn_flag
20559 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20560 else
20561 ac_cpp_err=
20562 fi
20563 else
20564 ac_cpp_err=yes
20565 fi
20566 if test -z "$ac_cpp_err"; then
20567 # Broken: success on invalid input.
20568 continue
20569 else
20570 echo "$as_me: failed program was:" >&5
20571 sed 's/^/| /' conftest.$ac_ext >&5
20572
20573 # Passes both tests.
20574 ac_preproc_ok=:
20575 break
20576 fi
20577 rm -f conftest.err conftest.$ac_ext
20578
20579 done
20580 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20581 rm -f conftest.err conftest.$ac_ext
20582 if $ac_preproc_ok; then
20583 :
20584 else
20585 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20586 See \`config.log' for more details." >&5
20587 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20588 See \`config.log' for more details." >&2;}
20589 { (exit 1); exit 1; }; }
20590 fi
20591
20592 ac_ext=cc
20593 ac_cpp='$CXXCPP $CPPFLAGS'
20594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20597
20598
20599
20600
20601
20602 ac_ext=cc
20603 ac_cpp='$CXXCPP $CPPFLAGS'
20604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20607
20608
20609
20610 for ac_header in iostream
20611 do
20612 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20614 echo "$as_me:$LINENO: checking for $ac_header" >&5
20615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20617 echo $ECHO_N "(cached) $ECHO_C" >&6
20618 fi
20619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20621 else
20622 # Is the header compilable?
20623 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20625 cat >conftest.$ac_ext <<_ACEOF
20626 /* confdefs.h. */
20627 _ACEOF
20628 cat confdefs.h >>conftest.$ac_ext
20629 cat >>conftest.$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 $ac_includes_default
20632 #include <$ac_header>
20633 _ACEOF
20634 rm -f conftest.$ac_objext
20635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20636 (eval $ac_compile) 2>conftest.er1
20637 ac_status=$?
20638 grep -v '^ *+' conftest.er1 >conftest.err
20639 rm -f conftest.er1
20640 cat conftest.err >&5
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); } &&
20643 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20645 (eval $ac_try) 2>&5
20646 ac_status=$?
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); }; } &&
20649 { ac_try='test -s conftest.$ac_objext'
20650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20651 (eval $ac_try) 2>&5
20652 ac_status=$?
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); }; }; then
20655 ac_header_compiler=yes
20656 else
20657 echo "$as_me: failed program was:" >&5
20658 sed 's/^/| /' conftest.$ac_ext >&5
20659
20660 ac_header_compiler=no
20661 fi
20662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20663 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20664 echo "${ECHO_T}$ac_header_compiler" >&6
20665
20666 # Is the header present?
20667 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20668 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20669 cat >conftest.$ac_ext <<_ACEOF
20670 /* confdefs.h. */
20671 _ACEOF
20672 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h. */
20675 #include <$ac_header>
20676 _ACEOF
20677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20678 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20679 ac_status=$?
20680 grep -v '^ *+' conftest.er1 >conftest.err
20681 rm -f conftest.er1
20682 cat conftest.err >&5
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); } >/dev/null; then
20685 if test -s conftest.err; then
20686 ac_cpp_err=$ac_cxx_preproc_warn_flag
20687 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20688 else
20689 ac_cpp_err=
20690 fi
20691 else
20692 ac_cpp_err=yes
20693 fi
20694 if test -z "$ac_cpp_err"; then
20695 ac_header_preproc=yes
20696 else
20697 echo "$as_me: failed program was:" >&5
20698 sed 's/^/| /' conftest.$ac_ext >&5
20699
20700 ac_header_preproc=no
20701 fi
20702 rm -f conftest.err conftest.$ac_ext
20703 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20704 echo "${ECHO_T}$ac_header_preproc" >&6
20705
20706 # So? What about this header?
20707 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20708 yes:no: )
20709 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20710 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20712 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20713 ac_header_preproc=yes
20714 ;;
20715 no:yes:* )
20716 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20717 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20718 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20719 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20720 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20721 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20722 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20723 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20726 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20727 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20728 (
20729 cat <<\_ASBOX
20730 ## ----------------------------------------- ##
20731 ## Report this to wx-dev@lists.wxwidgets.org ##
20732 ## ----------------------------------------- ##
20733 _ASBOX
20734 ) |
20735 sed "s/^/$as_me: WARNING: /" >&2
20736 ;;
20737 esac
20738 echo "$as_me:$LINENO: checking for $ac_header" >&5
20739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20741 echo $ECHO_N "(cached) $ECHO_C" >&6
20742 else
20743 eval "$as_ac_Header=\$ac_header_preproc"
20744 fi
20745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20747
20748 fi
20749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20750 cat >>confdefs.h <<_ACEOF
20751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20752 _ACEOF
20753
20754 fi
20755
20756 done
20757
20758
20759 if test "$ac_cv_header_iostream" = "yes" ; then
20760 :
20761 else
20762 cat >>confdefs.h <<\_ACEOF
20763 #define wxUSE_IOSTREAMH 1
20764 _ACEOF
20765
20766 fi
20767
20768 ac_ext=c
20769 ac_cpp='$CPP $CPPFLAGS'
20770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20773
20774
20775
20776
20777 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20778 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20779 if test "${wx_cv_cpp_bool+set}" = set; then
20780 echo $ECHO_N "(cached) $ECHO_C" >&6
20781 else
20782
20783
20784
20785 ac_ext=cc
20786 ac_cpp='$CXXCPP $CPPFLAGS'
20787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20790
20791
20792 cat >conftest.$ac_ext <<_ACEOF
20793 /* confdefs.h. */
20794 _ACEOF
20795 cat confdefs.h >>conftest.$ac_ext
20796 cat >>conftest.$ac_ext <<_ACEOF
20797 /* end confdefs.h. */
20798
20799
20800 int
20801 main ()
20802 {
20803
20804 bool b = true;
20805
20806 return 0;
20807
20808 ;
20809 return 0;
20810 }
20811 _ACEOF
20812 rm -f conftest.$ac_objext
20813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20814 (eval $ac_compile) 2>conftest.er1
20815 ac_status=$?
20816 grep -v '^ *+' conftest.er1 >conftest.err
20817 rm -f conftest.er1
20818 cat conftest.err >&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } &&
20821 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20823 (eval $ac_try) 2>&5
20824 ac_status=$?
20825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826 (exit $ac_status); }; } &&
20827 { ac_try='test -s conftest.$ac_objext'
20828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20829 (eval $ac_try) 2>&5
20830 ac_status=$?
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); }; }; then
20833
20834 wx_cv_cpp_bool=yes
20835
20836 else
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20839
20840
20841 wx_cv_cpp_bool=no
20842
20843
20844 fi
20845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20846
20847 ac_ext=c
20848 ac_cpp='$CPP $CPPFLAGS'
20849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20852
20853
20854 fi
20855 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20856 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20857
20858 if test "$wx_cv_cpp_bool" = "yes"; then
20859 cat >>confdefs.h <<\_ACEOF
20860 #define HAVE_BOOL 1
20861 _ACEOF
20862
20863 fi
20864
20865
20866
20867 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20868 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20869 if test "${wx_cv_explicit+set}" = set; then
20870 echo $ECHO_N "(cached) $ECHO_C" >&6
20871 else
20872
20873
20874
20875 ac_ext=cc
20876 ac_cpp='$CXXCPP $CPPFLAGS'
20877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20880
20881
20882 cat >conftest.$ac_ext <<_ACEOF
20883 /* confdefs.h. */
20884 _ACEOF
20885 cat confdefs.h >>conftest.$ac_ext
20886 cat >>conftest.$ac_ext <<_ACEOF
20887 /* end confdefs.h. */
20888
20889 class Foo { public: explicit Foo(int) {} };
20890
20891 int
20892 main ()
20893 {
20894
20895 return 0;
20896
20897 ;
20898 return 0;
20899 }
20900 _ACEOF
20901 rm -f conftest.$ac_objext
20902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20903 (eval $ac_compile) 2>conftest.er1
20904 ac_status=$?
20905 grep -v '^ *+' conftest.er1 >conftest.err
20906 rm -f conftest.er1
20907 cat conftest.err >&5
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); } &&
20910 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20912 (eval $ac_try) 2>&5
20913 ac_status=$?
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); }; } &&
20916 { ac_try='test -s conftest.$ac_objext'
20917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20918 (eval $ac_try) 2>&5
20919 ac_status=$?
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); }; }; then
20922
20923 cat >conftest.$ac_ext <<_ACEOF
20924 /* confdefs.h. */
20925 _ACEOF
20926 cat confdefs.h >>conftest.$ac_ext
20927 cat >>conftest.$ac_ext <<_ACEOF
20928 /* end confdefs.h. */
20929
20930 class Foo { public: explicit Foo(int) {} };
20931 static void TakeFoo(const Foo& foo) { }
20932
20933 int
20934 main ()
20935 {
20936
20937 TakeFoo(17);
20938 return 0;
20939
20940 ;
20941 return 0;
20942 }
20943 _ACEOF
20944 rm -f conftest.$ac_objext
20945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20946 (eval $ac_compile) 2>conftest.er1
20947 ac_status=$?
20948 grep -v '^ *+' conftest.er1 >conftest.err
20949 rm -f conftest.er1
20950 cat conftest.err >&5
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); } &&
20953 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20955 (eval $ac_try) 2>&5
20956 ac_status=$?
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); }; } &&
20959 { ac_try='test -s conftest.$ac_objext'
20960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20961 (eval $ac_try) 2>&5
20962 ac_status=$?
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); }; }; then
20965 wx_cv_explicit=no
20966 else
20967 echo "$as_me: failed program was:" >&5
20968 sed 's/^/| /' conftest.$ac_ext >&5
20969
20970 wx_cv_explicit=yes
20971
20972 fi
20973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20974
20975 else
20976 echo "$as_me: failed program was:" >&5
20977 sed 's/^/| /' conftest.$ac_ext >&5
20978
20979 wx_cv_explicit=no
20980
20981 fi
20982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20983
20984 ac_ext=c
20985 ac_cpp='$CPP $CPPFLAGS'
20986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20989
20990
20991 fi
20992 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20993 echo "${ECHO_T}$wx_cv_explicit" >&6
20994
20995 if test "$wx_cv_explicit" = "yes"; then
20996 cat >>confdefs.h <<\_ACEOF
20997 #define HAVE_EXPLICIT 1
20998 _ACEOF
20999
21000 fi
21001
21002
21003 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21004 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21005 if test "${ac_cv_cxx_const_cast+set}" = set; then
21006 echo $ECHO_N "(cached) $ECHO_C" >&6
21007 else
21008
21009
21010 ac_ext=cc
21011 ac_cpp='$CXXCPP $CPPFLAGS'
21012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21015
21016 cat >conftest.$ac_ext <<_ACEOF
21017 /* confdefs.h. */
21018 _ACEOF
21019 cat confdefs.h >>conftest.$ac_ext
21020 cat >>conftest.$ac_ext <<_ACEOF
21021 /* end confdefs.h. */
21022
21023 int
21024 main ()
21025 {
21026 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21027 ;
21028 return 0;
21029 }
21030 _ACEOF
21031 rm -f conftest.$ac_objext
21032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21033 (eval $ac_compile) 2>conftest.er1
21034 ac_status=$?
21035 grep -v '^ *+' conftest.er1 >conftest.err
21036 rm -f conftest.er1
21037 cat conftest.err >&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); } &&
21040 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21042 (eval $ac_try) 2>&5
21043 ac_status=$?
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); }; } &&
21046 { ac_try='test -s conftest.$ac_objext'
21047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21048 (eval $ac_try) 2>&5
21049 ac_status=$?
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); }; }; then
21052 ac_cv_cxx_const_cast=yes
21053 else
21054 echo "$as_me: failed program was:" >&5
21055 sed 's/^/| /' conftest.$ac_ext >&5
21056
21057 ac_cv_cxx_const_cast=no
21058 fi
21059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21060 ac_ext=c
21061 ac_cpp='$CPP $CPPFLAGS'
21062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21065
21066
21067 fi
21068 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21069 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21070 if test "$ac_cv_cxx_const_cast" = yes; then
21071
21072 cat >>confdefs.h <<\_ACEOF
21073 #define HAVE_CONST_CAST
21074 _ACEOF
21075
21076 fi
21077
21078 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21079 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21080 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21081 echo $ECHO_N "(cached) $ECHO_C" >&6
21082 else
21083
21084
21085 ac_ext=cc
21086 ac_cpp='$CXXCPP $CPPFLAGS'
21087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21090
21091 cat >conftest.$ac_ext <<_ACEOF
21092 /* confdefs.h. */
21093 _ACEOF
21094 cat confdefs.h >>conftest.$ac_ext
21095 cat >>conftest.$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 #include <typeinfo>
21098 class Base { public : Base () {} virtual void f () = 0;};
21099 class Derived : public Base { public : Derived () {} virtual void f () {} };
21100 class Unrelated { public : Unrelated () {} };
21101 int g (Unrelated&) { return 0; }
21102 int
21103 main ()
21104 {
21105
21106 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21107 ;
21108 return 0;
21109 }
21110 _ACEOF
21111 rm -f conftest.$ac_objext
21112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21113 (eval $ac_compile) 2>conftest.er1
21114 ac_status=$?
21115 grep -v '^ *+' conftest.er1 >conftest.err
21116 rm -f conftest.er1
21117 cat conftest.err >&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); } &&
21120 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21122 (eval $ac_try) 2>&5
21123 ac_status=$?
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); }; } &&
21126 { ac_try='test -s conftest.$ac_objext'
21127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21128 (eval $ac_try) 2>&5
21129 ac_status=$?
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); }; }; then
21132 ac_cv_cxx_reinterpret_cast=yes
21133 else
21134 echo "$as_me: failed program was:" >&5
21135 sed 's/^/| /' conftest.$ac_ext >&5
21136
21137 ac_cv_cxx_reinterpret_cast=no
21138 fi
21139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21140 ac_ext=c
21141 ac_cpp='$CPP $CPPFLAGS'
21142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21145
21146
21147 fi
21148 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21149 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21150 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21151
21152 cat >>confdefs.h <<\_ACEOF
21153 #define HAVE_REINTERPRET_CAST
21154 _ACEOF
21155
21156 fi
21157
21158 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21159 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21160 if test "${ac_cv_cxx_static_cast+set}" = set; then
21161 echo $ECHO_N "(cached) $ECHO_C" >&6
21162 else
21163
21164
21165 ac_ext=cc
21166 ac_cpp='$CXXCPP $CPPFLAGS'
21167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21170
21171 cat >conftest.$ac_ext <<_ACEOF
21172 /* confdefs.h. */
21173 _ACEOF
21174 cat confdefs.h >>conftest.$ac_ext
21175 cat >>conftest.$ac_ext <<_ACEOF
21176 /* end confdefs.h. */
21177 #include <typeinfo>
21178 class Base { public : Base () {} virtual void f () = 0; };
21179 class Derived : public Base { public : Derived () {} virtual void f () {} };
21180 int g (Derived&) { return 0; }
21181 int
21182 main ()
21183 {
21184
21185 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21186 ;
21187 return 0;
21188 }
21189 _ACEOF
21190 rm -f conftest.$ac_objext
21191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21192 (eval $ac_compile) 2>conftest.er1
21193 ac_status=$?
21194 grep -v '^ *+' conftest.er1 >conftest.err
21195 rm -f conftest.er1
21196 cat conftest.err >&5
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); } &&
21199 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21201 (eval $ac_try) 2>&5
21202 ac_status=$?
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); }; } &&
21205 { ac_try='test -s conftest.$ac_objext'
21206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21207 (eval $ac_try) 2>&5
21208 ac_status=$?
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; }; then
21211 ac_cv_cxx_static_cast=yes
21212 else
21213 echo "$as_me: failed program was:" >&5
21214 sed 's/^/| /' conftest.$ac_ext >&5
21215
21216 ac_cv_cxx_static_cast=no
21217 fi
21218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21219 ac_ext=c
21220 ac_cpp='$CPP $CPPFLAGS'
21221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21224
21225
21226 fi
21227 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21228 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21229 if test "$ac_cv_cxx_static_cast" = yes; then
21230
21231 cat >>confdefs.h <<\_ACEOF
21232 #define HAVE_STATIC_CAST
21233 _ACEOF
21234
21235 fi
21236
21237
21238 if test "$wxUSE_UNICODE" = "yes" -a \
21239 \( "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes" \); then
21240 ac_ext=cc
21241 ac_cpp='$CXXCPP $CPPFLAGS'
21242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21245
21246
21247 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21248 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
21249 cat >conftest.$ac_ext <<_ACEOF
21250 /* confdefs.h. */
21251 _ACEOF
21252 cat confdefs.h >>conftest.$ac_ext
21253 cat >>conftest.$ac_ext <<_ACEOF
21254 /* end confdefs.h. */
21255 #include <string>
21256 int
21257 main ()
21258 {
21259 std::wstring foo;
21260 ;
21261 return 0;
21262 }
21263 _ACEOF
21264 rm -f conftest.$ac_objext
21265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21266 (eval $ac_compile) 2>conftest.er1
21267 ac_status=$?
21268 grep -v '^ *+' conftest.er1 >conftest.err
21269 rm -f conftest.er1
21270 cat conftest.err >&5
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); } &&
21273 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21275 (eval $ac_try) 2>&5
21276 ac_status=$?
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); }; } &&
21279 { ac_try='test -s conftest.$ac_objext'
21280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21281 (eval $ac_try) 2>&5
21282 ac_status=$?
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); }; }; then
21285 echo "$as_me:$LINENO: result: yes" >&5
21286 echo "${ECHO_T}yes" >&6
21287 cat >>confdefs.h <<\_ACEOF
21288 #define HAVE_STD_WSTRING 1
21289 _ACEOF
21290
21291 else
21292 echo "$as_me: failed program was:" >&5
21293 sed 's/^/| /' conftest.$ac_ext >&5
21294
21295 echo "$as_me:$LINENO: result: no" >&5
21296 echo "${ECHO_T}no" >&6
21297 echo "$as_me:$LINENO: checking if std::basic_string<wchar_t> works" >&5
21298 echo $ECHO_N "checking if std::basic_string<wchar_t> works... $ECHO_C" >&6
21299 cat >conftest.$ac_ext <<_ACEOF
21300 /* confdefs.h. */
21301 _ACEOF
21302 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305
21306 #ifdef HAVE_WCHAR_H
21307 # ifdef __CYGWIN__
21308 # include <stddef.h>
21309 # endif
21310 # include <wchar.h>
21311 #endif
21312 #ifdef HAVE_STDLIB_H
21313 # include <stdlib.h>
21314 #endif
21315 #include <stdio.h>
21316 #include <string>
21317
21318 int
21319 main ()
21320 {
21321 std::basic_string<wchar_t> foo;
21322 const wchar_t* dummy = foo.c_str();
21323 ;
21324 return 0;
21325 }
21326 _ACEOF
21327 rm -f conftest.$ac_objext
21328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21329 (eval $ac_compile) 2>conftest.er1
21330 ac_status=$?
21331 grep -v '^ *+' conftest.er1 >conftest.err
21332 rm -f conftest.er1
21333 cat conftest.err >&5
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); } &&
21336 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21338 (eval $ac_try) 2>&5
21339 ac_status=$?
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); }; } &&
21342 { ac_try='test -s conftest.$ac_objext'
21343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21344 (eval $ac_try) 2>&5
21345 ac_status=$?
21346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21347 (exit $ac_status); }; }; then
21348 echo "$as_me:$LINENO: result: yes" >&5
21349 echo "${ECHO_T}yes" >&6
21350 else
21351 echo "$as_me: failed program was:" >&5
21352 sed 's/^/| /' conftest.$ac_ext >&5
21353
21354 echo "$as_me:$LINENO: result: no" >&5
21355 echo "${ECHO_T}no" >&6
21356 { { echo "$as_me:$LINENO: error: Can't compile without unicode string class" >&5
21357 echo "$as_me: error: Can't compile without unicode string class" >&2;}
21358 { (exit 1); exit 1; }; }
21359
21360 fi
21361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21362
21363 fi
21364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21365
21366 ac_ext=c
21367 ac_cpp='$CPP $CPPFLAGS'
21368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21371
21372 fi
21373
21374 if test "$wxUSE_STL" = "yes"; then
21375 ac_ext=cc
21376 ac_cpp='$CXXCPP $CPPFLAGS'
21377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21380
21381
21382 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21383 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21384 cat >conftest.$ac_ext <<_ACEOF
21385 /* confdefs.h. */
21386 _ACEOF
21387 cat confdefs.h >>conftest.$ac_ext
21388 cat >>conftest.$ac_ext <<_ACEOF
21389 /* end confdefs.h. */
21390 #include <string>
21391 #include <functional>
21392 #include <algorithm>
21393 #include <vector>
21394 #include <list>
21395 int
21396 main ()
21397 {
21398 std::vector<int> moo;
21399 std::list<int> foo;
21400 std::vector<int>::iterator it =
21401 std::find_if(moo.begin(), moo.end(),
21402 std::bind2nd(std::less<int>(), 3));
21403 ;
21404 return 0;
21405 }
21406 _ACEOF
21407 rm -f conftest.$ac_objext
21408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21409 (eval $ac_compile) 2>conftest.er1
21410 ac_status=$?
21411 grep -v '^ *+' conftest.er1 >conftest.err
21412 rm -f conftest.er1
21413 cat conftest.err >&5
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21415 (exit $ac_status); } &&
21416 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21418 (eval $ac_try) 2>&5
21419 ac_status=$?
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); }; } &&
21422 { ac_try='test -s conftest.$ac_objext'
21423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21424 (eval $ac_try) 2>&5
21425 ac_status=$?
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); }; }; then
21428 echo "$as_me:$LINENO: result: yes" >&5
21429 echo "${ECHO_T}yes" >&6
21430 else
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.$ac_ext >&5
21433
21434 echo "$as_me:$LINENO: result: no" >&5
21435 echo "${ECHO_T}no" >&6
21436 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21437 echo "$as_me: error: Basic STL functionality missing" >&2;}
21438 { (exit 1); exit 1; }; }
21439 fi
21440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21441
21442 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21443 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21444 cat >conftest.$ac_ext <<_ACEOF
21445 /* confdefs.h. */
21446 _ACEOF
21447 cat confdefs.h >>conftest.$ac_ext
21448 cat >>conftest.$ac_ext <<_ACEOF
21449 /* end confdefs.h. */
21450 #include <string>
21451 int
21452 main ()
21453 {
21454 std::string foo, bar;
21455 foo.compare(bar);
21456 foo.compare(1, 1, bar);
21457 foo.compare(1, 1, bar, 1, 1);
21458 foo.compare("");
21459 foo.compare(1, 1, "");
21460 foo.compare(1, 1, "", 2);
21461 ;
21462 return 0;
21463 }
21464 _ACEOF
21465 rm -f conftest.$ac_objext
21466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21467 (eval $ac_compile) 2>conftest.er1
21468 ac_status=$?
21469 grep -v '^ *+' conftest.er1 >conftest.err
21470 rm -f conftest.er1
21471 cat conftest.err >&5
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); } &&
21474 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21476 (eval $ac_try) 2>&5
21477 ac_status=$?
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); }; } &&
21480 { ac_try='test -s conftest.$ac_objext'
21481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21482 (eval $ac_try) 2>&5
21483 ac_status=$?
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); }; }; then
21486 echo "$as_me:$LINENO: result: yes" >&5
21487 echo "${ECHO_T}yes" >&6
21488 cat >>confdefs.h <<\_ACEOF
21489 #define HAVE_STD_STRING_COMPARE 1
21490 _ACEOF
21491
21492 else
21493 echo "$as_me: failed program was:" >&5
21494 sed 's/^/| /' conftest.$ac_ext >&5
21495
21496 echo "$as_me:$LINENO: result: no" >&5
21497 echo "${ECHO_T}no" >&6
21498 fi
21499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21500
21501 if test "${ac_cv_header_hash_map+set}" = set; then
21502 echo "$as_me:$LINENO: checking for hash_map" >&5
21503 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21504 if test "${ac_cv_header_hash_map+set}" = set; then
21505 echo $ECHO_N "(cached) $ECHO_C" >&6
21506 fi
21507 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21508 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21509 else
21510 # Is the header compilable?
21511 echo "$as_me:$LINENO: checking hash_map usability" >&5
21512 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21513 cat >conftest.$ac_ext <<_ACEOF
21514 /* confdefs.h. */
21515 _ACEOF
21516 cat confdefs.h >>conftest.$ac_ext
21517 cat >>conftest.$ac_ext <<_ACEOF
21518 /* end confdefs.h. */
21519 $ac_includes_default
21520 #include <hash_map>
21521 _ACEOF
21522 rm -f conftest.$ac_objext
21523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21524 (eval $ac_compile) 2>conftest.er1
21525 ac_status=$?
21526 grep -v '^ *+' conftest.er1 >conftest.err
21527 rm -f conftest.er1
21528 cat conftest.err >&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); } &&
21531 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21533 (eval $ac_try) 2>&5
21534 ac_status=$?
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); }; } &&
21537 { ac_try='test -s conftest.$ac_objext'
21538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21539 (eval $ac_try) 2>&5
21540 ac_status=$?
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); }; }; then
21543 ac_header_compiler=yes
21544 else
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.$ac_ext >&5
21547
21548 ac_header_compiler=no
21549 fi
21550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21552 echo "${ECHO_T}$ac_header_compiler" >&6
21553
21554 # Is the header present?
21555 echo "$as_me:$LINENO: checking hash_map presence" >&5
21556 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21557 cat >conftest.$ac_ext <<_ACEOF
21558 /* confdefs.h. */
21559 _ACEOF
21560 cat confdefs.h >>conftest.$ac_ext
21561 cat >>conftest.$ac_ext <<_ACEOF
21562 /* end confdefs.h. */
21563 #include <hash_map>
21564 _ACEOF
21565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21567 ac_status=$?
21568 grep -v '^ *+' conftest.er1 >conftest.err
21569 rm -f conftest.er1
21570 cat conftest.err >&5
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); } >/dev/null; then
21573 if test -s conftest.err; then
21574 ac_cpp_err=$ac_cxx_preproc_warn_flag
21575 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21576 else
21577 ac_cpp_err=
21578 fi
21579 else
21580 ac_cpp_err=yes
21581 fi
21582 if test -z "$ac_cpp_err"; then
21583 ac_header_preproc=yes
21584 else
21585 echo "$as_me: failed program was:" >&5
21586 sed 's/^/| /' conftest.$ac_ext >&5
21587
21588 ac_header_preproc=no
21589 fi
21590 rm -f conftest.err conftest.$ac_ext
21591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21592 echo "${ECHO_T}$ac_header_preproc" >&6
21593
21594 # So? What about this header?
21595 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21596 yes:no: )
21597 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21598 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21599 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21600 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21601 ac_header_preproc=yes
21602 ;;
21603 no:yes:* )
21604 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21605 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21606 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21607 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21608 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21609 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21610 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21611 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21612 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21613 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21614 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21615 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21616 (
21617 cat <<\_ASBOX
21618 ## ----------------------------------------- ##
21619 ## Report this to wx-dev@lists.wxwidgets.org ##
21620 ## ----------------------------------------- ##
21621 _ASBOX
21622 ) |
21623 sed "s/^/$as_me: WARNING: /" >&2
21624 ;;
21625 esac
21626 echo "$as_me:$LINENO: checking for hash_map" >&5
21627 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21628 if test "${ac_cv_header_hash_map+set}" = set; then
21629 echo $ECHO_N "(cached) $ECHO_C" >&6
21630 else
21631 ac_cv_header_hash_map=$ac_header_preproc
21632 fi
21633 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21634 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21635
21636 fi
21637 if test $ac_cv_header_hash_map = yes; then
21638 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21639 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21640 cat >conftest.$ac_ext <<_ACEOF
21641 /* confdefs.h. */
21642 _ACEOF
21643 cat confdefs.h >>conftest.$ac_ext
21644 cat >>conftest.$ac_ext <<_ACEOF
21645 /* end confdefs.h. */
21646 #include <hash_map>
21647 #include <hash_set>
21648 int
21649 main ()
21650 {
21651 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21652 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21653 ;
21654 return 0;
21655 }
21656 _ACEOF
21657 rm -f conftest.$ac_objext
21658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21659 (eval $ac_compile) 2>conftest.er1
21660 ac_status=$?
21661 grep -v '^ *+' conftest.er1 >conftest.err
21662 rm -f conftest.er1
21663 cat conftest.err >&5
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); } &&
21666 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21668 (eval $ac_try) 2>&5
21669 ac_status=$?
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); }; } &&
21672 { ac_try='test -s conftest.$ac_objext'
21673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21674 (eval $ac_try) 2>&5
21675 ac_status=$?
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); }; }; then
21678 echo "$as_me:$LINENO: result: yes" >&5
21679 echo "${ECHO_T}yes" >&6
21680 cat >>confdefs.h <<\_ACEOF
21681 #define HAVE_HASH_MAP 1
21682 _ACEOF
21683
21684 cat >>confdefs.h <<\_ACEOF
21685 #define HAVE_STD_HASH_MAP 1
21686 _ACEOF
21687
21688 else
21689 echo "$as_me: failed program was:" >&5
21690 sed 's/^/| /' conftest.$ac_ext >&5
21691
21692 echo "$as_me:$LINENO: result: no" >&5
21693 echo "${ECHO_T}no" >&6
21694 fi
21695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21696
21697 fi
21698
21699
21700
21701 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21702 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21703 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21704 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21705 echo $ECHO_N "(cached) $ECHO_C" >&6
21706 fi
21707 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21708 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21709 else
21710 # Is the header compilable?
21711 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21712 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21713 cat >conftest.$ac_ext <<_ACEOF
21714 /* confdefs.h. */
21715 _ACEOF
21716 cat confdefs.h >>conftest.$ac_ext
21717 cat >>conftest.$ac_ext <<_ACEOF
21718 /* end confdefs.h. */
21719 $ac_includes_default
21720 #include <ext/hash_map>
21721 _ACEOF
21722 rm -f conftest.$ac_objext
21723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21724 (eval $ac_compile) 2>conftest.er1
21725 ac_status=$?
21726 grep -v '^ *+' conftest.er1 >conftest.err
21727 rm -f conftest.er1
21728 cat conftest.err >&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } &&
21731 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21733 (eval $ac_try) 2>&5
21734 ac_status=$?
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); }; } &&
21737 { ac_try='test -s conftest.$ac_objext'
21738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21739 (eval $ac_try) 2>&5
21740 ac_status=$?
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); }; }; then
21743 ac_header_compiler=yes
21744 else
21745 echo "$as_me: failed program was:" >&5
21746 sed 's/^/| /' conftest.$ac_ext >&5
21747
21748 ac_header_compiler=no
21749 fi
21750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21751 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21752 echo "${ECHO_T}$ac_header_compiler" >&6
21753
21754 # Is the header present?
21755 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21756 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21757 cat >conftest.$ac_ext <<_ACEOF
21758 /* confdefs.h. */
21759 _ACEOF
21760 cat confdefs.h >>conftest.$ac_ext
21761 cat >>conftest.$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21763 #include <ext/hash_map>
21764 _ACEOF
21765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21766 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21767 ac_status=$?
21768 grep -v '^ *+' conftest.er1 >conftest.err
21769 rm -f conftest.er1
21770 cat conftest.err >&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); } >/dev/null; then
21773 if test -s conftest.err; then
21774 ac_cpp_err=$ac_cxx_preproc_warn_flag
21775 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21776 else
21777 ac_cpp_err=
21778 fi
21779 else
21780 ac_cpp_err=yes
21781 fi
21782 if test -z "$ac_cpp_err"; then
21783 ac_header_preproc=yes
21784 else
21785 echo "$as_me: failed program was:" >&5
21786 sed 's/^/| /' conftest.$ac_ext >&5
21787
21788 ac_header_preproc=no
21789 fi
21790 rm -f conftest.err conftest.$ac_ext
21791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21792 echo "${ECHO_T}$ac_header_preproc" >&6
21793
21794 # So? What about this header?
21795 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21796 yes:no: )
21797 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21798 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21799 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21800 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21801 ac_header_preproc=yes
21802 ;;
21803 no:yes:* )
21804 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21805 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21806 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21807 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21808 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21809 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21810 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21811 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21812 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21813 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21814 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21815 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21816 (
21817 cat <<\_ASBOX
21818 ## ----------------------------------------- ##
21819 ## Report this to wx-dev@lists.wxwidgets.org ##
21820 ## ----------------------------------------- ##
21821 _ASBOX
21822 ) |
21823 sed "s/^/$as_me: WARNING: /" >&2
21824 ;;
21825 esac
21826 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21827 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21828 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21829 echo $ECHO_N "(cached) $ECHO_C" >&6
21830 else
21831 ac_cv_header_ext_hash_map=$ac_header_preproc
21832 fi
21833 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21834 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21835
21836 fi
21837 if test $ac_cv_header_ext_hash_map = yes; then
21838 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21839 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21840 cat >conftest.$ac_ext <<_ACEOF
21841 /* confdefs.h. */
21842 _ACEOF
21843 cat confdefs.h >>conftest.$ac_ext
21844 cat >>conftest.$ac_ext <<_ACEOF
21845 /* end confdefs.h. */
21846 #include <ext/hash_map>
21847 #include <ext/hash_set>
21848 int
21849 main ()
21850 {
21851 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21852 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21853 ;
21854 return 0;
21855 }
21856 _ACEOF
21857 rm -f conftest.$ac_objext
21858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21859 (eval $ac_compile) 2>conftest.er1
21860 ac_status=$?
21861 grep -v '^ *+' conftest.er1 >conftest.err
21862 rm -f conftest.er1
21863 cat conftest.err >&5
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); } &&
21866 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21868 (eval $ac_try) 2>&5
21869 ac_status=$?
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); }; } &&
21872 { ac_try='test -s conftest.$ac_objext'
21873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21874 (eval $ac_try) 2>&5
21875 ac_status=$?
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); }; }; then
21878 echo "$as_me:$LINENO: result: yes" >&5
21879 echo "${ECHO_T}yes" >&6
21880 cat >>confdefs.h <<\_ACEOF
21881 #define HAVE_EXT_HASH_MAP 1
21882 _ACEOF
21883
21884 cat >>confdefs.h <<\_ACEOF
21885 #define HAVE_GNU_CXX_HASH_MAP 1
21886 _ACEOF
21887
21888 else
21889 echo "$as_me: failed program was:" >&5
21890 sed 's/^/| /' conftest.$ac_ext >&5
21891
21892 echo "$as_me:$LINENO: result: no" >&5
21893 echo "${ECHO_T}no" >&6
21894 fi
21895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21896
21897 fi
21898
21899
21900
21901 ac_ext=c
21902 ac_cpp='$CPP $CPPFLAGS'
21903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21906
21907 fi
21908
21909
21910 SEARCH_INCLUDE="\
21911 /usr/local/include \
21912 \
21913 /usr/Motif-2.1/include \
21914 /usr/Motif-1.2/include \
21915 /usr/include/Motif1.2 \
21916 /opt/xpm/include/X11 \
21917 /opt/GBxpm/include/ \
21918 /opt/GBxpm/X11/include/ \
21919 \
21920 /usr/dt/include \
21921 /usr/openwin/include \
21922 \
21923 /usr/include/Xm \
21924 \
21925 /usr/X11R6/include \
21926 /usr/X11R6.4/include \
21927 /usr/X11R5/include \
21928 /usr/X11R4/include \
21929 \
21930 /usr/include/X11R6 \
21931 /usr/include/X11R5 \
21932 /usr/include/X11R4 \
21933 \
21934 /usr/local/X11R6/include \
21935 /usr/local/X11R5/include \
21936 /usr/local/X11R4/include \
21937 \
21938 /usr/local/include/X11R6 \
21939 /usr/local/include/X11R5 \
21940 /usr/local/include/X11R4 \
21941 \
21942 /usr/X11/include \
21943 /usr/include/X11 \
21944 /usr/local/X11/include \
21945 /usr/local/include/X11 \
21946 \
21947 /usr/X386/include \
21948 /usr/x386/include \
21949 /usr/XFree86/include/X11 \
21950 \
21951 X:/XFree86/include \
21952 X:/XFree86/include/X11 \
21953 \
21954 /usr/include/gtk \
21955 /usr/local/include/gtk \
21956 /usr/include/glib \
21957 /usr/local/include/glib \
21958 \
21959 /usr/include/qt \
21960 /usr/local/include/qt \
21961 \
21962 /usr/local/arm/3.3.2/include \
21963 \
21964 /usr/include/windows \
21965 /usr/include/wine \
21966 /usr/local/include/wine \
21967 \
21968 /usr/unsupported/include \
21969 /usr/athena/include \
21970 /usr/local/x11r5/include \
21971 /usr/lpp/Xamples/include \
21972 \
21973 /usr/openwin/share/include"
21974
21975 SEARCH_LIB="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
21976
21977
21978 cat >confcache <<\_ACEOF
21979 # This file is a shell script that caches the results of configure
21980 # tests run on this system so they can be shared between configure
21981 # scripts and configure runs, see configure's option --config-cache.
21982 # It is not useful on other systems. If it contains results you don't
21983 # want to keep, you may remove or edit it.
21984 #
21985 # config.status only pays attention to the cache file if you give it
21986 # the --recheck option to rerun configure.
21987 #
21988 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21989 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21990 # following values.
21991
21992 _ACEOF
21993
21994 # The following way of writing the cache mishandles newlines in values,
21995 # but we know of no workaround that is simple, portable, and efficient.
21996 # So, don't put newlines in cache variables' values.
21997 # Ultrix sh set writes to stderr and can't be redirected directly,
21998 # and sets the high bit in the cache file unless we assign to the vars.
21999 {
22000 (set) 2>&1 |
22001 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22002 *ac_space=\ *)
22003 # `set' does not quote correctly, so add quotes (double-quote
22004 # substitution turns \\\\ into \\, and sed turns \\ into \).
22005 sed -n \
22006 "s/'/'\\\\''/g;
22007 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22008 ;;
22009 *)
22010 # `set' quotes correctly as required by POSIX, so do not add quotes.
22011 sed -n \
22012 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22013 ;;
22014 esac;
22015 } |
22016 sed '
22017 t clear
22018 : clear
22019 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22020 t end
22021 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22022 : end' >>confcache
22023 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22024 if test -w $cache_file; then
22025 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22026 cat confcache >$cache_file
22027 else
22028 echo "not updating unwritable cache $cache_file"
22029 fi
22030 fi
22031 rm -f confcache
22032
22033 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22034 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22035 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22036 if test "${wx_cv_lib_glibc21+set}" = set; then
22037 echo $ECHO_N "(cached) $ECHO_C" >&6
22038 else
22039
22040 cat >conftest.$ac_ext <<_ACEOF
22041 /* confdefs.h. */
22042 _ACEOF
22043 cat confdefs.h >>conftest.$ac_ext
22044 cat >>conftest.$ac_ext <<_ACEOF
22045 /* end confdefs.h. */
22046 #include <features.h>
22047 int
22048 main ()
22049 {
22050
22051 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22052 #error not glibc2.1
22053 #endif
22054
22055 ;
22056 return 0;
22057 }
22058 _ACEOF
22059 rm -f conftest.$ac_objext
22060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22061 (eval $ac_compile) 2>conftest.er1
22062 ac_status=$?
22063 grep -v '^ *+' conftest.er1 >conftest.err
22064 rm -f conftest.er1
22065 cat conftest.err >&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } &&
22068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22070 (eval $ac_try) 2>&5
22071 ac_status=$?
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); }; } &&
22074 { ac_try='test -s conftest.$ac_objext'
22075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22076 (eval $ac_try) 2>&5
22077 ac_status=$?
22078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22079 (exit $ac_status); }; }; then
22080
22081 wx_cv_lib_glibc21=yes
22082
22083 else
22084 echo "$as_me: failed program was:" >&5
22085 sed 's/^/| /' conftest.$ac_ext >&5
22086
22087
22088 wx_cv_lib_glibc21=no
22089
22090
22091 fi
22092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22093
22094 fi
22095 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22096 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22097 if test "$wx_cv_lib_glibc21" = "yes"; then
22098 cat >>confdefs.h <<\_ACEOF
22099 #define wxHAVE_GLIBC2 1
22100 _ACEOF
22101
22102 fi
22103 fi
22104
22105 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22106 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22107 cat >>confdefs.h <<\_ACEOF
22108 #define _GNU_SOURCE 1
22109 _ACEOF
22110
22111 fi
22112 fi
22113
22114
22115
22116 if test "$wxUSE_REGEX" != "no"; then
22117 cat >>confdefs.h <<\_ACEOF
22118 #define wxUSE_REGEX 1
22119 _ACEOF
22120
22121
22122 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22123 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22124 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22125 wxUSE_REGEX=builtin
22126 fi
22127
22128 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22129 if test "${ac_cv_header_regex_h+set}" = set; then
22130 echo "$as_me:$LINENO: checking for regex.h" >&5
22131 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22132 if test "${ac_cv_header_regex_h+set}" = set; then
22133 echo $ECHO_N "(cached) $ECHO_C" >&6
22134 fi
22135 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22136 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22137 else
22138 # Is the header compilable?
22139 echo "$as_me:$LINENO: checking regex.h usability" >&5
22140 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22141 cat >conftest.$ac_ext <<_ACEOF
22142 /* confdefs.h. */
22143 _ACEOF
22144 cat confdefs.h >>conftest.$ac_ext
22145 cat >>conftest.$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22147 $ac_includes_default
22148 #include <regex.h>
22149 _ACEOF
22150 rm -f conftest.$ac_objext
22151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22152 (eval $ac_compile) 2>conftest.er1
22153 ac_status=$?
22154 grep -v '^ *+' conftest.er1 >conftest.err
22155 rm -f conftest.er1
22156 cat conftest.err >&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); } &&
22159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22161 (eval $ac_try) 2>&5
22162 ac_status=$?
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); }; } &&
22165 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
22171 ac_header_compiler=yes
22172 else
22173 echo "$as_me: failed program was:" >&5
22174 sed 's/^/| /' conftest.$ac_ext >&5
22175
22176 ac_header_compiler=no
22177 fi
22178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22179 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22180 echo "${ECHO_T}$ac_header_compiler" >&6
22181
22182 # Is the header present?
22183 echo "$as_me:$LINENO: checking regex.h presence" >&5
22184 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22185 cat >conftest.$ac_ext <<_ACEOF
22186 /* confdefs.h. */
22187 _ACEOF
22188 cat confdefs.h >>conftest.$ac_ext
22189 cat >>conftest.$ac_ext <<_ACEOF
22190 /* end confdefs.h. */
22191 #include <regex.h>
22192 _ACEOF
22193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22194 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22195 ac_status=$?
22196 grep -v '^ *+' conftest.er1 >conftest.err
22197 rm -f conftest.er1
22198 cat conftest.err >&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); } >/dev/null; then
22201 if test -s conftest.err; then
22202 ac_cpp_err=$ac_c_preproc_warn_flag
22203 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22204 else
22205 ac_cpp_err=
22206 fi
22207 else
22208 ac_cpp_err=yes
22209 fi
22210 if test -z "$ac_cpp_err"; then
22211 ac_header_preproc=yes
22212 else
22213 echo "$as_me: failed program was:" >&5
22214 sed 's/^/| /' conftest.$ac_ext >&5
22215
22216 ac_header_preproc=no
22217 fi
22218 rm -f conftest.err conftest.$ac_ext
22219 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22220 echo "${ECHO_T}$ac_header_preproc" >&6
22221
22222 # So? What about this header?
22223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22224 yes:no: )
22225 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22226 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22227 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22228 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22229 ac_header_preproc=yes
22230 ;;
22231 no:yes:* )
22232 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22233 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22234 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22235 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22236 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22237 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22238 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22239 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22240 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22241 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22242 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22243 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22244 (
22245 cat <<\_ASBOX
22246 ## ----------------------------------------- ##
22247 ## Report this to wx-dev@lists.wxwidgets.org ##
22248 ## ----------------------------------------- ##
22249 _ASBOX
22250 ) |
22251 sed "s/^/$as_me: WARNING: /" >&2
22252 ;;
22253 esac
22254 echo "$as_me:$LINENO: checking for regex.h" >&5
22255 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22256 if test "${ac_cv_header_regex_h+set}" = set; then
22257 echo $ECHO_N "(cached) $ECHO_C" >&6
22258 else
22259 ac_cv_header_regex_h=$ac_header_preproc
22260 fi
22261 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22262 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22263
22264 fi
22265 if test $ac_cv_header_regex_h = yes; then
22266
22267 for ac_func in regcomp
22268 do
22269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22270 echo "$as_me:$LINENO: checking for $ac_func" >&5
22271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22272 if eval "test \"\${$as_ac_var+set}\" = set"; then
22273 echo $ECHO_N "(cached) $ECHO_C" >&6
22274 else
22275 cat >conftest.$ac_ext <<_ACEOF
22276 /* confdefs.h. */
22277 _ACEOF
22278 cat confdefs.h >>conftest.$ac_ext
22279 cat >>conftest.$ac_ext <<_ACEOF
22280 /* end confdefs.h. */
22281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22283 #define $ac_func innocuous_$ac_func
22284
22285 /* System header to define __stub macros and hopefully few prototypes,
22286 which can conflict with char $ac_func (); below.
22287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22288 <limits.h> exists even on freestanding compilers. */
22289
22290 #ifdef __STDC__
22291 # include <limits.h>
22292 #else
22293 # include <assert.h>
22294 #endif
22295
22296 #undef $ac_func
22297
22298 /* Override any gcc2 internal prototype to avoid an error. */
22299 #ifdef __cplusplus
22300 extern "C"
22301 {
22302 #endif
22303 /* We use char because int might match the return type of a gcc2
22304 builtin and then its argument prototype would still apply. */
22305 char $ac_func ();
22306 /* The GNU C library defines this for functions which it implements
22307 to always fail with ENOSYS. Some functions are actually named
22308 something starting with __ and the normal name is an alias. */
22309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22310 choke me
22311 #else
22312 char (*f) () = $ac_func;
22313 #endif
22314 #ifdef __cplusplus
22315 }
22316 #endif
22317
22318 int
22319 main ()
22320 {
22321 return f != $ac_func;
22322 ;
22323 return 0;
22324 }
22325 _ACEOF
22326 rm -f conftest.$ac_objext conftest$ac_exeext
22327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22328 (eval $ac_link) 2>conftest.er1
22329 ac_status=$?
22330 grep -v '^ *+' conftest.er1 >conftest.err
22331 rm -f conftest.er1
22332 cat conftest.err >&5
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); } &&
22335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22337 (eval $ac_try) 2>&5
22338 ac_status=$?
22339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22340 (exit $ac_status); }; } &&
22341 { ac_try='test -s conftest$ac_exeext'
22342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22343 (eval $ac_try) 2>&5
22344 ac_status=$?
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); }; }; then
22347 eval "$as_ac_var=yes"
22348 else
22349 echo "$as_me: failed program was:" >&5
22350 sed 's/^/| /' conftest.$ac_ext >&5
22351
22352 eval "$as_ac_var=no"
22353 fi
22354 rm -f conftest.err conftest.$ac_objext \
22355 conftest$ac_exeext conftest.$ac_ext
22356 fi
22357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22359 if test `eval echo '${'$as_ac_var'}'` = yes; then
22360 cat >>confdefs.h <<_ACEOF
22361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22362 _ACEOF
22363
22364 fi
22365 done
22366
22367 fi
22368
22369
22370
22371 if test "x$ac_cv_func_regcomp" != "xyes"; then
22372 if test "$wxUSE_REGEX" = "sys" ; then
22373 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22374 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22375 { (exit 1); exit 1; }; }
22376 else
22377 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22378 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22379 wxUSE_REGEX=builtin
22380 fi
22381 else
22382 wxUSE_REGEX=sys
22383 cat >>confdefs.h <<\_ACEOF
22384 #define WX_NO_REGEX_ADVANCED 1
22385 _ACEOF
22386
22387 fi
22388 fi
22389 fi
22390
22391
22392 ZLIB_LINK=
22393 if test "$wxUSE_ZLIB" != "no" ; then
22394 cat >>confdefs.h <<\_ACEOF
22395 #define wxUSE_ZLIB 1
22396 _ACEOF
22397
22398
22399 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22400 if test "$USE_DARWIN" = 1; then
22401 system_zlib_h_ok="yes"
22402 else
22403 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22404 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22405 if test "${ac_cv_header_zlib_h+set}" = set; then
22406 echo $ECHO_N "(cached) $ECHO_C" >&6
22407 else
22408 if test "$cross_compiling" = yes; then
22409 unset ac_cv_header_zlib_h
22410
22411 else
22412 cat >conftest.$ac_ext <<_ACEOF
22413 /* confdefs.h. */
22414 _ACEOF
22415 cat confdefs.h >>conftest.$ac_ext
22416 cat >>conftest.$ac_ext <<_ACEOF
22417 /* end confdefs.h. */
22418
22419 #include <zlib.h>
22420 #include <stdio.h>
22421
22422 int main()
22423 {
22424 FILE *f=fopen("conftestval", "w");
22425 if (!f) exit(1);
22426 fprintf(f, "%s",
22427 ZLIB_VERSION[0] == '1' &&
22428 (ZLIB_VERSION[2] > '1' ||
22429 (ZLIB_VERSION[2] == '1' &&
22430 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22431 exit(0);
22432 }
22433
22434 _ACEOF
22435 rm -f conftest$ac_exeext
22436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22437 (eval $ac_link) 2>&5
22438 ac_status=$?
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22442 (eval $ac_try) 2>&5
22443 ac_status=$?
22444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445 (exit $ac_status); }; }; then
22446 ac_cv_header_zlib_h=`cat conftestval`
22447 else
22448 echo "$as_me: program exited with status $ac_status" >&5
22449 echo "$as_me: failed program was:" >&5
22450 sed 's/^/| /' conftest.$ac_ext >&5
22451
22452 ( exit $ac_status )
22453 ac_cv_header_zlib_h=no
22454 fi
22455 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22456 fi
22457
22458 fi
22459 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22460 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22461 if test "${ac_cv_header_zlib_h+set}" = set; then
22462 echo "$as_me:$LINENO: checking for zlib.h" >&5
22463 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22464 if test "${ac_cv_header_zlib_h+set}" = set; then
22465 echo $ECHO_N "(cached) $ECHO_C" >&6
22466 fi
22467 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22468 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22469 else
22470 # Is the header compilable?
22471 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22472 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22473 cat >conftest.$ac_ext <<_ACEOF
22474 /* confdefs.h. */
22475 _ACEOF
22476 cat confdefs.h >>conftest.$ac_ext
22477 cat >>conftest.$ac_ext <<_ACEOF
22478 /* end confdefs.h. */
22479 $ac_includes_default
22480 #include <zlib.h>
22481 _ACEOF
22482 rm -f conftest.$ac_objext
22483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22484 (eval $ac_compile) 2>conftest.er1
22485 ac_status=$?
22486 grep -v '^ *+' conftest.er1 >conftest.err
22487 rm -f conftest.er1
22488 cat conftest.err >&5
22489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22490 (exit $ac_status); } &&
22491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493 (eval $ac_try) 2>&5
22494 ac_status=$?
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; } &&
22497 { ac_try='test -s conftest.$ac_objext'
22498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22499 (eval $ac_try) 2>&5
22500 ac_status=$?
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); }; }; then
22503 ac_header_compiler=yes
22504 else
22505 echo "$as_me: failed program was:" >&5
22506 sed 's/^/| /' conftest.$ac_ext >&5
22507
22508 ac_header_compiler=no
22509 fi
22510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22512 echo "${ECHO_T}$ac_header_compiler" >&6
22513
22514 # Is the header present?
22515 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22516 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22517 cat >conftest.$ac_ext <<_ACEOF
22518 /* confdefs.h. */
22519 _ACEOF
22520 cat confdefs.h >>conftest.$ac_ext
22521 cat >>conftest.$ac_ext <<_ACEOF
22522 /* end confdefs.h. */
22523 #include <zlib.h>
22524 _ACEOF
22525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22526 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22527 ac_status=$?
22528 grep -v '^ *+' conftest.er1 >conftest.err
22529 rm -f conftest.er1
22530 cat conftest.err >&5
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); } >/dev/null; then
22533 if test -s conftest.err; then
22534 ac_cpp_err=$ac_c_preproc_warn_flag
22535 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22536 else
22537 ac_cpp_err=
22538 fi
22539 else
22540 ac_cpp_err=yes
22541 fi
22542 if test -z "$ac_cpp_err"; then
22543 ac_header_preproc=yes
22544 else
22545 echo "$as_me: failed program was:" >&5
22546 sed 's/^/| /' conftest.$ac_ext >&5
22547
22548 ac_header_preproc=no
22549 fi
22550 rm -f conftest.err conftest.$ac_ext
22551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22552 echo "${ECHO_T}$ac_header_preproc" >&6
22553
22554 # So? What about this header?
22555 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22556 yes:no: )
22557 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22558 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22559 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22560 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22561 ac_header_preproc=yes
22562 ;;
22563 no:yes:* )
22564 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22565 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22566 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22567 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22568 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22569 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22570 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22571 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22572 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22573 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22574 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22575 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22576 (
22577 cat <<\_ASBOX
22578 ## ----------------------------------------- ##
22579 ## Report this to wx-dev@lists.wxwidgets.org ##
22580 ## ----------------------------------------- ##
22581 _ASBOX
22582 ) |
22583 sed "s/^/$as_me: WARNING: /" >&2
22584 ;;
22585 esac
22586 echo "$as_me:$LINENO: checking for zlib.h" >&5
22587 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22588 if test "${ac_cv_header_zlib_h+set}" = set; then
22589 echo $ECHO_N "(cached) $ECHO_C" >&6
22590 else
22591 ac_cv_header_zlib_h=$ac_header_preproc
22592 fi
22593 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22594 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22595
22596 fi
22597
22598
22599
22600 system_zlib_h_ok=$ac_cv_header_zlib_h
22601 fi
22602
22603 if test "$system_zlib_h_ok" = "yes"; then
22604 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22605 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22606 if test "${ac_cv_lib_z_deflate+set}" = set; then
22607 echo $ECHO_N "(cached) $ECHO_C" >&6
22608 else
22609 ac_check_lib_save_LIBS=$LIBS
22610 LIBS="-lz $LIBS"
22611 cat >conftest.$ac_ext <<_ACEOF
22612 /* confdefs.h. */
22613 _ACEOF
22614 cat confdefs.h >>conftest.$ac_ext
22615 cat >>conftest.$ac_ext <<_ACEOF
22616 /* end confdefs.h. */
22617
22618 /* Override any gcc2 internal prototype to avoid an error. */
22619 #ifdef __cplusplus
22620 extern "C"
22621 #endif
22622 /* We use char because int might match the return type of a gcc2
22623 builtin and then its argument prototype would still apply. */
22624 char deflate ();
22625 int
22626 main ()
22627 {
22628 deflate ();
22629 ;
22630 return 0;
22631 }
22632 _ACEOF
22633 rm -f conftest.$ac_objext conftest$ac_exeext
22634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22635 (eval $ac_link) 2>conftest.er1
22636 ac_status=$?
22637 grep -v '^ *+' conftest.er1 >conftest.err
22638 rm -f conftest.er1
22639 cat conftest.err >&5
22640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22641 (exit $ac_status); } &&
22642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22644 (eval $ac_try) 2>&5
22645 ac_status=$?
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); }; } &&
22648 { ac_try='test -s conftest$ac_exeext'
22649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22650 (eval $ac_try) 2>&5
22651 ac_status=$?
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); }; }; then
22654 ac_cv_lib_z_deflate=yes
22655 else
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.$ac_ext >&5
22658
22659 ac_cv_lib_z_deflate=no
22660 fi
22661 rm -f conftest.err conftest.$ac_objext \
22662 conftest$ac_exeext conftest.$ac_ext
22663 LIBS=$ac_check_lib_save_LIBS
22664 fi
22665 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22666 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22667 if test $ac_cv_lib_z_deflate = yes; then
22668 ZLIB_LINK=" -lz"
22669 fi
22670
22671 fi
22672
22673 if test "x$ZLIB_LINK" = "x" ; then
22674 if test "$wxUSE_ZLIB" = "sys" ; then
22675 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22676 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22677 { (exit 1); exit 1; }; }
22678 else
22679 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22680 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22681 wxUSE_ZLIB=builtin
22682 fi
22683 else
22684 wxUSE_ZLIB=sys
22685 fi
22686 fi
22687 fi
22688
22689
22690 PNG_LINK=
22691 if test "$wxUSE_LIBPNG" != "no" ; then
22692 cat >>confdefs.h <<\_ACEOF
22693 #define wxUSE_LIBPNG 1
22694 _ACEOF
22695
22696
22697 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22698 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22699 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22700 wxUSE_LIBPNG=sys
22701 fi
22702
22703 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22704 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22705 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22706 wxUSE_LIBPNG=builtin
22707 fi
22708
22709 if test "$wxUSE_MGL" != 1 ; then
22710 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22711 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22712 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22713 if test "${ac_cv_header_png_h+set}" = set; then
22714 echo $ECHO_N "(cached) $ECHO_C" >&6
22715 else
22716 if test "$cross_compiling" = yes; then
22717 unset ac_cv_header_png_h
22718
22719 else
22720 cat >conftest.$ac_ext <<_ACEOF
22721 /* confdefs.h. */
22722 _ACEOF
22723 cat confdefs.h >>conftest.$ac_ext
22724 cat >>conftest.$ac_ext <<_ACEOF
22725 /* end confdefs.h. */
22726
22727 #include <png.h>
22728 #include <stdio.h>
22729
22730 int main()
22731 {
22732 FILE *f=fopen("conftestval", "w");
22733 if (!f) exit(1);
22734 fprintf(f, "%s",
22735 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22736 exit(0);
22737 }
22738
22739 _ACEOF
22740 rm -f conftest$ac_exeext
22741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22742 (eval $ac_link) 2>&5
22743 ac_status=$?
22744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22745 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22747 (eval $ac_try) 2>&5
22748 ac_status=$?
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); }; }; then
22751 ac_cv_header_png_h=`cat conftestval`
22752 else
22753 echo "$as_me: program exited with status $ac_status" >&5
22754 echo "$as_me: failed program was:" >&5
22755 sed 's/^/| /' conftest.$ac_ext >&5
22756
22757 ( exit $ac_status )
22758 ac_cv_header_png_h=no
22759 fi
22760 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22761 fi
22762
22763 fi
22764 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22765 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22766 if test "${ac_cv_header_png_h+set}" = set; then
22767 echo "$as_me:$LINENO: checking for png.h" >&5
22768 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22769 if test "${ac_cv_header_png_h+set}" = set; then
22770 echo $ECHO_N "(cached) $ECHO_C" >&6
22771 fi
22772 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22773 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22774 else
22775 # Is the header compilable?
22776 echo "$as_me:$LINENO: checking png.h usability" >&5
22777 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22778 cat >conftest.$ac_ext <<_ACEOF
22779 /* confdefs.h. */
22780 _ACEOF
22781 cat confdefs.h >>conftest.$ac_ext
22782 cat >>conftest.$ac_ext <<_ACEOF
22783 /* end confdefs.h. */
22784 $ac_includes_default
22785 #include <png.h>
22786 _ACEOF
22787 rm -f conftest.$ac_objext
22788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22789 (eval $ac_compile) 2>conftest.er1
22790 ac_status=$?
22791 grep -v '^ *+' conftest.er1 >conftest.err
22792 rm -f conftest.er1
22793 cat conftest.err >&5
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); } &&
22796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22798 (eval $ac_try) 2>&5
22799 ac_status=$?
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); }; } &&
22802 { ac_try='test -s conftest.$ac_objext'
22803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22804 (eval $ac_try) 2>&5
22805 ac_status=$?
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); }; }; then
22808 ac_header_compiler=yes
22809 else
22810 echo "$as_me: failed program was:" >&5
22811 sed 's/^/| /' conftest.$ac_ext >&5
22812
22813 ac_header_compiler=no
22814 fi
22815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22817 echo "${ECHO_T}$ac_header_compiler" >&6
22818
22819 # Is the header present?
22820 echo "$as_me:$LINENO: checking png.h presence" >&5
22821 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22822 cat >conftest.$ac_ext <<_ACEOF
22823 /* confdefs.h. */
22824 _ACEOF
22825 cat confdefs.h >>conftest.$ac_ext
22826 cat >>conftest.$ac_ext <<_ACEOF
22827 /* end confdefs.h. */
22828 #include <png.h>
22829 _ACEOF
22830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22831 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22832 ac_status=$?
22833 grep -v '^ *+' conftest.er1 >conftest.err
22834 rm -f conftest.er1
22835 cat conftest.err >&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); } >/dev/null; then
22838 if test -s conftest.err; then
22839 ac_cpp_err=$ac_c_preproc_warn_flag
22840 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22841 else
22842 ac_cpp_err=
22843 fi
22844 else
22845 ac_cpp_err=yes
22846 fi
22847 if test -z "$ac_cpp_err"; then
22848 ac_header_preproc=yes
22849 else
22850 echo "$as_me: failed program was:" >&5
22851 sed 's/^/| /' conftest.$ac_ext >&5
22852
22853 ac_header_preproc=no
22854 fi
22855 rm -f conftest.err conftest.$ac_ext
22856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22857 echo "${ECHO_T}$ac_header_preproc" >&6
22858
22859 # So? What about this header?
22860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22861 yes:no: )
22862 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22863 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22864 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22865 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22866 ac_header_preproc=yes
22867 ;;
22868 no:yes:* )
22869 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22870 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22871 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22872 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22873 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22874 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22875 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22876 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22877 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22878 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22879 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22880 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22881 (
22882 cat <<\_ASBOX
22883 ## ----------------------------------------- ##
22884 ## Report this to wx-dev@lists.wxwidgets.org ##
22885 ## ----------------------------------------- ##
22886 _ASBOX
22887 ) |
22888 sed "s/^/$as_me: WARNING: /" >&2
22889 ;;
22890 esac
22891 echo "$as_me:$LINENO: checking for png.h" >&5
22892 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22893 if test "${ac_cv_header_png_h+set}" = set; then
22894 echo $ECHO_N "(cached) $ECHO_C" >&6
22895 else
22896 ac_cv_header_png_h=$ac_header_preproc
22897 fi
22898 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22899 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22900
22901 fi
22902
22903
22904
22905 if test "$ac_cv_header_png_h" = "yes"; then
22906 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22907 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22908 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22909 echo $ECHO_N "(cached) $ECHO_C" >&6
22910 else
22911 ac_check_lib_save_LIBS=$LIBS
22912 LIBS="-lpng -lz -lm $LIBS"
22913 cat >conftest.$ac_ext <<_ACEOF
22914 /* confdefs.h. */
22915 _ACEOF
22916 cat confdefs.h >>conftest.$ac_ext
22917 cat >>conftest.$ac_ext <<_ACEOF
22918 /* end confdefs.h. */
22919
22920 /* Override any gcc2 internal prototype to avoid an error. */
22921 #ifdef __cplusplus
22922 extern "C"
22923 #endif
22924 /* We use char because int might match the return type of a gcc2
22925 builtin and then its argument prototype would still apply. */
22926 char png_check_sig ();
22927 int
22928 main ()
22929 {
22930 png_check_sig ();
22931 ;
22932 return 0;
22933 }
22934 _ACEOF
22935 rm -f conftest.$ac_objext conftest$ac_exeext
22936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22937 (eval $ac_link) 2>conftest.er1
22938 ac_status=$?
22939 grep -v '^ *+' conftest.er1 >conftest.err
22940 rm -f conftest.er1
22941 cat conftest.err >&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } &&
22944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22946 (eval $ac_try) 2>&5
22947 ac_status=$?
22948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22949 (exit $ac_status); }; } &&
22950 { ac_try='test -s conftest$ac_exeext'
22951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22952 (eval $ac_try) 2>&5
22953 ac_status=$?
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); }; }; then
22956 ac_cv_lib_png_png_check_sig=yes
22957 else
22958 echo "$as_me: failed program was:" >&5
22959 sed 's/^/| /' conftest.$ac_ext >&5
22960
22961 ac_cv_lib_png_png_check_sig=no
22962 fi
22963 rm -f conftest.err conftest.$ac_objext \
22964 conftest$ac_exeext conftest.$ac_ext
22965 LIBS=$ac_check_lib_save_LIBS
22966 fi
22967 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22968 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22969 if test $ac_cv_lib_png_png_check_sig = yes; then
22970 PNG_LINK=" -lpng -lz"
22971 fi
22972
22973 fi
22974
22975 if test "x$PNG_LINK" = "x" ; then
22976 if test "$wxUSE_LIBPNG" = "sys" ; then
22977 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22978 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22979 { (exit 1); exit 1; }; }
22980 else
22981 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22982 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22983 wxUSE_LIBPNG=builtin
22984 fi
22985 else
22986 wxUSE_LIBPNG=sys
22987 fi
22988 fi
22989 fi
22990
22991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
22992 fi
22993
22994
22995 JPEG_LINK=
22996 if test "$wxUSE_LIBJPEG" != "no" ; then
22997 cat >>confdefs.h <<\_ACEOF
22998 #define wxUSE_LIBJPEG 1
22999 _ACEOF
23000
23001
23002 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23003 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23004 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23005 wxUSE_LIBJPEG=sys
23006 fi
23007
23008 if test "$wxUSE_MGL" != 1 ; then
23009 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23010 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23011 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23012 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23013 echo $ECHO_N "(cached) $ECHO_C" >&6
23014 else
23015 cat >conftest.$ac_ext <<_ACEOF
23016 /* confdefs.h. */
23017 _ACEOF
23018 cat confdefs.h >>conftest.$ac_ext
23019 cat >>conftest.$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23021
23022 #undef HAVE_STDLIB_H
23023 #include <stdio.h>
23024 #include <jpeglib.h>
23025
23026 int
23027 main ()
23028 {
23029
23030
23031 ;
23032 return 0;
23033 }
23034 _ACEOF
23035 rm -f conftest.$ac_objext
23036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23037 (eval $ac_compile) 2>conftest.er1
23038 ac_status=$?
23039 grep -v '^ *+' conftest.er1 >conftest.err
23040 rm -f conftest.er1
23041 cat conftest.err >&5
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); } &&
23044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23046 (eval $ac_try) 2>&5
23047 ac_status=$?
23048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23049 (exit $ac_status); }; } &&
23050 { ac_try='test -s conftest.$ac_objext'
23051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23052 (eval $ac_try) 2>&5
23053 ac_status=$?
23054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23055 (exit $ac_status); }; }; then
23056 ac_cv_header_jpeglib_h=yes
23057 else
23058 echo "$as_me: failed program was:" >&5
23059 sed 's/^/| /' conftest.$ac_ext >&5
23060
23061 ac_cv_header_jpeglib_h=no
23062
23063 fi
23064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23065
23066 fi
23067
23068 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23069 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23070
23071 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23072 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23073 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23074 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23075 echo $ECHO_N "(cached) $ECHO_C" >&6
23076 else
23077 ac_check_lib_save_LIBS=$LIBS
23078 LIBS="-ljpeg $LIBS"
23079 cat >conftest.$ac_ext <<_ACEOF
23080 /* confdefs.h. */
23081 _ACEOF
23082 cat confdefs.h >>conftest.$ac_ext
23083 cat >>conftest.$ac_ext <<_ACEOF
23084 /* end confdefs.h. */
23085
23086 /* Override any gcc2 internal prototype to avoid an error. */
23087 #ifdef __cplusplus
23088 extern "C"
23089 #endif
23090 /* We use char because int might match the return type of a gcc2
23091 builtin and then its argument prototype would still apply. */
23092 char jpeg_read_header ();
23093 int
23094 main ()
23095 {
23096 jpeg_read_header ();
23097 ;
23098 return 0;
23099 }
23100 _ACEOF
23101 rm -f conftest.$ac_objext conftest$ac_exeext
23102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23103 (eval $ac_link) 2>conftest.er1
23104 ac_status=$?
23105 grep -v '^ *+' conftest.er1 >conftest.err
23106 rm -f conftest.er1
23107 cat conftest.err >&5
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); } &&
23110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23112 (eval $ac_try) 2>&5
23113 ac_status=$?
23114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115 (exit $ac_status); }; } &&
23116 { ac_try='test -s conftest$ac_exeext'
23117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23118 (eval $ac_try) 2>&5
23119 ac_status=$?
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); }; }; then
23122 ac_cv_lib_jpeg_jpeg_read_header=yes
23123 else
23124 echo "$as_me: failed program was:" >&5
23125 sed 's/^/| /' conftest.$ac_ext >&5
23126
23127 ac_cv_lib_jpeg_jpeg_read_header=no
23128 fi
23129 rm -f conftest.err conftest.$ac_objext \
23130 conftest$ac_exeext conftest.$ac_ext
23131 LIBS=$ac_check_lib_save_LIBS
23132 fi
23133 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23134 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23135 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23136 JPEG_LINK=" -ljpeg"
23137 fi
23138
23139 fi
23140
23141 if test "x$JPEG_LINK" = "x" ; then
23142 if test "$wxUSE_LIBJPEG" = "sys" ; then
23143 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23144 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23145 { (exit 1); exit 1; }; }
23146 else
23147 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23148 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23149 wxUSE_LIBJPEG=builtin
23150 fi
23151 else
23152 wxUSE_LIBJPEG=sys
23153 fi
23154 fi
23155 fi
23156 fi
23157
23158
23159 TIFF_LINK=
23160 TIFF_PREREQ_LINKS=-lm
23161 if test "$wxUSE_LIBTIFF" != "no" ; then
23162 cat >>confdefs.h <<\_ACEOF
23163 #define wxUSE_LIBTIFF 1
23164 _ACEOF
23165
23166
23167 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23168 if test "$wxUSE_LIBJPEG" = "sys"; then
23169 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
23170 fi
23171 if test "$wxUSE_ZLIB" = "sys"; then
23172 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23173 fi
23174 if test "${ac_cv_header_tiffio_h+set}" = set; then
23175 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23176 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23177 if test "${ac_cv_header_tiffio_h+set}" = set; then
23178 echo $ECHO_N "(cached) $ECHO_C" >&6
23179 fi
23180 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23181 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23182 else
23183 # Is the header compilable?
23184 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23185 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23186 cat >conftest.$ac_ext <<_ACEOF
23187 /* confdefs.h. */
23188 _ACEOF
23189 cat confdefs.h >>conftest.$ac_ext
23190 cat >>conftest.$ac_ext <<_ACEOF
23191 /* end confdefs.h. */
23192 $ac_includes_default
23193 #include <tiffio.h>
23194 _ACEOF
23195 rm -f conftest.$ac_objext
23196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23197 (eval $ac_compile) 2>conftest.er1
23198 ac_status=$?
23199 grep -v '^ *+' conftest.er1 >conftest.err
23200 rm -f conftest.er1
23201 cat conftest.err >&5
23202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203 (exit $ac_status); } &&
23204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23206 (eval $ac_try) 2>&5
23207 ac_status=$?
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); }; } &&
23210 { ac_try='test -s conftest.$ac_objext'
23211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23212 (eval $ac_try) 2>&5
23213 ac_status=$?
23214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23215 (exit $ac_status); }; }; then
23216 ac_header_compiler=yes
23217 else
23218 echo "$as_me: failed program was:" >&5
23219 sed 's/^/| /' conftest.$ac_ext >&5
23220
23221 ac_header_compiler=no
23222 fi
23223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23224 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23225 echo "${ECHO_T}$ac_header_compiler" >&6
23226
23227 # Is the header present?
23228 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23229 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23230 cat >conftest.$ac_ext <<_ACEOF
23231 /* confdefs.h. */
23232 _ACEOF
23233 cat confdefs.h >>conftest.$ac_ext
23234 cat >>conftest.$ac_ext <<_ACEOF
23235 /* end confdefs.h. */
23236 #include <tiffio.h>
23237 _ACEOF
23238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23239 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23240 ac_status=$?
23241 grep -v '^ *+' conftest.er1 >conftest.err
23242 rm -f conftest.er1
23243 cat conftest.err >&5
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); } >/dev/null; then
23246 if test -s conftest.err; then
23247 ac_cpp_err=$ac_c_preproc_warn_flag
23248 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23249 else
23250 ac_cpp_err=
23251 fi
23252 else
23253 ac_cpp_err=yes
23254 fi
23255 if test -z "$ac_cpp_err"; then
23256 ac_header_preproc=yes
23257 else
23258 echo "$as_me: failed program was:" >&5
23259 sed 's/^/| /' conftest.$ac_ext >&5
23260
23261 ac_header_preproc=no
23262 fi
23263 rm -f conftest.err conftest.$ac_ext
23264 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23265 echo "${ECHO_T}$ac_header_preproc" >&6
23266
23267 # So? What about this header?
23268 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23269 yes:no: )
23270 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23271 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23272 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23273 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23274 ac_header_preproc=yes
23275 ;;
23276 no:yes:* )
23277 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23278 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23279 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23280 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23281 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23282 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23283 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23284 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23285 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23286 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23287 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23288 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23289 (
23290 cat <<\_ASBOX
23291 ## ----------------------------------------- ##
23292 ## Report this to wx-dev@lists.wxwidgets.org ##
23293 ## ----------------------------------------- ##
23294 _ASBOX
23295 ) |
23296 sed "s/^/$as_me: WARNING: /" >&2
23297 ;;
23298 esac
23299 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23300 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23301 if test "${ac_cv_header_tiffio_h+set}" = set; then
23302 echo $ECHO_N "(cached) $ECHO_C" >&6
23303 else
23304 ac_cv_header_tiffio_h=$ac_header_preproc
23305 fi
23306 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23307 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23308
23309 fi
23310 if test $ac_cv_header_tiffio_h = yes; then
23311
23312 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23313 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23314 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23315 echo $ECHO_N "(cached) $ECHO_C" >&6
23316 else
23317 ac_check_lib_save_LIBS=$LIBS
23318 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23319 cat >conftest.$ac_ext <<_ACEOF
23320 /* confdefs.h. */
23321 _ACEOF
23322 cat confdefs.h >>conftest.$ac_ext
23323 cat >>conftest.$ac_ext <<_ACEOF
23324 /* end confdefs.h. */
23325
23326 /* Override any gcc2 internal prototype to avoid an error. */
23327 #ifdef __cplusplus
23328 extern "C"
23329 #endif
23330 /* We use char because int might match the return type of a gcc2
23331 builtin and then its argument prototype would still apply. */
23332 char TIFFError ();
23333 int
23334 main ()
23335 {
23336 TIFFError ();
23337 ;
23338 return 0;
23339 }
23340 _ACEOF
23341 rm -f conftest.$ac_objext conftest$ac_exeext
23342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23343 (eval $ac_link) 2>conftest.er1
23344 ac_status=$?
23345 grep -v '^ *+' conftest.er1 >conftest.err
23346 rm -f conftest.er1
23347 cat conftest.err >&5
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); } &&
23350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23353 ac_status=$?
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; } &&
23356 { ac_try='test -s conftest$ac_exeext'
23357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23358 (eval $ac_try) 2>&5
23359 ac_status=$?
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; }; then
23362 ac_cv_lib_tiff_TIFFError=yes
23363 else
23364 echo "$as_me: failed program was:" >&5
23365 sed 's/^/| /' conftest.$ac_ext >&5
23366
23367 ac_cv_lib_tiff_TIFFError=no
23368 fi
23369 rm -f conftest.err conftest.$ac_objext \
23370 conftest$ac_exeext conftest.$ac_ext
23371 LIBS=$ac_check_lib_save_LIBS
23372 fi
23373 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23374 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23375 if test $ac_cv_lib_tiff_TIFFError = yes; then
23376 TIFF_LINK=" -ltiff"
23377 fi
23378
23379
23380
23381 fi
23382
23383
23384
23385 if test "x$TIFF_LINK" = "x" ; then
23386 if test "$wxUSE_LIBTIFF" = "sys" ; then
23387 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23388 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23389 { (exit 1); exit 1; }; }
23390 else
23391 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23392 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23393 wxUSE_LIBTIFF=builtin
23394 fi
23395 else
23396 wxUSE_LIBTIFF=sys
23397 fi
23398 fi
23399 fi
23400
23401
23402 if test "$wxUSE_EXPAT" != "no"; then
23403 wxUSE_XML=yes
23404 cat >>confdefs.h <<\_ACEOF
23405 #define wxUSE_EXPAT 1
23406 _ACEOF
23407
23408 cat >>confdefs.h <<\_ACEOF
23409 #define wxUSE_XML 1
23410 _ACEOF
23411
23412
23413 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23414 if test "${ac_cv_header_expat_h+set}" = set; then
23415 echo "$as_me:$LINENO: checking for expat.h" >&5
23416 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23417 if test "${ac_cv_header_expat_h+set}" = set; then
23418 echo $ECHO_N "(cached) $ECHO_C" >&6
23419 fi
23420 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23421 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23422 else
23423 # Is the header compilable?
23424 echo "$as_me:$LINENO: checking expat.h usability" >&5
23425 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23426 cat >conftest.$ac_ext <<_ACEOF
23427 /* confdefs.h. */
23428 _ACEOF
23429 cat confdefs.h >>conftest.$ac_ext
23430 cat >>conftest.$ac_ext <<_ACEOF
23431 /* end confdefs.h. */
23432 $ac_includes_default
23433 #include <expat.h>
23434 _ACEOF
23435 rm -f conftest.$ac_objext
23436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23437 (eval $ac_compile) 2>conftest.er1
23438 ac_status=$?
23439 grep -v '^ *+' conftest.er1 >conftest.err
23440 rm -f conftest.er1
23441 cat conftest.err >&5
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); } &&
23444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23446 (eval $ac_try) 2>&5
23447 ac_status=$?
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; } &&
23450 { ac_try='test -s conftest.$ac_objext'
23451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23452 (eval $ac_try) 2>&5
23453 ac_status=$?
23454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23455 (exit $ac_status); }; }; then
23456 ac_header_compiler=yes
23457 else
23458 echo "$as_me: failed program was:" >&5
23459 sed 's/^/| /' conftest.$ac_ext >&5
23460
23461 ac_header_compiler=no
23462 fi
23463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23464 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23465 echo "${ECHO_T}$ac_header_compiler" >&6
23466
23467 # Is the header present?
23468 echo "$as_me:$LINENO: checking expat.h presence" >&5
23469 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23470 cat >conftest.$ac_ext <<_ACEOF
23471 /* confdefs.h. */
23472 _ACEOF
23473 cat confdefs.h >>conftest.$ac_ext
23474 cat >>conftest.$ac_ext <<_ACEOF
23475 /* end confdefs.h. */
23476 #include <expat.h>
23477 _ACEOF
23478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23479 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
23486 if test -s conftest.err; then
23487 ac_cpp_err=$ac_c_preproc_warn_flag
23488 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23489 else
23490 ac_cpp_err=
23491 fi
23492 else
23493 ac_cpp_err=yes
23494 fi
23495 if test -z "$ac_cpp_err"; then
23496 ac_header_preproc=yes
23497 else
23498 echo "$as_me: failed program was:" >&5
23499 sed 's/^/| /' conftest.$ac_ext >&5
23500
23501 ac_header_preproc=no
23502 fi
23503 rm -f conftest.err conftest.$ac_ext
23504 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23505 echo "${ECHO_T}$ac_header_preproc" >&6
23506
23507 # So? What about this header?
23508 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23509 yes:no: )
23510 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23511 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23512 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23513 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23514 ac_header_preproc=yes
23515 ;;
23516 no:yes:* )
23517 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23518 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23519 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23520 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23521 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23522 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23523 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23524 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23525 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23526 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23527 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23528 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23529 (
23530 cat <<\_ASBOX
23531 ## ----------------------------------------- ##
23532 ## Report this to wx-dev@lists.wxwidgets.org ##
23533 ## ----------------------------------------- ##
23534 _ASBOX
23535 ) |
23536 sed "s/^/$as_me: WARNING: /" >&2
23537 ;;
23538 esac
23539 echo "$as_me:$LINENO: checking for expat.h" >&5
23540 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23541 if test "${ac_cv_header_expat_h+set}" = set; then
23542 echo $ECHO_N "(cached) $ECHO_C" >&6
23543 else
23544 ac_cv_header_expat_h=$ac_header_preproc
23545 fi
23546 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23547 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23548
23549 fi
23550 if test $ac_cv_header_expat_h = yes; then
23551 found_expat_h=1
23552 fi
23553
23554
23555 if test "x$found_expat_h" = "x1"; then
23556 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23557 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23558 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23559 echo $ECHO_N "(cached) $ECHO_C" >&6
23560 else
23561
23562
23563
23564 ac_ext=cc
23565 ac_cpp='$CXXCPP $CPPFLAGS'
23566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23569
23570 cat >conftest.$ac_ext <<_ACEOF
23571 /* confdefs.h. */
23572 _ACEOF
23573 cat confdefs.h >>conftest.$ac_ext
23574 cat >>conftest.$ac_ext <<_ACEOF
23575 /* end confdefs.h. */
23576 #include <expat.h>
23577 int
23578 main ()
23579 {
23580
23581 ;
23582 return 0;
23583 }
23584 _ACEOF
23585 rm -f conftest.$ac_objext
23586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23587 (eval $ac_compile) 2>conftest.er1
23588 ac_status=$?
23589 grep -v '^ *+' conftest.er1 >conftest.err
23590 rm -f conftest.er1
23591 cat conftest.err >&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); } &&
23594 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23596 (eval $ac_try) 2>&5
23597 ac_status=$?
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); }; } &&
23600 { ac_try='test -s conftest.$ac_objext'
23601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23602 (eval $ac_try) 2>&5
23603 ac_status=$?
23604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23605 (exit $ac_status); }; }; then
23606 wx_cv_expat_is_not_broken=yes
23607 else
23608 echo "$as_me: failed program was:" >&5
23609 sed 's/^/| /' conftest.$ac_ext >&5
23610
23611 wx_cv_expat_is_not_broken=no
23612
23613 fi
23614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23615 ac_ext=c
23616 ac_cpp='$CPP $CPPFLAGS'
23617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23620
23621
23622
23623 fi
23624 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23625 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23626 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23627 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23628 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23629 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23630 echo $ECHO_N "(cached) $ECHO_C" >&6
23631 else
23632 ac_check_lib_save_LIBS=$LIBS
23633 LIBS="-lexpat $LIBS"
23634 cat >conftest.$ac_ext <<_ACEOF
23635 /* confdefs.h. */
23636 _ACEOF
23637 cat confdefs.h >>conftest.$ac_ext
23638 cat >>conftest.$ac_ext <<_ACEOF
23639 /* end confdefs.h. */
23640
23641 /* Override any gcc2 internal prototype to avoid an error. */
23642 #ifdef __cplusplus
23643 extern "C"
23644 #endif
23645 /* We use char because int might match the return type of a gcc2
23646 builtin and then its argument prototype would still apply. */
23647 char XML_ParserCreate ();
23648 int
23649 main ()
23650 {
23651 XML_ParserCreate ();
23652 ;
23653 return 0;
23654 }
23655 _ACEOF
23656 rm -f conftest.$ac_objext conftest$ac_exeext
23657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23658 (eval $ac_link) 2>conftest.er1
23659 ac_status=$?
23660 grep -v '^ *+' conftest.er1 >conftest.err
23661 rm -f conftest.er1
23662 cat conftest.err >&5
23663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664 (exit $ac_status); } &&
23665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23667 (eval $ac_try) 2>&5
23668 ac_status=$?
23669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23670 (exit $ac_status); }; } &&
23671 { ac_try='test -s conftest$ac_exeext'
23672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23673 (eval $ac_try) 2>&5
23674 ac_status=$?
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); }; }; then
23677 ac_cv_lib_expat_XML_ParserCreate=yes
23678 else
23679 echo "$as_me: failed program was:" >&5
23680 sed 's/^/| /' conftest.$ac_ext >&5
23681
23682 ac_cv_lib_expat_XML_ParserCreate=no
23683 fi
23684 rm -f conftest.err conftest.$ac_objext \
23685 conftest$ac_exeext conftest.$ac_ext
23686 LIBS=$ac_check_lib_save_LIBS
23687 fi
23688 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23689 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23690 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23691 EXPAT_LINK=" -lexpat"
23692 fi
23693
23694 fi
23695 fi
23696 if test "x$EXPAT_LINK" = "x" ; then
23697 if test "$wxUSE_EXPAT" = "sys" ; then
23698 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23699 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23700 { (exit 1); exit 1; }; }
23701 else
23702 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23703 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23704 wxUSE_EXPAT=builtin
23705 fi
23706 else
23707 wxUSE_EXPAT=sys
23708 fi
23709 fi
23710 if test "$wxUSE_EXPAT" = "builtin" ; then
23711
23712
23713 subdirs="$subdirs src/expat"
23714
23715 fi
23716 fi
23717
23718
23719
23720 if test "$wxUSE_LIBMSPACK" != "no"; then
23721 if test "${ac_cv_header_mspack_h+set}" = set; then
23722 echo "$as_me:$LINENO: checking for mspack.h" >&5
23723 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23724 if test "${ac_cv_header_mspack_h+set}" = set; then
23725 echo $ECHO_N "(cached) $ECHO_C" >&6
23726 fi
23727 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23728 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23729 else
23730 # Is the header compilable?
23731 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23732 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23733 cat >conftest.$ac_ext <<_ACEOF
23734 /* confdefs.h. */
23735 _ACEOF
23736 cat confdefs.h >>conftest.$ac_ext
23737 cat >>conftest.$ac_ext <<_ACEOF
23738 /* end confdefs.h. */
23739 $ac_includes_default
23740 #include <mspack.h>
23741 _ACEOF
23742 rm -f conftest.$ac_objext
23743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23744 (eval $ac_compile) 2>conftest.er1
23745 ac_status=$?
23746 grep -v '^ *+' conftest.er1 >conftest.err
23747 rm -f conftest.er1
23748 cat conftest.err >&5
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); } &&
23751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23753 (eval $ac_try) 2>&5
23754 ac_status=$?
23755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 (exit $ac_status); }; } &&
23757 { ac_try='test -s conftest.$ac_objext'
23758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23759 (eval $ac_try) 2>&5
23760 ac_status=$?
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); }; }; then
23763 ac_header_compiler=yes
23764 else
23765 echo "$as_me: failed program was:" >&5
23766 sed 's/^/| /' conftest.$ac_ext >&5
23767
23768 ac_header_compiler=no
23769 fi
23770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23771 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23772 echo "${ECHO_T}$ac_header_compiler" >&6
23773
23774 # Is the header present?
23775 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23776 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23777 cat >conftest.$ac_ext <<_ACEOF
23778 /* confdefs.h. */
23779 _ACEOF
23780 cat confdefs.h >>conftest.$ac_ext
23781 cat >>conftest.$ac_ext <<_ACEOF
23782 /* end confdefs.h. */
23783 #include <mspack.h>
23784 _ACEOF
23785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23786 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23787 ac_status=$?
23788 grep -v '^ *+' conftest.er1 >conftest.err
23789 rm -f conftest.er1
23790 cat conftest.err >&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } >/dev/null; then
23793 if test -s conftest.err; then
23794 ac_cpp_err=$ac_c_preproc_warn_flag
23795 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23796 else
23797 ac_cpp_err=
23798 fi
23799 else
23800 ac_cpp_err=yes
23801 fi
23802 if test -z "$ac_cpp_err"; then
23803 ac_header_preproc=yes
23804 else
23805 echo "$as_me: failed program was:" >&5
23806 sed 's/^/| /' conftest.$ac_ext >&5
23807
23808 ac_header_preproc=no
23809 fi
23810 rm -f conftest.err conftest.$ac_ext
23811 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23812 echo "${ECHO_T}$ac_header_preproc" >&6
23813
23814 # So? What about this header?
23815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23816 yes:no: )
23817 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23818 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23819 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23820 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23821 ac_header_preproc=yes
23822 ;;
23823 no:yes:* )
23824 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23825 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23826 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23827 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23828 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23829 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23830 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23831 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23832 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23833 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23834 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23835 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23836 (
23837 cat <<\_ASBOX
23838 ## ----------------------------------------- ##
23839 ## Report this to wx-dev@lists.wxwidgets.org ##
23840 ## ----------------------------------------- ##
23841 _ASBOX
23842 ) |
23843 sed "s/^/$as_me: WARNING: /" >&2
23844 ;;
23845 esac
23846 echo "$as_me:$LINENO: checking for mspack.h" >&5
23847 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23848 if test "${ac_cv_header_mspack_h+set}" = set; then
23849 echo $ECHO_N "(cached) $ECHO_C" >&6
23850 else
23851 ac_cv_header_mspack_h=$ac_header_preproc
23852 fi
23853 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23854 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23855
23856 fi
23857 if test $ac_cv_header_mspack_h = yes; then
23858 found_mspack_h=1
23859 fi
23860
23861
23862 if test "x$found_mspack_h" = "x1"; then
23863 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23864 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23865 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23866 echo $ECHO_N "(cached) $ECHO_C" >&6
23867 else
23868 ac_check_lib_save_LIBS=$LIBS
23869 LIBS="-lmspack $LIBS"
23870 cat >conftest.$ac_ext <<_ACEOF
23871 /* confdefs.h. */
23872 _ACEOF
23873 cat confdefs.h >>conftest.$ac_ext
23874 cat >>conftest.$ac_ext <<_ACEOF
23875 /* end confdefs.h. */
23876
23877 /* Override any gcc2 internal prototype to avoid an error. */
23878 #ifdef __cplusplus
23879 extern "C"
23880 #endif
23881 /* We use char because int might match the return type of a gcc2
23882 builtin and then its argument prototype would still apply. */
23883 char mspack_create_chm_decompressor ();
23884 int
23885 main ()
23886 {
23887 mspack_create_chm_decompressor ();
23888 ;
23889 return 0;
23890 }
23891 _ACEOF
23892 rm -f conftest.$ac_objext conftest$ac_exeext
23893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23894 (eval $ac_link) 2>conftest.er1
23895 ac_status=$?
23896 grep -v '^ *+' conftest.er1 >conftest.err
23897 rm -f conftest.er1
23898 cat conftest.err >&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); } &&
23901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23903 (eval $ac_try) 2>&5
23904 ac_status=$?
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); }; } &&
23907 { ac_try='test -s conftest$ac_exeext'
23908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23909 (eval $ac_try) 2>&5
23910 ac_status=$?
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); }; }; then
23913 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23914 else
23915 echo "$as_me: failed program was:" >&5
23916 sed 's/^/| /' conftest.$ac_ext >&5
23917
23918 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23919 fi
23920 rm -f conftest.err conftest.$ac_objext \
23921 conftest$ac_exeext conftest.$ac_ext
23922 LIBS=$ac_check_lib_save_LIBS
23923 fi
23924 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23925 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23926 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23927 MSPACK_LINK=" -lmspack"
23928 fi
23929
23930 fi
23931 if test "x$MSPACK_LINK" = "x" ; then
23932 wxUSE_LIBMSPACK=no
23933 fi
23934 fi
23935
23936 if test "$wxUSE_LIBMSPACK" != "no"; then
23937 cat >>confdefs.h <<\_ACEOF
23938 #define wxUSE_LIBMSPACK 1
23939 _ACEOF
23940
23941 fi
23942
23943
23944
23945 AFMINSTALL=
23946 WIN32INSTALL=
23947
23948 TOOLKIT=
23949 TOOLKIT_INCLUDE=
23950 WIDGET_SET=
23951
23952 if test "$USE_WIN32" = 1 ; then
23953
23954 for ac_header in w32api.h
23955 do
23956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23958 echo "$as_me:$LINENO: checking for $ac_header" >&5
23959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23961 echo $ECHO_N "(cached) $ECHO_C" >&6
23962 fi
23963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23965 else
23966 # Is the header compilable?
23967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23969 cat >conftest.$ac_ext <<_ACEOF
23970 /* confdefs.h. */
23971 _ACEOF
23972 cat confdefs.h >>conftest.$ac_ext
23973 cat >>conftest.$ac_ext <<_ACEOF
23974 /* end confdefs.h. */
23975 $ac_includes_default
23976 #include <$ac_header>
23977 _ACEOF
23978 rm -f conftest.$ac_objext
23979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23980 (eval $ac_compile) 2>conftest.er1
23981 ac_status=$?
23982 grep -v '^ *+' conftest.er1 >conftest.err
23983 rm -f conftest.er1
23984 cat conftest.err >&5
23985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986 (exit $ac_status); } &&
23987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23989 (eval $ac_try) 2>&5
23990 ac_status=$?
23991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23992 (exit $ac_status); }; } &&
23993 { ac_try='test -s conftest.$ac_objext'
23994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23995 (eval $ac_try) 2>&5
23996 ac_status=$?
23997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23998 (exit $ac_status); }; }; then
23999 ac_header_compiler=yes
24000 else
24001 echo "$as_me: failed program was:" >&5
24002 sed 's/^/| /' conftest.$ac_ext >&5
24003
24004 ac_header_compiler=no
24005 fi
24006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24008 echo "${ECHO_T}$ac_header_compiler" >&6
24009
24010 # Is the header present?
24011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24013 cat >conftest.$ac_ext <<_ACEOF
24014 /* confdefs.h. */
24015 _ACEOF
24016 cat confdefs.h >>conftest.$ac_ext
24017 cat >>conftest.$ac_ext <<_ACEOF
24018 /* end confdefs.h. */
24019 #include <$ac_header>
24020 _ACEOF
24021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24023 ac_status=$?
24024 grep -v '^ *+' conftest.er1 >conftest.err
24025 rm -f conftest.er1
24026 cat conftest.err >&5
24027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24028 (exit $ac_status); } >/dev/null; then
24029 if test -s conftest.err; then
24030 ac_cpp_err=$ac_c_preproc_warn_flag
24031 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24032 else
24033 ac_cpp_err=
24034 fi
24035 else
24036 ac_cpp_err=yes
24037 fi
24038 if test -z "$ac_cpp_err"; then
24039 ac_header_preproc=yes
24040 else
24041 echo "$as_me: failed program was:" >&5
24042 sed 's/^/| /' conftest.$ac_ext >&5
24043
24044 ac_header_preproc=no
24045 fi
24046 rm -f conftest.err conftest.$ac_ext
24047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24048 echo "${ECHO_T}$ac_header_preproc" >&6
24049
24050 # So? What about this header?
24051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24052 yes:no: )
24053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24057 ac_header_preproc=yes
24058 ;;
24059 no:yes:* )
24060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24072 (
24073 cat <<\_ASBOX
24074 ## ----------------------------------------- ##
24075 ## Report this to wx-dev@lists.wxwidgets.org ##
24076 ## ----------------------------------------- ##
24077 _ASBOX
24078 ) |
24079 sed "s/^/$as_me: WARNING: /" >&2
24080 ;;
24081 esac
24082 echo "$as_me:$LINENO: checking for $ac_header" >&5
24083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24085 echo $ECHO_N "(cached) $ECHO_C" >&6
24086 else
24087 eval "$as_ac_Header=\$ac_header_preproc"
24088 fi
24089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24091
24092 fi
24093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24094 cat >>confdefs.h <<_ACEOF
24095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24096 _ACEOF
24097
24098 fi
24099
24100 done
24101
24102 if test "${ac_cv_header_windows_h+set}" = set; then
24103 echo "$as_me:$LINENO: checking for windows.h" >&5
24104 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24105 if test "${ac_cv_header_windows_h+set}" = set; then
24106 echo $ECHO_N "(cached) $ECHO_C" >&6
24107 fi
24108 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24109 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24110 else
24111 # Is the header compilable?
24112 echo "$as_me:$LINENO: checking windows.h usability" >&5
24113 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24114 cat >conftest.$ac_ext <<_ACEOF
24115 /* confdefs.h. */
24116 _ACEOF
24117 cat confdefs.h >>conftest.$ac_ext
24118 cat >>conftest.$ac_ext <<_ACEOF
24119 /* end confdefs.h. */
24120 $ac_includes_default
24121 #include <windows.h>
24122 _ACEOF
24123 rm -f conftest.$ac_objext
24124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24125 (eval $ac_compile) 2>conftest.er1
24126 ac_status=$?
24127 grep -v '^ *+' conftest.er1 >conftest.err
24128 rm -f conftest.er1
24129 cat conftest.err >&5
24130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24131 (exit $ac_status); } &&
24132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24134 (eval $ac_try) 2>&5
24135 ac_status=$?
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); }; } &&
24138 { ac_try='test -s conftest.$ac_objext'
24139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24140 (eval $ac_try) 2>&5
24141 ac_status=$?
24142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24143 (exit $ac_status); }; }; then
24144 ac_header_compiler=yes
24145 else
24146 echo "$as_me: failed program was:" >&5
24147 sed 's/^/| /' conftest.$ac_ext >&5
24148
24149 ac_header_compiler=no
24150 fi
24151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24153 echo "${ECHO_T}$ac_header_compiler" >&6
24154
24155 # Is the header present?
24156 echo "$as_me:$LINENO: checking windows.h presence" >&5
24157 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24158 cat >conftest.$ac_ext <<_ACEOF
24159 /* confdefs.h. */
24160 _ACEOF
24161 cat confdefs.h >>conftest.$ac_ext
24162 cat >>conftest.$ac_ext <<_ACEOF
24163 /* end confdefs.h. */
24164 #include <windows.h>
24165 _ACEOF
24166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24167 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24168 ac_status=$?
24169 grep -v '^ *+' conftest.er1 >conftest.err
24170 rm -f conftest.er1
24171 cat conftest.err >&5
24172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173 (exit $ac_status); } >/dev/null; then
24174 if test -s conftest.err; then
24175 ac_cpp_err=$ac_c_preproc_warn_flag
24176 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24177 else
24178 ac_cpp_err=
24179 fi
24180 else
24181 ac_cpp_err=yes
24182 fi
24183 if test -z "$ac_cpp_err"; then
24184 ac_header_preproc=yes
24185 else
24186 echo "$as_me: failed program was:" >&5
24187 sed 's/^/| /' conftest.$ac_ext >&5
24188
24189 ac_header_preproc=no
24190 fi
24191 rm -f conftest.err conftest.$ac_ext
24192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24193 echo "${ECHO_T}$ac_header_preproc" >&6
24194
24195 # So? What about this header?
24196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24197 yes:no: )
24198 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24199 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24200 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24201 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24202 ac_header_preproc=yes
24203 ;;
24204 no:yes:* )
24205 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24206 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24207 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24208 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24209 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24210 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24211 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24212 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24213 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24214 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24215 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24216 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24217 (
24218 cat <<\_ASBOX
24219 ## ----------------------------------------- ##
24220 ## Report this to wx-dev@lists.wxwidgets.org ##
24221 ## ----------------------------------------- ##
24222 _ASBOX
24223 ) |
24224 sed "s/^/$as_me: WARNING: /" >&2
24225 ;;
24226 esac
24227 echo "$as_me:$LINENO: checking for windows.h" >&5
24228 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24229 if test "${ac_cv_header_windows_h+set}" = set; then
24230 echo $ECHO_N "(cached) $ECHO_C" >&6
24231 else
24232 ac_cv_header_windows_h=$ac_header_preproc
24233 fi
24234 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24235 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24236
24237 fi
24238 if test $ac_cv_header_windows_h = yes; then
24239 :
24240 else
24241
24242 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24243 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24244 { (exit 1); exit 1; }; }
24245
24246 fi
24247
24248
24249
24250 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24251
24252 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24253 LIBS="$LIBS -loleacc"
24254 fi
24255
24256 case "${host}" in
24257 *-*-cygwin* )
24258 LIBS="$LIBS -lkernel32 -luser32"
24259 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
24260 esac
24261
24262 if test "$wxUSE_ODBC" = "sys" ; then
24263 wxUSE_ODBC = "yes"
24264 fi
24265 if test "$wxUSE_ODBC" = "yes" ; then
24266 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
24267 cat >>confdefs.h <<\_ACEOF
24268 #define wxUSE_ODBC 1
24269 _ACEOF
24270
24271 fi
24272
24273 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24274 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
24275
24276 WIN32INSTALL=win32install
24277 fi
24278
24279 if test "$wxUSE_GUI" = "yes"; then
24280 USE_GUI=1
24281
24282 GUI_TK_LIBRARY=
24283
24284 WXGTK12=
24285 WXGTK127=
24286 WXGTK20=
24287 WXGPE=
24288
24289 if test "$wxUSE_COCOA" = 1 ; then
24290 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24291 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24292 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24293 wxUSE_PRINTING_ARCHITECTURE=no
24294 fi
24295 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24296 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24297 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24298 wxUSE_DRAG_AND_DROP=no
24299 fi
24300 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24301 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24302 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24303 wxUSE_DRAGIMAGE=no
24304 fi
24305 fi
24306
24307 if test "$wxUSE_MSW" = 1 ; then
24308 TOOLKIT=MSW
24309 GUIDIST=MSW_DIST
24310
24311 case "${host}" in
24312 *-*-mingw32* )
24313 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24314 esac
24315 fi
24316
24317 if test "$wxUSE_GTK" = 1; then
24318 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24319 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24320
24321 gtk_version_cached=1
24322 if test "${wx_cv_lib_gtk+set}" = set; then
24323 echo $ECHO_N "(cached) $ECHO_C" >&6
24324 else
24325
24326 gtk_version_cached=0
24327 echo "$as_me:$LINENO: result: " >&5
24328 echo "${ECHO_T}" >&6
24329
24330 GTK_MODULES=
24331 if test "$wxUSE_THREADS" = "yes"; then
24332 GTK_MODULES=gthread
24333 fi
24334
24335 if test "x$wxUSE_GTK1" != "xyes" -a "x$wxUSE_GTK2" != "xyes"; then
24336 wxUSE_GTK2=yes
24337 fi
24338
24339 wx_cv_lib_gtk=
24340 if test "x$wxUSE_GTK2" = "xyes"; then
24341 # Check whether --enable-gtktest or --disable-gtktest was given.
24342 if test "${enable_gtktest+set}" = set; then
24343 enableval="$enable_gtktest"
24344
24345 else
24346 enable_gtktest=yes
24347 fi;
24348
24349 pkg_config_args=gtk+-2.0
24350 for module in . $GTK_MODULES
24351 do
24352 case "$module" in
24353 gthread)
24354 pkg_config_args="$pkg_config_args gthread-2.0"
24355 ;;
24356 esac
24357 done
24358
24359 no_gtk=""
24360
24361 # Extract the first word of "pkg-config", so it can be a program name with args.
24362 set dummy pkg-config; ac_word=$2
24363 echo "$as_me:$LINENO: checking for $ac_word" >&5
24364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24365 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24366 echo $ECHO_N "(cached) $ECHO_C" >&6
24367 else
24368 case $PKG_CONFIG in
24369 [\\/]* | ?:[\\/]*)
24370 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24371 ;;
24372 *)
24373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24374 for as_dir in $PATH
24375 do
24376 IFS=$as_save_IFS
24377 test -z "$as_dir" && as_dir=.
24378 for ac_exec_ext in '' $ac_executable_extensions; do
24379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24380 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24382 break 2
24383 fi
24384 done
24385 done
24386
24387 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24388 ;;
24389 esac
24390 fi
24391 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24392
24393 if test -n "$PKG_CONFIG"; then
24394 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24395 echo "${ECHO_T}$PKG_CONFIG" >&6
24396 else
24397 echo "$as_me:$LINENO: result: no" >&5
24398 echo "${ECHO_T}no" >&6
24399 fi
24400
24401
24402 if test x$PKG_CONFIG != xno ; then
24403 if pkg-config --atleast-pkgconfig-version 0.7 ; then
24404 :
24405 else
24406 echo "*** pkg-config too old; version 0.7 or better required."
24407 no_gtk=yes
24408 PKG_CONFIG=no
24409 fi
24410 else
24411 no_gtk=yes
24412 fi
24413
24414 min_gtk_version=2.0.0
24415 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24416 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24417
24418 if test x$PKG_CONFIG != xno ; then
24419 ## don't try to run the test against uninstalled libtool libs
24420 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24421 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24422 enable_gtktest=no
24423 fi
24424
24425 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24426 :
24427 else
24428 no_gtk=yes
24429 fi
24430 fi
24431
24432 if test x"$no_gtk" = x ; then
24433 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
24434 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
24435 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24437 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24439 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24441 if test "x$enable_gtktest" = "xyes" ; then
24442 ac_save_CFLAGS="$CFLAGS"
24443 ac_save_LIBS="$LIBS"
24444 CFLAGS="$CFLAGS $GTK_CFLAGS"
24445 LIBS="$GTK_LIBS $LIBS"
24446 rm -f conf.gtktest
24447 if test "$cross_compiling" = yes; then
24448 echo $ac_n "cross compiling; assumed OK... $ac_c"
24449 else
24450 cat >conftest.$ac_ext <<_ACEOF
24451 /* confdefs.h. */
24452 _ACEOF
24453 cat confdefs.h >>conftest.$ac_ext
24454 cat >>conftest.$ac_ext <<_ACEOF
24455 /* end confdefs.h. */
24456
24457 #include <gtk/gtk.h>
24458 #include <stdio.h>
24459 #include <stdlib.h>
24460
24461 int
24462 main ()
24463 {
24464 int major, minor, micro;
24465 char *tmp_version;
24466
24467 system ("touch conf.gtktest");
24468
24469 /* HP/UX 9 (%@#!) writes to sscanf strings */
24470 tmp_version = g_strdup("$min_gtk_version");
24471 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24472 printf("%s, bad version string\n", "$min_gtk_version");
24473 exit(1);
24474 }
24475
24476 if ((gtk_major_version != $gtk_config_major_version) ||
24477 (gtk_minor_version != $gtk_config_minor_version) ||
24478 (gtk_micro_version != $gtk_config_micro_version))
24479 {
24480 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24481 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24482 gtk_major_version, gtk_minor_version, gtk_micro_version);
24483 printf ("*** was found! If pkg-config was correct, then it is best\n");
24484 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24485 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24486 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24487 printf("*** required on your system.\n");
24488 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24489 printf("*** to point to the correct configuration files\n");
24490 }
24491 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24492 (gtk_minor_version != GTK_MINOR_VERSION) ||
24493 (gtk_micro_version != GTK_MICRO_VERSION))
24494 {
24495 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24496 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24497 printf("*** library (version %d.%d.%d)\n",
24498 gtk_major_version, gtk_minor_version, gtk_micro_version);
24499 }
24500 else
24501 {
24502 if ((gtk_major_version > major) ||
24503 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24504 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24505 {
24506 return 0;
24507 }
24508 else
24509 {
24510 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24511 gtk_major_version, gtk_minor_version, gtk_micro_version);
24512 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24513 major, minor, micro);
24514 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24515 printf("***\n");
24516 printf("*** If you have already installed a sufficiently new version, this error\n");
24517 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24518 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24519 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24520 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24521 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24522 printf("*** so that the correct libraries are found at run-time))\n");
24523 }
24524 }
24525 return 1;
24526 }
24527
24528 _ACEOF
24529 rm -f conftest$ac_exeext
24530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24531 (eval $ac_link) 2>&5
24532 ac_status=$?
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24536 (eval $ac_try) 2>&5
24537 ac_status=$?
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); }; }; then
24540 :
24541 else
24542 echo "$as_me: program exited with status $ac_status" >&5
24543 echo "$as_me: failed program was:" >&5
24544 sed 's/^/| /' conftest.$ac_ext >&5
24545
24546 ( exit $ac_status )
24547 no_gtk=yes
24548 fi
24549 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24550 fi
24551 CFLAGS="$ac_save_CFLAGS"
24552 LIBS="$ac_save_LIBS"
24553 fi
24554 fi
24555 if test "x$no_gtk" = x ; then
24556 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24557 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24558 wx_cv_lib_gtk=2.0
24559 else
24560 echo "$as_me:$LINENO: result: no" >&5
24561 echo "${ECHO_T}no" >&6
24562 if test "$PKG_CONFIG" = "no" ; then
24563 echo "*** A new enough version of pkg-config was not found."
24564 echo "*** See http://pkgconfig.sourceforge.net"
24565 else
24566 if test -f conf.gtktest ; then
24567 :
24568 else
24569 echo "*** Could not run GTK+ test program, checking why..."
24570 ac_save_CFLAGS="$CFLAGS"
24571 ac_save_LIBS="$LIBS"
24572 CFLAGS="$CFLAGS $GTK_CFLAGS"
24573 LIBS="$LIBS $GTK_LIBS"
24574 cat >conftest.$ac_ext <<_ACEOF
24575 /* confdefs.h. */
24576 _ACEOF
24577 cat confdefs.h >>conftest.$ac_ext
24578 cat >>conftest.$ac_ext <<_ACEOF
24579 /* end confdefs.h. */
24580
24581 #include <gtk/gtk.h>
24582 #include <stdio.h>
24583
24584 int
24585 main ()
24586 {
24587 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24588 ;
24589 return 0;
24590 }
24591 _ACEOF
24592 rm -f conftest.$ac_objext conftest$ac_exeext
24593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24594 (eval $ac_link) 2>conftest.er1
24595 ac_status=$?
24596 grep -v '^ *+' conftest.er1 >conftest.err
24597 rm -f conftest.er1
24598 cat conftest.err >&5
24599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24600 (exit $ac_status); } &&
24601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24603 (eval $ac_try) 2>&5
24604 ac_status=$?
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); }; } &&
24607 { ac_try='test -s conftest$ac_exeext'
24608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24609 (eval $ac_try) 2>&5
24610 ac_status=$?
24611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24612 (exit $ac_status); }; }; then
24613 echo "*** The test program compiled, but did not run. This usually means"
24614 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24615 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24616 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24617 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24618 echo "*** is required on your system"
24619 echo "***"
24620 echo "*** If you have an old version installed, it is best to remove it, although"
24621 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24622 else
24623 echo "$as_me: failed program was:" >&5
24624 sed 's/^/| /' conftest.$ac_ext >&5
24625
24626 echo "*** The test program failed to compile or link. See the file config.log for the"
24627 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24628 fi
24629 rm -f conftest.err conftest.$ac_objext \
24630 conftest$ac_exeext conftest.$ac_ext
24631 CFLAGS="$ac_save_CFLAGS"
24632 LIBS="$ac_save_LIBS"
24633 fi
24634 fi
24635 GTK_CFLAGS=""
24636 GTK_LIBS=""
24637 :
24638 fi
24639
24640
24641 rm -f conf.gtktest
24642
24643 fi
24644
24645 if test -z "$wx_cv_lib_gtk" -a "x$wxUSE_GTK1" = "xyes"; then
24646
24647 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24648 if test "${with_gtk_prefix+set}" = set; then
24649 withval="$with_gtk_prefix"
24650 gtk_config_prefix="$withval"
24651 else
24652 gtk_config_prefix=""
24653 fi;
24654
24655 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24656 if test "${with_gtk_exec_prefix+set}" = set; then
24657 withval="$with_gtk_exec_prefix"
24658 gtk_config_exec_prefix="$withval"
24659 else
24660 gtk_config_exec_prefix=""
24661 fi;
24662 # Check whether --enable-gtktest or --disable-gtktest was given.
24663 if test "${enable_gtktest+set}" = set; then
24664 enableval="$enable_gtktest"
24665
24666 else
24667 enable_gtktest=yes
24668 fi;
24669
24670 for module in . $GTK_MODULES
24671 do
24672 case "$module" in
24673 gthread)
24674 gtk_config_args="$gtk_config_args gthread"
24675 ;;
24676 esac
24677 done
24678
24679 if test x$gtk_config_exec_prefix != x ; then
24680 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24681 if test x${GTK_CONFIG+set} != xset ; then
24682 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24683 fi
24684 fi
24685 if test x$gtk_config_prefix != x ; then
24686 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24687 if test x${GTK_CONFIG+set} != xset ; then
24688 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24689 fi
24690 fi
24691
24692 # Extract the first word of "gtk-config", so it can be a program name with args.
24693 set dummy gtk-config; ac_word=$2
24694 echo "$as_me:$LINENO: checking for $ac_word" >&5
24695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24696 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24697 echo $ECHO_N "(cached) $ECHO_C" >&6
24698 else
24699 case $GTK_CONFIG in
24700 [\\/]* | ?:[\\/]*)
24701 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24702 ;;
24703 *)
24704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24705 for as_dir in $PATH
24706 do
24707 IFS=$as_save_IFS
24708 test -z "$as_dir" && as_dir=.
24709 for ac_exec_ext in '' $ac_executable_extensions; do
24710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24711 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24713 break 2
24714 fi
24715 done
24716 done
24717
24718 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24719 ;;
24720 esac
24721 fi
24722 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24723
24724 if test -n "$GTK_CONFIG"; then
24725 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24726 echo "${ECHO_T}$GTK_CONFIG" >&6
24727 else
24728 echo "$as_me:$LINENO: result: no" >&5
24729 echo "${ECHO_T}no" >&6
24730 fi
24731
24732 min_gtk_version=1.2.7
24733 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24734 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24735 no_gtk=""
24736 if test "$GTK_CONFIG" = "no" ; then
24737 no_gtk=yes
24738 else
24739 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24740 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24741 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24742 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24743 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24744 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24745 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24746 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24747 if test "x$enable_gtktest" = "xyes" ; then
24748 ac_save_CFLAGS="$CFLAGS"
24749 ac_save_LIBS="$LIBS"
24750 CFLAGS="$CFLAGS $GTK_CFLAGS"
24751 LIBS="$GTK_LIBS $LIBS"
24752 rm -f conf.gtktest
24753 if test "$cross_compiling" = yes; then
24754 echo $ac_n "cross compiling; assumed OK... $ac_c"
24755 else
24756 cat >conftest.$ac_ext <<_ACEOF
24757 /* confdefs.h. */
24758 _ACEOF
24759 cat confdefs.h >>conftest.$ac_ext
24760 cat >>conftest.$ac_ext <<_ACEOF
24761 /* end confdefs.h. */
24762
24763 #include <gtk/gtk.h>
24764 #include <stdio.h>
24765 #include <stdlib.h>
24766
24767 int
24768 main ()
24769 {
24770 int major, minor, micro;
24771 char *tmp_version;
24772
24773 system ("touch conf.gtktest");
24774
24775 /* HP/UX 9 (%@#!) writes to sscanf strings */
24776 tmp_version = g_strdup("$min_gtk_version");
24777 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24778 printf("%s, bad version string\n", "$min_gtk_version");
24779 exit(1);
24780 }
24781
24782 if ((gtk_major_version != $gtk_config_major_version) ||
24783 (gtk_minor_version != $gtk_config_minor_version) ||
24784 (gtk_micro_version != $gtk_config_micro_version))
24785 {
24786 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24787 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24788 gtk_major_version, gtk_minor_version, gtk_micro_version);
24789 printf ("*** was found! If gtk-config was correct, then it is best\n");
24790 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24791 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24792 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24793 printf("*** required on your system.\n");
24794 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24795 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24796 printf("*** before re-running configure\n");
24797 }
24798 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24799 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24800 (gtk_minor_version != GTK_MINOR_VERSION) ||
24801 (gtk_micro_version != GTK_MICRO_VERSION))
24802 {
24803 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24804 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24805 printf("*** library (version %d.%d.%d)\n",
24806 gtk_major_version, gtk_minor_version, gtk_micro_version);
24807 }
24808 #endif /* defined (GTK_MAJOR_VERSION) ... */
24809 else
24810 {
24811 if ((gtk_major_version > major) ||
24812 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24813 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24814 {
24815 return 0;
24816 }
24817 else
24818 {
24819 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24820 gtk_major_version, gtk_minor_version, gtk_micro_version);
24821 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24822 major, minor, micro);
24823 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24824 printf("***\n");
24825 printf("*** If you have already installed a sufficiently new version, this error\n");
24826 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24827 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24828 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24829 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24830 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24831 printf("*** so that the correct libraries are found at run-time))\n");
24832 }
24833 }
24834 return 1;
24835 }
24836
24837 _ACEOF
24838 rm -f conftest$ac_exeext
24839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24840 (eval $ac_link) 2>&5
24841 ac_status=$?
24842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24845 (eval $ac_try) 2>&5
24846 ac_status=$?
24847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24848 (exit $ac_status); }; }; then
24849 :
24850 else
24851 echo "$as_me: program exited with status $ac_status" >&5
24852 echo "$as_me: failed program was:" >&5
24853 sed 's/^/| /' conftest.$ac_ext >&5
24854
24855 ( exit $ac_status )
24856 no_gtk=yes
24857 fi
24858 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24859 fi
24860 CFLAGS="$ac_save_CFLAGS"
24861 LIBS="$ac_save_LIBS"
24862 fi
24863 fi
24864 if test "x$no_gtk" = x ; then
24865 echo "$as_me:$LINENO: result: yes" >&5
24866 echo "${ECHO_T}yes" >&6
24867 wx_cv_lib_gtk=1.2.7
24868 else
24869 echo "$as_me:$LINENO: result: no" >&5
24870 echo "${ECHO_T}no" >&6
24871 if test "$GTK_CONFIG" = "no" ; then
24872 echo "*** The gtk-config script installed by GTK could not be found"
24873 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24874 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24875 echo "*** full path to gtk-config."
24876 else
24877 if test -f conf.gtktest ; then
24878 :
24879 else
24880 echo "*** Could not run GTK test program, checking why..."
24881 CFLAGS="$CFLAGS $GTK_CFLAGS"
24882 LIBS="$LIBS $GTK_LIBS"
24883 cat >conftest.$ac_ext <<_ACEOF
24884 /* confdefs.h. */
24885 _ACEOF
24886 cat confdefs.h >>conftest.$ac_ext
24887 cat >>conftest.$ac_ext <<_ACEOF
24888 /* end confdefs.h. */
24889
24890 #include <gtk/gtk.h>
24891 #include <stdio.h>
24892
24893 int
24894 main ()
24895 {
24896 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24897 ;
24898 return 0;
24899 }
24900 _ACEOF
24901 rm -f conftest.$ac_objext conftest$ac_exeext
24902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24903 (eval $ac_link) 2>conftest.er1
24904 ac_status=$?
24905 grep -v '^ *+' conftest.er1 >conftest.err
24906 rm -f conftest.er1
24907 cat conftest.err >&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } &&
24910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24912 (eval $ac_try) 2>&5
24913 ac_status=$?
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); }; } &&
24916 { ac_try='test -s conftest$ac_exeext'
24917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24918 (eval $ac_try) 2>&5
24919 ac_status=$?
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); }; }; then
24922 echo "*** The test program compiled, but did not run. This usually means"
24923 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24924 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24925 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24926 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24927 echo "*** is required on your system"
24928 echo "***"
24929 echo "*** If you have an old version installed, it is best to remove it, although"
24930 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24931 echo "***"
24932 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24933 echo "*** came with the system with the command"
24934 echo "***"
24935 echo "*** rpm --erase --nodeps gtk gtk-devel"
24936 else
24937 echo "$as_me: failed program was:" >&5
24938 sed 's/^/| /' conftest.$ac_ext >&5
24939
24940 echo "*** The test program failed to compile or link. See the file config.log for the"
24941 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24942 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24943 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24944 fi
24945 rm -f conftest.err conftest.$ac_objext \
24946 conftest$ac_exeext conftest.$ac_ext
24947 CFLAGS="$ac_save_CFLAGS"
24948 LIBS="$ac_save_LIBS"
24949 fi
24950 fi
24951 GTK_CFLAGS=""
24952 GTK_LIBS=""
24953 :
24954 fi
24955
24956
24957 rm -f conf.gtktest
24958
24959
24960 if test -z "$wx_cv_lib_gtk"; then
24961
24962 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24963 if test "${with_gtk_prefix+set}" = set; then
24964 withval="$with_gtk_prefix"
24965 gtk_config_prefix="$withval"
24966 else
24967 gtk_config_prefix=""
24968 fi;
24969
24970 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24971 if test "${with_gtk_exec_prefix+set}" = set; then
24972 withval="$with_gtk_exec_prefix"
24973 gtk_config_exec_prefix="$withval"
24974 else
24975 gtk_config_exec_prefix=""
24976 fi;
24977 # Check whether --enable-gtktest or --disable-gtktest was given.
24978 if test "${enable_gtktest+set}" = set; then
24979 enableval="$enable_gtktest"
24980
24981 else
24982 enable_gtktest=yes
24983 fi;
24984
24985 for module in . $GTK_MODULES
24986 do
24987 case "$module" in
24988 gthread)
24989 gtk_config_args="$gtk_config_args gthread"
24990 ;;
24991 esac
24992 done
24993
24994 if test x$gtk_config_exec_prefix != x ; then
24995 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24996 if test x${GTK_CONFIG+set} != xset ; then
24997 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24998 fi
24999 fi
25000 if test x$gtk_config_prefix != x ; then
25001 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
25002 if test x${GTK_CONFIG+set} != xset ; then
25003 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
25004 fi
25005 fi
25006
25007 # Extract the first word of "gtk-config", so it can be a program name with args.
25008 set dummy gtk-config; ac_word=$2
25009 echo "$as_me:$LINENO: checking for $ac_word" >&5
25010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25011 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25012 echo $ECHO_N "(cached) $ECHO_C" >&6
25013 else
25014 case $GTK_CONFIG in
25015 [\\/]* | ?:[\\/]*)
25016 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25017 ;;
25018 *)
25019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25020 for as_dir in $PATH
25021 do
25022 IFS=$as_save_IFS
25023 test -z "$as_dir" && as_dir=.
25024 for ac_exec_ext in '' $ac_executable_extensions; do
25025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25026 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25028 break 2
25029 fi
25030 done
25031 done
25032
25033 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25034 ;;
25035 esac
25036 fi
25037 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25038
25039 if test -n "$GTK_CONFIG"; then
25040 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25041 echo "${ECHO_T}$GTK_CONFIG" >&6
25042 else
25043 echo "$as_me:$LINENO: result: no" >&5
25044 echo "${ECHO_T}no" >&6
25045 fi
25046
25047 min_gtk_version=1.2.3
25048 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25049 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25050 no_gtk=""
25051 if test "$GTK_CONFIG" = "no" ; then
25052 no_gtk=yes
25053 else
25054 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25055 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25056 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25057 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25058 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25059 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25060 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25061 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25062 if test "x$enable_gtktest" = "xyes" ; then
25063 ac_save_CFLAGS="$CFLAGS"
25064 ac_save_LIBS="$LIBS"
25065 CFLAGS="$CFLAGS $GTK_CFLAGS"
25066 LIBS="$GTK_LIBS $LIBS"
25067 rm -f conf.gtktest
25068 if test "$cross_compiling" = yes; then
25069 echo $ac_n "cross compiling; assumed OK... $ac_c"
25070 else
25071 cat >conftest.$ac_ext <<_ACEOF
25072 /* confdefs.h. */
25073 _ACEOF
25074 cat confdefs.h >>conftest.$ac_ext
25075 cat >>conftest.$ac_ext <<_ACEOF
25076 /* end confdefs.h. */
25077
25078 #include <gtk/gtk.h>
25079 #include <stdio.h>
25080 #include <stdlib.h>
25081
25082 int
25083 main ()
25084 {
25085 int major, minor, micro;
25086 char *tmp_version;
25087
25088 system ("touch conf.gtktest");
25089
25090 /* HP/UX 9 (%@#!) writes to sscanf strings */
25091 tmp_version = g_strdup("$min_gtk_version");
25092 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25093 printf("%s, bad version string\n", "$min_gtk_version");
25094 exit(1);
25095 }
25096
25097 if ((gtk_major_version != $gtk_config_major_version) ||
25098 (gtk_minor_version != $gtk_config_minor_version) ||
25099 (gtk_micro_version != $gtk_config_micro_version))
25100 {
25101 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25102 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25103 gtk_major_version, gtk_minor_version, gtk_micro_version);
25104 printf ("*** was found! If gtk-config was correct, then it is best\n");
25105 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25106 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25107 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25108 printf("*** required on your system.\n");
25109 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25110 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25111 printf("*** before re-running configure\n");
25112 }
25113 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25114 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25115 (gtk_minor_version != GTK_MINOR_VERSION) ||
25116 (gtk_micro_version != GTK_MICRO_VERSION))
25117 {
25118 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25119 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25120 printf("*** library (version %d.%d.%d)\n",
25121 gtk_major_version, gtk_minor_version, gtk_micro_version);
25122 }
25123 #endif /* defined (GTK_MAJOR_VERSION) ... */
25124 else
25125 {
25126 if ((gtk_major_version > major) ||
25127 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25128 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25129 {
25130 return 0;
25131 }
25132 else
25133 {
25134 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25135 gtk_major_version, gtk_minor_version, gtk_micro_version);
25136 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25137 major, minor, micro);
25138 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25139 printf("***\n");
25140 printf("*** If you have already installed a sufficiently new version, this error\n");
25141 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25142 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25143 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25144 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25145 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25146 printf("*** so that the correct libraries are found at run-time))\n");
25147 }
25148 }
25149 return 1;
25150 }
25151
25152 _ACEOF
25153 rm -f conftest$ac_exeext
25154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25155 (eval $ac_link) 2>&5
25156 ac_status=$?
25157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25160 (eval $ac_try) 2>&5
25161 ac_status=$?
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); }; }; then
25164 :
25165 else
25166 echo "$as_me: program exited with status $ac_status" >&5
25167 echo "$as_me: failed program was:" >&5
25168 sed 's/^/| /' conftest.$ac_ext >&5
25169
25170 ( exit $ac_status )
25171 no_gtk=yes
25172 fi
25173 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25174 fi
25175 CFLAGS="$ac_save_CFLAGS"
25176 LIBS="$ac_save_LIBS"
25177 fi
25178 fi
25179 if test "x$no_gtk" = x ; then
25180 echo "$as_me:$LINENO: result: yes" >&5
25181 echo "${ECHO_T}yes" >&6
25182 wx_cv_lib_gtk=1.2.3
25183 else
25184 echo "$as_me:$LINENO: result: no" >&5
25185 echo "${ECHO_T}no" >&6
25186 if test "$GTK_CONFIG" = "no" ; then
25187 echo "*** The gtk-config script installed by GTK could not be found"
25188 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25189 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25190 echo "*** full path to gtk-config."
25191 else
25192 if test -f conf.gtktest ; then
25193 :
25194 else
25195 echo "*** Could not run GTK test program, checking why..."
25196 CFLAGS="$CFLAGS $GTK_CFLAGS"
25197 LIBS="$LIBS $GTK_LIBS"
25198 cat >conftest.$ac_ext <<_ACEOF
25199 /* confdefs.h. */
25200 _ACEOF
25201 cat confdefs.h >>conftest.$ac_ext
25202 cat >>conftest.$ac_ext <<_ACEOF
25203 /* end confdefs.h. */
25204
25205 #include <gtk/gtk.h>
25206 #include <stdio.h>
25207
25208 int
25209 main ()
25210 {
25211 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25212 ;
25213 return 0;
25214 }
25215 _ACEOF
25216 rm -f conftest.$ac_objext conftest$ac_exeext
25217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25218 (eval $ac_link) 2>conftest.er1
25219 ac_status=$?
25220 grep -v '^ *+' conftest.er1 >conftest.err
25221 rm -f conftest.er1
25222 cat conftest.err >&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); } &&
25225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25227 (eval $ac_try) 2>&5
25228 ac_status=$?
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); }; } &&
25231 { ac_try='test -s conftest$ac_exeext'
25232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25233 (eval $ac_try) 2>&5
25234 ac_status=$?
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); }; }; then
25237 echo "*** The test program compiled, but did not run. This usually means"
25238 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25239 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25240 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25241 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25242 echo "*** is required on your system"
25243 echo "***"
25244 echo "*** If you have an old version installed, it is best to remove it, although"
25245 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25246 echo "***"
25247 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25248 echo "*** came with the system with the command"
25249 echo "***"
25250 echo "*** rpm --erase --nodeps gtk gtk-devel"
25251 else
25252 echo "$as_me: failed program was:" >&5
25253 sed 's/^/| /' conftest.$ac_ext >&5
25254
25255 echo "*** The test program failed to compile or link. See the file config.log for the"
25256 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25257 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25258 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25259 fi
25260 rm -f conftest.err conftest.$ac_objext \
25261 conftest$ac_exeext conftest.$ac_ext
25262 CFLAGS="$ac_save_CFLAGS"
25263 LIBS="$ac_save_LIBS"
25264 fi
25265 fi
25266 GTK_CFLAGS=""
25267 GTK_LIBS=""
25268 :
25269 fi
25270
25271
25272 rm -f conf.gtktest
25273
25274 fi
25275 fi
25276
25277 if test -z "$wx_cv_lib_gtk"; then
25278 wx_cv_lib_gtk=none
25279 else
25280 wx_cv_cflags_gtk=$GTK_CFLAGS
25281 wx_cv_libs_gtk=$GTK_LIBS
25282 fi
25283
25284
25285 fi
25286
25287
25288 if test "$gtk_version_cached" = 1; then
25289 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25290 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25291 fi
25292
25293 case "$wx_cv_lib_gtk" in
25294 2.0) WXGTK20=1
25295 TOOLKIT_VERSION=2
25296 ;;
25297 1.2.7) WXGTK127=1
25298 WXGTK12=1
25299 ;;
25300 1.2.3) WXGTK12=1
25301 ;;
25302 *) { { echo "$as_me:$LINENO: error:
25303 The development files for GTK+ were not found. For GTK+ 2, please
25304 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25305 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25306 and that the version is 1.2.3 or above. Also check that the
25307 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25308 --libs' are in the LD_LIBRARY_PATH or equivalent.
25309 " >&5
25310 echo "$as_me: error:
25311 The development files for GTK+ were not found. For GTK+ 2, please
25312 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25313 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25314 and that the version is 1.2.3 or above. Also check that the
25315 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25316 --libs' are in the LD_LIBRARY_PATH or equivalent.
25317 " >&2;}
25318 { (exit 1); exit 1; }; }
25319 ;;
25320 esac
25321
25322 if test "$WXGTK20" = 1; then
25323 save_CFLAGS="$CFLAGS"
25324 save_LIBS="$LIBS"
25325 CFLAGS="$CFLAGS $wx_cv_cflags_gtk"
25326 LIBS="$LIBS $wx_cv_lib_gtk"
25327
25328
25329 for ac_func in pango_font_family_is_monospace
25330 do
25331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25332 echo "$as_me:$LINENO: checking for $ac_func" >&5
25333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25334 if eval "test \"\${$as_ac_var+set}\" = set"; then
25335 echo $ECHO_N "(cached) $ECHO_C" >&6
25336 else
25337 cat >conftest.$ac_ext <<_ACEOF
25338 /* confdefs.h. */
25339 _ACEOF
25340 cat confdefs.h >>conftest.$ac_ext
25341 cat >>conftest.$ac_ext <<_ACEOF
25342 /* end confdefs.h. */
25343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25345 #define $ac_func innocuous_$ac_func
25346
25347 /* System header to define __stub macros and hopefully few prototypes,
25348 which can conflict with char $ac_func (); below.
25349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25350 <limits.h> exists even on freestanding compilers. */
25351
25352 #ifdef __STDC__
25353 # include <limits.h>
25354 #else
25355 # include <assert.h>
25356 #endif
25357
25358 #undef $ac_func
25359
25360 /* Override any gcc2 internal prototype to avoid an error. */
25361 #ifdef __cplusplus
25362 extern "C"
25363 {
25364 #endif
25365 /* We use char because int might match the return type of a gcc2
25366 builtin and then its argument prototype would still apply. */
25367 char $ac_func ();
25368 /* The GNU C library defines this for functions which it implements
25369 to always fail with ENOSYS. Some functions are actually named
25370 something starting with __ and the normal name is an alias. */
25371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25372 choke me
25373 #else
25374 char (*f) () = $ac_func;
25375 #endif
25376 #ifdef __cplusplus
25377 }
25378 #endif
25379
25380 int
25381 main ()
25382 {
25383 return f != $ac_func;
25384 ;
25385 return 0;
25386 }
25387 _ACEOF
25388 rm -f conftest.$ac_objext conftest$ac_exeext
25389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25390 (eval $ac_link) 2>conftest.er1
25391 ac_status=$?
25392 grep -v '^ *+' conftest.er1 >conftest.err
25393 rm -f conftest.er1
25394 cat conftest.err >&5
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); } &&
25397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25399 (eval $ac_try) 2>&5
25400 ac_status=$?
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); }; } &&
25403 { ac_try='test -s conftest$ac_exeext'
25404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25405 (eval $ac_try) 2>&5
25406 ac_status=$?
25407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25408 (exit $ac_status); }; }; then
25409 eval "$as_ac_var=yes"
25410 else
25411 echo "$as_me: failed program was:" >&5
25412 sed 's/^/| /' conftest.$ac_ext >&5
25413
25414 eval "$as_ac_var=no"
25415 fi
25416 rm -f conftest.err conftest.$ac_objext \
25417 conftest$ac_exeext conftest.$ac_ext
25418 fi
25419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25421 if test `eval echo '${'$as_ac_var'}'` = yes; then
25422 cat >>confdefs.h <<_ACEOF
25423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25424 _ACEOF
25425
25426 fi
25427 done
25428
25429
25430 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25431 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25432 cat >conftest.$ac_ext <<_ACEOF
25433 /* confdefs.h. */
25434 _ACEOF
25435 cat confdefs.h >>conftest.$ac_ext
25436 cat >>conftest.$ac_ext <<_ACEOF
25437 /* end confdefs.h. */
25438
25439 #include <gtk/gtk.h>
25440
25441 int
25442 main ()
25443 {
25444
25445 #if !GTK_CHECK_VERSION(2,4,0)
25446 #error "Not GTK+ 2.4"
25447 #endif
25448
25449 ;
25450 return 0;
25451 }
25452 _ACEOF
25453 rm -f conftest.$ac_objext
25454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25455 (eval $ac_compile) 2>conftest.er1
25456 ac_status=$?
25457 grep -v '^ *+' conftest.er1 >conftest.err
25458 rm -f conftest.er1
25459 cat conftest.err >&5
25460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25461 (exit $ac_status); } &&
25462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25464 (eval $ac_try) 2>&5
25465 ac_status=$?
25466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25467 (exit $ac_status); }; } &&
25468 { ac_try='test -s conftest.$ac_objext'
25469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25470 (eval $ac_try) 2>&5
25471 ac_status=$?
25472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25473 (exit $ac_status); }; }; then
25474
25475 cat >>confdefs.h <<\_ACEOF
25476 #define __WXGTK24__ 1
25477 _ACEOF
25478
25479 echo "$as_me:$LINENO: result: yes" >&5
25480 echo "${ECHO_T}yes" >&6
25481
25482 else
25483 echo "$as_me: failed program was:" >&5
25484 sed 's/^/| /' conftest.$ac_ext >&5
25485
25486
25487 echo "$as_me:$LINENO: result: no" >&5
25488 echo "${ECHO_T}no" >&6
25489
25490 fi
25491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25492
25493 CFLAGS="$save_CFLAGS"
25494 LIBS="$save_LIBS"
25495 else
25496 if test "$wxUSE_UNICODE" = "yes"; then
25497 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25498 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25499 wxUSE_UNICODE=no
25500 fi
25501 fi
25502
25503 if test "$USE_DARWIN" != 1; then
25504
25505 for ac_func in poll
25506 do
25507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25508 echo "$as_me:$LINENO: checking for $ac_func" >&5
25509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25510 if eval "test \"\${$as_ac_var+set}\" = set"; then
25511 echo $ECHO_N "(cached) $ECHO_C" >&6
25512 else
25513 cat >conftest.$ac_ext <<_ACEOF
25514 /* confdefs.h. */
25515 _ACEOF
25516 cat confdefs.h >>conftest.$ac_ext
25517 cat >>conftest.$ac_ext <<_ACEOF
25518 /* end confdefs.h. */
25519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25521 #define $ac_func innocuous_$ac_func
25522
25523 /* System header to define __stub macros and hopefully few prototypes,
25524 which can conflict with char $ac_func (); below.
25525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25526 <limits.h> exists even on freestanding compilers. */
25527
25528 #ifdef __STDC__
25529 # include <limits.h>
25530 #else
25531 # include <assert.h>
25532 #endif
25533
25534 #undef $ac_func
25535
25536 /* Override any gcc2 internal prototype to avoid an error. */
25537 #ifdef __cplusplus
25538 extern "C"
25539 {
25540 #endif
25541 /* We use char because int might match the return type of a gcc2
25542 builtin and then its argument prototype would still apply. */
25543 char $ac_func ();
25544 /* The GNU C library defines this for functions which it implements
25545 to always fail with ENOSYS. Some functions are actually named
25546 something starting with __ and the normal name is an alias. */
25547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25548 choke me
25549 #else
25550 char (*f) () = $ac_func;
25551 #endif
25552 #ifdef __cplusplus
25553 }
25554 #endif
25555
25556 int
25557 main ()
25558 {
25559 return f != $ac_func;
25560 ;
25561 return 0;
25562 }
25563 _ACEOF
25564 rm -f conftest.$ac_objext conftest$ac_exeext
25565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25566 (eval $ac_link) 2>conftest.er1
25567 ac_status=$?
25568 grep -v '^ *+' conftest.er1 >conftest.err
25569 rm -f conftest.er1
25570 cat conftest.err >&5
25571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572 (exit $ac_status); } &&
25573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25575 (eval $ac_try) 2>&5
25576 ac_status=$?
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); }; } &&
25579 { ac_try='test -s conftest$ac_exeext'
25580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25581 (eval $ac_try) 2>&5
25582 ac_status=$?
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); }; }; then
25585 eval "$as_ac_var=yes"
25586 else
25587 echo "$as_me: failed program was:" >&5
25588 sed 's/^/| /' conftest.$ac_ext >&5
25589
25590 eval "$as_ac_var=no"
25591 fi
25592 rm -f conftest.err conftest.$ac_objext \
25593 conftest$ac_exeext conftest.$ac_ext
25594 fi
25595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25597 if test `eval echo '${'$as_ac_var'}'` = yes; then
25598 cat >>confdefs.h <<_ACEOF
25599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25600 _ACEOF
25601
25602 fi
25603 done
25604
25605 fi
25606
25607 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
25608 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25609
25610 AFMINSTALL=afminstall
25611 TOOLKIT=GTK
25612 GUIDIST=GTK_DIST
25613
25614 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25615 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25616 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25617 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 else
25619 ac_check_lib_save_LIBS=$LIBS
25620 LIBS="-lgdk $LIBS"
25621 cat >conftest.$ac_ext <<_ACEOF
25622 /* confdefs.h. */
25623 _ACEOF
25624 cat confdefs.h >>conftest.$ac_ext
25625 cat >>conftest.$ac_ext <<_ACEOF
25626 /* end confdefs.h. */
25627
25628 /* Override any gcc2 internal prototype to avoid an error. */
25629 #ifdef __cplusplus
25630 extern "C"
25631 #endif
25632 /* We use char because int might match the return type of a gcc2
25633 builtin and then its argument prototype would still apply. */
25634 char gdk_im_open ();
25635 int
25636 main ()
25637 {
25638 gdk_im_open ();
25639 ;
25640 return 0;
25641 }
25642 _ACEOF
25643 rm -f conftest.$ac_objext conftest$ac_exeext
25644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25645 (eval $ac_link) 2>conftest.er1
25646 ac_status=$?
25647 grep -v '^ *+' conftest.er1 >conftest.err
25648 rm -f conftest.er1
25649 cat conftest.err >&5
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); } &&
25652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25654 (eval $ac_try) 2>&5
25655 ac_status=$?
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); }; } &&
25658 { ac_try='test -s conftest$ac_exeext'
25659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25660 (eval $ac_try) 2>&5
25661 ac_status=$?
25662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25663 (exit $ac_status); }; }; then
25664 ac_cv_lib_gdk_gdk_im_open=yes
25665 else
25666 echo "$as_me: failed program was:" >&5
25667 sed 's/^/| /' conftest.$ac_ext >&5
25668
25669 ac_cv_lib_gdk_gdk_im_open=no
25670 fi
25671 rm -f conftest.err conftest.$ac_objext \
25672 conftest$ac_exeext conftest.$ac_ext
25673 LIBS=$ac_check_lib_save_LIBS
25674 fi
25675 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25676 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25677 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25678 cat >>confdefs.h <<\_ACEOF
25679 #define HAVE_XIM 1
25680 _ACEOF
25681
25682 fi
25683
25684
25685
25686 if test "$wxUSE_GPE" = "yes"; then
25687 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25688 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25689
25690 ac_find_libraries=
25691 for ac_dir in $SEARCH_LIB /usr/lib;
25692 do
25693 for ac_extension in a so sl dylib; do
25694 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25695 ac_find_libraries=$ac_dir
25696 break 2
25697 fi
25698 done
25699 done
25700
25701 if test "$ac_find_libraries" != "" ; then
25702
25703 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25704 result=$?
25705 if test $result = 0; then
25706 ac_path_to_link=""
25707 else
25708 ac_path_to_link=" -L$ac_find_libraries"
25709 fi
25710
25711 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25712 WXGPE=1
25713 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25714 echo "${ECHO_T}found at $ac_find_libraries" >&6
25715 else
25716 echo "$as_me:$LINENO: result: not found" >&5
25717 echo "${ECHO_T}not found" >&6
25718 fi
25719
25720 fi
25721 fi
25722
25723 if test "$wxUSE_MGL" = 1; then
25724 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25725 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25726 if test "x$MGL_ROOT" = x ; then
25727 echo "$as_me:$LINENO: result: not found" >&5
25728 echo "${ECHO_T}not found" >&6
25729 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25730 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25731 { (exit 1); exit 1; }; }
25732 else
25733 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25734 echo "${ECHO_T}$MGL_ROOT" >&6
25735 fi
25736
25737 echo "$as_me:$LINENO: checking for libmgl location" >&5
25738 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25739 case "${host}" in
25740 *-*-linux* )
25741 if test "x$wxUSE_SHARED" = xyes ; then
25742 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25743 else
25744 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25745 fi
25746 ;;
25747 *-pc-msdosdjgpp )
25748 mgl_os_candidates="dos32/dj2"
25749 ;;
25750 *)
25751 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25752 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25753 { (exit 1); exit 1; }; }
25754 esac
25755
25756 mgl_lib_type=""
25757 mgl_os=""
25758
25759 for mgl_os_i in $mgl_os_candidates ; do
25760 if test "x$mgl_os" = x ; then
25761 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25762 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
25763 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
25764 mgl_lib_type=debug
25765 mgl_os=$mgl_os_i
25766 fi
25767 fi
25768 if test "x$mgl_lib_type" = x ; then
25769 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
25770 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
25771 mgl_lib_type=release
25772 mgl_os=$mgl_os_i
25773 fi
25774 fi
25775 fi
25776 done
25777
25778 if test "x$mgl_os" = x ; then
25779 echo "$as_me:$LINENO: result: not found" >&5
25780 echo "${ECHO_T}not found" >&6
25781 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25782 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25783 { (exit 1); exit 1; }; }
25784 fi
25785 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25786 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25787
25788 wxUSE_UNIVERSAL="yes"
25789
25790 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
25791 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25792
25793 AFMINSTALL=afminstall
25794 TOOLKIT=MGL
25795 GUIDIST=MGL_DIST
25796 fi
25797
25798 if test "$wxUSE_MICROWIN" = 1; then
25799 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25800 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25801 if test "x$MICROWINDOWS" = x ; then
25802 echo "$as_me:$LINENO: result: not found" >&5
25803 echo "${ECHO_T}not found" >&6
25804 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25805 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25806 { (exit 1); exit 1; }; }
25807 else
25808 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25809 echo "${ECHO_T}$MICROWINDOWS" >&6
25810 fi
25811
25812 if test -f $MICROWINDOWS/lib/libmwin.a; then
25813 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25814 echo "${ECHO_T}MicroWindows' libraries found." >&6
25815 else
25816 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25817 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25818 { (exit 1); exit 1; }; }
25819 fi
25820
25821 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
25822 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25823
25824 wxUSE_UNIVERSAL="yes"
25825
25826 AFMINSTALL=afminstall
25827 TOOLKIT=MICROWIN
25828 GUIDIST=MICROWIN_DIST
25829
25830 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25831 fi
25832
25833 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25834
25835 if test "x$ac_path_x_has_been_run" != xyes; then
25836 echo "$as_me:$LINENO: checking for X" >&5
25837 echo $ECHO_N "checking for X... $ECHO_C" >&6
25838
25839 ac_path_x_has_been_run=yes
25840
25841 # Check whether --with-x or --without-x was given.
25842 if test "${with_x+set}" = set; then
25843 withval="$with_x"
25844
25845 fi;
25846 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25847 if test "x$with_x" = xno; then
25848 # The user explicitly disabled X.
25849 have_x=disabled
25850 else
25851 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
25852 # Both variables are already set.
25853 have_x=yes
25854 else
25855 if test "${ac_cv_have_x+set}" = set; then
25856 echo $ECHO_N "(cached) $ECHO_C" >&6
25857 else
25858 # One or both of the vars are not set, and there is no cached value.
25859 ac_x_includes=no ac_x_libraries=no
25860 rm -fr conftest.dir
25861 if mkdir conftest.dir; then
25862 cd conftest.dir
25863 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25864 cat >Imakefile <<'_ACEOF'
25865 acfindx:
25866 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25867 _ACEOF
25868 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
25869 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25870 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25871 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25872 for ac_extension in a so sl; do
25873 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
25874 test -f $ac_im_libdir/libX11.$ac_extension; then
25875 ac_im_usrlibdir=$ac_im_libdir; break
25876 fi
25877 done
25878 # Screen out bogus values from the imake configuration. They are
25879 # bogus both because they are the default anyway, and because
25880 # using them would break gcc on systems where it needs fixed includes.
25881 case $ac_im_incroot in
25882 /usr/include) ;;
25883 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25884 esac
25885 case $ac_im_usrlibdir in
25886 /usr/lib | /lib) ;;
25887 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25888 esac
25889 fi
25890 cd ..
25891 rm -fr conftest.dir
25892 fi
25893
25894 # Standard set of common directories for X headers.
25895 # Check X11 before X11Rn because it is often a symlink to the current release.
25896 ac_x_header_dirs='
25897 /usr/X11/include
25898 /usr/X11R6/include
25899 /usr/X11R5/include
25900 /usr/X11R4/include
25901
25902 /usr/include/X11
25903 /usr/include/X11R6
25904 /usr/include/X11R5
25905 /usr/include/X11R4
25906
25907 /usr/local/X11/include
25908 /usr/local/X11R6/include
25909 /usr/local/X11R5/include
25910 /usr/local/X11R4/include
25911
25912 /usr/local/include/X11
25913 /usr/local/include/X11R6
25914 /usr/local/include/X11R5
25915 /usr/local/include/X11R4
25916
25917 /usr/X386/include
25918 /usr/x386/include
25919 /usr/XFree86/include/X11
25920
25921 /usr/include
25922 /usr/local/include
25923 /usr/unsupported/include
25924 /usr/athena/include
25925 /usr/local/x11r5/include
25926 /usr/lpp/Xamples/include
25927
25928 /usr/openwin/include
25929 /usr/openwin/share/include'
25930
25931 if test "$ac_x_includes" = no; then
25932 # Guess where to find include files, by looking for a specified header file.
25933 # First, try using that file with no special directory specified.
25934 cat >conftest.$ac_ext <<_ACEOF
25935 /* confdefs.h. */
25936 _ACEOF
25937 cat confdefs.h >>conftest.$ac_ext
25938 cat >>conftest.$ac_ext <<_ACEOF
25939 /* end confdefs.h. */
25940 #include <X11/Intrinsic.h>
25941 _ACEOF
25942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25944 ac_status=$?
25945 grep -v '^ *+' conftest.er1 >conftest.err
25946 rm -f conftest.er1
25947 cat conftest.err >&5
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); } >/dev/null; then
25950 if test -s conftest.err; then
25951 ac_cpp_err=$ac_c_preproc_warn_flag
25952 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25953 else
25954 ac_cpp_err=
25955 fi
25956 else
25957 ac_cpp_err=yes
25958 fi
25959 if test -z "$ac_cpp_err"; then
25960 # We can compile using X headers with no special include directory.
25961 ac_x_includes=
25962 else
25963 echo "$as_me: failed program was:" >&5
25964 sed 's/^/| /' conftest.$ac_ext >&5
25965
25966 for ac_dir in $ac_x_header_dirs; do
25967 if test -r "$ac_dir/X11/Intrinsic.h"; then
25968 ac_x_includes=$ac_dir
25969 break
25970 fi
25971 done
25972 fi
25973 rm -f conftest.err conftest.$ac_ext
25974 fi # $ac_x_includes = no
25975
25976 if test "$ac_x_libraries" = no; then
25977 # Check for the libraries.
25978 # See if we find them without any special options.
25979 # Don't add to $LIBS permanently.
25980 ac_save_LIBS=$LIBS
25981 LIBS="-lXt $LIBS"
25982 cat >conftest.$ac_ext <<_ACEOF
25983 /* confdefs.h. */
25984 _ACEOF
25985 cat confdefs.h >>conftest.$ac_ext
25986 cat >>conftest.$ac_ext <<_ACEOF
25987 /* end confdefs.h. */
25988 #include <X11/Intrinsic.h>
25989 int
25990 main ()
25991 {
25992 XtMalloc (0)
25993 ;
25994 return 0;
25995 }
25996 _ACEOF
25997 rm -f conftest.$ac_objext conftest$ac_exeext
25998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25999 (eval $ac_link) 2>conftest.er1
26000 ac_status=$?
26001 grep -v '^ *+' conftest.er1 >conftest.err
26002 rm -f conftest.er1
26003 cat conftest.err >&5
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); } &&
26006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26008 (eval $ac_try) 2>&5
26009 ac_status=$?
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); }; } &&
26012 { ac_try='test -s conftest$ac_exeext'
26013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26014 (eval $ac_try) 2>&5
26015 ac_status=$?
26016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26017 (exit $ac_status); }; }; then
26018 LIBS=$ac_save_LIBS
26019 # We can link X programs with no special library path.
26020 ac_x_libraries=
26021 else
26022 echo "$as_me: failed program was:" >&5
26023 sed 's/^/| /' conftest.$ac_ext >&5
26024
26025 LIBS=$ac_save_LIBS
26026 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26027 do
26028 # Don't even attempt the hair of trying to link an X program!
26029 for ac_extension in a so sl; do
26030 if test -r $ac_dir/libXt.$ac_extension; then
26031 ac_x_libraries=$ac_dir
26032 break 2
26033 fi
26034 done
26035 done
26036 fi
26037 rm -f conftest.err conftest.$ac_objext \
26038 conftest$ac_exeext conftest.$ac_ext
26039 fi # $ac_x_libraries = no
26040
26041 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
26042 # Didn't find X anywhere. Cache the known absence of X.
26043 ac_cv_have_x="have_x=no"
26044 else
26045 # Record where we found X for the cache.
26046 ac_cv_have_x="have_x=yes \
26047 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26048 fi
26049 fi
26050
26051 fi
26052 eval "$ac_cv_have_x"
26053 fi # $with_x != no
26054
26055 if test "$have_x" != yes; then
26056 echo "$as_me:$LINENO: result: $have_x" >&5
26057 echo "${ECHO_T}$have_x" >&6
26058 no_x=yes
26059 else
26060 # If each of the values was on the command line, it overrides each guess.
26061 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
26062 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
26063 # Update the cache value to reflect the command line values.
26064 ac_cv_have_x="have_x=yes \
26065 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26066 # It might be that x_includes is empty (headers are found in the
26067 # standard search path. Then output the corresponding message
26068 ac_out_x_includes=$x_includes
26069 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
26070 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26071 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26072 fi
26073
26074 fi
26075 if test "$no_x" = yes; then
26076 # Not all programs may use this symbol, but it does not hurt to define it.
26077
26078 cat >>confdefs.h <<\_ACEOF
26079 #define X_DISPLAY_MISSING 1
26080 _ACEOF
26081
26082 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26083 else
26084 if test -n "$x_includes"; then
26085 X_CFLAGS="$X_CFLAGS -I$x_includes"
26086 fi
26087
26088 # It would also be nice to do this for all -L options, not just this one.
26089 if test -n "$x_libraries"; then
26090 X_LIBS="$X_LIBS -L$x_libraries"
26091 # For Solaris; some versions of Sun CC require a space after -R and
26092 # others require no space. Words are not sufficient . . . .
26093 case `(uname -sr) 2>/dev/null` in
26094 "SunOS 5"*)
26095 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26096 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26097 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26098 cat >conftest.$ac_ext <<_ACEOF
26099 /* confdefs.h. */
26100 _ACEOF
26101 cat confdefs.h >>conftest.$ac_ext
26102 cat >>conftest.$ac_ext <<_ACEOF
26103 /* end confdefs.h. */
26104
26105 int
26106 main ()
26107 {
26108
26109 ;
26110 return 0;
26111 }
26112 _ACEOF
26113 rm -f conftest.$ac_objext conftest$ac_exeext
26114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26115 (eval $ac_link) 2>conftest.er1
26116 ac_status=$?
26117 grep -v '^ *+' conftest.er1 >conftest.err
26118 rm -f conftest.er1
26119 cat conftest.err >&5
26120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26121 (exit $ac_status); } &&
26122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26124 (eval $ac_try) 2>&5
26125 ac_status=$?
26126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26127 (exit $ac_status); }; } &&
26128 { ac_try='test -s conftest$ac_exeext'
26129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26130 (eval $ac_try) 2>&5
26131 ac_status=$?
26132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26133 (exit $ac_status); }; }; then
26134 ac_R_nospace=yes
26135 else
26136 echo "$as_me: failed program was:" >&5
26137 sed 's/^/| /' conftest.$ac_ext >&5
26138
26139 ac_R_nospace=no
26140 fi
26141 rm -f conftest.err conftest.$ac_objext \
26142 conftest$ac_exeext conftest.$ac_ext
26143 if test $ac_R_nospace = yes; then
26144 echo "$as_me:$LINENO: result: no" >&5
26145 echo "${ECHO_T}no" >&6
26146 X_LIBS="$X_LIBS -R$x_libraries"
26147 else
26148 LIBS="$ac_xsave_LIBS -R $x_libraries"
26149 cat >conftest.$ac_ext <<_ACEOF
26150 /* confdefs.h. */
26151 _ACEOF
26152 cat confdefs.h >>conftest.$ac_ext
26153 cat >>conftest.$ac_ext <<_ACEOF
26154 /* end confdefs.h. */
26155
26156 int
26157 main ()
26158 {
26159
26160 ;
26161 return 0;
26162 }
26163 _ACEOF
26164 rm -f conftest.$ac_objext conftest$ac_exeext
26165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26166 (eval $ac_link) 2>conftest.er1
26167 ac_status=$?
26168 grep -v '^ *+' conftest.er1 >conftest.err
26169 rm -f conftest.er1
26170 cat conftest.err >&5
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); } &&
26173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26175 (eval $ac_try) 2>&5
26176 ac_status=$?
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); }; } &&
26179 { ac_try='test -s conftest$ac_exeext'
26180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26181 (eval $ac_try) 2>&5
26182 ac_status=$?
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); }; }; then
26185 ac_R_space=yes
26186 else
26187 echo "$as_me: failed program was:" >&5
26188 sed 's/^/| /' conftest.$ac_ext >&5
26189
26190 ac_R_space=no
26191 fi
26192 rm -f conftest.err conftest.$ac_objext \
26193 conftest$ac_exeext conftest.$ac_ext
26194 if test $ac_R_space = yes; then
26195 echo "$as_me:$LINENO: result: yes" >&5
26196 echo "${ECHO_T}yes" >&6
26197 X_LIBS="$X_LIBS -R $x_libraries"
26198 else
26199 echo "$as_me:$LINENO: result: neither works" >&5
26200 echo "${ECHO_T}neither works" >&6
26201 fi
26202 fi
26203 LIBS=$ac_xsave_LIBS
26204 esac
26205 fi
26206
26207 # Check for system-dependent libraries X programs must link with.
26208 # Do this before checking for the system-independent R6 libraries
26209 # (-lICE), since we may need -lsocket or whatever for X linking.
26210
26211 if test "$ISC" = yes; then
26212 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
26213 else
26214 # Martyn Johnson says this is needed for Ultrix, if the X
26215 # libraries were built with DECnet support. And Karl Berry says
26216 # the Alpha needs dnet_stub (dnet does not exist).
26217 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
26218 cat >conftest.$ac_ext <<_ACEOF
26219 /* confdefs.h. */
26220 _ACEOF
26221 cat confdefs.h >>conftest.$ac_ext
26222 cat >>conftest.$ac_ext <<_ACEOF
26223 /* end confdefs.h. */
26224
26225 /* Override any gcc2 internal prototype to avoid an error. */
26226 #ifdef __cplusplus
26227 extern "C"
26228 #endif
26229 /* We use char because int might match the return type of a gcc2
26230 builtin and then its argument prototype would still apply. */
26231 char XOpenDisplay ();
26232 int
26233 main ()
26234 {
26235 XOpenDisplay ();
26236 ;
26237 return 0;
26238 }
26239 _ACEOF
26240 rm -f conftest.$ac_objext conftest$ac_exeext
26241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26242 (eval $ac_link) 2>conftest.er1
26243 ac_status=$?
26244 grep -v '^ *+' conftest.er1 >conftest.err
26245 rm -f conftest.er1
26246 cat conftest.err >&5
26247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26248 (exit $ac_status); } &&
26249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26251 (eval $ac_try) 2>&5
26252 ac_status=$?
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); }; } &&
26255 { ac_try='test -s conftest$ac_exeext'
26256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26257 (eval $ac_try) 2>&5
26258 ac_status=$?
26259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260 (exit $ac_status); }; }; then
26261 :
26262 else
26263 echo "$as_me: failed program was:" >&5
26264 sed 's/^/| /' conftest.$ac_ext >&5
26265
26266 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26267 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26268 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26269 echo $ECHO_N "(cached) $ECHO_C" >&6
26270 else
26271 ac_check_lib_save_LIBS=$LIBS
26272 LIBS="-ldnet $LIBS"
26273 cat >conftest.$ac_ext <<_ACEOF
26274 /* confdefs.h. */
26275 _ACEOF
26276 cat confdefs.h >>conftest.$ac_ext
26277 cat >>conftest.$ac_ext <<_ACEOF
26278 /* end confdefs.h. */
26279
26280 /* Override any gcc2 internal prototype to avoid an error. */
26281 #ifdef __cplusplus
26282 extern "C"
26283 #endif
26284 /* We use char because int might match the return type of a gcc2
26285 builtin and then its argument prototype would still apply. */
26286 char dnet_ntoa ();
26287 int
26288 main ()
26289 {
26290 dnet_ntoa ();
26291 ;
26292 return 0;
26293 }
26294 _ACEOF
26295 rm -f conftest.$ac_objext conftest$ac_exeext
26296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26297 (eval $ac_link) 2>conftest.er1
26298 ac_status=$?
26299 grep -v '^ *+' conftest.er1 >conftest.err
26300 rm -f conftest.er1
26301 cat conftest.err >&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); } &&
26304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26306 (eval $ac_try) 2>&5
26307 ac_status=$?
26308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26309 (exit $ac_status); }; } &&
26310 { ac_try='test -s conftest$ac_exeext'
26311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26312 (eval $ac_try) 2>&5
26313 ac_status=$?
26314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315 (exit $ac_status); }; }; then
26316 ac_cv_lib_dnet_dnet_ntoa=yes
26317 else
26318 echo "$as_me: failed program was:" >&5
26319 sed 's/^/| /' conftest.$ac_ext >&5
26320
26321 ac_cv_lib_dnet_dnet_ntoa=no
26322 fi
26323 rm -f conftest.err conftest.$ac_objext \
26324 conftest$ac_exeext conftest.$ac_ext
26325 LIBS=$ac_check_lib_save_LIBS
26326 fi
26327 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26328 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26329 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26330 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26331 fi
26332
26333 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26334 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26335 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26336 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26337 echo $ECHO_N "(cached) $ECHO_C" >&6
26338 else
26339 ac_check_lib_save_LIBS=$LIBS
26340 LIBS="-ldnet_stub $LIBS"
26341 cat >conftest.$ac_ext <<_ACEOF
26342 /* confdefs.h. */
26343 _ACEOF
26344 cat confdefs.h >>conftest.$ac_ext
26345 cat >>conftest.$ac_ext <<_ACEOF
26346 /* end confdefs.h. */
26347
26348 /* Override any gcc2 internal prototype to avoid an error. */
26349 #ifdef __cplusplus
26350 extern "C"
26351 #endif
26352 /* We use char because int might match the return type of a gcc2
26353 builtin and then its argument prototype would still apply. */
26354 char dnet_ntoa ();
26355 int
26356 main ()
26357 {
26358 dnet_ntoa ();
26359 ;
26360 return 0;
26361 }
26362 _ACEOF
26363 rm -f conftest.$ac_objext conftest$ac_exeext
26364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26365 (eval $ac_link) 2>conftest.er1
26366 ac_status=$?
26367 grep -v '^ *+' conftest.er1 >conftest.err
26368 rm -f conftest.er1
26369 cat conftest.err >&5
26370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26371 (exit $ac_status); } &&
26372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26374 (eval $ac_try) 2>&5
26375 ac_status=$?
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); }; } &&
26378 { ac_try='test -s conftest$ac_exeext'
26379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26380 (eval $ac_try) 2>&5
26381 ac_status=$?
26382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383 (exit $ac_status); }; }; then
26384 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26385 else
26386 echo "$as_me: failed program was:" >&5
26387 sed 's/^/| /' conftest.$ac_ext >&5
26388
26389 ac_cv_lib_dnet_stub_dnet_ntoa=no
26390 fi
26391 rm -f conftest.err conftest.$ac_objext \
26392 conftest$ac_exeext conftest.$ac_ext
26393 LIBS=$ac_check_lib_save_LIBS
26394 fi
26395 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26396 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26397 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26398 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26399 fi
26400
26401 fi
26402 fi
26403 rm -f conftest.err conftest.$ac_objext \
26404 conftest$ac_exeext conftest.$ac_ext
26405 LIBS="$ac_xsave_LIBS"
26406
26407 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26408 # to get the SysV transport functions.
26409 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26410 # needs -lnsl.
26411 # The nsl library prevents programs from opening the X display
26412 # on Irix 5.2, according to T.E. Dickey.
26413 # The functions gethostbyname, getservbyname, and inet_addr are
26414 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26415 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26416 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26417 if test "${ac_cv_func_gethostbyname+set}" = set; then
26418 echo $ECHO_N "(cached) $ECHO_C" >&6
26419 else
26420 cat >conftest.$ac_ext <<_ACEOF
26421 /* confdefs.h. */
26422 _ACEOF
26423 cat confdefs.h >>conftest.$ac_ext
26424 cat >>conftest.$ac_ext <<_ACEOF
26425 /* end confdefs.h. */
26426 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26428 #define gethostbyname innocuous_gethostbyname
26429
26430 /* System header to define __stub macros and hopefully few prototypes,
26431 which can conflict with char gethostbyname (); below.
26432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26433 <limits.h> exists even on freestanding compilers. */
26434
26435 #ifdef __STDC__
26436 # include <limits.h>
26437 #else
26438 # include <assert.h>
26439 #endif
26440
26441 #undef gethostbyname
26442
26443 /* Override any gcc2 internal prototype to avoid an error. */
26444 #ifdef __cplusplus
26445 extern "C"
26446 {
26447 #endif
26448 /* We use char because int might match the return type of a gcc2
26449 builtin and then its argument prototype would still apply. */
26450 char gethostbyname ();
26451 /* The GNU C library defines this for functions which it implements
26452 to always fail with ENOSYS. Some functions are actually named
26453 something starting with __ and the normal name is an alias. */
26454 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26455 choke me
26456 #else
26457 char (*f) () = gethostbyname;
26458 #endif
26459 #ifdef __cplusplus
26460 }
26461 #endif
26462
26463 int
26464 main ()
26465 {
26466 return f != gethostbyname;
26467 ;
26468 return 0;
26469 }
26470 _ACEOF
26471 rm -f conftest.$ac_objext conftest$ac_exeext
26472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26473 (eval $ac_link) 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); } &&
26480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26482 (eval $ac_try) 2>&5
26483 ac_status=$?
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); }; } &&
26486 { ac_try='test -s conftest$ac_exeext'
26487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26488 (eval $ac_try) 2>&5
26489 ac_status=$?
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); }; }; then
26492 ac_cv_func_gethostbyname=yes
26493 else
26494 echo "$as_me: failed program was:" >&5
26495 sed 's/^/| /' conftest.$ac_ext >&5
26496
26497 ac_cv_func_gethostbyname=no
26498 fi
26499 rm -f conftest.err conftest.$ac_objext \
26500 conftest$ac_exeext conftest.$ac_ext
26501 fi
26502 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26503 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26504
26505 if test $ac_cv_func_gethostbyname = no; then
26506 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26507 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26508 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26509 echo $ECHO_N "(cached) $ECHO_C" >&6
26510 else
26511 ac_check_lib_save_LIBS=$LIBS
26512 LIBS="-lnsl $LIBS"
26513 cat >conftest.$ac_ext <<_ACEOF
26514 /* confdefs.h. */
26515 _ACEOF
26516 cat confdefs.h >>conftest.$ac_ext
26517 cat >>conftest.$ac_ext <<_ACEOF
26518 /* end confdefs.h. */
26519
26520 /* Override any gcc2 internal prototype to avoid an error. */
26521 #ifdef __cplusplus
26522 extern "C"
26523 #endif
26524 /* We use char because int might match the return type of a gcc2
26525 builtin and then its argument prototype would still apply. */
26526 char gethostbyname ();
26527 int
26528 main ()
26529 {
26530 gethostbyname ();
26531 ;
26532 return 0;
26533 }
26534 _ACEOF
26535 rm -f conftest.$ac_objext conftest$ac_exeext
26536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26537 (eval $ac_link) 2>conftest.er1
26538 ac_status=$?
26539 grep -v '^ *+' conftest.er1 >conftest.err
26540 rm -f conftest.er1
26541 cat conftest.err >&5
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); } &&
26544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26546 (eval $ac_try) 2>&5
26547 ac_status=$?
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); }; } &&
26550 { ac_try='test -s conftest$ac_exeext'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26553 ac_status=$?
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; }; then
26556 ac_cv_lib_nsl_gethostbyname=yes
26557 else
26558 echo "$as_me: failed program was:" >&5
26559 sed 's/^/| /' conftest.$ac_ext >&5
26560
26561 ac_cv_lib_nsl_gethostbyname=no
26562 fi
26563 rm -f conftest.err conftest.$ac_objext \
26564 conftest$ac_exeext conftest.$ac_ext
26565 LIBS=$ac_check_lib_save_LIBS
26566 fi
26567 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26568 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26569 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26570 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26571 fi
26572
26573 if test $ac_cv_lib_nsl_gethostbyname = no; then
26574 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26575 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26576 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26577 echo $ECHO_N "(cached) $ECHO_C" >&6
26578 else
26579 ac_check_lib_save_LIBS=$LIBS
26580 LIBS="-lbsd $LIBS"
26581 cat >conftest.$ac_ext <<_ACEOF
26582 /* confdefs.h. */
26583 _ACEOF
26584 cat confdefs.h >>conftest.$ac_ext
26585 cat >>conftest.$ac_ext <<_ACEOF
26586 /* end confdefs.h. */
26587
26588 /* Override any gcc2 internal prototype to avoid an error. */
26589 #ifdef __cplusplus
26590 extern "C"
26591 #endif
26592 /* We use char because int might match the return type of a gcc2
26593 builtin and then its argument prototype would still apply. */
26594 char gethostbyname ();
26595 int
26596 main ()
26597 {
26598 gethostbyname ();
26599 ;
26600 return 0;
26601 }
26602 _ACEOF
26603 rm -f conftest.$ac_objext conftest$ac_exeext
26604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26605 (eval $ac_link) 2>conftest.er1
26606 ac_status=$?
26607 grep -v '^ *+' conftest.er1 >conftest.err
26608 rm -f conftest.er1
26609 cat conftest.err >&5
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); } &&
26612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26614 (eval $ac_try) 2>&5
26615 ac_status=$?
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); }; } &&
26618 { ac_try='test -s conftest$ac_exeext'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26621 ac_status=$?
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); }; }; then
26624 ac_cv_lib_bsd_gethostbyname=yes
26625 else
26626 echo "$as_me: failed program was:" >&5
26627 sed 's/^/| /' conftest.$ac_ext >&5
26628
26629 ac_cv_lib_bsd_gethostbyname=no
26630 fi
26631 rm -f conftest.err conftest.$ac_objext \
26632 conftest$ac_exeext conftest.$ac_ext
26633 LIBS=$ac_check_lib_save_LIBS
26634 fi
26635 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26636 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26637 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26638 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26639 fi
26640
26641 fi
26642 fi
26643
26644 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26645 # socket/setsockopt and other routines are undefined under SCO ODT
26646 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26647 # on later versions), says Simon Leinen: it contains gethostby*
26648 # variants that don't use the name server (or something). -lsocket
26649 # must be given before -lnsl if both are needed. We assume that
26650 # if connect needs -lnsl, so does gethostbyname.
26651 echo "$as_me:$LINENO: checking for connect" >&5
26652 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26653 if test "${ac_cv_func_connect+set}" = set; then
26654 echo $ECHO_N "(cached) $ECHO_C" >&6
26655 else
26656 cat >conftest.$ac_ext <<_ACEOF
26657 /* confdefs.h. */
26658 _ACEOF
26659 cat confdefs.h >>conftest.$ac_ext
26660 cat >>conftest.$ac_ext <<_ACEOF
26661 /* end confdefs.h. */
26662 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26664 #define connect innocuous_connect
26665
26666 /* System header to define __stub macros and hopefully few prototypes,
26667 which can conflict with char connect (); below.
26668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26669 <limits.h> exists even on freestanding compilers. */
26670
26671 #ifdef __STDC__
26672 # include <limits.h>
26673 #else
26674 # include <assert.h>
26675 #endif
26676
26677 #undef connect
26678
26679 /* Override any gcc2 internal prototype to avoid an error. */
26680 #ifdef __cplusplus
26681 extern "C"
26682 {
26683 #endif
26684 /* We use char because int might match the return type of a gcc2
26685 builtin and then its argument prototype would still apply. */
26686 char connect ();
26687 /* The GNU C library defines this for functions which it implements
26688 to always fail with ENOSYS. Some functions are actually named
26689 something starting with __ and the normal name is an alias. */
26690 #if defined (__stub_connect) || defined (__stub___connect)
26691 choke me
26692 #else
26693 char (*f) () = connect;
26694 #endif
26695 #ifdef __cplusplus
26696 }
26697 #endif
26698
26699 int
26700 main ()
26701 {
26702 return f != connect;
26703 ;
26704 return 0;
26705 }
26706 _ACEOF
26707 rm -f conftest.$ac_objext conftest$ac_exeext
26708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26709 (eval $ac_link) 2>conftest.er1
26710 ac_status=$?
26711 grep -v '^ *+' conftest.er1 >conftest.err
26712 rm -f conftest.er1
26713 cat conftest.err >&5
26714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715 (exit $ac_status); } &&
26716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26718 (eval $ac_try) 2>&5
26719 ac_status=$?
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); }; } &&
26722 { ac_try='test -s conftest$ac_exeext'
26723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26724 (eval $ac_try) 2>&5
26725 ac_status=$?
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); }; }; then
26728 ac_cv_func_connect=yes
26729 else
26730 echo "$as_me: failed program was:" >&5
26731 sed 's/^/| /' conftest.$ac_ext >&5
26732
26733 ac_cv_func_connect=no
26734 fi
26735 rm -f conftest.err conftest.$ac_objext \
26736 conftest$ac_exeext conftest.$ac_ext
26737 fi
26738 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26739 echo "${ECHO_T}$ac_cv_func_connect" >&6
26740
26741 if test $ac_cv_func_connect = no; then
26742 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26743 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26744 if test "${ac_cv_lib_socket_connect+set}" = set; then
26745 echo $ECHO_N "(cached) $ECHO_C" >&6
26746 else
26747 ac_check_lib_save_LIBS=$LIBS
26748 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26749 cat >conftest.$ac_ext <<_ACEOF
26750 /* confdefs.h. */
26751 _ACEOF
26752 cat confdefs.h >>conftest.$ac_ext
26753 cat >>conftest.$ac_ext <<_ACEOF
26754 /* end confdefs.h. */
26755
26756 /* Override any gcc2 internal prototype to avoid an error. */
26757 #ifdef __cplusplus
26758 extern "C"
26759 #endif
26760 /* We use char because int might match the return type of a gcc2
26761 builtin and then its argument prototype would still apply. */
26762 char connect ();
26763 int
26764 main ()
26765 {
26766 connect ();
26767 ;
26768 return 0;
26769 }
26770 _ACEOF
26771 rm -f conftest.$ac_objext conftest$ac_exeext
26772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26773 (eval $ac_link) 2>conftest.er1
26774 ac_status=$?
26775 grep -v '^ *+' conftest.er1 >conftest.err
26776 rm -f conftest.er1
26777 cat conftest.err >&5
26778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26779 (exit $ac_status); } &&
26780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26782 (eval $ac_try) 2>&5
26783 ac_status=$?
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); }; } &&
26786 { ac_try='test -s conftest$ac_exeext'
26787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26788 (eval $ac_try) 2>&5
26789 ac_status=$?
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); }; }; then
26792 ac_cv_lib_socket_connect=yes
26793 else
26794 echo "$as_me: failed program was:" >&5
26795 sed 's/^/| /' conftest.$ac_ext >&5
26796
26797 ac_cv_lib_socket_connect=no
26798 fi
26799 rm -f conftest.err conftest.$ac_objext \
26800 conftest$ac_exeext conftest.$ac_ext
26801 LIBS=$ac_check_lib_save_LIBS
26802 fi
26803 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26804 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26805 if test $ac_cv_lib_socket_connect = yes; then
26806 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26807 fi
26808
26809 fi
26810
26811 # Guillermo Gomez says -lposix is necessary on A/UX.
26812 echo "$as_me:$LINENO: checking for remove" >&5
26813 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26814 if test "${ac_cv_func_remove+set}" = set; then
26815 echo $ECHO_N "(cached) $ECHO_C" >&6
26816 else
26817 cat >conftest.$ac_ext <<_ACEOF
26818 /* confdefs.h. */
26819 _ACEOF
26820 cat confdefs.h >>conftest.$ac_ext
26821 cat >>conftest.$ac_ext <<_ACEOF
26822 /* end confdefs.h. */
26823 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26825 #define remove innocuous_remove
26826
26827 /* System header to define __stub macros and hopefully few prototypes,
26828 which can conflict with char remove (); below.
26829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26830 <limits.h> exists even on freestanding compilers. */
26831
26832 #ifdef __STDC__
26833 # include <limits.h>
26834 #else
26835 # include <assert.h>
26836 #endif
26837
26838 #undef remove
26839
26840 /* Override any gcc2 internal prototype to avoid an error. */
26841 #ifdef __cplusplus
26842 extern "C"
26843 {
26844 #endif
26845 /* We use char because int might match the return type of a gcc2
26846 builtin and then its argument prototype would still apply. */
26847 char remove ();
26848 /* The GNU C library defines this for functions which it implements
26849 to always fail with ENOSYS. Some functions are actually named
26850 something starting with __ and the normal name is an alias. */
26851 #if defined (__stub_remove) || defined (__stub___remove)
26852 choke me
26853 #else
26854 char (*f) () = remove;
26855 #endif
26856 #ifdef __cplusplus
26857 }
26858 #endif
26859
26860 int
26861 main ()
26862 {
26863 return f != remove;
26864 ;
26865 return 0;
26866 }
26867 _ACEOF
26868 rm -f conftest.$ac_objext conftest$ac_exeext
26869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26870 (eval $ac_link) 2>conftest.er1
26871 ac_status=$?
26872 grep -v '^ *+' conftest.er1 >conftest.err
26873 rm -f conftest.er1
26874 cat conftest.err >&5
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); } &&
26877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26879 (eval $ac_try) 2>&5
26880 ac_status=$?
26881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882 (exit $ac_status); }; } &&
26883 { ac_try='test -s conftest$ac_exeext'
26884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26885 (eval $ac_try) 2>&5
26886 ac_status=$?
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); }; }; then
26889 ac_cv_func_remove=yes
26890 else
26891 echo "$as_me: failed program was:" >&5
26892 sed 's/^/| /' conftest.$ac_ext >&5
26893
26894 ac_cv_func_remove=no
26895 fi
26896 rm -f conftest.err conftest.$ac_objext \
26897 conftest$ac_exeext conftest.$ac_ext
26898 fi
26899 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26900 echo "${ECHO_T}$ac_cv_func_remove" >&6
26901
26902 if test $ac_cv_func_remove = no; then
26903 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26904 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26905 if test "${ac_cv_lib_posix_remove+set}" = set; then
26906 echo $ECHO_N "(cached) $ECHO_C" >&6
26907 else
26908 ac_check_lib_save_LIBS=$LIBS
26909 LIBS="-lposix $LIBS"
26910 cat >conftest.$ac_ext <<_ACEOF
26911 /* confdefs.h. */
26912 _ACEOF
26913 cat confdefs.h >>conftest.$ac_ext
26914 cat >>conftest.$ac_ext <<_ACEOF
26915 /* end confdefs.h. */
26916
26917 /* Override any gcc2 internal prototype to avoid an error. */
26918 #ifdef __cplusplus
26919 extern "C"
26920 #endif
26921 /* We use char because int might match the return type of a gcc2
26922 builtin and then its argument prototype would still apply. */
26923 char remove ();
26924 int
26925 main ()
26926 {
26927 remove ();
26928 ;
26929 return 0;
26930 }
26931 _ACEOF
26932 rm -f conftest.$ac_objext conftest$ac_exeext
26933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26934 (eval $ac_link) 2>conftest.er1
26935 ac_status=$?
26936 grep -v '^ *+' conftest.er1 >conftest.err
26937 rm -f conftest.er1
26938 cat conftest.err >&5
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); } &&
26941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26943 (eval $ac_try) 2>&5
26944 ac_status=$?
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); }; } &&
26947 { ac_try='test -s conftest$ac_exeext'
26948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26949 (eval $ac_try) 2>&5
26950 ac_status=$?
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); }; }; then
26953 ac_cv_lib_posix_remove=yes
26954 else
26955 echo "$as_me: failed program was:" >&5
26956 sed 's/^/| /' conftest.$ac_ext >&5
26957
26958 ac_cv_lib_posix_remove=no
26959 fi
26960 rm -f conftest.err conftest.$ac_objext \
26961 conftest$ac_exeext conftest.$ac_ext
26962 LIBS=$ac_check_lib_save_LIBS
26963 fi
26964 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26965 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26966 if test $ac_cv_lib_posix_remove = yes; then
26967 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26968 fi
26969
26970 fi
26971
26972 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26973 echo "$as_me:$LINENO: checking for shmat" >&5
26974 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26975 if test "${ac_cv_func_shmat+set}" = set; then
26976 echo $ECHO_N "(cached) $ECHO_C" >&6
26977 else
26978 cat >conftest.$ac_ext <<_ACEOF
26979 /* confdefs.h. */
26980 _ACEOF
26981 cat confdefs.h >>conftest.$ac_ext
26982 cat >>conftest.$ac_ext <<_ACEOF
26983 /* end confdefs.h. */
26984 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26986 #define shmat innocuous_shmat
26987
26988 /* System header to define __stub macros and hopefully few prototypes,
26989 which can conflict with char shmat (); below.
26990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26991 <limits.h> exists even on freestanding compilers. */
26992
26993 #ifdef __STDC__
26994 # include <limits.h>
26995 #else
26996 # include <assert.h>
26997 #endif
26998
26999 #undef shmat
27000
27001 /* Override any gcc2 internal prototype to avoid an error. */
27002 #ifdef __cplusplus
27003 extern "C"
27004 {
27005 #endif
27006 /* We use char because int might match the return type of a gcc2
27007 builtin and then its argument prototype would still apply. */
27008 char shmat ();
27009 /* The GNU C library defines this for functions which it implements
27010 to always fail with ENOSYS. Some functions are actually named
27011 something starting with __ and the normal name is an alias. */
27012 #if defined (__stub_shmat) || defined (__stub___shmat)
27013 choke me
27014 #else
27015 char (*f) () = shmat;
27016 #endif
27017 #ifdef __cplusplus
27018 }
27019 #endif
27020
27021 int
27022 main ()
27023 {
27024 return f != shmat;
27025 ;
27026 return 0;
27027 }
27028 _ACEOF
27029 rm -f conftest.$ac_objext conftest$ac_exeext
27030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27031 (eval $ac_link) 2>conftest.er1
27032 ac_status=$?
27033 grep -v '^ *+' conftest.er1 >conftest.err
27034 rm -f conftest.er1
27035 cat conftest.err >&5
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); } &&
27038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27040 (eval $ac_try) 2>&5
27041 ac_status=$?
27042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043 (exit $ac_status); }; } &&
27044 { ac_try='test -s conftest$ac_exeext'
27045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27046 (eval $ac_try) 2>&5
27047 ac_status=$?
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); }; }; then
27050 ac_cv_func_shmat=yes
27051 else
27052 echo "$as_me: failed program was:" >&5
27053 sed 's/^/| /' conftest.$ac_ext >&5
27054
27055 ac_cv_func_shmat=no
27056 fi
27057 rm -f conftest.err conftest.$ac_objext \
27058 conftest$ac_exeext conftest.$ac_ext
27059 fi
27060 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27061 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27062
27063 if test $ac_cv_func_shmat = no; then
27064 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27065 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27066 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27067 echo $ECHO_N "(cached) $ECHO_C" >&6
27068 else
27069 ac_check_lib_save_LIBS=$LIBS
27070 LIBS="-lipc $LIBS"
27071 cat >conftest.$ac_ext <<_ACEOF
27072 /* confdefs.h. */
27073 _ACEOF
27074 cat confdefs.h >>conftest.$ac_ext
27075 cat >>conftest.$ac_ext <<_ACEOF
27076 /* end confdefs.h. */
27077
27078 /* Override any gcc2 internal prototype to avoid an error. */
27079 #ifdef __cplusplus
27080 extern "C"
27081 #endif
27082 /* We use char because int might match the return type of a gcc2
27083 builtin and then its argument prototype would still apply. */
27084 char shmat ();
27085 int
27086 main ()
27087 {
27088 shmat ();
27089 ;
27090 return 0;
27091 }
27092 _ACEOF
27093 rm -f conftest.$ac_objext conftest$ac_exeext
27094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27095 (eval $ac_link) 2>conftest.er1
27096 ac_status=$?
27097 grep -v '^ *+' conftest.er1 >conftest.err
27098 rm -f conftest.er1
27099 cat conftest.err >&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); } &&
27102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27104 (eval $ac_try) 2>&5
27105 ac_status=$?
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); }; } &&
27108 { ac_try='test -s conftest$ac_exeext'
27109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27110 (eval $ac_try) 2>&5
27111 ac_status=$?
27112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27113 (exit $ac_status); }; }; then
27114 ac_cv_lib_ipc_shmat=yes
27115 else
27116 echo "$as_me: failed program was:" >&5
27117 sed 's/^/| /' conftest.$ac_ext >&5
27118
27119 ac_cv_lib_ipc_shmat=no
27120 fi
27121 rm -f conftest.err conftest.$ac_objext \
27122 conftest$ac_exeext conftest.$ac_ext
27123 LIBS=$ac_check_lib_save_LIBS
27124 fi
27125 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27126 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27127 if test $ac_cv_lib_ipc_shmat = yes; then
27128 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27129 fi
27130
27131 fi
27132 fi
27133
27134 # Check for libraries that X11R6 Xt/Xaw programs need.
27135 ac_save_LDFLAGS=$LDFLAGS
27136 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27137 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27138 # check for ICE first), but we must link in the order -lSM -lICE or
27139 # we get undefined symbols. So assume we have SM if we have ICE.
27140 # These have to be linked with before -lX11, unlike the other
27141 # libraries we check for below, so use a different variable.
27142 # John Interrante, Karl Berry
27143 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27144 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27145 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27146 echo $ECHO_N "(cached) $ECHO_C" >&6
27147 else
27148 ac_check_lib_save_LIBS=$LIBS
27149 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27150 cat >conftest.$ac_ext <<_ACEOF
27151 /* confdefs.h. */
27152 _ACEOF
27153 cat confdefs.h >>conftest.$ac_ext
27154 cat >>conftest.$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156
27157 /* Override any gcc2 internal prototype to avoid an error. */
27158 #ifdef __cplusplus
27159 extern "C"
27160 #endif
27161 /* We use char because int might match the return type of a gcc2
27162 builtin and then its argument prototype would still apply. */
27163 char IceConnectionNumber ();
27164 int
27165 main ()
27166 {
27167 IceConnectionNumber ();
27168 ;
27169 return 0;
27170 }
27171 _ACEOF
27172 rm -f conftest.$ac_objext conftest$ac_exeext
27173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27174 (eval $ac_link) 2>conftest.er1
27175 ac_status=$?
27176 grep -v '^ *+' conftest.er1 >conftest.err
27177 rm -f conftest.er1
27178 cat conftest.err >&5
27179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27180 (exit $ac_status); } &&
27181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27183 (eval $ac_try) 2>&5
27184 ac_status=$?
27185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27186 (exit $ac_status); }; } &&
27187 { ac_try='test -s conftest$ac_exeext'
27188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27189 (eval $ac_try) 2>&5
27190 ac_status=$?
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); }; }; then
27193 ac_cv_lib_ICE_IceConnectionNumber=yes
27194 else
27195 echo "$as_me: failed program was:" >&5
27196 sed 's/^/| /' conftest.$ac_ext >&5
27197
27198 ac_cv_lib_ICE_IceConnectionNumber=no
27199 fi
27200 rm -f conftest.err conftest.$ac_objext \
27201 conftest$ac_exeext conftest.$ac_ext
27202 LIBS=$ac_check_lib_save_LIBS
27203 fi
27204 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27205 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27206 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27207 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27208 fi
27209
27210 LDFLAGS=$ac_save_LDFLAGS
27211
27212 fi
27213
27214
27215 if test "$no_x" = "yes"; then
27216 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27217 echo "$as_me: error: X11 not found" >&2;}
27218 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
27219 fi
27220
27221 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27222 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
27223 AFMINSTALL=afminstall
27224 COMPILED_X_PROGRAM=0
27225
27226 fi
27227
27228 if test "$wxUSE_X11" = 1; then
27229 if test "$wxUSE_NANOX" = "yes"; then
27230 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27231 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27232 if test "x$MICROWIN" = x ; then
27233 echo "$as_me:$LINENO: result: not found" >&5
27234 echo "${ECHO_T}not found" >&6
27235 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27236 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27237 { (exit 1); exit 1; }; }
27238 else
27239 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27240 echo "${ECHO_T}$MICROWIN" >&6
27241 cat >>confdefs.h <<\_ACEOF
27242 #define wxUSE_NANOX 1
27243 _ACEOF
27244
27245 fi
27246 fi
27247
27248 if test "$wxUSE_UNICODE" = "yes"; then
27249
27250 succeeded=no
27251
27252 if test -z "$PKG_CONFIG"; then
27253 # Extract the first word of "pkg-config", so it can be a program name with args.
27254 set dummy pkg-config; ac_word=$2
27255 echo "$as_me:$LINENO: checking for $ac_word" >&5
27256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27257 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27258 echo $ECHO_N "(cached) $ECHO_C" >&6
27259 else
27260 case $PKG_CONFIG in
27261 [\\/]* | ?:[\\/]*)
27262 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27263 ;;
27264 *)
27265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27266 for as_dir in $PATH
27267 do
27268 IFS=$as_save_IFS
27269 test -z "$as_dir" && as_dir=.
27270 for ac_exec_ext in '' $ac_executable_extensions; do
27271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27272 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27274 break 2
27275 fi
27276 done
27277 done
27278
27279 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27280 ;;
27281 esac
27282 fi
27283 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27284
27285 if test -n "$PKG_CONFIG"; then
27286 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27287 echo "${ECHO_T}$PKG_CONFIG" >&6
27288 else
27289 echo "$as_me:$LINENO: result: no" >&5
27290 echo "${ECHO_T}no" >&6
27291 fi
27292
27293 fi
27294
27295 if test "$PKG_CONFIG" = "no" ; then
27296 echo "*** The pkg-config script could not be found. Make sure it is"
27297 echo "*** in your path, or set the PKG_CONFIG environment variable"
27298 echo "*** to the full path to pkg-config."
27299 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27300 else
27301 PKG_CONFIG_MIN_VERSION=0.9.0
27302 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27303 echo "$as_me:$LINENO: checking for pangox" >&5
27304 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27305
27306 if $PKG_CONFIG --exists "pangox" ; then
27307 echo "$as_me:$LINENO: result: yes" >&5
27308 echo "${ECHO_T}yes" >&6
27309 succeeded=yes
27310
27311 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27312 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27313 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
27314 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27315 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27316
27317 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27318 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27319 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
27320 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27321 echo "${ECHO_T}$PANGOX_LIBS" >&6
27322 else
27323 PANGOX_CFLAGS=""
27324 PANGOX_LIBS=""
27325 ## If we have a custom action on failure, don't print errors, but
27326 ## do set a variable so people can do so.
27327 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27328
27329 fi
27330
27331
27332
27333 else
27334 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27335 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27336 fi
27337 fi
27338
27339 if test $succeeded = yes; then
27340
27341 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
27342 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
27343
27344 else
27345
27346 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27347 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27348 { (exit 1); exit 1; }; }
27349
27350
27351 fi
27352
27353
27354 succeeded=no
27355
27356 if test -z "$PKG_CONFIG"; then
27357 # Extract the first word of "pkg-config", so it can be a program name with args.
27358 set dummy pkg-config; ac_word=$2
27359 echo "$as_me:$LINENO: checking for $ac_word" >&5
27360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27361 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27362 echo $ECHO_N "(cached) $ECHO_C" >&6
27363 else
27364 case $PKG_CONFIG in
27365 [\\/]* | ?:[\\/]*)
27366 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27367 ;;
27368 *)
27369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27370 for as_dir in $PATH
27371 do
27372 IFS=$as_save_IFS
27373 test -z "$as_dir" && as_dir=.
27374 for ac_exec_ext in '' $ac_executable_extensions; do
27375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27376 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27378 break 2
27379 fi
27380 done
27381 done
27382
27383 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27384 ;;
27385 esac
27386 fi
27387 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27388
27389 if test -n "$PKG_CONFIG"; then
27390 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27391 echo "${ECHO_T}$PKG_CONFIG" >&6
27392 else
27393 echo "$as_me:$LINENO: result: no" >&5
27394 echo "${ECHO_T}no" >&6
27395 fi
27396
27397 fi
27398
27399 if test "$PKG_CONFIG" = "no" ; then
27400 echo "*** The pkg-config script could not be found. Make sure it is"
27401 echo "*** in your path, or set the PKG_CONFIG environment variable"
27402 echo "*** to the full path to pkg-config."
27403 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27404 else
27405 PKG_CONFIG_MIN_VERSION=0.9.0
27406 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27407 echo "$as_me:$LINENO: checking for pangoft2" >&5
27408 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27409
27410 if $PKG_CONFIG --exists "pangoft2" ; then
27411 echo "$as_me:$LINENO: result: yes" >&5
27412 echo "${ECHO_T}yes" >&6
27413 succeeded=yes
27414
27415 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27416 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27417 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
27418 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27419 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27420
27421 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27422 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27423 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
27424 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27425 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27426 else
27427 PANGOFT2_CFLAGS=""
27428 PANGOFT2_LIBS=""
27429 ## If we have a custom action on failure, don't print errors, but
27430 ## do set a variable so people can do so.
27431 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27432
27433 fi
27434
27435
27436
27437 else
27438 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27439 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27440 fi
27441 fi
27442
27443 if test $succeeded = yes; then
27444
27445 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
27446 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27447
27448 else
27449
27450 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27451 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27452 wxUSE_PRINTING_ARCHITECTURE="no"
27453
27454
27455 fi
27456
27457
27458 succeeded=no
27459
27460 if test -z "$PKG_CONFIG"; then
27461 # Extract the first word of "pkg-config", so it can be a program name with args.
27462 set dummy pkg-config; ac_word=$2
27463 echo "$as_me:$LINENO: checking for $ac_word" >&5
27464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27465 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27466 echo $ECHO_N "(cached) $ECHO_C" >&6
27467 else
27468 case $PKG_CONFIG in
27469 [\\/]* | ?:[\\/]*)
27470 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27471 ;;
27472 *)
27473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27474 for as_dir in $PATH
27475 do
27476 IFS=$as_save_IFS
27477 test -z "$as_dir" && as_dir=.
27478 for ac_exec_ext in '' $ac_executable_extensions; do
27479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27480 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27482 break 2
27483 fi
27484 done
27485 done
27486
27487 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27488 ;;
27489 esac
27490 fi
27491 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27492
27493 if test -n "$PKG_CONFIG"; then
27494 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27495 echo "${ECHO_T}$PKG_CONFIG" >&6
27496 else
27497 echo "$as_me:$LINENO: result: no" >&5
27498 echo "${ECHO_T}no" >&6
27499 fi
27500
27501 fi
27502
27503 if test "$PKG_CONFIG" = "no" ; then
27504 echo "*** The pkg-config script could not be found. Make sure it is"
27505 echo "*** in your path, or set the PKG_CONFIG environment variable"
27506 echo "*** to the full path to pkg-config."
27507 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27508 else
27509 PKG_CONFIG_MIN_VERSION=0.9.0
27510 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27511 echo "$as_me:$LINENO: checking for pangoxft" >&5
27512 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27513
27514 if $PKG_CONFIG --exists "pangoxft" ; then
27515 echo "$as_me:$LINENO: result: yes" >&5
27516 echo "${ECHO_T}yes" >&6
27517 succeeded=yes
27518
27519 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27520 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27521 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
27522 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27523 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27524
27525 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27526 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27527 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
27528 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27529 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27530 else
27531 PANGOXFT_CFLAGS=""
27532 PANGOXFT_LIBS=""
27533 ## If we have a custom action on failure, don't print errors, but
27534 ## do set a variable so people can do so.
27535 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27536
27537 fi
27538
27539
27540
27541 else
27542 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27543 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27544 fi
27545 fi
27546
27547 if test $succeeded = yes; then
27548
27549 cat >>confdefs.h <<\_ACEOF
27550 #define HAVE_PANGO_XFT 1
27551 _ACEOF
27552
27553 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
27554 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27555
27556 else
27557
27558 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27559 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27560
27561
27562 fi
27563
27564 save_CFLAGS="$CFLAGS"
27565 save_LIBS="$LIBS"
27566 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
27567 LIBS="$LIBS $PANGOX_LIBS"
27568
27569 for ac_func in pango_font_family_is_monospace
27570 do
27571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27572 echo "$as_me:$LINENO: checking for $ac_func" >&5
27573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27574 if eval "test \"\${$as_ac_var+set}\" = set"; then
27575 echo $ECHO_N "(cached) $ECHO_C" >&6
27576 else
27577 cat >conftest.$ac_ext <<_ACEOF
27578 /* confdefs.h. */
27579 _ACEOF
27580 cat confdefs.h >>conftest.$ac_ext
27581 cat >>conftest.$ac_ext <<_ACEOF
27582 /* end confdefs.h. */
27583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27585 #define $ac_func innocuous_$ac_func
27586
27587 /* System header to define __stub macros and hopefully few prototypes,
27588 which can conflict with char $ac_func (); below.
27589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27590 <limits.h> exists even on freestanding compilers. */
27591
27592 #ifdef __STDC__
27593 # include <limits.h>
27594 #else
27595 # include <assert.h>
27596 #endif
27597
27598 #undef $ac_func
27599
27600 /* Override any gcc2 internal prototype to avoid an error. */
27601 #ifdef __cplusplus
27602 extern "C"
27603 {
27604 #endif
27605 /* We use char because int might match the return type of a gcc2
27606 builtin and then its argument prototype would still apply. */
27607 char $ac_func ();
27608 /* The GNU C library defines this for functions which it implements
27609 to always fail with ENOSYS. Some functions are actually named
27610 something starting with __ and the normal name is an alias. */
27611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27612 choke me
27613 #else
27614 char (*f) () = $ac_func;
27615 #endif
27616 #ifdef __cplusplus
27617 }
27618 #endif
27619
27620 int
27621 main ()
27622 {
27623 return f != $ac_func;
27624 ;
27625 return 0;
27626 }
27627 _ACEOF
27628 rm -f conftest.$ac_objext conftest$ac_exeext
27629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27630 (eval $ac_link) 2>conftest.er1
27631 ac_status=$?
27632 grep -v '^ *+' conftest.er1 >conftest.err
27633 rm -f conftest.er1
27634 cat conftest.err >&5
27635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27636 (exit $ac_status); } &&
27637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27639 (eval $ac_try) 2>&5
27640 ac_status=$?
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); }; } &&
27643 { ac_try='test -s conftest$ac_exeext'
27644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27645 (eval $ac_try) 2>&5
27646 ac_status=$?
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); }; }; then
27649 eval "$as_ac_var=yes"
27650 else
27651 echo "$as_me: failed program was:" >&5
27652 sed 's/^/| /' conftest.$ac_ext >&5
27653
27654 eval "$as_ac_var=no"
27655 fi
27656 rm -f conftest.err conftest.$ac_objext \
27657 conftest$ac_exeext conftest.$ac_ext
27658 fi
27659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27661 if test `eval echo '${'$as_ac_var'}'` = yes; then
27662 cat >>confdefs.h <<_ACEOF
27663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27664 _ACEOF
27665
27666 fi
27667 done
27668
27669 CFLAGS="$save_CFLAGS"
27670 LIBS="$save_LIBS"
27671 fi
27672
27673 wxUSE_UNIVERSAL="yes"
27674
27675 if test "$wxUSE_NANOX" = "yes"; then
27676 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27677 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"
27678 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27679 else
27680 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
27681 fi
27682
27683 TOOLKIT=X11
27684 GUIDIST=X11_DIST
27685 fi
27686
27687 if test "$wxUSE_MOTIF" = 1; then
27688 if test "$wxUSE_UNICODE" = "yes"; then
27689 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
27690 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
27691 { (exit 1); exit 1; }; }
27692 fi
27693
27694 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27695 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27696
27697 ac_find_includes=
27698 for ac_dir in $SEARCH_INCLUDE /usr/include;
27699 do
27700 if test -f "$ac_dir/Xm/Xm.h"; then
27701 ac_find_includes=$ac_dir
27702 break
27703 fi
27704 done
27705
27706 if test "$ac_find_includes" != "" ; then
27707 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27708 echo "${ECHO_T}found in $ac_find_includes" >&6
27709
27710 if test "x$ac_find_includes" = "x/usr/include"; then
27711 ac_path_to_include=""
27712 else
27713 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
27714 result=$?
27715 if test $result = 0; then
27716 ac_path_to_include=""
27717 else
27718 ac_path_to_include=" -I$ac_find_includes"
27719 fi
27720 fi
27721
27722 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
27723 else
27724 cat >conftest.$ac_ext <<_ACEOF
27725 /* confdefs.h. */
27726 _ACEOF
27727 cat confdefs.h >>conftest.$ac_ext
27728 cat >>conftest.$ac_ext <<_ACEOF
27729 /* end confdefs.h. */
27730
27731 #include <Xm/Xm.h>
27732
27733 int
27734 main ()
27735 {
27736
27737 int version;
27738 version = xmUseVersion;
27739
27740 ;
27741 return 0;
27742 }
27743 _ACEOF
27744 rm -f conftest.$ac_objext
27745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27746 (eval $ac_compile) 2>conftest.er1
27747 ac_status=$?
27748 grep -v '^ *+' conftest.er1 >conftest.err
27749 rm -f conftest.er1
27750 cat conftest.err >&5
27751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752 (exit $ac_status); } &&
27753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27755 (eval $ac_try) 2>&5
27756 ac_status=$?
27757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27758 (exit $ac_status); }; } &&
27759 { ac_try='test -s conftest.$ac_objext'
27760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27761 (eval $ac_try) 2>&5
27762 ac_status=$?
27763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27764 (exit $ac_status); }; }; then
27765
27766 echo "$as_me:$LINENO: result: found in default search path" >&5
27767 echo "${ECHO_T}found in default search path" >&6
27768 COMPILED_X_PROGRAM=1
27769
27770 else
27771 echo "$as_me: failed program was:" >&5
27772 sed 's/^/| /' conftest.$ac_ext >&5
27773
27774
27775 echo "$as_me:$LINENO: result: no" >&5
27776 echo "${ECHO_T}no" >&6
27777 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27778 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27779 { (exit 1); exit 1; }; }
27780
27781
27782 fi
27783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27784 fi
27785
27786 if test "$COMPILED_X_PROGRAM" = 0; then
27787 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27788 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27789
27790 ac_find_libraries=
27791 for ac_dir in $SEARCH_LIB /usr/lib;
27792 do
27793 for ac_extension in a so sl dylib; do
27794 if test -f "$ac_dir/libXm.$ac_extension"; then
27795 ac_find_libraries=$ac_dir
27796 break 2
27797 fi
27798 done
27799 done
27800
27801 if test "$ac_find_libraries" != "" ; then
27802 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27803 echo "${ECHO_T}found at $ac_find_libraries" >&6
27804
27805
27806 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27807 result=$?
27808 if test $result = 0; then
27809 ac_path_to_link=""
27810 else
27811 ac_path_to_link=" -L$ac_find_libraries"
27812 fi
27813
27814 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
27815 else
27816 save_CFLAGS=$CFLAGS
27817 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27818
27819 cat >conftest.$ac_ext <<_ACEOF
27820 /* confdefs.h. */
27821 _ACEOF
27822 cat confdefs.h >>conftest.$ac_ext
27823 cat >>conftest.$ac_ext <<_ACEOF
27824 /* end confdefs.h. */
27825
27826 #include <Xm/Xm.h>
27827
27828 int
27829 main ()
27830 {
27831
27832 int version;
27833 version = xmUseVersion;
27834
27835 ;
27836 return 0;
27837 }
27838 _ACEOF
27839 rm -f conftest.$ac_objext
27840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27841 (eval $ac_compile) 2>conftest.er1
27842 ac_status=$?
27843 grep -v '^ *+' conftest.er1 >conftest.err
27844 rm -f conftest.er1
27845 cat conftest.err >&5
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); } &&
27848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27850 (eval $ac_try) 2>&5
27851 ac_status=$?
27852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27853 (exit $ac_status); }; } &&
27854 { ac_try='test -s conftest.$ac_objext'
27855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27856 (eval $ac_try) 2>&5
27857 ac_status=$?
27858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859 (exit $ac_status); }; }; then
27860
27861 echo "$as_me:$LINENO: result: found in default search path" >&5
27862 echo "${ECHO_T}found in default search path" >&6
27863 COMPILED_X_PROGRAM=1
27864
27865 else
27866 echo "$as_me: failed program was:" >&5
27867 sed 's/^/| /' conftest.$ac_ext >&5
27868
27869
27870 echo "$as_me:$LINENO: result: no" >&5
27871 echo "${ECHO_T}no" >&6
27872 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27873 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27874 { (exit 1); exit 1; }; }
27875
27876
27877 fi
27878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27879
27880 CFLAGS=$save_CFLAGS
27881 fi
27882 fi
27883
27884 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27885 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27886 libp_link=""
27887 libsm_ice_link=""
27888 libs_found=0
27889 for libp in "" " -lXp"; do
27890 if test "$libs_found" = "0"; then
27891 for libsm_ice in "" " -lSM -lICE"; do
27892 if test "$libs_found" = "0"; then
27893 save_LIBS="$LIBS"
27894 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27895 save_CFLAGS=$CFLAGS
27896 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27897
27898 cat >conftest.$ac_ext <<_ACEOF
27899 /* confdefs.h. */
27900 _ACEOF
27901 cat confdefs.h >>conftest.$ac_ext
27902 cat >>conftest.$ac_ext <<_ACEOF
27903 /* end confdefs.h. */
27904
27905 #include <Xm/Xm.h>
27906 #include <Xm/List.h>
27907
27908 int
27909 main ()
27910 {
27911
27912 XmString string = NULL;
27913 Widget w = NULL;
27914 int position = 0;
27915 XmListAddItem(w, string, position);
27916
27917 ;
27918 return 0;
27919 }
27920 _ACEOF
27921 rm -f conftest.$ac_objext conftest$ac_exeext
27922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27923 (eval $ac_link) 2>conftest.er1
27924 ac_status=$?
27925 grep -v '^ *+' conftest.er1 >conftest.err
27926 rm -f conftest.er1
27927 cat conftest.err >&5
27928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27929 (exit $ac_status); } &&
27930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27932 (eval $ac_try) 2>&5
27933 ac_status=$?
27934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935 (exit $ac_status); }; } &&
27936 { ac_try='test -s conftest$ac_exeext'
27937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27938 (eval $ac_try) 2>&5
27939 ac_status=$?
27940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27941 (exit $ac_status); }; }; then
27942
27943 libp_link="$libp"
27944 libsm_ice_link="$libsm_ice"
27945 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27946 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27947 libs_found=1
27948
27949 else
27950 echo "$as_me: failed program was:" >&5
27951 sed 's/^/| /' conftest.$ac_ext >&5
27952
27953
27954
27955 fi
27956 rm -f conftest.err conftest.$ac_objext \
27957 conftest$ac_exeext conftest.$ac_ext
27958
27959 LIBS="$save_LIBS"
27960 CFLAGS=$save_CFLAGS
27961 fi
27962 done
27963 fi
27964 done
27965
27966 if test "$libs_found" = "0"; then
27967 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27968 echo "${ECHO_T}can't find the right libraries" >&6
27969 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27970 echo "$as_me: error: can't link a simple motif program" >&2;}
27971 { (exit 1); exit 1; }; }
27972 fi
27973
27974 save_CFLAGS=$CFLAGS
27975 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27976 echo "$as_me:$LINENO: checking for Motif 2" >&5
27977 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27978 cat >conftest.$ac_ext <<_ACEOF
27979 /* confdefs.h. */
27980 _ACEOF
27981 cat confdefs.h >>conftest.$ac_ext
27982 cat >>conftest.$ac_ext <<_ACEOF
27983 /* end confdefs.h. */
27984
27985 #include <Xm/Xm.h>
27986
27987 int
27988 main ()
27989 {
27990
27991 #if XmVersion < 2000
27992 #error "Not Motif 2"
27993 #endif
27994
27995 ;
27996 return 0;
27997 }
27998 _ACEOF
27999 rm -f conftest.$ac_objext
28000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28001 (eval $ac_compile) 2>conftest.er1
28002 ac_status=$?
28003 grep -v '^ *+' conftest.er1 >conftest.err
28004 rm -f conftest.er1
28005 cat conftest.err >&5
28006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28007 (exit $ac_status); } &&
28008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28010 (eval $ac_try) 2>&5
28011 ac_status=$?
28012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28013 (exit $ac_status); }; } &&
28014 { ac_try='test -s conftest.$ac_objext'
28015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28016 (eval $ac_try) 2>&5
28017 ac_status=$?
28018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019 (exit $ac_status); }; }; then
28020
28021 cat >>confdefs.h <<\_ACEOF
28022 #define __WXMOTIF20__ 1
28023 _ACEOF
28024
28025 echo "$as_me:$LINENO: result: found" >&5
28026 echo "${ECHO_T}found" >&6
28027
28028 else
28029 echo "$as_me: failed program was:" >&5
28030 sed 's/^/| /' conftest.$ac_ext >&5
28031
28032
28033 cat >>confdefs.h <<\_ACEOF
28034 #define __WXMOTIF20__ 0
28035 _ACEOF
28036
28037 echo "$as_me:$LINENO: result: not found" >&5
28038 echo "${ECHO_T}not found" >&6
28039
28040 fi
28041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28042 CFLAGS=$save_CFLAGS
28043
28044 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28045 TOOLKIT=MOTIF
28046 GUIDIST=MOTIF_DIST
28047 fi
28048
28049 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28050 if test "$wxUSE_LIBXPM" = "sys"; then
28051 echo "$as_me:$LINENO: checking for Xpm library" >&5
28052 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28053
28054 ac_find_libraries=
28055 for ac_dir in $SEARCH_LIB /usr/lib;
28056 do
28057 for ac_extension in a so sl dylib; do
28058 if test -f "$ac_dir/libXpm.$ac_extension"; then
28059 ac_find_libraries=$ac_dir
28060 break 2
28061 fi
28062 done
28063 done
28064
28065 if test "$ac_find_libraries" != "" ; then
28066
28067 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28068 result=$?
28069 if test $result = 0; then
28070 ac_path_to_link=""
28071 else
28072 ac_path_to_link=" -L$ac_find_libraries"
28073 fi
28074
28075 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28076 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28077 echo "${ECHO_T}found at $ac_find_libraries" >&6
28078
28079 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28080 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28081 if test "${wx_cv_x11_xpm_h+set}" = set; then
28082 echo $ECHO_N "(cached) $ECHO_C" >&6
28083 else
28084
28085 save_CFLAGS=$CFLAGS
28086 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28087
28088 cat >conftest.$ac_ext <<_ACEOF
28089 /* confdefs.h. */
28090 _ACEOF
28091 cat confdefs.h >>conftest.$ac_ext
28092 cat >>conftest.$ac_ext <<_ACEOF
28093 /* end confdefs.h. */
28094
28095 #include <X11/xpm.h>
28096
28097 int
28098 main ()
28099 {
28100
28101 int version;
28102 version = XpmLibraryVersion();
28103
28104 ;
28105 return 0;
28106 }
28107 _ACEOF
28108 rm -f conftest.$ac_objext
28109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28110 (eval $ac_compile) 2>conftest.er1
28111 ac_status=$?
28112 grep -v '^ *+' conftest.er1 >conftest.err
28113 rm -f conftest.er1
28114 cat conftest.err >&5
28115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28116 (exit $ac_status); } &&
28117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28119 (eval $ac_try) 2>&5
28120 ac_status=$?
28121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122 (exit $ac_status); }; } &&
28123 { ac_try='test -s conftest.$ac_objext'
28124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28125 (eval $ac_try) 2>&5
28126 ac_status=$?
28127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128 (exit $ac_status); }; }; then
28129 wx_cv_x11_xpm_h=yes
28130 else
28131 echo "$as_me: failed program was:" >&5
28132 sed 's/^/| /' conftest.$ac_ext >&5
28133
28134 wx_cv_x11_xpm_h=no
28135
28136 fi
28137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28138
28139 CFLAGS=$save_CFLAGS
28140
28141
28142 fi
28143 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28144 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28145
28146 if test $wx_cv_x11_xpm_h = "yes"; then
28147 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
28148 cat >>confdefs.h <<\_ACEOF
28149 #define wxHAVE_LIB_XPM 1
28150 _ACEOF
28151
28152 else
28153 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28154 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28155 fi
28156 fi
28157
28158 fi
28159
28160 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28161 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28162 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28163 echo $ECHO_N "(cached) $ECHO_C" >&6
28164 else
28165 ac_check_lib_save_LIBS=$LIBS
28166 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28167 cat >conftest.$ac_ext <<_ACEOF
28168 /* confdefs.h. */
28169 _ACEOF
28170 cat confdefs.h >>conftest.$ac_ext
28171 cat >>conftest.$ac_ext <<_ACEOF
28172 /* end confdefs.h. */
28173
28174 /* Override any gcc2 internal prototype to avoid an error. */
28175 #ifdef __cplusplus
28176 extern "C"
28177 #endif
28178 /* We use char because int might match the return type of a gcc2
28179 builtin and then its argument prototype would still apply. */
28180 char XShapeQueryExtension ();
28181 int
28182 main ()
28183 {
28184 XShapeQueryExtension ();
28185 ;
28186 return 0;
28187 }
28188 _ACEOF
28189 rm -f conftest.$ac_objext conftest$ac_exeext
28190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28191 (eval $ac_link) 2>conftest.er1
28192 ac_status=$?
28193 grep -v '^ *+' conftest.er1 >conftest.err
28194 rm -f conftest.er1
28195 cat conftest.err >&5
28196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197 (exit $ac_status); } &&
28198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28200 (eval $ac_try) 2>&5
28201 ac_status=$?
28202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203 (exit $ac_status); }; } &&
28204 { ac_try='test -s conftest$ac_exeext'
28205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28206 (eval $ac_try) 2>&5
28207 ac_status=$?
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); }; }; then
28210 ac_cv_lib_Xext_XShapeQueryExtension=yes
28211 else
28212 echo "$as_me: failed program was:" >&5
28213 sed 's/^/| /' conftest.$ac_ext >&5
28214
28215 ac_cv_lib_Xext_XShapeQueryExtension=no
28216 fi
28217 rm -f conftest.err conftest.$ac_objext \
28218 conftest$ac_exeext conftest.$ac_ext
28219 LIBS=$ac_check_lib_save_LIBS
28220 fi
28221 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28222 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28223 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28224
28225 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
28226 wxHAVE_XEXT_LIB=1
28227
28228 fi
28229
28230
28231 if test "$wxHAVE_XEXT_LIB" = 1; then
28232 save_CFLAGS="$CFLAGS"
28233 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28234
28235 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28236 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28237 cat >conftest.$ac_ext <<_ACEOF
28238 /* confdefs.h. */
28239 _ACEOF
28240 cat confdefs.h >>conftest.$ac_ext
28241 cat >>conftest.$ac_ext <<_ACEOF
28242 /* end confdefs.h. */
28243
28244 #include <X11/Xlib.h>
28245 #include <X11/extensions/shape.h>
28246
28247 int
28248 main ()
28249 {
28250
28251 int dummy1, dummy2;
28252 XShapeQueryExtension((Display*)NULL,
28253 (int*)NULL, (int*)NULL);
28254
28255 ;
28256 return 0;
28257 }
28258 _ACEOF
28259 rm -f conftest.$ac_objext
28260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28261 (eval $ac_compile) 2>conftest.er1
28262 ac_status=$?
28263 grep -v '^ *+' conftest.er1 >conftest.err
28264 rm -f conftest.er1
28265 cat conftest.err >&5
28266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28267 (exit $ac_status); } &&
28268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28270 (eval $ac_try) 2>&5
28271 ac_status=$?
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); }; } &&
28274 { ac_try='test -s conftest.$ac_objext'
28275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28276 (eval $ac_try) 2>&5
28277 ac_status=$?
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; }; then
28280
28281 cat >>confdefs.h <<\_ACEOF
28282 #define HAVE_XSHAPE 1
28283 _ACEOF
28284
28285 echo "$as_me:$LINENO: result: found" >&5
28286 echo "${ECHO_T}found" >&6
28287
28288 else
28289 echo "$as_me: failed program was:" >&5
28290 sed 's/^/| /' conftest.$ac_ext >&5
28291
28292
28293 echo "$as_me:$LINENO: result: not found" >&5
28294 echo "${ECHO_T}not found" >&6
28295
28296 fi
28297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28298 CFLAGS="$save_CFLAGS"
28299
28300 fi
28301 fi
28302
28303 if test "$wxUSE_MAC" = 1; then
28304 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28305 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28306 if test "$GCC" = yes; then
28307 echo "$as_me:$LINENO: result: gcc" >&5
28308 echo "${ECHO_T}gcc" >&6
28309 CPPFLAGS_PASCAL="-fpascal-strings"
28310 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28311 echo "$as_me:$LINENO: result: xlc" >&5
28312 echo "${ECHO_T}xlc" >&6
28313 CPPFLAGS_PASCAL="-qmacpstr"
28314 else
28315 echo "$as_me:$LINENO: result: none" >&5
28316 echo "${ECHO_T}none" >&6
28317 fi
28318
28319 if test "x$wxUSE_UNIX" = "xyes"; then
28320 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28321 else
28322 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28323 fi
28324
28325 TOOLKIT=MAC
28326 GUIDIST=MACX_DIST
28327 WXBASEPORT="_carbon"
28328 fi
28329
28330 if test "$wxUSE_COCOA" = 1; then
28331 TOOLKIT=COCOA
28332 GUIDIST=COCOA_DIST
28333 fi
28334
28335 if test "$wxUSE_PM" = 1; then
28336 TOOLKIT=PM
28337 GUIDIST=PM_DIST
28338 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28339 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28340 if test "${wx_cv_spbcdata+set}" = set; then
28341 echo $ECHO_N "(cached) $ECHO_C" >&6
28342 else
28343
28344 cat >conftest.$ac_ext <<_ACEOF
28345 /* confdefs.h. */
28346 _ACEOF
28347 cat confdefs.h >>conftest.$ac_ext
28348 cat >>conftest.$ac_ext <<_ACEOF
28349 /* end confdefs.h. */
28350
28351 #define INCL_PM
28352 #include <os2.h>
28353
28354 int
28355 main ()
28356 {
28357
28358 SPBCDATA test;
28359
28360 ;
28361 return 0;
28362 }
28363 _ACEOF
28364 rm -f conftest.$ac_objext
28365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28366 (eval $ac_compile) 2>conftest.er1
28367 ac_status=$?
28368 grep -v '^ *+' conftest.er1 >conftest.err
28369 rm -f conftest.er1
28370 cat conftest.err >&5
28371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28372 (exit $ac_status); } &&
28373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28375 (eval $ac_try) 2>&5
28376 ac_status=$?
28377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28378 (exit $ac_status); }; } &&
28379 { ac_try='test -s conftest.$ac_objext'
28380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28381 (eval $ac_try) 2>&5
28382 ac_status=$?
28383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28384 (exit $ac_status); }; }; then
28385 wx_cv_spbcdata=yes
28386 else
28387 echo "$as_me: failed program was:" >&5
28388 sed 's/^/| /' conftest.$ac_ext >&5
28389
28390 wx_cv_spbcdata=no
28391
28392 fi
28393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28394
28395
28396 fi
28397 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28398 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28399
28400 if test $wx_cv_spbcdata = "yes"; then
28401 cat >>confdefs.h <<\_ACEOF
28402 #define HAVE_SPBCDATA 1
28403 _ACEOF
28404
28405 fi
28406 fi
28407
28408 if test "$TOOLKIT" = "PM" ; then
28409 TOOLKIT_DIR="os2"
28410 else
28411 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28412 fi
28413
28414 if test "$wxUSE_UNIVERSAL" = "yes"; then
28415 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28416 WIDGET_SET=univ
28417 fi
28418
28419 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28420 DISTDIR="wx\$(TOOLKIT)"
28421 else
28422 USE_GUI=0
28423
28424 TOOLKIT_DIR="base"
28425
28426 if test "$USE_WIN32" = 1 ; then
28427 TOOLKIT="MSW"
28428 fi
28429
28430 GUIDIST="BASE_DIST"
28431 DISTDIR="wxBase"
28432 fi
28433
28434
28435
28436
28437 IODBC_C_SRC=""
28438
28439
28440 if test "$TOOLKIT" != "MSW" ; then
28441
28442 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28443
28444 if test "${ac_cv_header_sql_h+set}" = set; then
28445 echo "$as_me:$LINENO: checking for sql.h" >&5
28446 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28447 if test "${ac_cv_header_sql_h+set}" = set; then
28448 echo $ECHO_N "(cached) $ECHO_C" >&6
28449 fi
28450 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28451 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28452 else
28453 # Is the header compilable?
28454 echo "$as_me:$LINENO: checking sql.h usability" >&5
28455 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28456 cat >conftest.$ac_ext <<_ACEOF
28457 /* confdefs.h. */
28458 _ACEOF
28459 cat confdefs.h >>conftest.$ac_ext
28460 cat >>conftest.$ac_ext <<_ACEOF
28461 /* end confdefs.h. */
28462 $ac_includes_default
28463 #include <sql.h>
28464 _ACEOF
28465 rm -f conftest.$ac_objext
28466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28467 (eval $ac_compile) 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" || test ! -s conftest.err'
28475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28476 (eval $ac_try) 2>&5
28477 ac_status=$?
28478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28479 (exit $ac_status); }; } &&
28480 { ac_try='test -s conftest.$ac_objext'
28481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28482 (eval $ac_try) 2>&5
28483 ac_status=$?
28484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28485 (exit $ac_status); }; }; then
28486 ac_header_compiler=yes
28487 else
28488 echo "$as_me: failed program was:" >&5
28489 sed 's/^/| /' conftest.$ac_ext >&5
28490
28491 ac_header_compiler=no
28492 fi
28493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28495 echo "${ECHO_T}$ac_header_compiler" >&6
28496
28497 # Is the header present?
28498 echo "$as_me:$LINENO: checking sql.h presence" >&5
28499 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28500 cat >conftest.$ac_ext <<_ACEOF
28501 /* confdefs.h. */
28502 _ACEOF
28503 cat confdefs.h >>conftest.$ac_ext
28504 cat >>conftest.$ac_ext <<_ACEOF
28505 /* end confdefs.h. */
28506 #include <sql.h>
28507 _ACEOF
28508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28509 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28510 ac_status=$?
28511 grep -v '^ *+' conftest.er1 >conftest.err
28512 rm -f conftest.er1
28513 cat conftest.err >&5
28514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28515 (exit $ac_status); } >/dev/null; then
28516 if test -s conftest.err; then
28517 ac_cpp_err=$ac_c_preproc_warn_flag
28518 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28519 else
28520 ac_cpp_err=
28521 fi
28522 else
28523 ac_cpp_err=yes
28524 fi
28525 if test -z "$ac_cpp_err"; then
28526 ac_header_preproc=yes
28527 else
28528 echo "$as_me: failed program was:" >&5
28529 sed 's/^/| /' conftest.$ac_ext >&5
28530
28531 ac_header_preproc=no
28532 fi
28533 rm -f conftest.err conftest.$ac_ext
28534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28535 echo "${ECHO_T}$ac_header_preproc" >&6
28536
28537 # So? What about this header?
28538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28539 yes:no: )
28540 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28541 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28542 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28543 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28544 ac_header_preproc=yes
28545 ;;
28546 no:yes:* )
28547 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28548 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28549 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28550 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28551 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28552 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28553 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28554 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28555 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28556 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28557 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28558 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28559 (
28560 cat <<\_ASBOX
28561 ## ----------------------------------------- ##
28562 ## Report this to wx-dev@lists.wxwidgets.org ##
28563 ## ----------------------------------------- ##
28564 _ASBOX
28565 ) |
28566 sed "s/^/$as_me: WARNING: /" >&2
28567 ;;
28568 esac
28569 echo "$as_me:$LINENO: checking for sql.h" >&5
28570 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28571 if test "${ac_cv_header_sql_h+set}" = set; then
28572 echo $ECHO_N "(cached) $ECHO_C" >&6
28573 else
28574 ac_cv_header_sql_h=$ac_header_preproc
28575 fi
28576 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28577 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28578
28579 fi
28580 if test $ac_cv_header_sql_h = yes; then
28581 found_sql_h=1
28582 fi
28583
28584
28585 if test "x$found_sql_h" = "x1" ; then
28586 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28587 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28588 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28589 echo $ECHO_N "(cached) $ECHO_C" >&6
28590 else
28591 ac_check_lib_save_LIBS=$LIBS
28592 LIBS="-liodbc $LIBS"
28593 cat >conftest.$ac_ext <<_ACEOF
28594 /* confdefs.h. */
28595 _ACEOF
28596 cat confdefs.h >>conftest.$ac_ext
28597 cat >>conftest.$ac_ext <<_ACEOF
28598 /* end confdefs.h. */
28599
28600 /* Override any gcc2 internal prototype to avoid an error. */
28601 #ifdef __cplusplus
28602 extern "C"
28603 #endif
28604 /* We use char because int might match the return type of a gcc2
28605 builtin and then its argument prototype would still apply. */
28606 char SQLAllocEnv ();
28607 int
28608 main ()
28609 {
28610 SQLAllocEnv ();
28611 ;
28612 return 0;
28613 }
28614 _ACEOF
28615 rm -f conftest.$ac_objext conftest$ac_exeext
28616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28617 (eval $ac_link) 2>conftest.er1
28618 ac_status=$?
28619 grep -v '^ *+' conftest.er1 >conftest.err
28620 rm -f conftest.er1
28621 cat conftest.err >&5
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); } &&
28624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28626 (eval $ac_try) 2>&5
28627 ac_status=$?
28628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28629 (exit $ac_status); }; } &&
28630 { ac_try='test -s conftest$ac_exeext'
28631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28632 (eval $ac_try) 2>&5
28633 ac_status=$?
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); }; }; then
28636 ac_cv_lib_iodbc_SQLAllocEnv=yes
28637 else
28638 echo "$as_me: failed program was:" >&5
28639 sed 's/^/| /' conftest.$ac_ext >&5
28640
28641 ac_cv_lib_iodbc_SQLAllocEnv=no
28642 fi
28643 rm -f conftest.err conftest.$ac_objext \
28644 conftest$ac_exeext conftest.$ac_ext
28645 LIBS=$ac_check_lib_save_LIBS
28646 fi
28647 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28648 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28649 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28650 ODBC_LINK=" -liodbc"
28651 else
28652
28653 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28654 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28655 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28656 echo $ECHO_N "(cached) $ECHO_C" >&6
28657 else
28658 ac_check_lib_save_LIBS=$LIBS
28659 LIBS="-lunixodbc $LIBS"
28660 cat >conftest.$ac_ext <<_ACEOF
28661 /* confdefs.h. */
28662 _ACEOF
28663 cat confdefs.h >>conftest.$ac_ext
28664 cat >>conftest.$ac_ext <<_ACEOF
28665 /* end confdefs.h. */
28666
28667 /* Override any gcc2 internal prototype to avoid an error. */
28668 #ifdef __cplusplus
28669 extern "C"
28670 #endif
28671 /* We use char because int might match the return type of a gcc2
28672 builtin and then its argument prototype would still apply. */
28673 char SQLAllocEnv ();
28674 int
28675 main ()
28676 {
28677 SQLAllocEnv ();
28678 ;
28679 return 0;
28680 }
28681 _ACEOF
28682 rm -f conftest.$ac_objext conftest$ac_exeext
28683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28684 (eval $ac_link) 2>conftest.er1
28685 ac_status=$?
28686 grep -v '^ *+' conftest.er1 >conftest.err
28687 rm -f conftest.er1
28688 cat conftest.err >&5
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 (exit $ac_status); } &&
28691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28693 (eval $ac_try) 2>&5
28694 ac_status=$?
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); }; } &&
28697 { ac_try='test -s conftest$ac_exeext'
28698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28699 (eval $ac_try) 2>&5
28700 ac_status=$?
28701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28702 (exit $ac_status); }; }; then
28703 ac_cv_lib_unixodbc_SQLAllocEnv=yes
28704 else
28705 echo "$as_me: failed program was:" >&5
28706 sed 's/^/| /' conftest.$ac_ext >&5
28707
28708 ac_cv_lib_unixodbc_SQLAllocEnv=no
28709 fi
28710 rm -f conftest.err conftest.$ac_objext \
28711 conftest$ac_exeext conftest.$ac_ext
28712 LIBS=$ac_check_lib_save_LIBS
28713 fi
28714 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28715 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28716 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28717 ODBC_LINK=" -lunixodbc"
28718 else
28719
28720 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28721 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28722 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28723 echo $ECHO_N "(cached) $ECHO_C" >&6
28724 else
28725 ac_check_lib_save_LIBS=$LIBS
28726 LIBS="-lodbc $LIBS"
28727 cat >conftest.$ac_ext <<_ACEOF
28728 /* confdefs.h. */
28729 _ACEOF
28730 cat confdefs.h >>conftest.$ac_ext
28731 cat >>conftest.$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28733
28734 /* Override any gcc2 internal prototype to avoid an error. */
28735 #ifdef __cplusplus
28736 extern "C"
28737 #endif
28738 /* We use char because int might match the return type of a gcc2
28739 builtin and then its argument prototype would still apply. */
28740 char SQLAllocEnv ();
28741 int
28742 main ()
28743 {
28744 SQLAllocEnv ();
28745 ;
28746 return 0;
28747 }
28748 _ACEOF
28749 rm -f conftest.$ac_objext conftest$ac_exeext
28750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28751 (eval $ac_link) 2>conftest.er1
28752 ac_status=$?
28753 grep -v '^ *+' conftest.er1 >conftest.err
28754 rm -f conftest.er1
28755 cat conftest.err >&5
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); } &&
28758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28760 (eval $ac_try) 2>&5
28761 ac_status=$?
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); }; } &&
28764 { ac_try='test -s conftest$ac_exeext'
28765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28766 (eval $ac_try) 2>&5
28767 ac_status=$?
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); }; }; then
28770 ac_cv_lib_odbc_SQLAllocEnv=yes
28771 else
28772 echo "$as_me: failed program was:" >&5
28773 sed 's/^/| /' conftest.$ac_ext >&5
28774
28775 ac_cv_lib_odbc_SQLAllocEnv=no
28776 fi
28777 rm -f conftest.err conftest.$ac_objext \
28778 conftest$ac_exeext conftest.$ac_ext
28779 LIBS=$ac_check_lib_save_LIBS
28780 fi
28781 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28782 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28783 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28784 ODBC_LINK=" -lodbc"
28785 fi
28786
28787
28788 fi
28789
28790
28791 fi
28792
28793 fi
28794 if test "x$ODBC_LINK" = "x" ; then
28795 if test "$wxUSE_ODBC" = "sys" ; then
28796 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28797 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28798 { (exit 1); exit 1; }; }
28799 else
28800 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28801 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28802 wxUSE_ODBC=builtin
28803 fi
28804 else
28805 wxUSE_ODBC=sys
28806 fi
28807 fi
28808
28809 if test "$wxUSE_ODBC" = "builtin" ; then
28810 cat >>confdefs.h <<\_ACEOF
28811 #define wxUSE_BUILTIN_IODBC 1
28812 _ACEOF
28813
28814 fi
28815 fi
28816
28817 if test "$wxUSE_ODBC" != "no" ; then
28818 cat >>confdefs.h <<\_ACEOF
28819 #define wxUSE_ODBC 1
28820 _ACEOF
28821
28822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
28823
28824 WXODBCFLAG="-D_IODBC_"
28825 fi
28826
28827
28828 if test "$wxUSE_DISPLAY" = "yes"; then
28829 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28830 echo "$as_me:$LINENO: checking for Xinerama" >&5
28831 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28832
28833 ac_find_libraries=
28834 for ac_dir in $SEARCH_LIB /usr/lib;
28835 do
28836 for ac_extension in a so sl dylib; do
28837 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28838 ac_find_libraries=$ac_dir
28839 break 2
28840 fi
28841 done
28842 done
28843
28844 if test "$ac_find_libraries" != "" ; then
28845
28846 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28847 result=$?
28848 if test $result = 0; then
28849 ac_path_to_link=""
28850 else
28851 ac_path_to_link=" -L$ac_find_libraries"
28852 fi
28853
28854 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28855 LDFLAGS="$LDFLAGS $ac_path_to_link"
28856 fi
28857 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
28858 echo "$as_me:$LINENO: result: yes" >&5
28859 echo "${ECHO_T}yes" >&6
28860
28861 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28862 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28863
28864 ac_find_libraries=
28865 for ac_dir in $SEARCH_LIB /usr/lib;
28866 do
28867 for ac_extension in a so sl dylib; do
28868 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28869 ac_find_libraries=$ac_dir
28870 break 2
28871 fi
28872 done
28873 done
28874
28875 if test "$ac_find_libraries" != "" ; then
28876 echo "$as_me:$LINENO: result: yes" >&5
28877 echo "${ECHO_T}yes" >&6
28878
28879 for ac_header in X11/extensions/xf86vmode.h
28880 do
28881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28882 echo "$as_me:$LINENO: checking for $ac_header" >&5
28883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28884 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28885 echo $ECHO_N "(cached) $ECHO_C" >&6
28886 else
28887 cat >conftest.$ac_ext <<_ACEOF
28888 /* confdefs.h. */
28889 _ACEOF
28890 cat confdefs.h >>conftest.$ac_ext
28891 cat >>conftest.$ac_ext <<_ACEOF
28892 /* end confdefs.h. */
28893
28894 #if HAVE_X11_XLIB_H
28895 #include <X11/Xlib.h>
28896 #endif
28897
28898
28899 #include <$ac_header>
28900 _ACEOF
28901 rm -f conftest.$ac_objext
28902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28903 (eval $ac_compile) 2>conftest.er1
28904 ac_status=$?
28905 grep -v '^ *+' conftest.er1 >conftest.err
28906 rm -f conftest.er1
28907 cat conftest.err >&5
28908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909 (exit $ac_status); } &&
28910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28912 (eval $ac_try) 2>&5
28913 ac_status=$?
28914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28915 (exit $ac_status); }; } &&
28916 { ac_try='test -s conftest.$ac_objext'
28917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28918 (eval $ac_try) 2>&5
28919 ac_status=$?
28920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921 (exit $ac_status); }; }; then
28922 eval "$as_ac_Header=yes"
28923 else
28924 echo "$as_me: failed program was:" >&5
28925 sed 's/^/| /' conftest.$ac_ext >&5
28926
28927 eval "$as_ac_Header=no"
28928 fi
28929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28930 fi
28931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28934 cat >>confdefs.h <<_ACEOF
28935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28936 _ACEOF
28937
28938 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
28939
28940 fi
28941
28942 done
28943
28944 else
28945 echo "$as_me:$LINENO: result: no" >&5
28946 echo "${ECHO_T}no" >&6
28947 fi
28948
28949 else
28950 echo "$as_me:$LINENO: result: no" >&5
28951 echo "${ECHO_T}no" >&6
28952 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28953 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28954 wxUSE_DISPLAY="no"
28955 fi
28956 elif test "$wxUSE_MSW" = 1; then
28957
28958
28959 for ac_header in multimon.h ddraw.h
28960 do
28961 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28962 echo "$as_me:$LINENO: checking for $ac_header" >&5
28963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28965 echo $ECHO_N "(cached) $ECHO_C" >&6
28966 else
28967 cat >conftest.$ac_ext <<_ACEOF
28968 /* confdefs.h. */
28969 _ACEOF
28970 cat confdefs.h >>conftest.$ac_ext
28971 cat >>conftest.$ac_ext <<_ACEOF
28972 /* end confdefs.h. */
28973 #include <windows.h>
28974
28975 #include <$ac_header>
28976 _ACEOF
28977 rm -f conftest.$ac_objext
28978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28979 (eval $ac_compile) 2>conftest.er1
28980 ac_status=$?
28981 grep -v '^ *+' conftest.er1 >conftest.err
28982 rm -f conftest.er1
28983 cat conftest.err >&5
28984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28985 (exit $ac_status); } &&
28986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28988 (eval $ac_try) 2>&5
28989 ac_status=$?
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); }; } &&
28992 { ac_try='test -s conftest.$ac_objext'
28993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28994 (eval $ac_try) 2>&5
28995 ac_status=$?
28996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28997 (exit $ac_status); }; }; then
28998 eval "$as_ac_Header=yes"
28999 else
29000 echo "$as_me: failed program was:" >&5
29001 sed 's/^/| /' conftest.$ac_ext >&5
29002
29003 eval "$as_ac_Header=no"
29004 fi
29005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29006 fi
29007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29010 cat >>confdefs.h <<_ACEOF
29011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29012 _ACEOF
29013
29014 else
29015
29016 wxUSE_DISPLAY="no"
29017 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29018 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29019
29020 fi
29021
29022 done
29023
29024 fi
29025 fi
29026
29027
29028 USE_OPENGL=0
29029 if test "$wxUSE_OPENGL" = "yes"; then
29030 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29031 OPENGL_LIBS="-framework OpenGL -framework AGL"
29032 elif test "$wxUSE_MSW" = 1; then
29033 OPENGL_LIBS="-lopengl32 -lglu32"
29034 else
29035
29036
29037 ac_find_includes=
29038 for ac_dir in $SEARCH_INCLUDE /usr/include;
29039 do
29040 if test -f "$ac_dir/GL/gl.h"; then
29041 ac_find_includes=$ac_dir
29042 break
29043 fi
29044 done
29045
29046 if test "$ac_find_includes" != "" ; then
29047 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29048 echo "${ECHO_T}found in $ac_find_includes" >&6
29049
29050 if test "x$ac_find_includes" = "x/usr/include"; then
29051 ac_path_to_include=""
29052 else
29053 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
29054 result=$?
29055 if test $result = 0; then
29056 ac_path_to_include=""
29057 else
29058 ac_path_to_include=" -I$ac_find_includes"
29059 fi
29060 fi
29061
29062 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
29063 fi
29064
29065 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29066 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29067 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29068 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29069 echo $ECHO_N "(cached) $ECHO_C" >&6
29070 fi
29071 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29072 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29073 else
29074 # Is the header compilable?
29075 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29076 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29077 cat >conftest.$ac_ext <<_ACEOF
29078 /* confdefs.h. */
29079 _ACEOF
29080 cat confdefs.h >>conftest.$ac_ext
29081 cat >>conftest.$ac_ext <<_ACEOF
29082 /* end confdefs.h. */
29083 $ac_includes_default
29084 #include <GL/gl.h>
29085 _ACEOF
29086 rm -f conftest.$ac_objext
29087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29088 (eval $ac_compile) 2>conftest.er1
29089 ac_status=$?
29090 grep -v '^ *+' conftest.er1 >conftest.err
29091 rm -f conftest.er1
29092 cat conftest.err >&5
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); } &&
29095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29097 (eval $ac_try) 2>&5
29098 ac_status=$?
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); }; } &&
29101 { ac_try='test -s conftest.$ac_objext'
29102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103 (eval $ac_try) 2>&5
29104 ac_status=$?
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); }; }; then
29107 ac_header_compiler=yes
29108 else
29109 echo "$as_me: failed program was:" >&5
29110 sed 's/^/| /' conftest.$ac_ext >&5
29111
29112 ac_header_compiler=no
29113 fi
29114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29116 echo "${ECHO_T}$ac_header_compiler" >&6
29117
29118 # Is the header present?
29119 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29120 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29121 cat >conftest.$ac_ext <<_ACEOF
29122 /* confdefs.h. */
29123 _ACEOF
29124 cat confdefs.h >>conftest.$ac_ext
29125 cat >>conftest.$ac_ext <<_ACEOF
29126 /* end confdefs.h. */
29127 #include <GL/gl.h>
29128 _ACEOF
29129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29130 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29131 ac_status=$?
29132 grep -v '^ *+' conftest.er1 >conftest.err
29133 rm -f conftest.er1
29134 cat conftest.err >&5
29135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 (exit $ac_status); } >/dev/null; then
29137 if test -s conftest.err; then
29138 ac_cpp_err=$ac_c_preproc_warn_flag
29139 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29140 else
29141 ac_cpp_err=
29142 fi
29143 else
29144 ac_cpp_err=yes
29145 fi
29146 if test -z "$ac_cpp_err"; then
29147 ac_header_preproc=yes
29148 else
29149 echo "$as_me: failed program was:" >&5
29150 sed 's/^/| /' conftest.$ac_ext >&5
29151
29152 ac_header_preproc=no
29153 fi
29154 rm -f conftest.err conftest.$ac_ext
29155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29156 echo "${ECHO_T}$ac_header_preproc" >&6
29157
29158 # So? What about this header?
29159 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29160 yes:no: )
29161 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29162 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29163 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29164 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29165 ac_header_preproc=yes
29166 ;;
29167 no:yes:* )
29168 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29169 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29170 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29171 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29172 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29173 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29174 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29175 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29176 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29177 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29178 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29179 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29180 (
29181 cat <<\_ASBOX
29182 ## ----------------------------------------- ##
29183 ## Report this to wx-dev@lists.wxwidgets.org ##
29184 ## ----------------------------------------- ##
29185 _ASBOX
29186 ) |
29187 sed "s/^/$as_me: WARNING: /" >&2
29188 ;;
29189 esac
29190 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29191 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29192 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29193 echo $ECHO_N "(cached) $ECHO_C" >&6
29194 else
29195 ac_cv_header_GL_gl_h=$ac_header_preproc
29196 fi
29197 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29198 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29199
29200 fi
29201 if test $ac_cv_header_GL_gl_h = yes; then
29202
29203 found_gl=0
29204
29205 echo "$as_me:$LINENO: checking for -lGL" >&5
29206 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29207
29208 ac_find_libraries=
29209 for ac_dir in $SEARCH_LIB /usr/lib;
29210 do
29211 for ac_extension in a so sl dylib; do
29212 if test -f "$ac_dir/libGL.$ac_extension"; then
29213 ac_find_libraries=$ac_dir
29214 break 2
29215 fi
29216 done
29217 done
29218
29219 if test "$ac_find_libraries" != "" ; then
29220 echo "$as_me:$LINENO: result: yes" >&5
29221 echo "${ECHO_T}yes" >&6
29222
29223
29224 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29225 result=$?
29226 if test $result = 0; then
29227 ac_path_to_link=""
29228 else
29229 ac_path_to_link=" -L$ac_find_libraries"
29230 fi
29231
29232 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29233 LDFLAGS_GL="$ac_path_to_link"
29234 fi
29235
29236 echo "$as_me:$LINENO: checking for -lGLU" >&5
29237 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29238
29239 ac_find_libraries=
29240 for ac_dir in $SEARCH_LIB /usr/lib;
29241 do
29242 for ac_extension in a so sl dylib; do
29243 if test -f "$ac_dir/libGLU.$ac_extension"; then
29244 ac_find_libraries=$ac_dir
29245 break 2
29246 fi
29247 done
29248 done
29249
29250 if test "$ac_find_libraries" != "" ; then
29251
29252 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29253 result=$?
29254 if test $result = 0; then
29255 ac_path_to_link=""
29256 else
29257 ac_path_to_link=" -L$ac_find_libraries"
29258 fi
29259
29260 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29261 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29262 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
29263 fi
29264
29265 found_gl=1
29266 OPENGL_LIBS="-lGL -lGLU"
29267 echo "$as_me:$LINENO: result: yes" >&5
29268 echo "${ECHO_T}yes" >&6
29269 else
29270 echo "$as_me:$LINENO: result: no" >&5
29271 echo "${ECHO_T}no" >&6
29272 fi
29273 else
29274 echo "$as_me:$LINENO: result: no" >&5
29275 echo "${ECHO_T}no" >&6
29276 fi
29277
29278 if test "$found_gl" != 1; then
29279 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29280 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29281
29282 ac_find_libraries=
29283 for ac_dir in $SEARCH_LIB /usr/lib;
29284 do
29285 for ac_extension in a so sl dylib; do
29286 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29287 ac_find_libraries=$ac_dir
29288 break 2
29289 fi
29290 done
29291 done
29292
29293 if test "$ac_find_libraries" != "" ; then
29294
29295 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29296 result=$?
29297 if test $result = 0; then
29298 ac_path_to_link=""
29299 else
29300 ac_path_to_link=" -L$ac_find_libraries"
29301 fi
29302
29303 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
29304 OPENGL_LIBS="-lMesaGL -lMesaGLU"
29305 echo "$as_me:$LINENO: result: yes" >&5
29306 echo "${ECHO_T}yes" >&6
29307 else
29308 echo "$as_me:$LINENO: result: no" >&5
29309 echo "${ECHO_T}no" >&6
29310 fi
29311 fi
29312
29313 fi
29314
29315
29316
29317 if test "x$OPENGL_LIBS" = "x"; then
29318 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29319 echo "$as_me: error: OpenGL libraries not available" >&2;}
29320 { (exit 1); exit 1; }; }
29321 fi
29322 fi
29323
29324 if test "$wxUSE_OPENGL" = "yes"; then
29325 USE_OPENGL=1
29326 cat >>confdefs.h <<\_ACEOF
29327 #define wxUSE_OPENGL 1
29328 _ACEOF
29329
29330 cat >>confdefs.h <<\_ACEOF
29331 #define wxUSE_GLCANVAS 1
29332 _ACEOF
29333
29334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29335 fi
29336 fi
29337
29338
29339 if test -n "$TOOLKIT" ; then
29340 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29341 fi
29342
29343
29344
29345 if test "$wxUSE_SHARED" = "yes"; then
29346 case "${host}" in
29347 *-pc-msdosdjgpp )
29348 wxUSE_SHARED=no
29349 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29350 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29351 ;;
29352 esac
29353 fi
29354
29355 if test "$wxUSE_SHARED" = "yes"; then
29356
29357
29358 found_versioning=no
29359
29360
29361 if test $found_versioning = no ; then
29362 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29363 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29364 if test "${wx_cv_version_script+set}" = set; then
29365 echo $ECHO_N "(cached) $ECHO_C" >&6
29366 else
29367
29368 echo "VER_1 { *; };" >conftest.sym
29369 echo "int main() { return 0; }" >conftest.cpp
29370
29371 if { ac_try='
29372 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29373 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29375 (eval $ac_try) 2>&5
29376 ac_status=$?
29377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29378 (exit $ac_status); }; } ; then
29379 if test -s conftest.stderr ; then
29380 wx_cv_version_script=no
29381 else
29382 wx_cv_version_script=yes
29383 fi
29384 else
29385 wx_cv_version_script=no
29386 fi
29387 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29388
29389 fi
29390 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29391 echo "${ECHO_T}$wx_cv_version_script" >&6
29392 if test $wx_cv_version_script = yes ; then
29393 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
29394 fi
29395 fi
29396
29397
29398 case "${host}" in
29399 *-*-linux* | *-*-gnu* )
29400 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29401 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29402 ;;
29403
29404 *-*-solaris2* )
29405 if test "$GCC" = yes ; then
29406 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
29407
29408 saveLdflags="$LDFLAGS"
29409 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29410 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29411 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29412 cat >conftest.$ac_ext <<_ACEOF
29413 /* confdefs.h. */
29414 _ACEOF
29415 cat confdefs.h >>conftest.$ac_ext
29416 cat >>conftest.$ac_ext <<_ACEOF
29417 /* end confdefs.h. */
29418
29419 int
29420 main ()
29421 {
29422
29423 ;
29424 return 0;
29425 }
29426 _ACEOF
29427 rm -f conftest.$ac_objext conftest$ac_exeext
29428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29429 (eval $ac_link) 2>conftest.er1
29430 ac_status=$?
29431 grep -v '^ *+' conftest.er1 >conftest.err
29432 rm -f conftest.er1
29433 cat conftest.err >&5
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); } &&
29436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29438 (eval $ac_try) 2>&5
29439 ac_status=$?
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; } &&
29442 { ac_try='test -s conftest$ac_exeext'
29443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29444 (eval $ac_try) 2>&5
29445 ac_status=$?
29446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29447 (exit $ac_status); }; }; then
29448
29449 echo "$as_me:$LINENO: result: yes" >&5
29450 echo "${ECHO_T}yes" >&6
29451 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29452 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29453
29454 else
29455 echo "$as_me: failed program was:" >&5
29456 sed 's/^/| /' conftest.$ac_ext >&5
29457
29458
29459 echo "$as_me:$LINENO: result: no" >&5
29460 echo "${ECHO_T}no" >&6
29461 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29462 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29463 LDFLAGS="$saveLdflags -Wl,-R,/"
29464 cat >conftest.$ac_ext <<_ACEOF
29465 /* confdefs.h. */
29466 _ACEOF
29467 cat confdefs.h >>conftest.$ac_ext
29468 cat >>conftest.$ac_ext <<_ACEOF
29469 /* end confdefs.h. */
29470
29471 int
29472 main ()
29473 {
29474
29475 ;
29476 return 0;
29477 }
29478 _ACEOF
29479 rm -f conftest.$ac_objext conftest$ac_exeext
29480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29481 (eval $ac_link) 2>conftest.er1
29482 ac_status=$?
29483 grep -v '^ *+' conftest.er1 >conftest.err
29484 rm -f conftest.er1
29485 cat conftest.err >&5
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); } &&
29488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29491 ac_status=$?
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; } &&
29494 { ac_try='test -s conftest$ac_exeext'
29495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29496 (eval $ac_try) 2>&5
29497 ac_status=$?
29498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499 (exit $ac_status); }; }; then
29500
29501 echo "$as_me:$LINENO: result: yes" >&5
29502 echo "${ECHO_T}yes" >&6
29503 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
29504 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29505
29506 else
29507 echo "$as_me: failed program was:" >&5
29508 sed 's/^/| /' conftest.$ac_ext >&5
29509
29510
29511 echo "$as_me:$LINENO: result: no" >&5
29512 echo "${ECHO_T}no" >&6
29513
29514 fi
29515 rm -f conftest.err conftest.$ac_objext \
29516 conftest$ac_exeext conftest.$ac_ext
29517
29518 fi
29519 rm -f conftest.err conftest.$ac_objext \
29520 conftest$ac_exeext conftest.$ac_ext
29521 LDFLAGS="$saveLdflags"
29522 else
29523 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
29524 WXCONFIG_RPATH="-R\$libdir"
29525 fi
29526 ;;
29527
29528 powerpc-*-darwin* )
29529 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29530 cat <<EOF >change-install-names
29531 #!/bin/sh
29532 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29533 inst_cmd="install_name_tool "
29534 for i in \${libnames} ; do
29535 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29536 done
29537 \${inst_cmd} \${3}
29538 EOF
29539 chmod +x change-install-names
29540 ;;
29541
29542 *-*-cygwin* | *-*-mingw32* )
29543 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29544 ;;
29545
29546 *-*-hpux* )
29547 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
29548 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29549 ;;
29550
29551 esac
29552
29553 if test $wxUSE_RPATH = "no"; then
29554 SAMPLES_RPATH_FLAG=''
29555 SAMPLES_RPATH_POSTLINK=''
29556 WXCONFIG_RPATH=''
29557 fi
29558
29559 SHARED=1
29560
29561 else
29562
29563 config_linkage_component="-static"
29564 SHARED=0
29565
29566 fi
29567
29568
29569 UNICODE=0
29570 lib_unicode_suffix=
29571 WX_CHARTYPE="ansi"
29572 if test "$wxUSE_UNICODE" = "yes"; then
29573 lib_unicode_suffix=u
29574 WX_CHARTYPE="unicode"
29575 UNICODE=1
29576 fi
29577
29578 lib_debug_suffix=
29579 WX_DEBUGTYPE="release"
29580 DEBUG_FLAG=0
29581 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29582 lib_debug_suffix=d
29583 WX_DEBUGTYPE="debug"
29584 DEBUG_FLAG=1
29585 fi
29586
29587 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29588 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29589
29590 DEBUG_INFO=0
29591 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29592 DEBUG_INFO=1
29593 fi
29594
29595 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29596
29597 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29598
29599 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29600
29601 if test "$cross_compiling" = "yes"; then
29602 HOST_SUFFIX="-$host_alias"
29603 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
29604 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
29605 fi
29606
29607 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29608 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29609
29610
29611
29612 if test "$wxUSE_COCOA" = 1; then
29613
29614
29615 ac_ext=c
29616 ac_cpp='$CPP $CPPFLAGS'
29617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29620
29621 ac_ext=m
29622
29623 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29624 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
29625 cat >conftest.$ac_ext <<_ACEOF
29626 /* confdefs.h. */
29627 _ACEOF
29628 cat confdefs.h >>conftest.$ac_ext
29629 cat >>conftest.$ac_ext <<_ACEOF
29630 /* end confdefs.h. */
29631 #include <AppKit/NSEvent.h>
29632 #include <CoreFoundation/CoreFoundation.h>
29633
29634 int
29635 main ()
29636 {
29637
29638 ;
29639 return 0;
29640 }
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" || test ! -s conftest.err'
29652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29653 (eval $ac_try) 2>&5
29654 ac_status=$?
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); }; } &&
29657 { ac_try='test -s conftest.$ac_objext'
29658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29659 (eval $ac_try) 2>&5
29660 ac_status=$?
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); }; }; then
29663 echo "$as_me:$LINENO: result: no" >&5
29664 echo "${ECHO_T}no" >&6
29665 else
29666 echo "$as_me: failed program was:" >&5
29667 sed 's/^/| /' conftest.$ac_ext >&5
29668
29669 echo "$as_me:$LINENO: result: yes" >&5
29670 echo "${ECHO_T}yes" >&6
29671 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
29672 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
29673 cat >conftest.$ac_ext <<_ACEOF
29674 /* confdefs.h. */
29675 _ACEOF
29676 cat confdefs.h >>conftest.$ac_ext
29677 cat >>conftest.$ac_ext <<_ACEOF
29678 /* end confdefs.h. */
29679 #define __Point__ 1
29680 #include <AppKit/NSEvent.h>
29681 #include <CoreFoundation/CoreFoundation.h>
29682
29683 int
29684 main ()
29685 {
29686
29687 ;
29688 return 0;
29689 }
29690 _ACEOF
29691 rm -f conftest.$ac_objext
29692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29693 (eval $ac_compile) 2>conftest.er1
29694 ac_status=$?
29695 grep -v '^ *+' conftest.er1 >conftest.err
29696 rm -f conftest.er1
29697 cat conftest.err >&5
29698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29699 (exit $ac_status); } &&
29700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29702 (eval $ac_try) 2>&5
29703 ac_status=$?
29704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29705 (exit $ac_status); }; } &&
29706 { ac_try='test -s conftest.$ac_objext'
29707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29708 (eval $ac_try) 2>&5
29709 ac_status=$?
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); }; }; then
29712 echo "$as_me:$LINENO: result: yes" >&5
29713 echo "${ECHO_T}yes" >&6
29714 cat >>confdefs.h <<\_ACEOF
29715 #define __Point__ 1
29716 _ACEOF
29717
29718
29719 else
29720 echo "$as_me: failed program was:" >&5
29721 sed 's/^/| /' conftest.$ac_ext >&5
29722
29723 { { echo "$as_me:$LINENO: error: no
29724 See \`config.log' for more details." >&5
29725 echo "$as_me: error: no
29726 See \`config.log' for more details." >&2;}
29727 { (exit 1); exit 1; }; }
29728
29729 fi
29730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29731
29732 fi
29733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29734 ac_ext=c
29735 ac_cpp='$CPP $CPPFLAGS'
29736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29739
29740 fi
29741
29742 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29743 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29744 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29745
29746 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29747
29748 # Extract the first word of "Rez", so it can be a program name with args.
29749 set dummy Rez; ac_word=$2
29750 echo "$as_me:$LINENO: checking for $ac_word" >&5
29751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29752 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29753 echo $ECHO_N "(cached) $ECHO_C" >&6
29754 else
29755 if test -n "$RESCOMP"; then
29756 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
29757 else
29758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29759 for as_dir in $PATH
29760 do
29761 IFS=$as_save_IFS
29762 test -z "$as_dir" && as_dir=.
29763 for ac_exec_ext in '' $ac_executable_extensions; do
29764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29765 ac_cv_prog_RESCOMP="Rez"
29766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29767 break 2
29768 fi
29769 done
29770 done
29771
29772 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
29773 fi
29774 fi
29775 RESCOMP=$ac_cv_prog_RESCOMP
29776 if test -n "$RESCOMP"; then
29777 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29778 echo "${ECHO_T}$RESCOMP" >&6
29779 else
29780 echo "$as_me:$LINENO: result: no" >&5
29781 echo "${ECHO_T}no" >&6
29782 fi
29783
29784 # Extract the first word of "DeRez", so it can be a program name with args.
29785 set dummy DeRez; ac_word=$2
29786 echo "$as_me:$LINENO: checking for $ac_word" >&5
29787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29788 if test "${ac_cv_prog_DEREZ+set}" = set; then
29789 echo $ECHO_N "(cached) $ECHO_C" >&6
29790 else
29791 if test -n "$DEREZ"; then
29792 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
29793 else
29794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29795 for as_dir in $PATH
29796 do
29797 IFS=$as_save_IFS
29798 test -z "$as_dir" && as_dir=.
29799 for ac_exec_ext in '' $ac_executable_extensions; do
29800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29801 ac_cv_prog_DEREZ="DeRez"
29802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29803 break 2
29804 fi
29805 done
29806 done
29807
29808 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
29809 fi
29810 fi
29811 DEREZ=$ac_cv_prog_DEREZ
29812 if test -n "$DEREZ"; then
29813 echo "$as_me:$LINENO: result: $DEREZ" >&5
29814 echo "${ECHO_T}$DEREZ" >&6
29815 else
29816 echo "$as_me:$LINENO: result: no" >&5
29817 echo "${ECHO_T}no" >&6
29818 fi
29819
29820 # Extract the first word of "SetFile", so it can be a program name with args.
29821 set dummy SetFile; ac_word=$2
29822 echo "$as_me:$LINENO: checking for $ac_word" >&5
29823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29824 if test "${ac_cv_prog_SETFILE+set}" = set; then
29825 echo $ECHO_N "(cached) $ECHO_C" >&6
29826 else
29827 if test -n "$SETFILE"; then
29828 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
29829 else
29830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29831 for as_dir in $PATH
29832 do
29833 IFS=$as_save_IFS
29834 test -z "$as_dir" && as_dir=.
29835 for ac_exec_ext in '' $ac_executable_extensions; do
29836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29837 ac_cv_prog_SETFILE="SetFile"
29838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29839 break 2
29840 fi
29841 done
29842 done
29843
29844 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
29845 fi
29846 fi
29847 SETFILE=$ac_cv_prog_SETFILE
29848 if test -n "$SETFILE"; then
29849 echo "$as_me:$LINENO: result: $SETFILE" >&5
29850 echo "${ECHO_T}$SETFILE" >&6
29851 else
29852 echo "$as_me:$LINENO: result: no" >&5
29853 echo "${ECHO_T}no" >&6
29854 fi
29855
29856
29857 MACSETFILE="\$(SETFILE)"
29858
29859 if test "$wxUSE_MAC" = 1; then
29860 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29861
29862 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29863 else
29864 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29865 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29866 fi
29867 else
29868 MACSETFILE="@true"
29869 MACRESWXCONFIG="@true"
29870
29871 if test "$wxUSE_PM" = 1; then
29872 MACRESCOMP="emxbind -ep"
29873 else
29874 MACRESCOMP="@true"
29875 fi
29876 fi
29877
29878
29879
29880 echo "$as_me:$LINENO: checking for mode_t" >&5
29881 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29882 if test "${ac_cv_type_mode_t+set}" = set; then
29883 echo $ECHO_N "(cached) $ECHO_C" >&6
29884 else
29885 cat >conftest.$ac_ext <<_ACEOF
29886 /* confdefs.h. */
29887 _ACEOF
29888 cat confdefs.h >>conftest.$ac_ext
29889 cat >>conftest.$ac_ext <<_ACEOF
29890 /* end confdefs.h. */
29891 $ac_includes_default
29892 int
29893 main ()
29894 {
29895 if ((mode_t *) 0)
29896 return 0;
29897 if (sizeof (mode_t))
29898 return 0;
29899 ;
29900 return 0;
29901 }
29902 _ACEOF
29903 rm -f conftest.$ac_objext
29904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29905 (eval $ac_compile) 2>conftest.er1
29906 ac_status=$?
29907 grep -v '^ *+' conftest.er1 >conftest.err
29908 rm -f conftest.er1
29909 cat conftest.err >&5
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); } &&
29912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29914 (eval $ac_try) 2>&5
29915 ac_status=$?
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 (exit $ac_status); }; } &&
29918 { ac_try='test -s conftest.$ac_objext'
29919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29920 (eval $ac_try) 2>&5
29921 ac_status=$?
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); }; }; then
29924 ac_cv_type_mode_t=yes
29925 else
29926 echo "$as_me: failed program was:" >&5
29927 sed 's/^/| /' conftest.$ac_ext >&5
29928
29929 ac_cv_type_mode_t=no
29930 fi
29931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29932 fi
29933 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29934 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29935 if test $ac_cv_type_mode_t = yes; then
29936 :
29937 else
29938
29939 cat >>confdefs.h <<_ACEOF
29940 #define mode_t int
29941 _ACEOF
29942
29943 fi
29944
29945 echo "$as_me:$LINENO: checking for off_t" >&5
29946 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29947 if test "${ac_cv_type_off_t+set}" = set; then
29948 echo $ECHO_N "(cached) $ECHO_C" >&6
29949 else
29950 cat >conftest.$ac_ext <<_ACEOF
29951 /* confdefs.h. */
29952 _ACEOF
29953 cat confdefs.h >>conftest.$ac_ext
29954 cat >>conftest.$ac_ext <<_ACEOF
29955 /* end confdefs.h. */
29956 $ac_includes_default
29957 int
29958 main ()
29959 {
29960 if ((off_t *) 0)
29961 return 0;
29962 if (sizeof (off_t))
29963 return 0;
29964 ;
29965 return 0;
29966 }
29967 _ACEOF
29968 rm -f conftest.$ac_objext
29969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29970 (eval $ac_compile) 2>conftest.er1
29971 ac_status=$?
29972 grep -v '^ *+' conftest.er1 >conftest.err
29973 rm -f conftest.er1
29974 cat conftest.err >&5
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); } &&
29977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29979 (eval $ac_try) 2>&5
29980 ac_status=$?
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); }; } &&
29983 { ac_try='test -s conftest.$ac_objext'
29984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29985 (eval $ac_try) 2>&5
29986 ac_status=$?
29987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988 (exit $ac_status); }; }; then
29989 ac_cv_type_off_t=yes
29990 else
29991 echo "$as_me: failed program was:" >&5
29992 sed 's/^/| /' conftest.$ac_ext >&5
29993
29994 ac_cv_type_off_t=no
29995 fi
29996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29997 fi
29998 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29999 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30000 if test $ac_cv_type_off_t = yes; then
30001 :
30002 else
30003
30004 cat >>confdefs.h <<_ACEOF
30005 #define off_t long
30006 _ACEOF
30007
30008 fi
30009
30010 echo "$as_me:$LINENO: checking for pid_t" >&5
30011 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30012 if test "${ac_cv_type_pid_t+set}" = set; then
30013 echo $ECHO_N "(cached) $ECHO_C" >&6
30014 else
30015 cat >conftest.$ac_ext <<_ACEOF
30016 /* confdefs.h. */
30017 _ACEOF
30018 cat confdefs.h >>conftest.$ac_ext
30019 cat >>conftest.$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30021 $ac_includes_default
30022 int
30023 main ()
30024 {
30025 if ((pid_t *) 0)
30026 return 0;
30027 if (sizeof (pid_t))
30028 return 0;
30029 ;
30030 return 0;
30031 }
30032 _ACEOF
30033 rm -f conftest.$ac_objext
30034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30035 (eval $ac_compile) 2>conftest.er1
30036 ac_status=$?
30037 grep -v '^ *+' conftest.er1 >conftest.err
30038 rm -f conftest.er1
30039 cat conftest.err >&5
30040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30041 (exit $ac_status); } &&
30042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30044 (eval $ac_try) 2>&5
30045 ac_status=$?
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); }; } &&
30048 { ac_try='test -s conftest.$ac_objext'
30049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30050 (eval $ac_try) 2>&5
30051 ac_status=$?
30052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053 (exit $ac_status); }; }; then
30054 ac_cv_type_pid_t=yes
30055 else
30056 echo "$as_me: failed program was:" >&5
30057 sed 's/^/| /' conftest.$ac_ext >&5
30058
30059 ac_cv_type_pid_t=no
30060 fi
30061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30062 fi
30063 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30064 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30065 if test $ac_cv_type_pid_t = yes; then
30066 :
30067 else
30068
30069 cat >>confdefs.h <<_ACEOF
30070 #define pid_t int
30071 _ACEOF
30072
30073 fi
30074
30075 echo "$as_me:$LINENO: checking for size_t" >&5
30076 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30077 if test "${ac_cv_type_size_t+set}" = set; then
30078 echo $ECHO_N "(cached) $ECHO_C" >&6
30079 else
30080 cat >conftest.$ac_ext <<_ACEOF
30081 /* confdefs.h. */
30082 _ACEOF
30083 cat confdefs.h >>conftest.$ac_ext
30084 cat >>conftest.$ac_ext <<_ACEOF
30085 /* end confdefs.h. */
30086 $ac_includes_default
30087 int
30088 main ()
30089 {
30090 if ((size_t *) 0)
30091 return 0;
30092 if (sizeof (size_t))
30093 return 0;
30094 ;
30095 return 0;
30096 }
30097 _ACEOF
30098 rm -f conftest.$ac_objext
30099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30100 (eval $ac_compile) 2>conftest.er1
30101 ac_status=$?
30102 grep -v '^ *+' conftest.er1 >conftest.err
30103 rm -f conftest.er1
30104 cat conftest.err >&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); } &&
30107 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109 (eval $ac_try) 2>&5
30110 ac_status=$?
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); }; } &&
30113 { ac_try='test -s conftest.$ac_objext'
30114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115 (eval $ac_try) 2>&5
30116 ac_status=$?
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); }; }; then
30119 ac_cv_type_size_t=yes
30120 else
30121 echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.$ac_ext >&5
30123
30124 ac_cv_type_size_t=no
30125 fi
30126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30127 fi
30128 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30129 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30130 if test $ac_cv_type_size_t = yes; then
30131 :
30132 else
30133
30134 cat >>confdefs.h <<_ACEOF
30135 #define size_t unsigned
30136 _ACEOF
30137
30138 fi
30139
30140 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30141 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30142 if test "${ac_cv_type_uid_t+set}" = set; then
30143 echo $ECHO_N "(cached) $ECHO_C" >&6
30144 else
30145 cat >conftest.$ac_ext <<_ACEOF
30146 /* confdefs.h. */
30147 _ACEOF
30148 cat confdefs.h >>conftest.$ac_ext
30149 cat >>conftest.$ac_ext <<_ACEOF
30150 /* end confdefs.h. */
30151 #include <sys/types.h>
30152
30153 _ACEOF
30154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30155 $EGREP "uid_t" >/dev/null 2>&1; then
30156 ac_cv_type_uid_t=yes
30157 else
30158 ac_cv_type_uid_t=no
30159 fi
30160 rm -f conftest*
30161
30162 fi
30163 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30164 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30165 if test $ac_cv_type_uid_t = no; then
30166
30167 cat >>confdefs.h <<\_ACEOF
30168 #define uid_t int
30169 _ACEOF
30170
30171
30172 cat >>confdefs.h <<\_ACEOF
30173 #define gid_t int
30174 _ACEOF
30175
30176 fi
30177
30178
30179 echo "$as_me:$LINENO: checking for ssize_t" >&5
30180 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30181 if test "${ac_cv_type_ssize_t+set}" = set; then
30182 echo $ECHO_N "(cached) $ECHO_C" >&6
30183 else
30184 cat >conftest.$ac_ext <<_ACEOF
30185 /* confdefs.h. */
30186 _ACEOF
30187 cat confdefs.h >>conftest.$ac_ext
30188 cat >>conftest.$ac_ext <<_ACEOF
30189 /* end confdefs.h. */
30190 $ac_includes_default
30191 int
30192 main ()
30193 {
30194 if ((ssize_t *) 0)
30195 return 0;
30196 if (sizeof (ssize_t))
30197 return 0;
30198 ;
30199 return 0;
30200 }
30201 _ACEOF
30202 rm -f conftest.$ac_objext
30203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30204 (eval $ac_compile) 2>conftest.er1
30205 ac_status=$?
30206 grep -v '^ *+' conftest.er1 >conftest.err
30207 rm -f conftest.er1
30208 cat conftest.err >&5
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); } &&
30211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30213 (eval $ac_try) 2>&5
30214 ac_status=$?
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); }; } &&
30217 { ac_try='test -s conftest.$ac_objext'
30218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30219 (eval $ac_try) 2>&5
30220 ac_status=$?
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); }; }; then
30223 ac_cv_type_ssize_t=yes
30224 else
30225 echo "$as_me: failed program was:" >&5
30226 sed 's/^/| /' conftest.$ac_ext >&5
30227
30228 ac_cv_type_ssize_t=no
30229 fi
30230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30231 fi
30232 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30233 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30234 if test $ac_cv_type_ssize_t = yes; then
30235
30236 cat >>confdefs.h <<_ACEOF
30237 #define HAVE_SSIZE_T 1
30238 _ACEOF
30239
30240
30241 fi
30242
30243
30244
30245
30246 ac_ext=cc
30247 ac_cpp='$CXXCPP $CPPFLAGS'
30248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30251
30252 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30253 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30254 if test "${wx_cv_size_t_is_uint+set}" = set; then
30255 echo $ECHO_N "(cached) $ECHO_C" >&6
30256 else
30257
30258 cat >conftest.$ac_ext <<_ACEOF
30259 /* confdefs.h. */
30260 _ACEOF
30261 cat confdefs.h >>conftest.$ac_ext
30262 cat >>conftest.$ac_ext <<_ACEOF
30263 /* end confdefs.h. */
30264 #include <stddef.h>
30265 int
30266 main ()
30267 {
30268
30269 return 0; }
30270
30271 struct Foo { void foo(size_t); void foo(unsigned int); };
30272
30273 int bar() {
30274
30275 ;
30276 return 0;
30277 }
30278 _ACEOF
30279 rm -f conftest.$ac_objext
30280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30281 (eval $ac_compile) 2>conftest.er1
30282 ac_status=$?
30283 grep -v '^ *+' conftest.er1 >conftest.err
30284 rm -f conftest.er1
30285 cat conftest.err >&5
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); } &&
30288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30290 (eval $ac_try) 2>&5
30291 ac_status=$?
30292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293 (exit $ac_status); }; } &&
30294 { ac_try='test -s conftest.$ac_objext'
30295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30296 (eval $ac_try) 2>&5
30297 ac_status=$?
30298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299 (exit $ac_status); }; }; then
30300 wx_cv_size_t_is_uint=no
30301 else
30302 echo "$as_me: failed program was:" >&5
30303 sed 's/^/| /' conftest.$ac_ext >&5
30304
30305 wx_cv_size_t_is_uint=yes
30306
30307 fi
30308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30309
30310
30311 fi
30312 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30313 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30314
30315 if test "$wx_cv_size_t_is_uint" = "yes"; then
30316 cat >>confdefs.h <<\_ACEOF
30317 #define wxSIZE_T_IS_UINT 1
30318 _ACEOF
30319
30320 else
30321 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30322 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30323 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30324 echo $ECHO_N "(cached) $ECHO_C" >&6
30325 else
30326 cat >conftest.$ac_ext <<_ACEOF
30327 /* confdefs.h. */
30328 _ACEOF
30329 cat confdefs.h >>conftest.$ac_ext
30330 cat >>conftest.$ac_ext <<_ACEOF
30331 /* end confdefs.h. */
30332 #include <stddef.h>
30333 int
30334 main ()
30335 {
30336
30337 return 0; }
30338
30339 struct Foo { void foo(size_t); void foo(unsigned long); };
30340
30341 int bar() {
30342
30343 ;
30344 return 0;
30345 }
30346 _ACEOF
30347 rm -f conftest.$ac_objext
30348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30349 (eval $ac_compile) 2>conftest.er1
30350 ac_status=$?
30351 grep -v '^ *+' conftest.er1 >conftest.err
30352 rm -f conftest.er1
30353 cat conftest.err >&5
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); } &&
30356 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30358 (eval $ac_try) 2>&5
30359 ac_status=$?
30360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30361 (exit $ac_status); }; } &&
30362 { ac_try='test -s conftest.$ac_objext'
30363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30364 (eval $ac_try) 2>&5
30365 ac_status=$?
30366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30367 (exit $ac_status); }; }; then
30368 wx_cv_size_t_is_ulong=no
30369 else
30370 echo "$as_me: failed program was:" >&5
30371 sed 's/^/| /' conftest.$ac_ext >&5
30372
30373 wx_cv_size_t_is_ulong=yes
30374
30375 fi
30376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30377
30378 fi
30379 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30380 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30381
30382 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30383 cat >>confdefs.h <<\_ACEOF
30384 #define wxSIZE_T_IS_ULONG 1
30385 _ACEOF
30386
30387 fi
30388 fi
30389
30390 ac_ext=c
30391 ac_cpp='$CPP $CPPFLAGS'
30392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30395
30396
30397
30398 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30399 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30400 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30401 echo $ECHO_N "(cached) $ECHO_C" >&6
30402 else
30403
30404 cat >conftest.$ac_ext <<_ACEOF
30405 /* confdefs.h. */
30406 _ACEOF
30407 cat confdefs.h >>conftest.$ac_ext
30408 cat >>conftest.$ac_ext <<_ACEOF
30409 /* end confdefs.h. */
30410 #include <pwd.h>
30411 int
30412 main ()
30413 {
30414
30415 char *p;
30416 struct passwd *pw;
30417 p = pw->pw_gecos;
30418
30419 ;
30420 return 0;
30421 }
30422 _ACEOF
30423 rm -f conftest.$ac_objext
30424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30425 (eval $ac_compile) 2>conftest.er1
30426 ac_status=$?
30427 grep -v '^ *+' conftest.er1 >conftest.err
30428 rm -f conftest.er1
30429 cat conftest.err >&5
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); } &&
30432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30434 (eval $ac_try) 2>&5
30435 ac_status=$?
30436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30437 (exit $ac_status); }; } &&
30438 { ac_try='test -s conftest.$ac_objext'
30439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30440 (eval $ac_try) 2>&5
30441 ac_status=$?
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); }; }; then
30444
30445 wx_cv_struct_pw_gecos=yes
30446
30447 else
30448 echo "$as_me: failed program was:" >&5
30449 sed 's/^/| /' conftest.$ac_ext >&5
30450
30451
30452 wx_cv_struct_pw_gecos=no
30453
30454
30455 fi
30456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30457
30458
30459 fi
30460 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30461 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30462
30463 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30464 cat >>confdefs.h <<\_ACEOF
30465 #define HAVE_PW_GECOS 1
30466 _ACEOF
30467
30468 fi
30469
30470
30471 if test "$ac_cv_sizeof_wchar_t" != "0"; then
30472 cat >>confdefs.h <<\_ACEOF
30473 #define wxUSE_WCHAR_T 1
30474 _ACEOF
30475
30476
30477 WCSLEN_FOUND=0
30478 WCHAR_LINK=
30479
30480 for ac_func in wcslen
30481 do
30482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30483 echo "$as_me:$LINENO: checking for $ac_func" >&5
30484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30485 if eval "test \"\${$as_ac_var+set}\" = set"; then
30486 echo $ECHO_N "(cached) $ECHO_C" >&6
30487 else
30488 cat >conftest.$ac_ext <<_ACEOF
30489 /* confdefs.h. */
30490 _ACEOF
30491 cat confdefs.h >>conftest.$ac_ext
30492 cat >>conftest.$ac_ext <<_ACEOF
30493 /* end confdefs.h. */
30494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30496 #define $ac_func innocuous_$ac_func
30497
30498 /* System header to define __stub macros and hopefully few prototypes,
30499 which can conflict with char $ac_func (); below.
30500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30501 <limits.h> exists even on freestanding compilers. */
30502
30503 #ifdef __STDC__
30504 # include <limits.h>
30505 #else
30506 # include <assert.h>
30507 #endif
30508
30509 #undef $ac_func
30510
30511 /* Override any gcc2 internal prototype to avoid an error. */
30512 #ifdef __cplusplus
30513 extern "C"
30514 {
30515 #endif
30516 /* We use char because int might match the return type of a gcc2
30517 builtin and then its argument prototype would still apply. */
30518 char $ac_func ();
30519 /* The GNU C library defines this for functions which it implements
30520 to always fail with ENOSYS. Some functions are actually named
30521 something starting with __ and the normal name is an alias. */
30522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30523 choke me
30524 #else
30525 char (*f) () = $ac_func;
30526 #endif
30527 #ifdef __cplusplus
30528 }
30529 #endif
30530
30531 int
30532 main ()
30533 {
30534 return f != $ac_func;
30535 ;
30536 return 0;
30537 }
30538 _ACEOF
30539 rm -f conftest.$ac_objext conftest$ac_exeext
30540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30541 (eval $ac_link) 2>conftest.er1
30542 ac_status=$?
30543 grep -v '^ *+' conftest.er1 >conftest.err
30544 rm -f conftest.er1
30545 cat conftest.err >&5
30546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547 (exit $ac_status); } &&
30548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30550 (eval $ac_try) 2>&5
30551 ac_status=$?
30552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30553 (exit $ac_status); }; } &&
30554 { ac_try='test -s conftest$ac_exeext'
30555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30556 (eval $ac_try) 2>&5
30557 ac_status=$?
30558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30559 (exit $ac_status); }; }; then
30560 eval "$as_ac_var=yes"
30561 else
30562 echo "$as_me: failed program was:" >&5
30563 sed 's/^/| /' conftest.$ac_ext >&5
30564
30565 eval "$as_ac_var=no"
30566 fi
30567 rm -f conftest.err conftest.$ac_objext \
30568 conftest$ac_exeext conftest.$ac_ext
30569 fi
30570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30572 if test `eval echo '${'$as_ac_var'}'` = yes; then
30573 cat >>confdefs.h <<_ACEOF
30574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30575 _ACEOF
30576 WCSLEN_FOUND=1
30577 fi
30578 done
30579
30580
30581 if test "$WCSLEN_FOUND" = 0; then
30582 if test "$TOOLKIT" = "MSW"; then
30583 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30584 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30585 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30586 echo $ECHO_N "(cached) $ECHO_C" >&6
30587 else
30588 ac_check_lib_save_LIBS=$LIBS
30589 LIBS="-lmsvcrt $LIBS"
30590 cat >conftest.$ac_ext <<_ACEOF
30591 /* confdefs.h. */
30592 _ACEOF
30593 cat confdefs.h >>conftest.$ac_ext
30594 cat >>conftest.$ac_ext <<_ACEOF
30595 /* end confdefs.h. */
30596
30597 /* Override any gcc2 internal prototype to avoid an error. */
30598 #ifdef __cplusplus
30599 extern "C"
30600 #endif
30601 /* We use char because int might match the return type of a gcc2
30602 builtin and then its argument prototype would still apply. */
30603 char wcslen ();
30604 int
30605 main ()
30606 {
30607 wcslen ();
30608 ;
30609 return 0;
30610 }
30611 _ACEOF
30612 rm -f conftest.$ac_objext conftest$ac_exeext
30613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30614 (eval $ac_link) 2>conftest.er1
30615 ac_status=$?
30616 grep -v '^ *+' conftest.er1 >conftest.err
30617 rm -f conftest.er1
30618 cat conftest.err >&5
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); } &&
30621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30623 (eval $ac_try) 2>&5
30624 ac_status=$?
30625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30626 (exit $ac_status); }; } &&
30627 { ac_try='test -s conftest$ac_exeext'
30628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30629 (eval $ac_try) 2>&5
30630 ac_status=$?
30631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632 (exit $ac_status); }; }; then
30633 ac_cv_lib_msvcrt_wcslen=yes
30634 else
30635 echo "$as_me: failed program was:" >&5
30636 sed 's/^/| /' conftest.$ac_ext >&5
30637
30638 ac_cv_lib_msvcrt_wcslen=no
30639 fi
30640 rm -f conftest.err conftest.$ac_objext \
30641 conftest$ac_exeext conftest.$ac_ext
30642 LIBS=$ac_check_lib_save_LIBS
30643 fi
30644 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30645 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30646 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30647 WCHAR_OK=1
30648 fi
30649
30650 else
30651 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30652 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30653 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30654 echo $ECHO_N "(cached) $ECHO_C" >&6
30655 else
30656 ac_check_lib_save_LIBS=$LIBS
30657 LIBS="-lw $LIBS"
30658 cat >conftest.$ac_ext <<_ACEOF
30659 /* confdefs.h. */
30660 _ACEOF
30661 cat confdefs.h >>conftest.$ac_ext
30662 cat >>conftest.$ac_ext <<_ACEOF
30663 /* end confdefs.h. */
30664
30665 /* Override any gcc2 internal prototype to avoid an error. */
30666 #ifdef __cplusplus
30667 extern "C"
30668 #endif
30669 /* We use char because int might match the return type of a gcc2
30670 builtin and then its argument prototype would still apply. */
30671 char wcslen ();
30672 int
30673 main ()
30674 {
30675 wcslen ();
30676 ;
30677 return 0;
30678 }
30679 _ACEOF
30680 rm -f conftest.$ac_objext conftest$ac_exeext
30681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30682 (eval $ac_link) 2>conftest.er1
30683 ac_status=$?
30684 grep -v '^ *+' conftest.er1 >conftest.err
30685 rm -f conftest.er1
30686 cat conftest.err >&5
30687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30688 (exit $ac_status); } &&
30689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30691 (eval $ac_try) 2>&5
30692 ac_status=$?
30693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30694 (exit $ac_status); }; } &&
30695 { ac_try='test -s conftest$ac_exeext'
30696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30697 (eval $ac_try) 2>&5
30698 ac_status=$?
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); }; }; then
30701 ac_cv_lib_w_wcslen=yes
30702 else
30703 echo "$as_me: failed program was:" >&5
30704 sed 's/^/| /' conftest.$ac_ext >&5
30705
30706 ac_cv_lib_w_wcslen=no
30707 fi
30708 rm -f conftest.err conftest.$ac_objext \
30709 conftest$ac_exeext conftest.$ac_ext
30710 LIBS=$ac_check_lib_save_LIBS
30711 fi
30712 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30713 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30714 if test $ac_cv_lib_w_wcslen = yes; then
30715
30716 WCHAR_LINK=" -lw"
30717 WCSLEN_FOUND=1
30718
30719 fi
30720
30721 fi
30722 fi
30723
30724 if test "$WCSLEN_FOUND" = 1; then
30725 cat >>confdefs.h <<\_ACEOF
30726 #define HAVE_WCSLEN 1
30727 _ACEOF
30728
30729 fi
30730
30731 if test "$USE_HPUX" = 1; then
30732 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30733 fi
30734
30735
30736 for ac_func in wcsrtombs
30737 do
30738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30739 echo "$as_me:$LINENO: checking for $ac_func" >&5
30740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30741 if eval "test \"\${$as_ac_var+set}\" = set"; then
30742 echo $ECHO_N "(cached) $ECHO_C" >&6
30743 else
30744 cat >conftest.$ac_ext <<_ACEOF
30745 /* confdefs.h. */
30746 _ACEOF
30747 cat confdefs.h >>conftest.$ac_ext
30748 cat >>conftest.$ac_ext <<_ACEOF
30749 /* end confdefs.h. */
30750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30752 #define $ac_func innocuous_$ac_func
30753
30754 /* System header to define __stub macros and hopefully few prototypes,
30755 which can conflict with char $ac_func (); below.
30756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30757 <limits.h> exists even on freestanding compilers. */
30758
30759 #ifdef __STDC__
30760 # include <limits.h>
30761 #else
30762 # include <assert.h>
30763 #endif
30764
30765 #undef $ac_func
30766
30767 /* Override any gcc2 internal prototype to avoid an error. */
30768 #ifdef __cplusplus
30769 extern "C"
30770 {
30771 #endif
30772 /* We use char because int might match the return type of a gcc2
30773 builtin and then its argument prototype would still apply. */
30774 char $ac_func ();
30775 /* The GNU C library defines this for functions which it implements
30776 to always fail with ENOSYS. Some functions are actually named
30777 something starting with __ and the normal name is an alias. */
30778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30779 choke me
30780 #else
30781 char (*f) () = $ac_func;
30782 #endif
30783 #ifdef __cplusplus
30784 }
30785 #endif
30786
30787 int
30788 main ()
30789 {
30790 return f != $ac_func;
30791 ;
30792 return 0;
30793 }
30794 _ACEOF
30795 rm -f conftest.$ac_objext conftest$ac_exeext
30796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30797 (eval $ac_link) 2>conftest.er1
30798 ac_status=$?
30799 grep -v '^ *+' conftest.er1 >conftest.err
30800 rm -f conftest.er1
30801 cat conftest.err >&5
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); } &&
30804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30806 (eval $ac_try) 2>&5
30807 ac_status=$?
30808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30809 (exit $ac_status); }; } &&
30810 { ac_try='test -s conftest$ac_exeext'
30811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30812 (eval $ac_try) 2>&5
30813 ac_status=$?
30814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30815 (exit $ac_status); }; }; then
30816 eval "$as_ac_var=yes"
30817 else
30818 echo "$as_me: failed program was:" >&5
30819 sed 's/^/| /' conftest.$ac_ext >&5
30820
30821 eval "$as_ac_var=no"
30822 fi
30823 rm -f conftest.err conftest.$ac_objext \
30824 conftest$ac_exeext conftest.$ac_ext
30825 fi
30826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30828 if test `eval echo '${'$as_ac_var'}'` = yes; then
30829 cat >>confdefs.h <<_ACEOF
30830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30831 _ACEOF
30832
30833 fi
30834 done
30835
30836 else
30837 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30838 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30839 fi
30840
30841
30842
30843 ac_ext=cc
30844 ac_cpp='$CXXCPP $CPPFLAGS'
30845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30848
30849
30850
30851 for ac_func in vsnprintf
30852 do
30853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30854 echo "$as_me:$LINENO: checking for $ac_func" >&5
30855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30856 if eval "test \"\${$as_ac_var+set}\" = set"; then
30857 echo $ECHO_N "(cached) $ECHO_C" >&6
30858 else
30859 cat >conftest.$ac_ext <<_ACEOF
30860 /* confdefs.h. */
30861 _ACEOF
30862 cat confdefs.h >>conftest.$ac_ext
30863 cat >>conftest.$ac_ext <<_ACEOF
30864 /* end confdefs.h. */
30865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30867 #define $ac_func innocuous_$ac_func
30868
30869 /* System header to define __stub macros and hopefully few prototypes,
30870 which can conflict with char $ac_func (); below.
30871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30872 <limits.h> exists even on freestanding compilers. */
30873
30874 #ifdef __STDC__
30875 # include <limits.h>
30876 #else
30877 # include <assert.h>
30878 #endif
30879
30880 #undef $ac_func
30881
30882 /* Override any gcc2 internal prototype to avoid an error. */
30883 #ifdef __cplusplus
30884 extern "C"
30885 {
30886 #endif
30887 /* We use char because int might match the return type of a gcc2
30888 builtin and then its argument prototype would still apply. */
30889 char $ac_func ();
30890 /* The GNU C library defines this for functions which it implements
30891 to always fail with ENOSYS. Some functions are actually named
30892 something starting with __ and the normal name is an alias. */
30893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30894 choke me
30895 #else
30896 char (*f) () = $ac_func;
30897 #endif
30898 #ifdef __cplusplus
30899 }
30900 #endif
30901
30902 int
30903 main ()
30904 {
30905 return f != $ac_func;
30906 ;
30907 return 0;
30908 }
30909 _ACEOF
30910 rm -f conftest.$ac_objext conftest$ac_exeext
30911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30912 (eval $ac_link) 2>conftest.er1
30913 ac_status=$?
30914 grep -v '^ *+' conftest.er1 >conftest.err
30915 rm -f conftest.er1
30916 cat conftest.err >&5
30917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30918 (exit $ac_status); } &&
30919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30921 (eval $ac_try) 2>&5
30922 ac_status=$?
30923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30924 (exit $ac_status); }; } &&
30925 { ac_try='test -s conftest$ac_exeext'
30926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30927 (eval $ac_try) 2>&5
30928 ac_status=$?
30929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930 (exit $ac_status); }; }; then
30931 eval "$as_ac_var=yes"
30932 else
30933 echo "$as_me: failed program was:" >&5
30934 sed 's/^/| /' conftest.$ac_ext >&5
30935
30936 eval "$as_ac_var=no"
30937 fi
30938 rm -f conftest.err conftest.$ac_objext \
30939 conftest$ac_exeext conftest.$ac_ext
30940 fi
30941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30943 if test `eval echo '${'$as_ac_var'}'` = yes; then
30944 cat >>confdefs.h <<_ACEOF
30945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30946 _ACEOF
30947
30948 fi
30949 done
30950
30951
30952 if test "$ac_cv_func_vsnprintf" = "yes"; then
30953 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30954 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30955 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30956 echo $ECHO_N "(cached) $ECHO_C" >&6
30957 else
30958
30959 cat >conftest.$ac_ext <<_ACEOF
30960 /* confdefs.h. */
30961 _ACEOF
30962 cat confdefs.h >>conftest.$ac_ext
30963 cat >>conftest.$ac_ext <<_ACEOF
30964 /* end confdefs.h. */
30965
30966 #include <stdio.h>
30967 #include <stdarg.h>
30968
30969 int
30970 main ()
30971 {
30972
30973 char *buf;
30974 va_list ap;
30975 vsnprintf(buf, 10u, "%s", ap);
30976
30977 ;
30978 return 0;
30979 }
30980 _ACEOF
30981 rm -f conftest.$ac_objext
30982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30983 (eval $ac_compile) 2>conftest.er1
30984 ac_status=$?
30985 grep -v '^ *+' conftest.er1 >conftest.err
30986 rm -f conftest.er1
30987 cat conftest.err >&5
30988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30989 (exit $ac_status); } &&
30990 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30992 (eval $ac_try) 2>&5
30993 ac_status=$?
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); }; } &&
30996 { ac_try='test -s conftest.$ac_objext'
30997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30998 (eval $ac_try) 2>&5
30999 ac_status=$?
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); }; }; then
31002 wx_cv_func_vsnprintf_decl=yes
31003 else
31004 echo "$as_me: failed program was:" >&5
31005 sed 's/^/| /' conftest.$ac_ext >&5
31006
31007
31008 cat >conftest.$ac_ext <<_ACEOF
31009 /* confdefs.h. */
31010 _ACEOF
31011 cat confdefs.h >>conftest.$ac_ext
31012 cat >>conftest.$ac_ext <<_ACEOF
31013 /* end confdefs.h. */
31014
31015 #include <stdio.h>
31016 #include <stdarg.h>
31017 using namespace std;
31018
31019 int
31020 main ()
31021 {
31022
31023 char *buf;
31024 va_list ap;
31025 vsnprintf(buf, 10u, "%s", ap);
31026
31027 ;
31028 return 0;
31029 }
31030 _ACEOF
31031 rm -f conftest.$ac_objext
31032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31033 (eval $ac_compile) 2>conftest.er1
31034 ac_status=$?
31035 grep -v '^ *+' conftest.er1 >conftest.err
31036 rm -f conftest.er1
31037 cat conftest.err >&5
31038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039 (exit $ac_status); } &&
31040 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31042 (eval $ac_try) 2>&5
31043 ac_status=$?
31044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31045 (exit $ac_status); }; } &&
31046 { ac_try='test -s conftest.$ac_objext'
31047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31048 (eval $ac_try) 2>&5
31049 ac_status=$?
31050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31051 (exit $ac_status); }; }; then
31052 wx_cv_func_vsnprintf_decl=yes
31053 else
31054 echo "$as_me: failed program was:" >&5
31055 sed 's/^/| /' conftest.$ac_ext >&5
31056
31057 wx_cv_func_vsnprintf_decl=no
31058
31059 fi
31060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31061
31062
31063 fi
31064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31065
31066
31067 fi
31068 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31069 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31070
31071 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31072 cat >>confdefs.h <<\_ACEOF
31073 #define HAVE_VSNPRINTF_DECL 1
31074 _ACEOF
31075
31076 fi
31077 fi
31078
31079 if test "$wxUSE_UNICODE" = yes; then
31080
31081
31082
31083
31084
31085
31086 for ac_func in wputc wputchar putws fputws wprintf vswprintf
31087 do
31088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31089 echo "$as_me:$LINENO: checking for $ac_func" >&5
31090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31091 if eval "test \"\${$as_ac_var+set}\" = set"; then
31092 echo $ECHO_N "(cached) $ECHO_C" >&6
31093 else
31094 cat >conftest.$ac_ext <<_ACEOF
31095 /* confdefs.h. */
31096 _ACEOF
31097 cat confdefs.h >>conftest.$ac_ext
31098 cat >>conftest.$ac_ext <<_ACEOF
31099 /* end confdefs.h. */
31100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31102 #define $ac_func innocuous_$ac_func
31103
31104 /* System header to define __stub macros and hopefully few prototypes,
31105 which can conflict with char $ac_func (); below.
31106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31107 <limits.h> exists even on freestanding compilers. */
31108
31109 #ifdef __STDC__
31110 # include <limits.h>
31111 #else
31112 # include <assert.h>
31113 #endif
31114
31115 #undef $ac_func
31116
31117 /* Override any gcc2 internal prototype to avoid an error. */
31118 #ifdef __cplusplus
31119 extern "C"
31120 {
31121 #endif
31122 /* We use char because int might match the return type of a gcc2
31123 builtin and then its argument prototype would still apply. */
31124 char $ac_func ();
31125 /* The GNU C library defines this for functions which it implements
31126 to always fail with ENOSYS. Some functions are actually named
31127 something starting with __ and the normal name is an alias. */
31128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31129 choke me
31130 #else
31131 char (*f) () = $ac_func;
31132 #endif
31133 #ifdef __cplusplus
31134 }
31135 #endif
31136
31137 int
31138 main ()
31139 {
31140 return f != $ac_func;
31141 ;
31142 return 0;
31143 }
31144 _ACEOF
31145 rm -f conftest.$ac_objext conftest$ac_exeext
31146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31147 (eval $ac_link) 2>conftest.er1
31148 ac_status=$?
31149 grep -v '^ *+' conftest.er1 >conftest.err
31150 rm -f conftest.er1
31151 cat conftest.err >&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); } &&
31154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31156 (eval $ac_try) 2>&5
31157 ac_status=$?
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); }; } &&
31160 { ac_try='test -s conftest$ac_exeext'
31161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31162 (eval $ac_try) 2>&5
31163 ac_status=$?
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); }; }; then
31166 eval "$as_ac_var=yes"
31167 else
31168 echo "$as_me: failed program was:" >&5
31169 sed 's/^/| /' conftest.$ac_ext >&5
31170
31171 eval "$as_ac_var=no"
31172 fi
31173 rm -f conftest.err conftest.$ac_objext \
31174 conftest$ac_exeext conftest.$ac_ext
31175 fi
31176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31178 if test `eval echo '${'$as_ac_var'}'` = yes; then
31179 cat >>confdefs.h <<_ACEOF
31180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31181 _ACEOF
31182
31183 fi
31184 done
31185
31186
31187 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31188 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31189 cat >conftest.$ac_ext <<_ACEOF
31190 /* confdefs.h. */
31191 _ACEOF
31192 cat confdefs.h >>conftest.$ac_ext
31193 cat >>conftest.$ac_ext <<_ACEOF
31194 /* end confdefs.h. */
31195 #include <wchar.h>
31196 int
31197 main ()
31198 {
31199 &_vsnwprintf;
31200 ;
31201 return 0;
31202 }
31203 _ACEOF
31204 rm -f conftest.$ac_objext
31205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31206 (eval $ac_compile) 2>conftest.er1
31207 ac_status=$?
31208 grep -v '^ *+' conftest.er1 >conftest.err
31209 rm -f conftest.er1
31210 cat conftest.err >&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } &&
31213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31215 (eval $ac_try) 2>&5
31216 ac_status=$?
31217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218 (exit $ac_status); }; } &&
31219 { ac_try='test -s conftest.$ac_objext'
31220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31221 (eval $ac_try) 2>&5
31222 ac_status=$?
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); }; }; then
31225 echo "$as_me:$LINENO: result: yes" >&5
31226 echo "${ECHO_T}yes" >&6
31227 cat >>confdefs.h <<\_ACEOF
31228 #define HAVE__VSNWPRINTF 1
31229 _ACEOF
31230
31231 else
31232 echo "$as_me: failed program was:" >&5
31233 sed 's/^/| /' conftest.$ac_ext >&5
31234
31235 echo "$as_me:$LINENO: result: no" >&5
31236 echo "${ECHO_T}no" >&6
31237 fi
31238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
31239 fi
31240
31241 ac_ext=c
31242 ac_cpp='$CPP $CPPFLAGS'
31243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31246
31247
31248
31249
31250 if test "$TOOLKIT" != "MSW"; then
31251
31252
31253
31254
31255 ac_ext=cc
31256 ac_cpp='$CXXCPP $CPPFLAGS'
31257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31260
31261
31262
31263
31264 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31265 if test "${with_libiconv_prefix+set}" = set; then
31266 withval="$with_libiconv_prefix"
31267
31268 for dir in `echo "$withval" | tr : ' '`; do
31269 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
31270 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
31271 done
31272
31273 fi;
31274
31275 echo "$as_me:$LINENO: checking for iconv" >&5
31276 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31277 if test "${am_cv_func_iconv+set}" = set; then
31278 echo $ECHO_N "(cached) $ECHO_C" >&6
31279 else
31280
31281 am_cv_func_iconv="no, consider installing GNU libiconv"
31282 am_cv_lib_iconv=no
31283 cat >conftest.$ac_ext <<_ACEOF
31284 /* confdefs.h. */
31285 _ACEOF
31286 cat confdefs.h >>conftest.$ac_ext
31287 cat >>conftest.$ac_ext <<_ACEOF
31288 /* end confdefs.h. */
31289 #include <stdlib.h>
31290 #include <iconv.h>
31291 int
31292 main ()
31293 {
31294 iconv_t cd = iconv_open("","");
31295 iconv(cd,NULL,NULL,NULL,NULL);
31296 iconv_close(cd);
31297 ;
31298 return 0;
31299 }
31300 _ACEOF
31301 rm -f conftest.$ac_objext conftest$ac_exeext
31302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31303 (eval $ac_link) 2>conftest.er1
31304 ac_status=$?
31305 grep -v '^ *+' conftest.er1 >conftest.err
31306 rm -f conftest.er1
31307 cat conftest.err >&5
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); } &&
31310 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31312 (eval $ac_try) 2>&5
31313 ac_status=$?
31314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315 (exit $ac_status); }; } &&
31316 { ac_try='test -s conftest$ac_exeext'
31317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31318 (eval $ac_try) 2>&5
31319 ac_status=$?
31320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321 (exit $ac_status); }; }; then
31322 am_cv_func_iconv=yes
31323 else
31324 echo "$as_me: failed program was:" >&5
31325 sed 's/^/| /' conftest.$ac_ext >&5
31326
31327 fi
31328 rm -f conftest.err conftest.$ac_objext \
31329 conftest$ac_exeext conftest.$ac_ext
31330 if test "$am_cv_func_iconv" != yes; then
31331 am_save_LIBS="$LIBS"
31332 LIBS="$LIBS -liconv"
31333 cat >conftest.$ac_ext <<_ACEOF
31334 /* confdefs.h. */
31335 _ACEOF
31336 cat confdefs.h >>conftest.$ac_ext
31337 cat >>conftest.$ac_ext <<_ACEOF
31338 /* end confdefs.h. */
31339 #include <stdlib.h>
31340 #include <iconv.h>
31341 int
31342 main ()
31343 {
31344 iconv_t cd = iconv_open("","");
31345 iconv(cd,NULL,NULL,NULL,NULL);
31346 iconv_close(cd);
31347 ;
31348 return 0;
31349 }
31350 _ACEOF
31351 rm -f conftest.$ac_objext conftest$ac_exeext
31352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31353 (eval $ac_link) 2>conftest.er1
31354 ac_status=$?
31355 grep -v '^ *+' conftest.er1 >conftest.err
31356 rm -f conftest.er1
31357 cat conftest.err >&5
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); } &&
31360 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31362 (eval $ac_try) 2>&5
31363 ac_status=$?
31364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31365 (exit $ac_status); }; } &&
31366 { ac_try='test -s conftest$ac_exeext'
31367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31368 (eval $ac_try) 2>&5
31369 ac_status=$?
31370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31371 (exit $ac_status); }; }; then
31372 am_cv_lib_iconv=yes
31373 am_cv_func_iconv=yes
31374 else
31375 echo "$as_me: failed program was:" >&5
31376 sed 's/^/| /' conftest.$ac_ext >&5
31377
31378 fi
31379 rm -f conftest.err conftest.$ac_objext \
31380 conftest$ac_exeext conftest.$ac_ext
31381 LIBS="$am_save_LIBS"
31382 fi
31383
31384 fi
31385 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31386 echo "${ECHO_T}$am_cv_func_iconv" >&6
31387 if test "$am_cv_func_iconv" = yes; then
31388
31389 cat >>confdefs.h <<\_ACEOF
31390 #define HAVE_ICONV 1
31391 _ACEOF
31392
31393 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31394 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31395 if test "${wx_cv_func_iconv_const+set}" = set; then
31396 echo $ECHO_N "(cached) $ECHO_C" >&6
31397 else
31398 cat >conftest.$ac_ext <<_ACEOF
31399 /* confdefs.h. */
31400 _ACEOF
31401 cat confdefs.h >>conftest.$ac_ext
31402 cat >>conftest.$ac_ext <<_ACEOF
31403 /* end confdefs.h. */
31404
31405 #include <stdlib.h>
31406 #include <iconv.h>
31407 extern
31408 #ifdef __cplusplus
31409 "C"
31410 #endif
31411 #if defined(__STDC__) || defined(__cplusplus)
31412 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31413 #else
31414 size_t iconv();
31415 #endif
31416
31417 int
31418 main ()
31419 {
31420
31421 ;
31422 return 0;
31423 }
31424 _ACEOF
31425 rm -f conftest.$ac_objext
31426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31427 (eval $ac_compile) 2>conftest.er1
31428 ac_status=$?
31429 grep -v '^ *+' conftest.er1 >conftest.err
31430 rm -f conftest.er1
31431 cat conftest.err >&5
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); } &&
31434 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31436 (eval $ac_try) 2>&5
31437 ac_status=$?
31438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31439 (exit $ac_status); }; } &&
31440 { ac_try='test -s conftest.$ac_objext'
31441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31442 (eval $ac_try) 2>&5
31443 ac_status=$?
31444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31445 (exit $ac_status); }; }; then
31446 wx_cv_func_iconv_const="no"
31447 else
31448 echo "$as_me: failed program was:" >&5
31449 sed 's/^/| /' conftest.$ac_ext >&5
31450
31451 wx_cv_func_iconv_const="yes"
31452
31453 fi
31454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31455
31456 fi
31457 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31458 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31459
31460 iconv_const=
31461 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31462 iconv_const="const"
31463 fi
31464
31465
31466 cat >>confdefs.h <<_ACEOF
31467 #define ICONV_CONST $iconv_const
31468 _ACEOF
31469
31470 fi
31471 LIBICONV=
31472 if test "$am_cv_lib_iconv" = yes; then
31473 LIBICONV="-liconv"
31474 fi
31475
31476
31477 LIBS="$LIBICONV $LIBS"
31478 ac_ext=c
31479 ac_cpp='$CPP $CPPFLAGS'
31480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31483
31484
31485 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31486
31487 for ac_func in sigaction
31488 do
31489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31490 echo "$as_me:$LINENO: checking for $ac_func" >&5
31491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31492 if eval "test \"\${$as_ac_var+set}\" = set"; then
31493 echo $ECHO_N "(cached) $ECHO_C" >&6
31494 else
31495 cat >conftest.$ac_ext <<_ACEOF
31496 /* confdefs.h. */
31497 _ACEOF
31498 cat confdefs.h >>conftest.$ac_ext
31499 cat >>conftest.$ac_ext <<_ACEOF
31500 /* end confdefs.h. */
31501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31503 #define $ac_func innocuous_$ac_func
31504
31505 /* System header to define __stub macros and hopefully few prototypes,
31506 which can conflict with char $ac_func (); below.
31507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31508 <limits.h> exists even on freestanding compilers. */
31509
31510 #ifdef __STDC__
31511 # include <limits.h>
31512 #else
31513 # include <assert.h>
31514 #endif
31515
31516 #undef $ac_func
31517
31518 /* Override any gcc2 internal prototype to avoid an error. */
31519 #ifdef __cplusplus
31520 extern "C"
31521 {
31522 #endif
31523 /* We use char because int might match the return type of a gcc2
31524 builtin and then its argument prototype would still apply. */
31525 char $ac_func ();
31526 /* The GNU C library defines this for functions which it implements
31527 to always fail with ENOSYS. Some functions are actually named
31528 something starting with __ and the normal name is an alias. */
31529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31530 choke me
31531 #else
31532 char (*f) () = $ac_func;
31533 #endif
31534 #ifdef __cplusplus
31535 }
31536 #endif
31537
31538 int
31539 main ()
31540 {
31541 return f != $ac_func;
31542 ;
31543 return 0;
31544 }
31545 _ACEOF
31546 rm -f conftest.$ac_objext conftest$ac_exeext
31547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31548 (eval $ac_link) 2>conftest.er1
31549 ac_status=$?
31550 grep -v '^ *+' conftest.er1 >conftest.err
31551 rm -f conftest.er1
31552 cat conftest.err >&5
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); } &&
31555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31557 (eval $ac_try) 2>&5
31558 ac_status=$?
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); }; } &&
31561 { ac_try='test -s conftest$ac_exeext'
31562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31563 (eval $ac_try) 2>&5
31564 ac_status=$?
31565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31566 (exit $ac_status); }; }; then
31567 eval "$as_ac_var=yes"
31568 else
31569 echo "$as_me: failed program was:" >&5
31570 sed 's/^/| /' conftest.$ac_ext >&5
31571
31572 eval "$as_ac_var=no"
31573 fi
31574 rm -f conftest.err conftest.$ac_objext \
31575 conftest$ac_exeext conftest.$ac_ext
31576 fi
31577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31579 if test `eval echo '${'$as_ac_var'}'` = yes; then
31580 cat >>confdefs.h <<_ACEOF
31581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31582 _ACEOF
31583
31584 fi
31585 done
31586
31587
31588 if test "$ac_cv_func_sigaction" = "no"; then
31589 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31590 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31591 wxUSE_ON_FATAL_EXCEPTION=no
31592 fi
31593
31594 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31595
31596
31597 ac_ext=cc
31598 ac_cpp='$CXXCPP $CPPFLAGS'
31599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31602
31603
31604 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31605 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31606 if test "${wx_cv_type_sa_handler+set}" = set; then
31607 echo $ECHO_N "(cached) $ECHO_C" >&6
31608 else
31609
31610 cat >conftest.$ac_ext <<_ACEOF
31611 /* confdefs.h. */
31612 _ACEOF
31613 cat confdefs.h >>conftest.$ac_ext
31614 cat >>conftest.$ac_ext <<_ACEOF
31615 /* end confdefs.h. */
31616 #include <signal.h>
31617 int
31618 main ()
31619 {
31620
31621 extern void testSigHandler(int);
31622
31623 struct sigaction sa;
31624 sa.sa_handler = testSigHandler;
31625
31626 ;
31627 return 0;
31628 }
31629 _ACEOF
31630 rm -f conftest.$ac_objext
31631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31632 (eval $ac_compile) 2>conftest.er1
31633 ac_status=$?
31634 grep -v '^ *+' conftest.er1 >conftest.err
31635 rm -f conftest.er1
31636 cat conftest.err >&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); } &&
31639 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31641 (eval $ac_try) 2>&5
31642 ac_status=$?
31643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644 (exit $ac_status); }; } &&
31645 { ac_try='test -s conftest.$ac_objext'
31646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31647 (eval $ac_try) 2>&5
31648 ac_status=$?
31649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650 (exit $ac_status); }; }; then
31651
31652 wx_cv_type_sa_handler=int
31653
31654 else
31655 echo "$as_me: failed program was:" >&5
31656 sed 's/^/| /' conftest.$ac_ext >&5
31657
31658
31659 wx_cv_type_sa_handler=void
31660
31661 fi
31662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31663
31664 fi
31665 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31666 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31667
31668 ac_ext=c
31669 ac_cpp='$CPP $CPPFLAGS'
31670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31673
31674
31675 cat >>confdefs.h <<_ACEOF
31676 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31677 _ACEOF
31678
31679 fi
31680 fi
31681
31682 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31683
31684
31685 ac_ext=cc
31686 ac_cpp='$CXXCPP $CPPFLAGS'
31687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31690
31691
31692 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31693 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31694 if test "${wx_cv_func_backtrace+set}" = set; then
31695 echo $ECHO_N "(cached) $ECHO_C" >&6
31696 else
31697
31698 cat >conftest.$ac_ext <<_ACEOF
31699 /* confdefs.h. */
31700 _ACEOF
31701 cat confdefs.h >>conftest.$ac_ext
31702 cat >>conftest.$ac_ext <<_ACEOF
31703 /* end confdefs.h. */
31704 #include <execinfo.h>
31705 int
31706 main ()
31707 {
31708
31709 void *trace[1];
31710 char **messages;
31711
31712 backtrace(trace, 1);
31713 messages = backtrace_symbols(trace, 1);
31714
31715 ;
31716 return 0;
31717 }
31718 _ACEOF
31719 rm -f conftest.$ac_objext
31720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31721 (eval $ac_compile) 2>conftest.er1
31722 ac_status=$?
31723 grep -v '^ *+' conftest.er1 >conftest.err
31724 rm -f conftest.er1
31725 cat conftest.err >&5
31726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31727 (exit $ac_status); } &&
31728 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31730 (eval $ac_try) 2>&5
31731 ac_status=$?
31732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733 (exit $ac_status); }; } &&
31734 { ac_try='test -s conftest.$ac_objext'
31735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31736 (eval $ac_try) 2>&5
31737 ac_status=$?
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); }; }; then
31740 wx_cv_func_backtrace=yes
31741 else
31742 echo "$as_me: failed program was:" >&5
31743 sed 's/^/| /' conftest.$ac_ext >&5
31744
31745 wx_cv_func_backtrace=no
31746
31747 fi
31748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31749
31750
31751 fi
31752 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31753 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31754
31755
31756 if test "$wx_cv_func_backtrace" = "no"; then
31757 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31758 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31759 wxUSE_STACKWALKER=no
31760 else
31761 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31762 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31763 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31764 echo $ECHO_N "(cached) $ECHO_C" >&6
31765 else
31766
31767 cat >conftest.$ac_ext <<_ACEOF
31768 /* confdefs.h. */
31769 _ACEOF
31770 cat confdefs.h >>conftest.$ac_ext
31771 cat >>conftest.$ac_ext <<_ACEOF
31772 /* end confdefs.h. */
31773 #include <cxxabi.h>
31774 int
31775 main ()
31776 {
31777
31778 int rc;
31779 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31780
31781 ;
31782 return 0;
31783 }
31784 _ACEOF
31785 rm -f conftest.$ac_objext conftest$ac_exeext
31786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31787 (eval $ac_link) 2>conftest.er1
31788 ac_status=$?
31789 grep -v '^ *+' conftest.er1 >conftest.err
31790 rm -f conftest.er1
31791 cat conftest.err >&5
31792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31793 (exit $ac_status); } &&
31794 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31796 (eval $ac_try) 2>&5
31797 ac_status=$?
31798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31799 (exit $ac_status); }; } &&
31800 { ac_try='test -s conftest$ac_exeext'
31801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31802 (eval $ac_try) 2>&5
31803 ac_status=$?
31804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31805 (exit $ac_status); }; }; then
31806 wx_cv_func_cxa_demangle=yes
31807 else
31808 echo "$as_me: failed program was:" >&5
31809 sed 's/^/| /' conftest.$ac_ext >&5
31810
31811 wx_cv_func_cxa_demangle=no
31812
31813 fi
31814 rm -f conftest.err conftest.$ac_objext \
31815 conftest$ac_exeext conftest.$ac_ext
31816
31817
31818 fi
31819 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31820 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31821
31822 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31823 cat >>confdefs.h <<\_ACEOF
31824 #define HAVE_CXA_DEMANGLE 1
31825 _ACEOF
31826
31827 fi
31828 fi
31829
31830 ac_ext=c
31831 ac_cpp='$CPP $CPPFLAGS'
31832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31835
31836 fi
31837
31838 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
31839 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
31840 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
31841 wxUSE_STACKWALKER=no
31842 fi
31843
31844
31845
31846
31847 for ac_func in mkstemp mktemp
31848 do
31849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31850 echo "$as_me:$LINENO: checking for $ac_func" >&5
31851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31852 if eval "test \"\${$as_ac_var+set}\" = set"; then
31853 echo $ECHO_N "(cached) $ECHO_C" >&6
31854 else
31855 cat >conftest.$ac_ext <<_ACEOF
31856 /* confdefs.h. */
31857 _ACEOF
31858 cat confdefs.h >>conftest.$ac_ext
31859 cat >>conftest.$ac_ext <<_ACEOF
31860 /* end confdefs.h. */
31861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31863 #define $ac_func innocuous_$ac_func
31864
31865 /* System header to define __stub macros and hopefully few prototypes,
31866 which can conflict with char $ac_func (); below.
31867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31868 <limits.h> exists even on freestanding compilers. */
31869
31870 #ifdef __STDC__
31871 # include <limits.h>
31872 #else
31873 # include <assert.h>
31874 #endif
31875
31876 #undef $ac_func
31877
31878 /* Override any gcc2 internal prototype to avoid an error. */
31879 #ifdef __cplusplus
31880 extern "C"
31881 {
31882 #endif
31883 /* We use char because int might match the return type of a gcc2
31884 builtin and then its argument prototype would still apply. */
31885 char $ac_func ();
31886 /* The GNU C library defines this for functions which it implements
31887 to always fail with ENOSYS. Some functions are actually named
31888 something starting with __ and the normal name is an alias. */
31889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31890 choke me
31891 #else
31892 char (*f) () = $ac_func;
31893 #endif
31894 #ifdef __cplusplus
31895 }
31896 #endif
31897
31898 int
31899 main ()
31900 {
31901 return f != $ac_func;
31902 ;
31903 return 0;
31904 }
31905 _ACEOF
31906 rm -f conftest.$ac_objext conftest$ac_exeext
31907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31908 (eval $ac_link) 2>conftest.er1
31909 ac_status=$?
31910 grep -v '^ *+' conftest.er1 >conftest.err
31911 rm -f conftest.er1
31912 cat conftest.err >&5
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); } &&
31915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31917 (eval $ac_try) 2>&5
31918 ac_status=$?
31919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31920 (exit $ac_status); }; } &&
31921 { ac_try='test -s conftest$ac_exeext'
31922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31923 (eval $ac_try) 2>&5
31924 ac_status=$?
31925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31926 (exit $ac_status); }; }; then
31927 eval "$as_ac_var=yes"
31928 else
31929 echo "$as_me: failed program was:" >&5
31930 sed 's/^/| /' conftest.$ac_ext >&5
31931
31932 eval "$as_ac_var=no"
31933 fi
31934 rm -f conftest.err conftest.$ac_objext \
31935 conftest$ac_exeext conftest.$ac_ext
31936 fi
31937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31939 if test `eval echo '${'$as_ac_var'}'` = yes; then
31940 cat >>confdefs.h <<_ACEOF
31941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31942 _ACEOF
31943 break
31944 fi
31945 done
31946
31947
31948 echo "$as_me:$LINENO: checking for statfs" >&5
31949 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31950 if test "${wx_cv_func_statfs+set}" = set; then
31951 echo $ECHO_N "(cached) $ECHO_C" >&6
31952 else
31953 cat >conftest.$ac_ext <<_ACEOF
31954 /* confdefs.h. */
31955 _ACEOF
31956 cat confdefs.h >>conftest.$ac_ext
31957 cat >>conftest.$ac_ext <<_ACEOF
31958 /* end confdefs.h. */
31959
31960 #if defined(__BSD__)
31961 #include <sys/param.h>
31962 #include <sys/mount.h>
31963 #else
31964 #include <sys/vfs.h>
31965 #endif
31966
31967 int
31968 main ()
31969 {
31970
31971 long l;
31972 struct statfs fs;
31973 statfs("/", &fs);
31974 l = fs.f_bsize;
31975 l += fs.f_blocks;
31976 l += fs.f_bavail;
31977
31978 ;
31979 return 0;
31980 }
31981 _ACEOF
31982 rm -f conftest.$ac_objext
31983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31984 (eval $ac_compile) 2>conftest.er1
31985 ac_status=$?
31986 grep -v '^ *+' conftest.er1 >conftest.err
31987 rm -f conftest.er1
31988 cat conftest.err >&5
31989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); } &&
31991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31993 (eval $ac_try) 2>&5
31994 ac_status=$?
31995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31996 (exit $ac_status); }; } &&
31997 { ac_try='test -s conftest.$ac_objext'
31998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31999 (eval $ac_try) 2>&5
32000 ac_status=$?
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); }; }; then
32003
32004 wx_cv_func_statfs=yes
32005
32006 else
32007 echo "$as_me: failed program was:" >&5
32008 sed 's/^/| /' conftest.$ac_ext >&5
32009
32010
32011 wx_cv_func_statfs=no
32012
32013
32014 fi
32015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32016
32017 fi
32018 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32019 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32020
32021 if test "$wx_cv_func_statfs" = "yes"; then
32022 wx_cv_type_statvfs_t="struct statfs"
32023 cat >>confdefs.h <<\_ACEOF
32024 #define HAVE_STATFS 1
32025 _ACEOF
32026
32027 else
32028 echo "$as_me:$LINENO: checking for statvfs" >&5
32029 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32030 if test "${wx_cv_func_statvfs+set}" = set; then
32031 echo $ECHO_N "(cached) $ECHO_C" >&6
32032 else
32033 cat >conftest.$ac_ext <<_ACEOF
32034 /* confdefs.h. */
32035 _ACEOF
32036 cat confdefs.h >>conftest.$ac_ext
32037 cat >>conftest.$ac_ext <<_ACEOF
32038 /* end confdefs.h. */
32039
32040 #include <stddef.h>
32041 #include <sys/statvfs.h>
32042
32043 int
32044 main ()
32045 {
32046
32047 statvfs("/", NULL);
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_c_werror_flag" || test ! -s conftest.err'
32063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32064 (eval $ac_try) 2>&5
32065 ac_status=$?
32066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32067 (exit $ac_status); }; } &&
32068 { ac_try='test -s conftest.$ac_objext'
32069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32070 (eval $ac_try) 2>&5
32071 ac_status=$?
32072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32073 (exit $ac_status); }; }; then
32074 wx_cv_func_statvfs=yes
32075 else
32076 echo "$as_me: failed program was:" >&5
32077 sed 's/^/| /' conftest.$ac_ext >&5
32078
32079 wx_cv_func_statvfs=no
32080
32081 fi
32082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32083
32084 fi
32085 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32086 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32087
32088 if test "$wx_cv_func_statvfs" = "yes"; then
32089
32090
32091 ac_ext=cc
32092 ac_cpp='$CXXCPP $CPPFLAGS'
32093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32096
32097
32098 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32099 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32100 if test "${wx_cv_type_statvfs_t+set}" = set; then
32101 echo $ECHO_N "(cached) $ECHO_C" >&6
32102 else
32103 cat >conftest.$ac_ext <<_ACEOF
32104 /* confdefs.h. */
32105 _ACEOF
32106 cat confdefs.h >>conftest.$ac_ext
32107 cat >>conftest.$ac_ext <<_ACEOF
32108 /* end confdefs.h. */
32109
32110 #include <sys/statvfs.h>
32111
32112 int
32113 main ()
32114 {
32115
32116 long l;
32117 statvfs_t fs;
32118 statvfs("/", &fs);
32119 l = fs.f_bsize;
32120 l += fs.f_blocks;
32121 l += fs.f_bavail;
32122
32123 ;
32124 return 0;
32125 }
32126 _ACEOF
32127 rm -f conftest.$ac_objext
32128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32129 (eval $ac_compile) 2>conftest.er1
32130 ac_status=$?
32131 grep -v '^ *+' conftest.er1 >conftest.err
32132 rm -f conftest.er1
32133 cat conftest.err >&5
32134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32135 (exit $ac_status); } &&
32136 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32138 (eval $ac_try) 2>&5
32139 ac_status=$?
32140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32141 (exit $ac_status); }; } &&
32142 { ac_try='test -s conftest.$ac_objext'
32143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32144 (eval $ac_try) 2>&5
32145 ac_status=$?
32146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32147 (exit $ac_status); }; }; then
32148 wx_cv_type_statvfs_t=statvfs_t
32149 else
32150 echo "$as_me: failed program was:" >&5
32151 sed 's/^/| /' conftest.$ac_ext >&5
32152
32153
32154 cat >conftest.$ac_ext <<_ACEOF
32155 /* confdefs.h. */
32156 _ACEOF
32157 cat confdefs.h >>conftest.$ac_ext
32158 cat >>conftest.$ac_ext <<_ACEOF
32159 /* end confdefs.h. */
32160
32161 #include <sys/statvfs.h>
32162
32163 int
32164 main ()
32165 {
32166
32167 long l;
32168 struct statvfs fs;
32169 statvfs("/", &fs);
32170 l = fs.f_bsize;
32171 l += fs.f_blocks;
32172 l += fs.f_bavail;
32173
32174 ;
32175 return 0;
32176 }
32177 _ACEOF
32178 rm -f conftest.$ac_objext
32179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32180 (eval $ac_compile) 2>conftest.er1
32181 ac_status=$?
32182 grep -v '^ *+' conftest.er1 >conftest.err
32183 rm -f conftest.er1
32184 cat conftest.err >&5
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); } &&
32187 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32189 (eval $ac_try) 2>&5
32190 ac_status=$?
32191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32192 (exit $ac_status); }; } &&
32193 { ac_try='test -s conftest.$ac_objext'
32194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32195 (eval $ac_try) 2>&5
32196 ac_status=$?
32197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32198 (exit $ac_status); }; }; then
32199 wx_cv_type_statvfs_t="struct statvfs"
32200 else
32201 echo "$as_me: failed program was:" >&5
32202 sed 's/^/| /' conftest.$ac_ext >&5
32203
32204 wx_cv_type_statvfs_t="unknown"
32205
32206 fi
32207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32208
32209
32210 fi
32211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32212
32213 fi
32214 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32215 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32216
32217 ac_ext=c
32218 ac_cpp='$CPP $CPPFLAGS'
32219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32222
32223
32224 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32225 cat >>confdefs.h <<\_ACEOF
32226 #define HAVE_STATVFS 1
32227 _ACEOF
32228
32229 fi
32230 else
32231 wx_cv_type_statvfs_t="unknown"
32232 fi
32233 fi
32234
32235 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32236 cat >>confdefs.h <<_ACEOF
32237 #define WX_STATFS_T $wx_cv_type_statvfs_t
32238 _ACEOF
32239
32240 else
32241 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32242 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32243 fi
32244
32245 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32246
32247
32248 for ac_func in fcntl flock
32249 do
32250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32251 echo "$as_me:$LINENO: checking for $ac_func" >&5
32252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32253 if eval "test \"\${$as_ac_var+set}\" = set"; then
32254 echo $ECHO_N "(cached) $ECHO_C" >&6
32255 else
32256 cat >conftest.$ac_ext <<_ACEOF
32257 /* confdefs.h. */
32258 _ACEOF
32259 cat confdefs.h >>conftest.$ac_ext
32260 cat >>conftest.$ac_ext <<_ACEOF
32261 /* end confdefs.h. */
32262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32264 #define $ac_func innocuous_$ac_func
32265
32266 /* System header to define __stub macros and hopefully few prototypes,
32267 which can conflict with char $ac_func (); below.
32268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32269 <limits.h> exists even on freestanding compilers. */
32270
32271 #ifdef __STDC__
32272 # include <limits.h>
32273 #else
32274 # include <assert.h>
32275 #endif
32276
32277 #undef $ac_func
32278
32279 /* Override any gcc2 internal prototype to avoid an error. */
32280 #ifdef __cplusplus
32281 extern "C"
32282 {
32283 #endif
32284 /* We use char because int might match the return type of a gcc2
32285 builtin and then its argument prototype would still apply. */
32286 char $ac_func ();
32287 /* The GNU C library defines this for functions which it implements
32288 to always fail with ENOSYS. Some functions are actually named
32289 something starting with __ and the normal name is an alias. */
32290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32291 choke me
32292 #else
32293 char (*f) () = $ac_func;
32294 #endif
32295 #ifdef __cplusplus
32296 }
32297 #endif
32298
32299 int
32300 main ()
32301 {
32302 return f != $ac_func;
32303 ;
32304 return 0;
32305 }
32306 _ACEOF
32307 rm -f conftest.$ac_objext conftest$ac_exeext
32308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32309 (eval $ac_link) 2>conftest.er1
32310 ac_status=$?
32311 grep -v '^ *+' conftest.er1 >conftest.err
32312 rm -f conftest.er1
32313 cat conftest.err >&5
32314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32315 (exit $ac_status); } &&
32316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32318 (eval $ac_try) 2>&5
32319 ac_status=$?
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); }; } &&
32322 { ac_try='test -s conftest$ac_exeext'
32323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32324 (eval $ac_try) 2>&5
32325 ac_status=$?
32326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32327 (exit $ac_status); }; }; then
32328 eval "$as_ac_var=yes"
32329 else
32330 echo "$as_me: failed program was:" >&5
32331 sed 's/^/| /' conftest.$ac_ext >&5
32332
32333 eval "$as_ac_var=no"
32334 fi
32335 rm -f conftest.err conftest.$ac_objext \
32336 conftest$ac_exeext conftest.$ac_ext
32337 fi
32338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32340 if test `eval echo '${'$as_ac_var'}'` = yes; then
32341 cat >>confdefs.h <<_ACEOF
32342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32343 _ACEOF
32344 break
32345 fi
32346 done
32347
32348
32349 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32350 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32351 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32352 wxUSE_SNGLINST_CHECKER=no
32353 fi
32354 fi
32355
32356
32357 for ac_func in timegm
32358 do
32359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32360 echo "$as_me:$LINENO: checking for $ac_func" >&5
32361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32362 if eval "test \"\${$as_ac_var+set}\" = set"; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32364 else
32365 cat >conftest.$ac_ext <<_ACEOF
32366 /* confdefs.h. */
32367 _ACEOF
32368 cat confdefs.h >>conftest.$ac_ext
32369 cat >>conftest.$ac_ext <<_ACEOF
32370 /* end confdefs.h. */
32371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32373 #define $ac_func innocuous_$ac_func
32374
32375 /* System header to define __stub macros and hopefully few prototypes,
32376 which can conflict with char $ac_func (); below.
32377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32378 <limits.h> exists even on freestanding compilers. */
32379
32380 #ifdef __STDC__
32381 # include <limits.h>
32382 #else
32383 # include <assert.h>
32384 #endif
32385
32386 #undef $ac_func
32387
32388 /* Override any gcc2 internal prototype to avoid an error. */
32389 #ifdef __cplusplus
32390 extern "C"
32391 {
32392 #endif
32393 /* We use char because int might match the return type of a gcc2
32394 builtin and then its argument prototype would still apply. */
32395 char $ac_func ();
32396 /* The GNU C library defines this for functions which it implements
32397 to always fail with ENOSYS. Some functions are actually named
32398 something starting with __ and the normal name is an alias. */
32399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32400 choke me
32401 #else
32402 char (*f) () = $ac_func;
32403 #endif
32404 #ifdef __cplusplus
32405 }
32406 #endif
32407
32408 int
32409 main ()
32410 {
32411 return f != $ac_func;
32412 ;
32413 return 0;
32414 }
32415 _ACEOF
32416 rm -f conftest.$ac_objext conftest$ac_exeext
32417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32418 (eval $ac_link) 2>conftest.er1
32419 ac_status=$?
32420 grep -v '^ *+' conftest.er1 >conftest.err
32421 rm -f conftest.er1
32422 cat conftest.err >&5
32423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32424 (exit $ac_status); } &&
32425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32427 (eval $ac_try) 2>&5
32428 ac_status=$?
32429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430 (exit $ac_status); }; } &&
32431 { ac_try='test -s conftest$ac_exeext'
32432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32433 (eval $ac_try) 2>&5
32434 ac_status=$?
32435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436 (exit $ac_status); }; }; then
32437 eval "$as_ac_var=yes"
32438 else
32439 echo "$as_me: failed program was:" >&5
32440 sed 's/^/| /' conftest.$ac_ext >&5
32441
32442 eval "$as_ac_var=no"
32443 fi
32444 rm -f conftest.err conftest.$ac_objext \
32445 conftest$ac_exeext conftest.$ac_ext
32446 fi
32447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32449 if test `eval echo '${'$as_ac_var'}'` = yes; then
32450 cat >>confdefs.h <<_ACEOF
32451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32452 _ACEOF
32453
32454 fi
32455 done
32456
32457
32458
32459
32460 for ac_func in putenv setenv
32461 do
32462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32463 echo "$as_me:$LINENO: checking for $ac_func" >&5
32464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32465 if eval "test \"\${$as_ac_var+set}\" = set"; then
32466 echo $ECHO_N "(cached) $ECHO_C" >&6
32467 else
32468 cat >conftest.$ac_ext <<_ACEOF
32469 /* confdefs.h. */
32470 _ACEOF
32471 cat confdefs.h >>conftest.$ac_ext
32472 cat >>conftest.$ac_ext <<_ACEOF
32473 /* end confdefs.h. */
32474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32476 #define $ac_func innocuous_$ac_func
32477
32478 /* System header to define __stub macros and hopefully few prototypes,
32479 which can conflict with char $ac_func (); below.
32480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32481 <limits.h> exists even on freestanding compilers. */
32482
32483 #ifdef __STDC__
32484 # include <limits.h>
32485 #else
32486 # include <assert.h>
32487 #endif
32488
32489 #undef $ac_func
32490
32491 /* Override any gcc2 internal prototype to avoid an error. */
32492 #ifdef __cplusplus
32493 extern "C"
32494 {
32495 #endif
32496 /* We use char because int might match the return type of a gcc2
32497 builtin and then its argument prototype would still apply. */
32498 char $ac_func ();
32499 /* The GNU C library defines this for functions which it implements
32500 to always fail with ENOSYS. Some functions are actually named
32501 something starting with __ and the normal name is an alias. */
32502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32503 choke me
32504 #else
32505 char (*f) () = $ac_func;
32506 #endif
32507 #ifdef __cplusplus
32508 }
32509 #endif
32510
32511 int
32512 main ()
32513 {
32514 return f != $ac_func;
32515 ;
32516 return 0;
32517 }
32518 _ACEOF
32519 rm -f conftest.$ac_objext conftest$ac_exeext
32520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32521 (eval $ac_link) 2>conftest.er1
32522 ac_status=$?
32523 grep -v '^ *+' conftest.er1 >conftest.err
32524 rm -f conftest.er1
32525 cat conftest.err >&5
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 (exit $ac_status); } &&
32528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32530 (eval $ac_try) 2>&5
32531 ac_status=$?
32532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32533 (exit $ac_status); }; } &&
32534 { ac_try='test -s conftest$ac_exeext'
32535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32536 (eval $ac_try) 2>&5
32537 ac_status=$?
32538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539 (exit $ac_status); }; }; then
32540 eval "$as_ac_var=yes"
32541 else
32542 echo "$as_me: failed program was:" >&5
32543 sed 's/^/| /' conftest.$ac_ext >&5
32544
32545 eval "$as_ac_var=no"
32546 fi
32547 rm -f conftest.err conftest.$ac_objext \
32548 conftest$ac_exeext conftest.$ac_ext
32549 fi
32550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32552 if test `eval echo '${'$as_ac_var'}'` = yes; then
32553 cat >>confdefs.h <<_ACEOF
32554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32555 _ACEOF
32556 break
32557 fi
32558 done
32559
32560
32561 HAVE_SOME_SLEEP_FUNC=0
32562 if test "$USE_BEOS" = 1; then
32563 cat >>confdefs.h <<\_ACEOF
32564 #define HAVE_SLEEP 1
32565 _ACEOF
32566
32567 HAVE_SOME_SLEEP_FUNC=1
32568 fi
32569
32570 if test "$USE_DARWIN" = 1; then
32571 cat >>confdefs.h <<\_ACEOF
32572 #define HAVE_USLEEP 1
32573 _ACEOF
32574
32575 HAVE_SOME_SLEEP_FUNC=1
32576 fi
32577
32578 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32579 POSIX4_LINK=
32580
32581 for ac_func in nanosleep
32582 do
32583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32584 echo "$as_me:$LINENO: checking for $ac_func" >&5
32585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32586 if eval "test \"\${$as_ac_var+set}\" = set"; then
32587 echo $ECHO_N "(cached) $ECHO_C" >&6
32588 else
32589 cat >conftest.$ac_ext <<_ACEOF
32590 /* confdefs.h. */
32591 _ACEOF
32592 cat confdefs.h >>conftest.$ac_ext
32593 cat >>conftest.$ac_ext <<_ACEOF
32594 /* end confdefs.h. */
32595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32597 #define $ac_func innocuous_$ac_func
32598
32599 /* System header to define __stub macros and hopefully few prototypes,
32600 which can conflict with char $ac_func (); below.
32601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32602 <limits.h> exists even on freestanding compilers. */
32603
32604 #ifdef __STDC__
32605 # include <limits.h>
32606 #else
32607 # include <assert.h>
32608 #endif
32609
32610 #undef $ac_func
32611
32612 /* Override any gcc2 internal prototype to avoid an error. */
32613 #ifdef __cplusplus
32614 extern "C"
32615 {
32616 #endif
32617 /* We use char because int might match the return type of a gcc2
32618 builtin and then its argument prototype would still apply. */
32619 char $ac_func ();
32620 /* The GNU C library defines this for functions which it implements
32621 to always fail with ENOSYS. Some functions are actually named
32622 something starting with __ and the normal name is an alias. */
32623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32624 choke me
32625 #else
32626 char (*f) () = $ac_func;
32627 #endif
32628 #ifdef __cplusplus
32629 }
32630 #endif
32631
32632 int
32633 main ()
32634 {
32635 return f != $ac_func;
32636 ;
32637 return 0;
32638 }
32639 _ACEOF
32640 rm -f conftest.$ac_objext conftest$ac_exeext
32641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32642 (eval $ac_link) 2>conftest.er1
32643 ac_status=$?
32644 grep -v '^ *+' conftest.er1 >conftest.err
32645 rm -f conftest.er1
32646 cat conftest.err >&5
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); } &&
32649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32651 (eval $ac_try) 2>&5
32652 ac_status=$?
32653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32654 (exit $ac_status); }; } &&
32655 { ac_try='test -s conftest$ac_exeext'
32656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32657 (eval $ac_try) 2>&5
32658 ac_status=$?
32659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32660 (exit $ac_status); }; }; then
32661 eval "$as_ac_var=yes"
32662 else
32663 echo "$as_me: failed program was:" >&5
32664 sed 's/^/| /' conftest.$ac_ext >&5
32665
32666 eval "$as_ac_var=no"
32667 fi
32668 rm -f conftest.err conftest.$ac_objext \
32669 conftest$ac_exeext conftest.$ac_ext
32670 fi
32671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32673 if test `eval echo '${'$as_ac_var'}'` = yes; then
32674 cat >>confdefs.h <<_ACEOF
32675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32676 _ACEOF
32677 cat >>confdefs.h <<\_ACEOF
32678 #define HAVE_NANOSLEEP 1
32679 _ACEOF
32680
32681 else
32682
32683 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32684 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32685 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32686 echo $ECHO_N "(cached) $ECHO_C" >&6
32687 else
32688 ac_check_lib_save_LIBS=$LIBS
32689 LIBS="-lposix4 $LIBS"
32690 cat >conftest.$ac_ext <<_ACEOF
32691 /* confdefs.h. */
32692 _ACEOF
32693 cat confdefs.h >>conftest.$ac_ext
32694 cat >>conftest.$ac_ext <<_ACEOF
32695 /* end confdefs.h. */
32696
32697 /* Override any gcc2 internal prototype to avoid an error. */
32698 #ifdef __cplusplus
32699 extern "C"
32700 #endif
32701 /* We use char because int might match the return type of a gcc2
32702 builtin and then its argument prototype would still apply. */
32703 char nanosleep ();
32704 int
32705 main ()
32706 {
32707 nanosleep ();
32708 ;
32709 return 0;
32710 }
32711 _ACEOF
32712 rm -f conftest.$ac_objext conftest$ac_exeext
32713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32714 (eval $ac_link) 2>conftest.er1
32715 ac_status=$?
32716 grep -v '^ *+' conftest.er1 >conftest.err
32717 rm -f conftest.er1
32718 cat conftest.err >&5
32719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32720 (exit $ac_status); } &&
32721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32723 (eval $ac_try) 2>&5
32724 ac_status=$?
32725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32726 (exit $ac_status); }; } &&
32727 { ac_try='test -s conftest$ac_exeext'
32728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32729 (eval $ac_try) 2>&5
32730 ac_status=$?
32731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32732 (exit $ac_status); }; }; then
32733 ac_cv_lib_posix4_nanosleep=yes
32734 else
32735 echo "$as_me: failed program was:" >&5
32736 sed 's/^/| /' conftest.$ac_ext >&5
32737
32738 ac_cv_lib_posix4_nanosleep=no
32739 fi
32740 rm -f conftest.err conftest.$ac_objext \
32741 conftest$ac_exeext conftest.$ac_ext
32742 LIBS=$ac_check_lib_save_LIBS
32743 fi
32744 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32745 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32746 if test $ac_cv_lib_posix4_nanosleep = yes; then
32747
32748 cat >>confdefs.h <<\_ACEOF
32749 #define HAVE_NANOSLEEP 1
32750 _ACEOF
32751
32752 POSIX4_LINK=" -lposix4"
32753
32754 else
32755
32756
32757 for ac_func in usleep
32758 do
32759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32760 echo "$as_me:$LINENO: checking for $ac_func" >&5
32761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32762 if eval "test \"\${$as_ac_var+set}\" = set"; then
32763 echo $ECHO_N "(cached) $ECHO_C" >&6
32764 else
32765 cat >conftest.$ac_ext <<_ACEOF
32766 /* confdefs.h. */
32767 _ACEOF
32768 cat confdefs.h >>conftest.$ac_ext
32769 cat >>conftest.$ac_ext <<_ACEOF
32770 /* end confdefs.h. */
32771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32773 #define $ac_func innocuous_$ac_func
32774
32775 /* System header to define __stub macros and hopefully few prototypes,
32776 which can conflict with char $ac_func (); below.
32777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32778 <limits.h> exists even on freestanding compilers. */
32779
32780 #ifdef __STDC__
32781 # include <limits.h>
32782 #else
32783 # include <assert.h>
32784 #endif
32785
32786 #undef $ac_func
32787
32788 /* Override any gcc2 internal prototype to avoid an error. */
32789 #ifdef __cplusplus
32790 extern "C"
32791 {
32792 #endif
32793 /* We use char because int might match the return type of a gcc2
32794 builtin and then its argument prototype would still apply. */
32795 char $ac_func ();
32796 /* The GNU C library defines this for functions which it implements
32797 to always fail with ENOSYS. Some functions are actually named
32798 something starting with __ and the normal name is an alias. */
32799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32800 choke me
32801 #else
32802 char (*f) () = $ac_func;
32803 #endif
32804 #ifdef __cplusplus
32805 }
32806 #endif
32807
32808 int
32809 main ()
32810 {
32811 return f != $ac_func;
32812 ;
32813 return 0;
32814 }
32815 _ACEOF
32816 rm -f conftest.$ac_objext conftest$ac_exeext
32817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32818 (eval $ac_link) 2>conftest.er1
32819 ac_status=$?
32820 grep -v '^ *+' conftest.er1 >conftest.err
32821 rm -f conftest.er1
32822 cat conftest.err >&5
32823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824 (exit $ac_status); } &&
32825 { ac_try='test -z "$ac_c_werror_flag" || 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_exeext'
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 eval "$as_ac_var=yes"
32838 else
32839 echo "$as_me: failed program was:" >&5
32840 sed 's/^/| /' conftest.$ac_ext >&5
32841
32842 eval "$as_ac_var=no"
32843 fi
32844 rm -f conftest.err conftest.$ac_objext \
32845 conftest$ac_exeext conftest.$ac_ext
32846 fi
32847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32849 if test `eval echo '${'$as_ac_var'}'` = yes; then
32850 cat >>confdefs.h <<_ACEOF
32851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32852 _ACEOF
32853 cat >>confdefs.h <<\_ACEOF
32854 #define HAVE_USLEEP 1
32855 _ACEOF
32856
32857 else
32858 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32859 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32860
32861 fi
32862 done
32863
32864
32865
32866 fi
32867
32868
32869
32870 fi
32871 done
32872
32873 fi
32874
32875
32876
32877 for ac_func in uname gethostname
32878 do
32879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32880 echo "$as_me:$LINENO: checking for $ac_func" >&5
32881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32882 if eval "test \"\${$as_ac_var+set}\" = set"; then
32883 echo $ECHO_N "(cached) $ECHO_C" >&6
32884 else
32885 cat >conftest.$ac_ext <<_ACEOF
32886 /* confdefs.h. */
32887 _ACEOF
32888 cat confdefs.h >>conftest.$ac_ext
32889 cat >>conftest.$ac_ext <<_ACEOF
32890 /* end confdefs.h. */
32891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32893 #define $ac_func innocuous_$ac_func
32894
32895 /* System header to define __stub macros and hopefully few prototypes,
32896 which can conflict with char $ac_func (); below.
32897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32898 <limits.h> exists even on freestanding compilers. */
32899
32900 #ifdef __STDC__
32901 # include <limits.h>
32902 #else
32903 # include <assert.h>
32904 #endif
32905
32906 #undef $ac_func
32907
32908 /* Override any gcc2 internal prototype to avoid an error. */
32909 #ifdef __cplusplus
32910 extern "C"
32911 {
32912 #endif
32913 /* We use char because int might match the return type of a gcc2
32914 builtin and then its argument prototype would still apply. */
32915 char $ac_func ();
32916 /* The GNU C library defines this for functions which it implements
32917 to always fail with ENOSYS. Some functions are actually named
32918 something starting with __ and the normal name is an alias. */
32919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32920 choke me
32921 #else
32922 char (*f) () = $ac_func;
32923 #endif
32924 #ifdef __cplusplus
32925 }
32926 #endif
32927
32928 int
32929 main ()
32930 {
32931 return f != $ac_func;
32932 ;
32933 return 0;
32934 }
32935 _ACEOF
32936 rm -f conftest.$ac_objext conftest$ac_exeext
32937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32938 (eval $ac_link) 2>conftest.er1
32939 ac_status=$?
32940 grep -v '^ *+' conftest.er1 >conftest.err
32941 rm -f conftest.er1
32942 cat conftest.err >&5
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); } &&
32945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32947 (eval $ac_try) 2>&5
32948 ac_status=$?
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); }; } &&
32951 { ac_try='test -s conftest$ac_exeext'
32952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32953 (eval $ac_try) 2>&5
32954 ac_status=$?
32955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32956 (exit $ac_status); }; }; then
32957 eval "$as_ac_var=yes"
32958 else
32959 echo "$as_me: failed program was:" >&5
32960 sed 's/^/| /' conftest.$ac_ext >&5
32961
32962 eval "$as_ac_var=no"
32963 fi
32964 rm -f conftest.err conftest.$ac_objext \
32965 conftest$ac_exeext conftest.$ac_ext
32966 fi
32967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32969 if test `eval echo '${'$as_ac_var'}'` = yes; then
32970 cat >>confdefs.h <<_ACEOF
32971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32972 _ACEOF
32973 break
32974 fi
32975 done
32976
32977
32978
32979
32980 ac_ext=cc
32981 ac_cpp='$CXXCPP $CPPFLAGS'
32982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32985
32986
32987
32988 for ac_func in strtok_r
32989 do
32990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32991 echo "$as_me:$LINENO: checking for $ac_func" >&5
32992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32993 if eval "test \"\${$as_ac_var+set}\" = set"; then
32994 echo $ECHO_N "(cached) $ECHO_C" >&6
32995 else
32996 cat >conftest.$ac_ext <<_ACEOF
32997 /* confdefs.h. */
32998 _ACEOF
32999 cat confdefs.h >>conftest.$ac_ext
33000 cat >>conftest.$ac_ext <<_ACEOF
33001 /* end confdefs.h. */
33002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33004 #define $ac_func innocuous_$ac_func
33005
33006 /* System header to define __stub macros and hopefully few prototypes,
33007 which can conflict with char $ac_func (); below.
33008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33009 <limits.h> exists even on freestanding compilers. */
33010
33011 #ifdef __STDC__
33012 # include <limits.h>
33013 #else
33014 # include <assert.h>
33015 #endif
33016
33017 #undef $ac_func
33018
33019 /* Override any gcc2 internal prototype to avoid an error. */
33020 #ifdef __cplusplus
33021 extern "C"
33022 {
33023 #endif
33024 /* We use char because int might match the return type of a gcc2
33025 builtin and then its argument prototype would still apply. */
33026 char $ac_func ();
33027 /* The GNU C library defines this for functions which it implements
33028 to always fail with ENOSYS. Some functions are actually named
33029 something starting with __ and the normal name is an alias. */
33030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33031 choke me
33032 #else
33033 char (*f) () = $ac_func;
33034 #endif
33035 #ifdef __cplusplus
33036 }
33037 #endif
33038
33039 int
33040 main ()
33041 {
33042 return f != $ac_func;
33043 ;
33044 return 0;
33045 }
33046 _ACEOF
33047 rm -f conftest.$ac_objext conftest$ac_exeext
33048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33049 (eval $ac_link) 2>conftest.er1
33050 ac_status=$?
33051 grep -v '^ *+' conftest.er1 >conftest.err
33052 rm -f conftest.er1
33053 cat conftest.err >&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); } &&
33056 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33058 (eval $ac_try) 2>&5
33059 ac_status=$?
33060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33061 (exit $ac_status); }; } &&
33062 { ac_try='test -s conftest$ac_exeext'
33063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33064 (eval $ac_try) 2>&5
33065 ac_status=$?
33066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067 (exit $ac_status); }; }; then
33068 eval "$as_ac_var=yes"
33069 else
33070 echo "$as_me: failed program was:" >&5
33071 sed 's/^/| /' conftest.$ac_ext >&5
33072
33073 eval "$as_ac_var=no"
33074 fi
33075 rm -f conftest.err conftest.$ac_objext \
33076 conftest$ac_exeext conftest.$ac_ext
33077 fi
33078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33080 if test `eval echo '${'$as_ac_var'}'` = yes; then
33081 cat >>confdefs.h <<_ACEOF
33082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33083 _ACEOF
33084
33085 fi
33086 done
33087
33088
33089 ac_ext=c
33090 ac_cpp='$CPP $CPPFLAGS'
33091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33094
33095
33096 INET_LINK=
33097
33098 for ac_func in inet_addr
33099 do
33100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33101 echo "$as_me:$LINENO: checking for $ac_func" >&5
33102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33103 if eval "test \"\${$as_ac_var+set}\" = set"; then
33104 echo $ECHO_N "(cached) $ECHO_C" >&6
33105 else
33106 cat >conftest.$ac_ext <<_ACEOF
33107 /* confdefs.h. */
33108 _ACEOF
33109 cat confdefs.h >>conftest.$ac_ext
33110 cat >>conftest.$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33114 #define $ac_func innocuous_$ac_func
33115
33116 /* System header to define __stub macros and hopefully few prototypes,
33117 which can conflict with char $ac_func (); below.
33118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33119 <limits.h> exists even on freestanding compilers. */
33120
33121 #ifdef __STDC__
33122 # include <limits.h>
33123 #else
33124 # include <assert.h>
33125 #endif
33126
33127 #undef $ac_func
33128
33129 /* Override any gcc2 internal prototype to avoid an error. */
33130 #ifdef __cplusplus
33131 extern "C"
33132 {
33133 #endif
33134 /* We use char because int might match the return type of a gcc2
33135 builtin and then its argument prototype would still apply. */
33136 char $ac_func ();
33137 /* The GNU C library defines this for functions which it implements
33138 to always fail with ENOSYS. Some functions are actually named
33139 something starting with __ and the normal name is an alias. */
33140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33141 choke me
33142 #else
33143 char (*f) () = $ac_func;
33144 #endif
33145 #ifdef __cplusplus
33146 }
33147 #endif
33148
33149 int
33150 main ()
33151 {
33152 return f != $ac_func;
33153 ;
33154 return 0;
33155 }
33156 _ACEOF
33157 rm -f conftest.$ac_objext conftest$ac_exeext
33158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33159 (eval $ac_link) 2>conftest.er1
33160 ac_status=$?
33161 grep -v '^ *+' conftest.er1 >conftest.err
33162 rm -f conftest.er1
33163 cat conftest.err >&5
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); } &&
33166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33168 (eval $ac_try) 2>&5
33169 ac_status=$?
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); }; } &&
33172 { ac_try='test -s conftest$ac_exeext'
33173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33174 (eval $ac_try) 2>&5
33175 ac_status=$?
33176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33177 (exit $ac_status); }; }; then
33178 eval "$as_ac_var=yes"
33179 else
33180 echo "$as_me: failed program was:" >&5
33181 sed 's/^/| /' conftest.$ac_ext >&5
33182
33183 eval "$as_ac_var=no"
33184 fi
33185 rm -f conftest.err conftest.$ac_objext \
33186 conftest$ac_exeext conftest.$ac_ext
33187 fi
33188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33190 if test `eval echo '${'$as_ac_var'}'` = yes; then
33191 cat >>confdefs.h <<_ACEOF
33192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33193 _ACEOF
33194 cat >>confdefs.h <<\_ACEOF
33195 #define HAVE_INET_ADDR 1
33196 _ACEOF
33197
33198 else
33199
33200 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33201 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33202 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33203 echo $ECHO_N "(cached) $ECHO_C" >&6
33204 else
33205 ac_check_lib_save_LIBS=$LIBS
33206 LIBS="-lnsl $LIBS"
33207 cat >conftest.$ac_ext <<_ACEOF
33208 /* confdefs.h. */
33209 _ACEOF
33210 cat confdefs.h >>conftest.$ac_ext
33211 cat >>conftest.$ac_ext <<_ACEOF
33212 /* end confdefs.h. */
33213
33214 /* Override any gcc2 internal prototype to avoid an error. */
33215 #ifdef __cplusplus
33216 extern "C"
33217 #endif
33218 /* We use char because int might match the return type of a gcc2
33219 builtin and then its argument prototype would still apply. */
33220 char inet_addr ();
33221 int
33222 main ()
33223 {
33224 inet_addr ();
33225 ;
33226 return 0;
33227 }
33228 _ACEOF
33229 rm -f conftest.$ac_objext conftest$ac_exeext
33230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33231 (eval $ac_link) 2>conftest.er1
33232 ac_status=$?
33233 grep -v '^ *+' conftest.er1 >conftest.err
33234 rm -f conftest.er1
33235 cat conftest.err >&5
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); } &&
33238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33240 (eval $ac_try) 2>&5
33241 ac_status=$?
33242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33243 (exit $ac_status); }; } &&
33244 { ac_try='test -s conftest$ac_exeext'
33245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33246 (eval $ac_try) 2>&5
33247 ac_status=$?
33248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33249 (exit $ac_status); }; }; then
33250 ac_cv_lib_nsl_inet_addr=yes
33251 else
33252 echo "$as_me: failed program was:" >&5
33253 sed 's/^/| /' conftest.$ac_ext >&5
33254
33255 ac_cv_lib_nsl_inet_addr=no
33256 fi
33257 rm -f conftest.err conftest.$ac_objext \
33258 conftest$ac_exeext conftest.$ac_ext
33259 LIBS=$ac_check_lib_save_LIBS
33260 fi
33261 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33262 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33263 if test $ac_cv_lib_nsl_inet_addr = yes; then
33264 INET_LINK="nsl"
33265 else
33266
33267 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33268 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33269 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33270 echo $ECHO_N "(cached) $ECHO_C" >&6
33271 else
33272 ac_check_lib_save_LIBS=$LIBS
33273 LIBS="-lresolv $LIBS"
33274 cat >conftest.$ac_ext <<_ACEOF
33275 /* confdefs.h. */
33276 _ACEOF
33277 cat confdefs.h >>conftest.$ac_ext
33278 cat >>conftest.$ac_ext <<_ACEOF
33279 /* end confdefs.h. */
33280
33281 /* Override any gcc2 internal prototype to avoid an error. */
33282 #ifdef __cplusplus
33283 extern "C"
33284 #endif
33285 /* We use char because int might match the return type of a gcc2
33286 builtin and then its argument prototype would still apply. */
33287 char inet_addr ();
33288 int
33289 main ()
33290 {
33291 inet_addr ();
33292 ;
33293 return 0;
33294 }
33295 _ACEOF
33296 rm -f conftest.$ac_objext conftest$ac_exeext
33297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33298 (eval $ac_link) 2>conftest.er1
33299 ac_status=$?
33300 grep -v '^ *+' conftest.er1 >conftest.err
33301 rm -f conftest.er1
33302 cat conftest.err >&5
33303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33304 (exit $ac_status); } &&
33305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33307 (eval $ac_try) 2>&5
33308 ac_status=$?
33309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33310 (exit $ac_status); }; } &&
33311 { ac_try='test -s conftest$ac_exeext'
33312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33313 (eval $ac_try) 2>&5
33314 ac_status=$?
33315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316 (exit $ac_status); }; }; then
33317 ac_cv_lib_resolv_inet_addr=yes
33318 else
33319 echo "$as_me: failed program was:" >&5
33320 sed 's/^/| /' conftest.$ac_ext >&5
33321
33322 ac_cv_lib_resolv_inet_addr=no
33323 fi
33324 rm -f conftest.err conftest.$ac_objext \
33325 conftest$ac_exeext conftest.$ac_ext
33326 LIBS=$ac_check_lib_save_LIBS
33327 fi
33328 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33329 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33330 if test $ac_cv_lib_resolv_inet_addr = yes; then
33331 INET_LINK="resolv"
33332 else
33333
33334 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33335 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33336 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33337 echo $ECHO_N "(cached) $ECHO_C" >&6
33338 else
33339 ac_check_lib_save_LIBS=$LIBS
33340 LIBS="-lsocket $LIBS"
33341 cat >conftest.$ac_ext <<_ACEOF
33342 /* confdefs.h. */
33343 _ACEOF
33344 cat confdefs.h >>conftest.$ac_ext
33345 cat >>conftest.$ac_ext <<_ACEOF
33346 /* end confdefs.h. */
33347
33348 /* Override any gcc2 internal prototype to avoid an error. */
33349 #ifdef __cplusplus
33350 extern "C"
33351 #endif
33352 /* We use char because int might match the return type of a gcc2
33353 builtin and then its argument prototype would still apply. */
33354 char inet_addr ();
33355 int
33356 main ()
33357 {
33358 inet_addr ();
33359 ;
33360 return 0;
33361 }
33362 _ACEOF
33363 rm -f conftest.$ac_objext conftest$ac_exeext
33364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33365 (eval $ac_link) 2>conftest.er1
33366 ac_status=$?
33367 grep -v '^ *+' conftest.er1 >conftest.err
33368 rm -f conftest.er1
33369 cat conftest.err >&5
33370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33371 (exit $ac_status); } &&
33372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33374 (eval $ac_try) 2>&5
33375 ac_status=$?
33376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33377 (exit $ac_status); }; } &&
33378 { ac_try='test -s conftest$ac_exeext'
33379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33380 (eval $ac_try) 2>&5
33381 ac_status=$?
33382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33383 (exit $ac_status); }; }; then
33384 ac_cv_lib_socket_inet_addr=yes
33385 else
33386 echo "$as_me: failed program was:" >&5
33387 sed 's/^/| /' conftest.$ac_ext >&5
33388
33389 ac_cv_lib_socket_inet_addr=no
33390 fi
33391 rm -f conftest.err conftest.$ac_objext \
33392 conftest$ac_exeext conftest.$ac_ext
33393 LIBS=$ac_check_lib_save_LIBS
33394 fi
33395 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33396 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33397 if test $ac_cv_lib_socket_inet_addr = yes; then
33398 INET_LINK="socket"
33399
33400 fi
33401
33402
33403
33404 fi
33405
33406
33407
33408 fi
33409
33410
33411
33412 fi
33413 done
33414
33415
33416
33417 for ac_func in inet_aton
33418 do
33419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33420 echo "$as_me:$LINENO: checking for $ac_func" >&5
33421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33422 if eval "test \"\${$as_ac_var+set}\" = set"; then
33423 echo $ECHO_N "(cached) $ECHO_C" >&6
33424 else
33425 cat >conftest.$ac_ext <<_ACEOF
33426 /* confdefs.h. */
33427 _ACEOF
33428 cat confdefs.h >>conftest.$ac_ext
33429 cat >>conftest.$ac_ext <<_ACEOF
33430 /* end confdefs.h. */
33431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33433 #define $ac_func innocuous_$ac_func
33434
33435 /* System header to define __stub macros and hopefully few prototypes,
33436 which can conflict with char $ac_func (); below.
33437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33438 <limits.h> exists even on freestanding compilers. */
33439
33440 #ifdef __STDC__
33441 # include <limits.h>
33442 #else
33443 # include <assert.h>
33444 #endif
33445
33446 #undef $ac_func
33447
33448 /* Override any gcc2 internal prototype to avoid an error. */
33449 #ifdef __cplusplus
33450 extern "C"
33451 {
33452 #endif
33453 /* We use char because int might match the return type of a gcc2
33454 builtin and then its argument prototype would still apply. */
33455 char $ac_func ();
33456 /* The GNU C library defines this for functions which it implements
33457 to always fail with ENOSYS. Some functions are actually named
33458 something starting with __ and the normal name is an alias. */
33459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33460 choke me
33461 #else
33462 char (*f) () = $ac_func;
33463 #endif
33464 #ifdef __cplusplus
33465 }
33466 #endif
33467
33468 int
33469 main ()
33470 {
33471 return f != $ac_func;
33472 ;
33473 return 0;
33474 }
33475 _ACEOF
33476 rm -f conftest.$ac_objext conftest$ac_exeext
33477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33478 (eval $ac_link) 2>conftest.er1
33479 ac_status=$?
33480 grep -v '^ *+' conftest.er1 >conftest.err
33481 rm -f conftest.er1
33482 cat conftest.err >&5
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); } &&
33485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33487 (eval $ac_try) 2>&5
33488 ac_status=$?
33489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33490 (exit $ac_status); }; } &&
33491 { ac_try='test -s conftest$ac_exeext'
33492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33493 (eval $ac_try) 2>&5
33494 ac_status=$?
33495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496 (exit $ac_status); }; }; then
33497 eval "$as_ac_var=yes"
33498 else
33499 echo "$as_me: failed program was:" >&5
33500 sed 's/^/| /' conftest.$ac_ext >&5
33501
33502 eval "$as_ac_var=no"
33503 fi
33504 rm -f conftest.err conftest.$ac_objext \
33505 conftest$ac_exeext conftest.$ac_ext
33506 fi
33507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33509 if test `eval echo '${'$as_ac_var'}'` = yes; then
33510 cat >>confdefs.h <<_ACEOF
33511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33512 _ACEOF
33513 cat >>confdefs.h <<\_ACEOF
33514 #define HAVE_INET_ATON 1
33515 _ACEOF
33516
33517 else
33518
33519 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33520 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33521 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33522 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33523 echo $ECHO_N "(cached) $ECHO_C" >&6
33524 else
33525 ac_check_lib_save_LIBS=$LIBS
33526 LIBS="-l$INET_LINK $LIBS"
33527 cat >conftest.$ac_ext <<_ACEOF
33528 /* confdefs.h. */
33529 _ACEOF
33530 cat confdefs.h >>conftest.$ac_ext
33531 cat >>conftest.$ac_ext <<_ACEOF
33532 /* end confdefs.h. */
33533
33534 /* Override any gcc2 internal prototype to avoid an error. */
33535 #ifdef __cplusplus
33536 extern "C"
33537 #endif
33538 /* We use char because int might match the return type of a gcc2
33539 builtin and then its argument prototype would still apply. */
33540 char inet_aton ();
33541 int
33542 main ()
33543 {
33544 inet_aton ();
33545 ;
33546 return 0;
33547 }
33548 _ACEOF
33549 rm -f conftest.$ac_objext conftest$ac_exeext
33550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33551 (eval $ac_link) 2>conftest.er1
33552 ac_status=$?
33553 grep -v '^ *+' conftest.er1 >conftest.err
33554 rm -f conftest.er1
33555 cat conftest.err >&5
33556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33557 (exit $ac_status); } &&
33558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33560 (eval $ac_try) 2>&5
33561 ac_status=$?
33562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33563 (exit $ac_status); }; } &&
33564 { ac_try='test -s conftest$ac_exeext'
33565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33566 (eval $ac_try) 2>&5
33567 ac_status=$?
33568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33569 (exit $ac_status); }; }; then
33570 eval "$as_ac_Lib=yes"
33571 else
33572 echo "$as_me: failed program was:" >&5
33573 sed 's/^/| /' conftest.$ac_ext >&5
33574
33575 eval "$as_ac_Lib=no"
33576 fi
33577 rm -f conftest.err conftest.$ac_objext \
33578 conftest$ac_exeext conftest.$ac_ext
33579 LIBS=$ac_check_lib_save_LIBS
33580 fi
33581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33582 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33583 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33584 cat >>confdefs.h <<\_ACEOF
33585 #define HAVE_INET_ATON 1
33586 _ACEOF
33587
33588 fi
33589
33590
33591 fi
33592 done
33593
33594
33595 if test "x$INET_LINK" != "x"; then
33596 cat >>confdefs.h <<\_ACEOF
33597 #define HAVE_INET_ADDR 1
33598 _ACEOF
33599
33600 INET_LINK=" -l$INET_LINK"
33601 fi
33602
33603 fi
33604
33605
33606
33607 EXTRALIBS_ESD=
33608 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33609 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33610 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33611 echo $ECHO_N "(cached) $ECHO_C" >&6
33612 else
33613 ac_check_lib_save_LIBS=$LIBS
33614 LIBS="-lesd $LIBS"
33615 cat >conftest.$ac_ext <<_ACEOF
33616 /* confdefs.h. */
33617 _ACEOF
33618 cat confdefs.h >>conftest.$ac_ext
33619 cat >>conftest.$ac_ext <<_ACEOF
33620 /* end confdefs.h. */
33621
33622 /* Override any gcc2 internal prototype to avoid an error. */
33623 #ifdef __cplusplus
33624 extern "C"
33625 #endif
33626 /* We use char because int might match the return type of a gcc2
33627 builtin and then its argument prototype would still apply. */
33628 char esd_close ();
33629 int
33630 main ()
33631 {
33632 esd_close ();
33633 ;
33634 return 0;
33635 }
33636 _ACEOF
33637 rm -f conftest.$ac_objext conftest$ac_exeext
33638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33639 (eval $ac_link) 2>conftest.er1
33640 ac_status=$?
33641 grep -v '^ *+' conftest.er1 >conftest.err
33642 rm -f conftest.er1
33643 cat conftest.err >&5
33644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645 (exit $ac_status); } &&
33646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33648 (eval $ac_try) 2>&5
33649 ac_status=$?
33650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33651 (exit $ac_status); }; } &&
33652 { ac_try='test -s conftest$ac_exeext'
33653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33654 (eval $ac_try) 2>&5
33655 ac_status=$?
33656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33657 (exit $ac_status); }; }; then
33658 ac_cv_lib_esd_esd_close=yes
33659 else
33660 echo "$as_me: failed program was:" >&5
33661 sed 's/^/| /' conftest.$ac_ext >&5
33662
33663 ac_cv_lib_esd_esd_close=no
33664 fi
33665 rm -f conftest.err conftest.$ac_objext \
33666 conftest$ac_exeext conftest.$ac_ext
33667 LIBS=$ac_check_lib_save_LIBS
33668 fi
33669 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33670 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33671 if test $ac_cv_lib_esd_esd_close = yes; then
33672
33673
33674 for ac_header in esd.h
33675 do
33676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33678 echo "$as_me:$LINENO: checking for $ac_header" >&5
33679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33681 echo $ECHO_N "(cached) $ECHO_C" >&6
33682 fi
33683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33685 else
33686 # Is the header compilable?
33687 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33688 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33689 cat >conftest.$ac_ext <<_ACEOF
33690 /* confdefs.h. */
33691 _ACEOF
33692 cat confdefs.h >>conftest.$ac_ext
33693 cat >>conftest.$ac_ext <<_ACEOF
33694 /* end confdefs.h. */
33695 $ac_includes_default
33696 #include <$ac_header>
33697 _ACEOF
33698 rm -f conftest.$ac_objext
33699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33700 (eval $ac_compile) 2>conftest.er1
33701 ac_status=$?
33702 grep -v '^ *+' conftest.er1 >conftest.err
33703 rm -f conftest.er1
33704 cat conftest.err >&5
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); } &&
33707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33709 (eval $ac_try) 2>&5
33710 ac_status=$?
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); }; } &&
33713 { ac_try='test -s conftest.$ac_objext'
33714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33715 (eval $ac_try) 2>&5
33716 ac_status=$?
33717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718 (exit $ac_status); }; }; then
33719 ac_header_compiler=yes
33720 else
33721 echo "$as_me: failed program was:" >&5
33722 sed 's/^/| /' conftest.$ac_ext >&5
33723
33724 ac_header_compiler=no
33725 fi
33726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33728 echo "${ECHO_T}$ac_header_compiler" >&6
33729
33730 # Is the header present?
33731 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33732 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33733 cat >conftest.$ac_ext <<_ACEOF
33734 /* confdefs.h. */
33735 _ACEOF
33736 cat confdefs.h >>conftest.$ac_ext
33737 cat >>conftest.$ac_ext <<_ACEOF
33738 /* end confdefs.h. */
33739 #include <$ac_header>
33740 _ACEOF
33741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33743 ac_status=$?
33744 grep -v '^ *+' conftest.er1 >conftest.err
33745 rm -f conftest.er1
33746 cat conftest.err >&5
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); } >/dev/null; then
33749 if test -s conftest.err; then
33750 ac_cpp_err=$ac_c_preproc_warn_flag
33751 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33752 else
33753 ac_cpp_err=
33754 fi
33755 else
33756 ac_cpp_err=yes
33757 fi
33758 if test -z "$ac_cpp_err"; then
33759 ac_header_preproc=yes
33760 else
33761 echo "$as_me: failed program was:" >&5
33762 sed 's/^/| /' conftest.$ac_ext >&5
33763
33764 ac_header_preproc=no
33765 fi
33766 rm -f conftest.err conftest.$ac_ext
33767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33768 echo "${ECHO_T}$ac_header_preproc" >&6
33769
33770 # So? What about this header?
33771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33772 yes:no: )
33773 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33774 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33776 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33777 ac_header_preproc=yes
33778 ;;
33779 no:yes:* )
33780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33784 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33785 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33786 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33787 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33789 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33790 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33791 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33792 (
33793 cat <<\_ASBOX
33794 ## ----------------------------------------- ##
33795 ## Report this to wx-dev@lists.wxwidgets.org ##
33796 ## ----------------------------------------- ##
33797 _ASBOX
33798 ) |
33799 sed "s/^/$as_me: WARNING: /" >&2
33800 ;;
33801 esac
33802 echo "$as_me:$LINENO: checking for $ac_header" >&5
33803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33805 echo $ECHO_N "(cached) $ECHO_C" >&6
33806 else
33807 eval "$as_ac_Header=\$ac_header_preproc"
33808 fi
33809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33811
33812 fi
33813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33814 cat >>confdefs.h <<_ACEOF
33815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33816 _ACEOF
33817
33818 EXTRALIBS_ESD="-lesd"
33819
33820 fi
33821
33822 done
33823
33824
33825 fi
33826
33827
33828
33829 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33830 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33831 cat >conftest.$ac_ext <<_ACEOF
33832 /* confdefs.h. */
33833 _ACEOF
33834 cat confdefs.h >>conftest.$ac_ext
33835 cat >>conftest.$ac_ext <<_ACEOF
33836 /* end confdefs.h. */
33837 #ifdef __linux__
33838 #include <linux/cdrom.h>
33839 #else
33840 /* For Solaris */
33841 #include <sys/cdio.h>
33842 #endif
33843
33844 int
33845 main ()
33846 {
33847 struct cdrom_tocentry entry, old_entry;
33848 ;
33849 return 0;
33850 }
33851 _ACEOF
33852 rm -f conftest.$ac_objext
33853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33854 (eval $ac_compile) 2>conftest.er1
33855 ac_status=$?
33856 grep -v '^ *+' conftest.er1 >conftest.err
33857 rm -f conftest.er1
33858 cat conftest.err >&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); } &&
33861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33863 (eval $ac_try) 2>&5
33864 ac_status=$?
33865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33866 (exit $ac_status); }; } &&
33867 { ac_try='test -s conftest.$ac_objext'
33868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33869 (eval $ac_try) 2>&5
33870 ac_status=$?
33871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33872 (exit $ac_status); }; }; then
33873 echo "$as_me:$LINENO: result: yes" >&5
33874 echo "${ECHO_T}yes" >&6
33875 cat >>confdefs.h <<\_ACEOF
33876 #define HAVE_KNOWN_CDROM_INTERFACE 1
33877 _ACEOF
33878
33879 else
33880 echo "$as_me: failed program was:" >&5
33881 sed 's/^/| /' conftest.$ac_ext >&5
33882
33883 echo "$as_me:$LINENO: result: no" >&5
33884 echo "${ECHO_T}no" >&6
33885 fi
33886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33887
33888
33889 cat >confcache <<\_ACEOF
33890 # This file is a shell script that caches the results of configure
33891 # tests run on this system so they can be shared between configure
33892 # scripts and configure runs, see configure's option --config-cache.
33893 # It is not useful on other systems. If it contains results you don't
33894 # want to keep, you may remove or edit it.
33895 #
33896 # config.status only pays attention to the cache file if you give it
33897 # the --recheck option to rerun configure.
33898 #
33899 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33900 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33901 # following values.
33902
33903 _ACEOF
33904
33905 # The following way of writing the cache mishandles newlines in values,
33906 # but we know of no workaround that is simple, portable, and efficient.
33907 # So, don't put newlines in cache variables' values.
33908 # Ultrix sh set writes to stderr and can't be redirected directly,
33909 # and sets the high bit in the cache file unless we assign to the vars.
33910 {
33911 (set) 2>&1 |
33912 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33913 *ac_space=\ *)
33914 # `set' does not quote correctly, so add quotes (double-quote
33915 # substitution turns \\\\ into \\, and sed turns \\ into \).
33916 sed -n \
33917 "s/'/'\\\\''/g;
33918 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33919 ;;
33920 *)
33921 # `set' quotes correctly as required by POSIX, so do not add quotes.
33922 sed -n \
33923 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33924 ;;
33925 esac;
33926 } |
33927 sed '
33928 t clear
33929 : clear
33930 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33931 t end
33932 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33933 : end' >>confcache
33934 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33935 if test -w $cache_file; then
33936 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33937 cat confcache >$cache_file
33938 else
33939 echo "not updating unwritable cache $cache_file"
33940 fi
33941 fi
33942 rm -f confcache
33943
33944
33945 CPP_MT_FLAG=
33946 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33947
33948
33949 THREADS_LINK=
33950 THREADS_CFLAGS=
33951
33952 if test "$wxUSE_THREADS" = "yes" ; then
33953 if test "$USE_BEOS" = 1; then
33954 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33955 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33956 wxUSE_THREADS="no"
33957 fi
33958 fi
33959
33960 if test "$wxUSE_THREADS" = "yes" ; then
33961
33962
33963 THREAD_OPTS="-pthread"
33964 case "${host}" in
33965 *-*-solaris2* | *-*-sunos4* )
33966 if test "x$GCC" = "xyes"; then
33967 THREAD_OPTS="-pthreads $THREAD_OPTS"
33968 else
33969 THREAD_OPTS="-mt $THREAD_OPTS"
33970 fi
33971 ;;
33972 *-*-freebsd*)
33973 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
33974 ;;
33975 *-*-darwin* | *-*-cygwin* )
33976 THREAD_OPTS=""
33977 ;;
33978 *-*-aix*)
33979 THREAD_OPTS="pthreads"
33980 ;;
33981 *-hp-hpux* )
33982 if test "x$GCC" != "xyes"; then
33983 THREAD_OPTS=""
33984 fi
33985 ;;
33986
33987 *-*-irix* )
33988 if test "x$GCC" = "xyes"; then
33989 THREAD_OPTS=""
33990 fi
33991 ;;
33992
33993 *-*-*UnixWare*)
33994 if test "x$GCC" != "xyes"; then
33995 THREAD_OPTS="-Ethread"
33996 fi
33997 ;;
33998 esac
33999
34000 THREAD_OPTS="$THREAD_OPTS pthread none"
34001
34002 THREADS_OK=no
34003 for flag in $THREAD_OPTS; do
34004 case $flag in
34005 none)
34006 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34007 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34008 ;;
34009
34010 -*)
34011 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34012 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34013 THREADS_CFLAGS="$flag"
34014 ;;
34015
34016 *)
34017 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34018 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34019 THREADS_LINK="-l$flag"
34020 ;;
34021 esac
34022
34023 save_LIBS="$LIBS"
34024 save_CFLAGS="$CFLAGS"
34025 LIBS="$THREADS_LINK $LIBS"
34026 CFLAGS="$THREADS_CFLAGS $CFLAGS"
34027
34028 cat >conftest.$ac_ext <<_ACEOF
34029 /* confdefs.h. */
34030 _ACEOF
34031 cat confdefs.h >>conftest.$ac_ext
34032 cat >>conftest.$ac_ext <<_ACEOF
34033 /* end confdefs.h. */
34034 #include <pthread.h>
34035 int
34036 main ()
34037 {
34038 pthread_create(0,0,0,0);
34039 ;
34040 return 0;
34041 }
34042 _ACEOF
34043 rm -f conftest.$ac_objext conftest$ac_exeext
34044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34045 (eval $ac_link) 2>conftest.er1
34046 ac_status=$?
34047 grep -v '^ *+' conftest.er1 >conftest.err
34048 rm -f conftest.er1
34049 cat conftest.err >&5
34050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34051 (exit $ac_status); } &&
34052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34054 (eval $ac_try) 2>&5
34055 ac_status=$?
34056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34057 (exit $ac_status); }; } &&
34058 { ac_try='test -s conftest$ac_exeext'
34059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34060 (eval $ac_try) 2>&5
34061 ac_status=$?
34062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063 (exit $ac_status); }; }; then
34064 THREADS_OK=yes
34065 else
34066 echo "$as_me: failed program was:" >&5
34067 sed 's/^/| /' conftest.$ac_ext >&5
34068
34069 fi
34070 rm -f conftest.err conftest.$ac_objext \
34071 conftest$ac_exeext conftest.$ac_ext
34072
34073 LIBS="$save_LIBS"
34074 CFLAGS="$save_CFLAGS"
34075
34076 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34077 echo "${ECHO_T}$THREADS_OK" >&6
34078 if test "x$THREADS_OK" = "xyes"; then
34079 break;
34080 fi
34081
34082 THREADS_LINK=""
34083 THREADS_CFLAGS=""
34084 done
34085
34086 if test "x$THREADS_OK" != "xyes"; then
34087 wxUSE_THREADS=no
34088 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34089 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34090 else
34091 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
34092 LIBS="$THREADS_LINK $LIBS"
34093
34094 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34095 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34096 flag=no
34097 case "${host}" in
34098 *-aix*)
34099 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
34100 flag="-D_THREAD_SAFE"
34101 ;;
34102 *-freebsd*)
34103 flag="-D_THREAD_SAFE"
34104 ;;
34105 *-hp-hpux* )
34106 flag="-D_REENTRANT"
34107 if test "x$GCC" != "xyes"; then
34108 flag="$flag -D_RWSTD_MULTI_THREAD"
34109 fi
34110 ;;
34111 *solaris* | alpha*-osf*)
34112 flag="-D_REENTRANT"
34113 ;;
34114 esac
34115 echo "$as_me:$LINENO: result: ${flag}" >&5
34116 echo "${ECHO_T}${flag}" >&6
34117 if test "x$flag" != xno; then
34118 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
34119 fi
34120
34121 if test "x$THREADS_CFLAGS" != "x"; then
34122 CFLAGS="$CFLAGS $THREADS_CFLAGS"
34123 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
34124 fi
34125 fi
34126 fi
34127
34128 if test "$wxUSE_THREADS" = "yes" ; then
34129
34130 for ac_func in thr_setconcurrency
34131 do
34132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34133 echo "$as_me:$LINENO: checking for $ac_func" >&5
34134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34135 if eval "test \"\${$as_ac_var+set}\" = set"; then
34136 echo $ECHO_N "(cached) $ECHO_C" >&6
34137 else
34138 cat >conftest.$ac_ext <<_ACEOF
34139 /* confdefs.h. */
34140 _ACEOF
34141 cat confdefs.h >>conftest.$ac_ext
34142 cat >>conftest.$ac_ext <<_ACEOF
34143 /* end confdefs.h. */
34144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34146 #define $ac_func innocuous_$ac_func
34147
34148 /* System header to define __stub macros and hopefully few prototypes,
34149 which can conflict with char $ac_func (); below.
34150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34151 <limits.h> exists even on freestanding compilers. */
34152
34153 #ifdef __STDC__
34154 # include <limits.h>
34155 #else
34156 # include <assert.h>
34157 #endif
34158
34159 #undef $ac_func
34160
34161 /* Override any gcc2 internal prototype to avoid an error. */
34162 #ifdef __cplusplus
34163 extern "C"
34164 {
34165 #endif
34166 /* We use char because int might match the return type of a gcc2
34167 builtin and then its argument prototype would still apply. */
34168 char $ac_func ();
34169 /* The GNU C library defines this for functions which it implements
34170 to always fail with ENOSYS. Some functions are actually named
34171 something starting with __ and the normal name is an alias. */
34172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34173 choke me
34174 #else
34175 char (*f) () = $ac_func;
34176 #endif
34177 #ifdef __cplusplus
34178 }
34179 #endif
34180
34181 int
34182 main ()
34183 {
34184 return f != $ac_func;
34185 ;
34186 return 0;
34187 }
34188 _ACEOF
34189 rm -f conftest.$ac_objext conftest$ac_exeext
34190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34191 (eval $ac_link) 2>conftest.er1
34192 ac_status=$?
34193 grep -v '^ *+' conftest.er1 >conftest.err
34194 rm -f conftest.er1
34195 cat conftest.err >&5
34196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34197 (exit $ac_status); } &&
34198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34200 (eval $ac_try) 2>&5
34201 ac_status=$?
34202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34203 (exit $ac_status); }; } &&
34204 { ac_try='test -s conftest$ac_exeext'
34205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34206 (eval $ac_try) 2>&5
34207 ac_status=$?
34208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34209 (exit $ac_status); }; }; then
34210 eval "$as_ac_var=yes"
34211 else
34212 echo "$as_me: failed program was:" >&5
34213 sed 's/^/| /' conftest.$ac_ext >&5
34214
34215 eval "$as_ac_var=no"
34216 fi
34217 rm -f conftest.err conftest.$ac_objext \
34218 conftest$ac_exeext conftest.$ac_ext
34219 fi
34220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34222 if test `eval echo '${'$as_ac_var'}'` = yes; then
34223 cat >>confdefs.h <<_ACEOF
34224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34225 _ACEOF
34226
34227 fi
34228 done
34229
34230
34231
34232 for ac_header in sched.h
34233 do
34234 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34236 echo "$as_me:$LINENO: checking for $ac_header" >&5
34237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34239 echo $ECHO_N "(cached) $ECHO_C" >&6
34240 fi
34241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34243 else
34244 # Is the header compilable?
34245 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34246 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34247 cat >conftest.$ac_ext <<_ACEOF
34248 /* confdefs.h. */
34249 _ACEOF
34250 cat confdefs.h >>conftest.$ac_ext
34251 cat >>conftest.$ac_ext <<_ACEOF
34252 /* end confdefs.h. */
34253 $ac_includes_default
34254 #include <$ac_header>
34255 _ACEOF
34256 rm -f conftest.$ac_objext
34257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34258 (eval $ac_compile) 2>conftest.er1
34259 ac_status=$?
34260 grep -v '^ *+' conftest.er1 >conftest.err
34261 rm -f conftest.er1
34262 cat conftest.err >&5
34263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34264 (exit $ac_status); } &&
34265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34267 (eval $ac_try) 2>&5
34268 ac_status=$?
34269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34270 (exit $ac_status); }; } &&
34271 { ac_try='test -s conftest.$ac_objext'
34272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34273 (eval $ac_try) 2>&5
34274 ac_status=$?
34275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34276 (exit $ac_status); }; }; then
34277 ac_header_compiler=yes
34278 else
34279 echo "$as_me: failed program was:" >&5
34280 sed 's/^/| /' conftest.$ac_ext >&5
34281
34282 ac_header_compiler=no
34283 fi
34284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34286 echo "${ECHO_T}$ac_header_compiler" >&6
34287
34288 # Is the header present?
34289 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34290 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34291 cat >conftest.$ac_ext <<_ACEOF
34292 /* confdefs.h. */
34293 _ACEOF
34294 cat confdefs.h >>conftest.$ac_ext
34295 cat >>conftest.$ac_ext <<_ACEOF
34296 /* end confdefs.h. */
34297 #include <$ac_header>
34298 _ACEOF
34299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34300 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34301 ac_status=$?
34302 grep -v '^ *+' conftest.er1 >conftest.err
34303 rm -f conftest.er1
34304 cat conftest.err >&5
34305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34306 (exit $ac_status); } >/dev/null; then
34307 if test -s conftest.err; then
34308 ac_cpp_err=$ac_c_preproc_warn_flag
34309 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34310 else
34311 ac_cpp_err=
34312 fi
34313 else
34314 ac_cpp_err=yes
34315 fi
34316 if test -z "$ac_cpp_err"; then
34317 ac_header_preproc=yes
34318 else
34319 echo "$as_me: failed program was:" >&5
34320 sed 's/^/| /' conftest.$ac_ext >&5
34321
34322 ac_header_preproc=no
34323 fi
34324 rm -f conftest.err conftest.$ac_ext
34325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34326 echo "${ECHO_T}$ac_header_preproc" >&6
34327
34328 # So? What about this header?
34329 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34330 yes:no: )
34331 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34332 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34334 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34335 ac_header_preproc=yes
34336 ;;
34337 no:yes:* )
34338 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34339 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34340 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34341 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34342 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34343 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34344 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34345 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34348 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34349 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34350 (
34351 cat <<\_ASBOX
34352 ## ----------------------------------------- ##
34353 ## Report this to wx-dev@lists.wxwidgets.org ##
34354 ## ----------------------------------------- ##
34355 _ASBOX
34356 ) |
34357 sed "s/^/$as_me: WARNING: /" >&2
34358 ;;
34359 esac
34360 echo "$as_me:$LINENO: checking for $ac_header" >&5
34361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34363 echo $ECHO_N "(cached) $ECHO_C" >&6
34364 else
34365 eval "$as_ac_Header=\$ac_header_preproc"
34366 fi
34367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34369
34370 fi
34371 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34372 cat >>confdefs.h <<_ACEOF
34373 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34374 _ACEOF
34375
34376 fi
34377
34378 done
34379
34380 if test "$ac_cv_header_sched_h" = "yes"; then
34381 echo "$as_me:$LINENO: checking for sched_yield" >&5
34382 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34383 if test "${ac_cv_func_sched_yield+set}" = set; then
34384 echo $ECHO_N "(cached) $ECHO_C" >&6
34385 else
34386 cat >conftest.$ac_ext <<_ACEOF
34387 /* confdefs.h. */
34388 _ACEOF
34389 cat confdefs.h >>conftest.$ac_ext
34390 cat >>conftest.$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34392 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34394 #define sched_yield innocuous_sched_yield
34395
34396 /* System header to define __stub macros and hopefully few prototypes,
34397 which can conflict with char sched_yield (); below.
34398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34399 <limits.h> exists even on freestanding compilers. */
34400
34401 #ifdef __STDC__
34402 # include <limits.h>
34403 #else
34404 # include <assert.h>
34405 #endif
34406
34407 #undef sched_yield
34408
34409 /* Override any gcc2 internal prototype to avoid an error. */
34410 #ifdef __cplusplus
34411 extern "C"
34412 {
34413 #endif
34414 /* We use char because int might match the return type of a gcc2
34415 builtin and then its argument prototype would still apply. */
34416 char sched_yield ();
34417 /* The GNU C library defines this for functions which it implements
34418 to always fail with ENOSYS. Some functions are actually named
34419 something starting with __ and the normal name is an alias. */
34420 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34421 choke me
34422 #else
34423 char (*f) () = sched_yield;
34424 #endif
34425 #ifdef __cplusplus
34426 }
34427 #endif
34428
34429 int
34430 main ()
34431 {
34432 return f != sched_yield;
34433 ;
34434 return 0;
34435 }
34436 _ACEOF
34437 rm -f conftest.$ac_objext conftest$ac_exeext
34438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34439 (eval $ac_link) 2>conftest.er1
34440 ac_status=$?
34441 grep -v '^ *+' conftest.er1 >conftest.err
34442 rm -f conftest.er1
34443 cat conftest.err >&5
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); } &&
34446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34448 (eval $ac_try) 2>&5
34449 ac_status=$?
34450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34451 (exit $ac_status); }; } &&
34452 { ac_try='test -s conftest$ac_exeext'
34453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34454 (eval $ac_try) 2>&5
34455 ac_status=$?
34456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34457 (exit $ac_status); }; }; then
34458 ac_cv_func_sched_yield=yes
34459 else
34460 echo "$as_me: failed program was:" >&5
34461 sed 's/^/| /' conftest.$ac_ext >&5
34462
34463 ac_cv_func_sched_yield=no
34464 fi
34465 rm -f conftest.err conftest.$ac_objext \
34466 conftest$ac_exeext conftest.$ac_ext
34467 fi
34468 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34469 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34470 if test $ac_cv_func_sched_yield = yes; then
34471 cat >>confdefs.h <<\_ACEOF
34472 #define HAVE_SCHED_YIELD 1
34473 _ACEOF
34474
34475 else
34476
34477 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34478 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34479 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34480 echo $ECHO_N "(cached) $ECHO_C" >&6
34481 else
34482 ac_check_lib_save_LIBS=$LIBS
34483 LIBS="-lposix4 $LIBS"
34484 cat >conftest.$ac_ext <<_ACEOF
34485 /* confdefs.h. */
34486 _ACEOF
34487 cat confdefs.h >>conftest.$ac_ext
34488 cat >>conftest.$ac_ext <<_ACEOF
34489 /* end confdefs.h. */
34490
34491 /* Override any gcc2 internal prototype to avoid an error. */
34492 #ifdef __cplusplus
34493 extern "C"
34494 #endif
34495 /* We use char because int might match the return type of a gcc2
34496 builtin and then its argument prototype would still apply. */
34497 char sched_yield ();
34498 int
34499 main ()
34500 {
34501 sched_yield ();
34502 ;
34503 return 0;
34504 }
34505 _ACEOF
34506 rm -f conftest.$ac_objext conftest$ac_exeext
34507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34508 (eval $ac_link) 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" || test ! -s conftest.err'
34516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34517 (eval $ac_try) 2>&5
34518 ac_status=$?
34519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34520 (exit $ac_status); }; } &&
34521 { ac_try='test -s conftest$ac_exeext'
34522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34523 (eval $ac_try) 2>&5
34524 ac_status=$?
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); }; }; then
34527 ac_cv_lib_posix4_sched_yield=yes
34528 else
34529 echo "$as_me: failed program was:" >&5
34530 sed 's/^/| /' conftest.$ac_ext >&5
34531
34532 ac_cv_lib_posix4_sched_yield=no
34533 fi
34534 rm -f conftest.err conftest.$ac_objext \
34535 conftest$ac_exeext conftest.$ac_ext
34536 LIBS=$ac_check_lib_save_LIBS
34537 fi
34538 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34539 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34540 if test $ac_cv_lib_posix4_sched_yield = yes; then
34541 cat >>confdefs.h <<\_ACEOF
34542 #define HAVE_SCHED_YIELD 1
34543 _ACEOF
34544 POSIX4_LINK=" -lposix4"
34545 else
34546 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34547 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34548
34549 fi
34550
34551
34552
34553 fi
34554
34555 fi
34556
34557 HAVE_PRIOR_FUNCS=0
34558 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34559 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34560 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34561 echo $ECHO_N "(cached) $ECHO_C" >&6
34562 else
34563 cat >conftest.$ac_ext <<_ACEOF
34564 /* confdefs.h. */
34565 _ACEOF
34566 cat confdefs.h >>conftest.$ac_ext
34567 cat >>conftest.$ac_ext <<_ACEOF
34568 /* end confdefs.h. */
34569 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34571 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34572
34573 /* System header to define __stub macros and hopefully few prototypes,
34574 which can conflict with char pthread_attr_getschedpolicy (); below.
34575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34576 <limits.h> exists even on freestanding compilers. */
34577
34578 #ifdef __STDC__
34579 # include <limits.h>
34580 #else
34581 # include <assert.h>
34582 #endif
34583
34584 #undef pthread_attr_getschedpolicy
34585
34586 /* Override any gcc2 internal prototype to avoid an error. */
34587 #ifdef __cplusplus
34588 extern "C"
34589 {
34590 #endif
34591 /* We use char because int might match the return type of a gcc2
34592 builtin and then its argument prototype would still apply. */
34593 char pthread_attr_getschedpolicy ();
34594 /* The GNU C library defines this for functions which it implements
34595 to always fail with ENOSYS. Some functions are actually named
34596 something starting with __ and the normal name is an alias. */
34597 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34598 choke me
34599 #else
34600 char (*f) () = pthread_attr_getschedpolicy;
34601 #endif
34602 #ifdef __cplusplus
34603 }
34604 #endif
34605
34606 int
34607 main ()
34608 {
34609 return f != pthread_attr_getschedpolicy;
34610 ;
34611 return 0;
34612 }
34613 _ACEOF
34614 rm -f conftest.$ac_objext conftest$ac_exeext
34615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34616 (eval $ac_link) 2>conftest.er1
34617 ac_status=$?
34618 grep -v '^ *+' conftest.er1 >conftest.err
34619 rm -f conftest.er1
34620 cat conftest.err >&5
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); } &&
34623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34625 (eval $ac_try) 2>&5
34626 ac_status=$?
34627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34628 (exit $ac_status); }; } &&
34629 { ac_try='test -s conftest$ac_exeext'
34630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34631 (eval $ac_try) 2>&5
34632 ac_status=$?
34633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34634 (exit $ac_status); }; }; then
34635 ac_cv_func_pthread_attr_getschedpolicy=yes
34636 else
34637 echo "$as_me: failed program was:" >&5
34638 sed 's/^/| /' conftest.$ac_ext >&5
34639
34640 ac_cv_func_pthread_attr_getschedpolicy=no
34641 fi
34642 rm -f conftest.err conftest.$ac_objext \
34643 conftest$ac_exeext conftest.$ac_ext
34644 fi
34645 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34646 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34647 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34648 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34649 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34650 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34651 echo $ECHO_N "(cached) $ECHO_C" >&6
34652 else
34653 cat >conftest.$ac_ext <<_ACEOF
34654 /* confdefs.h. */
34655 _ACEOF
34656 cat confdefs.h >>conftest.$ac_ext
34657 cat >>conftest.$ac_ext <<_ACEOF
34658 /* end confdefs.h. */
34659 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34661 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34662
34663 /* System header to define __stub macros and hopefully few prototypes,
34664 which can conflict with char pthread_attr_setschedparam (); below.
34665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34666 <limits.h> exists even on freestanding compilers. */
34667
34668 #ifdef __STDC__
34669 # include <limits.h>
34670 #else
34671 # include <assert.h>
34672 #endif
34673
34674 #undef pthread_attr_setschedparam
34675
34676 /* Override any gcc2 internal prototype to avoid an error. */
34677 #ifdef __cplusplus
34678 extern "C"
34679 {
34680 #endif
34681 /* We use char because int might match the return type of a gcc2
34682 builtin and then its argument prototype would still apply. */
34683 char pthread_attr_setschedparam ();
34684 /* The GNU C library defines this for functions which it implements
34685 to always fail with ENOSYS. Some functions are actually named
34686 something starting with __ and the normal name is an alias. */
34687 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34688 choke me
34689 #else
34690 char (*f) () = pthread_attr_setschedparam;
34691 #endif
34692 #ifdef __cplusplus
34693 }
34694 #endif
34695
34696 int
34697 main ()
34698 {
34699 return f != pthread_attr_setschedparam;
34700 ;
34701 return 0;
34702 }
34703 _ACEOF
34704 rm -f conftest.$ac_objext conftest$ac_exeext
34705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34706 (eval $ac_link) 2>conftest.er1
34707 ac_status=$?
34708 grep -v '^ *+' conftest.er1 >conftest.err
34709 rm -f conftest.er1
34710 cat conftest.err >&5
34711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34712 (exit $ac_status); } &&
34713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34715 (eval $ac_try) 2>&5
34716 ac_status=$?
34717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34718 (exit $ac_status); }; } &&
34719 { ac_try='test -s conftest$ac_exeext'
34720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34721 (eval $ac_try) 2>&5
34722 ac_status=$?
34723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34724 (exit $ac_status); }; }; then
34725 ac_cv_func_pthread_attr_setschedparam=yes
34726 else
34727 echo "$as_me: failed program was:" >&5
34728 sed 's/^/| /' conftest.$ac_ext >&5
34729
34730 ac_cv_func_pthread_attr_setschedparam=no
34731 fi
34732 rm -f conftest.err conftest.$ac_objext \
34733 conftest$ac_exeext conftest.$ac_ext
34734 fi
34735 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34736 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34737 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34738 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34739 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34740 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34741 echo $ECHO_N "(cached) $ECHO_C" >&6
34742 else
34743 cat >conftest.$ac_ext <<_ACEOF
34744 /* confdefs.h. */
34745 _ACEOF
34746 cat confdefs.h >>conftest.$ac_ext
34747 cat >>conftest.$ac_ext <<_ACEOF
34748 /* end confdefs.h. */
34749 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34751 #define sched_get_priority_max innocuous_sched_get_priority_max
34752
34753 /* System header to define __stub macros and hopefully few prototypes,
34754 which can conflict with char sched_get_priority_max (); below.
34755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34756 <limits.h> exists even on freestanding compilers. */
34757
34758 #ifdef __STDC__
34759 # include <limits.h>
34760 #else
34761 # include <assert.h>
34762 #endif
34763
34764 #undef sched_get_priority_max
34765
34766 /* Override any gcc2 internal prototype to avoid an error. */
34767 #ifdef __cplusplus
34768 extern "C"
34769 {
34770 #endif
34771 /* We use char because int might match the return type of a gcc2
34772 builtin and then its argument prototype would still apply. */
34773 char sched_get_priority_max ();
34774 /* The GNU C library defines this for functions which it implements
34775 to always fail with ENOSYS. Some functions are actually named
34776 something starting with __ and the normal name is an alias. */
34777 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34778 choke me
34779 #else
34780 char (*f) () = sched_get_priority_max;
34781 #endif
34782 #ifdef __cplusplus
34783 }
34784 #endif
34785
34786 int
34787 main ()
34788 {
34789 return f != sched_get_priority_max;
34790 ;
34791 return 0;
34792 }
34793 _ACEOF
34794 rm -f conftest.$ac_objext conftest$ac_exeext
34795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34796 (eval $ac_link) 2>conftest.er1
34797 ac_status=$?
34798 grep -v '^ *+' conftest.er1 >conftest.err
34799 rm -f conftest.er1
34800 cat conftest.err >&5
34801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34802 (exit $ac_status); } &&
34803 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34805 (eval $ac_try) 2>&5
34806 ac_status=$?
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); }; } &&
34809 { ac_try='test -s conftest$ac_exeext'
34810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34811 (eval $ac_try) 2>&5
34812 ac_status=$?
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); }; }; then
34815 ac_cv_func_sched_get_priority_max=yes
34816 else
34817 echo "$as_me: failed program was:" >&5
34818 sed 's/^/| /' conftest.$ac_ext >&5
34819
34820 ac_cv_func_sched_get_priority_max=no
34821 fi
34822 rm -f conftest.err conftest.$ac_objext \
34823 conftest$ac_exeext conftest.$ac_ext
34824 fi
34825 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34826 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34827 if test $ac_cv_func_sched_get_priority_max = yes; then
34828 HAVE_PRIOR_FUNCS=1
34829 else
34830 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34831 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34832 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34833 echo $ECHO_N "(cached) $ECHO_C" >&6
34834 else
34835 ac_check_lib_save_LIBS=$LIBS
34836 LIBS="-lposix4 $LIBS"
34837 cat >conftest.$ac_ext <<_ACEOF
34838 /* confdefs.h. */
34839 _ACEOF
34840 cat confdefs.h >>conftest.$ac_ext
34841 cat >>conftest.$ac_ext <<_ACEOF
34842 /* end confdefs.h. */
34843
34844 /* Override any gcc2 internal prototype to avoid an error. */
34845 #ifdef __cplusplus
34846 extern "C"
34847 #endif
34848 /* We use char because int might match the return type of a gcc2
34849 builtin and then its argument prototype would still apply. */
34850 char sched_get_priority_max ();
34851 int
34852 main ()
34853 {
34854 sched_get_priority_max ();
34855 ;
34856 return 0;
34857 }
34858 _ACEOF
34859 rm -f conftest.$ac_objext conftest$ac_exeext
34860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34861 (eval $ac_link) 2>conftest.er1
34862 ac_status=$?
34863 grep -v '^ *+' conftest.er1 >conftest.err
34864 rm -f conftest.er1
34865 cat conftest.err >&5
34866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34867 (exit $ac_status); } &&
34868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34870 (eval $ac_try) 2>&5
34871 ac_status=$?
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); }; } &&
34874 { ac_try='test -s conftest$ac_exeext'
34875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34876 (eval $ac_try) 2>&5
34877 ac_status=$?
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); }; }; then
34880 ac_cv_lib_posix4_sched_get_priority_max=yes
34881 else
34882 echo "$as_me: failed program was:" >&5
34883 sed 's/^/| /' conftest.$ac_ext >&5
34884
34885 ac_cv_lib_posix4_sched_get_priority_max=no
34886 fi
34887 rm -f conftest.err conftest.$ac_objext \
34888 conftest$ac_exeext conftest.$ac_ext
34889 LIBS=$ac_check_lib_save_LIBS
34890 fi
34891 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34892 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34893 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34894
34895 HAVE_PRIOR_FUNCS=1
34896 POSIX4_LINK=" -lposix4"
34897
34898 fi
34899
34900
34901 fi
34902
34903
34904 fi
34905
34906
34907 fi
34908
34909
34910 if test "$HAVE_PRIOR_FUNCS" = 1; then
34911 cat >>confdefs.h <<\_ACEOF
34912 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34913 _ACEOF
34914
34915 else
34916 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34917 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34918 fi
34919
34920 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34921 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34922 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34923 echo $ECHO_N "(cached) $ECHO_C" >&6
34924 else
34925 cat >conftest.$ac_ext <<_ACEOF
34926 /* confdefs.h. */
34927 _ACEOF
34928 cat confdefs.h >>conftest.$ac_ext
34929 cat >>conftest.$ac_ext <<_ACEOF
34930 /* end confdefs.h. */
34931 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34933 #define pthread_cancel innocuous_pthread_cancel
34934
34935 /* System header to define __stub macros and hopefully few prototypes,
34936 which can conflict with char pthread_cancel (); below.
34937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34938 <limits.h> exists even on freestanding compilers. */
34939
34940 #ifdef __STDC__
34941 # include <limits.h>
34942 #else
34943 # include <assert.h>
34944 #endif
34945
34946 #undef pthread_cancel
34947
34948 /* Override any gcc2 internal prototype to avoid an error. */
34949 #ifdef __cplusplus
34950 extern "C"
34951 {
34952 #endif
34953 /* We use char because int might match the return type of a gcc2
34954 builtin and then its argument prototype would still apply. */
34955 char pthread_cancel ();
34956 /* The GNU C library defines this for functions which it implements
34957 to always fail with ENOSYS. Some functions are actually named
34958 something starting with __ and the normal name is an alias. */
34959 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34960 choke me
34961 #else
34962 char (*f) () = pthread_cancel;
34963 #endif
34964 #ifdef __cplusplus
34965 }
34966 #endif
34967
34968 int
34969 main ()
34970 {
34971 return f != pthread_cancel;
34972 ;
34973 return 0;
34974 }
34975 _ACEOF
34976 rm -f conftest.$ac_objext conftest$ac_exeext
34977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34978 (eval $ac_link) 2>conftest.er1
34979 ac_status=$?
34980 grep -v '^ *+' conftest.er1 >conftest.err
34981 rm -f conftest.er1
34982 cat conftest.err >&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); } &&
34985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34987 (eval $ac_try) 2>&5
34988 ac_status=$?
34989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34990 (exit $ac_status); }; } &&
34991 { ac_try='test -s conftest$ac_exeext'
34992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34993 (eval $ac_try) 2>&5
34994 ac_status=$?
34995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34996 (exit $ac_status); }; }; then
34997 ac_cv_func_pthread_cancel=yes
34998 else
34999 echo "$as_me: failed program was:" >&5
35000 sed 's/^/| /' conftest.$ac_ext >&5
35001
35002 ac_cv_func_pthread_cancel=no
35003 fi
35004 rm -f conftest.err conftest.$ac_objext \
35005 conftest$ac_exeext conftest.$ac_ext
35006 fi
35007 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35008 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35009 if test $ac_cv_func_pthread_cancel = yes; then
35010 cat >>confdefs.h <<\_ACEOF
35011 #define HAVE_PTHREAD_CANCEL 1
35012 _ACEOF
35013
35014 else
35015 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35016 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35017 fi
35018
35019
35020
35021
35022 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35023 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35024 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35025 echo $ECHO_N "(cached) $ECHO_C" >&6
35026 else
35027
35028 cat >conftest.$ac_ext <<_ACEOF
35029 /* confdefs.h. */
35030 _ACEOF
35031 cat confdefs.h >>conftest.$ac_ext
35032 cat >>conftest.$ac_ext <<_ACEOF
35033 /* end confdefs.h. */
35034 #include <pthread.h>
35035 int
35036 main ()
35037 {
35038
35039 pthread_mutexattr_t attr;
35040 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35041
35042 ;
35043 return 0;
35044 }
35045 _ACEOF
35046 rm -f conftest.$ac_objext
35047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35048 (eval $ac_compile) 2>conftest.er1
35049 ac_status=$?
35050 grep -v '^ *+' conftest.er1 >conftest.err
35051 rm -f conftest.er1
35052 cat conftest.err >&5
35053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35054 (exit $ac_status); } &&
35055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35057 (eval $ac_try) 2>&5
35058 ac_status=$?
35059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35060 (exit $ac_status); }; } &&
35061 { ac_try='test -s conftest.$ac_objext'
35062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35063 (eval $ac_try) 2>&5
35064 ac_status=$?
35065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35066 (exit $ac_status); }; }; then
35067
35068 wx_cv_type_pthread_mutexattr_t=yes
35069
35070 else
35071 echo "$as_me: failed program was:" >&5
35072 sed 's/^/| /' conftest.$ac_ext >&5
35073
35074
35075 wx_cv_type_pthread_mutexattr_t=no
35076
35077
35078 fi
35079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35080
35081 fi
35082 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35083 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35084
35085 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35086 cat >>confdefs.h <<\_ACEOF
35087 #define HAVE_PTHREAD_MUTEXATTR_T 1
35088 _ACEOF
35089
35090 else
35091 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35092 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35093 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35094 echo $ECHO_N "(cached) $ECHO_C" >&6
35095 else
35096
35097 cat >conftest.$ac_ext <<_ACEOF
35098 /* confdefs.h. */
35099 _ACEOF
35100 cat confdefs.h >>conftest.$ac_ext
35101 cat >>conftest.$ac_ext <<_ACEOF
35102 /* end confdefs.h. */
35103 #include <pthread.h>
35104 int
35105 main ()
35106 {
35107
35108 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35109
35110 ;
35111 return 0;
35112 }
35113 _ACEOF
35114 rm -f conftest.$ac_objext
35115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35116 (eval $ac_compile) 2>conftest.er1
35117 ac_status=$?
35118 grep -v '^ *+' conftest.er1 >conftest.err
35119 rm -f conftest.er1
35120 cat conftest.err >&5
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); } &&
35123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35125 (eval $ac_try) 2>&5
35126 ac_status=$?
35127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35128 (exit $ac_status); }; } &&
35129 { ac_try='test -s conftest.$ac_objext'
35130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35131 (eval $ac_try) 2>&5
35132 ac_status=$?
35133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35134 (exit $ac_status); }; }; then
35135
35136 wx_cv_type_pthread_rec_mutex_init=yes
35137
35138 else
35139 echo "$as_me: failed program was:" >&5
35140 sed 's/^/| /' conftest.$ac_ext >&5
35141
35142
35143 wx_cv_type_pthread_rec_mutex_init=no
35144
35145
35146 fi
35147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35148
35149 fi
35150 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35151 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35152 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35153 cat >>confdefs.h <<\_ACEOF
35154 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35155 _ACEOF
35156
35157 else
35158 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35159 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35160 fi
35161 fi
35162 fi
35163
35164 else
35165 if test "$wxUSE_THREADS" = "yes" ; then
35166 case "${host}" in
35167 *-*-mingw32* )
35168 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35169 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35170 if test "${wx_cv_cflags_mthread+set}" = set; then
35171 echo $ECHO_N "(cached) $ECHO_C" >&6
35172 else
35173
35174 CFLAGS_OLD="$CFLAGS"
35175 CFLAGS="$CFLAGS -mthreads"
35176 cat >conftest.$ac_ext <<_ACEOF
35177 /* confdefs.h. */
35178 _ACEOF
35179 cat confdefs.h >>conftest.$ac_ext
35180 cat >>conftest.$ac_ext <<_ACEOF
35181 /* end confdefs.h. */
35182
35183 int
35184 main ()
35185 {
35186
35187 ;
35188 return 0;
35189 }
35190 _ACEOF
35191 rm -f conftest.$ac_objext
35192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35193 (eval $ac_compile) 2>conftest.er1
35194 ac_status=$?
35195 grep -v '^ *+' conftest.er1 >conftest.err
35196 rm -f conftest.er1
35197 cat conftest.err >&5
35198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35199 (exit $ac_status); } &&
35200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35202 (eval $ac_try) 2>&5
35203 ac_status=$?
35204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35205 (exit $ac_status); }; } &&
35206 { ac_try='test -s conftest.$ac_objext'
35207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35208 (eval $ac_try) 2>&5
35209 ac_status=$?
35210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35211 (exit $ac_status); }; }; then
35212 wx_cv_cflags_mthread=yes
35213 else
35214 echo "$as_me: failed program was:" >&5
35215 sed 's/^/| /' conftest.$ac_ext >&5
35216
35217 wx_cv_cflags_mthread=no
35218
35219 fi
35220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35221
35222
35223 fi
35224 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
35225 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35226
35227 if test "$wx_cv_cflags_mthread" = "yes"; then
35228 CXXFLAGS="$CXXFLAGS -mthreads"
35229 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
35230 LDFLAGS="$LDFLAGS -mthreads"
35231 else
35232 CFLAGS="$CFLAGS_OLD"
35233 fi
35234 ;;
35235 *-pc-os2*emx )
35236 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
35237 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
35238 LDFLAGS="$LDFLAGS -Zmt"
35239 ;;
35240 esac
35241 fi
35242 fi
35243
35244 if test "$wxUSE_THREADS" = "yes"; then
35245 cat >>confdefs.h <<\_ACEOF
35246 #define wxUSE_THREADS 1
35247 _ACEOF
35248
35249
35250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
35251 else
35252 if test "$ac_cv_func_strtok_r" = "yes"; then
35253 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35254 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35255 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35256 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
35257 echo "$as_me:$LINENO: result: yes" >&5
35258 echo "${ECHO_T}yes" >&6
35259 else
35260 echo "$as_me:$LINENO: result: no" >&5
35261 echo "${ECHO_T}no" >&6
35262 fi
35263 fi
35264 fi
35265
35266 if test "$WXGTK20" = 1 ; then
35267 cat >>confdefs.h <<_ACEOF
35268 #define __WXGTK20__ $WXGTK20
35269 _ACEOF
35270
35271 WXGTK12=1
35272 fi
35273
35274 if test "$WXGTK12" = 1 ; then
35275 cat >>confdefs.h <<_ACEOF
35276 #define __WXGTK12__ $WXGTK12
35277 _ACEOF
35278
35279 fi
35280
35281 if test "$WXGTK127" = 1 ; then
35282 cat >>confdefs.h <<_ACEOF
35283 #define __WXGTK127__ $WXGTK127
35284 _ACEOF
35285
35286 fi
35287
35288 if test "$WXGPE" = 1 ; then
35289 cat >>confdefs.h <<_ACEOF
35290 #define __WXGPE__ $WXGPE
35291 _ACEOF
35292
35293 fi
35294
35295 WXDEBUG=
35296
35297 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35298 WXDEBUG="-g"
35299 wxUSE_OPTIMISE=no
35300 fi
35301
35302 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35303 wxUSE_DEBUG_INFO=yes
35304 WXDEBUG="-ggdb"
35305 fi
35306
35307 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35308 cat >>confdefs.h <<\_ACEOF
35309 #define WXDEBUG 1
35310 _ACEOF
35311
35312 WXDEBUG_DEFINE="-D__WXDEBUG__"
35313 else
35314 if test "$wxUSE_GTK" = 1 ; then
35315 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
35316 fi
35317 fi
35318
35319 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35320 cat >>confdefs.h <<\_ACEOF
35321 #define wxUSE_MEMORY_TRACING 1
35322 _ACEOF
35323
35324 cat >>confdefs.h <<\_ACEOF
35325 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35326 _ACEOF
35327
35328 cat >>confdefs.h <<\_ACEOF
35329 #define wxUSE_DEBUG_NEW_ALWAYS 1
35330 _ACEOF
35331
35332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
35333 fi
35334
35335 if test "$wxUSE_DMALLOC" = "yes" ; then
35336 DMALLOC_LIBS="-ldmalloc"
35337 fi
35338
35339 PROFILE=
35340 if test "$wxUSE_PROFILE" = "yes" ; then
35341 PROFILE=" -pg"
35342 fi
35343
35344 CODE_GEN_FLAGS=
35345 CODE_GEN_FLAGS_CXX=
35346 if test "$GCC" = "yes" ; then
35347 if test "$wxUSE_NO_RTTI" = "yes" ; then
35348 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
35349 fi
35350 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35351 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35352 fi
35353 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35354 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
35355 fi
35356
35357 case "${host}" in
35358 powerpc*-*-aix* )
35359 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
35360 ;;
35361 *-hppa* )
35362 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
35363 ;;
35364 esac
35365 fi
35366
35367 OPTIMISE=
35368 if test "$wxUSE_OPTIMISE" = "no" ; then
35369 if test "$GCC" = yes ; then
35370 OPTIMISE="-O0"
35371 fi
35372 else
35373 if test "$GCC" = yes ; then
35374 OPTIMISE="-O2"
35375
35376 case "${host}" in
35377 i586-*-*|i686-*-* )
35378 OPTIMISE="${OPTIMISE} "
35379 ;;
35380 esac
35381 else
35382 OPTIMISE="-O"
35383 fi
35384 fi
35385
35386
35387 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35388 cat >>confdefs.h <<\_ACEOF
35389 #define WXWIN_COMPATIBILITY_2_2 1
35390 _ACEOF
35391
35392
35393 WXWIN_COMPATIBILITY_2_4="yes"
35394 fi
35395
35396 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35397 cat >>confdefs.h <<\_ACEOF
35398 #define WXWIN_COMPATIBILITY_2_4 1
35399 _ACEOF
35400
35401 fi
35402
35403
35404 if test "$wxUSE_GUI" = "yes"; then
35405 cat >>confdefs.h <<\_ACEOF
35406 #define wxUSE_GUI 1
35407 _ACEOF
35408
35409
35410 fi
35411
35412
35413 if test "$wxUSE_UNIX" = "yes"; then
35414 cat >>confdefs.h <<\_ACEOF
35415 #define wxUSE_UNIX 1
35416 _ACEOF
35417
35418 fi
35419
35420
35421 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35422
35423 HAVE_DL_FUNCS=0
35424 HAVE_SHL_FUNCS=0
35425 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35426 if test "$USE_DARWIN" = 1; then
35427 HAVE_DL_FUNCS=1
35428 else
35429
35430 for ac_func in dlopen
35431 do
35432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35433 echo "$as_me:$LINENO: checking for $ac_func" >&5
35434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35435 if eval "test \"\${$as_ac_var+set}\" = set"; then
35436 echo $ECHO_N "(cached) $ECHO_C" >&6
35437 else
35438 cat >conftest.$ac_ext <<_ACEOF
35439 /* confdefs.h. */
35440 _ACEOF
35441 cat confdefs.h >>conftest.$ac_ext
35442 cat >>conftest.$ac_ext <<_ACEOF
35443 /* end confdefs.h. */
35444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35446 #define $ac_func innocuous_$ac_func
35447
35448 /* System header to define __stub macros and hopefully few prototypes,
35449 which can conflict with char $ac_func (); below.
35450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35451 <limits.h> exists even on freestanding compilers. */
35452
35453 #ifdef __STDC__
35454 # include <limits.h>
35455 #else
35456 # include <assert.h>
35457 #endif
35458
35459 #undef $ac_func
35460
35461 /* Override any gcc2 internal prototype to avoid an error. */
35462 #ifdef __cplusplus
35463 extern "C"
35464 {
35465 #endif
35466 /* We use char because int might match the return type of a gcc2
35467 builtin and then its argument prototype would still apply. */
35468 char $ac_func ();
35469 /* The GNU C library defines this for functions which it implements
35470 to always fail with ENOSYS. Some functions are actually named
35471 something starting with __ and the normal name is an alias. */
35472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35473 choke me
35474 #else
35475 char (*f) () = $ac_func;
35476 #endif
35477 #ifdef __cplusplus
35478 }
35479 #endif
35480
35481 int
35482 main ()
35483 {
35484 return f != $ac_func;
35485 ;
35486 return 0;
35487 }
35488 _ACEOF
35489 rm -f conftest.$ac_objext conftest$ac_exeext
35490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35491 (eval $ac_link) 2>conftest.er1
35492 ac_status=$?
35493 grep -v '^ *+' conftest.er1 >conftest.err
35494 rm -f conftest.er1
35495 cat conftest.err >&5
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); } &&
35498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35500 (eval $ac_try) 2>&5
35501 ac_status=$?
35502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35503 (exit $ac_status); }; } &&
35504 { ac_try='test -s conftest$ac_exeext'
35505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35506 (eval $ac_try) 2>&5
35507 ac_status=$?
35508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35509 (exit $ac_status); }; }; then
35510 eval "$as_ac_var=yes"
35511 else
35512 echo "$as_me: failed program was:" >&5
35513 sed 's/^/| /' conftest.$ac_ext >&5
35514
35515 eval "$as_ac_var=no"
35516 fi
35517 rm -f conftest.err conftest.$ac_objext \
35518 conftest$ac_exeext conftest.$ac_ext
35519 fi
35520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35522 if test `eval echo '${'$as_ac_var'}'` = yes; then
35523 cat >>confdefs.h <<_ACEOF
35524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35525 _ACEOF
35526
35527 cat >>confdefs.h <<\_ACEOF
35528 #define HAVE_DLOPEN 1
35529 _ACEOF
35530
35531 HAVE_DL_FUNCS=1
35532
35533 else
35534
35535 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35536 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35537 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35538 echo $ECHO_N "(cached) $ECHO_C" >&6
35539 else
35540 ac_check_lib_save_LIBS=$LIBS
35541 LIBS="-ldl $LIBS"
35542 cat >conftest.$ac_ext <<_ACEOF
35543 /* confdefs.h. */
35544 _ACEOF
35545 cat confdefs.h >>conftest.$ac_ext
35546 cat >>conftest.$ac_ext <<_ACEOF
35547 /* end confdefs.h. */
35548
35549 /* Override any gcc2 internal prototype to avoid an error. */
35550 #ifdef __cplusplus
35551 extern "C"
35552 #endif
35553 /* We use char because int might match the return type of a gcc2
35554 builtin and then its argument prototype would still apply. */
35555 char dlopen ();
35556 int
35557 main ()
35558 {
35559 dlopen ();
35560 ;
35561 return 0;
35562 }
35563 _ACEOF
35564 rm -f conftest.$ac_objext conftest$ac_exeext
35565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35566 (eval $ac_link) 2>conftest.er1
35567 ac_status=$?
35568 grep -v '^ *+' conftest.er1 >conftest.err
35569 rm -f conftest.er1
35570 cat conftest.err >&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); } &&
35573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35575 (eval $ac_try) 2>&5
35576 ac_status=$?
35577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35578 (exit $ac_status); }; } &&
35579 { ac_try='test -s conftest$ac_exeext'
35580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35581 (eval $ac_try) 2>&5
35582 ac_status=$?
35583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35584 (exit $ac_status); }; }; then
35585 ac_cv_lib_dl_dlopen=yes
35586 else
35587 echo "$as_me: failed program was:" >&5
35588 sed 's/^/| /' conftest.$ac_ext >&5
35589
35590 ac_cv_lib_dl_dlopen=no
35591 fi
35592 rm -f conftest.err conftest.$ac_objext \
35593 conftest$ac_exeext conftest.$ac_ext
35594 LIBS=$ac_check_lib_save_LIBS
35595 fi
35596 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
35597 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35598 if test $ac_cv_lib_dl_dlopen = yes; then
35599
35600 cat >>confdefs.h <<\_ACEOF
35601 #define HAVE_DLOPEN 1
35602 _ACEOF
35603
35604 HAVE_DL_FUNCS=1
35605 DL_LINK=" -ldl$DL_LINK"
35606
35607 else
35608
35609
35610 for ac_func in shl_load
35611 do
35612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35613 echo "$as_me:$LINENO: checking for $ac_func" >&5
35614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35615 if eval "test \"\${$as_ac_var+set}\" = set"; then
35616 echo $ECHO_N "(cached) $ECHO_C" >&6
35617 else
35618 cat >conftest.$ac_ext <<_ACEOF
35619 /* confdefs.h. */
35620 _ACEOF
35621 cat confdefs.h >>conftest.$ac_ext
35622 cat >>conftest.$ac_ext <<_ACEOF
35623 /* end confdefs.h. */
35624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35626 #define $ac_func innocuous_$ac_func
35627
35628 /* System header to define __stub macros and hopefully few prototypes,
35629 which can conflict with char $ac_func (); below.
35630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35631 <limits.h> exists even on freestanding compilers. */
35632
35633 #ifdef __STDC__
35634 # include <limits.h>
35635 #else
35636 # include <assert.h>
35637 #endif
35638
35639 #undef $ac_func
35640
35641 /* Override any gcc2 internal prototype to avoid an error. */
35642 #ifdef __cplusplus
35643 extern "C"
35644 {
35645 #endif
35646 /* We use char because int might match the return type of a gcc2
35647 builtin and then its argument prototype would still apply. */
35648 char $ac_func ();
35649 /* The GNU C library defines this for functions which it implements
35650 to always fail with ENOSYS. Some functions are actually named
35651 something starting with __ and the normal name is an alias. */
35652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35653 choke me
35654 #else
35655 char (*f) () = $ac_func;
35656 #endif
35657 #ifdef __cplusplus
35658 }
35659 #endif
35660
35661 int
35662 main ()
35663 {
35664 return f != $ac_func;
35665 ;
35666 return 0;
35667 }
35668 _ACEOF
35669 rm -f conftest.$ac_objext conftest$ac_exeext
35670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35671 (eval $ac_link) 2>conftest.er1
35672 ac_status=$?
35673 grep -v '^ *+' conftest.er1 >conftest.err
35674 rm -f conftest.er1
35675 cat conftest.err >&5
35676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35677 (exit $ac_status); } &&
35678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35680 (eval $ac_try) 2>&5
35681 ac_status=$?
35682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35683 (exit $ac_status); }; } &&
35684 { ac_try='test -s conftest$ac_exeext'
35685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35686 (eval $ac_try) 2>&5
35687 ac_status=$?
35688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35689 (exit $ac_status); }; }; then
35690 eval "$as_ac_var=yes"
35691 else
35692 echo "$as_me: failed program was:" >&5
35693 sed 's/^/| /' conftest.$ac_ext >&5
35694
35695 eval "$as_ac_var=no"
35696 fi
35697 rm -f conftest.err conftest.$ac_objext \
35698 conftest$ac_exeext conftest.$ac_ext
35699 fi
35700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35702 if test `eval echo '${'$as_ac_var'}'` = yes; then
35703 cat >>confdefs.h <<_ACEOF
35704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35705 _ACEOF
35706
35707 cat >>confdefs.h <<\_ACEOF
35708 #define HAVE_SHL_LOAD 1
35709 _ACEOF
35710
35711 HAVE_SHL_FUNCS=1
35712
35713 else
35714
35715 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35716 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35717 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35718 echo $ECHO_N "(cached) $ECHO_C" >&6
35719 else
35720 ac_check_lib_save_LIBS=$LIBS
35721 LIBS="-lshl_load $LIBS"
35722 cat >conftest.$ac_ext <<_ACEOF
35723 /* confdefs.h. */
35724 _ACEOF
35725 cat confdefs.h >>conftest.$ac_ext
35726 cat >>conftest.$ac_ext <<_ACEOF
35727 /* end confdefs.h. */
35728
35729 /* Override any gcc2 internal prototype to avoid an error. */
35730 #ifdef __cplusplus
35731 extern "C"
35732 #endif
35733 /* We use char because int might match the return type of a gcc2
35734 builtin and then its argument prototype would still apply. */
35735 char dld ();
35736 int
35737 main ()
35738 {
35739 dld ();
35740 ;
35741 return 0;
35742 }
35743 _ACEOF
35744 rm -f conftest.$ac_objext conftest$ac_exeext
35745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35746 (eval $ac_link) 2>conftest.er1
35747 ac_status=$?
35748 grep -v '^ *+' conftest.er1 >conftest.err
35749 rm -f conftest.er1
35750 cat conftest.err >&5
35751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35752 (exit $ac_status); } &&
35753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35755 (eval $ac_try) 2>&5
35756 ac_status=$?
35757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35758 (exit $ac_status); }; } &&
35759 { ac_try='test -s conftest$ac_exeext'
35760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35761 (eval $ac_try) 2>&5
35762 ac_status=$?
35763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35764 (exit $ac_status); }; }; then
35765 ac_cv_lib_shl_load_dld=yes
35766 else
35767 echo "$as_me: failed program was:" >&5
35768 sed 's/^/| /' conftest.$ac_ext >&5
35769
35770 ac_cv_lib_shl_load_dld=no
35771 fi
35772 rm -f conftest.err conftest.$ac_objext \
35773 conftest$ac_exeext conftest.$ac_ext
35774 LIBS=$ac_check_lib_save_LIBS
35775 fi
35776 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35777 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35778 if test $ac_cv_lib_shl_load_dld = yes; then
35779
35780 HAVE_SHL_FUNCS=1
35781 DL_LINK=" -ldld$DL_LINK"
35782
35783 fi
35784
35785
35786 fi
35787 done
35788
35789
35790 fi
35791
35792
35793 fi
35794 done
35795
35796
35797 if test "$HAVE_DL_FUNCS" = 1; then
35798
35799 for ac_func in dlerror
35800 do
35801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35802 echo "$as_me:$LINENO: checking for $ac_func" >&5
35803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35804 if eval "test \"\${$as_ac_var+set}\" = set"; then
35805 echo $ECHO_N "(cached) $ECHO_C" >&6
35806 else
35807 cat >conftest.$ac_ext <<_ACEOF
35808 /* confdefs.h. */
35809 _ACEOF
35810 cat confdefs.h >>conftest.$ac_ext
35811 cat >>conftest.$ac_ext <<_ACEOF
35812 /* end confdefs.h. */
35813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35815 #define $ac_func innocuous_$ac_func
35816
35817 /* System header to define __stub macros and hopefully few prototypes,
35818 which can conflict with char $ac_func (); below.
35819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35820 <limits.h> exists even on freestanding compilers. */
35821
35822 #ifdef __STDC__
35823 # include <limits.h>
35824 #else
35825 # include <assert.h>
35826 #endif
35827
35828 #undef $ac_func
35829
35830 /* Override any gcc2 internal prototype to avoid an error. */
35831 #ifdef __cplusplus
35832 extern "C"
35833 {
35834 #endif
35835 /* We use char because int might match the return type of a gcc2
35836 builtin and then its argument prototype would still apply. */
35837 char $ac_func ();
35838 /* The GNU C library defines this for functions which it implements
35839 to always fail with ENOSYS. Some functions are actually named
35840 something starting with __ and the normal name is an alias. */
35841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35842 choke me
35843 #else
35844 char (*f) () = $ac_func;
35845 #endif
35846 #ifdef __cplusplus
35847 }
35848 #endif
35849
35850 int
35851 main ()
35852 {
35853 return f != $ac_func;
35854 ;
35855 return 0;
35856 }
35857 _ACEOF
35858 rm -f conftest.$ac_objext conftest$ac_exeext
35859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35860 (eval $ac_link) 2>conftest.er1
35861 ac_status=$?
35862 grep -v '^ *+' conftest.er1 >conftest.err
35863 rm -f conftest.er1
35864 cat conftest.err >&5
35865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35866 (exit $ac_status); } &&
35867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35869 (eval $ac_try) 2>&5
35870 ac_status=$?
35871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35872 (exit $ac_status); }; } &&
35873 { ac_try='test -s conftest$ac_exeext'
35874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35875 (eval $ac_try) 2>&5
35876 ac_status=$?
35877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35878 (exit $ac_status); }; }; then
35879 eval "$as_ac_var=yes"
35880 else
35881 echo "$as_me: failed program was:" >&5
35882 sed 's/^/| /' conftest.$ac_ext >&5
35883
35884 eval "$as_ac_var=no"
35885 fi
35886 rm -f conftest.err conftest.$ac_objext \
35887 conftest$ac_exeext conftest.$ac_ext
35888 fi
35889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35891 if test `eval echo '${'$as_ac_var'}'` = yes; then
35892 cat >>confdefs.h <<_ACEOF
35893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35894 _ACEOF
35895 cat >>confdefs.h <<\_ACEOF
35896 #define HAVE_DLERROR 1
35897 _ACEOF
35898
35899 else
35900
35901 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35902 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35903 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35904 echo $ECHO_N "(cached) $ECHO_C" >&6
35905 else
35906 ac_check_lib_save_LIBS=$LIBS
35907 LIBS="-ldl $LIBS"
35908 cat >conftest.$ac_ext <<_ACEOF
35909 /* confdefs.h. */
35910 _ACEOF
35911 cat confdefs.h >>conftest.$ac_ext
35912 cat >>conftest.$ac_ext <<_ACEOF
35913 /* end confdefs.h. */
35914
35915 /* Override any gcc2 internal prototype to avoid an error. */
35916 #ifdef __cplusplus
35917 extern "C"
35918 #endif
35919 /* We use char because int might match the return type of a gcc2
35920 builtin and then its argument prototype would still apply. */
35921 char dlerror ();
35922 int
35923 main ()
35924 {
35925 dlerror ();
35926 ;
35927 return 0;
35928 }
35929 _ACEOF
35930 rm -f conftest.$ac_objext conftest$ac_exeext
35931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35932 (eval $ac_link) 2>conftest.er1
35933 ac_status=$?
35934 grep -v '^ *+' conftest.er1 >conftest.err
35935 rm -f conftest.er1
35936 cat conftest.err >&5
35937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35938 (exit $ac_status); } &&
35939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35941 (eval $ac_try) 2>&5
35942 ac_status=$?
35943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35944 (exit $ac_status); }; } &&
35945 { ac_try='test -s conftest$ac_exeext'
35946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35947 (eval $ac_try) 2>&5
35948 ac_status=$?
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); }; }; then
35951 ac_cv_lib_dl_dlerror=yes
35952 else
35953 echo "$as_me: failed program was:" >&5
35954 sed 's/^/| /' conftest.$ac_ext >&5
35955
35956 ac_cv_lib_dl_dlerror=no
35957 fi
35958 rm -f conftest.err conftest.$ac_objext \
35959 conftest$ac_exeext conftest.$ac_ext
35960 LIBS=$ac_check_lib_save_LIBS
35961 fi
35962 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35963 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35964 if test $ac_cv_lib_dl_dlerror = yes; then
35965 cat >>confdefs.h <<\_ACEOF
35966 #define HAVE_DLERROR 1
35967 _ACEOF
35968
35969 fi
35970
35971
35972
35973 fi
35974 done
35975
35976 fi
35977 fi
35978
35979 if test "$HAVE_DL_FUNCS" = 0; then
35980 if test "$HAVE_SHL_FUNCS" = 0; then
35981 if test "$USE_UNIX" = 1; then
35982 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35983 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35984 wxUSE_DYNAMIC_LOADER=no
35985 wxUSE_DYNLIB_CLASS=no
35986 else
35987 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35988 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35989 fi
35990 fi
35991 fi
35992 fi
35993 fi
35994
35995 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35996 cat >>confdefs.h <<\_ACEOF
35997 #define wxUSE_DYNAMIC_LOADER 1
35998 _ACEOF
35999
36000 fi
36001 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36002 cat >>confdefs.h <<\_ACEOF
36003 #define wxUSE_DYNLIB_CLASS 1
36004 _ACEOF
36005
36006 fi
36007
36008
36009
36010 if test "$wxUSE_PLUGINS" = "yes" ; then
36011 if test "$wxUSE_SHARED" = "no" ; then
36012 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36013 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36014 wxUSE_PLUGINS=no
36015 fi
36016 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36017 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36018 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36019 wxUSE_PLUGINS=no
36020 fi
36021 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36022 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36023 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36024 wxUSE_PLUGINS=no
36025 fi
36026 if test "$wxUSE_PLUGINS" = "yes" ; then
36027 cat >>confdefs.h <<\_ACEOF
36028 #define wxUSE_PLUGINS 1
36029 _ACEOF
36030
36031 fi
36032 fi
36033
36034
36035 if test "$wxUSE_STL" = "yes"; then
36036 cat >>confdefs.h <<\_ACEOF
36037 #define wxUSE_STL 1
36038 _ACEOF
36039
36040 fi
36041
36042 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36043 cat >>confdefs.h <<\_ACEOF
36044 #define wxUSE_APPLE_IEEE 1
36045 _ACEOF
36046
36047 fi
36048
36049 if test "$wxUSE_TIMER" = "yes"; then
36050 cat >>confdefs.h <<\_ACEOF
36051 #define wxUSE_TIMER 1
36052 _ACEOF
36053
36054 fi
36055
36056 WITH_PLUGIN_SDL=0
36057 if test "$wxUSE_SOUND" = "yes"; then
36058 if test "$USE_UNIX" = "1" ; then
36059
36060 for ac_header in sys/soundcard.h
36061 do
36062 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36064 echo "$as_me:$LINENO: checking for $ac_header" >&5
36065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36067 echo $ECHO_N "(cached) $ECHO_C" >&6
36068 fi
36069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36071 else
36072 # Is the header compilable?
36073 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36074 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36075 cat >conftest.$ac_ext <<_ACEOF
36076 /* confdefs.h. */
36077 _ACEOF
36078 cat confdefs.h >>conftest.$ac_ext
36079 cat >>conftest.$ac_ext <<_ACEOF
36080 /* end confdefs.h. */
36081 $ac_includes_default
36082 #include <$ac_header>
36083 _ACEOF
36084 rm -f conftest.$ac_objext
36085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36086 (eval $ac_compile) 2>conftest.er1
36087 ac_status=$?
36088 grep -v '^ *+' conftest.er1 >conftest.err
36089 rm -f conftest.er1
36090 cat conftest.err >&5
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); } &&
36093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36095 (eval $ac_try) 2>&5
36096 ac_status=$?
36097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36098 (exit $ac_status); }; } &&
36099 { ac_try='test -s conftest.$ac_objext'
36100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36101 (eval $ac_try) 2>&5
36102 ac_status=$?
36103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36104 (exit $ac_status); }; }; then
36105 ac_header_compiler=yes
36106 else
36107 echo "$as_me: failed program was:" >&5
36108 sed 's/^/| /' conftest.$ac_ext >&5
36109
36110 ac_header_compiler=no
36111 fi
36112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36113 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36114 echo "${ECHO_T}$ac_header_compiler" >&6
36115
36116 # Is the header present?
36117 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36118 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36119 cat >conftest.$ac_ext <<_ACEOF
36120 /* confdefs.h. */
36121 _ACEOF
36122 cat confdefs.h >>conftest.$ac_ext
36123 cat >>conftest.$ac_ext <<_ACEOF
36124 /* end confdefs.h. */
36125 #include <$ac_header>
36126 _ACEOF
36127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36128 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36129 ac_status=$?
36130 grep -v '^ *+' conftest.er1 >conftest.err
36131 rm -f conftest.er1
36132 cat conftest.err >&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); } >/dev/null; then
36135 if test -s conftest.err; then
36136 ac_cpp_err=$ac_c_preproc_warn_flag
36137 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36138 else
36139 ac_cpp_err=
36140 fi
36141 else
36142 ac_cpp_err=yes
36143 fi
36144 if test -z "$ac_cpp_err"; then
36145 ac_header_preproc=yes
36146 else
36147 echo "$as_me: failed program was:" >&5
36148 sed 's/^/| /' conftest.$ac_ext >&5
36149
36150 ac_header_preproc=no
36151 fi
36152 rm -f conftest.err conftest.$ac_ext
36153 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36154 echo "${ECHO_T}$ac_header_preproc" >&6
36155
36156 # So? What about this header?
36157 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36158 yes:no: )
36159 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36160 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36162 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36163 ac_header_preproc=yes
36164 ;;
36165 no:yes:* )
36166 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36167 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36168 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36169 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36170 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36171 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36172 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36173 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36175 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36176 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36177 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36178 (
36179 cat <<\_ASBOX
36180 ## ----------------------------------------- ##
36181 ## Report this to wx-dev@lists.wxwidgets.org ##
36182 ## ----------------------------------------- ##
36183 _ASBOX
36184 ) |
36185 sed "s/^/$as_me: WARNING: /" >&2
36186 ;;
36187 esac
36188 echo "$as_me:$LINENO: checking for $ac_header" >&5
36189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36191 echo $ECHO_N "(cached) $ECHO_C" >&6
36192 else
36193 eval "$as_ac_Header=\$ac_header_preproc"
36194 fi
36195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36197
36198 fi
36199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36200 cat >>confdefs.h <<_ACEOF
36201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36202 _ACEOF
36203
36204 fi
36205
36206 done
36207
36208
36209 if test "$wxUSE_LIBSDL" != "no"; then
36210
36211 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
36212 if test "${with_sdl_prefix+set}" = set; then
36213 withval="$with_sdl_prefix"
36214 sdl_prefix="$withval"
36215 else
36216 sdl_prefix=""
36217 fi;
36218
36219 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36220 if test "${with_sdl_exec_prefix+set}" = set; then
36221 withval="$with_sdl_exec_prefix"
36222 sdl_exec_prefix="$withval"
36223 else
36224 sdl_exec_prefix=""
36225 fi;
36226 # Check whether --enable-sdltest or --disable-sdltest was given.
36227 if test "${enable_sdltest+set}" = set; then
36228 enableval="$enable_sdltest"
36229
36230 else
36231 enable_sdltest=yes
36232 fi;
36233
36234 if test x$sdl_exec_prefix != x ; then
36235 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
36236 if test x${SDL_CONFIG+set} != xset ; then
36237 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
36238 fi
36239 fi
36240 if test x$sdl_prefix != x ; then
36241 sdl_args="$sdl_args --prefix=$sdl_prefix"
36242 if test x${SDL_CONFIG+set} != xset ; then
36243 SDL_CONFIG=$sdl_prefix/bin/sdl-config
36244 fi
36245 fi
36246
36247
36248 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
36249 # Extract the first word of "sdl-config", so it can be a program name with args.
36250 set dummy sdl-config; ac_word=$2
36251 echo "$as_me:$LINENO: checking for $ac_word" >&5
36252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36253 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36254 echo $ECHO_N "(cached) $ECHO_C" >&6
36255 else
36256 case $SDL_CONFIG in
36257 [\\/]* | ?:[\\/]*)
36258 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
36259 ;;
36260 *)
36261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36262 for as_dir in $PATH
36263 do
36264 IFS=$as_save_IFS
36265 test -z "$as_dir" && as_dir=.
36266 for ac_exec_ext in '' $ac_executable_extensions; do
36267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36268 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36270 break 2
36271 fi
36272 done
36273 done
36274
36275 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
36276 ;;
36277 esac
36278 fi
36279 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
36280
36281 if test -n "$SDL_CONFIG"; then
36282 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36283 echo "${ECHO_T}$SDL_CONFIG" >&6
36284 else
36285 echo "$as_me:$LINENO: result: no" >&5
36286 echo "${ECHO_T}no" >&6
36287 fi
36288
36289 min_sdl_version=1.2.0
36290 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36291 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36292 no_sdl=""
36293 if test "$SDL_CONFIG" = "no" ; then
36294 no_sdl=yes
36295 else
36296 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
36297 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
36298
36299 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
36300 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36301 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
36302 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36303 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
36304 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36305 if test "x$enable_sdltest" = "xyes" ; then
36306 ac_save_CFLAGS="$CFLAGS"
36307 ac_save_CXXFLAGS="$CXXFLAGS"
36308 ac_save_LIBS="$LIBS"
36309 CFLAGS="$CFLAGS $SDL_CFLAGS"
36310 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36311 LIBS="$LIBS $SDL_LIBS"
36312 rm -f conf.sdltest
36313 if test "$cross_compiling" = yes; then
36314 echo $ac_n "cross compiling; assumed OK... $ac_c"
36315 else
36316 cat >conftest.$ac_ext <<_ACEOF
36317 /* confdefs.h. */
36318 _ACEOF
36319 cat confdefs.h >>conftest.$ac_ext
36320 cat >>conftest.$ac_ext <<_ACEOF
36321 /* end confdefs.h. */
36322
36323 #include <stdio.h>
36324 #include <stdlib.h>
36325 #include <string.h>
36326 #include "SDL.h"
36327
36328 char*
36329 my_strdup (char *str)
36330 {
36331 char *new_str;
36332
36333 if (str)
36334 {
36335 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36336 strcpy (new_str, str);
36337 }
36338 else
36339 new_str = NULL;
36340
36341 return new_str;
36342 }
36343
36344 int main (int argc, char *argv[])
36345 {
36346 int major, minor, micro;
36347 char *tmp_version;
36348
36349 /* This hangs on some systems (?)
36350 system ("touch conf.sdltest");
36351 */
36352 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36353
36354 /* HP/UX 9 (%@#!) writes to sscanf strings */
36355 tmp_version = my_strdup("$min_sdl_version");
36356 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
36357 printf("%s, bad version string\n", "$min_sdl_version");
36358 exit(1);
36359 }
36360
36361 if (($sdl_major_version > major) ||
36362 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36363 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36364 {
36365 return 0;
36366 }
36367 else
36368 {
36369 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36370 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36371 printf("*** best to upgrade to the required version.\n");
36372 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36373 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36374 printf("*** config.cache before re-running configure\n");
36375 return 1;
36376 }
36377 }
36378
36379
36380 _ACEOF
36381 rm -f conftest$ac_exeext
36382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36383 (eval $ac_link) 2>&5
36384 ac_status=$?
36385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36386 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36388 (eval $ac_try) 2>&5
36389 ac_status=$?
36390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36391 (exit $ac_status); }; }; then
36392 :
36393 else
36394 echo "$as_me: program exited with status $ac_status" >&5
36395 echo "$as_me: failed program was:" >&5
36396 sed 's/^/| /' conftest.$ac_ext >&5
36397
36398 ( exit $ac_status )
36399 no_sdl=yes
36400 fi
36401 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36402 fi
36403 CFLAGS="$ac_save_CFLAGS"
36404 CXXFLAGS="$ac_save_CXXFLAGS"
36405 LIBS="$ac_save_LIBS"
36406 fi
36407 fi
36408 if test "x$no_sdl" = x ; then
36409 echo "$as_me:$LINENO: result: yes" >&5
36410 echo "${ECHO_T}yes" >&6
36411
36412 EXTRALIBS_SDL="$SDL_LIBS"
36413 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36414 cat >>confdefs.h <<\_ACEOF
36415 #define wxUSE_LIBSDL 1
36416 _ACEOF
36417
36418
36419 else
36420 echo "$as_me:$LINENO: result: no" >&5
36421 echo "${ECHO_T}no" >&6
36422 if test "$SDL_CONFIG" = "no" ; then
36423 echo "*** The sdl-config script installed by SDL could not be found"
36424 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36425 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36426 echo "*** full path to sdl-config."
36427 else
36428 if test -f conf.sdltest ; then
36429 :
36430 else
36431 echo "*** Could not run SDL test program, checking why..."
36432 CFLAGS="$CFLAGS $SDL_CFLAGS"
36433 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36434 LIBS="$LIBS $SDL_LIBS"
36435 cat >conftest.$ac_ext <<_ACEOF
36436 /* confdefs.h. */
36437 _ACEOF
36438 cat confdefs.h >>conftest.$ac_ext
36439 cat >>conftest.$ac_ext <<_ACEOF
36440 /* end confdefs.h. */
36441
36442 #include <stdio.h>
36443 #include "SDL.h"
36444
36445 int main(int argc, char *argv[])
36446 { return 0; }
36447 #undef main
36448 #define main K_and_R_C_main
36449
36450 int
36451 main ()
36452 {
36453 return 0;
36454 ;
36455 return 0;
36456 }
36457 _ACEOF
36458 rm -f conftest.$ac_objext conftest$ac_exeext
36459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36460 (eval $ac_link) 2>conftest.er1
36461 ac_status=$?
36462 grep -v '^ *+' conftest.er1 >conftest.err
36463 rm -f conftest.er1
36464 cat conftest.err >&5
36465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36466 (exit $ac_status); } &&
36467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36469 (eval $ac_try) 2>&5
36470 ac_status=$?
36471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36472 (exit $ac_status); }; } &&
36473 { ac_try='test -s conftest$ac_exeext'
36474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36475 (eval $ac_try) 2>&5
36476 ac_status=$?
36477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36478 (exit $ac_status); }; }; then
36479 echo "*** The test program compiled, but did not run. This usually means"
36480 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36481 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36482 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36483 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36484 echo "*** is required on your system"
36485 echo "***"
36486 echo "*** If you have an old version installed, it is best to remove it, although"
36487 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36488 else
36489 echo "$as_me: failed program was:" >&5
36490 sed 's/^/| /' conftest.$ac_ext >&5
36491
36492 echo "*** The test program failed to compile or link. See the file config.log for the"
36493 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36494 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36495 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36496 fi
36497 rm -f conftest.err conftest.$ac_objext \
36498 conftest$ac_exeext conftest.$ac_ext
36499 CFLAGS="$ac_save_CFLAGS"
36500 CXXFLAGS="$ac_save_CXXFLAGS"
36501 LIBS="$ac_save_LIBS"
36502 fi
36503 fi
36504 SDL_CFLAGS=""
36505 SDL_LIBS=""
36506 wxUSE_LIBSDL="no"
36507 fi
36508
36509
36510 rm -f conf.sdltest
36511
36512 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36513 WITH_PLUGIN_SDL=1
36514 fi
36515 fi
36516 fi
36517
36518 cat >>confdefs.h <<\_ACEOF
36519 #define wxUSE_SOUND 1
36520 _ACEOF
36521
36522 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
36523 fi
36524
36525 if test "$WXGTK20" = 1; then
36526 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36527 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36528
36529
36530 succeeded=no
36531
36532 if test -z "$PKG_CONFIG"; then
36533 # Extract the first word of "pkg-config", so it can be a program name with args.
36534 set dummy pkg-config; ac_word=$2
36535 echo "$as_me:$LINENO: checking for $ac_word" >&5
36536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36537 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36538 echo $ECHO_N "(cached) $ECHO_C" >&6
36539 else
36540 case $PKG_CONFIG in
36541 [\\/]* | ?:[\\/]*)
36542 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36543 ;;
36544 *)
36545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36546 for as_dir in $PATH
36547 do
36548 IFS=$as_save_IFS
36549 test -z "$as_dir" && as_dir=.
36550 for ac_exec_ext in '' $ac_executable_extensions; do
36551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36552 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36554 break 2
36555 fi
36556 done
36557 done
36558
36559 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
36560 ;;
36561 esac
36562 fi
36563 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36564
36565 if test -n "$PKG_CONFIG"; then
36566 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36567 echo "${ECHO_T}$PKG_CONFIG" >&6
36568 else
36569 echo "$as_me:$LINENO: result: no" >&5
36570 echo "${ECHO_T}no" >&6
36571 fi
36572
36573 fi
36574
36575 if test "$PKG_CONFIG" = "no" ; then
36576 echo "*** The pkg-config script could not be found. Make sure it is"
36577 echo "*** in your path, or set the PKG_CONFIG environment variable"
36578 echo "*** to the full path to pkg-config."
36579 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36580 else
36581 PKG_CONFIG_MIN_VERSION=0.9.0
36582 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36583 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36584 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36585
36586 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36587 echo "$as_me:$LINENO: result: yes" >&5
36588 echo "${ECHO_T}yes" >&6
36589 succeeded=yes
36590
36591 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36592 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36593 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36594 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36595 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36596
36597 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36598 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36599 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36600 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36601 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36602 else
36603 LIBGNOMEPRINTUI_CFLAGS=""
36604 LIBGNOMEPRINTUI_LIBS=""
36605 ## If we have a custom action on failure, don't print errors, but
36606 ## do set a variable so people can do so.
36607 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36608
36609 fi
36610
36611
36612
36613 else
36614 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36615 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36616 fi
36617 fi
36618
36619 if test $succeeded = yes; then
36620
36621 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36622 cat >>confdefs.h <<\_ACEOF
36623 #define wxUSE_LIBGNOMEPRINT 1
36624 _ACEOF
36625
36626
36627 else
36628
36629 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36630 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36631 wxUSE_LIBGNOMEPRINT="no"
36632
36633
36634 fi
36635
36636 fi
36637 fi
36638 fi
36639
36640
36641 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36642 cat >>confdefs.h <<\_ACEOF
36643 #define wxUSE_CMDLINE_PARSER 1
36644 _ACEOF
36645
36646 fi
36647
36648 if test "$wxUSE_STOPWATCH" = "yes"; then
36649 cat >>confdefs.h <<\_ACEOF
36650 #define wxUSE_STOPWATCH 1
36651 _ACEOF
36652
36653 fi
36654
36655 if test "$wxUSE_DATETIME" = "yes"; then
36656 cat >>confdefs.h <<\_ACEOF
36657 #define wxUSE_DATETIME 1
36658 _ACEOF
36659
36660 fi
36661
36662 if test "$wxUSE_FILE" = "yes"; then
36663 cat >>confdefs.h <<\_ACEOF
36664 #define wxUSE_FILE 1
36665 _ACEOF
36666
36667 fi
36668
36669 if test "$wxUSE_FFILE" = "yes"; then
36670 cat >>confdefs.h <<\_ACEOF
36671 #define wxUSE_FFILE 1
36672 _ACEOF
36673
36674 fi
36675
36676 if test "$wxUSE_FILESYSTEM" = "yes"; then
36677 cat >>confdefs.h <<\_ACEOF
36678 #define wxUSE_FILESYSTEM 1
36679 _ACEOF
36680
36681 fi
36682
36683 if test "$wxUSE_FS_ZIP" = "yes"; then
36684 cat >>confdefs.h <<\_ACEOF
36685 #define wxUSE_FS_ZIP 1
36686 _ACEOF
36687
36688 fi
36689
36690 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36691 cat >>confdefs.h <<\_ACEOF
36692 #define wxUSE_ARCHIVE_STREAMS 1
36693 _ACEOF
36694
36695 fi
36696
36697 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36698 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36699 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36700 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36701 elif test "$wxUSE_ZLIB" = "no"; then
36702 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36703 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36704 else
36705 cat >>confdefs.h <<\_ACEOF
36706 #define wxUSE_ZIPSTREAM 1
36707 _ACEOF
36708
36709 fi
36710 fi
36711
36712 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36713 cat >>confdefs.h <<\_ACEOF
36714 #define wxUSE_ON_FATAL_EXCEPTION 1
36715 _ACEOF
36716
36717 fi
36718
36719 if test "$wxUSE_STACKWALKER" = "yes"; then
36720 cat >>confdefs.h <<\_ACEOF
36721 #define wxUSE_STACKWALKER 1
36722 _ACEOF
36723
36724 fi
36725
36726 if test "$wxUSE_DEBUGREPORT" = "yes"; then
36727 if test "$USE_OS2" = "1"; then
36728 { echo "$as_me:$LINENO: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&5
36729 echo "$as_me: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&2;}
36730 wxUSE_DEBUGREPORT=no
36731 else
36732 cat >>confdefs.h <<\_ACEOF
36733 #define wxUSE_DEBUGREPORT 1
36734 _ACEOF
36735
36736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
36737 fi
36738 fi
36739
36740 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36741 cat >>confdefs.h <<\_ACEOF
36742 #define wxUSE_SNGLINST_CHECKER 1
36743 _ACEOF
36744
36745 fi
36746
36747 if test "$wxUSE_BUSYINFO" = "yes"; then
36748 cat >>confdefs.h <<\_ACEOF
36749 #define wxUSE_BUSYINFO 1
36750 _ACEOF
36751
36752 fi
36753
36754 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36755 cat >>confdefs.h <<\_ACEOF
36756 #define wxUSE_STD_IOSTREAM 1
36757 _ACEOF
36758
36759 fi
36760
36761 if test "$wxUSE_STD_STRING" = "yes"; then
36762 cat >>confdefs.h <<\_ACEOF
36763 #define wxUSE_STD_STRING 1
36764 _ACEOF
36765
36766 fi
36767
36768 if test "$wxUSE_STDPATHS" = "yes"; then
36769 cat >>confdefs.h <<\_ACEOF
36770 #define wxUSE_STDPATHS 1
36771 _ACEOF
36772
36773 fi
36774
36775 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36776 cat >>confdefs.h <<\_ACEOF
36777 #define wxUSE_TEXTBUFFER 1
36778 _ACEOF
36779
36780 fi
36781
36782 if test "$wxUSE_TEXTFILE" = "yes"; then
36783 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36784 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36785 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36786 else
36787 cat >>confdefs.h <<\_ACEOF
36788 #define wxUSE_TEXTFILE 1
36789 _ACEOF
36790
36791 fi
36792 fi
36793
36794 if test "$wxUSE_CONFIG" = "yes" ; then
36795 if test "$wxUSE_TEXTFILE" != "yes"; then
36796 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36797 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36798 else
36799 cat >>confdefs.h <<\_ACEOF
36800 #define wxUSE_CONFIG 1
36801 _ACEOF
36802
36803 cat >>confdefs.h <<\_ACEOF
36804 #define wxUSE_CONFIG_NATIVE 1
36805 _ACEOF
36806
36807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
36808 fi
36809 fi
36810
36811 if test "$wxUSE_INTL" = "yes" ; then
36812 if test "$wxUSE_FILE" != "yes"; then
36813 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36814 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36815 else
36816 cat >>confdefs.h <<\_ACEOF
36817 #define wxUSE_INTL 1
36818 _ACEOF
36819
36820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
36821 GUIDIST="$GUIDIST INTL_DIST"
36822 fi
36823 fi
36824
36825 if test "$wxUSE_LOG" = "yes"; then
36826 cat >>confdefs.h <<\_ACEOF
36827 #define wxUSE_LOG 1
36828 _ACEOF
36829
36830
36831 if test "$wxUSE_LOGGUI" = "yes"; then
36832 cat >>confdefs.h <<\_ACEOF
36833 #define wxUSE_LOGGUI 1
36834 _ACEOF
36835
36836 fi
36837
36838 if test "$wxUSE_LOGWINDOW" = "yes"; then
36839 cat >>confdefs.h <<\_ACEOF
36840 #define wxUSE_LOGWINDOW 1
36841 _ACEOF
36842
36843 fi
36844
36845 if test "$wxUSE_LOGDIALOG" = "yes"; then
36846 cat >>confdefs.h <<\_ACEOF
36847 #define wxUSE_LOG_DIALOG 1
36848 _ACEOF
36849
36850 fi
36851
36852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
36853 fi
36854
36855 if test "$wxUSE_LONGLONG" = "yes"; then
36856 cat >>confdefs.h <<\_ACEOF
36857 #define wxUSE_LONGLONG 1
36858 _ACEOF
36859
36860 fi
36861
36862 if test "$wxUSE_GEOMETRY" = "yes"; then
36863 cat >>confdefs.h <<\_ACEOF
36864 #define wxUSE_GEOMETRY 1
36865 _ACEOF
36866
36867 fi
36868
36869 if test "$wxUSE_STREAMS" = "yes" ; then
36870 cat >>confdefs.h <<\_ACEOF
36871 #define wxUSE_STREAMS 1
36872 _ACEOF
36873
36874 fi
36875
36876
36877 if test "$wxUSE_DATETIME" = "yes"; then
36878
36879 for ac_func in strptime
36880 do
36881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36882 echo "$as_me:$LINENO: checking for $ac_func" >&5
36883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36884 if eval "test \"\${$as_ac_var+set}\" = set"; then
36885 echo $ECHO_N "(cached) $ECHO_C" >&6
36886 else
36887 cat >conftest.$ac_ext <<_ACEOF
36888 /* confdefs.h. */
36889 _ACEOF
36890 cat confdefs.h >>conftest.$ac_ext
36891 cat >>conftest.$ac_ext <<_ACEOF
36892 /* end confdefs.h. */
36893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36895 #define $ac_func innocuous_$ac_func
36896
36897 /* System header to define __stub macros and hopefully few prototypes,
36898 which can conflict with char $ac_func (); below.
36899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36900 <limits.h> exists even on freestanding compilers. */
36901
36902 #ifdef __STDC__
36903 # include <limits.h>
36904 #else
36905 # include <assert.h>
36906 #endif
36907
36908 #undef $ac_func
36909
36910 /* Override any gcc2 internal prototype to avoid an error. */
36911 #ifdef __cplusplus
36912 extern "C"
36913 {
36914 #endif
36915 /* We use char because int might match the return type of a gcc2
36916 builtin and then its argument prototype would still apply. */
36917 char $ac_func ();
36918 /* The GNU C library defines this for functions which it implements
36919 to always fail with ENOSYS. Some functions are actually named
36920 something starting with __ and the normal name is an alias. */
36921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36922 choke me
36923 #else
36924 char (*f) () = $ac_func;
36925 #endif
36926 #ifdef __cplusplus
36927 }
36928 #endif
36929
36930 int
36931 main ()
36932 {
36933 return f != $ac_func;
36934 ;
36935 return 0;
36936 }
36937 _ACEOF
36938 rm -f conftest.$ac_objext conftest$ac_exeext
36939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36940 (eval $ac_link) 2>conftest.er1
36941 ac_status=$?
36942 grep -v '^ *+' conftest.er1 >conftest.err
36943 rm -f conftest.er1
36944 cat conftest.err >&5
36945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36946 (exit $ac_status); } &&
36947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36949 (eval $ac_try) 2>&5
36950 ac_status=$?
36951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36952 (exit $ac_status); }; } &&
36953 { ac_try='test -s conftest$ac_exeext'
36954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36955 (eval $ac_try) 2>&5
36956 ac_status=$?
36957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36958 (exit $ac_status); }; }; then
36959 eval "$as_ac_var=yes"
36960 else
36961 echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.$ac_ext >&5
36963
36964 eval "$as_ac_var=no"
36965 fi
36966 rm -f conftest.err conftest.$ac_objext \
36967 conftest$ac_exeext conftest.$ac_ext
36968 fi
36969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36971 if test `eval echo '${'$as_ac_var'}'` = yes; then
36972 cat >>confdefs.h <<_ACEOF
36973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36974 _ACEOF
36975
36976 fi
36977 done
36978
36979
36980 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36981 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36982 if test "${wx_cv_var_timezone+set}" = set; then
36983 echo $ECHO_N "(cached) $ECHO_C" >&6
36984 else
36985
36986 cat >conftest.$ac_ext <<_ACEOF
36987 /* confdefs.h. */
36988 _ACEOF
36989 cat confdefs.h >>conftest.$ac_ext
36990 cat >>conftest.$ac_ext <<_ACEOF
36991 /* end confdefs.h. */
36992
36993 #include <time.h>
36994
36995 int
36996 main ()
36997 {
36998
36999 int tz;
37000 tz = timezone;
37001
37002 ;
37003 return 0;
37004 }
37005 _ACEOF
37006 rm -f conftest.$ac_objext
37007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37008 (eval $ac_compile) 2>conftest.er1
37009 ac_status=$?
37010 grep -v '^ *+' conftest.er1 >conftest.err
37011 rm -f conftest.er1
37012 cat conftest.err >&5
37013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37014 (exit $ac_status); } &&
37015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37017 (eval $ac_try) 2>&5
37018 ac_status=$?
37019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37020 (exit $ac_status); }; } &&
37021 { ac_try='test -s conftest.$ac_objext'
37022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37023 (eval $ac_try) 2>&5
37024 ac_status=$?
37025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37026 (exit $ac_status); }; }; then
37027
37028 wx_cv_var_timezone=timezone
37029
37030 else
37031 echo "$as_me: failed program was:" >&5
37032 sed 's/^/| /' conftest.$ac_ext >&5
37033
37034
37035 cat >conftest.$ac_ext <<_ACEOF
37036 /* confdefs.h. */
37037 _ACEOF
37038 cat confdefs.h >>conftest.$ac_ext
37039 cat >>conftest.$ac_ext <<_ACEOF
37040 /* end confdefs.h. */
37041
37042 #include <time.h>
37043
37044 int
37045 main ()
37046 {
37047
37048 int tz;
37049 tz = _timezone;
37050
37051 ;
37052 return 0;
37053 }
37054 _ACEOF
37055 rm -f conftest.$ac_objext
37056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37057 (eval $ac_compile) 2>conftest.er1
37058 ac_status=$?
37059 grep -v '^ *+' conftest.er1 >conftest.err
37060 rm -f conftest.er1
37061 cat conftest.err >&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); } &&
37064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37066 (eval $ac_try) 2>&5
37067 ac_status=$?
37068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37069 (exit $ac_status); }; } &&
37070 { ac_try='test -s conftest.$ac_objext'
37071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37072 (eval $ac_try) 2>&5
37073 ac_status=$?
37074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37075 (exit $ac_status); }; }; then
37076
37077 wx_cv_var_timezone=_timezone
37078
37079 else
37080 echo "$as_me: failed program was:" >&5
37081 sed 's/^/| /' conftest.$ac_ext >&5
37082
37083
37084 cat >conftest.$ac_ext <<_ACEOF
37085 /* confdefs.h. */
37086 _ACEOF
37087 cat confdefs.h >>conftest.$ac_ext
37088 cat >>conftest.$ac_ext <<_ACEOF
37089 /* end confdefs.h. */
37090
37091 #include <time.h>
37092
37093 int
37094 main ()
37095 {
37096
37097 int tz;
37098 tz = __timezone;
37099
37100 ;
37101 return 0;
37102 }
37103 _ACEOF
37104 rm -f conftest.$ac_objext
37105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37106 (eval $ac_compile) 2>conftest.er1
37107 ac_status=$?
37108 grep -v '^ *+' conftest.er1 >conftest.err
37109 rm -f conftest.er1
37110 cat conftest.err >&5
37111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37112 (exit $ac_status); } &&
37113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37115 (eval $ac_try) 2>&5
37116 ac_status=$?
37117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37118 (exit $ac_status); }; } &&
37119 { ac_try='test -s conftest.$ac_objext'
37120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37121 (eval $ac_try) 2>&5
37122 ac_status=$?
37123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37124 (exit $ac_status); }; }; then
37125
37126 wx_cv_var_timezone=__timezone
37127
37128 else
37129 echo "$as_me: failed program was:" >&5
37130 sed 's/^/| /' conftest.$ac_ext >&5
37131
37132
37133 if test "$USE_DOS" = 0 ; then
37134 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37135 echo "$as_me: WARNING: no timezone variable" >&2;}
37136 fi
37137
37138
37139 fi
37140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37141
37142
37143 fi
37144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37145
37146
37147 fi
37148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37149
37150
37151 fi
37152 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37153 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37154
37155 if test "x$wx_cv_var_timezone" != x ; then
37156 cat >>confdefs.h <<_ACEOF
37157 #define WX_TIMEZONE $wx_cv_var_timezone
37158 _ACEOF
37159
37160 fi
37161
37162
37163 for ac_func in localtime
37164 do
37165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37166 echo "$as_me:$LINENO: checking for $ac_func" >&5
37167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37168 if eval "test \"\${$as_ac_var+set}\" = set"; then
37169 echo $ECHO_N "(cached) $ECHO_C" >&6
37170 else
37171 cat >conftest.$ac_ext <<_ACEOF
37172 /* confdefs.h. */
37173 _ACEOF
37174 cat confdefs.h >>conftest.$ac_ext
37175 cat >>conftest.$ac_ext <<_ACEOF
37176 /* end confdefs.h. */
37177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37179 #define $ac_func innocuous_$ac_func
37180
37181 /* System header to define __stub macros and hopefully few prototypes,
37182 which can conflict with char $ac_func (); below.
37183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37184 <limits.h> exists even on freestanding compilers. */
37185
37186 #ifdef __STDC__
37187 # include <limits.h>
37188 #else
37189 # include <assert.h>
37190 #endif
37191
37192 #undef $ac_func
37193
37194 /* Override any gcc2 internal prototype to avoid an error. */
37195 #ifdef __cplusplus
37196 extern "C"
37197 {
37198 #endif
37199 /* We use char because int might match the return type of a gcc2
37200 builtin and then its argument prototype would still apply. */
37201 char $ac_func ();
37202 /* The GNU C library defines this for functions which it implements
37203 to always fail with ENOSYS. Some functions are actually named
37204 something starting with __ and the normal name is an alias. */
37205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37206 choke me
37207 #else
37208 char (*f) () = $ac_func;
37209 #endif
37210 #ifdef __cplusplus
37211 }
37212 #endif
37213
37214 int
37215 main ()
37216 {
37217 return f != $ac_func;
37218 ;
37219 return 0;
37220 }
37221 _ACEOF
37222 rm -f conftest.$ac_objext conftest$ac_exeext
37223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37224 (eval $ac_link) 2>conftest.er1
37225 ac_status=$?
37226 grep -v '^ *+' conftest.er1 >conftest.err
37227 rm -f conftest.er1
37228 cat conftest.err >&5
37229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37230 (exit $ac_status); } &&
37231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37233 (eval $ac_try) 2>&5
37234 ac_status=$?
37235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37236 (exit $ac_status); }; } &&
37237 { ac_try='test -s conftest$ac_exeext'
37238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37239 (eval $ac_try) 2>&5
37240 ac_status=$?
37241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37242 (exit $ac_status); }; }; then
37243 eval "$as_ac_var=yes"
37244 else
37245 echo "$as_me: failed program was:" >&5
37246 sed 's/^/| /' conftest.$ac_ext >&5
37247
37248 eval "$as_ac_var=no"
37249 fi
37250 rm -f conftest.err conftest.$ac_objext \
37251 conftest$ac_exeext conftest.$ac_ext
37252 fi
37253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37255 if test `eval echo '${'$as_ac_var'}'` = yes; then
37256 cat >>confdefs.h <<_ACEOF
37257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37258 _ACEOF
37259
37260 fi
37261 done
37262
37263
37264 if test "$ac_cv_func_localtime" = "yes"; then
37265 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37266 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37267 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37268 echo $ECHO_N "(cached) $ECHO_C" >&6
37269 else
37270
37271 cat >conftest.$ac_ext <<_ACEOF
37272 /* confdefs.h. */
37273 _ACEOF
37274 cat confdefs.h >>conftest.$ac_ext
37275 cat >>conftest.$ac_ext <<_ACEOF
37276 /* end confdefs.h. */
37277
37278 #include <time.h>
37279
37280 int
37281 main ()
37282 {
37283
37284 struct tm tm;
37285 tm.tm_gmtoff++;
37286
37287 ;
37288 return 0;
37289 }
37290 _ACEOF
37291 rm -f conftest.$ac_objext
37292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37293 (eval $ac_compile) 2>conftest.er1
37294 ac_status=$?
37295 grep -v '^ *+' conftest.er1 >conftest.err
37296 rm -f conftest.er1
37297 cat conftest.err >&5
37298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37299 (exit $ac_status); } &&
37300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37302 (eval $ac_try) 2>&5
37303 ac_status=$?
37304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37305 (exit $ac_status); }; } &&
37306 { ac_try='test -s conftest.$ac_objext'
37307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37308 (eval $ac_try) 2>&5
37309 ac_status=$?
37310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37311 (exit $ac_status); }; }; then
37312
37313 wx_cv_struct_tm_has_gmtoff=yes
37314
37315 else
37316 echo "$as_me: failed program was:" >&5
37317 sed 's/^/| /' conftest.$ac_ext >&5
37318
37319 wx_cv_struct_tm_has_gmtoff=no
37320
37321 fi
37322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37323
37324 fi
37325 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37326 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37327 fi
37328
37329 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37330 cat >>confdefs.h <<\_ACEOF
37331 #define WX_GMTOFF_IN_TM 1
37332 _ACEOF
37333
37334 fi
37335
37336
37337
37338 for ac_func in gettimeofday ftime
37339 do
37340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37341 echo "$as_me:$LINENO: checking for $ac_func" >&5
37342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37343 if eval "test \"\${$as_ac_var+set}\" = set"; then
37344 echo $ECHO_N "(cached) $ECHO_C" >&6
37345 else
37346 cat >conftest.$ac_ext <<_ACEOF
37347 /* confdefs.h. */
37348 _ACEOF
37349 cat confdefs.h >>conftest.$ac_ext
37350 cat >>conftest.$ac_ext <<_ACEOF
37351 /* end confdefs.h. */
37352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37354 #define $ac_func innocuous_$ac_func
37355
37356 /* System header to define __stub macros and hopefully few prototypes,
37357 which can conflict with char $ac_func (); below.
37358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37359 <limits.h> exists even on freestanding compilers. */
37360
37361 #ifdef __STDC__
37362 # include <limits.h>
37363 #else
37364 # include <assert.h>
37365 #endif
37366
37367 #undef $ac_func
37368
37369 /* Override any gcc2 internal prototype to avoid an error. */
37370 #ifdef __cplusplus
37371 extern "C"
37372 {
37373 #endif
37374 /* We use char because int might match the return type of a gcc2
37375 builtin and then its argument prototype would still apply. */
37376 char $ac_func ();
37377 /* The GNU C library defines this for functions which it implements
37378 to always fail with ENOSYS. Some functions are actually named
37379 something starting with __ and the normal name is an alias. */
37380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37381 choke me
37382 #else
37383 char (*f) () = $ac_func;
37384 #endif
37385 #ifdef __cplusplus
37386 }
37387 #endif
37388
37389 int
37390 main ()
37391 {
37392 return f != $ac_func;
37393 ;
37394 return 0;
37395 }
37396 _ACEOF
37397 rm -f conftest.$ac_objext conftest$ac_exeext
37398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37399 (eval $ac_link) 2>conftest.er1
37400 ac_status=$?
37401 grep -v '^ *+' conftest.er1 >conftest.err
37402 rm -f conftest.er1
37403 cat conftest.err >&5
37404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37405 (exit $ac_status); } &&
37406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37408 (eval $ac_try) 2>&5
37409 ac_status=$?
37410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37411 (exit $ac_status); }; } &&
37412 { ac_try='test -s conftest$ac_exeext'
37413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37414 (eval $ac_try) 2>&5
37415 ac_status=$?
37416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37417 (exit $ac_status); }; }; then
37418 eval "$as_ac_var=yes"
37419 else
37420 echo "$as_me: failed program was:" >&5
37421 sed 's/^/| /' conftest.$ac_ext >&5
37422
37423 eval "$as_ac_var=no"
37424 fi
37425 rm -f conftest.err conftest.$ac_objext \
37426 conftest$ac_exeext conftest.$ac_ext
37427 fi
37428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37430 if test `eval echo '${'$as_ac_var'}'` = yes; then
37431 cat >>confdefs.h <<_ACEOF
37432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37433 _ACEOF
37434 break
37435 fi
37436 done
37437
37438
37439 if test "$ac_cv_func_gettimeofday" = "yes"; then
37440 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37441 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37442 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37443 echo $ECHO_N "(cached) $ECHO_C" >&6
37444 else
37445
37446
37447
37448 ac_ext=cc
37449 ac_cpp='$CXXCPP $CPPFLAGS'
37450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37453
37454
37455 cat >conftest.$ac_ext <<_ACEOF
37456 /* confdefs.h. */
37457 _ACEOF
37458 cat confdefs.h >>conftest.$ac_ext
37459 cat >>conftest.$ac_ext <<_ACEOF
37460 /* end confdefs.h. */
37461
37462 #include <sys/time.h>
37463 #include <unistd.h>
37464
37465 int
37466 main ()
37467 {
37468
37469 struct timeval tv;
37470 gettimeofday(&tv, NULL);
37471
37472 ;
37473 return 0;
37474 }
37475 _ACEOF
37476 rm -f conftest.$ac_objext
37477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37478 (eval $ac_compile) 2>conftest.er1
37479 ac_status=$?
37480 grep -v '^ *+' conftest.er1 >conftest.err
37481 rm -f conftest.er1
37482 cat conftest.err >&5
37483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37484 (exit $ac_status); } &&
37485 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37487 (eval $ac_try) 2>&5
37488 ac_status=$?
37489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37490 (exit $ac_status); }; } &&
37491 { ac_try='test -s conftest.$ac_objext'
37492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37493 (eval $ac_try) 2>&5
37494 ac_status=$?
37495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37496 (exit $ac_status); }; }; then
37497 wx_cv_func_gettimeofday_has_2_args=yes
37498 else
37499 echo "$as_me: failed program was:" >&5
37500 sed 's/^/| /' conftest.$ac_ext >&5
37501
37502 cat >conftest.$ac_ext <<_ACEOF
37503 /* confdefs.h. */
37504 _ACEOF
37505 cat confdefs.h >>conftest.$ac_ext
37506 cat >>conftest.$ac_ext <<_ACEOF
37507 /* end confdefs.h. */
37508
37509 #include <sys/time.h>
37510 #include <unistd.h>
37511
37512 int
37513 main ()
37514 {
37515
37516 struct timeval tv;
37517 gettimeofday(&tv);
37518
37519 ;
37520 return 0;
37521 }
37522 _ACEOF
37523 rm -f conftest.$ac_objext
37524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37525 (eval $ac_compile) 2>conftest.er1
37526 ac_status=$?
37527 grep -v '^ *+' conftest.er1 >conftest.err
37528 rm -f conftest.er1
37529 cat conftest.err >&5
37530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37531 (exit $ac_status); } &&
37532 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37534 (eval $ac_try) 2>&5
37535 ac_status=$?
37536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37537 (exit $ac_status); }; } &&
37538 { ac_try='test -s conftest.$ac_objext'
37539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37540 (eval $ac_try) 2>&5
37541 ac_status=$?
37542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37543 (exit $ac_status); }; }; then
37544 wx_cv_func_gettimeofday_has_2_args=no
37545 else
37546 echo "$as_me: failed program was:" >&5
37547 sed 's/^/| /' conftest.$ac_ext >&5
37548
37549
37550 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37551 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37552 wx_cv_func_gettimeofday_has_2_args=unknown
37553
37554
37555 fi
37556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37557
37558 fi
37559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37560 ac_ext=c
37561 ac_cpp='$CPP $CPPFLAGS'
37562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37565
37566
37567 fi
37568 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37569 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37570
37571 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37572 cat >>confdefs.h <<\_ACEOF
37573 #define WX_GETTIMEOFDAY_NO_TZ 1
37574 _ACEOF
37575
37576 fi
37577 fi
37578
37579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
37580 fi
37581
37582
37583 if test "$wxUSE_SOCKETS" = "yes"; then
37584 if test "$wxUSE_MGL" = "1"; then
37585 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37586 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37587 wxUSE_SOCKETS="no"
37588 fi
37589 fi
37590
37591 if test "$wxUSE_SOCKETS" = "yes"; then
37592 if test "$TOOLKIT" != "MSW"; then
37593 echo "$as_me:$LINENO: checking for socket" >&5
37594 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37595 if test "${ac_cv_func_socket+set}" = set; then
37596 echo $ECHO_N "(cached) $ECHO_C" >&6
37597 else
37598 cat >conftest.$ac_ext <<_ACEOF
37599 /* confdefs.h. */
37600 _ACEOF
37601 cat confdefs.h >>conftest.$ac_ext
37602 cat >>conftest.$ac_ext <<_ACEOF
37603 /* end confdefs.h. */
37604 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37606 #define socket innocuous_socket
37607
37608 /* System header to define __stub macros and hopefully few prototypes,
37609 which can conflict with char socket (); below.
37610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37611 <limits.h> exists even on freestanding compilers. */
37612
37613 #ifdef __STDC__
37614 # include <limits.h>
37615 #else
37616 # include <assert.h>
37617 #endif
37618
37619 #undef socket
37620
37621 /* Override any gcc2 internal prototype to avoid an error. */
37622 #ifdef __cplusplus
37623 extern "C"
37624 {
37625 #endif
37626 /* We use char because int might match the return type of a gcc2
37627 builtin and then its argument prototype would still apply. */
37628 char socket ();
37629 /* The GNU C library defines this for functions which it implements
37630 to always fail with ENOSYS. Some functions are actually named
37631 something starting with __ and the normal name is an alias. */
37632 #if defined (__stub_socket) || defined (__stub___socket)
37633 choke me
37634 #else
37635 char (*f) () = socket;
37636 #endif
37637 #ifdef __cplusplus
37638 }
37639 #endif
37640
37641 int
37642 main ()
37643 {
37644 return f != socket;
37645 ;
37646 return 0;
37647 }
37648 _ACEOF
37649 rm -f conftest.$ac_objext conftest$ac_exeext
37650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37651 (eval $ac_link) 2>conftest.er1
37652 ac_status=$?
37653 grep -v '^ *+' conftest.er1 >conftest.err
37654 rm -f conftest.er1
37655 cat conftest.err >&5
37656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37657 (exit $ac_status); } &&
37658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37660 (eval $ac_try) 2>&5
37661 ac_status=$?
37662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37663 (exit $ac_status); }; } &&
37664 { ac_try='test -s conftest$ac_exeext'
37665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37666 (eval $ac_try) 2>&5
37667 ac_status=$?
37668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37669 (exit $ac_status); }; }; then
37670 ac_cv_func_socket=yes
37671 else
37672 echo "$as_me: failed program was:" >&5
37673 sed 's/^/| /' conftest.$ac_ext >&5
37674
37675 ac_cv_func_socket=no
37676 fi
37677 rm -f conftest.err conftest.$ac_objext \
37678 conftest$ac_exeext conftest.$ac_ext
37679 fi
37680 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37681 echo "${ECHO_T}$ac_cv_func_socket" >&6
37682 if test $ac_cv_func_socket = yes; then
37683 :
37684 else
37685
37686 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37687 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37688 if test "${ac_cv_lib_socket_socket+set}" = set; then
37689 echo $ECHO_N "(cached) $ECHO_C" >&6
37690 else
37691 ac_check_lib_save_LIBS=$LIBS
37692 LIBS="-lsocket $LIBS"
37693 cat >conftest.$ac_ext <<_ACEOF
37694 /* confdefs.h. */
37695 _ACEOF
37696 cat confdefs.h >>conftest.$ac_ext
37697 cat >>conftest.$ac_ext <<_ACEOF
37698 /* end confdefs.h. */
37699
37700 /* Override any gcc2 internal prototype to avoid an error. */
37701 #ifdef __cplusplus
37702 extern "C"
37703 #endif
37704 /* We use char because int might match the return type of a gcc2
37705 builtin and then its argument prototype would still apply. */
37706 char socket ();
37707 int
37708 main ()
37709 {
37710 socket ();
37711 ;
37712 return 0;
37713 }
37714 _ACEOF
37715 rm -f conftest.$ac_objext conftest$ac_exeext
37716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37717 (eval $ac_link) 2>conftest.er1
37718 ac_status=$?
37719 grep -v '^ *+' conftest.er1 >conftest.err
37720 rm -f conftest.er1
37721 cat conftest.err >&5
37722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37723 (exit $ac_status); } &&
37724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37726 (eval $ac_try) 2>&5
37727 ac_status=$?
37728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729 (exit $ac_status); }; } &&
37730 { ac_try='test -s conftest$ac_exeext'
37731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37732 (eval $ac_try) 2>&5
37733 ac_status=$?
37734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37735 (exit $ac_status); }; }; then
37736 ac_cv_lib_socket_socket=yes
37737 else
37738 echo "$as_me: failed program was:" >&5
37739 sed 's/^/| /' conftest.$ac_ext >&5
37740
37741 ac_cv_lib_socket_socket=no
37742 fi
37743 rm -f conftest.err conftest.$ac_objext \
37744 conftest$ac_exeext conftest.$ac_ext
37745 LIBS=$ac_check_lib_save_LIBS
37746 fi
37747 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37748 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37749 if test $ac_cv_lib_socket_socket = yes; then
37750 if test "$INET_LINK" != " -lsocket"; then
37751 INET_LINK="$INET_LINK -lsocket"
37752 fi
37753 else
37754
37755 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37756 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37757 wxUSE_SOCKETS=no
37758
37759
37760 fi
37761
37762
37763
37764 fi
37765
37766 fi
37767 fi
37768
37769 if test "$wxUSE_SOCKETS" = "yes" ; then
37770 if test "$TOOLKIT" != "MSW"; then
37771 ac_ext=cc
37772 ac_cpp='$CXXCPP $CPPFLAGS'
37773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37776
37777 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37778 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37779 if test "${wx_cv_type_getsockname3+set}" = set; then
37780 echo $ECHO_N "(cached) $ECHO_C" >&6
37781 else
37782
37783 cat >conftest.$ac_ext <<_ACEOF
37784 /* confdefs.h. */
37785 _ACEOF
37786 cat confdefs.h >>conftest.$ac_ext
37787 cat >>conftest.$ac_ext <<_ACEOF
37788 /* end confdefs.h. */
37789
37790 #include <sys/types.h>
37791 #include <sys/socket.h>
37792
37793 int
37794 main ()
37795 {
37796
37797 socklen_t len;
37798 getsockname(0, 0, &len);
37799
37800 ;
37801 return 0;
37802 }
37803 _ACEOF
37804 rm -f conftest.$ac_objext
37805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37806 (eval $ac_compile) 2>conftest.er1
37807 ac_status=$?
37808 grep -v '^ *+' conftest.er1 >conftest.err
37809 rm -f conftest.er1
37810 cat conftest.err >&5
37811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37812 (exit $ac_status); } &&
37813 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37815 (eval $ac_try) 2>&5
37816 ac_status=$?
37817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37818 (exit $ac_status); }; } &&
37819 { ac_try='test -s conftest.$ac_objext'
37820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37821 (eval $ac_try) 2>&5
37822 ac_status=$?
37823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37824 (exit $ac_status); }; }; then
37825 wx_cv_type_getsockname3=socklen_t
37826 else
37827 echo "$as_me: failed program was:" >&5
37828 sed 's/^/| /' conftest.$ac_ext >&5
37829
37830
37831 CFLAGS_OLD="$CFLAGS"
37832 if test "$GCC" = yes ; then
37833 CFLAGS="$CFLAGS -Werror"
37834 fi
37835
37836 cat >conftest.$ac_ext <<_ACEOF
37837 /* confdefs.h. */
37838 _ACEOF
37839 cat confdefs.h >>conftest.$ac_ext
37840 cat >>conftest.$ac_ext <<_ACEOF
37841 /* end confdefs.h. */
37842
37843 #include <sys/types.h>
37844 #include <sys/socket.h>
37845
37846 int
37847 main ()
37848 {
37849
37850 size_t len;
37851 getsockname(0, 0, &len);
37852
37853 ;
37854 return 0;
37855 }
37856 _ACEOF
37857 rm -f conftest.$ac_objext
37858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37859 (eval $ac_compile) 2>conftest.er1
37860 ac_status=$?
37861 grep -v '^ *+' conftest.er1 >conftest.err
37862 rm -f conftest.er1
37863 cat conftest.err >&5
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); } &&
37866 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37868 (eval $ac_try) 2>&5
37869 ac_status=$?
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); }; } &&
37872 { ac_try='test -s conftest.$ac_objext'
37873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37874 (eval $ac_try) 2>&5
37875 ac_status=$?
37876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37877 (exit $ac_status); }; }; then
37878 wx_cv_type_getsockname3=size_t
37879 else
37880 echo "$as_me: failed program was:" >&5
37881 sed 's/^/| /' conftest.$ac_ext >&5
37882
37883 cat >conftest.$ac_ext <<_ACEOF
37884 /* confdefs.h. */
37885 _ACEOF
37886 cat confdefs.h >>conftest.$ac_ext
37887 cat >>conftest.$ac_ext <<_ACEOF
37888 /* end confdefs.h. */
37889
37890 #include <sys/types.h>
37891 #include <sys/socket.h>
37892
37893 int
37894 main ()
37895 {
37896
37897 int len;
37898 getsockname(0, 0, &len);
37899
37900 ;
37901 return 0;
37902 }
37903 _ACEOF
37904 rm -f conftest.$ac_objext
37905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37906 (eval $ac_compile) 2>conftest.er1
37907 ac_status=$?
37908 grep -v '^ *+' conftest.er1 >conftest.err
37909 rm -f conftest.er1
37910 cat conftest.err >&5
37911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37912 (exit $ac_status); } &&
37913 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37915 (eval $ac_try) 2>&5
37916 ac_status=$?
37917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37918 (exit $ac_status); }; } &&
37919 { ac_try='test -s conftest.$ac_objext'
37920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37921 (eval $ac_try) 2>&5
37922 ac_status=$?
37923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924 (exit $ac_status); }; }; then
37925 wx_cv_type_getsockname3=int
37926 else
37927 echo "$as_me: failed program was:" >&5
37928 sed 's/^/| /' conftest.$ac_ext >&5
37929
37930 wx_cv_type_getsockname3=unknown
37931
37932 fi
37933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37934
37935 fi
37936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37937
37938 CFLAGS="$CFLAGS_OLD"
37939
37940
37941 fi
37942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37943
37944 fi
37945 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37946 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37947
37948 if test "$wx_cv_type_getsockname3" = "unknown"; then
37949 wxUSE_SOCKETS=no
37950 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37951 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37952 else
37953 cat >>confdefs.h <<_ACEOF
37954 #define SOCKLEN_T $wx_cv_type_getsockname3
37955 _ACEOF
37956
37957 fi
37958 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37959 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37960 if test "${wx_cv_type_getsockopt5+set}" = set; then
37961 echo $ECHO_N "(cached) $ECHO_C" >&6
37962 else
37963
37964 cat >conftest.$ac_ext <<_ACEOF
37965 /* confdefs.h. */
37966 _ACEOF
37967 cat confdefs.h >>conftest.$ac_ext
37968 cat >>conftest.$ac_ext <<_ACEOF
37969 /* end confdefs.h. */
37970
37971 #include <sys/types.h>
37972 #include <sys/socket.h>
37973
37974 int
37975 main ()
37976 {
37977
37978 socklen_t len;
37979 getsockopt(0, 0, 0, 0, &len);
37980
37981 ;
37982 return 0;
37983 }
37984 _ACEOF
37985 rm -f conftest.$ac_objext
37986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37987 (eval $ac_compile) 2>conftest.er1
37988 ac_status=$?
37989 grep -v '^ *+' conftest.er1 >conftest.err
37990 rm -f conftest.er1
37991 cat conftest.err >&5
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); } &&
37994 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37996 (eval $ac_try) 2>&5
37997 ac_status=$?
37998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37999 (exit $ac_status); }; } &&
38000 { ac_try='test -s conftest.$ac_objext'
38001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38002 (eval $ac_try) 2>&5
38003 ac_status=$?
38004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38005 (exit $ac_status); }; }; then
38006 wx_cv_type_getsockopt5=socklen_t
38007 else
38008 echo "$as_me: failed program was:" >&5
38009 sed 's/^/| /' conftest.$ac_ext >&5
38010
38011
38012 CFLAGS_OLD="$CFLAGS"
38013 if test "$GCC" = yes ; then
38014 CFLAGS="$CFLAGS -Werror"
38015 fi
38016
38017 cat >conftest.$ac_ext <<_ACEOF
38018 /* confdefs.h. */
38019 _ACEOF
38020 cat confdefs.h >>conftest.$ac_ext
38021 cat >>conftest.$ac_ext <<_ACEOF
38022 /* end confdefs.h. */
38023
38024 #include <sys/types.h>
38025 #include <sys/socket.h>
38026
38027 int
38028 main ()
38029 {
38030
38031 size_t len;
38032 getsockopt(0, 0, 0, 0, &len);
38033
38034 ;
38035 return 0;
38036 }
38037 _ACEOF
38038 rm -f conftest.$ac_objext
38039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38040 (eval $ac_compile) 2>conftest.er1
38041 ac_status=$?
38042 grep -v '^ *+' conftest.er1 >conftest.err
38043 rm -f conftest.er1
38044 cat conftest.err >&5
38045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046 (exit $ac_status); } &&
38047 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38049 (eval $ac_try) 2>&5
38050 ac_status=$?
38051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); }; } &&
38053 { ac_try='test -s conftest.$ac_objext'
38054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38055 (eval $ac_try) 2>&5
38056 ac_status=$?
38057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38058 (exit $ac_status); }; }; then
38059 wx_cv_type_getsockopt5=size_t
38060 else
38061 echo "$as_me: failed program was:" >&5
38062 sed 's/^/| /' conftest.$ac_ext >&5
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 <sys/types.h>
38072 #include <sys/socket.h>
38073
38074 int
38075 main ()
38076 {
38077
38078 int len;
38079 getsockopt(0, 0, 0, 0, &len);
38080
38081 ;
38082 return 0;
38083 }
38084 _ACEOF
38085 rm -f conftest.$ac_objext
38086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38087 (eval $ac_compile) 2>conftest.er1
38088 ac_status=$?
38089 grep -v '^ *+' conftest.er1 >conftest.err
38090 rm -f conftest.er1
38091 cat conftest.err >&5
38092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38093 (exit $ac_status); } &&
38094 { ac_try='test -z "$ac_cxx_werror_flag" || 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 wx_cv_type_getsockopt5=int
38107 else
38108 echo "$as_me: failed program was:" >&5
38109 sed 's/^/| /' conftest.$ac_ext >&5
38110
38111 wx_cv_type_getsockopt5=unknown
38112
38113 fi
38114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38115
38116 fi
38117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38118
38119 CFLAGS="$CFLAGS_OLD"
38120
38121
38122 fi
38123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38124
38125 fi
38126 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38127 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38128
38129 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38130 wxUSE_SOCKETS=no
38131 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38132 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38133 else
38134 cat >>confdefs.h <<_ACEOF
38135 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38136 _ACEOF
38137
38138 fi
38139 ac_ext=c
38140 ac_cpp='$CPP $CPPFLAGS'
38141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38144
38145 fi
38146 fi
38147
38148 if test "$wxUSE_SOCKETS" = "yes" ; then
38149 cat >>confdefs.h <<\_ACEOF
38150 #define wxUSE_SOCKETS 1
38151 _ACEOF
38152
38153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
38154 fi
38155
38156 if test "$wxUSE_PROTOCOL" = "yes"; then
38157 if test "$wxUSE_SOCKETS" != "yes"; then
38158 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
38159 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
38160 wxUSE_PROTOCOL=no
38161 fi
38162 fi
38163
38164 if test "$wxUSE_PROTOCOL" = "yes"; then
38165 cat >>confdefs.h <<\_ACEOF
38166 #define wxUSE_PROTOCOL 1
38167 _ACEOF
38168
38169
38170 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
38171 cat >>confdefs.h <<\_ACEOF
38172 #define wxUSE_PROTOCOL_HTTP 1
38173 _ACEOF
38174
38175 fi
38176 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
38177 cat >>confdefs.h <<\_ACEOF
38178 #define wxUSE_PROTOCOL_FTP 1
38179 _ACEOF
38180
38181 fi
38182 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
38183 cat >>confdefs.h <<\_ACEOF
38184 #define wxUSE_PROTOCOL_FILE 1
38185 _ACEOF
38186
38187 fi
38188 else
38189 if test "$wxUSE_FS_INET" = "yes"; then
38190 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
38191 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
38192 wxUSE_FS_INET="no"
38193 fi
38194 fi
38195
38196 if test "$wxUSE_URL" = "yes"; then
38197 if test "$wxUSE_PROTOCOL" != "yes"; then
38198 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
38199 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
38200 wxUSE_URL=no
38201 fi
38202 if test "$wxUSE_URL" = "yes"; then
38203 cat >>confdefs.h <<\_ACEOF
38204 #define wxUSE_URL 1
38205 _ACEOF
38206
38207 fi
38208 fi
38209
38210 if test "$wxUSE_FS_INET" = "yes"; then
38211 cat >>confdefs.h <<\_ACEOF
38212 #define wxUSE_FS_INET 1
38213 _ACEOF
38214
38215 fi
38216
38217
38218 if test "$wxUSE_GUI" = "yes"; then
38219 if test "$wxUSE_JOYSTICK" = "yes"; then
38220
38221 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
38222
38223 for ac_header in linux/joystick.h
38224 do
38225 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38227 echo "$as_me:$LINENO: checking for $ac_header" >&5
38228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38230 echo $ECHO_N "(cached) $ECHO_C" >&6
38231 fi
38232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38234 else
38235 # Is the header compilable?
38236 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38237 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38238 cat >conftest.$ac_ext <<_ACEOF
38239 /* confdefs.h. */
38240 _ACEOF
38241 cat confdefs.h >>conftest.$ac_ext
38242 cat >>conftest.$ac_ext <<_ACEOF
38243 /* end confdefs.h. */
38244 $ac_includes_default
38245 #include <$ac_header>
38246 _ACEOF
38247 rm -f conftest.$ac_objext
38248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38249 (eval $ac_compile) 2>conftest.er1
38250 ac_status=$?
38251 grep -v '^ *+' conftest.er1 >conftest.err
38252 rm -f conftest.er1
38253 cat conftest.err >&5
38254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38255 (exit $ac_status); } &&
38256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38258 (eval $ac_try) 2>&5
38259 ac_status=$?
38260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38261 (exit $ac_status); }; } &&
38262 { ac_try='test -s conftest.$ac_objext'
38263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38264 (eval $ac_try) 2>&5
38265 ac_status=$?
38266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38267 (exit $ac_status); }; }; then
38268 ac_header_compiler=yes
38269 else
38270 echo "$as_me: failed program was:" >&5
38271 sed 's/^/| /' conftest.$ac_ext >&5
38272
38273 ac_header_compiler=no
38274 fi
38275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38277 echo "${ECHO_T}$ac_header_compiler" >&6
38278
38279 # Is the header present?
38280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38282 cat >conftest.$ac_ext <<_ACEOF
38283 /* confdefs.h. */
38284 _ACEOF
38285 cat confdefs.h >>conftest.$ac_ext
38286 cat >>conftest.$ac_ext <<_ACEOF
38287 /* end confdefs.h. */
38288 #include <$ac_header>
38289 _ACEOF
38290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38292 ac_status=$?
38293 grep -v '^ *+' conftest.er1 >conftest.err
38294 rm -f conftest.er1
38295 cat conftest.err >&5
38296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38297 (exit $ac_status); } >/dev/null; then
38298 if test -s conftest.err; then
38299 ac_cpp_err=$ac_c_preproc_warn_flag
38300 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38301 else
38302 ac_cpp_err=
38303 fi
38304 else
38305 ac_cpp_err=yes
38306 fi
38307 if test -z "$ac_cpp_err"; then
38308 ac_header_preproc=yes
38309 else
38310 echo "$as_me: failed program was:" >&5
38311 sed 's/^/| /' conftest.$ac_ext >&5
38312
38313 ac_header_preproc=no
38314 fi
38315 rm -f conftest.err conftest.$ac_ext
38316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38317 echo "${ECHO_T}$ac_header_preproc" >&6
38318
38319 # So? What about this header?
38320 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38321 yes:no: )
38322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38326 ac_header_preproc=yes
38327 ;;
38328 no:yes:* )
38329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38333 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38335 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38336 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38339 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38341 (
38342 cat <<\_ASBOX
38343 ## ----------------------------------------- ##
38344 ## Report this to wx-dev@lists.wxwidgets.org ##
38345 ## ----------------------------------------- ##
38346 _ASBOX
38347 ) |
38348 sed "s/^/$as_me: WARNING: /" >&2
38349 ;;
38350 esac
38351 echo "$as_me:$LINENO: checking for $ac_header" >&5
38352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38354 echo $ECHO_N "(cached) $ECHO_C" >&6
38355 else
38356 eval "$as_ac_Header=\$ac_header_preproc"
38357 fi
38358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38360
38361 fi
38362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38363 cat >>confdefs.h <<_ACEOF
38364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38365 _ACEOF
38366
38367 fi
38368
38369 done
38370
38371 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
38372 wxUSE_JOYSTICK=no
38373 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38374 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38375 fi
38376 else
38377 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
38378 wxUSE_JOYSTICK=no
38379 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38380 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38381 fi
38382 fi
38383
38384
38385 if test "$wxUSE_JOYSTICK" = "yes"; then
38386 cat >>confdefs.h <<\_ACEOF
38387 #define wxUSE_JOYSTICK 1
38388 _ACEOF
38389
38390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
38391 fi
38392 fi
38393 fi
38394
38395
38396
38397 if test "$wxUSE_FONTMAP" = "yes" ; then
38398 cat >>confdefs.h <<\_ACEOF
38399 #define wxUSE_FONTMAP 1
38400 _ACEOF
38401
38402 fi
38403
38404 if test "$wxUSE_UNICODE" = "yes" ; then
38405 cat >>confdefs.h <<\_ACEOF
38406 #define wxUSE_UNICODE 1
38407 _ACEOF
38408
38409
38410 if test "$USE_WIN32" != 1; then
38411 wxUSE_UNICODE_MSLU=no
38412 fi
38413
38414 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38415 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38416 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38417 if test "${ac_cv_lib_unicows_main+set}" = set; then
38418 echo $ECHO_N "(cached) $ECHO_C" >&6
38419 else
38420 ac_check_lib_save_LIBS=$LIBS
38421 LIBS="-lunicows $LIBS"
38422 cat >conftest.$ac_ext <<_ACEOF
38423 /* confdefs.h. */
38424 _ACEOF
38425 cat confdefs.h >>conftest.$ac_ext
38426 cat >>conftest.$ac_ext <<_ACEOF
38427 /* end confdefs.h. */
38428
38429
38430 int
38431 main ()
38432 {
38433 main ();
38434 ;
38435 return 0;
38436 }
38437 _ACEOF
38438 rm -f conftest.$ac_objext conftest$ac_exeext
38439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38440 (eval $ac_link) 2>conftest.er1
38441 ac_status=$?
38442 grep -v '^ *+' conftest.er1 >conftest.err
38443 rm -f conftest.er1
38444 cat conftest.err >&5
38445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38446 (exit $ac_status); } &&
38447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38449 (eval $ac_try) 2>&5
38450 ac_status=$?
38451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38452 (exit $ac_status); }; } &&
38453 { ac_try='test -s conftest$ac_exeext'
38454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38455 (eval $ac_try) 2>&5
38456 ac_status=$?
38457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38458 (exit $ac_status); }; }; then
38459 ac_cv_lib_unicows_main=yes
38460 else
38461 echo "$as_me: failed program was:" >&5
38462 sed 's/^/| /' conftest.$ac_ext >&5
38463
38464 ac_cv_lib_unicows_main=no
38465 fi
38466 rm -f conftest.err conftest.$ac_objext \
38467 conftest$ac_exeext conftest.$ac_ext
38468 LIBS=$ac_check_lib_save_LIBS
38469 fi
38470 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38471 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38472 if test $ac_cv_lib_unicows_main = yes; then
38473
38474 cat >>confdefs.h <<\_ACEOF
38475 #define wxUSE_UNICODE_MSLU 1
38476 _ACEOF
38477
38478
38479 else
38480
38481 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38482 Applications will only run on Windows NT/2000/XP!" >&5
38483 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38484 Applications will only run on Windows NT/2000/XP!" >&2;}
38485 wxUSE_UNICODE_MSLU=no
38486
38487 fi
38488
38489 fi
38490 fi
38491
38492 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38493 cat >>confdefs.h <<\_ACEOF
38494 #define wxUSE_EXPERIMENTAL_PRINTF 1
38495 _ACEOF
38496
38497 fi
38498
38499
38500 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38501 cat >>confdefs.h <<\_ACEOF
38502 #define wxUSE_POSTSCRIPT 1
38503 _ACEOF
38504
38505 fi
38506
38507 cat >>confdefs.h <<\_ACEOF
38508 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38509 _ACEOF
38510
38511
38512 cat >>confdefs.h <<\_ACEOF
38513 #define wxUSE_NORMALIZED_PS_FONTS 1
38514 _ACEOF
38515
38516
38517
38518 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38519 cat >>confdefs.h <<\_ACEOF
38520 #define wxUSE_CONSTRAINTS 1
38521 _ACEOF
38522
38523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
38524 fi
38525
38526 if test "$wxUSE_MDI" = "yes"; then
38527 cat >>confdefs.h <<\_ACEOF
38528 #define wxUSE_MDI 1
38529 _ACEOF
38530
38531
38532 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38533 cat >>confdefs.h <<\_ACEOF
38534 #define wxUSE_MDI_ARCHITECTURE 1
38535 _ACEOF
38536
38537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
38538 fi
38539 fi
38540
38541 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38542 cat >>confdefs.h <<\_ACEOF
38543 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38544 _ACEOF
38545
38546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
38547 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
38549 fi
38550 fi
38551
38552 if test "$wxUSE_HELP" = "yes"; then
38553 cat >>confdefs.h <<\_ACEOF
38554 #define wxUSE_HELP 1
38555 _ACEOF
38556
38557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
38558
38559 if test "$wxUSE_MSW" = 1; then
38560 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38561 cat >>confdefs.h <<\_ACEOF
38562 #define wxUSE_MS_HTML_HELP 1
38563 _ACEOF
38564
38565 fi
38566 fi
38567
38568 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38569 if test "$wxUSE_HTML" = "yes"; then
38570 cat >>confdefs.h <<\_ACEOF
38571 #define wxUSE_WXHTML_HELP 1
38572 _ACEOF
38573
38574 else
38575 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38576 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38577 wxUSE_WXHTML_HELP=no
38578 fi
38579 fi
38580 fi
38581
38582 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38583 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38584 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38585 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38586 else
38587 cat >>confdefs.h <<\_ACEOF
38588 #define wxUSE_PRINTING_ARCHITECTURE 1
38589 _ACEOF
38590
38591 fi
38592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
38593 fi
38594
38595 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38596 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38597 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38598 { (exit 1); exit 1; }; }
38599 fi
38600
38601
38602 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
38603 -o "$wxUSE_CLIPBOARD" = "yes" \
38604 -o "$wxUSE_OLE" = "yes" \
38605 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
38606
38607 for ac_header in ole2.h
38608 do
38609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38611 echo "$as_me:$LINENO: checking for $ac_header" >&5
38612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38614 echo $ECHO_N "(cached) $ECHO_C" >&6
38615 fi
38616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38618 else
38619 # Is the header compilable?
38620 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38622 cat >conftest.$ac_ext <<_ACEOF
38623 /* confdefs.h. */
38624 _ACEOF
38625 cat confdefs.h >>conftest.$ac_ext
38626 cat >>conftest.$ac_ext <<_ACEOF
38627 /* end confdefs.h. */
38628 $ac_includes_default
38629 #include <$ac_header>
38630 _ACEOF
38631 rm -f conftest.$ac_objext
38632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38633 (eval $ac_compile) 2>conftest.er1
38634 ac_status=$?
38635 grep -v '^ *+' conftest.er1 >conftest.err
38636 rm -f conftest.er1
38637 cat conftest.err >&5
38638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38639 (exit $ac_status); } &&
38640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38642 (eval $ac_try) 2>&5
38643 ac_status=$?
38644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38645 (exit $ac_status); }; } &&
38646 { ac_try='test -s conftest.$ac_objext'
38647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38648 (eval $ac_try) 2>&5
38649 ac_status=$?
38650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38651 (exit $ac_status); }; }; then
38652 ac_header_compiler=yes
38653 else
38654 echo "$as_me: failed program was:" >&5
38655 sed 's/^/| /' conftest.$ac_ext >&5
38656
38657 ac_header_compiler=no
38658 fi
38659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38661 echo "${ECHO_T}$ac_header_compiler" >&6
38662
38663 # Is the header present?
38664 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38666 cat >conftest.$ac_ext <<_ACEOF
38667 /* confdefs.h. */
38668 _ACEOF
38669 cat confdefs.h >>conftest.$ac_ext
38670 cat >>conftest.$ac_ext <<_ACEOF
38671 /* end confdefs.h. */
38672 #include <$ac_header>
38673 _ACEOF
38674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38675 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38676 ac_status=$?
38677 grep -v '^ *+' conftest.er1 >conftest.err
38678 rm -f conftest.er1
38679 cat conftest.err >&5
38680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38681 (exit $ac_status); } >/dev/null; then
38682 if test -s conftest.err; then
38683 ac_cpp_err=$ac_c_preproc_warn_flag
38684 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38685 else
38686 ac_cpp_err=
38687 fi
38688 else
38689 ac_cpp_err=yes
38690 fi
38691 if test -z "$ac_cpp_err"; then
38692 ac_header_preproc=yes
38693 else
38694 echo "$as_me: failed program was:" >&5
38695 sed 's/^/| /' conftest.$ac_ext >&5
38696
38697 ac_header_preproc=no
38698 fi
38699 rm -f conftest.err conftest.$ac_ext
38700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38701 echo "${ECHO_T}$ac_header_preproc" >&6
38702
38703 # So? What about this header?
38704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38705 yes:no: )
38706 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38707 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38709 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38710 ac_header_preproc=yes
38711 ;;
38712 no:yes:* )
38713 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38714 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38715 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38716 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38717 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38718 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38719 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38720 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38723 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38724 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38725 (
38726 cat <<\_ASBOX
38727 ## ----------------------------------------- ##
38728 ## Report this to wx-dev@lists.wxwidgets.org ##
38729 ## ----------------------------------------- ##
38730 _ASBOX
38731 ) |
38732 sed "s/^/$as_me: WARNING: /" >&2
38733 ;;
38734 esac
38735 echo "$as_me:$LINENO: checking for $ac_header" >&5
38736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38738 echo $ECHO_N "(cached) $ECHO_C" >&6
38739 else
38740 eval "$as_ac_Header=\$ac_header_preproc"
38741 fi
38742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38744
38745 fi
38746 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38747 cat >>confdefs.h <<_ACEOF
38748 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38749 _ACEOF
38750
38751 fi
38752
38753 done
38754
38755
38756 if test "$ac_cv_header_ole2_h" = "yes" ; then
38757 if test "$GCC" = yes ; then
38758
38759
38760 ac_ext=cc
38761 ac_cpp='$CXXCPP $CPPFLAGS'
38762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38765
38766
38767 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38768 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38769 cat >conftest.$ac_ext <<_ACEOF
38770 /* confdefs.h. */
38771 _ACEOF
38772 cat confdefs.h >>conftest.$ac_ext
38773 cat >>conftest.$ac_ext <<_ACEOF
38774 /* end confdefs.h. */
38775 #include <windows.h>
38776 #include <ole2.h>
38777 int
38778 main ()
38779 {
38780
38781 ;
38782 return 0;
38783 }
38784 _ACEOF
38785 rm -f conftest.$ac_objext
38786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38787 (eval $ac_compile) 2>conftest.er1
38788 ac_status=$?
38789 grep -v '^ *+' conftest.er1 >conftest.err
38790 rm -f conftest.er1
38791 cat conftest.err >&5
38792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38793 (exit $ac_status); } &&
38794 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38796 (eval $ac_try) 2>&5
38797 ac_status=$?
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); }; } &&
38800 { ac_try='test -s conftest.$ac_objext'
38801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38802 (eval $ac_try) 2>&5
38803 ac_status=$?
38804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38805 (exit $ac_status); }; }; then
38806 echo "$as_me:$LINENO: result: no" >&5
38807 echo "${ECHO_T}no" >&6
38808 else
38809 echo "$as_me: failed program was:" >&5
38810 sed 's/^/| /' conftest.$ac_ext >&5
38811
38812 echo "$as_me:$LINENO: result: yes" >&5
38813 echo "${ECHO_T}yes" >&6
38814 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38815 fi
38816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38817 ac_ext=c
38818 ac_cpp='$CPP $CPPFLAGS'
38819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38822
38823 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38824 if test "$wxUSE_OLE" = "yes" ; then
38825 cat >>confdefs.h <<\_ACEOF
38826 #define wxUSE_OLE 1
38827 _ACEOF
38828
38829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
38830 fi
38831 fi
38832
38833 if test "$wxUSE_DATAOBJ" = "yes" ; then
38834 cat >>confdefs.h <<\_ACEOF
38835 #define wxUSE_DATAOBJ 1
38836 _ACEOF
38837
38838 fi
38839 else
38840 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38841 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38842
38843 wxUSE_CLIPBOARD=no
38844 wxUSE_DRAG_AND_DROP=no
38845 wxUSE_DATAOBJ=no
38846 wxUSE_OLE=no
38847 fi
38848
38849 if test "$wxUSE_METAFILE" = "yes"; then
38850 cat >>confdefs.h <<\_ACEOF
38851 #define wxUSE_METAFILE 1
38852 _ACEOF
38853
38854
38855 cat >>confdefs.h <<\_ACEOF
38856 #define wxUSE_ENH_METAFILE 1
38857 _ACEOF
38858
38859 fi
38860 fi
38861
38862 if test "$wxUSE_IPC" = "yes"; then
38863 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38864 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38865 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38866 wxUSE_IPC=no
38867 fi
38868
38869 if test "$wxUSE_IPC" = "yes"; then
38870 cat >>confdefs.h <<\_ACEOF
38871 #define wxUSE_IPC 1
38872 _ACEOF
38873
38874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
38875 fi
38876 fi
38877
38878 if test "$wxUSE_CLIPBOARD" = "yes"; then
38879 if test "$wxUSE_MGL" = 1; then
38880 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38881 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38882 wxUSE_CLIPBOARD=no
38883 fi
38884
38885 if test "$wxUSE_CLIPBOARD" = "yes"; then
38886 cat >>confdefs.h <<\_ACEOF
38887 #define wxUSE_CLIPBOARD 1
38888 _ACEOF
38889
38890
38891 cat >>confdefs.h <<\_ACEOF
38892 #define wxUSE_DATAOBJ 1
38893 _ACEOF
38894
38895 fi
38896 fi
38897
38898 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38899 if test "$wxUSE_GTK" = 1; then
38900 if test "$WXGTK12" != 1; then
38901 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38902 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38903 wxUSE_DRAG_AND_DROP=no
38904 fi
38905 fi
38906
38907 if test "$wxUSE_MOTIF" = 1; then
38908 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38909 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38910 wxUSE_DRAG_AND_DROP=no
38911 fi
38912
38913 if test "$wxUSE_X11" = 1; then
38914 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38915 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38916 wxUSE_DRAG_AND_DROP=no
38917 fi
38918
38919 if test "$wxUSE_MGL" = 1; then
38920 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38921 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38922 wxUSE_DRAG_AND_DROP=no
38923 fi
38924
38925 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38926 cat >>confdefs.h <<\_ACEOF
38927 #define wxUSE_DRAG_AND_DROP 1
38928 _ACEOF
38929
38930 fi
38931
38932 fi
38933
38934 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
38936 fi
38937
38938 if test "$wxUSE_SPLINES" = "yes" ; then
38939 cat >>confdefs.h <<\_ACEOF
38940 #define wxUSE_SPLINES 1
38941 _ACEOF
38942
38943 fi
38944
38945 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
38946 cat >>confdefs.h <<\_ACEOF
38947 #define wxUSE_MOUSEWHEEL 1
38948 _ACEOF
38949
38950 fi
38951
38952
38953 USES_CONTROLS=0
38954 if test "$wxUSE_CONTROLS" = "yes"; then
38955 USES_CONTROLS=1
38956 fi
38957
38958 if test "$wxUSE_ACCEL" = "yes"; then
38959 cat >>confdefs.h <<\_ACEOF
38960 #define wxUSE_ACCEL 1
38961 _ACEOF
38962
38963 USES_CONTROLS=1
38964 fi
38965
38966 if test "$wxUSE_BUTTON" = "yes"; then
38967 cat >>confdefs.h <<\_ACEOF
38968 #define wxUSE_BUTTON 1
38969 _ACEOF
38970
38971 USES_CONTROLS=1
38972 fi
38973
38974 if test "$wxUSE_BMPBUTTON" = "yes"; then
38975 cat >>confdefs.h <<\_ACEOF
38976 #define wxUSE_BMPBUTTON 1
38977 _ACEOF
38978
38979 USES_CONTROLS=1
38980 fi
38981
38982 if test "$wxUSE_CALCTRL" = "yes"; then
38983 cat >>confdefs.h <<\_ACEOF
38984 #define wxUSE_CALENDARCTRL 1
38985 _ACEOF
38986
38987 USES_CONTROLS=1
38988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
38989 fi
38990
38991 if test "$wxUSE_CARET" = "yes"; then
38992 cat >>confdefs.h <<\_ACEOF
38993 #define wxUSE_CARET 1
38994 _ACEOF
38995
38996 USES_CONTROLS=1
38997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
38998 fi
38999
39000 if test "$wxUSE_COMBOBOX" = "yes"; then
39001 cat >>confdefs.h <<\_ACEOF
39002 #define wxUSE_COMBOBOX 1
39003 _ACEOF
39004
39005 USES_CONTROLS=1
39006 fi
39007
39008 if test "$wxUSE_CHOICE" = "yes"; then
39009 cat >>confdefs.h <<\_ACEOF
39010 #define wxUSE_CHOICE 1
39011 _ACEOF
39012
39013 USES_CONTROLS=1
39014 fi
39015
39016 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39017 cat >>confdefs.h <<\_ACEOF
39018 #define wxUSE_CHOICEBOOK 1
39019 _ACEOF
39020
39021 USES_CONTROLS=1
39022 fi
39023
39024 if test "$wxUSE_CHECKBOX" = "yes"; then
39025 cat >>confdefs.h <<\_ACEOF
39026 #define wxUSE_CHECKBOX 1
39027 _ACEOF
39028
39029 USES_CONTROLS=1
39030 fi
39031
39032 if test "$wxUSE_CHECKLST" = "yes"; then
39033 cat >>confdefs.h <<\_ACEOF
39034 #define wxUSE_CHECKLISTBOX 1
39035 _ACEOF
39036
39037 USES_CONTROLS=1
39038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
39039 fi
39040
39041 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39042 cat >>confdefs.h <<\_ACEOF
39043 #define wxUSE_DATEPICKCTRL 1
39044 _ACEOF
39045
39046 USES_CONTROLS=1
39047 fi
39048
39049 if test "$wxUSE_DISPLAY" = "yes"; then
39050 cat >>confdefs.h <<\_ACEOF
39051 #define wxUSE_DISPLAY 1
39052 _ACEOF
39053
39054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
39055 fi
39056
39057 if test "$wxUSE_GAUGE" = "yes"; then
39058 cat >>confdefs.h <<\_ACEOF
39059 #define wxUSE_GAUGE 1
39060 _ACEOF
39061
39062 USES_CONTROLS=1
39063 fi
39064
39065 if test "$wxUSE_GRID" = "yes"; then
39066 cat >>confdefs.h <<\_ACEOF
39067 #define wxUSE_GRID 1
39068 _ACEOF
39069
39070 USES_CONTROLS=1
39071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
39072 fi
39073
39074 if test "$wxUSE_IMAGLIST" = "yes"; then
39075 cat >>confdefs.h <<\_ACEOF
39076 #define wxUSE_IMAGLIST 1
39077 _ACEOF
39078
39079 fi
39080
39081 if test "$wxUSE_LISTBOOK" = "yes"; then
39082 cat >>confdefs.h <<\_ACEOF
39083 #define wxUSE_LISTBOOK 1
39084 _ACEOF
39085
39086 USES_CONTROLS=1
39087 fi
39088
39089 if test "$wxUSE_LISTBOX" = "yes"; then
39090 cat >>confdefs.h <<\_ACEOF
39091 #define wxUSE_LISTBOX 1
39092 _ACEOF
39093
39094 USES_CONTROLS=1
39095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
39096 fi
39097
39098 if test "$wxUSE_LISTCTRL" = "yes"; then
39099 if test "$wxUSE_IMAGLIST" = "yes"; then
39100 cat >>confdefs.h <<\_ACEOF
39101 #define wxUSE_LISTCTRL 1
39102 _ACEOF
39103
39104 USES_CONTROLS=1
39105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
39106 else
39107 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
39108 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
39109 fi
39110 fi
39111
39112 if test "$wxUSE_NOTEBOOK" = "yes"; then
39113 cat >>confdefs.h <<\_ACEOF
39114 #define wxUSE_NOTEBOOK 1
39115 _ACEOF
39116
39117 USES_CONTROLS=1
39118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
39119 fi
39120
39121
39122 if test "$wxUSE_RADIOBOX" = "yes"; then
39123 cat >>confdefs.h <<\_ACEOF
39124 #define wxUSE_RADIOBOX 1
39125 _ACEOF
39126
39127 USES_CONTROLS=1
39128 fi
39129
39130 if test "$wxUSE_RADIOBTN" = "yes"; then
39131 cat >>confdefs.h <<\_ACEOF
39132 #define wxUSE_RADIOBTN 1
39133 _ACEOF
39134
39135 USES_CONTROLS=1
39136 fi
39137
39138 if test "$wxUSE_SASH" = "yes"; then
39139 cat >>confdefs.h <<\_ACEOF
39140 #define wxUSE_SASH 1
39141 _ACEOF
39142
39143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
39144 fi
39145
39146 if test "$wxUSE_SCROLLBAR" = "yes"; then
39147 cat >>confdefs.h <<\_ACEOF
39148 #define wxUSE_SCROLLBAR 1
39149 _ACEOF
39150
39151 USES_CONTROLS=1
39152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
39153 fi
39154
39155 if test "$wxUSE_SLIDER" = "yes"; then
39156 cat >>confdefs.h <<\_ACEOF
39157 #define wxUSE_SLIDER 1
39158 _ACEOF
39159
39160 USES_CONTROLS=1
39161 fi
39162
39163 if test "$wxUSE_SPINBTN" = "yes"; then
39164 cat >>confdefs.h <<\_ACEOF
39165 #define wxUSE_SPINBTN 1
39166 _ACEOF
39167
39168 USES_CONTROLS=1
39169 fi
39170
39171 if test "$wxUSE_SPINCTRL" = "yes"; then
39172 cat >>confdefs.h <<\_ACEOF
39173 #define wxUSE_SPINCTRL 1
39174 _ACEOF
39175
39176 USES_CONTROLS=1
39177 fi
39178
39179 if test "$wxUSE_SPLITTER" = "yes"; then
39180 cat >>confdefs.h <<\_ACEOF
39181 #define wxUSE_SPLITTER 1
39182 _ACEOF
39183
39184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
39185 fi
39186
39187 if test "$wxUSE_STATBMP" = "yes"; then
39188 cat >>confdefs.h <<\_ACEOF
39189 #define wxUSE_STATBMP 1
39190 _ACEOF
39191
39192 USES_CONTROLS=1
39193 fi
39194
39195 if test "$wxUSE_STATBOX" = "yes"; then
39196 cat >>confdefs.h <<\_ACEOF
39197 #define wxUSE_STATBOX 1
39198 _ACEOF
39199
39200 USES_CONTROLS=1
39201 fi
39202
39203 if test "$wxUSE_STATTEXT" = "yes"; then
39204 cat >>confdefs.h <<\_ACEOF
39205 #define wxUSE_STATTEXT 1
39206 _ACEOF
39207
39208 USES_CONTROLS=1
39209 fi
39210
39211 if test "$wxUSE_STATLINE" = "yes"; then
39212 cat >>confdefs.h <<\_ACEOF
39213 #define wxUSE_STATLINE 1
39214 _ACEOF
39215
39216 USES_CONTROLS=1
39217 fi
39218
39219 if test "$wxUSE_STATUSBAR" = "yes"; then
39220 cat >>confdefs.h <<\_ACEOF
39221 #define wxUSE_NATIVE_STATUSBAR 1
39222 _ACEOF
39223
39224 cat >>confdefs.h <<\_ACEOF
39225 #define wxUSE_STATUSBAR 1
39226 _ACEOF
39227
39228 USES_CONTROLS=1
39229
39230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
39231 fi
39232
39233 if test "$wxUSE_TABDIALOG" = "yes"; then
39234 cat >>confdefs.h <<\_ACEOF
39235 #define wxUSE_TAB_DIALOG 1
39236 _ACEOF
39237
39238 fi
39239
39240 if test "$wxUSE_TEXTCTRL" = "yes"; then
39241 cat >>confdefs.h <<\_ACEOF
39242 #define wxUSE_TEXTCTRL 1
39243 _ACEOF
39244
39245 USES_CONTROLS=1
39246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
39247 fi
39248
39249 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39250 if test "$wxUSE_COCOA" = 1 ; then
39251 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
39252 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
39253 wxUSE_TOGGLEBTN=no
39254 fi
39255 if test "$wxUSE_UNIVERSAL" = "yes"; then
39256 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
39257 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39258 wxUSE_TOGGLEBTN=no
39259 fi
39260
39261 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39262 cat >>confdefs.h <<\_ACEOF
39263 #define wxUSE_TOGGLEBTN 1
39264 _ACEOF
39265
39266 USES_CONTROLS=1
39267 fi
39268 fi
39269
39270 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39271 cat >>confdefs.h <<\_ACEOF
39272 #define wxUSE_TOOLBAR_SIMPLE 1
39273 _ACEOF
39274
39275 wxUSE_TOOLBAR="yes"
39276 USES_CONTROLS=1
39277 fi
39278
39279 if test "$wxUSE_TOOLBAR" = "yes"; then
39280 cat >>confdefs.h <<\_ACEOF
39281 #define wxUSE_TOOLBAR 1
39282 _ACEOF
39283
39284 USES_CONTROLS=1
39285
39286 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39287 wxUSE_TOOLBAR_NATIVE="yes"
39288 fi
39289
39290 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39291 cat >>confdefs.h <<\_ACEOF
39292 #define wxUSE_TOOLBAR_NATIVE 1
39293 _ACEOF
39294
39295 USES_CONTROLS=1
39296 fi
39297
39298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
39299 fi
39300
39301 if test "$wxUSE_TOOLTIPS" = "yes"; then
39302 if test "$wxUSE_MOTIF" = 1; then
39303 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39304 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39305 else
39306 if test "$wxUSE_UNIVERSAL" = "yes"; then
39307 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39308 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39309 else
39310 cat >>confdefs.h <<\_ACEOF
39311 #define wxUSE_TOOLTIPS 1
39312 _ACEOF
39313
39314 fi
39315 fi
39316 fi
39317
39318 if test "$wxUSE_TREECTRL" = "yes"; then
39319 if test "$wxUSE_IMAGLIST" = "yes"; then
39320 cat >>confdefs.h <<\_ACEOF
39321 #define wxUSE_TREECTRL 1
39322 _ACEOF
39323
39324 USES_CONTROLS=1
39325 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
39326 else
39327 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39328 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39329 fi
39330 fi
39331
39332 if test "$wxUSE_POPUPWIN" = "yes"; then
39333 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39334 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39335 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39336 else
39337 if test "$wxUSE_PM" = 1; then
39338 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39339 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39340 else
39341 cat >>confdefs.h <<\_ACEOF
39342 #define wxUSE_POPUPWIN 1
39343 _ACEOF
39344
39345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
39346
39347 USES_CONTROLS=1
39348 fi
39349 fi
39350 fi
39351
39352 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39353 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39354 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39355 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39356 else
39357 cat >>confdefs.h <<\_ACEOF
39358 #define wxUSE_DIALUP_MANAGER 1
39359 _ACEOF
39360
39361 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
39362 fi
39363 fi
39364
39365 if test "$wxUSE_TIPWINDOW" = "yes"; then
39366 if test "$wxUSE_PM" = 1; then
39367 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39368 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39369 else
39370 cat >>confdefs.h <<\_ACEOF
39371 #define wxUSE_TIPWINDOW 1
39372 _ACEOF
39373
39374 fi
39375 fi
39376
39377 if test "$USES_CONTROLS" = 1; then
39378 cat >>confdefs.h <<\_ACEOF
39379 #define wxUSE_CONTROLS 1
39380 _ACEOF
39381
39382 fi
39383
39384
39385 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39386 cat >>confdefs.h <<\_ACEOF
39387 #define wxUSE_ACCESSIBILITY 1
39388 _ACEOF
39389
39390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
39391 fi
39392
39393 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39394 cat >>confdefs.h <<\_ACEOF
39395 #define wxUSE_DRAGIMAGE 1
39396 _ACEOF
39397
39398 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
39399 fi
39400
39401 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39402 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39403 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39404 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39405 else
39406 cat >>confdefs.h <<\_ACEOF
39407 #define wxUSE_EXCEPTIONS 1
39408 _ACEOF
39409
39410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
39411 fi
39412 fi
39413
39414 USE_HTML=0
39415 if test "$wxUSE_HTML" = "yes"; then
39416 cat >>confdefs.h <<\_ACEOF
39417 #define wxUSE_HTML 1
39418 _ACEOF
39419
39420 USE_HTML=1
39421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39422 if test "$wxUSE_MAC" = 1; then
39423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
39424 fi
39425 fi
39426 if test "$wxUSE_WEBKIT" = "yes"; then
39427 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39428 old_CPPFLAGS="$CPPFLAGS"
39429 CPPFLAGS="$CPPFLAGS -x objective-c++"
39430 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39431 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39432 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39433 echo $ECHO_N "(cached) $ECHO_C" >&6
39434 else
39435 cat >conftest.$ac_ext <<_ACEOF
39436 /* confdefs.h. */
39437 _ACEOF
39438 cat confdefs.h >>conftest.$ac_ext
39439 cat >>conftest.$ac_ext <<_ACEOF
39440 /* end confdefs.h. */
39441 #include <Carbon/Carbon.h>
39442
39443 #include <WebKit/HIWebView.h>
39444 _ACEOF
39445 rm -f conftest.$ac_objext
39446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39447 (eval $ac_compile) 2>conftest.er1
39448 ac_status=$?
39449 grep -v '^ *+' conftest.er1 >conftest.err
39450 rm -f conftest.er1
39451 cat conftest.err >&5
39452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39453 (exit $ac_status); } &&
39454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39456 (eval $ac_try) 2>&5
39457 ac_status=$?
39458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39459 (exit $ac_status); }; } &&
39460 { ac_try='test -s conftest.$ac_objext'
39461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39462 (eval $ac_try) 2>&5
39463 ac_status=$?
39464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39465 (exit $ac_status); }; }; then
39466 ac_cv_header_WebKit_HIWebView_h=yes
39467 else
39468 echo "$as_me: failed program was:" >&5
39469 sed 's/^/| /' conftest.$ac_ext >&5
39470
39471 ac_cv_header_WebKit_HIWebView_h=no
39472 fi
39473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39474 fi
39475 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39476 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39477 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39478
39479 cat >>confdefs.h <<\_ACEOF
39480 #define wxUSE_WEBKIT 1
39481 _ACEOF
39482
39483 WEBKIT_LINK="-framework WebKit"
39484
39485 else
39486
39487 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39488 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39489 wxUSE_WEBKIT=no
39490
39491 fi
39492
39493
39494 CPPFLAGS="$old_CPPFLAGS"
39495 elif test "$wxUSE_COCOA" = 1; then
39496 cat >>confdefs.h <<\_ACEOF
39497 #define wxUSE_WEBKIT 1
39498 _ACEOF
39499
39500 else
39501 wxUSE_WEBKIT=no
39502 fi
39503 fi
39504
39505 USE_XRC=0
39506 if test "$wxUSE_XRC" = "yes"; then
39507 if test "$wxUSE_XML" != "yes"; then
39508 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39509 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39510 wxUSE_XRC=no
39511 else
39512 cat >>confdefs.h <<\_ACEOF
39513 #define wxUSE_XRC 1
39514 _ACEOF
39515
39516 USE_XRC=1
39517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
39518 fi
39519 fi
39520
39521 if test "$wxUSE_MENUS" = "yes"; then
39522 cat >>confdefs.h <<\_ACEOF
39523 #define wxUSE_MENUS 1
39524 _ACEOF
39525
39526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
39527 fi
39528
39529 if test "$wxUSE_METAFILE" = "yes"; then
39530 cat >>confdefs.h <<\_ACEOF
39531 #define wxUSE_METAFILE 1
39532 _ACEOF
39533
39534 fi
39535
39536 if test "$wxUSE_MIMETYPE" = "yes"; then
39537 cat >>confdefs.h <<\_ACEOF
39538 #define wxUSE_MIMETYPE 1
39539 _ACEOF
39540
39541 fi
39542
39543 if test "$wxUSE_MINIFRAME" = "yes"; then
39544 cat >>confdefs.h <<\_ACEOF
39545 #define wxUSE_MINIFRAME 1
39546 _ACEOF
39547
39548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
39549 fi
39550
39551 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39552 cat >>confdefs.h <<\_ACEOF
39553 #define wxUSE_SYSTEM_OPTIONS 1
39554 _ACEOF
39555
39556 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39557 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
39559 fi
39560 fi
39561
39562
39563 if test "$wxUSE_VALIDATORS" = "yes"; then
39564 cat >>confdefs.h <<\_ACEOF
39565 #define wxUSE_VALIDATORS 1
39566 _ACEOF
39567
39568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
39569 fi
39570
39571 if test "$wxUSE_PALETTE" = "yes" ; then
39572 cat >>confdefs.h <<\_ACEOF
39573 #define wxUSE_PALETTE 1
39574 _ACEOF
39575
39576 fi
39577
39578 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39579 LIBS=" -lunicows $LIBS"
39580 fi
39581
39582
39583 if test "$wxUSE_IMAGE" = "yes" ; then
39584 cat >>confdefs.h <<\_ACEOF
39585 #define wxUSE_IMAGE 1
39586 _ACEOF
39587
39588
39589 if test "$wxUSE_GIF" = "yes" ; then
39590 cat >>confdefs.h <<\_ACEOF
39591 #define wxUSE_GIF 1
39592 _ACEOF
39593
39594 fi
39595
39596 if test "$wxUSE_PCX" = "yes" ; then
39597 cat >>confdefs.h <<\_ACEOF
39598 #define wxUSE_PCX 1
39599 _ACEOF
39600
39601 fi
39602
39603 if test "$wxUSE_IFF" = "yes" ; then
39604 cat >>confdefs.h <<\_ACEOF
39605 #define wxUSE_IFF 1
39606 _ACEOF
39607
39608 fi
39609
39610 if test "$wxUSE_PNM" = "yes" ; then
39611 cat >>confdefs.h <<\_ACEOF
39612 #define wxUSE_PNM 1
39613 _ACEOF
39614
39615 fi
39616
39617 if test "$wxUSE_XPM" = "yes" ; then
39618 cat >>confdefs.h <<\_ACEOF
39619 #define wxUSE_XPM 1
39620 _ACEOF
39621
39622 fi
39623
39624 if test "$wxUSE_ICO_CUR" = "yes" ; then
39625 cat >>confdefs.h <<\_ACEOF
39626 #define wxUSE_ICO_CUR 1
39627 _ACEOF
39628
39629 fi
39630 fi
39631
39632
39633 if test "$wxUSE_CHOICEDLG" = "yes"; then
39634 cat >>confdefs.h <<\_ACEOF
39635 #define wxUSE_CHOICEDLG 1
39636 _ACEOF
39637
39638 fi
39639
39640 if test "$wxUSE_COLOURDLG" = "yes"; then
39641 cat >>confdefs.h <<\_ACEOF
39642 #define wxUSE_COLOURDLG 1
39643 _ACEOF
39644
39645 fi
39646
39647 if test "$wxUSE_FILEDLG" = "yes"; then
39648 cat >>confdefs.h <<\_ACEOF
39649 #define wxUSE_FILEDLG 1
39650 _ACEOF
39651
39652 fi
39653
39654 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39655 cat >>confdefs.h <<\_ACEOF
39656 #define wxUSE_FINDREPLDLG 1
39657 _ACEOF
39658
39659 fi
39660
39661 if test "$wxUSE_FONTDLG" = "yes"; then
39662 cat >>confdefs.h <<\_ACEOF
39663 #define wxUSE_FONTDLG 1
39664 _ACEOF
39665
39666 fi
39667
39668 if test "$wxUSE_DIRDLG" = "yes"; then
39669 if test "$wxUSE_TREECTRL" != "yes"; then
39670 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39671 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39672 else
39673 cat >>confdefs.h <<\_ACEOF
39674 #define wxUSE_DIRDLG 1
39675 _ACEOF
39676
39677 fi
39678 fi
39679
39680 if test "$wxUSE_MSGDLG" = "yes"; then
39681 cat >>confdefs.h <<\_ACEOF
39682 #define wxUSE_MSGDLG 1
39683 _ACEOF
39684
39685 fi
39686
39687 if test "$wxUSE_NUMBERDLG" = "yes"; then
39688 cat >>confdefs.h <<\_ACEOF
39689 #define wxUSE_NUMBERDLG 1
39690 _ACEOF
39691
39692 fi
39693
39694 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39695 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39696 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39697 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39698 else
39699 cat >>confdefs.h <<\_ACEOF
39700 #define wxUSE_PROGRESSDLG 1
39701 _ACEOF
39702
39703 fi
39704 fi
39705
39706 if test "$wxUSE_SPLASH" = "yes"; then
39707 cat >>confdefs.h <<\_ACEOF
39708 #define wxUSE_SPLASH 1
39709 _ACEOF
39710
39711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
39712 fi
39713
39714 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39715 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39716 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39717 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39718 else
39719 cat >>confdefs.h <<\_ACEOF
39720 #define wxUSE_STARTUP_TIPS 1
39721 _ACEOF
39722
39723 fi
39724 fi
39725
39726 if test "$wxUSE_TEXTDLG" = "yes"; then
39727 cat >>confdefs.h <<\_ACEOF
39728 #define wxUSE_TEXTDLG 1
39729 _ACEOF
39730
39731 fi
39732
39733 if test "$wxUSE_WIZARDDLG" = "yes"; then
39734 cat >>confdefs.h <<\_ACEOF
39735 #define wxUSE_WIZARDDLG 1
39736 _ACEOF
39737
39738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
39739 fi
39740
39741
39742 if test "$wxUSE_MEDIACTRL" = "yes"; then
39743 if test "$wxUSE_MSW" = 1; then
39744 wxUSE_DIRECTSHOW="yes"
39745
39746 for ac_header in dshow.h
39747 do
39748 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39749 echo "$as_me:$LINENO: checking for $ac_header" >&5
39750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39752 echo $ECHO_N "(cached) $ECHO_C" >&6
39753 else
39754 cat >conftest.$ac_ext <<_ACEOF
39755 /* confdefs.h. */
39756 _ACEOF
39757 cat confdefs.h >>conftest.$ac_ext
39758 cat >>conftest.$ac_ext <<_ACEOF
39759 /* end confdefs.h. */
39760 #include <windows.h>
39761
39762 #include <$ac_header>
39763 _ACEOF
39764 rm -f conftest.$ac_objext
39765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39766 (eval $ac_compile) 2>conftest.er1
39767 ac_status=$?
39768 grep -v '^ *+' conftest.er1 >conftest.err
39769 rm -f conftest.er1
39770 cat conftest.err >&5
39771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39772 (exit $ac_status); } &&
39773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39775 (eval $ac_try) 2>&5
39776 ac_status=$?
39777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39778 (exit $ac_status); }; } &&
39779 { ac_try='test -s conftest.$ac_objext'
39780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39781 (eval $ac_try) 2>&5
39782 ac_status=$?
39783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39784 (exit $ac_status); }; }; then
39785 eval "$as_ac_Header=yes"
39786 else
39787 echo "$as_me: failed program was:" >&5
39788 sed 's/^/| /' conftest.$ac_ext >&5
39789
39790 eval "$as_ac_Header=no"
39791 fi
39792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39793 fi
39794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39796 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39797 cat >>confdefs.h <<_ACEOF
39798 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39799 _ACEOF
39800
39801 else
39802
39803 wxUSE_DIRECTSHOW="no"
39804 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39805 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39806
39807 fi
39808
39809 done
39810
39811
39812 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39813 cat >>confdefs.h <<\_ACEOF
39814 #define wxUSE_DIRECTSHOW 1
39815 _ACEOF
39816
39817 LIBS="$LIBS -lstrmiids"
39818 fi
39819 fi
39820
39821 if test "$wxUSE_GTK" = 1; then
39822 wxUSE_GSTREAMER="yes"
39823
39824
39825 succeeded=no
39826
39827 if test -z "$PKG_CONFIG"; then
39828 # Extract the first word of "pkg-config", so it can be a program name with args.
39829 set dummy pkg-config; ac_word=$2
39830 echo "$as_me:$LINENO: checking for $ac_word" >&5
39831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39832 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39833 echo $ECHO_N "(cached) $ECHO_C" >&6
39834 else
39835 case $PKG_CONFIG in
39836 [\\/]* | ?:[\\/]*)
39837 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
39838 ;;
39839 *)
39840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39841 for as_dir in $PATH
39842 do
39843 IFS=$as_save_IFS
39844 test -z "$as_dir" && as_dir=.
39845 for ac_exec_ext in '' $ac_executable_extensions; do
39846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39847 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
39848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39849 break 2
39850 fi
39851 done
39852 done
39853
39854 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
39855 ;;
39856 esac
39857 fi
39858 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
39859
39860 if test -n "$PKG_CONFIG"; then
39861 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39862 echo "${ECHO_T}$PKG_CONFIG" >&6
39863 else
39864 echo "$as_me:$LINENO: result: no" >&5
39865 echo "${ECHO_T}no" >&6
39866 fi
39867
39868 fi
39869
39870 if test "$PKG_CONFIG" = "no" ; then
39871 echo "*** The pkg-config script could not be found. Make sure it is"
39872 echo "*** in your path, or set the PKG_CONFIG environment variable"
39873 echo "*** to the full path to pkg-config."
39874 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39875 else
39876 PKG_CONFIG_MIN_VERSION=0.9.0
39877 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39878 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39879 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39880
39881 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39882 echo "$as_me:$LINENO: result: yes" >&5
39883 echo "${ECHO_T}yes" >&6
39884 succeeded=yes
39885
39886 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39887 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39888 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39889 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39890 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39891
39892 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39893 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39894 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
39895 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39896 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39897 else
39898 GSTREAMER_CFLAGS=""
39899 GSTREAMER_LIBS=""
39900 ## If we have a custom action on failure, don't print errors, but
39901 ## do set a variable so people can do so.
39902 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39903
39904 fi
39905
39906
39907
39908 else
39909 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39910 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39911 fi
39912 fi
39913
39914 if test $succeeded = yes; then
39915
39916 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
39917 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39918
39919 else
39920
39921 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39922 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39923 wxUSE_GSTREAMER="no"
39924
39925 fi
39926
39927
39928
39929
39930
39931 if test "x$GST_INSPECT" == "x"; then
39932 # Extract the first word of "gst-inspect", so it can be a program name with args.
39933 set dummy gst-inspect; ac_word=$2
39934 echo "$as_me:$LINENO: checking for $ac_word" >&5
39935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39936 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39937 echo $ECHO_N "(cached) $ECHO_C" >&6
39938 else
39939 if test -n "$GST_INSPECT"; then
39940 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
39941 else
39942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39943 for as_dir in $PATH
39944 do
39945 IFS=$as_save_IFS
39946 test -z "$as_dir" && as_dir=.
39947 for ac_exec_ext in '' $ac_executable_extensions; do
39948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39949 ac_cv_prog_GST_INSPECT="gst-inspect"
39950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39951 break 2
39952 fi
39953 done
39954 done
39955
39956 fi
39957 fi
39958 GST_INSPECT=$ac_cv_prog_GST_INSPECT
39959 if test -n "$GST_INSPECT"; then
39960 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39961 echo "${ECHO_T}$GST_INSPECT" >&6
39962 else
39963 echo "$as_me:$LINENO: result: no" >&5
39964 echo "${ECHO_T}no" >&6
39965 fi
39966
39967 fi
39968
39969 if test "x$GST_INSPECT" != "x"; then
39970 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
39971 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
39972 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
39973 echo "$as_me:$LINENO: result: found." >&5
39974 echo "${ECHO_T}found." >&6
39975
39976 else
39977 echo "$as_me:$LINENO: result: not found." >&5
39978 echo "${ECHO_T}not found." >&6
39979
39980 wxUSE_GSTREAMER="no"
39981 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
39982 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
39983
39984 fi
39985 fi
39986
39987
39988 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
39989 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
39990 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
39991 echo $ECHO_N "(cached) $ECHO_C" >&6
39992 else
39993 cat >conftest.$ac_ext <<_ACEOF
39994 /* confdefs.h. */
39995 _ACEOF
39996 cat confdefs.h >>conftest.$ac_ext
39997 cat >>conftest.$ac_ext <<_ACEOF
39998 /* end confdefs.h. */
39999 #include <gst/gst.h>
40000
40001 #include <gst/xoverlay/xoverlay.h>
40002 _ACEOF
40003 rm -f conftest.$ac_objext
40004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40005 (eval $ac_compile) 2>conftest.er1
40006 ac_status=$?
40007 grep -v '^ *+' conftest.er1 >conftest.err
40008 rm -f conftest.er1
40009 cat conftest.err >&5
40010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40011 (exit $ac_status); } &&
40012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40014 (eval $ac_try) 2>&5
40015 ac_status=$?
40016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40017 (exit $ac_status); }; } &&
40018 { ac_try='test -s conftest.$ac_objext'
40019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40020 (eval $ac_try) 2>&5
40021 ac_status=$?
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); }; }; then
40024 ac_cv_header_gst_xoverlay_xoverlay_h=yes
40025 else
40026 echo "$as_me: failed program was:" >&5
40027 sed 's/^/| /' conftest.$ac_ext >&5
40028
40029 ac_cv_header_gst_xoverlay_xoverlay_h=no
40030 fi
40031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40032 fi
40033 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40034 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40035 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40036 :
40037 else
40038
40039 wxUSE_GSTREAMER="no"
40040 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40041 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40042
40043 fi
40044
40045
40046
40047 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40048 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40049
40050 ac_find_libraries=
40051 for ac_dir in $SEARCH_LIB /usr/lib;
40052 do
40053 for ac_extension in a so sl dylib; do
40054 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40055 ac_find_libraries=$ac_dir
40056 break 2
40057 fi
40058 done
40059 done
40060
40061
40062 if test "$ac_find_libraries" = "" ; then
40063 echo "$as_me:$LINENO: result: no" >&5
40064 echo "${ECHO_T}no" >&6
40065 wxUSE_GSTREAMER="no"
40066 else
40067 echo "$as_me:$LINENO: result: yes" >&5
40068 echo "${ECHO_T}yes" >&6
40069 fi
40070
40071 if test "$wxUSE_GSTREAMER" = "yes"; then
40072 cat >>confdefs.h <<\_ACEOF
40073 #define wxUSE_GSTREAMER 1
40074 _ACEOF
40075
40076 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40077 echo "${ECHO_T}GStreamer detection successful" >&6
40078 fi
40079 fi
40080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
40081 cat >>confdefs.h <<\_ACEOF
40082 #define wxUSE_MEDIACTRL 1
40083 _ACEOF
40084
40085 fi
40086
40087
40088 if test "$cross_compiling" = "yes"; then
40089 OSINFO="\"$host\""
40090 else
40091 OSINFO=`uname -s -r -m`
40092 OSINFO="\"$OSINFO\""
40093 fi
40094
40095 cat >>confdefs.h <<_ACEOF
40096 #define WXWIN_OS_DESCRIPTION $OSINFO
40097 _ACEOF
40098
40099
40100
40101 if test "x$prefix" != "xNONE"; then
40102 wxPREFIX=$prefix
40103 else
40104 wxPREFIX=$ac_default_prefix
40105 fi
40106
40107 cat >>confdefs.h <<_ACEOF
40108 #define wxINSTALL_PREFIX "$wxPREFIX"
40109 _ACEOF
40110
40111
40112
40113
40114 CORE_BASE_LIBS="net base"
40115 CORE_GUI_LIBS="adv core"
40116
40117 if test "$wxUSE_XML" = "yes" ; then
40118 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
40119 fi
40120 if test "$wxUSE_ODBC" != "no" ; then
40121 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
40122 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
40123 fi
40124 if test "$wxUSE_HTML" = "yes" ; then
40125 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
40126 fi
40127 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40128 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
40129 fi
40130 if test "$wxUSE_XRC" = "yes" ; then
40131 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
40132 fi
40133
40134 if test "$wxUSE_GUI" != "yes"; then
40135 CORE_GUI_LIBS=""
40136 fi
40137
40138
40139
40140
40141
40142
40143
40144
40145 if test "$wxUSE_MAC" = 1 ; then
40146 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40147 if test "$USE_DARWIN" = 1; then
40148 LDFLAGS="$LDFLAGS -framework QuickTime"
40149 else
40150 LDFLAGS="$LDFLAGS -lQuickTimeLib"
40151 fi
40152 fi
40153 if test "$USE_DARWIN" = 1; then
40154 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40155 else
40156 LDFLAGS="$LDFLAGS -lCarbonLib"
40157 fi
40158 elif test "$USE_DARWIN" = 1; then
40159 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System"
40160 fi
40161 if test "$wxUSE_COCOA" = 1 ; then
40162 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
40163 if test "$wxUSE_MEDIACTRL" = "yes"; then
40164 LDFLAGS="$LDFLAGS -framework QuickTime"
40165 fi
40166 fi
40167
40168
40169 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
40170
40171 have_cos=0
40172 have_floor=0
40173
40174 for ac_func in cos
40175 do
40176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40177 echo "$as_me:$LINENO: checking for $ac_func" >&5
40178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40179 if eval "test \"\${$as_ac_var+set}\" = set"; then
40180 echo $ECHO_N "(cached) $ECHO_C" >&6
40181 else
40182 cat >conftest.$ac_ext <<_ACEOF
40183 /* confdefs.h. */
40184 _ACEOF
40185 cat confdefs.h >>conftest.$ac_ext
40186 cat >>conftest.$ac_ext <<_ACEOF
40187 /* end confdefs.h. */
40188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40190 #define $ac_func innocuous_$ac_func
40191
40192 /* System header to define __stub macros and hopefully few prototypes,
40193 which can conflict with char $ac_func (); below.
40194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40195 <limits.h> exists even on freestanding compilers. */
40196
40197 #ifdef __STDC__
40198 # include <limits.h>
40199 #else
40200 # include <assert.h>
40201 #endif
40202
40203 #undef $ac_func
40204
40205 /* Override any gcc2 internal prototype to avoid an error. */
40206 #ifdef __cplusplus
40207 extern "C"
40208 {
40209 #endif
40210 /* We use char because int might match the return type of a gcc2
40211 builtin and then its argument prototype would still apply. */
40212 char $ac_func ();
40213 /* The GNU C library defines this for functions which it implements
40214 to always fail with ENOSYS. Some functions are actually named
40215 something starting with __ and the normal name is an alias. */
40216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40217 choke me
40218 #else
40219 char (*f) () = $ac_func;
40220 #endif
40221 #ifdef __cplusplus
40222 }
40223 #endif
40224
40225 int
40226 main ()
40227 {
40228 return f != $ac_func;
40229 ;
40230 return 0;
40231 }
40232 _ACEOF
40233 rm -f conftest.$ac_objext conftest$ac_exeext
40234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40235 (eval $ac_link) 2>conftest.er1
40236 ac_status=$?
40237 grep -v '^ *+' conftest.er1 >conftest.err
40238 rm -f conftest.er1
40239 cat conftest.err >&5
40240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40241 (exit $ac_status); } &&
40242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40244 (eval $ac_try) 2>&5
40245 ac_status=$?
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); }; } &&
40248 { ac_try='test -s conftest$ac_exeext'
40249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40250 (eval $ac_try) 2>&5
40251 ac_status=$?
40252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40253 (exit $ac_status); }; }; then
40254 eval "$as_ac_var=yes"
40255 else
40256 echo "$as_me: failed program was:" >&5
40257 sed 's/^/| /' conftest.$ac_ext >&5
40258
40259 eval "$as_ac_var=no"
40260 fi
40261 rm -f conftest.err conftest.$ac_objext \
40262 conftest$ac_exeext conftest.$ac_ext
40263 fi
40264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40266 if test `eval echo '${'$as_ac_var'}'` = yes; then
40267 cat >>confdefs.h <<_ACEOF
40268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40269 _ACEOF
40270 have_cos=1
40271 fi
40272 done
40273
40274
40275 for ac_func in floor
40276 do
40277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40278 echo "$as_me:$LINENO: checking for $ac_func" >&5
40279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40280 if eval "test \"\${$as_ac_var+set}\" = set"; then
40281 echo $ECHO_N "(cached) $ECHO_C" >&6
40282 else
40283 cat >conftest.$ac_ext <<_ACEOF
40284 /* confdefs.h. */
40285 _ACEOF
40286 cat confdefs.h >>conftest.$ac_ext
40287 cat >>conftest.$ac_ext <<_ACEOF
40288 /* end confdefs.h. */
40289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40291 #define $ac_func innocuous_$ac_func
40292
40293 /* System header to define __stub macros and hopefully few prototypes,
40294 which can conflict with char $ac_func (); below.
40295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40296 <limits.h> exists even on freestanding compilers. */
40297
40298 #ifdef __STDC__
40299 # include <limits.h>
40300 #else
40301 # include <assert.h>
40302 #endif
40303
40304 #undef $ac_func
40305
40306 /* Override any gcc2 internal prototype to avoid an error. */
40307 #ifdef __cplusplus
40308 extern "C"
40309 {
40310 #endif
40311 /* We use char because int might match the return type of a gcc2
40312 builtin and then its argument prototype would still apply. */
40313 char $ac_func ();
40314 /* The GNU C library defines this for functions which it implements
40315 to always fail with ENOSYS. Some functions are actually named
40316 something starting with __ and the normal name is an alias. */
40317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40318 choke me
40319 #else
40320 char (*f) () = $ac_func;
40321 #endif
40322 #ifdef __cplusplus
40323 }
40324 #endif
40325
40326 int
40327 main ()
40328 {
40329 return f != $ac_func;
40330 ;
40331 return 0;
40332 }
40333 _ACEOF
40334 rm -f conftest.$ac_objext conftest$ac_exeext
40335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40336 (eval $ac_link) 2>conftest.er1
40337 ac_status=$?
40338 grep -v '^ *+' conftest.er1 >conftest.err
40339 rm -f conftest.er1
40340 cat conftest.err >&5
40341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40342 (exit $ac_status); } &&
40343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40345 (eval $ac_try) 2>&5
40346 ac_status=$?
40347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40348 (exit $ac_status); }; } &&
40349 { ac_try='test -s conftest$ac_exeext'
40350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40351 (eval $ac_try) 2>&5
40352 ac_status=$?
40353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40354 (exit $ac_status); }; }; then
40355 eval "$as_ac_var=yes"
40356 else
40357 echo "$as_me: failed program was:" >&5
40358 sed 's/^/| /' conftest.$ac_ext >&5
40359
40360 eval "$as_ac_var=no"
40361 fi
40362 rm -f conftest.err conftest.$ac_objext \
40363 conftest$ac_exeext conftest.$ac_ext
40364 fi
40365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40367 if test `eval echo '${'$as_ac_var'}'` = yes; then
40368 cat >>confdefs.h <<_ACEOF
40369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40370 _ACEOF
40371 have_floor=1
40372 fi
40373 done
40374
40375 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40376 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40377 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40378 echo "$as_me:$LINENO: result: yes" >&5
40379 echo "${ECHO_T}yes" >&6
40380 else
40381 echo "$as_me:$LINENO: result: no" >&5
40382 echo "${ECHO_T}no" >&6
40383 LIBS="$LIBS -lm"
40384 # use different functions to avoid configure caching
40385 have_sin=0
40386 have_ceil=0
40387
40388 for ac_func in sin
40389 do
40390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40391 echo "$as_me:$LINENO: checking for $ac_func" >&5
40392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40393 if eval "test \"\${$as_ac_var+set}\" = set"; then
40394 echo $ECHO_N "(cached) $ECHO_C" >&6
40395 else
40396 cat >conftest.$ac_ext <<_ACEOF
40397 /* confdefs.h. */
40398 _ACEOF
40399 cat confdefs.h >>conftest.$ac_ext
40400 cat >>conftest.$ac_ext <<_ACEOF
40401 /* end confdefs.h. */
40402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40404 #define $ac_func innocuous_$ac_func
40405
40406 /* System header to define __stub macros and hopefully few prototypes,
40407 which can conflict with char $ac_func (); below.
40408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40409 <limits.h> exists even on freestanding compilers. */
40410
40411 #ifdef __STDC__
40412 # include <limits.h>
40413 #else
40414 # include <assert.h>
40415 #endif
40416
40417 #undef $ac_func
40418
40419 /* Override any gcc2 internal prototype to avoid an error. */
40420 #ifdef __cplusplus
40421 extern "C"
40422 {
40423 #endif
40424 /* We use char because int might match the return type of a gcc2
40425 builtin and then its argument prototype would still apply. */
40426 char $ac_func ();
40427 /* The GNU C library defines this for functions which it implements
40428 to always fail with ENOSYS. Some functions are actually named
40429 something starting with __ and the normal name is an alias. */
40430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40431 choke me
40432 #else
40433 char (*f) () = $ac_func;
40434 #endif
40435 #ifdef __cplusplus
40436 }
40437 #endif
40438
40439 int
40440 main ()
40441 {
40442 return f != $ac_func;
40443 ;
40444 return 0;
40445 }
40446 _ACEOF
40447 rm -f conftest.$ac_objext conftest$ac_exeext
40448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40449 (eval $ac_link) 2>conftest.er1
40450 ac_status=$?
40451 grep -v '^ *+' conftest.er1 >conftest.err
40452 rm -f conftest.er1
40453 cat conftest.err >&5
40454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40455 (exit $ac_status); } &&
40456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40458 (eval $ac_try) 2>&5
40459 ac_status=$?
40460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40461 (exit $ac_status); }; } &&
40462 { ac_try='test -s conftest$ac_exeext'
40463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40464 (eval $ac_try) 2>&5
40465 ac_status=$?
40466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40467 (exit $ac_status); }; }; then
40468 eval "$as_ac_var=yes"
40469 else
40470 echo "$as_me: failed program was:" >&5
40471 sed 's/^/| /' conftest.$ac_ext >&5
40472
40473 eval "$as_ac_var=no"
40474 fi
40475 rm -f conftest.err conftest.$ac_objext \
40476 conftest$ac_exeext conftest.$ac_ext
40477 fi
40478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40480 if test `eval echo '${'$as_ac_var'}'` = yes; then
40481 cat >>confdefs.h <<_ACEOF
40482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40483 _ACEOF
40484 have_sin=1
40485 fi
40486 done
40487
40488
40489 for ac_func in ceil
40490 do
40491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40492 echo "$as_me:$LINENO: checking for $ac_func" >&5
40493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40494 if eval "test \"\${$as_ac_var+set}\" = set"; then
40495 echo $ECHO_N "(cached) $ECHO_C" >&6
40496 else
40497 cat >conftest.$ac_ext <<_ACEOF
40498 /* confdefs.h. */
40499 _ACEOF
40500 cat confdefs.h >>conftest.$ac_ext
40501 cat >>conftest.$ac_ext <<_ACEOF
40502 /* end confdefs.h. */
40503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40505 #define $ac_func innocuous_$ac_func
40506
40507 /* System header to define __stub macros and hopefully few prototypes,
40508 which can conflict with char $ac_func (); below.
40509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40510 <limits.h> exists even on freestanding compilers. */
40511
40512 #ifdef __STDC__
40513 # include <limits.h>
40514 #else
40515 # include <assert.h>
40516 #endif
40517
40518 #undef $ac_func
40519
40520 /* Override any gcc2 internal prototype to avoid an error. */
40521 #ifdef __cplusplus
40522 extern "C"
40523 {
40524 #endif
40525 /* We use char because int might match the return type of a gcc2
40526 builtin and then its argument prototype would still apply. */
40527 char $ac_func ();
40528 /* The GNU C library defines this for functions which it implements
40529 to always fail with ENOSYS. Some functions are actually named
40530 something starting with __ and the normal name is an alias. */
40531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40532 choke me
40533 #else
40534 char (*f) () = $ac_func;
40535 #endif
40536 #ifdef __cplusplus
40537 }
40538 #endif
40539
40540 int
40541 main ()
40542 {
40543 return f != $ac_func;
40544 ;
40545 return 0;
40546 }
40547 _ACEOF
40548 rm -f conftest.$ac_objext conftest$ac_exeext
40549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40550 (eval $ac_link) 2>conftest.er1
40551 ac_status=$?
40552 grep -v '^ *+' conftest.er1 >conftest.err
40553 rm -f conftest.er1
40554 cat conftest.err >&5
40555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40556 (exit $ac_status); } &&
40557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40559 (eval $ac_try) 2>&5
40560 ac_status=$?
40561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40562 (exit $ac_status); }; } &&
40563 { ac_try='test -s conftest$ac_exeext'
40564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40565 (eval $ac_try) 2>&5
40566 ac_status=$?
40567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40568 (exit $ac_status); }; }; then
40569 eval "$as_ac_var=yes"
40570 else
40571 echo "$as_me: failed program was:" >&5
40572 sed 's/^/| /' conftest.$ac_ext >&5
40573
40574 eval "$as_ac_var=no"
40575 fi
40576 rm -f conftest.err conftest.$ac_objext \
40577 conftest$ac_exeext conftest.$ac_ext
40578 fi
40579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40581 if test `eval echo '${'$as_ac_var'}'` = yes; then
40582 cat >>confdefs.h <<_ACEOF
40583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40584 _ACEOF
40585 have_ceil=1
40586 fi
40587 done
40588
40589 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40590 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40591 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40592 echo "$as_me:$LINENO: result: yes" >&5
40593 echo "${ECHO_T}yes" >&6
40594 else
40595 echo "$as_me:$LINENO: result: no" >&5
40596 echo "${ECHO_T}no" >&6
40597 # not sure we should warn the user, crash, etc.
40598 fi
40599 fi
40600
40601 if test "$wxUSE_GUI" = "yes"; then
40602
40603
40604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
40605 dynamic erase event exec font image minimal mobile \
40606 mobile/wxedit mobile/styles propsize render \
40607 richedit rotate shaped vscroll widgets"
40608
40609 if test "$wxUSE_MONOLITHIC" != "yes"; then
40610 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
40611 fi
40612 if test "$TOOLKIT" = "MSW"; then
40613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
40614 if test "$wxUSE_UNIVERSAL" != "yes"; then
40615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
40616 fi
40617 fi
40618 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
40619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
40620 fi
40621 else
40622 SAMPLES_SUBDIRS="console"
40623 fi
40624
40625
40626 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40627 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40628
40629 if test "$GXX" = yes ; then
40630 CWARNINGS="-Wall"
40631 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
40632 fi
40633
40634 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40635
40636 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40637 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40638 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40639
40640 if test "x$MWCC" = "xyes"; then
40641
40642 CC="$CC -cwd source -I-"
40643 CXX="$CXX -cwd source -I-"
40644 fi
40645
40646
40647 LIBS=`echo $LIBS`
40648 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40649 EXTRALIBS_XML="$EXPAT_LINK"
40650 EXTRALIBS_HTML="$MSPACK_LINK"
40651 EXTRALIBS_ODBC="$ODBC_LINK"
40652 if test "$wxUSE_GUI" = "yes"; then
40653 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40654 fi
40655 if test "$wxUSE_OPENGL" = "yes"; then
40656 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
40657 fi
40658
40659 LDFLAGS="$LDFLAGS $PROFILE"
40660
40661 if test "$wxUSE_GTK" = 1; then
40662 WXCONFIG_INCLUDE=
40663 else
40664 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
40665 fi
40666
40667 WXCONFIG_EXTRALIBS="$LIBS"
40668
40669 if test "$wxUSE_REGEX" = "builtin" ; then
40670 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
40671 fi
40672 if test "$wxUSE_EXPAT" = "builtin" ; then
40673 wxconfig_3rdparty="expat $wxconfig_3rdparty"
40674 fi
40675 if test "$wxUSE_ODBC" = "builtin" ; then
40676 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
40677 fi
40678 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40679 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
40680 fi
40681 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40682 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
40683 fi
40684 if test "$wxUSE_LIBPNG" = "builtin" ; then
40685 wxconfig_3rdparty="png $wxconfig_3rdparty"
40686 fi
40687 if test "$wxUSE_ZLIB" = "builtin" ; then
40688 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
40689 fi
40690
40691 for i in $wxconfig_3rdparty ; do
40692 WXCONFIG_EXTRALIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
40693 done
40694
40695
40696 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40697 WXUNIV=1
40698 else
40699 WXUNIV=0
40700 fi
40701
40702
40703
40704
40705
40706
40707
40708
40709
40710 if test $wxUSE_MONOLITHIC = "yes" ; then
40711 MONOLITHIC=1
40712 else
40713 MONOLITHIC=0
40714 fi
40715
40716 if test $wxUSE_PLUGINS = "yes" ; then
40717 USE_PLUGINS=1
40718 else
40719 USE_PLUGINS=0
40720 fi
40721
40722 if test $wxUSE_ODBC != "no" ; then
40723 USE_ODBC=1
40724 else
40725 USE_ODBC=0
40726 fi
40727
40728 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40729 USE_QA=1
40730 else
40731 USE_QA=0
40732 fi
40733
40734 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40735 OFFICIAL_BUILD=1
40736 else
40737 OFFICIAL_BUILD=0
40738 fi
40739
40740
40741
40742
40743
40744
40745
40746
40747
40748
40749
40750
40751
40752
40753
40754
40755
40756
40757
40758
40759
40760
40761
40762 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40763
40764
40765
40766
40767
40768
40769
40770
40771 case "$TOOLKIT" in
40772 GTK)
40773 TOOLKIT_USER="GTK+"
40774 if test "$WXGTK20" = 1; then
40775 TOOLKIT_USER="$TOOLKIT_USER 2"
40776 fi
40777 ;;
40778
40779 *)
40780 TOOLKIT_USER=$TOOLKIT_LOWERCASE
40781 ;;
40782 esac
40783
40784
40785
40786
40787 if test "x$BAKEFILE_HOST" = "x"; then
40788 BAKEFILE_HOST="${host}"
40789 fi
40790
40791 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40792
40793 if test -n "$ac_tool_prefix"; then
40794 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40795 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
40796 echo "$as_me:$LINENO: checking for $ac_word" >&5
40797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40798 if test "${ac_cv_prog_RANLIB+set}" = set; then
40799 echo $ECHO_N "(cached) $ECHO_C" >&6
40800 else
40801 if test -n "$RANLIB"; then
40802 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
40803 else
40804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40805 for as_dir in $PATH
40806 do
40807 IFS=$as_save_IFS
40808 test -z "$as_dir" && as_dir=.
40809 for ac_exec_ext in '' $ac_executable_extensions; do
40810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40811 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
40812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40813 break 2
40814 fi
40815 done
40816 done
40817
40818 fi
40819 fi
40820 RANLIB=$ac_cv_prog_RANLIB
40821 if test -n "$RANLIB"; then
40822 echo "$as_me:$LINENO: result: $RANLIB" >&5
40823 echo "${ECHO_T}$RANLIB" >&6
40824 else
40825 echo "$as_me:$LINENO: result: no" >&5
40826 echo "${ECHO_T}no" >&6
40827 fi
40828
40829 fi
40830 if test -z "$ac_cv_prog_RANLIB"; then
40831 ac_ct_RANLIB=$RANLIB
40832 # Extract the first word of "ranlib", so it can be a program name with args.
40833 set dummy ranlib; ac_word=$2
40834 echo "$as_me:$LINENO: checking for $ac_word" >&5
40835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40836 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40837 echo $ECHO_N "(cached) $ECHO_C" >&6
40838 else
40839 if test -n "$ac_ct_RANLIB"; then
40840 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
40841 else
40842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40843 for as_dir in $PATH
40844 do
40845 IFS=$as_save_IFS
40846 test -z "$as_dir" && as_dir=.
40847 for ac_exec_ext in '' $ac_executable_extensions; do
40848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40849 ac_cv_prog_ac_ct_RANLIB="ranlib"
40850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40851 break 2
40852 fi
40853 done
40854 done
40855
40856 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
40857 fi
40858 fi
40859 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
40860 if test -n "$ac_ct_RANLIB"; then
40861 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40862 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40863 else
40864 echo "$as_me:$LINENO: result: no" >&5
40865 echo "${ECHO_T}no" >&6
40866 fi
40867
40868 RANLIB=$ac_ct_RANLIB
40869 else
40870 RANLIB="$ac_cv_prog_RANLIB"
40871 fi
40872
40873 # Find a good install program. We prefer a C program (faster),
40874 # so one script is as good as another. But avoid the broken or
40875 # incompatible versions:
40876 # SysV /etc/install, /usr/sbin/install
40877 # SunOS /usr/etc/install
40878 # IRIX /sbin/install
40879 # AIX /bin/install
40880 # AmigaOS /C/install, which installs bootblocks on floppy discs
40881 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40882 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40883 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40884 # OS/2's system install, which has a completely different semantic
40885 # ./install, which can be erroneously created by make from ./install.sh.
40886 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40887 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40888 if test -z "$INSTALL"; then
40889 if test "${ac_cv_path_install+set}" = set; then
40890 echo $ECHO_N "(cached) $ECHO_C" >&6
40891 else
40892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40893 for as_dir in $PATH
40894 do
40895 IFS=$as_save_IFS
40896 test -z "$as_dir" && as_dir=.
40897 # Account for people who put trailing slashes in PATH elements.
40898 case $as_dir/ in
40899 ./ | .// | /cC/* | \
40900 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
40901 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
40902 /usr/ucb/* ) ;;
40903 *)
40904 # OSF1 and SCO ODT 3.0 have their own names for install.
40905 # Don't use installbsd from OSF since it installs stuff as root
40906 # by default.
40907 for ac_prog in ginstall scoinst install; do
40908 for ac_exec_ext in '' $ac_executable_extensions; do
40909 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40910 if test $ac_prog = install &&
40911 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40912 # AIX install. It has an incompatible calling convention.
40913 :
40914 elif test $ac_prog = install &&
40915 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40916 # program-specific install script used by HP pwplus--don't use.
40917 :
40918 else
40919 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
40920 break 3
40921 fi
40922 fi
40923 done
40924 done
40925 ;;
40926 esac
40927 done
40928
40929
40930 fi
40931 if test "${ac_cv_path_install+set}" = set; then
40932 INSTALL=$ac_cv_path_install
40933 else
40934 # As a last resort, use the slow shell script. We don't cache a
40935 # path for INSTALL within a source directory, because that will
40936 # break other packages using the cache if that directory is
40937 # removed, or if the path is relative.
40938 INSTALL=$ac_install_sh
40939 fi
40940 fi
40941 echo "$as_me:$LINENO: result: $INSTALL" >&5
40942 echo "${ECHO_T}$INSTALL" >&6
40943
40944 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40945 # It thinks the first close brace ends the variable substitution.
40946 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
40947
40948 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
40949
40950 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
40951
40952 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40953 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40954 LN_S=$as_ln_s
40955 if test "$LN_S" = "ln -s"; then
40956 echo "$as_me:$LINENO: result: yes" >&5
40957 echo "${ECHO_T}yes" >&6
40958 else
40959 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
40960 echo "${ECHO_T}no, using $LN_S" >&6
40961 fi
40962
40963
40964 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40965 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40966 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
40967 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40968 echo $ECHO_N "(cached) $ECHO_C" >&6
40969 else
40970 cat >conftest.make <<\_ACEOF
40971 all:
40972 @echo 'ac_maketemp="$(MAKE)"'
40973 _ACEOF
40974 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40975 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40976 if test -n "$ac_maketemp"; then
40977 eval ac_cv_prog_make_${ac_make}_set=yes
40978 else
40979 eval ac_cv_prog_make_${ac_make}_set=no
40980 fi
40981 rm -f conftest.make
40982 fi
40983 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40984 echo "$as_me:$LINENO: result: yes" >&5
40985 echo "${ECHO_T}yes" >&6
40986 SET_MAKE=
40987 else
40988 echo "$as_me:$LINENO: result: no" >&5
40989 echo "${ECHO_T}no" >&6
40990 SET_MAKE="MAKE=${MAKE-make}"
40991 fi
40992
40993
40994
40995 if test -n "$ac_tool_prefix"; then
40996 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
40997 set dummy ${ac_tool_prefix}ar; ac_word=$2
40998 echo "$as_me:$LINENO: checking for $ac_word" >&5
40999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41000 if test "${ac_cv_prog_AR+set}" = set; then
41001 echo $ECHO_N "(cached) $ECHO_C" >&6
41002 else
41003 if test -n "$AR"; then
41004 ac_cv_prog_AR="$AR" # Let the user override the test.
41005 else
41006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41007 for as_dir in $PATH
41008 do
41009 IFS=$as_save_IFS
41010 test -z "$as_dir" && as_dir=.
41011 for ac_exec_ext in '' $ac_executable_extensions; do
41012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41013 ac_cv_prog_AR="${ac_tool_prefix}ar"
41014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41015 break 2
41016 fi
41017 done
41018 done
41019
41020 fi
41021 fi
41022 AR=$ac_cv_prog_AR
41023 if test -n "$AR"; then
41024 echo "$as_me:$LINENO: result: $AR" >&5
41025 echo "${ECHO_T}$AR" >&6
41026 else
41027 echo "$as_me:$LINENO: result: no" >&5
41028 echo "${ECHO_T}no" >&6
41029 fi
41030
41031 fi
41032 if test -z "$ac_cv_prog_AR"; then
41033 ac_ct_AR=$AR
41034 # Extract the first word of "ar", so it can be a program name with args.
41035 set dummy ar; ac_word=$2
41036 echo "$as_me:$LINENO: checking for $ac_word" >&5
41037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41038 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41039 echo $ECHO_N "(cached) $ECHO_C" >&6
41040 else
41041 if test -n "$ac_ct_AR"; then
41042 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
41043 else
41044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41045 for as_dir in $PATH
41046 do
41047 IFS=$as_save_IFS
41048 test -z "$as_dir" && as_dir=.
41049 for ac_exec_ext in '' $ac_executable_extensions; do
41050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41051 ac_cv_prog_ac_ct_AR="ar"
41052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41053 break 2
41054 fi
41055 done
41056 done
41057
41058 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
41059 fi
41060 fi
41061 ac_ct_AR=$ac_cv_prog_ac_ct_AR
41062 if test -n "$ac_ct_AR"; then
41063 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41064 echo "${ECHO_T}$ac_ct_AR" >&6
41065 else
41066 echo "$as_me:$LINENO: result: no" >&5
41067 echo "${ECHO_T}no" >&6
41068 fi
41069
41070 AR=$ac_ct_AR
41071 else
41072 AR="$ac_cv_prog_AR"
41073 fi
41074
41075 if test -n "$ac_tool_prefix"; then
41076 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41077 set dummy ${ac_tool_prefix}strip; ac_word=$2
41078 echo "$as_me:$LINENO: checking for $ac_word" >&5
41079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41080 if test "${ac_cv_prog_STRIP+set}" = set; then
41081 echo $ECHO_N "(cached) $ECHO_C" >&6
41082 else
41083 if test -n "$STRIP"; then
41084 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
41085 else
41086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41087 for as_dir in $PATH
41088 do
41089 IFS=$as_save_IFS
41090 test -z "$as_dir" && as_dir=.
41091 for ac_exec_ext in '' $ac_executable_extensions; do
41092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41093 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
41094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41095 break 2
41096 fi
41097 done
41098 done
41099
41100 fi
41101 fi
41102 STRIP=$ac_cv_prog_STRIP
41103 if test -n "$STRIP"; then
41104 echo "$as_me:$LINENO: result: $STRIP" >&5
41105 echo "${ECHO_T}$STRIP" >&6
41106 else
41107 echo "$as_me:$LINENO: result: no" >&5
41108 echo "${ECHO_T}no" >&6
41109 fi
41110
41111 fi
41112 if test -z "$ac_cv_prog_STRIP"; then
41113 ac_ct_STRIP=$STRIP
41114 # Extract the first word of "strip", so it can be a program name with args.
41115 set dummy strip; ac_word=$2
41116 echo "$as_me:$LINENO: checking for $ac_word" >&5
41117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41118 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41119 echo $ECHO_N "(cached) $ECHO_C" >&6
41120 else
41121 if test -n "$ac_ct_STRIP"; then
41122 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
41123 else
41124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41125 for as_dir in $PATH
41126 do
41127 IFS=$as_save_IFS
41128 test -z "$as_dir" && as_dir=.
41129 for ac_exec_ext in '' $ac_executable_extensions; do
41130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41131 ac_cv_prog_ac_ct_STRIP="strip"
41132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41133 break 2
41134 fi
41135 done
41136 done
41137
41138 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
41139 fi
41140 fi
41141 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
41142 if test -n "$ac_ct_STRIP"; then
41143 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41144 echo "${ECHO_T}$ac_ct_STRIP" >&6
41145 else
41146 echo "$as_me:$LINENO: result: no" >&5
41147 echo "${ECHO_T}no" >&6
41148 fi
41149
41150 STRIP=$ac_ct_STRIP
41151 else
41152 STRIP="$ac_cv_prog_STRIP"
41153 fi
41154
41155 if test -n "$ac_tool_prefix"; then
41156 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
41157 set dummy ${ac_tool_prefix}nm; ac_word=$2
41158 echo "$as_me:$LINENO: checking for $ac_word" >&5
41159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41160 if test "${ac_cv_prog_NM+set}" = set; then
41161 echo $ECHO_N "(cached) $ECHO_C" >&6
41162 else
41163 if test -n "$NM"; then
41164 ac_cv_prog_NM="$NM" # Let the user override the test.
41165 else
41166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41167 for as_dir in $PATH
41168 do
41169 IFS=$as_save_IFS
41170 test -z "$as_dir" && as_dir=.
41171 for ac_exec_ext in '' $ac_executable_extensions; do
41172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41173 ac_cv_prog_NM="${ac_tool_prefix}nm"
41174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41175 break 2
41176 fi
41177 done
41178 done
41179
41180 fi
41181 fi
41182 NM=$ac_cv_prog_NM
41183 if test -n "$NM"; then
41184 echo "$as_me:$LINENO: result: $NM" >&5
41185 echo "${ECHO_T}$NM" >&6
41186 else
41187 echo "$as_me:$LINENO: result: no" >&5
41188 echo "${ECHO_T}no" >&6
41189 fi
41190
41191 fi
41192 if test -z "$ac_cv_prog_NM"; then
41193 ac_ct_NM=$NM
41194 # Extract the first word of "nm", so it can be a program name with args.
41195 set dummy nm; ac_word=$2
41196 echo "$as_me:$LINENO: checking for $ac_word" >&5
41197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41198 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
41199 echo $ECHO_N "(cached) $ECHO_C" >&6
41200 else
41201 if test -n "$ac_ct_NM"; then
41202 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
41203 else
41204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41205 for as_dir in $PATH
41206 do
41207 IFS=$as_save_IFS
41208 test -z "$as_dir" && as_dir=.
41209 for ac_exec_ext in '' $ac_executable_extensions; do
41210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41211 ac_cv_prog_ac_ct_NM="nm"
41212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41213 break 2
41214 fi
41215 done
41216 done
41217
41218 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
41219 fi
41220 fi
41221 ac_ct_NM=$ac_cv_prog_ac_ct_NM
41222 if test -n "$ac_ct_NM"; then
41223 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
41224 echo "${ECHO_T}$ac_ct_NM" >&6
41225 else
41226 echo "$as_me:$LINENO: result: no" >&5
41227 echo "${ECHO_T}no" >&6
41228 fi
41229
41230 NM=$ac_ct_NM
41231 else
41232 NM="$ac_cv_prog_NM"
41233 fi
41234
41235
41236 case ${BAKEFILE_HOST} in
41237 *-hp-hpux* )
41238 INSTALL_DIR="mkdir -p"
41239 ;;
41240 *) INSTALL_DIR="$INSTALL -d"
41241 ;;
41242 esac
41243
41244
41245 LDFLAGS_GUI=
41246 case ${BAKEFILE_HOST} in
41247 *-*-cygwin* | *-*-mingw32* )
41248 LDFLAGS_GUI="-mwindows"
41249 esac
41250
41251
41252 fi
41253
41254 echo "$as_me:$LINENO: checking if make is GNU make" >&5
41255 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
41256 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
41257 echo $ECHO_N "(cached) $ECHO_C" >&6
41258 else
41259
41260 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
41261 egrep -s GNU > /dev/null); then
41262 bakefile_cv_prog_makeisgnu="yes"
41263 else
41264 bakefile_cv_prog_makeisgnu="no"
41265 fi
41266
41267 fi
41268 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41269 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41270
41271 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41272 IF_GNU_MAKE=""
41273 else
41274 IF_GNU_MAKE="#"
41275 fi
41276
41277
41278
41279 PLATFORM_UNIX=0
41280 PLATFORM_WIN32=0
41281 PLATFORM_MSDOS=0
41282 PLATFORM_MAC=0
41283 PLATFORM_MACOS=0
41284 PLATFORM_MACOSX=0
41285 PLATFORM_OS2=0
41286 PLATFORM_BEOS=0
41287
41288 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41289 case "${BAKEFILE_HOST}" in
41290 *-*-cygwin* | *-*-mingw32* )
41291 PLATFORM_WIN32=1
41292 ;;
41293 *-pc-msdosdjgpp )
41294 PLATFORM_MSDOS=1
41295 ;;
41296 *-pc-os2_emx | *-pc-os2-emx )
41297 PLATFORM_OS2=1
41298 ;;
41299 powerpc-*-darwin* )
41300 PLATFORM_MAC=1
41301 PLATFORM_MACOSX=1
41302 ;;
41303 *-*-beos* )
41304 PLATFORM_BEOS=1
41305 ;;
41306 powerpc-apple-macos* )
41307 PLATFORM_MAC=1
41308 PLATFORM_MACOS=1
41309 ;;
41310 * )
41311 PLATFORM_UNIX=1
41312 ;;
41313 esac
41314 else
41315 case "$BAKEFILE_FORCE_PLATFORM" in
41316 win32 )
41317 PLATFORM_WIN32=1
41318 ;;
41319 msdos )
41320 PLATFORM_MSDOS=1
41321 ;;
41322 os2 )
41323 PLATFORM_OS2=1
41324 ;;
41325 darwin )
41326 PLATFORM_MAC=1
41327 PLATFORM_MACOSX=1
41328 ;;
41329 unix )
41330 PLATFORM_UNIX=1
41331 ;;
41332 beos )
41333 PLATFORM_BEOS=1
41334 ;;
41335 * )
41336 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41337 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41338 { (exit 1); exit 1; }; }
41339 ;;
41340 esac
41341 fi
41342
41343
41344
41345
41346
41347
41348
41349
41350
41351
41352
41353 # Check whether --enable-omf or --disable-omf was given.
41354 if test "${enable_omf+set}" = set; then
41355 enableval="$enable_omf"
41356 bk_os2_use_omf="$enableval"
41357 fi;
41358
41359 case "${BAKEFILE_HOST}" in
41360 *-*-darwin* )
41361 CFLAGS="$CFLAGS -fno-common"
41362 CXXFLAGS="$CXXFLAGS -fno-common"
41363 ;;
41364
41365 *-pc-os2_emx | *-pc-os2-emx )
41366 if test "x$bk_os2_use_omf" = "xyes" ; then
41367 AR=emxomfar
41368 RANLIB=:
41369 LDFLAGS="-Zomf $LDFLAGS"
41370 CFLAGS="-Zomf $CFLAGS"
41371 CXXFLAGS="-Zomf $CXXFLAGS"
41372 OS2_LIBEXT="lib"
41373 else
41374 OS2_LIBEXT="a"
41375 fi
41376 ;;
41377
41378 i*86-*-beos* )
41379 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
41380 ;;
41381 esac
41382
41383
41384 SO_SUFFIX="so"
41385 SO_SUFFIX_MODULE="so"
41386 EXEEXT=""
41387 LIBPREFIX="lib"
41388 LIBEXT=".a"
41389 DLLPREFIX="lib"
41390 DLLPREFIX_MODULE=""
41391 DLLIMP_SUFFIX=""
41392
41393 case "${BAKEFILE_HOST}" in
41394 *-hp-hpux* )
41395 SO_SUFFIX="sl"
41396 SO_SUFFIX_MODULE="sl"
41397 ;;
41398 *-*-aix* )
41399 SO_SUFFIX="a"
41400 SO_SUFFIX_MODULE="a"
41401 ;;
41402 *-*-cygwin* | *-*-mingw32* )
41403 SO_SUFFIX="dll"
41404 SO_SUFFIX_MODULE="dll"
41405 DLLIMP_SUFFIX="dll.a"
41406 EXEEXT=".exe"
41407 DLLPREFIX=""
41408 ;;
41409 *-pc-msdosdjgpp )
41410 EXEEXT=".exe"
41411 DLLPREFIX=""
41412 ;;
41413 *-pc-os2_emx | *-pc-os2-emx )
41414 SO_SUFFIX="dll"
41415 SO_SUFFIX_MODULE="dll"
41416 DLLIMP_SUFFIX=$OS2_LIBEXT
41417 EXEEXT=".exe"
41418 DLLPREFIX=""
41419 LIBPREFIX=""
41420 LIBEXT=".$OS2_LIBEXT"
41421 ;;
41422 powerpc-*-darwin* )
41423 SO_SUFFIX="dylib"
41424 SO_SUFFIX_MODULE="bundle"
41425 ;;
41426 esac
41427
41428 if test "x$DLLIMP_SUFFIX" = "x" ; then
41429 DLLIMP_SUFFIX="$SO_SUFFIX"
41430 fi
41431
41432
41433
41434
41435
41436
41437
41438
41439
41440
41441
41442 PIC_FLAG=""
41443 if test "x$GCC" = "xyes"; then
41444 PIC_FLAG="-fPIC"
41445 fi
41446
41447 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
41448 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
41449
41450 case "${BAKEFILE_HOST}" in
41451 *-hp-hpux* )
41452 if test "x$GCC" != "xyes"; then
41453 LDFLAGS="$LDFLAGS -L/usr/lib"
41454
41455 SHARED_LD_CC="${CC} -b -o"
41456 SHARED_LD_CXX="${CXX} -b -o"
41457 PIC_FLAG="+Z"
41458 fi
41459 ;;
41460
41461 *-*-linux* )
41462 if test "x$GCC" != "xyes"; then
41463 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41464 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41465 if test "${bakefile_cv_prog_icc+set}" = set; then
41466 echo $ECHO_N "(cached) $ECHO_C" >&6
41467 else
41468
41469 cat >conftest.$ac_ext <<_ACEOF
41470 /* confdefs.h. */
41471 _ACEOF
41472 cat confdefs.h >>conftest.$ac_ext
41473 cat >>conftest.$ac_ext <<_ACEOF
41474 /* end confdefs.h. */
41475
41476 int
41477 main ()
41478 {
41479
41480 #ifndef __INTEL_COMPILER
41481 #error Not icc
41482 #endif
41483
41484 ;
41485 return 0;
41486 }
41487 _ACEOF
41488 rm -f conftest.$ac_objext
41489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41490 (eval $ac_compile) 2>conftest.er1
41491 ac_status=$?
41492 grep -v '^ *+' conftest.er1 >conftest.err
41493 rm -f conftest.er1
41494 cat conftest.err >&5
41495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41496 (exit $ac_status); } &&
41497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41499 (eval $ac_try) 2>&5
41500 ac_status=$?
41501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41502 (exit $ac_status); }; } &&
41503 { ac_try='test -s conftest.$ac_objext'
41504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41505 (eval $ac_try) 2>&5
41506 ac_status=$?
41507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41508 (exit $ac_status); }; }; then
41509 bakefile_cv_prog_icc=yes
41510 else
41511 echo "$as_me: failed program was:" >&5
41512 sed 's/^/| /' conftest.$ac_ext >&5
41513
41514 bakefile_cv_prog_icc=no
41515
41516 fi
41517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41518
41519 fi
41520 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41521 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41522 if test "$bakefile_cv_prog_icc" = "yes"; then
41523 PIC_FLAG="-KPIC"
41524 fi
41525 fi
41526 ;;
41527
41528 *-*-solaris2* )
41529 if test "x$GCC" != xyes ; then
41530 SHARED_LD_CC="${CC} -G -o"
41531 SHARED_LD_CXX="${CXX} -G -o"
41532 PIC_FLAG="-KPIC"
41533 fi
41534 ;;
41535
41536 *-*-darwin* )
41537
41538 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41539 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41540 if test "${wx_cv_gcc31+set}" = set; then
41541 echo $ECHO_N "(cached) $ECHO_C" >&6
41542 else
41543
41544 cat >conftest.$ac_ext <<_ACEOF
41545 /* confdefs.h. */
41546 _ACEOF
41547 cat confdefs.h >>conftest.$ac_ext
41548 cat >>conftest.$ac_ext <<_ACEOF
41549 /* end confdefs.h. */
41550
41551 int
41552 main ()
41553 {
41554
41555 #if (__GNUC__ < 3) || \
41556 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41557 #error old gcc
41558 #endif
41559
41560 ;
41561 return 0;
41562 }
41563 _ACEOF
41564 rm -f conftest.$ac_objext
41565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41566 (eval $ac_compile) 2>conftest.er1
41567 ac_status=$?
41568 grep -v '^ *+' conftest.er1 >conftest.err
41569 rm -f conftest.er1
41570 cat conftest.err >&5
41571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41572 (exit $ac_status); } &&
41573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41575 (eval $ac_try) 2>&5
41576 ac_status=$?
41577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41578 (exit $ac_status); }; } &&
41579 { ac_try='test -s conftest.$ac_objext'
41580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41581 (eval $ac_try) 2>&5
41582 ac_status=$?
41583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41584 (exit $ac_status); }; }; then
41585
41586 wx_cv_gcc31=yes
41587
41588 else
41589 echo "$as_me: failed program was:" >&5
41590 sed 's/^/| /' conftest.$ac_ext >&5
41591
41592
41593 wx_cv_gcc31=no
41594
41595
41596 fi
41597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41598
41599 fi
41600 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41601 echo "${ECHO_T}$wx_cv_gcc31" >&6
41602 if test "$wx_cv_gcc31" = "no"; then
41603
41604 D='$'
41605 cat <<EOF >shared-ld-sh
41606 #!/bin/sh
41607 #-----------------------------------------------------------------------------
41608 #-- Name: distrib/mac/shared-ld-sh
41609 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41610 #-- Author: Gilles Depeyrot
41611 #-- Copyright: (c) 2002 Gilles Depeyrot
41612 #-- Licence: any use permitted
41613 #-----------------------------------------------------------------------------
41614
41615 verbose=0
41616 args=""
41617 objects=""
41618 linking_flag="-dynamiclib"
41619
41620 while test ${D}# -gt 0; do
41621 case ${D}1 in
41622
41623 -v)
41624 verbose=1
41625 ;;
41626
41627 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41628 # collect these options and values
41629 args="${D}{args} ${D}1 ${D}2"
41630 shift
41631 ;;
41632
41633 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41634 # collect these options
41635 args="${D}{args} ${D}1"
41636 ;;
41637
41638 -dynamiclib|-bundle)
41639 linking_flag="${D}1"
41640 ;;
41641
41642 -*)
41643 echo "shared-ld: unhandled option '${D}1'"
41644 exit 1
41645 ;;
41646
41647 *.o | *.a | *.dylib)
41648 # collect object files
41649 objects="${D}{objects} ${D}1"
41650 ;;
41651
41652 *)
41653 echo "shared-ld: unhandled argument '${D}1'"
41654 exit 1
41655 ;;
41656
41657 esac
41658 shift
41659 done
41660
41661 #
41662 # Link one module containing all the others
41663 #
41664 if test ${D}{verbose} = 1; then
41665 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41666 fi
41667 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41668 status=${D}?
41669 if test ${D}{status} != 0; then
41670 exit ${D}{status}
41671 fi
41672
41673 #
41674 # Link the shared library from the single module created
41675 #
41676 if test ${D}{verbose} = 1; then
41677 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41678 fi
41679 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41680 status=${D}?
41681 if test ${D}{status} != 0; then
41682 exit ${D}{status}
41683 fi
41684
41685 #
41686 # Remove intermediate module
41687 #
41688 rm -f master.${D}${D}.o
41689
41690 exit 0
41691 EOF
41692
41693 chmod +x shared-ld-sh
41694
41695 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41696 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41697 SHARED_LD_CXX="$SHARED_LD_CC"
41698 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
41699 else
41700 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41701 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41702 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41703 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41704 fi
41705
41706 PIC_FLAG="-dynamic -fPIC"
41707 ;;
41708
41709 *-*-aix* )
41710 if test "x$GCC" != "xyes"; then
41711 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41712 set dummy makeC++SharedLib; ac_word=$2
41713 echo "$as_me:$LINENO: checking for $ac_word" >&5
41714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41715 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41716 echo $ECHO_N "(cached) $ECHO_C" >&6
41717 else
41718 if test -n "$AIX_CXX_LD"; then
41719 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
41720 else
41721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41722 for as_dir in $PATH
41723 do
41724 IFS=$as_save_IFS
41725 test -z "$as_dir" && as_dir=.
41726 for ac_exec_ext in '' $ac_executable_extensions; do
41727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41728 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
41729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41730 break 2
41731 fi
41732 done
41733 done
41734
41735 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
41736 fi
41737 fi
41738 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
41739 if test -n "$AIX_CXX_LD"; then
41740 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41741 echo "${ECHO_T}$AIX_CXX_LD" >&6
41742 else
41743 echo "$as_me:$LINENO: result: no" >&5
41744 echo "${ECHO_T}no" >&6
41745 fi
41746
41747 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
41748 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
41749 fi
41750 ;;
41751
41752 *-*-beos* )
41753 SHARED_LD_CC="${LD} -nostart -o"
41754 SHARED_LD_CXX="${LD} -nostart -o"
41755 ;;
41756
41757 *-*-irix* )
41758 if test "x$GCC" != "xyes"; then
41759 PIC_FLAG="-KPIC"
41760 fi
41761 ;;
41762
41763 *-*-cygwin* | *-*-mingw32* )
41764 PIC_FLAG=""
41765 SHARED_LD_CC="\$(CC) -shared -o"
41766 SHARED_LD_CXX="\$(CXX) -shared -o"
41767 ;;
41768
41769 *-pc-os2_emx | *-pc-os2-emx )
41770 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41771 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41772 PIC_FLAG=""
41773
41774 D='$'
41775 cat <<EOF >dllar.sh
41776 #!/bin/sh
41777 #
41778 # dllar - a tool to build both a .dll and an .a file
41779 # from a set of object (.o) files for EMX/OS2.
41780 #
41781 # Written by Andrew Zabolotny, bit@freya.etu.ru
41782 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41783 #
41784 # This script will accept a set of files on the command line.
41785 # All the public symbols from the .o files will be exported into
41786 # a .DEF file, then linker will be run (through gcc) against them to
41787 # build a shared library consisting of all given .o files. All libraries
41788 # (.a) will be first decompressed into component .o files then act as
41789 # described above. You can optionally give a description (-d "description")
41790 # which will be put into .DLL. To see the list of accepted options (as well
41791 # as command-line format) simply run this program without options. The .DLL
41792 # is built to be imported by name (there is no guarantee that new versions
41793 # of the library you build will have same ordinals for same symbols).
41794 #
41795 # dllar is free software; you can redistribute it and/or modify
41796 # it under the terms of the GNU General Public License as published by
41797 # the Free Software Foundation; either version 2, or (at your option)
41798 # any later version.
41799 #
41800 # dllar is distributed in the hope that it will be useful,
41801 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41802 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41803 # GNU General Public License for more details.
41804 #
41805 # You should have received a copy of the GNU General Public License
41806 # along with dllar; see the file COPYING. If not, write to the Free
41807 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41808 # 02111-1307, USA.
41809
41810 # To successfuly run this program you will need:
41811 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41812 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41813 # - gcc
41814 # (used to build the .dll)
41815 # - emxexp
41816 # (used to create .def file from .o files)
41817 # - emximp
41818 # (used to create .a file from .def file)
41819 # - GNU text utilites (cat, sort, uniq)
41820 # used to process emxexp output
41821 # - GNU file utilities (mv, rm)
41822 # - GNU sed
41823 # - lxlite (optional, see flag below)
41824 # (used for general .dll cleanup)
41825 #
41826
41827 flag_USE_LXLITE=1;
41828
41829 #
41830 # helper functions
41831 # basnam, variant of basename, which does _not_ remove the path, _iff_
41832 # second argument (suffix to remove) is given
41833 basnam(){
41834 case ${D}# in
41835 1)
41836 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41837 ;;
41838 2)
41839 echo ${D}1 | sed 's/'${D}2'${D}//'
41840 ;;
41841 *)
41842 echo "error in basnam ${D}*"
41843 exit 8
41844 ;;
41845 esac
41846 }
41847
41848 # Cleanup temporary files and output
41849 CleanUp() {
41850 cd ${D}curDir
41851 for i in ${D}inputFiles ; do
41852 case ${D}i in
41853 *!)
41854 rm -rf \`basnam ${D}i !\`
41855 ;;
41856 *)
41857 ;;
41858 esac
41859 done
41860
41861 # Kill result in case of failure as there is just to many stupid make/nmake
41862 # things out there which doesn't do this.
41863 if [ ${D}# -eq 0 ]; then
41864 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41865 fi
41866 }
41867
41868 # Print usage and exit script with rc=1.
41869 PrintHelp() {
41870 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41871 echo ' [-name-mangler-script script.sh]'
41872 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41873 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41874 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41875 echo ' [*.o] [*.a]'
41876 echo '*> "output_file" should have no extension.'
41877 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41878 echo ' The import library name is derived from this and is set to "name".a,'
41879 echo ' unless overridden by -import'
41880 echo '*> "importlib_name" should have no extension.'
41881 echo ' If it has the .o, or .a extension, it is automatically removed.'
41882 echo ' This name is used as the import library name and may be longer and'
41883 echo ' more descriptive than the DLL name which has to follow the old '
41884 echo ' 8.3 convention of FAT.'
41885 echo '*> "script.sh may be given to override the output_file name by a'
41886 echo ' different name. It is mainly useful if the regular make process'
41887 echo ' of some package does not take into account OS/2 restriction of'
41888 echo ' DLL name lengths. It takes the importlib name as input and is'
41889 echo ' supposed to procude a shorter name as output. The script should'
41890 echo ' expect to get importlib_name without extension and should produce'
41891 echo ' a (max.) 8 letter name without extension.'
41892 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41893 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41894 echo ' These flags will be put at the start of GCC command line.'
41895 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41896 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41897 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41898 echo ' If the last character of a symbol is "*", all symbols beginning'
41899 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41900 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41901 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41902 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41903 echo ' C runtime DLLs.'
41904 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41905 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41906 echo ' unchanged to GCC at the end of command line.'
41907 echo '*> If you create a DLL from a library and you do not specify -o,'
41908 echo ' the basename for DLL and import library will be set to library name,'
41909 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41910 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41911 echo ' library will be renamed into gcc_s.a.'
41912 echo '--------'
41913 echo 'Example:'
41914 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41915 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41916 CleanUp
41917 exit 1
41918 }
41919
41920 # Execute a command.
41921 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41922 # @Uses Whatever CleanUp() uses.
41923 doCommand() {
41924 echo "${D}*"
41925 eval ${D}*
41926 rcCmd=${D}?
41927
41928 if [ ${D}rcCmd -ne 0 ]; then
41929 echo "command failed, exit code="${D}rcCmd
41930 CleanUp
41931 exit ${D}rcCmd
41932 fi
41933 }
41934
41935 # main routine
41936 # setup globals
41937 cmdLine=${D}*
41938 outFile=""
41939 outimpFile=""
41940 inputFiles=""
41941 renameScript=""
41942 description=""
41943 CC=gcc.exe
41944 CFLAGS="-s -Zcrtdll"
41945 EXTRA_CFLAGS=""
41946 EXPORT_BY_ORDINALS=0
41947 exclude_symbols=""
41948 library_flags=""
41949 curDir=\`pwd\`
41950 curDirS=curDir
41951 case ${D}curDirS in
41952 */)
41953 ;;
41954 *)
41955 curDirS=${D}{curDirS}"/"
41956 ;;
41957 esac
41958 # Parse commandline
41959 libsToLink=0
41960 omfLinking=0
41961 while [ ${D}1 ]; do
41962 case ${D}1 in
41963 -ord*)
41964 EXPORT_BY_ORDINALS=1;
41965 ;;
41966 -o*)
41967 shift
41968 outFile=${D}1
41969 ;;
41970 -i*)
41971 shift
41972 outimpFile=${D}1
41973 ;;
41974 -name-mangler-script)
41975 shift
41976 renameScript=${D}1
41977 ;;
41978 -d*)
41979 shift
41980 description=${D}1
41981 ;;
41982 -f*)
41983 shift
41984 CFLAGS=${D}1
41985 ;;
41986 -c*)
41987 shift
41988 CC=${D}1
41989 ;;
41990 -h*)
41991 PrintHelp
41992 ;;
41993 -ex*)
41994 shift
41995 exclude_symbols=${D}{exclude_symbols}${D}1" "
41996 ;;
41997 -libf*)
41998 shift
41999 library_flags=${D}{library_flags}${D}1" "
42000 ;;
42001 -nocrt*)
42002 CFLAGS="-s"
42003 ;;
42004 -nolxl*)
42005 flag_USE_LXLITE=0
42006 ;;
42007 -* | /*)
42008 case ${D}1 in
42009 -L* | -l*)
42010 libsToLink=1
42011 ;;
42012 -Zomf)
42013 omfLinking=1
42014 ;;
42015 *)
42016 ;;
42017 esac
42018 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42019 ;;
42020 *.dll)
42021 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42022 if [ ${D}omfLinking -eq 1 ]; then
42023 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42024 else
42025 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42026 fi
42027 ;;
42028 *)
42029 found=0;
42030 if [ ${D}libsToLink -ne 0 ]; then
42031 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42032 else
42033 for file in ${D}1 ; do
42034 if [ -f ${D}file ]; then
42035 inputFiles="${D}{inputFiles} ${D}file"
42036 found=1
42037 fi
42038 done
42039 if [ ${D}found -eq 0 ]; then
42040 echo "ERROR: No file(s) found: "${D}1
42041 exit 8
42042 fi
42043 fi
42044 ;;
42045 esac
42046 shift
42047 done # iterate cmdline words
42048
42049 #
42050 if [ -z "${D}inputFiles" ]; then
42051 echo "dllar: no input files"
42052 PrintHelp
42053 fi
42054
42055 # Now extract all .o files from .a files
42056 newInputFiles=""
42057 for file in ${D}inputFiles ; do
42058 case ${D}file in
42059 *.a | *.lib)
42060 case ${D}file in
42061 *.a)
42062 suffix=".a"
42063 AR="ar"
42064 ;;
42065 *.lib)
42066 suffix=".lib"
42067 AR="emxomfar"
42068 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42069 ;;
42070 *)
42071 ;;
42072 esac
42073 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42074 mkdir ${D}dirname
42075 if [ ${D}? -ne 0 ]; then
42076 echo "Failed to create subdirectory ./${D}dirname"
42077 CleanUp
42078 exit 8;
42079 fi
42080 # Append '!' to indicate archive
42081 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42082 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42083 cd ${D}curDir
42084 found=0;
42085 for subfile in ${D}dirname/*.o* ; do
42086 if [ -f ${D}subfile ]; then
42087 found=1
42088 if [ -s ${D}subfile ]; then
42089 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42090 newInputFiles="${D}newInputFiles ${D}subfile"
42091 fi
42092 fi
42093 done
42094 if [ ${D}found -eq 0 ]; then
42095 echo "WARNING: there are no files in archive \\'${D}file\\'"
42096 fi
42097 ;;
42098 *)
42099 newInputFiles="${D}{newInputFiles} ${D}file"
42100 ;;
42101 esac
42102 done
42103 inputFiles="${D}newInputFiles"
42104
42105 # Output filename(s).
42106 do_backup=0;
42107 if [ -z ${D}outFile ]; then
42108 do_backup=1;
42109 set outFile ${D}inputFiles; outFile=${D}2
42110 fi
42111
42112 # If it is an archive, remove the '!' and the '_%' suffixes
42113 case ${D}outFile in
42114 *_%!)
42115 outFile=\`basnam ${D}outFile _%!\`
42116 ;;
42117 *)
42118 ;;
42119 esac
42120 case ${D}outFile in
42121 *.dll)
42122 outFile=\`basnam ${D}outFile .dll\`
42123 ;;
42124 *.DLL)
42125 outFile=\`basnam ${D}outFile .DLL\`
42126 ;;
42127 *.o)
42128 outFile=\`basnam ${D}outFile .o\`
42129 ;;
42130 *.obj)
42131 outFile=\`basnam ${D}outFile .obj\`
42132 ;;
42133 *.a)
42134 outFile=\`basnam ${D}outFile .a\`
42135 ;;
42136 *.lib)
42137 outFile=\`basnam ${D}outFile .lib\`
42138 ;;
42139 *)
42140 ;;
42141 esac
42142 case ${D}outimpFile in
42143 *.a)
42144 outimpFile=\`basnam ${D}outimpFile .a\`
42145 ;;
42146 *.lib)
42147 outimpFile=\`basnam ${D}outimpFile .lib\`
42148 ;;
42149 *)
42150 ;;
42151 esac
42152 if [ -z ${D}outimpFile ]; then
42153 outimpFile=${D}outFile
42154 fi
42155 defFile="${D}{outFile}.def"
42156 arcFile="${D}{outimpFile}.a"
42157 arcFile2="${D}{outimpFile}.lib"
42158
42159 #create ${D}dllFile as something matching 8.3 restrictions,
42160 if [ -z ${D}renameScript ] ; then
42161 dllFile="${D}outFile"
42162 else
42163 dllFile=\`${D}renameScript ${D}outimpFile\`
42164 fi
42165
42166 if [ ${D}do_backup -ne 0 ] ; then
42167 if [ -f ${D}arcFile ] ; then
42168 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
42169 fi
42170 if [ -f ${D}arcFile2 ] ; then
42171 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
42172 fi
42173 fi
42174
42175 # Extract public symbols from all the object files.
42176 tmpdefFile=${D}{defFile}_%
42177 rm -f ${D}tmpdefFile
42178 for file in ${D}inputFiles ; do
42179 case ${D}file in
42180 *!)
42181 ;;
42182 *)
42183 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
42184 ;;
42185 esac
42186 done
42187
42188 # Create the def file.
42189 rm -f ${D}defFile
42190 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
42191 dllFile="${D}{dllFile}.dll"
42192 if [ ! -z ${D}description ]; then
42193 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
42194 fi
42195 echo "EXPORTS" >> ${D}defFile
42196
42197 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
42198 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
42199
42200 # Checks if the export is ok or not.
42201 for word in ${D}exclude_symbols; do
42202 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
42203 mv ${D}{tmpdefFile}% ${D}tmpdefFile
42204 done
42205
42206
42207 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42208 sed "=" < ${D}tmpdefFile | \\
42209 sed '
42210 N
42211 : loop
42212 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
42213 t loop
42214 ' > ${D}{tmpdefFile}%
42215 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
42216 else
42217 rm -f ${D}{tmpdefFile}%
42218 fi
42219 cat ${D}tmpdefFile >> ${D}defFile
42220 rm -f ${D}tmpdefFile
42221
42222 # Do linking, create implib, and apply lxlite.
42223 gccCmdl="";
42224 for file in ${D}inputFiles ; do
42225 case ${D}file in
42226 *!)
42227 ;;
42228 *)
42229 gccCmdl="${D}gccCmdl ${D}file"
42230 ;;
42231 esac
42232 done
42233 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
42234 touch "${D}{outFile}.dll"
42235
42236 doCommand "emximp -o ${D}arcFile ${D}defFile"
42237 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
42238 add_flags="";
42239 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42240 add_flags="-ynd"
42241 fi
42242 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
42243 fi
42244 doCommand "emxomf -s -l ${D}arcFile"
42245
42246 # Successful exit.
42247 CleanUp 1
42248 exit 0
42249 EOF
42250
42251 chmod +x dllar.sh
42252 ;;
42253
42254 powerpc-apple-macos* | \
42255 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42256 *-*-sunos4* | \
42257 *-*-osf* | \
42258 *-*-dgux5* | \
42259 *-*-sysv5* )
42260 ;;
42261
42262 *)
42263 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42264 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42265 { (exit 1); exit 1; }; }
42266 esac
42267
42268 if test "x$PIC_FLAG" != "x" ; then
42269 PIC_FLAG="$PIC_FLAG -DPIC"
42270 fi
42271
42272 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42273 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
42274 fi
42275 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42276 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
42277 fi
42278
42279
42280
42281
42282
42283
42284
42285
42286 USE_SOVERSION=0
42287 USE_SOVERLINUX=0
42288 USE_SOVERSOLARIS=0
42289 USE_SOSYMLINKS=0
42290 USE_MACVERSION=0
42291 SONAME_FLAG=
42292
42293 case "${BAKEFILE_HOST}" in
42294 *-*-linux* | *-*-freebsd* )
42295 SONAME_FLAG="-Wl,-soname,"
42296 USE_SOVERSION=1
42297 USE_SOVERLINUX=1
42298 USE_SOSYMLINKS=1
42299 ;;
42300
42301 *-*-solaris2* )
42302 SONAME_FLAG="-h "
42303 USE_SOVERSION=1
42304 USE_SOVERSOLARIS=1
42305 USE_SOSYMLINKS=1
42306 ;;
42307
42308 *-*-darwin* )
42309 USE_MACVERSION=1
42310 USE_SOVERSION=1
42311 USE_SOSYMLINKS=1
42312 ;;
42313 esac
42314
42315
42316
42317
42318
42319
42320
42321
42322
42323 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42324 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42325 DEPS_TRACKING=0
42326
42327 if test "x$GCC" = "xyes"; then
42328 DEPSMODE=gcc
42329 DEPS_TRACKING=1
42330 case "${BAKEFILE_HOST}" in
42331 powerpc-*-darwin* )
42332 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
42333 ;;
42334 * )
42335 DEPSFLAG_GCC="-MMD"
42336 ;;
42337 esac
42338 echo "$as_me:$LINENO: result: gcc" >&5
42339 echo "${ECHO_T}gcc" >&6
42340 elif test "x$MWCC" = "xyes"; then
42341 DEPSMODE=mwcc
42342 DEPS_TRACKING=1
42343 DEPSFLAG_MWCC="-MM"
42344 echo "$as_me:$LINENO: result: mwcc" >&5
42345 echo "${ECHO_T}mwcc" >&6
42346 else
42347 echo "$as_me:$LINENO: result: none" >&5
42348 echo "${ECHO_T}none" >&6
42349 fi
42350
42351 if test $DEPS_TRACKING = 1 ; then
42352
42353 D='$'
42354 cat <<EOF >bk-deps
42355 #!/bin/sh
42356
42357 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42358 # script. It is used to track C/C++ files dependencies in portable way.
42359 #
42360 # Permission is given to use this file in any way.
42361
42362 DEPSMODE=${DEPSMODE}
42363 DEPSDIR=.deps
42364 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42365 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42366
42367 mkdir -p ${D}DEPSDIR
42368
42369 if test ${D}DEPSMODE = gcc ; then
42370 ${D}* ${D}{DEPSFLAG_GCC}
42371 status=${D}?
42372 if test ${D}{status} != 0 ; then
42373 exit ${D}{status}
42374 fi
42375 # move created file to the location we want it in:
42376 while test ${D}# -gt 0; do
42377 case "${D}1" in
42378 -o )
42379 shift
42380 objfile=${D}1
42381 ;;
42382 -* )
42383 ;;
42384 * )
42385 srcfile=${D}1
42386 ;;
42387 esac
42388 shift
42389 done
42390 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42391 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42392 if test -f ${D}depfile ; then
42393 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42394 rm -f ${D}depfile
42395 else
42396 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42397 if test -f ${D}depfile ; then
42398 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42399 rm -f ${D}depfile
42400 fi
42401 fi
42402 exit 0
42403 elif test ${D}DEPSMODE = mwcc ; then
42404 ${D}*
42405 status=${D}?
42406 if test ${D}{status} != 0 ; then
42407 exit ${D}{status}
42408 fi
42409 # Run mwcc again with -MM and redirect into the dep file we want
42410 # NOTE: We can't use shift here because we need ${D}* to be valid
42411 prevarg=
42412 for arg in ${D}* ; do
42413 if test "${D}prevarg" = "-o"; then
42414 objfile=${D}arg
42415 else
42416 case "${D}arg" in
42417 -* )
42418 ;;
42419 * )
42420 srcfile=${D}arg
42421 ;;
42422 esac
42423 fi
42424 prevarg="${D}arg"
42425 done
42426 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42427 exit 0
42428 else
42429 ${D}*
42430 exit ${D}?
42431 fi
42432 EOF
42433
42434 chmod +x bk-deps
42435 fi
42436
42437
42438
42439
42440 RESCOMP=
42441 SETFILE=
42442
42443 case ${BAKEFILE_HOST} in
42444 *-*-cygwin* | *-*-mingw32* )
42445 if test "$build" != "$host" ; then
42446 RESCOMP=$host_alias-windres
42447 else
42448 # Extract the first word of "windres", so it can be a program name with args.
42449 set dummy windres; ac_word=$2
42450 echo "$as_me:$LINENO: checking for $ac_word" >&5
42451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42452 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42453 echo $ECHO_N "(cached) $ECHO_C" >&6
42454 else
42455 if test -n "$RESCOMP"; then
42456 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
42457 else
42458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42459 for as_dir in $PATH
42460 do
42461 IFS=$as_save_IFS
42462 test -z "$as_dir" && as_dir=.
42463 for ac_exec_ext in '' $ac_executable_extensions; do
42464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42465 ac_cv_prog_RESCOMP="windres"
42466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42467 break 2
42468 fi
42469 done
42470 done
42471
42472 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
42473 fi
42474 fi
42475 RESCOMP=$ac_cv_prog_RESCOMP
42476 if test -n "$RESCOMP"; then
42477 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42478 echo "${ECHO_T}$RESCOMP" >&6
42479 else
42480 echo "$as_me:$LINENO: result: no" >&5
42481 echo "${ECHO_T}no" >&6
42482 fi
42483
42484 fi
42485 ;;
42486
42487 *-*-darwin* | powerpc-apple-macos* )
42488 # Extract the first word of "Rez", so it can be a program name with args.
42489 set dummy Rez; ac_word=$2
42490 echo "$as_me:$LINENO: checking for $ac_word" >&5
42491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42492 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42493 echo $ECHO_N "(cached) $ECHO_C" >&6
42494 else
42495 if test -n "$RESCOMP"; then
42496 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
42497 else
42498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42499 for as_dir in $PATH
42500 do
42501 IFS=$as_save_IFS
42502 test -z "$as_dir" && as_dir=.
42503 for ac_exec_ext in '' $ac_executable_extensions; do
42504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42505 ac_cv_prog_RESCOMP="Rez"
42506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42507 break 2
42508 fi
42509 done
42510 done
42511
42512 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
42513 fi
42514 fi
42515 RESCOMP=$ac_cv_prog_RESCOMP
42516 if test -n "$RESCOMP"; then
42517 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42518 echo "${ECHO_T}$RESCOMP" >&6
42519 else
42520 echo "$as_me:$LINENO: result: no" >&5
42521 echo "${ECHO_T}no" >&6
42522 fi
42523
42524 # Extract the first word of "SetFile", so it can be a program name with args.
42525 set dummy SetFile; ac_word=$2
42526 echo "$as_me:$LINENO: checking for $ac_word" >&5
42527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42528 if test "${ac_cv_prog_SETFILE+set}" = set; then
42529 echo $ECHO_N "(cached) $ECHO_C" >&6
42530 else
42531 if test -n "$SETFILE"; then
42532 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
42533 else
42534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42535 for as_dir in $PATH
42536 do
42537 IFS=$as_save_IFS
42538 test -z "$as_dir" && as_dir=.
42539 for ac_exec_ext in '' $ac_executable_extensions; do
42540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42541 ac_cv_prog_SETFILE="SetFile"
42542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42543 break 2
42544 fi
42545 done
42546 done
42547
42548 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
42549 fi
42550 fi
42551 SETFILE=$ac_cv_prog_SETFILE
42552 if test -n "$SETFILE"; then
42553 echo "$as_me:$LINENO: result: $SETFILE" >&5
42554 echo "${ECHO_T}$SETFILE" >&6
42555 else
42556 echo "$as_me:$LINENO: result: no" >&5
42557 echo "${ECHO_T}no" >&6
42558 fi
42559
42560 ;;
42561 esac
42562
42563
42564
42565
42566
42567 BAKEFILE_BAKEFILE_M4_VERSION="0.1.8"
42568
42569
42570 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.8"
42571
42572
42573
42574 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42575 if test "${enable_precomp_headers+set}" = set; then
42576 enableval="$enable_precomp_headers"
42577 bk_use_pch="$enableval"
42578 fi;
42579
42580 GCC_PCH=0
42581
42582 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42583 if test "x$GCC" = "xyes"; then
42584 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42585 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42586 cat >conftest.$ac_ext <<_ACEOF
42587 /* confdefs.h. */
42588 _ACEOF
42589 cat confdefs.h >>conftest.$ac_ext
42590 cat >>conftest.$ac_ext <<_ACEOF
42591 /* end confdefs.h. */
42592
42593 int
42594 main ()
42595 {
42596
42597 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42598 #error "no pch support"
42599 #endif
42600 #if (__GNUC__ < 3)
42601 #error "no pch support"
42602 #endif
42603 #if (__GNUC__ == 3) && \
42604 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42605 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42606 #error "no pch support"
42607 #endif
42608
42609 ;
42610 return 0;
42611 }
42612 _ACEOF
42613 rm -f conftest.$ac_objext
42614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42615 (eval $ac_compile) 2>conftest.er1
42616 ac_status=$?
42617 grep -v '^ *+' conftest.er1 >conftest.err
42618 rm -f conftest.er1
42619 cat conftest.err >&5
42620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42621 (exit $ac_status); } &&
42622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42624 (eval $ac_try) 2>&5
42625 ac_status=$?
42626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42627 (exit $ac_status); }; } &&
42628 { ac_try='test -s conftest.$ac_objext'
42629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42630 (eval $ac_try) 2>&5
42631 ac_status=$?
42632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42633 (exit $ac_status); }; }; then
42634
42635 echo "$as_me:$LINENO: result: yes" >&5
42636 echo "${ECHO_T}yes" >&6
42637 GCC_PCH=1
42638
42639 else
42640 echo "$as_me: failed program was:" >&5
42641 sed 's/^/| /' conftest.$ac_ext >&5
42642
42643
42644 echo "$as_me:$LINENO: result: no" >&5
42645 echo "${ECHO_T}no" >&6
42646
42647 fi
42648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42649 if test $GCC_PCH = 1 ; then
42650
42651 D='$'
42652 cat <<EOF >bk-make-pch
42653 #!/bin/sh
42654
42655 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42656 # script. It is used to generated precompiled headers.
42657 #
42658 # Permission is given to use this file in any way.
42659
42660 outfile="${D}{1}"
42661 header="${D}{2}"
42662 shift
42663 shift
42664
42665 compiler=
42666 headerfile=
42667 while test ${D}{#} -gt 0; do
42668 case "${D}{1}" in
42669 -I* )
42670 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42671 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42672 headerfile="${D}{incdir}/${D}{header}"
42673 fi
42674 ;;
42675 esac
42676 compiler="${D}{compiler} ${D}{1}"
42677 shift
42678 done
42679
42680 if test "x${D}{headerfile}" = "x" ; then
42681 echo "error: can't find header ${D}{header} in include paths" >2
42682 else
42683 if test -f ${D}{outfile} ; then
42684 rm -f ${D}{outfile}
42685 else
42686 mkdir -p \`dirname ${D}{outfile}\`
42687 fi
42688 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42689 mkdir -p .deps
42690 # can do this because gcc is >= 3.4:
42691 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42692 exit ${D}{?}
42693 fi
42694 EOF
42695
42696 chmod +x bk-make-pch
42697 fi
42698 fi
42699 fi
42700
42701
42702
42703 COND_BUILD_DEBUG="#"
42704 if test "x$BUILD" = "xdebug" ; then
42705 COND_BUILD_DEBUG=""
42706 fi
42707
42708 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
42709 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42710 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
42711 fi
42712
42713 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
42714 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42715 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
42716 fi
42717
42718 COND_BUILD_DEBUG_UNICODE_0="#"
42719 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42720 COND_BUILD_DEBUG_UNICODE_0=""
42721 fi
42722
42723 COND_BUILD_DEBUG_UNICODE_1="#"
42724 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42725 COND_BUILD_DEBUG_UNICODE_1=""
42726 fi
42727
42728 COND_BUILD_RELEASE="#"
42729 if test "x$BUILD" = "xrelease" ; then
42730 COND_BUILD_RELEASE=""
42731 fi
42732
42733 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
42734 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42735 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
42736 fi
42737
42738 COND_BUILD_RELEASE_UNICODE_0="#"
42739 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42740 COND_BUILD_RELEASE_UNICODE_0=""
42741 fi
42742
42743 COND_BUILD_RELEASE_UNICODE_1="#"
42744 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42745 COND_BUILD_RELEASE_UNICODE_1=""
42746 fi
42747
42748 COND_DEBUG_FLAG_1="#"
42749 if test "x$DEBUG_FLAG" = "x1" ; then
42750 COND_DEBUG_FLAG_1=""
42751 fi
42752
42753 COND_DEBUG_INFO_0="#"
42754 if test "x$DEBUG_INFO" = "x0" ; then
42755 COND_DEBUG_INFO_0=""
42756 fi
42757
42758 COND_DEBUG_INFO_1="#"
42759 if test "x$DEBUG_INFO" = "x1" ; then
42760 COND_DEBUG_INFO_1=""
42761 fi
42762
42763 COND_DEPS_TRACKING_0="#"
42764 if test "x$DEPS_TRACKING" = "x0" ; then
42765 COND_DEPS_TRACKING_0=""
42766 fi
42767
42768 COND_DEPS_TRACKING_1="#"
42769 if test "x$DEPS_TRACKING" = "x1" ; then
42770 COND_DEPS_TRACKING_1=""
42771 fi
42772
42773 COND_GCC_PCH_1="#"
42774 if test "x$GCC_PCH" = "x1" ; then
42775 COND_GCC_PCH_1=""
42776 fi
42777
42778 COND_MONOLITHIC_0="#"
42779 if test "x$MONOLITHIC" = "x0" ; then
42780 COND_MONOLITHIC_0=""
42781 fi
42782
42783 COND_MONOLITHIC_0_SHARED_0="#"
42784 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42785 COND_MONOLITHIC_0_SHARED_0=""
42786 fi
42787
42788 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
42789 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42790 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
42791 fi
42792
42793 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
42794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42795 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
42796 fi
42797
42798 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
42799 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42800 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
42801 fi
42802
42803 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
42804 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42805 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
42806 fi
42807
42808 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
42809 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42810 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
42811 fi
42812
42813 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
42814 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42815 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
42816 fi
42817
42818 COND_MONOLITHIC_0_SHARED_1="#"
42819 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42820 COND_MONOLITHIC_0_SHARED_1=""
42821 fi
42822
42823 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
42824 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42825 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
42826 fi
42827
42828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
42829 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
42831 fi
42832
42833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
42834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
42836 fi
42837
42838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
42839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
42841 fi
42842
42843 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
42844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42845 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
42846 fi
42847
42848 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
42849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42850 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
42851 fi
42852
42853 COND_MONOLITHIC_0_USE_ODBC_1="#"
42854 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42855 COND_MONOLITHIC_0_USE_ODBC_1=""
42856 fi
42857
42858 COND_MONOLITHIC_1="#"
42859 if test "x$MONOLITHIC" = "x1" ; then
42860 COND_MONOLITHIC_1=""
42861 fi
42862
42863 COND_MONOLITHIC_1_SHARED_0="#"
42864 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42865 COND_MONOLITHIC_1_SHARED_0=""
42866 fi
42867
42868 COND_MONOLITHIC_1_SHARED_1="#"
42869 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42870 COND_MONOLITHIC_1_SHARED_1=""
42871 fi
42872
42873 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
42874 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42875 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
42876 fi
42877
42878 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
42879 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42880 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
42881 fi
42882
42883 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
42884 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
42886 fi
42887
42888 COND_PLATFORM_MACOSX_1="#"
42889 if test "x$PLATFORM_MACOSX" = "x1" ; then
42890 COND_PLATFORM_MACOSX_1=""
42891 fi
42892
42893 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
42894 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42895 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
42896 fi
42897
42898 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
42899 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42900 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
42901 fi
42902
42903 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
42904 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42905 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
42906 fi
42907
42908 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
42909 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42910 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
42911 fi
42912
42913 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
42914 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42915 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
42916 fi
42917
42918 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
42919 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42920 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
42921 fi
42922
42923 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
42924 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42925 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
42926 fi
42927
42928 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
42929 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42930 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
42931 fi
42932
42933 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
42934 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42935 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
42936 fi
42937
42938 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
42939 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42940 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
42941 fi
42942
42943 COND_PLATFORM_MACOS_1="#"
42944 if test "x$PLATFORM_MACOS" = "x1" ; then
42945 COND_PLATFORM_MACOS_1=""
42946 fi
42947
42948 COND_PLATFORM_MAC_1="#"
42949 if test "x$PLATFORM_MAC" = "x1" ; then
42950 COND_PLATFORM_MAC_1=""
42951 fi
42952
42953 COND_PLATFORM_OS2_1="#"
42954 if test "x$PLATFORM_OS2" = "x1" ; then
42955 COND_PLATFORM_OS2_1=""
42956 fi
42957
42958 COND_PLATFORM_UNIX_0="#"
42959 if test "x$PLATFORM_UNIX" = "x0" ; then
42960 COND_PLATFORM_UNIX_0=""
42961 fi
42962
42963 COND_PLATFORM_UNIX_1="#"
42964 if test "x$PLATFORM_UNIX" = "x1" ; then
42965 COND_PLATFORM_UNIX_1=""
42966 fi
42967
42968 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
42969 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
42970 COND_PLATFORM_UNIX_1_USE_GUI_1=""
42971 fi
42972
42973 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
42974 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
42975 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
42976 fi
42977
42978 COND_PLATFORM_WIN32_0="#"
42979 if test "x$PLATFORM_WIN32" = "x0" ; then
42980 COND_PLATFORM_WIN32_0=""
42981 fi
42982
42983 COND_PLATFORM_WIN32_1="#"
42984 if test "x$PLATFORM_WIN32" = "x1" ; then
42985 COND_PLATFORM_WIN32_1=""
42986 fi
42987
42988 COND_SHARED_0="#"
42989 if test "x$SHARED" = "x0" ; then
42990 COND_SHARED_0=""
42991 fi
42992
42993 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
42994 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
42995 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
42996 fi
42997
42998 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
42999 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43000 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
43001 fi
43002
43003 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
43004 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43005 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
43006 fi
43007
43008 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
43009 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43010 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
43011 fi
43012
43013 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
43014 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43015 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
43016 fi
43017
43018 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
43019 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43020 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
43021 fi
43022
43023 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
43024 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43025 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
43026 fi
43027
43028 COND_SHARED_0_USE_XRC_1="#"
43029 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43030 COND_SHARED_0_USE_XRC_1=""
43031 fi
43032
43033 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
43034 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43035 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
43036 fi
43037
43038 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
43039 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43040 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
43041 fi
43042
43043 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
43044 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43045 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
43046 fi
43047
43048 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
43049 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43050 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
43051 fi
43052
43053 COND_SHARED_1="#"
43054 if test "x$SHARED" = "x1" ; then
43055 COND_SHARED_1=""
43056 fi
43057
43058 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
43059 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43060 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
43061 fi
43062
43063 COND_SHARED_1_USE_XRC_1="#"
43064 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43065 COND_SHARED_1_USE_XRC_1=""
43066 fi
43067
43068 COND_TOOLKIT_="#"
43069 if test "x$TOOLKIT" = "x" ; then
43070 COND_TOOLKIT_=""
43071 fi
43072
43073 COND_TOOLKIT_COCOA="#"
43074 if test "x$TOOLKIT" = "xCOCOA" ; then
43075 COND_TOOLKIT_COCOA=""
43076 fi
43077
43078 COND_TOOLKIT_COCOA_USE_GUI_1="#"
43079 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
43080 COND_TOOLKIT_COCOA_USE_GUI_1=""
43081 fi
43082
43083 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
43084 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43085 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
43086 fi
43087
43088 COND_TOOLKIT_GTK="#"
43089 if test "x$TOOLKIT" = "xGTK" ; then
43090 COND_TOOLKIT_GTK=""
43091 fi
43092
43093 COND_TOOLKIT_GTK_USE_GUI_1="#"
43094 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
43095 COND_TOOLKIT_GTK_USE_GUI_1=""
43096 fi
43097
43098 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
43099 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43100 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
43101 fi
43102
43103 COND_TOOLKIT_MAC="#"
43104 if test "x$TOOLKIT" = "xMAC" ; then
43105 COND_TOOLKIT_MAC=""
43106 fi
43107
43108 COND_TOOLKIT_MAC_USE_GUI_1="#"
43109 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43110 COND_TOOLKIT_MAC_USE_GUI_1=""
43111 fi
43112
43113 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
43114 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43115 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
43116 fi
43117
43118 COND_TOOLKIT_MGL="#"
43119 if test "x$TOOLKIT" = "xMGL" ; then
43120 COND_TOOLKIT_MGL=""
43121 fi
43122
43123 COND_TOOLKIT_MGL_USE_GUI_1="#"
43124 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
43125 COND_TOOLKIT_MGL_USE_GUI_1=""
43126 fi
43127
43128 COND_TOOLKIT_MOTIF="#"
43129 if test "x$TOOLKIT" = "xMOTIF" ; then
43130 COND_TOOLKIT_MOTIF=""
43131 fi
43132
43133 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
43134 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
43135 COND_TOOLKIT_MOTIF_USE_GUI_1=""
43136 fi
43137
43138 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
43139 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43140 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
43141 fi
43142
43143 COND_TOOLKIT_MSW="#"
43144 if test "x$TOOLKIT" = "xMSW" ; then
43145 COND_TOOLKIT_MSW=""
43146 fi
43147
43148 COND_TOOLKIT_MSW_USE_GUI_1="#"
43149 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
43150 COND_TOOLKIT_MSW_USE_GUI_1=""
43151 fi
43152
43153 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
43154 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43155 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
43156 fi
43157
43158 COND_TOOLKIT_PM="#"
43159 if test "x$TOOLKIT" = "xPM" ; then
43160 COND_TOOLKIT_PM=""
43161 fi
43162
43163 COND_TOOLKIT_PM_USE_GUI_1="#"
43164 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
43165 COND_TOOLKIT_PM_USE_GUI_1=""
43166 fi
43167
43168 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
43169 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43170 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
43171 fi
43172
43173 COND_TOOLKIT_WINCE="#"
43174 if test "x$TOOLKIT" = "xWINCE" ; then
43175 COND_TOOLKIT_WINCE=""
43176 fi
43177
43178 COND_TOOLKIT_WINCE_USE_GUI_1="#"
43179 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
43180 COND_TOOLKIT_WINCE_USE_GUI_1=""
43181 fi
43182
43183 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
43184 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43185 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
43186 fi
43187
43188 COND_TOOLKIT_X11="#"
43189 if test "x$TOOLKIT" = "xX11" ; then
43190 COND_TOOLKIT_X11=""
43191 fi
43192
43193 COND_TOOLKIT_X11_USE_GUI_1="#"
43194 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
43195 COND_TOOLKIT_X11_USE_GUI_1=""
43196 fi
43197
43198 COND_UNICODE_1="#"
43199 if test "x$UNICODE" = "x1" ; then
43200 COND_UNICODE_1=""
43201 fi
43202
43203 COND_USE_EXCEPTIONS_0="#"
43204 if test "x$USE_EXCEPTIONS" = "x0" ; then
43205 COND_USE_EXCEPTIONS_0=""
43206 fi
43207
43208 COND_USE_EXCEPTIONS_1="#"
43209 if test "x$USE_EXCEPTIONS" = "x1" ; then
43210 COND_USE_EXCEPTIONS_1=""
43211 fi
43212
43213 COND_USE_GUI_0="#"
43214 if test "x$USE_GUI" = "x0" ; then
43215 COND_USE_GUI_0=""
43216 fi
43217
43218 COND_USE_GUI_1="#"
43219 if test "x$USE_GUI" = "x1" ; then
43220 COND_USE_GUI_1=""
43221 fi
43222
43223 COND_USE_GUI_1_WXUNIV_0="#"
43224 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43225 COND_USE_GUI_1_WXUNIV_0=""
43226 fi
43227
43228 COND_USE_GUI_1_WXUNIV_1="#"
43229 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
43230 COND_USE_GUI_1_WXUNIV_1=""
43231 fi
43232
43233 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
43234 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43235 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
43236 fi
43237
43238 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
43239 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43240 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
43241 fi
43242
43243 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
43244 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43245 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
43246 fi
43247
43248 COND_USE_ODBC_1="#"
43249 if test "x$USE_ODBC" = "x1" ; then
43250 COND_USE_ODBC_1=""
43251 fi
43252
43253 COND_USE_OPENGL_1="#"
43254 if test "x$USE_OPENGL" = "x1" ; then
43255 COND_USE_OPENGL_1=""
43256 fi
43257
43258 COND_USE_PLUGINS_0="#"
43259 if test "x$USE_PLUGINS" = "x0" ; then
43260 COND_USE_PLUGINS_0=""
43261 fi
43262
43263 COND_USE_RTTI_0="#"
43264 if test "x$USE_RTTI" = "x0" ; then
43265 COND_USE_RTTI_0=""
43266 fi
43267
43268 COND_USE_RTTI_1="#"
43269 if test "x$USE_RTTI" = "x1" ; then
43270 COND_USE_RTTI_1=""
43271 fi
43272
43273 COND_USE_SOSYMLINKS_1="#"
43274 if test "x$USE_SOSYMLINKS" = "x1" ; then
43275 COND_USE_SOSYMLINKS_1=""
43276 fi
43277
43278 COND_USE_SOVERLINUX_1="#"
43279 if test "x$USE_SOVERLINUX" = "x1" ; then
43280 COND_USE_SOVERLINUX_1=""
43281 fi
43282
43283 COND_USE_SOVERSION_0="#"
43284 if test "x$USE_SOVERSION" = "x0" ; then
43285 COND_USE_SOVERSION_0=""
43286 fi
43287
43288 COND_USE_SOVERSOLARIS_1="#"
43289 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43290 COND_USE_SOVERSOLARIS_1=""
43291 fi
43292
43293 COND_USE_THREADS_0="#"
43294 if test "x$USE_THREADS" = "x0" ; then
43295 COND_USE_THREADS_0=""
43296 fi
43297
43298 COND_USE_THREADS_1="#"
43299 if test "x$USE_THREADS" = "x1" ; then
43300 COND_USE_THREADS_1=""
43301 fi
43302
43303 COND_USE_XRC_1="#"
43304 if test "x$USE_XRC" = "x1" ; then
43305 COND_USE_XRC_1=""
43306 fi
43307
43308 COND_WITH_PLUGIN_SDL_1="#"
43309 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43310 COND_WITH_PLUGIN_SDL_1=""
43311 fi
43312
43313 COND_WXUNIV_0="#"
43314 if test "x$WXUNIV" = "x0" ; then
43315 COND_WXUNIV_0=""
43316 fi
43317
43318 COND_WXUNIV_1="#"
43319 if test "x$WXUNIV" = "x1" ; then
43320 COND_WXUNIV_1=""
43321 fi
43322
43323 COND_WXUSE_EXPAT_BUILTIN="#"
43324 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43325 COND_WXUSE_EXPAT_BUILTIN=""
43326 fi
43327
43328 COND_WXUSE_LIBJPEG_BUILTIN="#"
43329 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43330 COND_WXUSE_LIBJPEG_BUILTIN=""
43331 fi
43332
43333 COND_WXUSE_LIBPNG_BUILTIN="#"
43334 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43335 COND_WXUSE_LIBPNG_BUILTIN=""
43336 fi
43337
43338 COND_WXUSE_LIBTIFF_BUILTIN="#"
43339 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43340 COND_WXUSE_LIBTIFF_BUILTIN=""
43341 fi
43342
43343 COND_WXUSE_ODBC_BUILTIN="#"
43344 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43345 COND_WXUSE_ODBC_BUILTIN=""
43346 fi
43347
43348 COND_WXUSE_REGEX_BUILTIN="#"
43349 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43350 COND_WXUSE_REGEX_BUILTIN=""
43351 fi
43352
43353 COND_WXUSE_ZLIB_BUILTIN="#"
43354 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43355 COND_WXUSE_ZLIB_BUILTIN=""
43356 fi
43357
43358
43359
43360 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43361 { { 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
43362 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;}
43363 { (exit 1); exit 1; }; }
43364 fi
43365
43366
43367 if test "$wxUSE_SHARED" = "yes"; then
43368
43369 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
43370 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
43371
43372 case "${host}" in
43373 *-pc-os2_emx | *-pc-os2-emx )
43374 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43375 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43376 cp -p ${srcdir}/src/os2/dllnames.sh .
43377 cp -p ${srcdir}/src/os2/dllar.sh .
43378 ;;
43379 esac
43380 else
43381
43382 EXE_LINKER="$CXX -o"
43383
43384 fi
43385 if test "$wxUSE_OMF" = "yes"; then
43386 case "${host}" in
43387 *-pc-os2_emx | *-pc-os2-emx )
43388 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
43389 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
43390 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
43391 ;;
43392 esac
43393 fi
43394
43395 GCC_PRAGMA_FLAGS=""
43396 PCH_FLAGS=""
43397 if test $GCC_PCH = 1 ; then
43398 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43399 PCH_FLAGS="-DWX_PRECOMP"
43400 else
43401 case "${host}" in
43402 powerpc-*-darwin* )
43403 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43404 ;;
43405 *-*-mingw32* )
43406 if test "$wxUSE_STL" = "yes" -o \
43407 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43408 "$wxUSE_NO_RTTI" != "yes"; then
43409 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43410 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43411 cat >conftest.$ac_ext <<_ACEOF
43412 /* confdefs.h. */
43413 _ACEOF
43414 cat confdefs.h >>conftest.$ac_ext
43415 cat >>conftest.$ac_ext <<_ACEOF
43416 /* end confdefs.h. */
43417
43418 int
43419 main ()
43420 {
43421 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43422 #error "Not GCC 3.2 or greater"
43423 #endif
43424
43425 ;
43426 return 0;
43427 }
43428 _ACEOF
43429 rm -f conftest.$ac_objext
43430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43431 (eval $ac_compile) 2>conftest.er1
43432 ac_status=$?
43433 grep -v '^ *+' conftest.er1 >conftest.err
43434 rm -f conftest.er1
43435 cat conftest.err >&5
43436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437 (exit $ac_status); } &&
43438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43440 (eval $ac_try) 2>&5
43441 ac_status=$?
43442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43443 (exit $ac_status); }; } &&
43444 { ac_try='test -s conftest.$ac_objext'
43445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43446 (eval $ac_try) 2>&5
43447 ac_status=$?
43448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43449 (exit $ac_status); }; }; then
43450 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43451 echo "$as_me:$LINENO: result: yes" >&5
43452 echo "${ECHO_T}yes" >&6
43453 else
43454 echo "$as_me: failed program was:" >&5
43455 sed 's/^/| /' conftest.$ac_ext >&5
43456
43457 echo "$as_me:$LINENO: result: no" >&5
43458 echo "${ECHO_T}no" >&6
43459 fi
43460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43461 fi
43462 ;;
43463 *-pc-os2_emx | *-pc-os2-emx )
43464 if test "$wxUSE_STL" = "yes"; then
43465 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43466 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43467 cat >conftest.$ac_ext <<_ACEOF
43468 /* confdefs.h. */
43469 _ACEOF
43470 cat confdefs.h >>conftest.$ac_ext
43471 cat >>conftest.$ac_ext <<_ACEOF
43472 /* end confdefs.h. */
43473
43474 int
43475 main ()
43476 {
43477 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43478 #error "Not GCC 3.2 or greater"
43479 #endif
43480
43481 ;
43482 return 0;
43483 }
43484 _ACEOF
43485 rm -f conftest.$ac_objext
43486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43487 (eval $ac_compile) 2>conftest.er1
43488 ac_status=$?
43489 grep -v '^ *+' conftest.er1 >conftest.err
43490 rm -f conftest.er1
43491 cat conftest.err >&5
43492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43493 (exit $ac_status); } &&
43494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43496 (eval $ac_try) 2>&5
43497 ac_status=$?
43498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43499 (exit $ac_status); }; } &&
43500 { ac_try='test -s conftest.$ac_objext'
43501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43502 (eval $ac_try) 2>&5
43503 ac_status=$?
43504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43505 (exit $ac_status); }; }; then
43506 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43507 echo "$as_me:$LINENO: result: yes" >&5
43508 echo "${ECHO_T}yes" >&6
43509 else
43510 echo "$as_me: failed program was:" >&5
43511 sed 's/^/| /' conftest.$ac_ext >&5
43512
43513 echo "$as_me:$LINENO: result: no" >&5
43514 echo "${ECHO_T}no" >&6
43515 fi
43516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43517 fi
43518 ;;
43519 esac
43520 fi
43521 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43522
43523
43524 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43525
43526
43527
43528
43529
43530
43531
43532
43533
43534
43535
43536
43537
43538
43539
43540
43541
43542
43543
43544
43545
43546
43547
43548
43549
43550
43551
43552
43553
43554
43555
43556
43557
43558
43559
43560
43561
43562
43563
43564
43565
43566
43567
43568
43569
43570
43571
43572
43573
43574
43575
43576
43577
43578
43579
43580
43581
43582
43583
43584
43585
43586
43587
43588 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43589 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43590 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
43591 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43592 echo $ECHO_N "(cached) $ECHO_C" >&6
43593 else
43594 cat >conftest.make <<\_ACEOF
43595 all:
43596 @echo 'ac_maketemp="$(MAKE)"'
43597 _ACEOF
43598 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43599 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43600 if test -n "$ac_maketemp"; then
43601 eval ac_cv_prog_make_${ac_make}_set=yes
43602 else
43603 eval ac_cv_prog_make_${ac_make}_set=no
43604 fi
43605 rm -f conftest.make
43606 fi
43607 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43608 echo "$as_me:$LINENO: result: yes" >&5
43609 echo "${ECHO_T}yes" >&6
43610 SET_MAKE=
43611 else
43612 echo "$as_me:$LINENO: result: no" >&5
43613 echo "${ECHO_T}no" >&6
43614 SET_MAKE="MAKE=${MAKE-make}"
43615 fi
43616
43617
43618
43619 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43620
43621
43622 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43623
43624
43625 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43626
43627
43628 ac_config_files="$ac_config_files version-script Makefile"
43629
43630
43631 ac_config_commands="$ac_config_commands wx-config
43632 "
43633
43634
43635
43636
43637 if test "$wxUSE_GUI" = "yes"; then
43638 SUBDIRS="samples demos utils contrib"
43639 else SUBDIRS="samples utils"
43640 fi
43641
43642
43643
43644 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43645 if test "${with_cppunit_prefix+set}" = set; then
43646 withval="$with_cppunit_prefix"
43647 cppunit_config_prefix="$withval"
43648 else
43649 cppunit_config_prefix=""
43650 fi;
43651
43652 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43653 if test "${with_cppunit_exec_prefix+set}" = set; then
43654 withval="$with_cppunit_exec_prefix"
43655 cppunit_config_exec_prefix="$withval"
43656 else
43657 cppunit_config_exec_prefix=""
43658 fi;
43659
43660 if test x$cppunit_config_exec_prefix != x ; then
43661 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43662 if test x${CPPUNIT_CONFIG+set} != xset ; then
43663 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
43664 fi
43665 fi
43666 if test x$cppunit_config_prefix != x ; then
43667 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
43668 if test x${CPPUNIT_CONFIG+set} != xset ; then
43669 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
43670 fi
43671 fi
43672
43673 # Extract the first word of "cppunit-config", so it can be a program name with args.
43674 set dummy cppunit-config; ac_word=$2
43675 echo "$as_me:$LINENO: checking for $ac_word" >&5
43676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43677 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43678 echo $ECHO_N "(cached) $ECHO_C" >&6
43679 else
43680 case $CPPUNIT_CONFIG in
43681 [\\/]* | ?:[\\/]*)
43682 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43683 ;;
43684 *)
43685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43686 for as_dir in $PATH
43687 do
43688 IFS=$as_save_IFS
43689 test -z "$as_dir" && as_dir=.
43690 for ac_exec_ext in '' $ac_executable_extensions; do
43691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43692 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43694 break 2
43695 fi
43696 done
43697 done
43698
43699 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
43700 ;;
43701 esac
43702 fi
43703 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
43704
43705 if test -n "$CPPUNIT_CONFIG"; then
43706 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43707 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43708 else
43709 echo "$as_me:$LINENO: result: no" >&5
43710 echo "${ECHO_T}no" >&6
43711 fi
43712
43713 cppunit_version_min=1.8.0
43714
43715 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43716 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43717 no_cppunit=""
43718 if test "$CPPUNIT_CONFIG" = "no" ; then
43719 no_cppunit=yes
43720 else
43721 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
43722 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
43723 cppunit_version=`$CPPUNIT_CONFIG --version`
43724
43725 cppunit_major_version=`echo $cppunit_version | \
43726 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43727 cppunit_minor_version=`echo $cppunit_version | \
43728 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43729 cppunit_micro_version=`echo $cppunit_version | \
43730 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43731
43732 cppunit_major_min=`echo $cppunit_version_min | \
43733 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43734 cppunit_minor_min=`echo $cppunit_version_min | \
43735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43736 cppunit_micro_min=`echo $cppunit_version_min | \
43737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43738
43739 cppunit_version_proper=`expr \
43740 $cppunit_major_version \> $cppunit_major_min \| \
43741 $cppunit_major_version \= $cppunit_major_min \& \
43742 $cppunit_minor_version \> $cppunit_minor_min \| \
43743 $cppunit_major_version \= $cppunit_major_min \& \
43744 $cppunit_minor_version \= $cppunit_minor_min \& \
43745 $cppunit_micro_version \>= $cppunit_micro_min `
43746
43747 if test "$cppunit_version_proper" = "1" ; then
43748 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43749 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43750 else
43751 echo "$as_me:$LINENO: result: no" >&5
43752 echo "${ECHO_T}no" >&6
43753 no_cppunit=yes
43754 fi
43755 fi
43756
43757 if test "x$no_cppunit" = x ; then
43758 SUBDIRS="$SUBDIRS tests"
43759 else
43760 CPPUNIT_CFLAGS=""
43761 CPPUNIT_LIBS=""
43762 :
43763 fi
43764
43765
43766
43767
43768
43769 for subdir in `echo $SUBDIRS`; do
43770 if test -d ${srcdir}/${subdir} ; then
43771 if test "$wxUSE_GUI" = "yes"; then
43772 if test ${subdir} = "samples"; then
43773 makefiles="samples/Makefile.in $makefiles"
43774 for sample in `echo $SAMPLES_SUBDIRS`; do
43775 if test -d $srcdir/samples/$sample; then
43776 makefiles="samples/$sample/Makefile.in $makefiles"
43777 fi
43778 done
43779 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
43780 fi
43781 else if test ${subdir} = "samples"; then
43782 makefiles="samples/Makefile.in samples/console/Makefile.in"
43783 elif test ${subdir} = "utils"; then
43784 makefiles=""
43785 for util in HelpGen tex2rtf ; do
43786 if test -d $srcdir/utils/$util ; then
43787 makefiles="utils/$util/Makefile.in \
43788 utils/$util/src/Makefile.in \
43789 $makefiles"
43790 fi
43791 done
43792 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
43793 fi
43794 fi
43795
43796 for mkin in $makefiles ; do
43797 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43798 ac_config_files="$ac_config_files $mk"
43799
43800 done
43801 fi
43802 done
43803
43804
43805 cat >confcache <<\_ACEOF
43806 # This file is a shell script that caches the results of configure
43807 # tests run on this system so they can be shared between configure
43808 # scripts and configure runs, see configure's option --config-cache.
43809 # It is not useful on other systems. If it contains results you don't
43810 # want to keep, you may remove or edit it.
43811 #
43812 # config.status only pays attention to the cache file if you give it
43813 # the --recheck option to rerun configure.
43814 #
43815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43817 # following values.
43818
43819 _ACEOF
43820
43821 # The following way of writing the cache mishandles newlines in values,
43822 # but we know of no workaround that is simple, portable, and efficient.
43823 # So, don't put newlines in cache variables' values.
43824 # Ultrix sh set writes to stderr and can't be redirected directly,
43825 # and sets the high bit in the cache file unless we assign to the vars.
43826 {
43827 (set) 2>&1 |
43828 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43829 *ac_space=\ *)
43830 # `set' does not quote correctly, so add quotes (double-quote
43831 # substitution turns \\\\ into \\, and sed turns \\ into \).
43832 sed -n \
43833 "s/'/'\\\\''/g;
43834 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43835 ;;
43836 *)
43837 # `set' quotes correctly as required by POSIX, so do not add quotes.
43838 sed -n \
43839 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43840 ;;
43841 esac;
43842 } |
43843 sed '
43844 t clear
43845 : clear
43846 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43847 t end
43848 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43849 : end' >>confcache
43850 if diff $cache_file confcache >/dev/null 2>&1; then :; else
43851 if test -w $cache_file; then
43852 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43853 cat confcache >$cache_file
43854 else
43855 echo "not updating unwritable cache $cache_file"
43856 fi
43857 fi
43858 rm -f confcache
43859
43860 test "x$prefix" = xNONE && prefix=$ac_default_prefix
43861 # Let make expand exec_prefix.
43862 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
43863
43864 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43865 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43866 # trailing colons and then remove the whole line if VPATH becomes empty
43867 # (actually we leave an empty line to preserve line numbers).
43868 if test "x$srcdir" = x.; then
43869 ac_vpsub='/^[ ]*VPATH[ ]*=/{
43870 s/:*\$(srcdir):*/:/;
43871 s/:*\${srcdir}:*/:/;
43872 s/:*@srcdir@:*/:/;
43873 s/^\([^=]*=[ ]*\):*/\1/;
43874 s/:*$//;
43875 s/^[^=]*=[ ]*$//;
43876 }'
43877 fi
43878
43879 DEFS=-DHAVE_CONFIG_H
43880
43881 ac_libobjs=
43882 ac_ltlibobjs=
43883 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
43884 # 1. Remove the extension, and $U if already installed.
43885 ac_i=`echo "$ac_i" |
43886 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43887 # 2. Add them.
43888 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
43889 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
43890 done
43891 LIBOBJS=$ac_libobjs
43892
43893 LTLIBOBJS=$ac_ltlibobjs
43894
43895
43896
43897 : ${CONFIG_STATUS=./config.status}
43898 ac_clean_files_save=$ac_clean_files
43899 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
43900 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43901 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43902 cat >$CONFIG_STATUS <<_ACEOF
43903 #! $SHELL
43904 # Generated by $as_me.
43905 # Run this file to recreate the current configuration.
43906 # Compiler output produced by configure, useful for debugging
43907 # configure, is in config.log if it exists.
43908
43909 debug=false
43910 ac_cs_recheck=false
43911 ac_cs_silent=false
43912 SHELL=\${CONFIG_SHELL-$SHELL}
43913 _ACEOF
43914
43915 cat >>$CONFIG_STATUS <<\_ACEOF
43916 ## --------------------- ##
43917 ## M4sh Initialization. ##
43918 ## --------------------- ##
43919
43920 # Be Bourne compatible
43921 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
43922 emulate sh
43923 NULLCMD=:
43924 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43925 # is contrary to our usage. Disable this feature.
43926 alias -g '${1+"$@"}'='"$@"'
43927 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
43928 set -o posix
43929 fi
43930 DUALCASE=1; export DUALCASE # for MKS sh
43931
43932 # Support unset when possible.
43933 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
43934 as_unset=unset
43935 else
43936 as_unset=false
43937 fi
43938
43939
43940 # Work around bugs in pre-3.0 UWIN ksh.
43941 $as_unset ENV MAIL MAILPATH
43942 PS1='$ '
43943 PS2='> '
43944 PS4='+ '
43945
43946 # NLS nuisances.
43947 for as_var in \
43948 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43949 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43950 LC_TELEPHONE LC_TIME
43951 do
43952 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43953 eval $as_var=C; export $as_var
43954 else
43955 $as_unset $as_var
43956 fi
43957 done
43958
43959 # Required to use basename.
43960 if expr a : '\(a\)' >/dev/null 2>&1; then
43961 as_expr=expr
43962 else
43963 as_expr=false
43964 fi
43965
43966 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
43967 as_basename=basename
43968 else
43969 as_basename=false
43970 fi
43971
43972
43973 # Name of the executable.
43974 as_me=`$as_basename "$0" ||
43975 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43976 X"$0" : 'X\(//\)$' \| \
43977 X"$0" : 'X\(/\)$' \| \
43978 . : '\(.\)' 2>/dev/null ||
43979 echo X/"$0" |
43980 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
43981 /^X\/\(\/\/\)$/{ s//\1/; q; }
43982 /^X\/\(\/\).*/{ s//\1/; q; }
43983 s/.*/./; q'`
43984
43985
43986 # PATH needs CR, and LINENO needs CR and PATH.
43987 # Avoid depending upon Character Ranges.
43988 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
43989 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43990 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
43991 as_cr_digits='0123456789'
43992 as_cr_alnum=$as_cr_Letters$as_cr_digits
43993
43994 # The user is always right.
43995 if test "${PATH_SEPARATOR+set}" != set; then
43996 echo "#! /bin/sh" >conf$$.sh
43997 echo "exit 0" >>conf$$.sh
43998 chmod +x conf$$.sh
43999 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44000 PATH_SEPARATOR=';'
44001 else
44002 PATH_SEPARATOR=:
44003 fi
44004 rm -f conf$$.sh
44005 fi
44006
44007
44008 as_lineno_1=$LINENO
44009 as_lineno_2=$LINENO
44010 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44011 test "x$as_lineno_1" != "x$as_lineno_2" &&
44012 test "x$as_lineno_3" = "x$as_lineno_2" || {
44013 # Find who we are. Look in the path if we contain no path at all
44014 # relative or not.
44015 case $0 in
44016 *[\\/]* ) as_myself=$0 ;;
44017 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44018 for as_dir in $PATH
44019 do
44020 IFS=$as_save_IFS
44021 test -z "$as_dir" && as_dir=.
44022 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
44023 done
44024
44025 ;;
44026 esac
44027 # We did not find ourselves, most probably we were run as `sh COMMAND'
44028 # in which case we are not to be found in the path.
44029 if test "x$as_myself" = x; then
44030 as_myself=$0
44031 fi
44032 if test ! -f "$as_myself"; then
44033 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
44034 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
44035 { (exit 1); exit 1; }; }
44036 fi
44037 case $CONFIG_SHELL in
44038 '')
44039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44040 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
44041 do
44042 IFS=$as_save_IFS
44043 test -z "$as_dir" && as_dir=.
44044 for as_base in sh bash ksh sh5; do
44045 case $as_dir in
44046 /*)
44047 if ("$as_dir/$as_base" -c '
44048 as_lineno_1=$LINENO
44049 as_lineno_2=$LINENO
44050 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44051 test "x$as_lineno_1" != "x$as_lineno_2" &&
44052 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
44053 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
44054 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
44055 CONFIG_SHELL=$as_dir/$as_base
44056 export CONFIG_SHELL
44057 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
44058 fi;;
44059 esac
44060 done
44061 done
44062 ;;
44063 esac
44064
44065 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
44066 # uniformly replaced by the line number. The first 'sed' inserts a
44067 # line-number line before each line; the second 'sed' does the real
44068 # work. The second script uses 'N' to pair each line-number line
44069 # with the numbered line, and appends trailing '-' during
44070 # substitution so that $LINENO is not a special case at line end.
44071 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
44072 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
44073 sed '=' <$as_myself |
44074 sed '
44075 N
44076 s,$,-,
44077 : loop
44078 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
44079 t loop
44080 s,-$,,
44081 s,^['$as_cr_digits']*\n,,
44082 ' >$as_me.lineno &&
44083 chmod +x $as_me.lineno ||
44084 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
44085 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
44086 { (exit 1); exit 1; }; }
44087
44088 # Don't try to exec as it changes $[0], causing all sort of problems
44089 # (the dirname of $[0] is not the place where we might find the
44090 # original and so on. Autoconf is especially sensible to this).
44091 . ./$as_me.lineno
44092 # Exit status is that of the last command.
44093 exit
44094 }
44095
44096
44097 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
44098 *c*,-n*) ECHO_N= ECHO_C='
44099 ' ECHO_T=' ' ;;
44100 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
44101 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
44102 esac
44103
44104 if expr a : '\(a\)' >/dev/null 2>&1; then
44105 as_expr=expr
44106 else
44107 as_expr=false
44108 fi
44109
44110 rm -f conf$$ conf$$.exe conf$$.file
44111 echo >conf$$.file
44112 if ln -s conf$$.file conf$$ 2>/dev/null; then
44113 # We could just check for DJGPP; but this test a) works b) is more generic
44114 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
44115 if test -f conf$$.exe; then
44116 # Don't use ln at all; we don't have any links
44117 as_ln_s='cp -p'
44118 else
44119 as_ln_s='ln -s'
44120 fi
44121 elif ln conf$$.file conf$$ 2>/dev/null; then
44122 as_ln_s=ln
44123 else
44124 as_ln_s='cp -p'
44125 fi
44126 rm -f conf$$ conf$$.exe conf$$.file
44127
44128 if mkdir -p . 2>/dev/null; then
44129 as_mkdir_p=:
44130 else
44131 test -d ./-p && rmdir ./-p
44132 as_mkdir_p=false
44133 fi
44134
44135 as_executable_p="test -f"
44136
44137 # Sed expression to map a string onto a valid CPP name.
44138 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
44139
44140 # Sed expression to map a string onto a valid variable name.
44141 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
44142
44143
44144 # IFS
44145 # We need space, tab and new line, in precisely that order.
44146 as_nl='
44147 '
44148 IFS=" $as_nl"
44149
44150 # CDPATH.
44151 $as_unset CDPATH
44152
44153 exec 6>&1
44154
44155 # Open the log real soon, to keep \$[0] and so on meaningful, and to
44156 # report actual input values of CONFIG_FILES etc. instead of their
44157 # values after options handling. Logging --version etc. is OK.
44158 exec 5>>config.log
44159 {
44160 echo
44161 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
44162 ## Running $as_me. ##
44163 _ASBOX
44164 } >&5
44165 cat >&5 <<_CSEOF
44166
44167 This file was extended by wxWidgets $as_me 2.6.0, which was
44168 generated by GNU Autoconf 2.59. Invocation command line was
44169
44170 CONFIG_FILES = $CONFIG_FILES
44171 CONFIG_HEADERS = $CONFIG_HEADERS
44172 CONFIG_LINKS = $CONFIG_LINKS
44173 CONFIG_COMMANDS = $CONFIG_COMMANDS
44174 $ $0 $@
44175
44176 _CSEOF
44177 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
44178 echo >&5
44179 _ACEOF
44180
44181 # Files that config.status was made for.
44182 if test -n "$ac_config_files"; then
44183 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
44184 fi
44185
44186 if test -n "$ac_config_headers"; then
44187 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
44188 fi
44189
44190 if test -n "$ac_config_links"; then
44191 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
44192 fi
44193
44194 if test -n "$ac_config_commands"; then
44195 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
44196 fi
44197
44198 cat >>$CONFIG_STATUS <<\_ACEOF
44199
44200 ac_cs_usage="\
44201 \`$as_me' instantiates files from templates according to the
44202 current configuration.
44203
44204 Usage: $0 [OPTIONS] [FILE]...
44205
44206 -h, --help print this help, then exit
44207 -V, --version print version number, then exit
44208 -q, --quiet do not print progress messages
44209 -d, --debug don't remove temporary files
44210 --recheck update $as_me by reconfiguring in the same conditions
44211 --file=FILE[:TEMPLATE]
44212 instantiate the configuration file FILE
44213 --header=FILE[:TEMPLATE]
44214 instantiate the configuration header FILE
44215
44216 Configuration files:
44217 $config_files
44218
44219 Configuration headers:
44220 $config_headers
44221
44222 Configuration commands:
44223 $config_commands
44224
44225 Report bugs to <bug-autoconf@gnu.org>."
44226 _ACEOF
44227
44228 cat >>$CONFIG_STATUS <<_ACEOF
44229 ac_cs_version="\\
44230 wxWidgets config.status 2.6.0
44231 configured by $0, generated by GNU Autoconf 2.59,
44232 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
44233
44234 Copyright (C) 2003 Free Software Foundation, Inc.
44235 This config.status script is free software; the Free Software Foundation
44236 gives unlimited permission to copy, distribute and modify it."
44237 srcdir=$srcdir
44238 INSTALL="$INSTALL"
44239 _ACEOF
44240
44241 cat >>$CONFIG_STATUS <<\_ACEOF
44242 # If no file are specified by the user, then we need to provide default
44243 # value. By we need to know if files were specified by the user.
44244 ac_need_defaults=:
44245 while test $# != 0
44246 do
44247 case $1 in
44248 --*=*)
44249 ac_option=`expr "x$1" : 'x\([^=]*\)='`
44250 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
44251 ac_shift=:
44252 ;;
44253 -*)
44254 ac_option=$1
44255 ac_optarg=$2
44256 ac_shift=shift
44257 ;;
44258 *) # This is not an option, so the user has probably given explicit
44259 # arguments.
44260 ac_option=$1
44261 ac_need_defaults=false;;
44262 esac
44263
44264 case $ac_option in
44265 # Handling of the options.
44266 _ACEOF
44267 cat >>$CONFIG_STATUS <<\_ACEOF
44268 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44269 ac_cs_recheck=: ;;
44270 --version | --vers* | -V )
44271 echo "$ac_cs_version"; exit 0 ;;
44272 --he | --h)
44273 # Conflict between --help and --header
44274 { { echo "$as_me:$LINENO: error: ambiguous option: $1
44275 Try \`$0 --help' for more information." >&5
44276 echo "$as_me: error: ambiguous option: $1
44277 Try \`$0 --help' for more information." >&2;}
44278 { (exit 1); exit 1; }; };;
44279 --help | --hel | -h )
44280 echo "$ac_cs_usage"; exit 0 ;;
44281 --debug | --d* | -d )
44282 debug=: ;;
44283 --file | --fil | --fi | --f )
44284 $ac_shift
44285 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
44286 ac_need_defaults=false;;
44287 --header | --heade | --head | --hea )
44288 $ac_shift
44289 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
44290 ac_need_defaults=false;;
44291 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44292 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44293 ac_cs_silent=: ;;
44294
44295 # This is an error.
44296 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44297 Try \`$0 --help' for more information." >&5
44298 echo "$as_me: error: unrecognized option: $1
44299 Try \`$0 --help' for more information." >&2;}
44300 { (exit 1); exit 1; }; } ;;
44301
44302 *) ac_config_targets="$ac_config_targets $1" ;;
44303
44304 esac
44305 shift
44306 done
44307
44308 ac_configure_extra_args=
44309
44310 if $ac_cs_silent; then
44311 exec 6>/dev/null
44312 ac_configure_extra_args="$ac_configure_extra_args --silent"
44313 fi
44314
44315 _ACEOF
44316 cat >>$CONFIG_STATUS <<_ACEOF
44317 if \$ac_cs_recheck; then
44318 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44319 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44320 fi
44321
44322 _ACEOF
44323
44324 cat >>$CONFIG_STATUS <<_ACEOF
44325 #
44326 # INIT-COMMANDS section.
44327 #
44328
44329 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44330 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44331 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44332 LN_S="${LN_S}"
44333
44334
44335 _ACEOF
44336
44337
44338
44339 cat >>$CONFIG_STATUS <<\_ACEOF
44340 for ac_config_target in $ac_config_targets
44341 do
44342 case "$ac_config_target" in
44343 # Handling of arguments.
44344 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44345 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44346 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
44347 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
44348 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
44349 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
44350 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44351 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44352 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44353 { (exit 1); exit 1; }; };;
44354 esac
44355 done
44356
44357 # If the user did not use the arguments to specify the items to instantiate,
44358 # then the envvar interface is used. Set only those that are not.
44359 # We use the long form for the default assignment because of an extremely
44360 # bizarre bug on SunOS 4.1.3.
44361 if $ac_need_defaults; then
44362 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
44363 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
44364 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
44365 fi
44366
44367 # Have a temporary directory for convenience. Make it in the build tree
44368 # simply because there is no reason to put it here, and in addition,
44369 # creating and moving files from /tmp can sometimes cause problems.
44370 # Create a temporary directory, and hook for its removal unless debugging.
44371 $debug ||
44372 {
44373 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44374 trap '{ (exit 1); exit 1; }' 1 2 13 15
44375 }
44376
44377 # Create a (secure) tmp directory for tmp files.
44378
44379 {
44380 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44381 test -n "$tmp" && test -d "$tmp"
44382 } ||
44383 {
44384 tmp=./confstat$$-$RANDOM
44385 (umask 077 && mkdir $tmp)
44386 } ||
44387 {
44388 echo "$me: cannot create a temporary directory in ." >&2
44389 { (exit 1); exit 1; }
44390 }
44391
44392 _ACEOF
44393
44394 cat >>$CONFIG_STATUS <<_ACEOF
44395
44396 #
44397 # CONFIG_FILES section.
44398 #
44399
44400 # No need to generate the scripts if there are no CONFIG_FILES.
44401 # This happens for instance when ./config.status config.h
44402 if test -n "\$CONFIG_FILES"; then
44403 # Protect against being on the right side of a sed subst in config.status.
44404 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44405 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44406 s,@SHELL@,$SHELL,;t t
44407 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44408 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44409 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44410 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44411 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44412 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44413 s,@exec_prefix@,$exec_prefix,;t t
44414 s,@prefix@,$prefix,;t t
44415 s,@program_transform_name@,$program_transform_name,;t t
44416 s,@bindir@,$bindir,;t t
44417 s,@sbindir@,$sbindir,;t t
44418 s,@libexecdir@,$libexecdir,;t t
44419 s,@datadir@,$datadir,;t t
44420 s,@sysconfdir@,$sysconfdir,;t t
44421 s,@sharedstatedir@,$sharedstatedir,;t t
44422 s,@localstatedir@,$localstatedir,;t t
44423 s,@libdir@,$libdir,;t t
44424 s,@includedir@,$includedir,;t t
44425 s,@oldincludedir@,$oldincludedir,;t t
44426 s,@infodir@,$infodir,;t t
44427 s,@mandir@,$mandir,;t t
44428 s,@build_alias@,$build_alias,;t t
44429 s,@host_alias@,$host_alias,;t t
44430 s,@target_alias@,$target_alias,;t t
44431 s,@DEFS@,$DEFS,;t t
44432 s,@ECHO_C@,$ECHO_C,;t t
44433 s,@ECHO_N@,$ECHO_N,;t t
44434 s,@ECHO_T@,$ECHO_T,;t t
44435 s,@LIBS@,$LIBS,;t t
44436 s,@build@,$build,;t t
44437 s,@build_cpu@,$build_cpu,;t t
44438 s,@build_vendor@,$build_vendor,;t t
44439 s,@build_os@,$build_os,;t t
44440 s,@host@,$host,;t t
44441 s,@host_cpu@,$host_cpu,;t t
44442 s,@host_vendor@,$host_vendor,;t t
44443 s,@host_os@,$host_os,;t t
44444 s,@target@,$target,;t t
44445 s,@target_cpu@,$target_cpu,;t t
44446 s,@target_vendor@,$target_vendor,;t t
44447 s,@target_os@,$target_os,;t t
44448 s,@CC@,$CC,;t t
44449 s,@CFLAGS@,$CFLAGS,;t t
44450 s,@LDFLAGS@,$LDFLAGS,;t t
44451 s,@CPPFLAGS@,$CPPFLAGS,;t t
44452 s,@ac_ct_CC@,$ac_ct_CC,;t t
44453 s,@EXEEXT@,$EXEEXT,;t t
44454 s,@OBJEXT@,$OBJEXT,;t t
44455 s,@CPP@,$CPP,;t t
44456 s,@EGREP@,$EGREP,;t t
44457 s,@CXX@,$CXX,;t t
44458 s,@CXXFLAGS@,$CXXFLAGS,;t t
44459 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44460 s,@RANLIB@,$RANLIB,;t t
44461 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44462 s,@AR@,$AR,;t t
44463 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44464 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44465 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44466 s,@STRIP@,$STRIP,;t t
44467 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44468 s,@LN_S@,$LN_S,;t t
44469 s,@CXXCPP@,$CXXCPP,;t t
44470 s,@subdirs@,$subdirs,;t t
44471 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44472 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44473 s,@GTK_LIBS@,$GTK_LIBS,;t t
44474 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44475 s,@X_CFLAGS@,$X_CFLAGS,;t t
44476 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44477 s,@X_LIBS@,$X_LIBS,;t t
44478 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44479 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44480 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44481 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44482 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44483 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44484 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44485 s,@RESCOMP@,$RESCOMP,;t t
44486 s,@DEREZ@,$DEREZ,;t t
44487 s,@SETFILE@,$SETFILE,;t t
44488 s,@LIBICONV@,$LIBICONV,;t t
44489 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44490 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44491 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44492 s,@SDL_LIBS@,$SDL_LIBS,;t t
44493 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44494 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44495 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44496 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44497 s,@GST_INSPECT@,$GST_INSPECT,;t t
44498 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44499 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44500 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44501 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44502 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44503 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44504 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44505 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44506 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44507 s,@VENDOR@,$VENDOR,;t t
44508 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44509 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44510 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44511 s,@WXUNIV@,$WXUNIV,;t t
44512 s,@MONOLITHIC@,$MONOLITHIC,;t t
44513 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44514 s,@EXTRALIBS@,$EXTRALIBS,;t t
44515 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44516 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44517 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44518 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44519 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44520 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44521 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44522 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44523 s,@UNICODE@,$UNICODE,;t t
44524 s,@BUILD@,$BUILD,;t t
44525 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44526 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44527 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44528 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44529 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44530 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44531 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44532 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44533 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44534 s,@SET_MAKE@,$SET_MAKE,;t t
44535 s,@MAKE_SET@,$MAKE_SET,;t t
44536 s,@ac_ct_AR@,$ac_ct_AR,;t t
44537 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44538 s,@NM@,$NM,;t t
44539 s,@ac_ct_NM@,$ac_ct_NM,;t t
44540 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44541 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44542 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44543 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44544 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44545 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44546 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44547 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44548 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44549 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44550 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44551 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44552 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44553 s,@LIBPREFIX@,$LIBPREFIX,;t t
44554 s,@LIBEXT@,$LIBEXT,;t t
44555 s,@DLLPREFIX@,$DLLPREFIX,;t t
44556 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44557 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44558 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44559 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44560 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44561 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44562 s,@PIC_FLAG@,$PIC_FLAG,;t t
44563 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44564 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44565 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44566 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44567 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44568 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44569 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44570 s,@GCC_PCH@,$GCC_PCH,;t t
44571 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44572 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44573 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44574 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44575 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44576 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44577 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44578 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44579 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44580 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44581 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44582 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44583 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44584 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44585 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44586 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44587 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44588 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44589 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
44590 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
44591 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
44592 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44593 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44594 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44595 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44596 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
44597 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
44598 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
44599 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44600 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44601 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44602 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44603 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44604 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44605 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44606 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44607 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44608 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44609 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44610 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44611 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44612 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44613 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44614 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
44615 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44616 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44617 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44618 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44619 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44620 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44621 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44622 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44623 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44624 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44625 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44626 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44627 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44628 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44629 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44630 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44631 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44632 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44633 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44634 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44635 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44636 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
44637 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44638 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44639 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44640 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44641 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44642 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44643 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
44644 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44645 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44646 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44647 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44648 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44649 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44650 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44651 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44652 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44653 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44654 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44655 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44656 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44657 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44658 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44659 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44660 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44661 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44662 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44663 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44664 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44665 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44666 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44667 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44668 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44669 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44670 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44671 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44672 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44673 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44674 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44675 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44676 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44677 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44678 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44679 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44680 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44681 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44682 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44683 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44684 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44685 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44686 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44687 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44688 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44689 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44690 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44691 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44692 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44693 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44694 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44695 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44696 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44697 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44698 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44699 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44700 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44701 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44702 s,@SHARED@,$SHARED,;t t
44703 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44704 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44705 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44706 s,@USE_GUI@,$USE_GUI,;t t
44707 s,@AFMINSTALL@,$AFMINSTALL,;t t
44708 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44709 s,@TOOLKIT@,$TOOLKIT,;t t
44710 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44711 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44712 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44713 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44714 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44715 s,@cross_compiling@,$cross_compiling,;t t
44716 s,@WIDGET_SET@,$WIDGET_SET,;t t
44717 s,@WX_RELEASE@,$WX_RELEASE,;t t
44718 s,@WX_VERSION@,$WX_VERSION,;t t
44719 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44720 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44721 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44722 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44723 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44724 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44725 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44726 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44727 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44728 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44729 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44730 s,@EXE_LINKER@,$EXE_LINKER,;t t
44731 s,@GUIDIST@,$GUIDIST,;t t
44732 s,@DISTDIR@,$DISTDIR,;t t
44733 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44734 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44735 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44736 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44737 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44738 s,@RESFLAGS@,$RESFLAGS,;t t
44739 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44740 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44741 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44742 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44743 s,@MACRESCOMP@,$MACRESCOMP,;t t
44744 s,@MACSETFILE@,$MACSETFILE,;t t
44745 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44746 s,@GCC@,$GCC,;t t
44747 s,@DLLTOOL@,$DLLTOOL,;t t
44748 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44749 s,@LIBOBJS@,$LIBOBJS,;t t
44750 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44751 CEOF
44752
44753 _ACEOF
44754
44755 cat >>$CONFIG_STATUS <<\_ACEOF
44756 # Split the substitutions into bite-sized pieces for seds with
44757 # small command number limits, like on Digital OSF/1 and HP-UX.
44758 ac_max_sed_lines=48
44759 ac_sed_frag=1 # Number of current file.
44760 ac_beg=1 # First line for current file.
44761 ac_end=$ac_max_sed_lines # Line after last line for current file.
44762 ac_more_lines=:
44763 ac_sed_cmds=
44764 while $ac_more_lines; do
44765 if test $ac_beg -gt 1; then
44766 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
44767 else
44768 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
44769 fi
44770 if test ! -s $tmp/subs.frag; then
44771 ac_more_lines=false
44772 else
44773 # The purpose of the label and of the branching condition is to
44774 # speed up the sed processing (if there are no `@' at all, there
44775 # is no need to browse any of the substitutions).
44776 # These are the two extra sed commands mentioned above.
44777 (echo ':t
44778 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
44779 if test -z "$ac_sed_cmds"; then
44780 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
44781 else
44782 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44783 fi
44784 ac_sed_frag=`expr $ac_sed_frag + 1`
44785 ac_beg=$ac_end
44786 ac_end=`expr $ac_end + $ac_max_sed_lines`
44787 fi
44788 done
44789 if test -z "$ac_sed_cmds"; then
44790 ac_sed_cmds=cat
44791 fi
44792 fi # test -n "$CONFIG_FILES"
44793
44794 _ACEOF
44795 cat >>$CONFIG_STATUS <<\_ACEOF
44796 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
44797 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44798 case $ac_file in
44799 - | *:- | *:-:* ) # input from stdin
44800 cat >$tmp/stdin
44801 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44802 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44803 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44804 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44805 * ) ac_file_in=$ac_file.in ;;
44806 esac
44807
44808 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44809 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
44810 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44811 X"$ac_file" : 'X\(//\)[^/]' \| \
44812 X"$ac_file" : 'X\(//\)$' \| \
44813 X"$ac_file" : 'X\(/\)' \| \
44814 . : '\(.\)' 2>/dev/null ||
44815 echo X"$ac_file" |
44816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44817 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44818 /^X\(\/\/\)$/{ s//\1/; q; }
44819 /^X\(\/\).*/{ s//\1/; q; }
44820 s/.*/./; q'`
44821 { if $as_mkdir_p; then
44822 mkdir -p "$ac_dir"
44823 else
44824 as_dir="$ac_dir"
44825 as_dirs=
44826 while test ! -d "$as_dir"; do
44827 as_dirs="$as_dir $as_dirs"
44828 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44829 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44830 X"$as_dir" : 'X\(//\)[^/]' \| \
44831 X"$as_dir" : 'X\(//\)$' \| \
44832 X"$as_dir" : 'X\(/\)' \| \
44833 . : '\(.\)' 2>/dev/null ||
44834 echo X"$as_dir" |
44835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44836 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44837 /^X\(\/\/\)$/{ s//\1/; q; }
44838 /^X\(\/\).*/{ s//\1/; q; }
44839 s/.*/./; q'`
44840 done
44841 test ! -n "$as_dirs" || mkdir $as_dirs
44842 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44843 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44844 { (exit 1); exit 1; }; }; }
44845
44846 ac_builddir=.
44847
44848 if test "$ac_dir" != .; then
44849 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44850 # A "../" for each directory in $ac_dir_suffix.
44851 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44852 else
44853 ac_dir_suffix= ac_top_builddir=
44854 fi
44855
44856 case $srcdir in
44857 .) # No --srcdir option. We are building in place.
44858 ac_srcdir=.
44859 if test -z "$ac_top_builddir"; then
44860 ac_top_srcdir=.
44861 else
44862 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44863 fi ;;
44864 [\\/]* | ?:[\\/]* ) # Absolute path.
44865 ac_srcdir=$srcdir$ac_dir_suffix;
44866 ac_top_srcdir=$srcdir ;;
44867 *) # Relative path.
44868 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
44869 ac_top_srcdir=$ac_top_builddir$srcdir ;;
44870 esac
44871
44872 # Do not use `cd foo && pwd` to compute absolute paths, because
44873 # the directories may not exist.
44874 case `pwd` in
44875 .) ac_abs_builddir="$ac_dir";;
44876 *)
44877 case "$ac_dir" in
44878 .) ac_abs_builddir=`pwd`;;
44879 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
44880 *) ac_abs_builddir=`pwd`/"$ac_dir";;
44881 esac;;
44882 esac
44883 case $ac_abs_builddir in
44884 .) ac_abs_top_builddir=${ac_top_builddir}.;;
44885 *)
44886 case ${ac_top_builddir}. in
44887 .) ac_abs_top_builddir=$ac_abs_builddir;;
44888 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
44889 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
44890 esac;;
44891 esac
44892 case $ac_abs_builddir in
44893 .) ac_abs_srcdir=$ac_srcdir;;
44894 *)
44895 case $ac_srcdir in
44896 .) ac_abs_srcdir=$ac_abs_builddir;;
44897 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
44898 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
44899 esac;;
44900 esac
44901 case $ac_abs_builddir in
44902 .) ac_abs_top_srcdir=$ac_top_srcdir;;
44903 *)
44904 case $ac_top_srcdir in
44905 .) ac_abs_top_srcdir=$ac_abs_builddir;;
44906 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
44907 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
44908 esac;;
44909 esac
44910
44911
44912 case $INSTALL in
44913 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
44914 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
44915 esac
44916
44917 # Let's still pretend it is `configure' which instantiates (i.e., don't
44918 # use $as_me), people would be surprised to read:
44919 # /* config.h. Generated by config.status. */
44920 if test x"$ac_file" = x-; then
44921 configure_input=
44922 else
44923 configure_input="$ac_file. "
44924 fi
44925 configure_input=$configure_input"Generated from `echo $ac_file_in |
44926 sed 's,.*/,,'` by configure."
44927
44928 # First look for the input files in the build tree, otherwise in the
44929 # src tree.
44930 ac_file_inputs=`IFS=:
44931 for f in $ac_file_in; do
44932 case $f in
44933 -) echo $tmp/stdin ;;
44934 [\\/$]*)
44935 # Absolute (can't be DOS-style, as IFS=:)
44936 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44937 echo "$as_me: error: cannot find input file: $f" >&2;}
44938 { (exit 1); exit 1; }; }
44939 echo "$f";;
44940 *) # Relative
44941 if test -f "$f"; then
44942 # Build tree
44943 echo "$f"
44944 elif test -f "$srcdir/$f"; then
44945 # Source tree
44946 echo "$srcdir/$f"
44947 else
44948 # /dev/null tree
44949 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44950 echo "$as_me: error: cannot find input file: $f" >&2;}
44951 { (exit 1); exit 1; }; }
44952 fi;;
44953 esac
44954 done` || { (exit 1); exit 1; }
44955
44956 if test x"$ac_file" != x-; then
44957 { echo "$as_me:$LINENO: creating $ac_file" >&5
44958 echo "$as_me: creating $ac_file" >&6;}
44959 rm -f "$ac_file"
44960 fi
44961 _ACEOF
44962 cat >>$CONFIG_STATUS <<_ACEOF
44963 sed "$ac_vpsub
44964 $extrasub
44965 _ACEOF
44966 cat >>$CONFIG_STATUS <<\_ACEOF
44967 :t
44968 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
44969 s,@configure_input@,$configure_input,;t t
44970 s,@srcdir@,$ac_srcdir,;t t
44971 s,@abs_srcdir@,$ac_abs_srcdir,;t t
44972 s,@top_srcdir@,$ac_top_srcdir,;t t
44973 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
44974 s,@builddir@,$ac_builddir,;t t
44975 s,@abs_builddir@,$ac_abs_builddir,;t t
44976 s,@top_builddir@,$ac_top_builddir,;t t
44977 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
44978 s,@INSTALL@,$ac_INSTALL,;t t
44979 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
44980 rm -f $tmp/stdin
44981 if test x"$ac_file" != x-; then
44982 mv $tmp/out $ac_file
44983 else
44984 cat $tmp/out
44985 rm -f $tmp/out
44986 fi
44987
44988 # Run the commands associated with the file.
44989 case $ac_file in
44990 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
44991 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
44992 esac
44993 done
44994 _ACEOF
44995 cat >>$CONFIG_STATUS <<\_ACEOF
44996
44997 #
44998 # CONFIG_HEADER section.
44999 #
45000
45001 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
45002 # NAME is the cpp macro being defined and VALUE is the value it is being given.
45003 #
45004 # ac_d sets the value in "#define NAME VALUE" lines.
45005 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
45006 ac_dB='[ ].*$,\1#\2'
45007 ac_dC=' '
45008 ac_dD=',;t'
45009 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
45010 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
45011 ac_uB='$,\1#\2define\3'
45012 ac_uC=' '
45013 ac_uD=',;t'
45014
45015 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
45016 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45017 case $ac_file in
45018 - | *:- | *:-:* ) # input from stdin
45019 cat >$tmp/stdin
45020 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45021 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45022 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45023 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45024 * ) ac_file_in=$ac_file.in ;;
45025 esac
45026
45027 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
45028 echo "$as_me: creating $ac_file" >&6;}
45029
45030 # First look for the input files in the build tree, otherwise in the
45031 # src tree.
45032 ac_file_inputs=`IFS=:
45033 for f in $ac_file_in; do
45034 case $f in
45035 -) echo $tmp/stdin ;;
45036 [\\/$]*)
45037 # Absolute (can't be DOS-style, as IFS=:)
45038 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45039 echo "$as_me: error: cannot find input file: $f" >&2;}
45040 { (exit 1); exit 1; }; }
45041 # Do quote $f, to prevent DOS paths from being IFS'd.
45042 echo "$f";;
45043 *) # Relative
45044 if test -f "$f"; then
45045 # Build tree
45046 echo "$f"
45047 elif test -f "$srcdir/$f"; then
45048 # Source tree
45049 echo "$srcdir/$f"
45050 else
45051 # /dev/null tree
45052 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45053 echo "$as_me: error: cannot find input file: $f" >&2;}
45054 { (exit 1); exit 1; }; }
45055 fi;;
45056 esac
45057 done` || { (exit 1); exit 1; }
45058 # Remove the trailing spaces.
45059 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
45060
45061 _ACEOF
45062
45063 # Transform confdefs.h into two sed scripts, `conftest.defines' and
45064 # `conftest.undefs', that substitutes the proper values into
45065 # config.h.in to produce config.h. The first handles `#define'
45066 # templates, and the second `#undef' templates.
45067 # And first: Protect against being on the right side of a sed subst in
45068 # config.status. Protect against being in an unquoted here document
45069 # in config.status.
45070 rm -f conftest.defines conftest.undefs
45071 # Using a here document instead of a string reduces the quoting nightmare.
45072 # Putting comments in sed scripts is not portable.
45073 #
45074 # `end' is used to avoid that the second main sed command (meant for
45075 # 0-ary CPP macros) applies to n-ary macro definitions.
45076 # See the Autoconf documentation for `clear'.
45077 cat >confdef2sed.sed <<\_ACEOF
45078 s/[\\&,]/\\&/g
45079 s,[\\$`],\\&,g
45080 t clear
45081 : clear
45082 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
45083 t end
45084 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
45085 : end
45086 _ACEOF
45087 # If some macros were called several times there might be several times
45088 # the same #defines, which is useless. Nevertheless, we may not want to
45089 # sort them, since we want the *last* AC-DEFINE to be honored.
45090 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
45091 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
45092 rm -f confdef2sed.sed
45093
45094 # This sed command replaces #undef with comments. This is necessary, for
45095 # example, in the case of _POSIX_SOURCE, which is predefined and required
45096 # on some systems where configure will not decide to define it.
45097 cat >>conftest.undefs <<\_ACEOF
45098 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45099 _ACEOF
45100
45101 # Break up conftest.defines because some shells have a limit on the size
45102 # of here documents, and old seds have small limits too (100 cmds).
45103 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
45104 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
45105 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
45106 echo ' :' >>$CONFIG_STATUS
45107 rm -f conftest.tail
45108 while grep . conftest.defines >/dev/null
45109 do
45110 # Write a limited-size here document to $tmp/defines.sed.
45111 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
45112 # Speed up: don't consider the non `#define' lines.
45113 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
45114 # Work around the forget-to-reset-the-flag bug.
45115 echo 't clr' >>$CONFIG_STATUS
45116 echo ': clr' >>$CONFIG_STATUS
45117 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
45118 echo 'CEOF
45119 sed -f $tmp/defines.sed $tmp/in >$tmp/out
45120 rm -f $tmp/in
45121 mv $tmp/out $tmp/in
45122 ' >>$CONFIG_STATUS
45123 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
45124 rm -f conftest.defines
45125 mv conftest.tail conftest.defines
45126 done
45127 rm -f conftest.defines
45128 echo ' fi # grep' >>$CONFIG_STATUS
45129 echo >>$CONFIG_STATUS
45130
45131 # Break up conftest.undefs because some shells have a limit on the size
45132 # of here documents, and old seds have small limits too (100 cmds).
45133 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
45134 rm -f conftest.tail
45135 while grep . conftest.undefs >/dev/null
45136 do
45137 # Write a limited-size here document to $tmp/undefs.sed.
45138 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
45139 # Speed up: don't consider the non `#undef'
45140 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
45141 # Work around the forget-to-reset-the-flag bug.
45142 echo 't clr' >>$CONFIG_STATUS
45143 echo ': clr' >>$CONFIG_STATUS
45144 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
45145 echo 'CEOF
45146 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
45147 rm -f $tmp/in
45148 mv $tmp/out $tmp/in
45149 ' >>$CONFIG_STATUS
45150 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
45151 rm -f conftest.undefs
45152 mv conftest.tail conftest.undefs
45153 done
45154 rm -f conftest.undefs
45155
45156 cat >>$CONFIG_STATUS <<\_ACEOF
45157 # Let's still pretend it is `configure' which instantiates (i.e., don't
45158 # use $as_me), people would be surprised to read:
45159 # /* config.h. Generated by config.status. */
45160 if test x"$ac_file" = x-; then
45161 echo "/* Generated by configure. */" >$tmp/config.h
45162 else
45163 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
45164 fi
45165 cat $tmp/in >>$tmp/config.h
45166 rm -f $tmp/in
45167 if test x"$ac_file" != x-; then
45168 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
45169 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
45170 echo "$as_me: $ac_file is unchanged" >&6;}
45171 else
45172 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45173 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45174 X"$ac_file" : 'X\(//\)[^/]' \| \
45175 X"$ac_file" : 'X\(//\)$' \| \
45176 X"$ac_file" : 'X\(/\)' \| \
45177 . : '\(.\)' 2>/dev/null ||
45178 echo X"$ac_file" |
45179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45180 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45181 /^X\(\/\/\)$/{ s//\1/; q; }
45182 /^X\(\/\).*/{ s//\1/; q; }
45183 s/.*/./; q'`
45184 { if $as_mkdir_p; then
45185 mkdir -p "$ac_dir"
45186 else
45187 as_dir="$ac_dir"
45188 as_dirs=
45189 while test ! -d "$as_dir"; do
45190 as_dirs="$as_dir $as_dirs"
45191 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45192 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45193 X"$as_dir" : 'X\(//\)[^/]' \| \
45194 X"$as_dir" : 'X\(//\)$' \| \
45195 X"$as_dir" : 'X\(/\)' \| \
45196 . : '\(.\)' 2>/dev/null ||
45197 echo X"$as_dir" |
45198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45199 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45200 /^X\(\/\/\)$/{ s//\1/; q; }
45201 /^X\(\/\).*/{ s//\1/; q; }
45202 s/.*/./; q'`
45203 done
45204 test ! -n "$as_dirs" || mkdir $as_dirs
45205 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45206 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45207 { (exit 1); exit 1; }; }; }
45208
45209 rm -f $ac_file
45210 mv $tmp/config.h $ac_file
45211 fi
45212 else
45213 cat $tmp/config.h
45214 rm -f $tmp/config.h
45215 fi
45216 done
45217 _ACEOF
45218 cat >>$CONFIG_STATUS <<\_ACEOF
45219
45220 #
45221 # CONFIG_COMMANDS section.
45222 #
45223 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
45224 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
45225 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
45226 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
45227 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45228 X"$ac_dest" : 'X\(//\)[^/]' \| \
45229 X"$ac_dest" : 'X\(//\)$' \| \
45230 X"$ac_dest" : 'X\(/\)' \| \
45231 . : '\(.\)' 2>/dev/null ||
45232 echo X"$ac_dest" |
45233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45234 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45235 /^X\(\/\/\)$/{ s//\1/; q; }
45236 /^X\(\/\).*/{ s//\1/; q; }
45237 s/.*/./; q'`
45238 { if $as_mkdir_p; then
45239 mkdir -p "$ac_dir"
45240 else
45241 as_dir="$ac_dir"
45242 as_dirs=
45243 while test ! -d "$as_dir"; do
45244 as_dirs="$as_dir $as_dirs"
45245 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45246 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45247 X"$as_dir" : 'X\(//\)[^/]' \| \
45248 X"$as_dir" : 'X\(//\)$' \| \
45249 X"$as_dir" : 'X\(/\)' \| \
45250 . : '\(.\)' 2>/dev/null ||
45251 echo X"$as_dir" |
45252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45253 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45254 /^X\(\/\/\)$/{ s//\1/; q; }
45255 /^X\(\/\).*/{ s//\1/; q; }
45256 s/.*/./; q'`
45257 done
45258 test ! -n "$as_dirs" || mkdir $as_dirs
45259 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45260 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45261 { (exit 1); exit 1; }; }; }
45262
45263 ac_builddir=.
45264
45265 if test "$ac_dir" != .; then
45266 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45267 # A "../" for each directory in $ac_dir_suffix.
45268 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45269 else
45270 ac_dir_suffix= ac_top_builddir=
45271 fi
45272
45273 case $srcdir in
45274 .) # No --srcdir option. We are building in place.
45275 ac_srcdir=.
45276 if test -z "$ac_top_builddir"; then
45277 ac_top_srcdir=.
45278 else
45279 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45280 fi ;;
45281 [\\/]* | ?:[\\/]* ) # Absolute path.
45282 ac_srcdir=$srcdir$ac_dir_suffix;
45283 ac_top_srcdir=$srcdir ;;
45284 *) # Relative path.
45285 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45286 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45287 esac
45288
45289 # Do not use `cd foo && pwd` to compute absolute paths, because
45290 # the directories may not exist.
45291 case `pwd` in
45292 .) ac_abs_builddir="$ac_dir";;
45293 *)
45294 case "$ac_dir" in
45295 .) ac_abs_builddir=`pwd`;;
45296 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45297 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45298 esac;;
45299 esac
45300 case $ac_abs_builddir in
45301 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45302 *)
45303 case ${ac_top_builddir}. in
45304 .) ac_abs_top_builddir=$ac_abs_builddir;;
45305 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45306 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45307 esac;;
45308 esac
45309 case $ac_abs_builddir in
45310 .) ac_abs_srcdir=$ac_srcdir;;
45311 *)
45312 case $ac_srcdir in
45313 .) ac_abs_srcdir=$ac_abs_builddir;;
45314 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45315 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45316 esac;;
45317 esac
45318 case $ac_abs_builddir in
45319 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45320 *)
45321 case $ac_top_srcdir in
45322 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45323 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45324 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45325 esac;;
45326 esac
45327
45328
45329 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45330 echo "$as_me: executing $ac_dest commands" >&6;}
45331 case $ac_dest in
45332 wx-config ) rm -f wx-config
45333 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
45334 ;;
45335 esac
45336 done
45337 _ACEOF
45338
45339 cat >>$CONFIG_STATUS <<\_ACEOF
45340
45341 { (exit 0); exit 0; }
45342 _ACEOF
45343 chmod +x $CONFIG_STATUS
45344 ac_clean_files=$ac_clean_files_save
45345
45346
45347 # configure is writing to config.log, and then calls config.status.
45348 # config.status does its own redirection, appending to config.log.
45349 # Unfortunately, on DOS this fails, as config.log is still kept open
45350 # by configure, so config.status won't be able to write to it; its
45351 # output is simply discarded. So we exec the FD to /dev/null,
45352 # effectively closing config.log, so it can be properly (re)opened and
45353 # appended to by config.status. When coming back to configure, we
45354 # need to make the FD available again.
45355 if test "$no_create" != yes; then
45356 ac_cs_success=:
45357 ac_config_status_args=
45358 test "$silent" = yes &&
45359 ac_config_status_args="$ac_config_status_args --quiet"
45360 exec 5>/dev/null
45361 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
45362 exec 5>>config.log
45363 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45364 # would make configure fail if this is the last instruction.
45365 $ac_cs_success || { (exit 1); exit 1; }
45366 fi
45367
45368 #
45369 # CONFIG_SUBDIRS section.
45370 #
45371 if test "$no_recursion" != yes; then
45372
45373 # Remove --cache-file and --srcdir arguments so they do not pile up.
45374 ac_sub_configure_args=
45375 ac_prev=
45376 for ac_arg in $ac_configure_args; do
45377 if test -n "$ac_prev"; then
45378 ac_prev=
45379 continue
45380 fi
45381 case $ac_arg in
45382 -cache-file | --cache-file | --cache-fil | --cache-fi \
45383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45384 ac_prev=cache_file ;;
45385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45387 | --c=*)
45388 ;;
45389 --config-cache | -C)
45390 ;;
45391 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45392 ac_prev=srcdir ;;
45393 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45394 ;;
45395 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45396 ac_prev=prefix ;;
45397 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45398 ;;
45399 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
45400 esac
45401 done
45402
45403 # Always prepend --prefix to ensure using the same prefix
45404 # in subdir configurations.
45405 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
45406
45407 ac_popdir=`pwd`
45408 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
45409
45410 # Do not complain, so a configure script can configure whichever
45411 # parts of a large source tree are present.
45412 test -d $srcdir/$ac_dir || continue
45413
45414 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45415 echo "$as_me: configuring in $ac_dir" >&6;}
45416 { if $as_mkdir_p; then
45417 mkdir -p "$ac_dir"
45418 else
45419 as_dir="$ac_dir"
45420 as_dirs=
45421 while test ! -d "$as_dir"; do
45422 as_dirs="$as_dir $as_dirs"
45423 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45424 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45425 X"$as_dir" : 'X\(//\)[^/]' \| \
45426 X"$as_dir" : 'X\(//\)$' \| \
45427 X"$as_dir" : 'X\(/\)' \| \
45428 . : '\(.\)' 2>/dev/null ||
45429 echo X"$as_dir" |
45430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45431 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45432 /^X\(\/\/\)$/{ s//\1/; q; }
45433 /^X\(\/\).*/{ s//\1/; q; }
45434 s/.*/./; q'`
45435 done
45436 test ! -n "$as_dirs" || mkdir $as_dirs
45437 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45438 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45439 { (exit 1); exit 1; }; }; }
45440
45441 ac_builddir=.
45442
45443 if test "$ac_dir" != .; then
45444 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45445 # A "../" for each directory in $ac_dir_suffix.
45446 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45447 else
45448 ac_dir_suffix= ac_top_builddir=
45449 fi
45450
45451 case $srcdir in
45452 .) # No --srcdir option. We are building in place.
45453 ac_srcdir=.
45454 if test -z "$ac_top_builddir"; then
45455 ac_top_srcdir=.
45456 else
45457 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45458 fi ;;
45459 [\\/]* | ?:[\\/]* ) # Absolute path.
45460 ac_srcdir=$srcdir$ac_dir_suffix;
45461 ac_top_srcdir=$srcdir ;;
45462 *) # Relative path.
45463 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45464 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45465 esac
45466
45467 # Do not use `cd foo && pwd` to compute absolute paths, because
45468 # the directories may not exist.
45469 case `pwd` in
45470 .) ac_abs_builddir="$ac_dir";;
45471 *)
45472 case "$ac_dir" in
45473 .) ac_abs_builddir=`pwd`;;
45474 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45475 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45476 esac;;
45477 esac
45478 case $ac_abs_builddir in
45479 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45480 *)
45481 case ${ac_top_builddir}. in
45482 .) ac_abs_top_builddir=$ac_abs_builddir;;
45483 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45484 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45485 esac;;
45486 esac
45487 case $ac_abs_builddir in
45488 .) ac_abs_srcdir=$ac_srcdir;;
45489 *)
45490 case $ac_srcdir in
45491 .) ac_abs_srcdir=$ac_abs_builddir;;
45492 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45493 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45494 esac;;
45495 esac
45496 case $ac_abs_builddir in
45497 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45498 *)
45499 case $ac_top_srcdir in
45500 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45501 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45502 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45503 esac;;
45504 esac
45505
45506
45507 cd $ac_dir
45508
45509 # Check for guested configure; otherwise get Cygnus style configure.
45510 if test -f $ac_srcdir/configure.gnu; then
45511 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
45512 elif test -f $ac_srcdir/configure; then
45513 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
45514 elif test -f $ac_srcdir/configure.in; then
45515 ac_sub_configure=$ac_configure
45516 else
45517 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45518 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45519 ac_sub_configure=
45520 fi
45521
45522 # The recursion is here.
45523 if test -n "$ac_sub_configure"; then
45524 # Make the cache file name correct relative to the subdirectory.
45525 case $cache_file in
45526 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
45527 *) # Relative path.
45528 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
45529 esac
45530
45531 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45532 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45533 # The eval makes quoting arguments work.
45534 eval $ac_sub_configure $ac_sub_configure_args \
45535 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45536 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45537 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45538 { (exit 1); exit 1; }; }
45539 fi
45540
45541 cd "$ac_popdir"
45542 done
45543 fi
45544
45545
45546 echo
45547 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45548 echo ""
45549 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45550 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45551
45552 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45553 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45554 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45555
45556 echo " What level of wxWidgets compatibility should be enabled?"
45557 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45558 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45559
45560 echo " Which libraries should wxWidgets use?"
45561 echo " jpeg ${wxUSE_LIBJPEG-none}"
45562 echo " png ${wxUSE_LIBPNG-none}"
45563 echo " regex ${wxUSE_REGEX}"
45564 echo " tiff ${wxUSE_LIBTIFF-none}"
45565 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45566 echo " xpm ${wxUSE_LIBXPM-none}"
45567 fi
45568 echo " zlib ${wxUSE_ZLIB}"
45569 echo " odbc ${wxUSE_ODBC}"
45570 echo " expat ${wxUSE_EXPAT}"
45571 echo " libmspack ${wxUSE_LIBMSPACK}"
45572 echo " sdl ${wxUSE_LIBSDL}"
45573 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
45574
45575 echo ""
45576