]> git.saurik.com Git - wxWidgets.git/blob - configure
Elliptic arc fix for getting bounds
[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.5.4.
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.5.4'
274 PACKAGE_STRING='wxWidgets 2.5.4'
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_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_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.5.4 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.5.4:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --disable-rpath disable use of rpath for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class for getting backtraces
908 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class for DLL loading
914 --enable-dynamicloader use (new) wxDynamicLibrary class
915 --enable-exceptions build exception-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C++ stream classes
929 --enable-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-validators use wxValidator and derived classes
1028 --enable-busyinfo use wxBusyInfo
1029 --enable-joystick use wxJoystick
1030 --enable-metafiles use wxMetaFile (Windows only)
1031 --enable-dragimage use wxDragImage
1032 --enable-accessibility enable accessibility support
1033 --enable-palette use wxPalette class
1034 --enable-image use wxImage class
1035 --enable-gif use gif images (GIF file format)
1036 --enable-pcx use pcx images (PCX file format)
1037 --enable-iff use iff images (IFF file format)
1038 --enable-pnm use pnm images (PNM file format)
1039 --enable-xpm use xpm images (XPM file format)
1040 --enable-icocur use Windows ICO and CUR formats
1041 --enable-official_build official build of wxWidgets (win32 DLL only)
1042 --enable-vendor=VENDOR vendor name (win32 DLL only)
1043 --disable-largefile omit support for large files
1044 --disable-gtktest do not try to compile and run a test GTK+ program
1045 --disable-gtktest Do not try to compile and run a test GTK program
1046 --disable-sdltest Do not try to compile and run a test SDL program
1047 --enable-omf use OMF object format (OS/2)
1048 --disable-precomp-headers
1049 don't use precompiled headers even if compiler can
1050
1051 Optional Packages:
1052 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1053 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1054 --with-gtk use GTK+
1055 --with-motif use Motif/Lesstif
1056 --with-mac use Mac OS X
1057 --with-cocoa use Cocoa
1058 --with-wine use Wine
1059 --with-msw use MS-Windows
1060 --with-pm use OS/2 Presentation Manager
1061 --with-mgl use SciTech MGL
1062 --with-microwin use MicroWindows
1063 --with-x11 use X11
1064 --with-libpng use libpng (PNG image format)
1065 --with-libjpeg use libjpeg (JPEG file format)
1066 --with-libtiff use libtiff (TIFF file format)
1067 --with-libxpm use libxpm (XPM file format)
1068 --with-libmspack use libmspack (CHM help files loading)
1069 --with-sdl use SDL for audio on Unix
1070 --with-gnomeprint use GNOME print for printing under Unix
1071 --with-opengl use OpenGL (or Mesa)
1072 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1073 --with-regex enable support for wxRegEx class
1074 --with-zlib use zlib for LZW compression
1075 --with-odbc use the IODBC and wxODBC classes
1076 --with-expat enable XML support using expat parser
1077 --with-flavour=NAME specify a name to identify this build
1078 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1079 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1080 --with-x use the X Window System
1081 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1082 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1083 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1084 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1085 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1086
1087 Some influential environment variables:
1088 CC C compiler command
1089 CFLAGS C compiler flags
1090 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1091 nonstandard directory <lib dir>
1092 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1093 headers in a nonstandard directory <include dir>
1094 CPP C preprocessor
1095 CXX C++ compiler command
1096 CXXFLAGS C++ compiler flags
1097 CXXCPP C++ preprocessor
1098
1099 Use these variables to override the choices made by `configure' or to help
1100 it to find libraries and programs with nonstandard names/locations.
1101
1102 Report bugs to <wx-dev@lists.wxwidgets.org>.
1103 _ACEOF
1104 fi
1105
1106 if test "$ac_init_help" = "recursive"; then
1107 # If there are subdirs, report their specific --help.
1108 ac_popdir=`pwd`
1109 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1110 test -d $ac_dir || continue
1111 ac_builddir=.
1112
1113 if test "$ac_dir" != .; then
1114 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1115 # A "../" for each directory in $ac_dir_suffix.
1116 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1117 else
1118 ac_dir_suffix= ac_top_builddir=
1119 fi
1120
1121 case $srcdir in
1122 .) # No --srcdir option. We are building in place.
1123 ac_srcdir=.
1124 if test -z "$ac_top_builddir"; then
1125 ac_top_srcdir=.
1126 else
1127 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1128 fi ;;
1129 [\\/]* | ?:[\\/]* ) # Absolute path.
1130 ac_srcdir=$srcdir$ac_dir_suffix;
1131 ac_top_srcdir=$srcdir ;;
1132 *) # Relative path.
1133 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1134 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1135 esac
1136
1137 # Do not use `cd foo && pwd` to compute absolute paths, because
1138 # the directories may not exist.
1139 case `pwd` in
1140 .) ac_abs_builddir="$ac_dir";;
1141 *)
1142 case "$ac_dir" in
1143 .) ac_abs_builddir=`pwd`;;
1144 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1145 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1146 esac;;
1147 esac
1148 case $ac_abs_builddir in
1149 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1150 *)
1151 case ${ac_top_builddir}. in
1152 .) ac_abs_top_builddir=$ac_abs_builddir;;
1153 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1154 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1155 esac;;
1156 esac
1157 case $ac_abs_builddir in
1158 .) ac_abs_srcdir=$ac_srcdir;;
1159 *)
1160 case $ac_srcdir in
1161 .) ac_abs_srcdir=$ac_abs_builddir;;
1162 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1163 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1164 esac;;
1165 esac
1166 case $ac_abs_builddir in
1167 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1168 *)
1169 case $ac_top_srcdir in
1170 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1171 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1172 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1173 esac;;
1174 esac
1175
1176 cd $ac_dir
1177 # Check for guested configure; otherwise get Cygnus style configure.
1178 if test -f $ac_srcdir/configure.gnu; then
1179 echo
1180 $SHELL $ac_srcdir/configure.gnu --help=recursive
1181 elif test -f $ac_srcdir/configure; then
1182 echo
1183 $SHELL $ac_srcdir/configure --help=recursive
1184 elif test -f $ac_srcdir/configure.ac ||
1185 test -f $ac_srcdir/configure.in; then
1186 echo
1187 $ac_configure --help
1188 else
1189 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1190 fi
1191 cd "$ac_popdir"
1192 done
1193 fi
1194
1195 test -n "$ac_init_help" && exit 0
1196 if $ac_init_version; then
1197 cat <<\_ACEOF
1198 wxWidgets configure 2.5.4
1199 generated by GNU Autoconf 2.59
1200
1201 Copyright (C) 2003 Free Software Foundation, Inc.
1202 This configure script is free software; the Free Software Foundation
1203 gives unlimited permission to copy, distribute and modify it.
1204 _ACEOF
1205 exit 0
1206 fi
1207 exec 5>config.log
1208 cat >&5 <<_ACEOF
1209 This file contains any messages produced by compilers while
1210 running configure, to aid debugging if configure makes a mistake.
1211
1212 It was created by wxWidgets $as_me 2.5.4, which was
1213 generated by GNU Autoconf 2.59. Invocation command line was
1214
1215 $ $0 $@
1216
1217 _ACEOF
1218 {
1219 cat <<_ASUNAME
1220 ## --------- ##
1221 ## Platform. ##
1222 ## --------- ##
1223
1224 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1225 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1226 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1227 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1228 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1229
1230 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1231 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1232
1233 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1234 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1235 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1236 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1237 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1238 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1239 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1240
1241 _ASUNAME
1242
1243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1244 for as_dir in $PATH
1245 do
1246 IFS=$as_save_IFS
1247 test -z "$as_dir" && as_dir=.
1248 echo "PATH: $as_dir"
1249 done
1250
1251 } >&5
1252
1253 cat >&5 <<_ACEOF
1254
1255
1256 ## ----------- ##
1257 ## Core tests. ##
1258 ## ----------- ##
1259
1260 _ACEOF
1261
1262
1263 # Keep a trace of the command line.
1264 # Strip out --no-create and --no-recursion so they do not pile up.
1265 # Strip out --silent because we don't want to record it for future runs.
1266 # Also quote any args containing shell meta-characters.
1267 # Make two passes to allow for proper duplicate-argument suppression.
1268 ac_configure_args=
1269 ac_configure_args0=
1270 ac_configure_args1=
1271 ac_sep=
1272 ac_must_keep_next=false
1273 for ac_pass in 1 2
1274 do
1275 for ac_arg
1276 do
1277 case $ac_arg in
1278 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1279 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1280 | -silent | --silent | --silen | --sile | --sil)
1281 continue ;;
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1284 esac
1285 case $ac_pass in
1286 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1287 2)
1288 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1289 if test $ac_must_keep_next = true; then
1290 ac_must_keep_next=false # Got value, back to normal.
1291 else
1292 case $ac_arg in
1293 *=* | --config-cache | -C | -disable-* | --disable-* \
1294 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1295 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1296 | -with-* | --with-* | -without-* | --without-* | --x)
1297 case "$ac_configure_args0 " in
1298 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1299 esac
1300 ;;
1301 -* ) ac_must_keep_next=true ;;
1302 esac
1303 fi
1304 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1305 # Get rid of the leading space.
1306 ac_sep=" "
1307 ;;
1308 esac
1309 done
1310 done
1311 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1312 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1313
1314 # When interrupted or exit'd, cleanup temporary files, and complete
1315 # config.log. We remove comments because anyway the quotes in there
1316 # would cause problems or look ugly.
1317 # WARNING: Be sure not to use single quotes in there, as some shells,
1318 # such as our DU 5.0 friend, will then `close' the trap.
1319 trap 'exit_status=$?
1320 # Save into config.log some information that might help in debugging.
1321 {
1322 echo
1323
1324 cat <<\_ASBOX
1325 ## ---------------- ##
1326 ## Cache variables. ##
1327 ## ---------------- ##
1328 _ASBOX
1329 echo
1330 # The following way of writing the cache mishandles newlines in values,
1331 {
1332 (set) 2>&1 |
1333 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1334 *ac_space=\ *)
1335 sed -n \
1336 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1338 ;;
1339 *)
1340 sed -n \
1341 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1342 ;;
1343 esac;
1344 }
1345 echo
1346
1347 cat <<\_ASBOX
1348 ## ----------------- ##
1349 ## Output variables. ##
1350 ## ----------------- ##
1351 _ASBOX
1352 echo
1353 for ac_var in $ac_subst_vars
1354 do
1355 eval ac_val=$`echo $ac_var`
1356 echo "$ac_var='"'"'$ac_val'"'"'"
1357 done | sort
1358 echo
1359
1360 if test -n "$ac_subst_files"; then
1361 cat <<\_ASBOX
1362 ## ------------- ##
1363 ## Output files. ##
1364 ## ------------- ##
1365 _ASBOX
1366 echo
1367 for ac_var in $ac_subst_files
1368 do
1369 eval ac_val=$`echo $ac_var`
1370 echo "$ac_var='"'"'$ac_val'"'"'"
1371 done | sort
1372 echo
1373 fi
1374
1375 if test -s confdefs.h; then
1376 cat <<\_ASBOX
1377 ## ----------- ##
1378 ## confdefs.h. ##
1379 ## ----------- ##
1380 _ASBOX
1381 echo
1382 sed "/^$/d" confdefs.h | sort
1383 echo
1384 fi
1385 test "$ac_signal" != 0 &&
1386 echo "$as_me: caught signal $ac_signal"
1387 echo "$as_me: exit $exit_status"
1388 } >&5
1389 rm -f core *.core &&
1390 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1391 exit $exit_status
1392 ' 0
1393 for ac_signal in 1 2 13 15; do
1394 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1395 done
1396 ac_signal=0
1397
1398 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1399 rm -rf conftest* confdefs.h
1400 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1401 echo >confdefs.h
1402
1403 # Predefined preprocessor variables.
1404
1405 cat >>confdefs.h <<_ACEOF
1406 #define PACKAGE_NAME "$PACKAGE_NAME"
1407 _ACEOF
1408
1409
1410 cat >>confdefs.h <<_ACEOF
1411 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1412 _ACEOF
1413
1414
1415 cat >>confdefs.h <<_ACEOF
1416 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1417 _ACEOF
1418
1419
1420 cat >>confdefs.h <<_ACEOF
1421 #define PACKAGE_STRING "$PACKAGE_STRING"
1422 _ACEOF
1423
1424
1425 cat >>confdefs.h <<_ACEOF
1426 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1427 _ACEOF
1428
1429
1430 # Let the site file select an alternate cache file if it wants to.
1431 # Prefer explicitly selected file to automatically selected ones.
1432 if test -z "$CONFIG_SITE"; then
1433 if test "x$prefix" != xNONE; then
1434 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1435 else
1436 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1437 fi
1438 fi
1439 for ac_site_file in $CONFIG_SITE; do
1440 if test -r "$ac_site_file"; then
1441 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1442 echo "$as_me: loading site script $ac_site_file" >&6;}
1443 sed 's/^/| /' "$ac_site_file" >&5
1444 . "$ac_site_file"
1445 fi
1446 done
1447
1448 if test -r "$cache_file"; then
1449 # Some versions of bash will fail to source /dev/null (special
1450 # files actually), so we avoid doing that.
1451 if test -f "$cache_file"; then
1452 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1453 echo "$as_me: loading cache $cache_file" >&6;}
1454 case $cache_file in
1455 [\\/]* | ?:[\\/]* ) . $cache_file;;
1456 *) . ./$cache_file;;
1457 esac
1458 fi
1459 else
1460 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1461 echo "$as_me: creating cache $cache_file" >&6;}
1462 >$cache_file
1463 fi
1464
1465 # Check that the precious variables saved in the cache have kept the same
1466 # value.
1467 ac_cache_corrupted=false
1468 for ac_var in `(set) 2>&1 |
1469 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1470 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1471 eval ac_new_set=\$ac_env_${ac_var}_set
1472 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1473 eval ac_new_val="\$ac_env_${ac_var}_value"
1474 case $ac_old_set,$ac_new_set in
1475 set,)
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1478 ac_cache_corrupted=: ;;
1479 ,set)
1480 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1481 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1482 ac_cache_corrupted=: ;;
1483 ,);;
1484 *)
1485 if test "x$ac_old_val" != "x$ac_new_val"; then
1486 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1487 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1488 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1489 echo "$as_me: former value: $ac_old_val" >&2;}
1490 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1491 echo "$as_me: current value: $ac_new_val" >&2;}
1492 ac_cache_corrupted=:
1493 fi;;
1494 esac
1495 # Pass precious variables to config.status.
1496 if test "$ac_new_set" = set; then
1497 case $ac_new_val in
1498 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1499 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1500 *) ac_arg=$ac_var=$ac_new_val ;;
1501 esac
1502 case " $ac_configure_args " in
1503 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1504 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1505 esac
1506 fi
1507 done
1508 if $ac_cache_corrupted; then
1509 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1510 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1511 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1512 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1513 { (exit 1); exit 1; }; }
1514 fi
1515
1516 ac_ext=c
1517 ac_cpp='$CPP $CPPFLAGS'
1518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551 ac_aux_dir=
1552 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1553 if test -f $ac_dir/install-sh; then
1554 ac_aux_dir=$ac_dir
1555 ac_install_sh="$ac_aux_dir/install-sh -c"
1556 break
1557 elif test -f $ac_dir/install.sh; then
1558 ac_aux_dir=$ac_dir
1559 ac_install_sh="$ac_aux_dir/install.sh -c"
1560 break
1561 elif test -f $ac_dir/shtool; then
1562 ac_aux_dir=$ac_dir
1563 ac_install_sh="$ac_aux_dir/shtool install -c"
1564 break
1565 fi
1566 done
1567 if test -z "$ac_aux_dir"; then
1568 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1569 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1570 { (exit 1); exit 1; }; }
1571 fi
1572 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1573 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1574 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1575
1576 # Make sure we can run config.sub.
1577 $ac_config_sub sun4 >/dev/null 2>&1 ||
1578 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1579 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1580 { (exit 1); exit 1; }; }
1581
1582 echo "$as_me:$LINENO: checking build system type" >&5
1583 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1584 if test "${ac_cv_build+set}" = set; then
1585 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 else
1587 ac_cv_build_alias=$build_alias
1588 test -z "$ac_cv_build_alias" &&
1589 ac_cv_build_alias=`$ac_config_guess`
1590 test -z "$ac_cv_build_alias" &&
1591 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1592 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1593 { (exit 1); exit 1; }; }
1594 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1595 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1596 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1597 { (exit 1); exit 1; }; }
1598
1599 fi
1600 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1601 echo "${ECHO_T}$ac_cv_build" >&6
1602 build=$ac_cv_build
1603 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1604 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1605 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1606
1607
1608 echo "$as_me:$LINENO: checking host system type" >&5
1609 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1610 if test "${ac_cv_host+set}" = set; then
1611 echo $ECHO_N "(cached) $ECHO_C" >&6
1612 else
1613 ac_cv_host_alias=$host_alias
1614 test -z "$ac_cv_host_alias" &&
1615 ac_cv_host_alias=$ac_cv_build_alias
1616 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1617 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1618 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1619 { (exit 1); exit 1; }; }
1620
1621 fi
1622 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1623 echo "${ECHO_T}$ac_cv_host" >&6
1624 host=$ac_cv_host
1625 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1626 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1627 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1628
1629
1630 echo "$as_me:$LINENO: checking target system type" >&5
1631 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1632 if test "${ac_cv_target+set}" = set; then
1633 echo $ECHO_N "(cached) $ECHO_C" >&6
1634 else
1635 ac_cv_target_alias=$target_alias
1636 test "x$ac_cv_target_alias" = "x" &&
1637 ac_cv_target_alias=$ac_cv_host_alias
1638 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1639 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1640 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1641 { (exit 1); exit 1; }; }
1642
1643 fi
1644 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1645 echo "${ECHO_T}$ac_cv_target" >&6
1646 target=$ac_cv_target
1647 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1648 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1649 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1650
1651
1652 # The aliases save the names the user supplied, while $host etc.
1653 # will get canonicalized.
1654 test -n "$target_alias" &&
1655 test "$program_prefix$program_suffix$program_transform_name" = \
1656 NONENONEs,x,x, &&
1657 program_prefix=${target_alias}-
1658
1659
1660
1661 wx_major_version_number=2
1662 wx_minor_version_number=5
1663 wx_release_number=4
1664 wx_subrelease_number=2
1665
1666 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1667 WX_VERSION=$WX_RELEASE.$wx_release_number
1668 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1669
1670 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1671
1672 WX_CURRENT=4
1673 WX_REVISION=0
1674 WX_AGE=4
1675
1676
1677
1678 USE_UNIX=1
1679 USE_OS2=0
1680 USE_WIN32=0
1681 USE_DOS=0
1682 USE_BEOS=0
1683 USE_MAC=0
1684
1685 USE_AIX=
1686 USE_BSD= USE_DARWIN= USE_FREEBSD=
1687 USE_GNU= USE_HPUX=
1688 USE_LINUX=
1689 USE_NETBSD=
1690 USE_OPENBSD=
1691 USE_OSF= USE_SGI=
1692 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1693 USE_ULTRIX=
1694 USE_UNIXWARE=
1695
1696 USE_ALPHA=
1697
1698 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1699
1700 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1701
1702 DEFAULT_wxUSE_COCOA=0
1703 DEFAULT_wxUSE_GTK=0
1704 DEFAULT_wxUSE_MAC=0
1705 DEFAULT_wxUSE_MGL=0
1706 DEFAULT_wxUSE_MICROWIN=0
1707 DEFAULT_wxUSE_MOTIF=0
1708 DEFAULT_wxUSE_MSW=0
1709 DEFAULT_wxUSE_PM=0
1710 DEFAULT_wxUSE_X11=0
1711
1712 DEFAULT_DEFAULT_wxUSE_COCOA=0
1713 DEFAULT_DEFAULT_wxUSE_GTK=0
1714 DEFAULT_DEFAULT_wxUSE_MAC=0
1715 DEFAULT_DEFAULT_wxUSE_MGL=0
1716 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1717 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1718 DEFAULT_DEFAULT_wxUSE_MSW=0
1719 DEFAULT_DEFAULT_wxUSE_PM=0
1720 DEFAULT_DEFAULT_wxUSE_X11=0
1721
1722 PROGRAM_EXT=
1723 SO_SUFFIX=so
1724 SAMPLES_RPATH_FLAG=
1725 SAMPLES_RPATH_POSTLINK=
1726
1727 case "${host}" in
1728 *-hp-hpux* )
1729 USE_HPUX=1
1730 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1731 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1732 SO_SUFFIX=sl
1733 cat >>confdefs.h <<\_ACEOF
1734 #define __HPUX__ 1
1735 _ACEOF
1736
1737 ;;
1738 *-*-linux* )
1739 USE_LINUX=1
1740 cat >>confdefs.h <<\_ACEOF
1741 #define __LINUX__ 1
1742 _ACEOF
1743
1744 TMP=`uname -m`
1745 if test "x$TMP" = "xalpha"; then
1746 USE_ALPHA=1
1747 cat >>confdefs.h <<\_ACEOF
1748 #define __ALPHA__ 1
1749 _ACEOF
1750
1751 fi
1752 DEFAULT_DEFAULT_wxUSE_GTK=1
1753 ;;
1754 *-*-gnu* | *-*-k*bsd*-gnu )
1755 USE_GNU=1
1756 TMP=`uname -m`
1757 if test "x$TMP" = "xalpha"; then
1758 USE_ALPHA=1
1759 cat >>confdefs.h <<\_ACEOF
1760 #define __ALPHA__ 1
1761 _ACEOF
1762
1763 fi
1764 DEFAULT_DEFAULT_wxUSE_GTK=1
1765 ;;
1766 *-*-irix5* | *-*-irix6* )
1767 USE_SGI=1
1768 USE_SVR4=1
1769 cat >>confdefs.h <<\_ACEOF
1770 #define __SGI__ 1
1771 _ACEOF
1772
1773 cat >>confdefs.h <<\_ACEOF
1774 #define __SVR4__ 1
1775 _ACEOF
1776
1777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1778 ;;
1779 *-*-solaris2* )
1780 USE_SUN=1
1781 USE_SOLARIS=1
1782 USE_SVR4=1
1783 cat >>confdefs.h <<\_ACEOF
1784 #define __SUN__ 1
1785 _ACEOF
1786
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __SOLARIS__ 1
1789 _ACEOF
1790
1791 cat >>confdefs.h <<\_ACEOF
1792 #define __SVR4__ 1
1793 _ACEOF
1794
1795 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1796 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1797 ;;
1798 *-*-sunos4* )
1799 USE_SUN=1
1800 USE_SUNOS=1
1801 USE_BSD=1
1802 cat >>confdefs.h <<\_ACEOF
1803 #define __SUN__ 1
1804 _ACEOF
1805
1806 cat >>confdefs.h <<\_ACEOF
1807 #define __SUNOS__ 1
1808 _ACEOF
1809
1810 cat >>confdefs.h <<\_ACEOF
1811 #define __BSD__ 1
1812 _ACEOF
1813
1814 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1815 ;;
1816 *-*-freebsd*)
1817 USE_BSD=1
1818 USE_FREEBSD=1
1819 cat >>confdefs.h <<\_ACEOF
1820 #define __FREEBSD__ 1
1821 _ACEOF
1822
1823 cat >>confdefs.h <<\_ACEOF
1824 #define __BSD__ 1
1825 _ACEOF
1826
1827 DEFAULT_DEFAULT_wxUSE_GTK=1
1828 ;;
1829 *-*-openbsd*)
1830 USE_BSD=1
1831 USE_OPENBSD=1
1832 cat >>confdefs.h <<\_ACEOF
1833 #define __OPENBSD__ 1
1834 _ACEOF
1835
1836 cat >>confdefs.h <<\_ACEOF
1837 #define __BSD__ 1
1838 _ACEOF
1839
1840 DEFAULT_DEFAULT_wxUSE_GTK=1
1841 ;;
1842 *-*-netbsd*)
1843 USE_BSD=1
1844 USE_NETBSD=1
1845 cat >>confdefs.h <<\_ACEOF
1846 #define __NETBSD__ 1
1847 _ACEOF
1848
1849 cat >>confdefs.h <<\_ACEOF
1850 #define __BSD__ 1
1851 _ACEOF
1852
1853 DEFAULT_DEFAULT_wxUSE_GTK=1
1854 ;;
1855 *-*-osf* )
1856 USE_ALPHA=1
1857 USE_OSF=1
1858 cat >>confdefs.h <<\_ACEOF
1859 #define __ALPHA__ 1
1860 _ACEOF
1861
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __OSF__ 1
1864 _ACEOF
1865
1866 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1867 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1868 ;;
1869 *-*-dgux5* )
1870 USE_ALPHA=1
1871 USE_SVR4=1
1872 cat >>confdefs.h <<\_ACEOF
1873 #define __ALPHA__ 1
1874 _ACEOF
1875
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __SVR4__ 1
1878 _ACEOF
1879
1880 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1881 ;;
1882 *-*-sysv5* )
1883 USE_SYSV=1
1884 USE_SVR4=1
1885 cat >>confdefs.h <<\_ACEOF
1886 #define __SYSV__ 1
1887 _ACEOF
1888
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __SVR4__ 1
1891 _ACEOF
1892
1893 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1894 ;;
1895 *-*-aix* )
1896 USE_AIX=1
1897 USE_SYSV=1
1898 USE_SVR4=1
1899 SO_SUFFIX=a
1900 cat >>confdefs.h <<\_ACEOF
1901 #define __AIX__ 1
1902 _ACEOF
1903
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __SYSV__ 1
1906 _ACEOF
1907
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __SVR4__ 1
1910 _ACEOF
1911
1912 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1913 ;;
1914
1915 *-*-*UnixWare*)
1916 USE_SYSV=1
1917 USE_SVR4=1
1918 USE_UNIXWARE=1
1919 cat >>confdefs.h <<\_ACEOF
1920 #define __UNIXWARE__ 1
1921 _ACEOF
1922
1923 ;;
1924
1925 *-*-cygwin* | *-*-mingw32* )
1926 SO_SUFFIX=dll
1927 PROGRAM_EXT=".exe"
1928 RESCOMP=windres
1929 DEFAULT_DEFAULT_wxUSE_MSW=1
1930 ;;
1931
1932 *-pc-msdosdjgpp )
1933 USE_UNIX=0
1934 USE_DOS=1
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __DOS__ 1
1937 _ACEOF
1938
1939 PROGRAM_EXT=".exe"
1940 DEFAULT_DEFAULT_wxUSE_MGL=1
1941 LIBS="$LIBS -lstdc++"
1942 ;;
1943
1944 *-pc-os2_emx | *-pc-os2-emx )
1945 cat >>confdefs.h <<\_ACEOF
1946 #define __EMX__ 1
1947 _ACEOF
1948
1949 USE_OS2=1
1950 cat >>confdefs.h <<\_ACEOF
1951 #define __OS2__ 1
1952 _ACEOF
1953
1954 PROGRAM_EXT=".exe"
1955 DEFAULT_DEFAULT_wxUSE_PM=1
1956 CXX=gcc
1957 LDFLAGS="$LDFLAGS -Zcrtdll"
1958 ac_executable_extensions=".exe"
1959 export ac_executable_extensions
1960 ac_save_IFS="$IFS"
1961 IFS='\\'
1962 ac_TEMP_PATH=
1963 for ac_dir in $PATH; do
1964 IFS=$ac_save_IFS
1965 if test -z "$ac_TEMP_PATH"; then
1966 ac_TEMP_PATH="$ac_dir"
1967 else
1968 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1969 fi
1970 done
1971 export PATH="$ac_TEMP_PATH"
1972 unset ac_TEMP_PATH
1973 ;;
1974
1975 powerpc-*-darwin* )
1976 USE_BSD=1
1977 USE_DARWIN=1
1978 SO_SUFFIX=dylib
1979 cat >>confdefs.h <<\_ACEOF
1980 #define __BSD__ 1
1981 _ACEOF
1982
1983 cat >>confdefs.h <<\_ACEOF
1984 #define __DARWIN__ 1
1985 _ACEOF
1986
1987 cat >>confdefs.h <<\_ACEOF
1988 #define TARGET_CARBON 1
1989 _ACEOF
1990
1991 DEFAULT_DEFAULT_wxUSE_MAC=1
1992 ;;
1993 powerpc-apple-macos* )
1994 USE_UNIX=0
1995 ac_cv_c_bigendian=yes
1996 SO_SUFFIX=shlib
1997 DEFAULT_DEFAULT_wxUSE_MAC=1
1998 ;;
1999
2000 *-*-beos* )
2001 USE_BEOS=1
2002 cat >>confdefs.h <<\_ACEOF
2003 #define __BEOS__ 1
2004 _ACEOF
2005
2006 ;;
2007
2008 *)
2009 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2010 echo "$as_me: error: unknown system type ${host}." >&2;}
2011 { (exit 1); exit 1; }; }
2012 esac
2013
2014
2015
2016
2017 wx_arg_cache_file="configarg.cache"
2018 echo "loading argument cache $wx_arg_cache_file"
2019 rm -f ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}.tmp
2021 touch ${wx_arg_cache_file}
2022
2023
2024 DEBUG_CONFIGURE=0
2025 if test $DEBUG_CONFIGURE = 1; then
2026 DEFAULT_wxUSE_UNIVERSAL=no
2027 DEFAULT_wxUSE_STL=no
2028
2029 DEFAULT_wxUSE_NANOX=no
2030
2031 DEFAULT_wxUSE_THREADS=yes
2032
2033 DEFAULT_wxUSE_SHARED=yes
2034 DEFAULT_wxUSE_OPTIMISE=no
2035 DEFAULT_wxUSE_PROFILE=no
2036 DEFAULT_wxUSE_NO_DEPS=no
2037 DEFAULT_wxUSE_NO_RTTI=no
2038 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2039 DEFAULT_wxUSE_RPATH=yes
2040 DEFAULT_wxUSE_PERMISSIVE=no
2041 DEFAULT_wxUSE_DEBUG_FLAG=yes
2042 DEFAULT_wxUSE_DEBUG_INFO=yes
2043 DEFAULT_wxUSE_DEBUG_GDB=yes
2044 DEFAULT_wxUSE_MEM_TRACING=no
2045 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2046 DEFAULT_wxUSE_DMALLOC=no
2047 DEFAULT_wxUSE_APPLE_IEEE=no
2048
2049 DEFAULT_wxUSE_EXCEPTIONS=no
2050 DEFAULT_wxUSE_LOG=yes
2051 DEFAULT_wxUSE_LOGWINDOW=no
2052 DEFAULT_wxUSE_LOGGUI=no
2053 DEFAULT_wxUSE_LOGDIALOG=no
2054
2055 DEFAULT_wxUSE_GUI=yes
2056 DEFAULT_wxUSE_CONTROLS=no
2057
2058 DEFAULT_wxUSE_REGEX=no
2059 DEFAULT_wxUSE_XML=no
2060 DEFAULT_wxUSE_EXPAT=no
2061 DEFAULT_wxUSE_ZLIB=no
2062 DEFAULT_wxUSE_LIBPNG=no
2063 DEFAULT_wxUSE_LIBJPEG=no
2064 DEFAULT_wxUSE_LIBTIFF=no
2065 DEFAULT_wxUSE_LIBXPM=no
2066 DEFAULT_wxUSE_LIBMSPACK=no
2067 DEFAULT_wxUSE_LIBSDL=no
2068 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2069 DEFAULT_wxUSE_ODBC=no
2070 DEFAULT_wxUSE_OPENGL=no
2071
2072 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2073 DEFAULT_wxUSE_STACKWALKER=no
2074 DEFAULT_wxUSE_DEBUGREPORT=no
2075 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2076 DEFAULT_wxUSE_STD_IOSTREAM=no
2077 DEFAULT_wxUSE_CMDLINE_PARSER=no
2078 DEFAULT_wxUSE_DATETIME=no
2079 DEFAULT_wxUSE_TIMER=no
2080 DEFAULT_wxUSE_STOPWATCH=no
2081 DEFAULT_wxUSE_FILE=no
2082 DEFAULT_wxUSE_FFILE=no
2083 DEFAULT_wxUSE_STDPATHS=no
2084 DEFAULT_wxUSE_TEXTBUFFER=no
2085 DEFAULT_wxUSE_TEXTFILE=no
2086 DEFAULT_wxUSE_SOUND=no
2087 DEFAULT_wxUSE_MEDIACTRL=no
2088 DEFAULT_wxUSE_DIRECTSHOW=no
2089 DEFAULT_wxUSE_INTL=no
2090 DEFAULT_wxUSE_CONFIG=no
2091 DEFAULT_wxUSE_FONTMAP=no
2092 DEFAULT_wxUSE_STREAMS=no
2093 DEFAULT_wxUSE_SOCKETS=no
2094 DEFAULT_wxUSE_OLE=no
2095 DEFAULT_wxUSE_DATAOBJ=no
2096 DEFAULT_wxUSE_DIALUP_MANAGER=no
2097 DEFAULT_wxUSE_JOYSTICK=no
2098 DEFAULT_wxUSE_DYNLIB_CLASS=no
2099 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2100 DEFAULT_wxUSE_LONGLONG=no
2101 DEFAULT_wxUSE_GEOMETRY=no
2102
2103 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2104 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2105 DEFAULT_wxUSE_POSTSCRIPT=no
2106
2107 DEFAULT_wxUSE_CLIPBOARD=no
2108 DEFAULT_wxUSE_TOOLTIPS=no
2109 DEFAULT_wxUSE_DRAG_AND_DROP=no
2110 DEFAULT_wxUSE_DRAGIMAGE=no
2111 DEFAULT_wxUSE_SPLINES=no
2112
2113 DEFAULT_wxUSE_MDI=no
2114 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2115 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2116 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2117
2118 DEFAULT_wxUSE_RESOURCES=no
2119 DEFAULT_wxUSE_CONSTRAINTS=no
2120 DEFAULT_wxUSE_IPC=no
2121 DEFAULT_wxUSE_HELP=no
2122 DEFAULT_wxUSE_MS_HTML_HELP=no
2123 DEFAULT_wxUSE_WXHTML_HELP=no
2124 DEFAULT_wxUSE_TREELAYOUT=no
2125 DEFAULT_wxUSE_METAFILE=no
2126 DEFAULT_wxUSE_MIMETYPE=no
2127 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2128 DEFAULT_wxUSE_PROTOCOL=no
2129 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2130 DEFAULT_wxUSE_PROTOCOL_FTP=no
2131 DEFAULT_wxUSE_PROTOCOL_FILE=no
2132 DEFAULT_wxUSE_URL=no
2133
2134 DEFAULT_wxUSE_COMMONDLGS=no
2135 DEFAULT_wxUSE_CHOICEDLG=no
2136 DEFAULT_wxUSE_COLOURDLG=no
2137 DEFAULT_wxUSE_DIRDLG=no
2138 DEFAULT_wxUSE_FILEDLG=no
2139 DEFAULT_wxUSE_FINDREPLDLG=no
2140 DEFAULT_wxUSE_FONTDLG=no
2141 DEFAULT_wxUSE_MSGDLG=no
2142 DEFAULT_wxUSE_NUMBERDLG=no
2143 DEFAULT_wxUSE_TEXTDLG=no
2144 DEFAULT_wxUSE_SPLASH=no
2145 DEFAULT_wxUSE_STARTUP_TIPS=no
2146 DEFAULT_wxUSE_PROGRESSDLG=no
2147 DEFAULT_wxUSE_WIZARDDLG=no
2148
2149 DEFAULT_wxUSE_MENUS=no
2150 DEFAULT_wxUSE_MINIFRAME=no
2151 DEFAULT_wxUSE_HTML=no
2152 DEFAULT_wxUSE_XRC=no
2153 DEFAULT_wxUSE_WEBKIT=no
2154 DEFAULT_wxUSE_FILESYSTEM=no
2155 DEFAULT_wxUSE_FS_INET=no
2156 DEFAULT_wxUSE_FS_ZIP=no
2157 DEFAULT_wxUSE_BUSYINFO=no
2158 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2159 DEFAULT_wxUSE_ZIPSTREAM=no
2160 DEFAULT_wxUSE_VALIDATORS=no
2161
2162 DEFAULT_wxUSE_ACCEL=no
2163 DEFAULT_wxUSE_BUTTON=no
2164 DEFAULT_wxUSE_BMPBUTTON=no
2165 DEFAULT_wxUSE_CALCTRL=no
2166 DEFAULT_wxUSE_CARET=no
2167 DEFAULT_wxUSE_CHECKBOX=no
2168 DEFAULT_wxUSE_CHECKLST=no
2169 DEFAULT_wxUSE_CHOICE=no
2170 DEFAULT_wxUSE_CHOICEBOOK=no
2171 DEFAULT_wxUSE_COMBOBOX=no
2172 DEFAULT_wxUSE_DATEPICKCTRL=no
2173 DEFAULT_wxUSE_DISPLAY=no
2174 DEFAULT_wxUSE_GAUGE=no
2175 DEFAULT_wxUSE_GRID=no
2176 DEFAULT_wxUSE_IMAGLIST=no
2177 DEFAULT_wxUSE_LISTBOOK=no
2178 DEFAULT_wxUSE_LISTBOX=no
2179 DEFAULT_wxUSE_LISTCTRL=no
2180 DEFAULT_wxUSE_NOTEBOOK=no
2181 DEFAULT_wxUSE_RADIOBOX=no
2182 DEFAULT_wxUSE_RADIOBTN=no
2183 DEFAULT_wxUSE_SASH=no
2184 DEFAULT_wxUSE_SCROLLBAR=no
2185 DEFAULT_wxUSE_SLIDER=no
2186 DEFAULT_wxUSE_SPINBTN=no
2187 DEFAULT_wxUSE_SPINCTRL=no
2188 DEFAULT_wxUSE_SPLITTER=no
2189 DEFAULT_wxUSE_STATBMP=no
2190 DEFAULT_wxUSE_STATBOX=no
2191 DEFAULT_wxUSE_STATLINE=no
2192 DEFAULT_wxUSE_STATTEXT=no
2193 DEFAULT_wxUSE_STATUSBAR=yes
2194 DEFAULT_wxUSE_TABDIALOG=no
2195 DEFAULT_wxUSE_TEXTCTRL=no
2196 DEFAULT_wxUSE_TOGGLEBTN=no
2197 DEFAULT_wxUSE_TOOLBAR=no
2198 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2199 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2200 DEFAULT_wxUSE_TREECTRL=no
2201 DEFAULT_wxUSE_POPUPWIN=no
2202 DEFAULT_wxUSE_TIPWINDOW=no
2203
2204 DEFAULT_wxUSE_UNICODE=no
2205 DEFAULT_wxUSE_UNICODE_MSLU=no
2206 DEFAULT_wxUSE_WCSRTOMBS=no
2207
2208 DEFAULT_wxUSE_PALETTE=no
2209 DEFAULT_wxUSE_IMAGE=no
2210 DEFAULT_wxUSE_GIF=no
2211 DEFAULT_wxUSE_PCX=no
2212 DEFAULT_wxUSE_PNM=no
2213 DEFAULT_wxUSE_IFF=no
2214 DEFAULT_wxUSE_XPM=no
2215 DEFAULT_wxUSE_ICO_CUR=no
2216 DEFAULT_wxUSE_ACCESSIBILITY=no
2217
2218 DEFAULT_wxUSE_MONOLITHIC=no
2219 DEFAULT_wxUSE_PLUGINS=no
2220 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2221 else
2222 DEFAULT_wxUSE_UNIVERSAL=no
2223 DEFAULT_wxUSE_STL=no
2224
2225 DEFAULT_wxUSE_NANOX=no
2226
2227 DEFAULT_wxUSE_THREADS=yes
2228
2229 DEFAULT_wxUSE_SHARED=yes
2230 DEFAULT_wxUSE_OPTIMISE=yes
2231 DEFAULT_wxUSE_PROFILE=no
2232 DEFAULT_wxUSE_NO_DEPS=no
2233 DEFAULT_wxUSE_NO_RTTI=no
2234 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2235 DEFAULT_wxUSE_RPATH=yes
2236 DEFAULT_wxUSE_PERMISSIVE=no
2237 DEFAULT_wxUSE_DEBUG_FLAG=no
2238 DEFAULT_wxUSE_DEBUG_INFO=no
2239 DEFAULT_wxUSE_DEBUG_GDB=no
2240 DEFAULT_wxUSE_MEM_TRACING=no
2241 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2242 DEFAULT_wxUSE_DMALLOC=no
2243 DEFAULT_wxUSE_APPLE_IEEE=yes
2244
2245 DEFAULT_wxUSE_EXCEPTIONS=yes
2246 DEFAULT_wxUSE_LOG=yes
2247 DEFAULT_wxUSE_LOGWINDOW=yes
2248 DEFAULT_wxUSE_LOGGUI=yes
2249 DEFAULT_wxUSE_LOGDIALOG=yes
2250
2251 DEFAULT_wxUSE_GUI=yes
2252
2253 DEFAULT_wxUSE_REGEX=yes
2254 DEFAULT_wxUSE_XML=yes
2255 DEFAULT_wxUSE_EXPAT=yes
2256 DEFAULT_wxUSE_ZLIB=yes
2257 DEFAULT_wxUSE_LIBPNG=yes
2258 DEFAULT_wxUSE_LIBJPEG=yes
2259 DEFAULT_wxUSE_LIBTIFF=yes
2260 DEFAULT_wxUSE_LIBXPM=yes
2261 DEFAULT_wxUSE_LIBMSPACK=yes
2262 DEFAULT_wxUSE_LIBSDL=no
2263 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2264 DEFAULT_wxUSE_ODBC=no
2265 DEFAULT_wxUSE_OPENGL=no
2266
2267 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2268 DEFAULT_wxUSE_STACKWALKER=yes
2269 DEFAULT_wxUSE_DEBUGREPORT=yes
2270 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2271 DEFAULT_wxUSE_STD_IOSTREAM=no
2272 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2273 DEFAULT_wxUSE_DATETIME=yes
2274 DEFAULT_wxUSE_TIMER=yes
2275 DEFAULT_wxUSE_STOPWATCH=yes
2276 DEFAULT_wxUSE_FILE=yes
2277 DEFAULT_wxUSE_FFILE=yes
2278 DEFAULT_wxUSE_STDPATHS=yes
2279 DEFAULT_wxUSE_TEXTBUFFER=yes
2280 DEFAULT_wxUSE_TEXTFILE=yes
2281 DEFAULT_wxUSE_SOUND=yes
2282 DEFAULT_wxUSE_MEDIACTRL=no
2283 DEFAULT_wxUSE_DIRECTSHOW=no
2284 DEFAULT_wxUSE_INTL=yes
2285 DEFAULT_wxUSE_CONFIG=yes
2286 DEFAULT_wxUSE_FONTMAP=yes
2287 DEFAULT_wxUSE_STREAMS=yes
2288 DEFAULT_wxUSE_SOCKETS=yes
2289 DEFAULT_wxUSE_OLE=yes
2290 DEFAULT_wxUSE_DATAOBJ=yes
2291 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2292 DEFAULT_wxUSE_JOYSTICK=yes
2293 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2294 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2295 DEFAULT_wxUSE_LONGLONG=yes
2296 DEFAULT_wxUSE_GEOMETRY=yes
2297
2298 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2299 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2300 DEFAULT_wxUSE_POSTSCRIPT=yes
2301
2302 DEFAULT_wxUSE_CLIPBOARD=yes
2303 DEFAULT_wxUSE_TOOLTIPS=yes
2304 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2305 DEFAULT_wxUSE_DRAGIMAGE=yes
2306 DEFAULT_wxUSE_SPLINES=yes
2307
2308 DEFAULT_wxUSE_MDI=yes
2309 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2310 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2311 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2312
2313 DEFAULT_wxUSE_RESOURCES=no
2314 DEFAULT_wxUSE_CONSTRAINTS=yes
2315 DEFAULT_wxUSE_IPC=yes
2316 DEFAULT_wxUSE_HELP=yes
2317 DEFAULT_wxUSE_MS_HTML_HELP=yes
2318 DEFAULT_wxUSE_WXHTML_HELP=yes
2319 DEFAULT_wxUSE_TREELAYOUT=yes
2320 DEFAULT_wxUSE_METAFILE=yes
2321 DEFAULT_wxUSE_MIMETYPE=yes
2322 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2323 DEFAULT_wxUSE_PROTOCOL=yes
2324 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2325 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2326 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2327 DEFAULT_wxUSE_URL=yes
2328
2329 DEFAULT_wxUSE_COMMONDLGS=yes
2330 DEFAULT_wxUSE_CHOICEDLG=yes
2331 DEFAULT_wxUSE_COLOURDLG=yes
2332 DEFAULT_wxUSE_DIRDLG=yes
2333 DEFAULT_wxUSE_FILEDLG=yes
2334 DEFAULT_wxUSE_FINDREPLDLG=yes
2335 DEFAULT_wxUSE_FONTDLG=yes
2336 DEFAULT_wxUSE_MSGDLG=yes
2337 DEFAULT_wxUSE_NUMBERDLG=yes
2338 DEFAULT_wxUSE_TEXTDLG=yes
2339 DEFAULT_wxUSE_SPLASH=yes
2340 DEFAULT_wxUSE_STARTUP_TIPS=yes
2341 DEFAULT_wxUSE_PROGRESSDLG=yes
2342 DEFAULT_wxUSE_WIZARDDLG=yes
2343
2344 DEFAULT_wxUSE_MENUS=yes
2345 DEFAULT_wxUSE_MINIFRAME=yes
2346 DEFAULT_wxUSE_HTML=yes
2347 DEFAULT_wxUSE_XRC=yes
2348 DEFAULT_wxUSE_WEBKIT=yes
2349 DEFAULT_wxUSE_FILESYSTEM=yes
2350 DEFAULT_wxUSE_FS_INET=yes
2351 DEFAULT_wxUSE_FS_ZIP=yes
2352 DEFAULT_wxUSE_BUSYINFO=yes
2353 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2354 DEFAULT_wxUSE_ZIPSTREAM=yes
2355 DEFAULT_wxUSE_VALIDATORS=yes
2356
2357 DEFAULT_wxUSE_ACCEL=yes
2358 DEFAULT_wxUSE_BUTTON=yes
2359 DEFAULT_wxUSE_BMPBUTTON=yes
2360 DEFAULT_wxUSE_CALCTRL=yes
2361 DEFAULT_wxUSE_CARET=yes
2362 DEFAULT_wxUSE_CHECKBOX=yes
2363 DEFAULT_wxUSE_CHECKLST=yes
2364 DEFAULT_wxUSE_CHOICE=yes
2365 DEFAULT_wxUSE_CHOICEBOOK=yes
2366 DEFAULT_wxUSE_COMBOBOX=yes
2367 DEFAULT_wxUSE_DATEPICKCTRL=yes
2368 DEFAULT_wxUSE_DISPLAY=yes
2369 DEFAULT_wxUSE_GAUGE=yes
2370 DEFAULT_wxUSE_GRID=yes
2371 DEFAULT_wxUSE_IMAGLIST=yes
2372 DEFAULT_wxUSE_LISTBOOK=yes
2373 DEFAULT_wxUSE_LISTBOX=yes
2374 DEFAULT_wxUSE_LISTCTRL=yes
2375 DEFAULT_wxUSE_NOTEBOOK=yes
2376 DEFAULT_wxUSE_RADIOBOX=yes
2377 DEFAULT_wxUSE_RADIOBTN=yes
2378 DEFAULT_wxUSE_SASH=yes
2379 DEFAULT_wxUSE_SCROLLBAR=yes
2380 DEFAULT_wxUSE_SLIDER=yes
2381 DEFAULT_wxUSE_SPINBTN=yes
2382 DEFAULT_wxUSE_SPINCTRL=yes
2383 DEFAULT_wxUSE_SPLITTER=yes
2384 DEFAULT_wxUSE_STATBMP=yes
2385 DEFAULT_wxUSE_STATBOX=yes
2386 DEFAULT_wxUSE_STATLINE=yes
2387 DEFAULT_wxUSE_STATTEXT=yes
2388 DEFAULT_wxUSE_STATUSBAR=yes
2389 DEFAULT_wxUSE_TABDIALOG=no
2390 DEFAULT_wxUSE_TEXTCTRL=yes
2391 DEFAULT_wxUSE_TOGGLEBTN=yes
2392 DEFAULT_wxUSE_TOOLBAR=yes
2393 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2394 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2395 DEFAULT_wxUSE_TREECTRL=yes
2396 DEFAULT_wxUSE_POPUPWIN=yes
2397 DEFAULT_wxUSE_TIPWINDOW=yes
2398
2399 DEFAULT_wxUSE_UNICODE=no
2400 DEFAULT_wxUSE_UNICODE_MSLU=yes
2401 DEFAULT_wxUSE_WCSRTOMBS=no
2402
2403 DEFAULT_wxUSE_PALETTE=yes
2404 DEFAULT_wxUSE_IMAGE=yes
2405 DEFAULT_wxUSE_GIF=yes
2406 DEFAULT_wxUSE_PCX=yes
2407 DEFAULT_wxUSE_IFF=no
2408 DEFAULT_wxUSE_PNM=yes
2409 DEFAULT_wxUSE_XPM=yes
2410 DEFAULT_wxUSE_ICO_CUR=yes
2411 DEFAULT_wxUSE_ACCESSIBILITY=no
2412
2413 DEFAULT_wxUSE_MONOLITHIC=no
2414 DEFAULT_wxUSE_PLUGINS=no
2415 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2416
2417 DEFAULT_wxUSE_GTK2=yes
2418 fi
2419
2420
2421
2422 for toolkit in `echo $ALL_TOOLKITS`; do
2423 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2424 if test "x$LINE" != "x" ; then
2425 has_toolkit_in_cache=1
2426 eval "DEFAULT_$LINE"
2427 eval "CACHE_$toolkit=1"
2428 fi
2429 done
2430
2431
2432
2433 enablestring=
2434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2435 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2436 no_cache=0
2437 # Check whether --enable-gui or --disable-gui was given.
2438 if test "${enable_gui+set}" = set; then
2439 enableval="$enable_gui"
2440
2441 if test "$enableval" = yes; then
2442 ac_cv_use_gui='wxUSE_GUI=yes'
2443 else
2444 ac_cv_use_gui='wxUSE_GUI=no'
2445 fi
2446
2447 else
2448
2449 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2450 if test "x$LINE" != x ; then
2451 eval "DEFAULT_$LINE"
2452 else
2453 no_cache=1
2454 fi
2455
2456 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2457
2458 fi;
2459
2460 eval "$ac_cv_use_gui"
2461 if test "$no_cache" != 1; then
2462 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2463 fi
2464
2465 if test "$wxUSE_GUI" = yes; then
2466 echo "$as_me:$LINENO: result: yes" >&5
2467 echo "${ECHO_T}yes" >&6
2468 else
2469 echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6
2471 fi
2472
2473
2474 enablestring=
2475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2476 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2477 no_cache=0
2478 # Check whether --enable-monolithic or --disable-monolithic was given.
2479 if test "${enable_monolithic+set}" = set; then
2480 enableval="$enable_monolithic"
2481
2482 if test "$enableval" = yes; then
2483 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2484 else
2485 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2486 fi
2487
2488 else
2489
2490 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2491 if test "x$LINE" != x ; then
2492 eval "DEFAULT_$LINE"
2493 else
2494 no_cache=1
2495 fi
2496
2497 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2498
2499 fi;
2500
2501 eval "$ac_cv_use_monolithic"
2502 if test "$no_cache" != 1; then
2503 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2504 fi
2505
2506 if test "$wxUSE_MONOLITHIC" = yes; then
2507 echo "$as_me:$LINENO: result: yes" >&5
2508 echo "${ECHO_T}yes" >&6
2509 else
2510 echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6
2512 fi
2513
2514
2515 enablestring=
2516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2517 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2518 no_cache=0
2519 # Check whether --enable-plugins or --disable-plugins was given.
2520 if test "${enable_plugins+set}" = set; then
2521 enableval="$enable_plugins"
2522
2523 if test "$enableval" = yes; then
2524 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2525 else
2526 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2527 fi
2528
2529 else
2530
2531 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2532 if test "x$LINE" != x ; then
2533 eval "DEFAULT_$LINE"
2534 else
2535 no_cache=1
2536 fi
2537
2538 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2539
2540 fi;
2541
2542 eval "$ac_cv_use_plugins"
2543 if test "$no_cache" != 1; then
2544 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2545 fi
2546
2547 if test "$wxUSE_PLUGINS" = yes; then
2548 echo "$as_me:$LINENO: result: yes" >&5
2549 echo "${ECHO_T}yes" >&6
2550 else
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2553 fi
2554
2555
2556 if test "$wxUSE_GUI" = "yes"; then
2557
2558
2559 enablestring=
2560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2561 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2562 no_cache=0
2563 # Check whether --enable-universal or --disable-universal was given.
2564 if test "${enable_universal+set}" = set; then
2565 enableval="$enable_universal"
2566
2567 if test "$enableval" = yes; then
2568 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2569 else
2570 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2571 fi
2572
2573 else
2574
2575 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2576 if test "x$LINE" != x ; then
2577 eval "DEFAULT_$LINE"
2578 else
2579 no_cache=1
2580 fi
2581
2582 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2583
2584 fi;
2585
2586 eval "$ac_cv_use_universal"
2587 if test "$no_cache" != 1; then
2588 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2589 fi
2590
2591 if test "$wxUSE_UNIVERSAL" = yes; then
2592 echo "$as_me:$LINENO: result: yes" >&5
2593 echo "${ECHO_T}yes" >&6
2594 else
2595 echo "$as_me:$LINENO: result: no" >&5
2596 echo "${ECHO_T}no" >&6
2597 fi
2598
2599
2600 # Check whether --with-gtk or --without-gtk was given.
2601 if test "${with_gtk+set}" = set; then
2602 withval="$with_gtk"
2603 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2604 fi;
2605
2606 # Check whether --with-motif or --without-motif was given.
2607 if test "${with_motif+set}" = set; then
2608 withval="$with_motif"
2609 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2610 fi;
2611
2612 # Check whether --with-mac or --without-mac was given.
2613 if test "${with_mac+set}" = set; then
2614 withval="$with_mac"
2615 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2616 fi;
2617
2618 # Check whether --with-cocoa or --without-cocoa was given.
2619 if test "${with_cocoa+set}" = set; then
2620 withval="$with_cocoa"
2621 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2622 fi;
2623
2624 # Check whether --with-wine or --without-wine was given.
2625 if test "${with_wine+set}" = set; then
2626 withval="$with_wine"
2627 wxUSE_WINE="$withval" CACHE_WINE=1
2628 fi;
2629
2630 # Check whether --with-msw or --without-msw was given.
2631 if test "${with_msw+set}" = set; then
2632 withval="$with_msw"
2633 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2634 fi;
2635
2636 # Check whether --with-pm or --without-pm was given.
2637 if test "${with_pm+set}" = set; then
2638 withval="$with_pm"
2639 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2640 fi;
2641
2642 # Check whether --with-mgl or --without-mgl was given.
2643 if test "${with_mgl+set}" = set; then
2644 withval="$with_mgl"
2645 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2646 fi;
2647
2648 # Check whether --with-microwin or --without-microwin was given.
2649 if test "${with_microwin+set}" = set; then
2650 withval="$with_microwin"
2651 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2652 fi;
2653
2654 # Check whether --with-x11 or --without-x11 was given.
2655 if test "${with_x11+set}" = set; then
2656 withval="$with_x11"
2657 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2658 fi;
2659
2660 enablestring=
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2663 no_cache=0
2664 # Check whether --enable-nanox or --disable-nanox was given.
2665 if test "${enable_nanox+set}" = set; then
2666 enableval="$enable_nanox"
2667
2668 if test "$enableval" = yes; then
2669 ac_cv_use_nanox='wxUSE_NANOX=yes'
2670 else
2671 ac_cv_use_nanox='wxUSE_NANOX=no'
2672 fi
2673
2674 else
2675
2676 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x ; then
2678 eval "DEFAULT_$LINE"
2679 else
2680 no_cache=1
2681 fi
2682
2683 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2684
2685 fi;
2686
2687 eval "$ac_cv_use_nanox"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2690 fi
2691
2692 if test "$wxUSE_NANOX" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2695 else
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2698 fi
2699
2700
2701
2702 enablestring=
2703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2704 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2705 no_cache=0
2706 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2707 if test "${enable_gtk2+set}" = set; then
2708 enableval="$enable_gtk2"
2709
2710 if test "$enableval" = yes; then
2711 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2712 else
2713 ac_cv_use_gtk2='wxUSE_GTK2=no'
2714 fi
2715
2716 else
2717
2718 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2719 if test "x$LINE" != x ; then
2720 eval "DEFAULT_$LINE"
2721 else
2722 no_cache=1
2723 fi
2724
2725 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2726
2727 fi;
2728
2729 eval "$ac_cv_use_gtk2"
2730 if test "$no_cache" != 1; then
2731 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2732 fi
2733
2734 if test "$wxUSE_GTK2" = yes; then
2735 echo "$as_me:$LINENO: result: yes" >&5
2736 echo "${ECHO_T}yes" >&6
2737 else
2738 echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6
2740 fi
2741
2742
2743 enablestring=
2744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2745 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2746 no_cache=0
2747 # Check whether --enable-gpe or --disable-gpe was given.
2748 if test "${enable_gpe+set}" = set; then
2749 enableval="$enable_gpe"
2750
2751 if test "$enableval" = yes; then
2752 ac_cv_use_gpe='wxUSE_GPE=yes'
2753 else
2754 ac_cv_use_gpe='wxUSE_GPE=no'
2755 fi
2756
2757 else
2758
2759 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x ; then
2761 eval "DEFAULT_$LINE"
2762 else
2763 no_cache=1
2764 fi
2765
2766 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2767
2768 fi;
2769
2770 eval "$ac_cv_use_gpe"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2773 fi
2774
2775 if test "$wxUSE_GPE" = yes; then
2776 echo "$as_me:$LINENO: result: yes" >&5
2777 echo "${ECHO_T}yes" >&6
2778 else
2779 echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6
2781 fi
2782
2783
2784
2785 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2786 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2787 no_cache=0
2788
2789 # Check whether --with-libpng or --without-libpng was given.
2790 if test "${with_libpng+set}" = set; then
2791 withval="$with_libpng"
2792
2793 if test "$withval" = yes; then
2794 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2795 elif test "$withval" = no; then
2796 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2797 elif test "$withval" = sys; then
2798 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2799 elif test "$withval" = builtin; then
2800 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2801 else
2802 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2803 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2804 { (exit 1); exit 1; }; }
2805 fi
2806
2807 else
2808
2809 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2810 if test "x$LINE" != x ; then
2811 eval "DEFAULT_$LINE"
2812 else
2813 no_cache=1
2814 fi
2815
2816 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2817
2818 fi;
2819
2820 eval "$ac_cv_use_libpng"
2821 if test "$no_cache" != 1; then
2822 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2823 fi
2824
2825 if test "$wxUSE_LIBPNG" = yes; then
2826 echo "$as_me:$LINENO: result: yes" >&5
2827 echo "${ECHO_T}yes" >&6
2828 elif test "$wxUSE_LIBPNG" = no; then
2829 echo "$as_me:$LINENO: result: no" >&5
2830 echo "${ECHO_T}no" >&6
2831 elif test "$wxUSE_LIBPNG" = sys; then
2832 echo "$as_me:$LINENO: result: system version" >&5
2833 echo "${ECHO_T}system version" >&6
2834 elif test "$wxUSE_LIBPNG" = builtin; then
2835 echo "$as_me:$LINENO: result: builtin version" >&5
2836 echo "${ECHO_T}builtin version" >&6
2837 else
2838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2839 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2840 { (exit 1); exit 1; }; }
2841 fi
2842
2843
2844 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2845 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2846 no_cache=0
2847
2848 # Check whether --with-libjpeg or --without-libjpeg was given.
2849 if test "${with_libjpeg+set}" = set; then
2850 withval="$with_libjpeg"
2851
2852 if test "$withval" = yes; then
2853 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2854 elif test "$withval" = no; then
2855 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2856 elif test "$withval" = sys; then
2857 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2858 elif test "$withval" = builtin; then
2859 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2860 else
2861 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2862 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2863 { (exit 1); exit 1; }; }
2864 fi
2865
2866 else
2867
2868 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x ; then
2870 eval "DEFAULT_$LINE"
2871 else
2872 no_cache=1
2873 fi
2874
2875 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2876
2877 fi;
2878
2879 eval "$ac_cv_use_libjpeg"
2880 if test "$no_cache" != 1; then
2881 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2882 fi
2883
2884 if test "$wxUSE_LIBJPEG" = yes; then
2885 echo "$as_me:$LINENO: result: yes" >&5
2886 echo "${ECHO_T}yes" >&6
2887 elif test "$wxUSE_LIBJPEG" = no; then
2888 echo "$as_me:$LINENO: result: no" >&5
2889 echo "${ECHO_T}no" >&6
2890 elif test "$wxUSE_LIBJPEG" = sys; then
2891 echo "$as_me:$LINENO: result: system version" >&5
2892 echo "${ECHO_T}system version" >&6
2893 elif test "$wxUSE_LIBJPEG" = builtin; then
2894 echo "$as_me:$LINENO: result: builtin version" >&5
2895 echo "${ECHO_T}builtin version" >&6
2896 else
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2900 fi
2901
2902
2903 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2904 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2905 no_cache=0
2906
2907 # Check whether --with-libtiff or --without-libtiff was given.
2908 if test "${with_libtiff+set}" = set; then
2909 withval="$with_libtiff"
2910
2911 if test "$withval" = yes; then
2912 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2913 elif test "$withval" = no; then
2914 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2915 elif test "$withval" = sys; then
2916 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2917 elif test "$withval" = builtin; then
2918 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2919 else
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2923 fi
2924
2925 else
2926
2927 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2928 if test "x$LINE" != x ; then
2929 eval "DEFAULT_$LINE"
2930 else
2931 no_cache=1
2932 fi
2933
2934 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2935
2936 fi;
2937
2938 eval "$ac_cv_use_libtiff"
2939 if test "$no_cache" != 1; then
2940 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2941 fi
2942
2943 if test "$wxUSE_LIBTIFF" = yes; then
2944 echo "$as_me:$LINENO: result: yes" >&5
2945 echo "${ECHO_T}yes" >&6
2946 elif test "$wxUSE_LIBTIFF" = no; then
2947 echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6
2949 elif test "$wxUSE_LIBTIFF" = sys; then
2950 echo "$as_me:$LINENO: result: system version" >&5
2951 echo "${ECHO_T}system version" >&6
2952 elif test "$wxUSE_LIBTIFF" = builtin; then
2953 echo "$as_me:$LINENO: result: builtin version" >&5
2954 echo "${ECHO_T}builtin version" >&6
2955 else
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2959 fi
2960
2961
2962 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2963 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2964 no_cache=0
2965
2966 # Check whether --with-libxpm or --without-libxpm was given.
2967 if test "${with_libxpm+set}" = set; then
2968 withval="$with_libxpm"
2969
2970 if test "$withval" = yes; then
2971 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2972 elif test "$withval" = no; then
2973 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2974 elif test "$withval" = sys; then
2975 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2976 elif test "$withval" = builtin; then
2977 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2978 else
2979 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2980 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2981 { (exit 1); exit 1; }; }
2982 fi
2983
2984 else
2985
2986 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x ; then
2988 eval "DEFAULT_$LINE"
2989 else
2990 no_cache=1
2991 fi
2992
2993 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2994
2995 fi;
2996
2997 eval "$ac_cv_use_libxpm"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3000 fi
3001
3002 if test "$wxUSE_LIBXPM" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 elif test "$wxUSE_LIBXPM" = no; then
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 elif test "$wxUSE_LIBXPM" = sys; then
3009 echo "$as_me:$LINENO: result: system version" >&5
3010 echo "${ECHO_T}system version" >&6
3011 elif test "$wxUSE_LIBXPM" = builtin; then
3012 echo "$as_me:$LINENO: result: builtin version" >&5
3013 echo "${ECHO_T}builtin version" >&6
3014 else
3015 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3016 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3017 { (exit 1); exit 1; }; }
3018 fi
3019
3020
3021 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3022 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3023 no_cache=0
3024
3025 # Check whether --with-libmspack or --without-libmspack was given.
3026 if test "${with_libmspack+set}" = set; then
3027 withval="$with_libmspack"
3028
3029 if test "$withval" = yes; then
3030 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3031 else
3032 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3033 fi
3034
3035 else
3036
3037 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x ; then
3039 eval "DEFAULT_$LINE"
3040 else
3041 no_cache=1
3042 fi
3043
3044 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3045
3046 fi;
3047
3048 eval "$ac_cv_use_libmspack"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3051 fi
3052
3053 if test "$wxUSE_LIBMSPACK" = yes; then
3054 echo "$as_me:$LINENO: result: yes" >&5
3055 echo "${ECHO_T}yes" >&6
3056 else
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3059 fi
3060
3061
3062 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3063 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3064 no_cache=0
3065
3066 # Check whether --with-sdl or --without-sdl was given.
3067 if test "${with_sdl+set}" = set; then
3068 withval="$with_sdl"
3069
3070 if test "$withval" = yes; then
3071 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3072 else
3073 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3074 fi
3075
3076 else
3077
3078 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3079 if test "x$LINE" != x ; then
3080 eval "DEFAULT_$LINE"
3081 else
3082 no_cache=1
3083 fi
3084
3085 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3086
3087 fi;
3088
3089 eval "$ac_cv_use_sdl"
3090 if test "$no_cache" != 1; then
3091 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3092 fi
3093
3094 if test "$wxUSE_LIBSDL" = yes; then
3095 echo "$as_me:$LINENO: result: yes" >&5
3096 echo "${ECHO_T}yes" >&6
3097 else
3098 echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3100 fi
3101
3102
3103 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3104 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3105 no_cache=0
3106
3107 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3108 if test "${with_gnomeprint+set}" = set; then
3109 withval="$with_gnomeprint"
3110
3111 if test "$withval" = yes; then
3112 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3113 else
3114 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3115 fi
3116
3117 else
3118
3119 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3120 if test "x$LINE" != x ; then
3121 eval "DEFAULT_$LINE"
3122 else
3123 no_cache=1
3124 fi
3125
3126 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3127
3128 fi;
3129
3130 eval "$ac_cv_use_gnomeprint"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3133 fi
3134
3135 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3136 echo "$as_me:$LINENO: result: yes" >&5
3137 echo "${ECHO_T}yes" >&6
3138 else
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3141 fi
3142
3143
3144 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3145 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3146 no_cache=0
3147
3148 # Check whether --with-opengl or --without-opengl was given.
3149 if test "${with_opengl+set}" = set; then
3150 withval="$with_opengl"
3151
3152 if test "$withval" = yes; then
3153 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3154 else
3155 ac_cv_use_opengl='wxUSE_OPENGL=no'
3156 fi
3157
3158 else
3159
3160 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3161 if test "x$LINE" != x ; then
3162 eval "DEFAULT_$LINE"
3163 else
3164 no_cache=1
3165 fi
3166
3167 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3168
3169 fi;
3170
3171 eval "$ac_cv_use_opengl"
3172 if test "$no_cache" != 1; then
3173 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3174 fi
3175
3176 if test "$wxUSE_OPENGL" = yes; then
3177 echo "$as_me:$LINENO: result: yes" >&5
3178 echo "${ECHO_T}yes" >&6
3179 else
3180 echo "$as_me:$LINENO: result: no" >&5
3181 echo "${ECHO_T}no" >&6
3182 fi
3183
3184
3185 fi
3186
3187
3188 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3189 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3190 no_cache=0
3191
3192 # Check whether --with-dmalloc or --without-dmalloc was given.
3193 if test "${with_dmalloc+set}" = set; then
3194 withval="$with_dmalloc"
3195
3196 if test "$withval" = yes; then
3197 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3198 else
3199 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3200 fi
3201
3202 else
3203
3204 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3205 if test "x$LINE" != x ; then
3206 eval "DEFAULT_$LINE"
3207 else
3208 no_cache=1
3209 fi
3210
3211 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3212
3213 fi;
3214
3215 eval "$ac_cv_use_dmalloc"
3216 if test "$no_cache" != 1; then
3217 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3218 fi
3219
3220 if test "$wxUSE_DMALLOC" = yes; then
3221 echo "$as_me:$LINENO: result: yes" >&5
3222 echo "${ECHO_T}yes" >&6
3223 else
3224 echo "$as_me:$LINENO: result: no" >&5
3225 echo "${ECHO_T}no" >&6
3226 fi
3227
3228
3229 echo "$as_me:$LINENO: checking for --with-regex" >&5
3230 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3231 no_cache=0
3232
3233 # Check whether --with-regex or --without-regex was given.
3234 if test "${with_regex+set}" = set; then
3235 withval="$with_regex"
3236
3237 if test "$withval" = yes; then
3238 ac_cv_use_regex='wxUSE_REGEX=yes'
3239 elif test "$withval" = no; then
3240 ac_cv_use_regex='wxUSE_REGEX=no'
3241 elif test "$withval" = sys; then
3242 ac_cv_use_regex='wxUSE_REGEX=sys'
3243 elif test "$withval" = builtin; then
3244 ac_cv_use_regex='wxUSE_REGEX=builtin'
3245 else
3246 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3247 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3248 { (exit 1); exit 1; }; }
3249 fi
3250
3251 else
3252
3253 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3254 if test "x$LINE" != x ; then
3255 eval "DEFAULT_$LINE"
3256 else
3257 no_cache=1
3258 fi
3259
3260 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3261
3262 fi;
3263
3264 eval "$ac_cv_use_regex"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3267 fi
3268
3269 if test "$wxUSE_REGEX" = yes; then
3270 echo "$as_me:$LINENO: result: yes" >&5
3271 echo "${ECHO_T}yes" >&6
3272 elif test "$wxUSE_REGEX" = no; then
3273 echo "$as_me:$LINENO: result: no" >&5
3274 echo "${ECHO_T}no" >&6
3275 elif test "$wxUSE_REGEX" = sys; then
3276 echo "$as_me:$LINENO: result: system version" >&5
3277 echo "${ECHO_T}system version" >&6
3278 elif test "$wxUSE_REGEX" = builtin; then
3279 echo "$as_me:$LINENO: result: builtin version" >&5
3280 echo "${ECHO_T}builtin version" >&6
3281 else
3282 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3283 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3284 { (exit 1); exit 1; }; }
3285 fi
3286
3287
3288 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3289 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3290 no_cache=0
3291
3292 # Check whether --with-zlib or --without-zlib was given.
3293 if test "${with_zlib+set}" = set; then
3294 withval="$with_zlib"
3295
3296 if test "$withval" = yes; then
3297 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3298 elif test "$withval" = no; then
3299 ac_cv_use_zlib='wxUSE_ZLIB=no'
3300 elif test "$withval" = sys; then
3301 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3302 elif test "$withval" = builtin; then
3303 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3304 else
3305 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3306 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3307 { (exit 1); exit 1; }; }
3308 fi
3309
3310 else
3311
3312 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x ; then
3314 eval "DEFAULT_$LINE"
3315 else
3316 no_cache=1
3317 fi
3318
3319 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3320
3321 fi;
3322
3323 eval "$ac_cv_use_zlib"
3324 if test "$no_cache" != 1; then
3325 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3326 fi
3327
3328 if test "$wxUSE_ZLIB" = yes; then
3329 echo "$as_me:$LINENO: result: yes" >&5
3330 echo "${ECHO_T}yes" >&6
3331 elif test "$wxUSE_ZLIB" = no; then
3332 echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6
3334 elif test "$wxUSE_ZLIB" = sys; then
3335 echo "$as_me:$LINENO: result: system version" >&5
3336 echo "${ECHO_T}system version" >&6
3337 elif test "$wxUSE_ZLIB" = builtin; then
3338 echo "$as_me:$LINENO: result: builtin version" >&5
3339 echo "${ECHO_T}builtin version" >&6
3340 else
3341 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3342 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3343 { (exit 1); exit 1; }; }
3344 fi
3345
3346
3347 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3348 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3349 no_cache=0
3350
3351 # Check whether --with-odbc or --without-odbc was given.
3352 if test "${with_odbc+set}" = set; then
3353 withval="$with_odbc"
3354
3355 if test "$withval" = yes; then
3356 ac_cv_use_odbc='wxUSE_ODBC=yes'
3357 elif test "$withval" = no; then
3358 ac_cv_use_odbc='wxUSE_ODBC=no'
3359 elif test "$withval" = sys; then
3360 ac_cv_use_odbc='wxUSE_ODBC=sys'
3361 elif test "$withval" = builtin; then
3362 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3363 else
3364 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3365 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3366 { (exit 1); exit 1; }; }
3367 fi
3368
3369 else
3370
3371 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x ; then
3373 eval "DEFAULT_$LINE"
3374 else
3375 no_cache=1
3376 fi
3377
3378 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3379
3380 fi;
3381
3382 eval "$ac_cv_use_odbc"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3385 fi
3386
3387 if test "$wxUSE_ODBC" = yes; then
3388 echo "$as_me:$LINENO: result: yes" >&5
3389 echo "${ECHO_T}yes" >&6
3390 elif test "$wxUSE_ODBC" = no; then
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3393 elif test "$wxUSE_ODBC" = sys; then
3394 echo "$as_me:$LINENO: result: system version" >&5
3395 echo "${ECHO_T}system version" >&6
3396 elif test "$wxUSE_ODBC" = builtin; then
3397 echo "$as_me:$LINENO: result: builtin version" >&5
3398 echo "${ECHO_T}builtin version" >&6
3399 else
3400 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3401 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3402 { (exit 1); exit 1; }; }
3403 fi
3404
3405
3406 echo "$as_me:$LINENO: checking for --with-expat" >&5
3407 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3408 no_cache=0
3409
3410 # Check whether --with-expat or --without-expat was given.
3411 if test "${with_expat+set}" = set; then
3412 withval="$with_expat"
3413
3414 if test "$withval" = yes; then
3415 ac_cv_use_expat='wxUSE_EXPAT=yes'
3416 elif test "$withval" = no; then
3417 ac_cv_use_expat='wxUSE_EXPAT=no'
3418 elif test "$withval" = sys; then
3419 ac_cv_use_expat='wxUSE_EXPAT=sys'
3420 elif test "$withval" = builtin; then
3421 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3422 else
3423 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3424 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3425 { (exit 1); exit 1; }; }
3426 fi
3427
3428 else
3429
3430 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x ; then
3432 eval "DEFAULT_$LINE"
3433 else
3434 no_cache=1
3435 fi
3436
3437 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3438
3439 fi;
3440
3441 eval "$ac_cv_use_expat"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3444 fi
3445
3446 if test "$wxUSE_EXPAT" = yes; then
3447 echo "$as_me:$LINENO: result: yes" >&5
3448 echo "${ECHO_T}yes" >&6
3449 elif test "$wxUSE_EXPAT" = no; then
3450 echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3452 elif test "$wxUSE_EXPAT" = sys; then
3453 echo "$as_me:$LINENO: result: system version" >&5
3454 echo "${ECHO_T}system version" >&6
3455 elif test "$wxUSE_EXPAT" = builtin; then
3456 echo "$as_me:$LINENO: result: builtin version" >&5
3457 echo "${ECHO_T}builtin version" >&6
3458 else
3459 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3460 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3461 { (exit 1); exit 1; }; }
3462 fi
3463
3464
3465
3466
3467 enablestring=
3468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3469 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3470 no_cache=0
3471 # Check whether --enable-shared or --disable-shared was given.
3472 if test "${enable_shared+set}" = set; then
3473 enableval="$enable_shared"
3474
3475 if test "$enableval" = yes; then
3476 ac_cv_use_shared='wxUSE_SHARED=yes'
3477 else
3478 ac_cv_use_shared='wxUSE_SHARED=no'
3479 fi
3480
3481 else
3482
3483 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x ; then
3485 eval "DEFAULT_$LINE"
3486 else
3487 no_cache=1
3488 fi
3489
3490 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3491
3492 fi;
3493
3494 eval "$ac_cv_use_shared"
3495 if test "$no_cache" != 1; then
3496 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3497 fi
3498
3499 if test "$wxUSE_SHARED" = yes; then
3500 echo "$as_me:$LINENO: result: yes" >&5
3501 echo "${ECHO_T}yes" >&6
3502 else
3503 echo "$as_me:$LINENO: result: no" >&5
3504 echo "${ECHO_T}no" >&6
3505 fi
3506
3507
3508 enablestring=
3509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3510 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3511 no_cache=0
3512 # Check whether --enable-optimise or --disable-optimise was given.
3513 if test "${enable_optimise+set}" = set; then
3514 enableval="$enable_optimise"
3515
3516 if test "$enableval" = yes; then
3517 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3518 else
3519 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3520 fi
3521
3522 else
3523
3524 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x ; then
3526 eval "DEFAULT_$LINE"
3527 else
3528 no_cache=1
3529 fi
3530
3531 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3532
3533 fi;
3534
3535 eval "$ac_cv_use_optimise"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3538 fi
3539
3540 if test "$wxUSE_OPTIMISE" = yes; then
3541 echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6
3543 else
3544 echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6
3546 fi
3547
3548
3549 enablestring=
3550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3551 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3552 no_cache=0
3553 # Check whether --enable-debug or --disable-debug was given.
3554 if test "${enable_debug+set}" = set; then
3555 enableval="$enable_debug"
3556
3557 if test "$enableval" = yes; then
3558 ac_cv_use_debug='wxUSE_DEBUG=yes'
3559 else
3560 ac_cv_use_debug='wxUSE_DEBUG=no'
3561 fi
3562
3563 else
3564
3565 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x ; then
3567 eval "DEFAULT_$LINE"
3568 else
3569 no_cache=1
3570 fi
3571
3572 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3573
3574 fi;
3575
3576 eval "$ac_cv_use_debug"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3579 fi
3580
3581 if test "$wxUSE_DEBUG" = yes; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6
3584 else
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3587 fi
3588
3589
3590 enablestring=
3591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3592 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3593 no_cache=0
3594 # Check whether --enable-stl or --disable-stl was given.
3595 if test "${enable_stl+set}" = set; then
3596 enableval="$enable_stl"
3597
3598 if test "$enableval" = yes; then
3599 ac_cv_use_stl='wxUSE_STL=yes'
3600 else
3601 ac_cv_use_stl='wxUSE_STL=no'
3602 fi
3603
3604 else
3605
3606 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3607 if test "x$LINE" != x ; then
3608 eval "DEFAULT_$LINE"
3609 else
3610 no_cache=1
3611 fi
3612
3613 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3614
3615 fi;
3616
3617 eval "$ac_cv_use_stl"
3618 if test "$no_cache" != 1; then
3619 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3620 fi
3621
3622 if test "$wxUSE_STL" = yes; then
3623 echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6
3625 else
3626 echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6
3628 fi
3629
3630 if test "$USE_OS2" = "1"; then
3631
3632 enablestring=
3633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3634 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3635 no_cache=0
3636 # Check whether --enable-omf or --disable-omf was given.
3637 if test "${enable_omf+set}" = set; then
3638 enableval="$enable_omf"
3639
3640 if test "$enableval" = yes; then
3641 ac_cv_use_omf='wxUSE_OMF=yes'
3642 else
3643 ac_cv_use_omf='wxUSE_OMF=no'
3644 fi
3645
3646 else
3647
3648 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3649 if test "x$LINE" != x ; then
3650 eval "DEFAULT_$LINE"
3651 else
3652 no_cache=1
3653 fi
3654
3655 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3656
3657 fi;
3658
3659 eval "$ac_cv_use_omf"
3660 if test "$no_cache" != 1; then
3661 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3662 fi
3663
3664 if test "$wxUSE_OMF" = yes; then
3665 echo "$as_me:$LINENO: result: yes" >&5
3666 echo "${ECHO_T}yes" >&6
3667 else
3668 echo "$as_me:$LINENO: result: no" >&5
3669 echo "${ECHO_T}no" >&6
3670 fi
3671
3672 fi
3673
3674 if test "$wxUSE_DEBUG" = "yes"; then
3675 DEFAULT_wxUSE_DEBUG_FLAG=yes
3676 DEFAULT_wxUSE_DEBUG_INFO=yes
3677 BUILD=debug
3678 elif test "$wxUSE_DEBUG" = "no"; then
3679 DEFAULT_wxUSE_DEBUG_FLAG=no
3680 DEFAULT_wxUSE_DEBUG_INFO=no
3681 BUILD=release
3682 fi
3683
3684
3685 enablestring=
3686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3687 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3688 no_cache=0
3689 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3690 if test "${enable_debug_flag+set}" = set; then
3691 enableval="$enable_debug_flag"
3692
3693 if test "$enableval" = yes; then
3694 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3695 else
3696 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3697 fi
3698
3699 else
3700
3701 LINE=`grep "wxUSE_DEBUG_FLAG" ${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_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3709
3710 fi;
3711
3712 eval "$ac_cv_use_debug_flag"
3713 if test "$no_cache" != 1; then
3714 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3715 fi
3716
3717 if test "$wxUSE_DEBUG_FLAG" = 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
3726 enablestring=
3727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3728 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3729 no_cache=0
3730 # Check whether --enable-debug_info or --disable-debug_info was given.
3731 if test "${enable_debug_info+set}" = set; then
3732 enableval="$enable_debug_info"
3733
3734 if test "$enableval" = yes; then
3735 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3736 else
3737 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3738 fi
3739
3740 else
3741
3742 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3743 if test "x$LINE" != x ; then
3744 eval "DEFAULT_$LINE"
3745 else
3746 no_cache=1
3747 fi
3748
3749 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3750
3751 fi;
3752
3753 eval "$ac_cv_use_debug_info"
3754 if test "$no_cache" != 1; then
3755 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3756 fi
3757
3758 if test "$wxUSE_DEBUG_INFO" = yes; then
3759 echo "$as_me:$LINENO: result: yes" >&5
3760 echo "${ECHO_T}yes" >&6
3761 else
3762 echo "$as_me:$LINENO: result: no" >&5
3763 echo "${ECHO_T}no" >&6
3764 fi
3765
3766
3767 enablestring=
3768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3769 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3770 no_cache=0
3771 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3772 if test "${enable_debug_gdb+set}" = set; then
3773 enableval="$enable_debug_gdb"
3774
3775 if test "$enableval" = yes; then
3776 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3777 else
3778 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3779 fi
3780
3781 else
3782
3783 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3784 if test "x$LINE" != x ; then
3785 eval "DEFAULT_$LINE"
3786 else
3787 no_cache=1
3788 fi
3789
3790 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3791
3792 fi;
3793
3794 eval "$ac_cv_use_debug_gdb"
3795 if test "$no_cache" != 1; then
3796 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3797 fi
3798
3799 if test "$wxUSE_DEBUG_GDB" = yes; then
3800 echo "$as_me:$LINENO: result: yes" >&5
3801 echo "${ECHO_T}yes" >&6
3802 else
3803 echo "$as_me:$LINENO: result: no" >&5
3804 echo "${ECHO_T}no" >&6
3805 fi
3806
3807
3808 enablestring=
3809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3810 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3811 no_cache=0
3812 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3813 if test "${enable_debug_cntxt+set}" = set; then
3814 enableval="$enable_debug_cntxt"
3815
3816 if test "$enableval" = yes; then
3817 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3818 else
3819 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3820 fi
3821
3822 else
3823
3824 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3825 if test "x$LINE" != x ; then
3826 eval "DEFAULT_$LINE"
3827 else
3828 no_cache=1
3829 fi
3830
3831 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3832
3833 fi;
3834
3835 eval "$ac_cv_use_debug_cntxt"
3836 if test "$no_cache" != 1; then
3837 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3838 fi
3839
3840 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3841 echo "$as_me:$LINENO: result: yes" >&5
3842 echo "${ECHO_T}yes" >&6
3843 else
3844 echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6
3846 fi
3847
3848
3849 enablestring=
3850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3851 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3852 no_cache=0
3853 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3854 if test "${enable_mem_tracing+set}" = set; then
3855 enableval="$enable_mem_tracing"
3856
3857 if test "$enableval" = yes; then
3858 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3859 else
3860 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3861 fi
3862
3863 else
3864
3865 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3866 if test "x$LINE" != x ; then
3867 eval "DEFAULT_$LINE"
3868 else
3869 no_cache=1
3870 fi
3871
3872 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3873
3874 fi;
3875
3876 eval "$ac_cv_use_mem_tracing"
3877 if test "$no_cache" != 1; then
3878 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3879 fi
3880
3881 if test "$wxUSE_MEM_TRACING" = yes; then
3882 echo "$as_me:$LINENO: result: yes" >&5
3883 echo "${ECHO_T}yes" >&6
3884 else
3885 echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6
3887 fi
3888
3889
3890 enablestring=
3891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3892 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3893 no_cache=0
3894 # Check whether --enable-profile or --disable-profile was given.
3895 if test "${enable_profile+set}" = set; then
3896 enableval="$enable_profile"
3897
3898 if test "$enableval" = yes; then
3899 ac_cv_use_profile='wxUSE_PROFILE=yes'
3900 else
3901 ac_cv_use_profile='wxUSE_PROFILE=no'
3902 fi
3903
3904 else
3905
3906 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3907 if test "x$LINE" != x ; then
3908 eval "DEFAULT_$LINE"
3909 else
3910 no_cache=1
3911 fi
3912
3913 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3914
3915 fi;
3916
3917 eval "$ac_cv_use_profile"
3918 if test "$no_cache" != 1; then
3919 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3920 fi
3921
3922 if test "$wxUSE_PROFILE" = yes; then
3923 echo "$as_me:$LINENO: result: yes" >&5
3924 echo "${ECHO_T}yes" >&6
3925 else
3926 echo "$as_me:$LINENO: result: no" >&5
3927 echo "${ECHO_T}no" >&6
3928 fi
3929
3930
3931 enablestring=
3932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3933 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3934 no_cache=0
3935 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3936 if test "${enable_no_rtti+set}" = set; then
3937 enableval="$enable_no_rtti"
3938
3939 if test "$enableval" = yes; then
3940 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3941 else
3942 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3943 fi
3944
3945 else
3946
3947 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x ; then
3949 eval "DEFAULT_$LINE"
3950 else
3951 no_cache=1
3952 fi
3953
3954 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3955
3956 fi;
3957
3958 eval "$ac_cv_use_no_rtti"
3959 if test "$no_cache" != 1; then
3960 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3961 fi
3962
3963 if test "$wxUSE_NO_RTTI" = yes; then
3964 echo "$as_me:$LINENO: result: yes" >&5
3965 echo "${ECHO_T}yes" >&6
3966 else
3967 echo "$as_me:$LINENO: result: no" >&5
3968 echo "${ECHO_T}no" >&6
3969 fi
3970
3971
3972 enablestring=
3973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3974 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3975 no_cache=0
3976 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3977 if test "${enable_no_exceptions+set}" = set; then
3978 enableval="$enable_no_exceptions"
3979
3980 if test "$enableval" = yes; then
3981 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3982 else
3983 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3984 fi
3985
3986 else
3987
3988 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3989 if test "x$LINE" != x ; then
3990 eval "DEFAULT_$LINE"
3991 else
3992 no_cache=1
3993 fi
3994
3995 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3996
3997 fi;
3998
3999 eval "$ac_cv_use_no_exceptions"
4000 if test "$no_cache" != 1; then
4001 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4002 fi
4003
4004 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4005 echo "$as_me:$LINENO: result: yes" >&5
4006 echo "${ECHO_T}yes" >&6
4007 else
4008 echo "$as_me:$LINENO: result: no" >&5
4009 echo "${ECHO_T}no" >&6
4010 fi
4011
4012
4013 enablestring=
4014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4015 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4016 no_cache=0
4017 # Check whether --enable-permissive or --disable-permissive was given.
4018 if test "${enable_permissive+set}" = set; then
4019 enableval="$enable_permissive"
4020
4021 if test "$enableval" = yes; then
4022 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4023 else
4024 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4025 fi
4026
4027 else
4028
4029 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x ; then
4031 eval "DEFAULT_$LINE"
4032 else
4033 no_cache=1
4034 fi
4035
4036 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4037
4038 fi;
4039
4040 eval "$ac_cv_use_permissive"
4041 if test "$no_cache" != 1; then
4042 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4043 fi
4044
4045 if test "$wxUSE_PERMISSIVE" = yes; then
4046 echo "$as_me:$LINENO: result: yes" >&5
4047 echo "${ECHO_T}yes" >&6
4048 else
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4051 fi
4052
4053
4054 enablestring=
4055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4056 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4057 no_cache=0
4058 # Check whether --enable-no_deps or --disable-no_deps was given.
4059 if test "${enable_no_deps+set}" = set; then
4060 enableval="$enable_no_deps"
4061
4062 if test "$enableval" = yes; then
4063 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4064 else
4065 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4066 fi
4067
4068 else
4069
4070 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x ; then
4072 eval "DEFAULT_$LINE"
4073 else
4074 no_cache=1
4075 fi
4076
4077 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4078
4079 fi;
4080
4081 eval "$ac_cv_use_no_deps"
4082 if test "$no_cache" != 1; then
4083 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4084 fi
4085
4086 if test "$wxUSE_NO_DEPS" = yes; then
4087 echo "$as_me:$LINENO: result: yes" >&5
4088 echo "${ECHO_T}yes" >&6
4089 else
4090 echo "$as_me:$LINENO: result: no" >&5
4091 echo "${ECHO_T}no" >&6
4092 fi
4093
4094
4095
4096 enablestring=
4097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4098 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4099 no_cache=0
4100 # Check whether --enable-compat22 or --disable-compat22 was given.
4101 if test "${enable_compat22+set}" = set; then
4102 enableval="$enable_compat22"
4103
4104 if test "$enableval" = yes; then
4105 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4106 else
4107 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4108 fi
4109
4110 else
4111
4112 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x ; then
4114 eval "DEFAULT_$LINE"
4115 else
4116 no_cache=1
4117 fi
4118
4119 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4120
4121 fi;
4122
4123 eval "$ac_cv_use_compat22"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4126 fi
4127
4128 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4129 echo "$as_me:$LINENO: result: yes" >&5
4130 echo "${ECHO_T}yes" >&6
4131 else
4132 echo "$as_me:$LINENO: result: no" >&5
4133 echo "${ECHO_T}no" >&6
4134 fi
4135
4136
4137 enablestring=disable
4138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4139 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4140 no_cache=0
4141 # Check whether --enable-compat24 or --disable-compat24 was given.
4142 if test "${enable_compat24+set}" = set; then
4143 enableval="$enable_compat24"
4144
4145 if test "$enableval" = yes; then
4146 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4147 else
4148 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4149 fi
4150
4151 else
4152
4153 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x ; then
4155 eval "DEFAULT_$LINE"
4156 else
4157 no_cache=1
4158 fi
4159
4160 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4161
4162 fi;
4163
4164 eval "$ac_cv_use_compat24"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4167 fi
4168
4169 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4170 echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6
4172 else
4173 echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4175 fi
4176
4177
4178
4179 enablestring=
4180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4181 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4182 no_cache=0
4183 # Check whether --enable-rpath or --disable-rpath was given.
4184 if test "${enable_rpath+set}" = set; then
4185 enableval="$enable_rpath"
4186
4187 if test "$enableval" = yes; then
4188 ac_cv_use_rpath='wxUSE_RPATH=yes'
4189 else
4190 ac_cv_use_rpath='wxUSE_RPATH=no'
4191 fi
4192
4193 else
4194
4195 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4196 if test "x$LINE" != x ; then
4197 eval "DEFAULT_$LINE"
4198 else
4199 no_cache=1
4200 fi
4201
4202 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4203
4204 fi;
4205
4206 eval "$ac_cv_use_rpath"
4207 if test "$no_cache" != 1; then
4208 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4209 fi
4210
4211 if test "$wxUSE_RPATH" = yes; then
4212 echo "$as_me:$LINENO: result: yes" >&5
4213 echo "${ECHO_T}yes" >&6
4214 else
4215 echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6
4217 fi
4218
4219
4220
4221
4222
4223 enablestring=
4224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4225 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4226 no_cache=0
4227 # Check whether --enable-intl or --disable-intl was given.
4228 if test "${enable_intl+set}" = set; then
4229 enableval="$enable_intl"
4230
4231 if test "$enableval" = yes; then
4232 ac_cv_use_intl='wxUSE_INTL=yes'
4233 else
4234 ac_cv_use_intl='wxUSE_INTL=no'
4235 fi
4236
4237 else
4238
4239 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x ; then
4241 eval "DEFAULT_$LINE"
4242 else
4243 no_cache=1
4244 fi
4245
4246 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4247
4248 fi;
4249
4250 eval "$ac_cv_use_intl"
4251 if test "$no_cache" != 1; then
4252 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4253 fi
4254
4255 if test "$wxUSE_INTL" = yes; then
4256 echo "$as_me:$LINENO: result: yes" >&5
4257 echo "${ECHO_T}yes" >&6
4258 else
4259 echo "$as_me:$LINENO: result: no" >&5
4260 echo "${ECHO_T}no" >&6
4261 fi
4262
4263
4264 enablestring=
4265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4266 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4267 no_cache=0
4268 # Check whether --enable-config or --disable-config was given.
4269 if test "${enable_config+set}" = set; then
4270 enableval="$enable_config"
4271
4272 if test "$enableval" = yes; then
4273 ac_cv_use_config='wxUSE_CONFIG=yes'
4274 else
4275 ac_cv_use_config='wxUSE_CONFIG=no'
4276 fi
4277
4278 else
4279
4280 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4281 if test "x$LINE" != x ; then
4282 eval "DEFAULT_$LINE"
4283 else
4284 no_cache=1
4285 fi
4286
4287 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4288
4289 fi;
4290
4291 eval "$ac_cv_use_config"
4292 if test "$no_cache" != 1; then
4293 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4294 fi
4295
4296 if test "$wxUSE_CONFIG" = yes; then
4297 echo "$as_me:$LINENO: result: yes" >&5
4298 echo "${ECHO_T}yes" >&6
4299 else
4300 echo "$as_me:$LINENO: result: no" >&5
4301 echo "${ECHO_T}no" >&6
4302 fi
4303
4304
4305
4306 enablestring=
4307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4308 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4309 no_cache=0
4310 # Check whether --enable-protocols or --disable-protocols was given.
4311 if test "${enable_protocols+set}" = set; then
4312 enableval="$enable_protocols"
4313
4314 if test "$enableval" = yes; then
4315 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4316 else
4317 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4318 fi
4319
4320 else
4321
4322 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4323 if test "x$LINE" != x ; then
4324 eval "DEFAULT_$LINE"
4325 else
4326 no_cache=1
4327 fi
4328
4329 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4330
4331 fi;
4332
4333 eval "$ac_cv_use_protocols"
4334 if test "$no_cache" != 1; then
4335 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4336 fi
4337
4338 if test "$wxUSE_PROTOCOL" = yes; then
4339 echo "$as_me:$LINENO: result: yes" >&5
4340 echo "${ECHO_T}yes" >&6
4341 else
4342 echo "$as_me:$LINENO: result: no" >&5
4343 echo "${ECHO_T}no" >&6
4344 fi
4345
4346
4347 enablestring=
4348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4349 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4350 no_cache=0
4351 # Check whether --enable-ftp or --disable-ftp was given.
4352 if test "${enable_ftp+set}" = set; then
4353 enableval="$enable_ftp"
4354
4355 if test "$enableval" = yes; then
4356 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4357 else
4358 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4359 fi
4360
4361 else
4362
4363 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x ; then
4365 eval "DEFAULT_$LINE"
4366 else
4367 no_cache=1
4368 fi
4369
4370 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4371
4372 fi;
4373
4374 eval "$ac_cv_use_ftp"
4375 if test "$no_cache" != 1; then
4376 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4377 fi
4378
4379 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4380 echo "$as_me:$LINENO: result: yes" >&5
4381 echo "${ECHO_T}yes" >&6
4382 else
4383 echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6
4385 fi
4386
4387
4388 enablestring=
4389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4390 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4391 no_cache=0
4392 # Check whether --enable-http or --disable-http was given.
4393 if test "${enable_http+set}" = set; then
4394 enableval="$enable_http"
4395
4396 if test "$enableval" = yes; then
4397 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4398 else
4399 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4400 fi
4401
4402 else
4403
4404 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4405 if test "x$LINE" != x ; then
4406 eval "DEFAULT_$LINE"
4407 else
4408 no_cache=1
4409 fi
4410
4411 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4412
4413 fi;
4414
4415 eval "$ac_cv_use_http"
4416 if test "$no_cache" != 1; then
4417 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4418 fi
4419
4420 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4421 echo "$as_me:$LINENO: result: yes" >&5
4422 echo "${ECHO_T}yes" >&6
4423 else
4424 echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6
4426 fi
4427
4428
4429 enablestring=
4430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4431 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4432 no_cache=0
4433 # Check whether --enable-fileproto or --disable-fileproto was given.
4434 if test "${enable_fileproto+set}" = set; then
4435 enableval="$enable_fileproto"
4436
4437 if test "$enableval" = yes; then
4438 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4439 else
4440 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4441 fi
4442
4443 else
4444
4445 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4446 if test "x$LINE" != x ; then
4447 eval "DEFAULT_$LINE"
4448 else
4449 no_cache=1
4450 fi
4451
4452 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4453
4454 fi;
4455
4456 eval "$ac_cv_use_fileproto"
4457 if test "$no_cache" != 1; then
4458 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4459 fi
4460
4461 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4462 echo "$as_me:$LINENO: result: yes" >&5
4463 echo "${ECHO_T}yes" >&6
4464 else
4465 echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6
4467 fi
4468
4469
4470 enablestring=
4471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4472 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4473 no_cache=0
4474 # Check whether --enable-sockets or --disable-sockets was given.
4475 if test "${enable_sockets+set}" = set; then
4476 enableval="$enable_sockets"
4477
4478 if test "$enableval" = yes; then
4479 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4480 else
4481 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4482 fi
4483
4484 else
4485
4486 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x ; then
4488 eval "DEFAULT_$LINE"
4489 else
4490 no_cache=1
4491 fi
4492
4493 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4494
4495 fi;
4496
4497 eval "$ac_cv_use_sockets"
4498 if test "$no_cache" != 1; then
4499 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4500 fi
4501
4502 if test "$wxUSE_SOCKETS" = yes; then
4503 echo "$as_me:$LINENO: result: yes" >&5
4504 echo "${ECHO_T}yes" >&6
4505 else
4506 echo "$as_me:$LINENO: result: no" >&5
4507 echo "${ECHO_T}no" >&6
4508 fi
4509
4510
4511 enablestring=
4512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4513 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4514 no_cache=0
4515 # Check whether --enable-ole or --disable-ole was given.
4516 if test "${enable_ole+set}" = set; then
4517 enableval="$enable_ole"
4518
4519 if test "$enableval" = yes; then
4520 ac_cv_use_ole='wxUSE_OLE=yes'
4521 else
4522 ac_cv_use_ole='wxUSE_OLE=no'
4523 fi
4524
4525 else
4526
4527 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x ; then
4529 eval "DEFAULT_$LINE"
4530 else
4531 no_cache=1
4532 fi
4533
4534 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4535
4536 fi;
4537
4538 eval "$ac_cv_use_ole"
4539 if test "$no_cache" != 1; then
4540 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4541 fi
4542
4543 if test "$wxUSE_OLE" = yes; then
4544 echo "$as_me:$LINENO: result: yes" >&5
4545 echo "${ECHO_T}yes" >&6
4546 else
4547 echo "$as_me:$LINENO: result: no" >&5
4548 echo "${ECHO_T}no" >&6
4549 fi
4550
4551
4552 enablestring=
4553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4554 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4555 no_cache=0
4556 # Check whether --enable-dataobj or --disable-dataobj was given.
4557 if test "${enable_dataobj+set}" = set; then
4558 enableval="$enable_dataobj"
4559
4560 if test "$enableval" = yes; then
4561 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4562 else
4563 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4564 fi
4565
4566 else
4567
4568 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4569 if test "x$LINE" != x ; then
4570 eval "DEFAULT_$LINE"
4571 else
4572 no_cache=1
4573 fi
4574
4575 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4576
4577 fi;
4578
4579 eval "$ac_cv_use_dataobj"
4580 if test "$no_cache" != 1; then
4581 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4582 fi
4583
4584 if test "$wxUSE_DATAOBJ" = yes; then
4585 echo "$as_me:$LINENO: result: yes" >&5
4586 echo "${ECHO_T}yes" >&6
4587 else
4588 echo "$as_me:$LINENO: result: no" >&5
4589 echo "${ECHO_T}no" >&6
4590 fi
4591
4592
4593
4594 enablestring=
4595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4596 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4597 no_cache=0
4598 # Check whether --enable-ipc or --disable-ipc was given.
4599 if test "${enable_ipc+set}" = set; then
4600 enableval="$enable_ipc"
4601
4602 if test "$enableval" = yes; then
4603 ac_cv_use_ipc='wxUSE_IPC=yes'
4604 else
4605 ac_cv_use_ipc='wxUSE_IPC=no'
4606 fi
4607
4608 else
4609
4610 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4611 if test "x$LINE" != x ; then
4612 eval "DEFAULT_$LINE"
4613 else
4614 no_cache=1
4615 fi
4616
4617 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4618
4619 fi;
4620
4621 eval "$ac_cv_use_ipc"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4624 fi
4625
4626 if test "$wxUSE_IPC" = yes; then
4627 echo "$as_me:$LINENO: result: yes" >&5
4628 echo "${ECHO_T}yes" >&6
4629 else
4630 echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6
4632 fi
4633
4634
4635
4636 enablestring=
4637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4638 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4639 no_cache=0
4640 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4641 if test "${enable_apple_ieee+set}" = set; then
4642 enableval="$enable_apple_ieee"
4643
4644 if test "$enableval" = yes; then
4645 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4646 else
4647 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4648 fi
4649
4650 else
4651
4652 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x ; then
4654 eval "DEFAULT_$LINE"
4655 else
4656 no_cache=1
4657 fi
4658
4659 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4660
4661 fi;
4662
4663 eval "$ac_cv_use_apple_ieee"
4664 if test "$no_cache" != 1; then
4665 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4666 fi
4667
4668 if test "$wxUSE_APPLE_IEEE" = yes; then
4669 echo "$as_me:$LINENO: result: yes" >&5
4670 echo "${ECHO_T}yes" >&6
4671 else
4672 echo "$as_me:$LINENO: result: no" >&5
4673 echo "${ECHO_T}no" >&6
4674 fi
4675
4676
4677 enablestring=
4678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4679 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4680 no_cache=0
4681 # Check whether --enable-arcstream or --disable-arcstream was given.
4682 if test "${enable_arcstream+set}" = set; then
4683 enableval="$enable_arcstream"
4684
4685 if test "$enableval" = yes; then
4686 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4687 else
4688 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4689 fi
4690
4691 else
4692
4693 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4694 if test "x$LINE" != x ; then
4695 eval "DEFAULT_$LINE"
4696 else
4697 no_cache=1
4698 fi
4699
4700 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4701
4702 fi;
4703
4704 eval "$ac_cv_use_arcstream"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4707 fi
4708
4709 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4710 echo "$as_me:$LINENO: result: yes" >&5
4711 echo "${ECHO_T}yes" >&6
4712 else
4713 echo "$as_me:$LINENO: result: no" >&5
4714 echo "${ECHO_T}no" >&6
4715 fi
4716
4717
4718 enablestring=
4719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4720 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4721 no_cache=0
4722 # Check whether --enable-backtrace or --disable-backtrace was given.
4723 if test "${enable_backtrace+set}" = set; then
4724 enableval="$enable_backtrace"
4725
4726 if test "$enableval" = yes; then
4727 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4728 else
4729 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4730 fi
4731
4732 else
4733
4734 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x ; then
4736 eval "DEFAULT_$LINE"
4737 else
4738 no_cache=1
4739 fi
4740
4741 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4742
4743 fi;
4744
4745 eval "$ac_cv_use_backtrace"
4746 if test "$no_cache" != 1; then
4747 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4748 fi
4749
4750 if test "$wxUSE_STACKWALKER" = yes; then
4751 echo "$as_me:$LINENO: result: yes" >&5
4752 echo "${ECHO_T}yes" >&6
4753 else
4754 echo "$as_me:$LINENO: result: no" >&5
4755 echo "${ECHO_T}no" >&6
4756 fi
4757
4758
4759 enablestring=
4760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4761 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4762 no_cache=0
4763 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4764 if test "${enable_catch_segvs+set}" = set; then
4765 enableval="$enable_catch_segvs"
4766
4767 if test "$enableval" = yes; then
4768 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4769 else
4770 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4771 fi
4772
4773 else
4774
4775 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4776 if test "x$LINE" != x ; then
4777 eval "DEFAULT_$LINE"
4778 else
4779 no_cache=1
4780 fi
4781
4782 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4783
4784 fi;
4785
4786 eval "$ac_cv_use_catch_segvs"
4787 if test "$no_cache" != 1; then
4788 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4789 fi
4790
4791 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4792 echo "$as_me:$LINENO: result: yes" >&5
4793 echo "${ECHO_T}yes" >&6
4794 else
4795 echo "$as_me:$LINENO: result: no" >&5
4796 echo "${ECHO_T}no" >&6
4797 fi
4798
4799
4800 enablestring=
4801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4803 no_cache=0
4804 # Check whether --enable-cmdline or --disable-cmdline was given.
4805 if test "${enable_cmdline+set}" = set; then
4806 enableval="$enable_cmdline"
4807
4808 if test "$enableval" = yes; then
4809 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4810 else
4811 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4812 fi
4813
4814 else
4815
4816 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x ; then
4818 eval "DEFAULT_$LINE"
4819 else
4820 no_cache=1
4821 fi
4822
4823 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4824
4825 fi;
4826
4827 eval "$ac_cv_use_cmdline"
4828 if test "$no_cache" != 1; then
4829 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4830 fi
4831
4832 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4833 echo "$as_me:$LINENO: result: yes" >&5
4834 echo "${ECHO_T}yes" >&6
4835 else
4836 echo "$as_me:$LINENO: result: no" >&5
4837 echo "${ECHO_T}no" >&6
4838 fi
4839
4840
4841 enablestring=
4842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4844 no_cache=0
4845 # Check whether --enable-datetime or --disable-datetime was given.
4846 if test "${enable_datetime+set}" = set; then
4847 enableval="$enable_datetime"
4848
4849 if test "$enableval" = yes; then
4850 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4851 else
4852 ac_cv_use_datetime='wxUSE_DATETIME=no'
4853 fi
4854
4855 else
4856
4857 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x ; then
4859 eval "DEFAULT_$LINE"
4860 else
4861 no_cache=1
4862 fi
4863
4864 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4865
4866 fi;
4867
4868 eval "$ac_cv_use_datetime"
4869 if test "$no_cache" != 1; then
4870 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4871 fi
4872
4873 if test "$wxUSE_DATETIME" = yes; then
4874 echo "$as_me:$LINENO: result: yes" >&5
4875 echo "${ECHO_T}yes" >&6
4876 else
4877 echo "$as_me:$LINENO: result: no" >&5
4878 echo "${ECHO_T}no" >&6
4879 fi
4880
4881
4882 enablestring=
4883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4884 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4885 no_cache=0
4886 # Check whether --enable-debugreport or --disable-debugreport was given.
4887 if test "${enable_debugreport+set}" = set; then
4888 enableval="$enable_debugreport"
4889
4890 if test "$enableval" = yes; then
4891 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4892 else
4893 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4894 fi
4895
4896 else
4897
4898 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4899 if test "x$LINE" != x ; then
4900 eval "DEFAULT_$LINE"
4901 else
4902 no_cache=1
4903 fi
4904
4905 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4906
4907 fi;
4908
4909 eval "$ac_cv_use_debugreport"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4912 fi
4913
4914 if test "$wxUSE_DEBUGREPORT" = yes; then
4915 echo "$as_me:$LINENO: result: yes" >&5
4916 echo "${ECHO_T}yes" >&6
4917 else
4918 echo "$as_me:$LINENO: result: no" >&5
4919 echo "${ECHO_T}no" >&6
4920 fi
4921
4922
4923 enablestring=
4924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4926 no_cache=0
4927 # Check whether --enable-dialupman or --disable-dialupman was given.
4928 if test "${enable_dialupman+set}" = set; then
4929 enableval="$enable_dialupman"
4930
4931 if test "$enableval" = yes; then
4932 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4933 else
4934 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4935 fi
4936
4937 else
4938
4939 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x ; then
4941 eval "DEFAULT_$LINE"
4942 else
4943 no_cache=1
4944 fi
4945
4946 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4947
4948 fi;
4949
4950 eval "$ac_cv_use_dialupman"
4951 if test "$no_cache" != 1; then
4952 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4953 fi
4954
4955 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4956 echo "$as_me:$LINENO: result: yes" >&5
4957 echo "${ECHO_T}yes" >&6
4958 else
4959 echo "$as_me:$LINENO: result: no" >&5
4960 echo "${ECHO_T}no" >&6
4961 fi
4962
4963
4964 enablestring=
4965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4966 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4967 no_cache=0
4968 # Check whether --enable-dynlib or --disable-dynlib was given.
4969 if test "${enable_dynlib+set}" = set; then
4970 enableval="$enable_dynlib"
4971
4972 if test "$enableval" = yes; then
4973 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4974 else
4975 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4976 fi
4977
4978 else
4979
4980 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x ; then
4982 eval "DEFAULT_$LINE"
4983 else
4984 no_cache=1
4985 fi
4986
4987 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4988
4989 fi;
4990
4991 eval "$ac_cv_use_dynlib"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4994 fi
4995
4996 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4997 echo "$as_me:$LINENO: result: yes" >&5
4998 echo "${ECHO_T}yes" >&6
4999 else
5000 echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6
5002 fi
5003
5004
5005 enablestring=
5006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5007 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5008 no_cache=0
5009 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5010 if test "${enable_dynamicloader+set}" = set; then
5011 enableval="$enable_dynamicloader"
5012
5013 if test "$enableval" = yes; then
5014 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5015 else
5016 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5017 fi
5018
5019 else
5020
5021 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x ; then
5023 eval "DEFAULT_$LINE"
5024 else
5025 no_cache=1
5026 fi
5027
5028 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5029
5030 fi;
5031
5032 eval "$ac_cv_use_dynamicloader"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5035 fi
5036
5037 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5038 echo "$as_me:$LINENO: result: yes" >&5
5039 echo "${ECHO_T}yes" >&6
5040 else
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5043 fi
5044
5045
5046 enablestring=
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5049 no_cache=0
5050 # Check whether --enable-exceptions or --disable-exceptions was given.
5051 if test "${enable_exceptions+set}" = set; then
5052 enableval="$enable_exceptions"
5053
5054 if test "$enableval" = yes; then
5055 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5056 else
5057 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5058 fi
5059
5060 else
5061
5062 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x ; then
5064 eval "DEFAULT_$LINE"
5065 else
5066 no_cache=1
5067 fi
5068
5069 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5070
5071 fi;
5072
5073 eval "$ac_cv_use_exceptions"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5076 fi
5077
5078 if test "$wxUSE_EXCEPTIONS" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5081 else
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5084 fi
5085
5086
5087 enablestring=
5088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5089 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5090 no_cache=0
5091 # Check whether --enable-ffile or --disable-ffile was given.
5092 if test "${enable_ffile+set}" = set; then
5093 enableval="$enable_ffile"
5094
5095 if test "$enableval" = yes; then
5096 ac_cv_use_ffile='wxUSE_FFILE=yes'
5097 else
5098 ac_cv_use_ffile='wxUSE_FFILE=no'
5099 fi
5100
5101 else
5102
5103 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x ; then
5105 eval "DEFAULT_$LINE"
5106 else
5107 no_cache=1
5108 fi
5109
5110 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5111
5112 fi;
5113
5114 eval "$ac_cv_use_ffile"
5115 if test "$no_cache" != 1; then
5116 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5117 fi
5118
5119 if test "$wxUSE_FFILE" = yes; then
5120 echo "$as_me:$LINENO: result: yes" >&5
5121 echo "${ECHO_T}yes" >&6
5122 else
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5125 fi
5126
5127
5128 enablestring=
5129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5130 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5131 no_cache=0
5132 # Check whether --enable-file or --disable-file was given.
5133 if test "${enable_file+set}" = set; then
5134 enableval="$enable_file"
5135
5136 if test "$enableval" = yes; then
5137 ac_cv_use_file='wxUSE_FILE=yes'
5138 else
5139 ac_cv_use_file='wxUSE_FILE=no'
5140 fi
5141
5142 else
5143
5144 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x ; then
5146 eval "DEFAULT_$LINE"
5147 else
5148 no_cache=1
5149 fi
5150
5151 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5152
5153 fi;
5154
5155 eval "$ac_cv_use_file"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5158 fi
5159
5160 if test "$wxUSE_FILE" = yes; then
5161 echo "$as_me:$LINENO: result: yes" >&5
5162 echo "${ECHO_T}yes" >&6
5163 else
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5166 fi
5167
5168
5169 enablestring=
5170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5172 no_cache=0
5173 # Check whether --enable-filesystem or --disable-filesystem was given.
5174 if test "${enable_filesystem+set}" = set; then
5175 enableval="$enable_filesystem"
5176
5177 if test "$enableval" = yes; then
5178 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5179 else
5180 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5181 fi
5182
5183 else
5184
5185 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x ; then
5187 eval "DEFAULT_$LINE"
5188 else
5189 no_cache=1
5190 fi
5191
5192 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5193
5194 fi;
5195
5196 eval "$ac_cv_use_filesystem"
5197 if test "$no_cache" != 1; then
5198 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5199 fi
5200
5201 if test "$wxUSE_FILESYSTEM" = yes; then
5202 echo "$as_me:$LINENO: result: yes" >&5
5203 echo "${ECHO_T}yes" >&6
5204 else
5205 echo "$as_me:$LINENO: result: no" >&5
5206 echo "${ECHO_T}no" >&6
5207 fi
5208
5209
5210 enablestring=
5211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5213 no_cache=0
5214 # Check whether --enable-fontmap or --disable-fontmap was given.
5215 if test "${enable_fontmap+set}" = set; then
5216 enableval="$enable_fontmap"
5217
5218 if test "$enableval" = yes; then
5219 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5220 else
5221 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5222 fi
5223
5224 else
5225
5226 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x ; then
5228 eval "DEFAULT_$LINE"
5229 else
5230 no_cache=1
5231 fi
5232
5233 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5234
5235 fi;
5236
5237 eval "$ac_cv_use_fontmap"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5240 fi
5241
5242 if test "$wxUSE_FONTMAP" = yes; then
5243 echo "$as_me:$LINENO: result: yes" >&5
5244 echo "${ECHO_T}yes" >&6
5245 else
5246 echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6
5248 fi
5249
5250
5251 enablestring=
5252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5254 no_cache=0
5255 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5256 if test "${enable_fs_inet+set}" = set; then
5257 enableval="$enable_fs_inet"
5258
5259 if test "$enableval" = yes; then
5260 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5261 else
5262 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5263 fi
5264
5265 else
5266
5267 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x ; then
5269 eval "DEFAULT_$LINE"
5270 else
5271 no_cache=1
5272 fi
5273
5274 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5275
5276 fi;
5277
5278 eval "$ac_cv_use_fs_inet"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5281 fi
5282
5283 if test "$wxUSE_FS_INET" = yes; then
5284 echo "$as_me:$LINENO: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5286 else
5287 echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5289 fi
5290
5291
5292 enablestring=
5293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5295 no_cache=0
5296 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5297 if test "${enable_fs_zip+set}" = set; then
5298 enableval="$enable_fs_zip"
5299
5300 if test "$enableval" = yes; then
5301 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5302 else
5303 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5304 fi
5305
5306 else
5307
5308 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x ; then
5310 eval "DEFAULT_$LINE"
5311 else
5312 no_cache=1
5313 fi
5314
5315 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5316
5317 fi;
5318
5319 eval "$ac_cv_use_fs_zip"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5322 fi
5323
5324 if test "$wxUSE_FS_ZIP" = yes; then
5325 echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6
5327 else
5328 echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6
5330 fi
5331
5332
5333 enablestring=
5334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5336 no_cache=0
5337 # Check whether --enable-geometry or --disable-geometry was given.
5338 if test "${enable_geometry+set}" = set; then
5339 enableval="$enable_geometry"
5340
5341 if test "$enableval" = yes; then
5342 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5343 else
5344 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5345 fi
5346
5347 else
5348
5349 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x ; then
5351 eval "DEFAULT_$LINE"
5352 else
5353 no_cache=1
5354 fi
5355
5356 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5357
5358 fi;
5359
5360 eval "$ac_cv_use_geometry"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5363 fi
5364
5365 if test "$wxUSE_GEOMETRY" = yes; then
5366 echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6
5368 else
5369 echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6
5371 fi
5372
5373
5374 enablestring=
5375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5377 no_cache=0
5378 # Check whether --enable-log or --disable-log was given.
5379 if test "${enable_log+set}" = set; then
5380 enableval="$enable_log"
5381
5382 if test "$enableval" = yes; then
5383 ac_cv_use_log='wxUSE_LOG=yes'
5384 else
5385 ac_cv_use_log='wxUSE_LOG=no'
5386 fi
5387
5388 else
5389
5390 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x ; then
5392 eval "DEFAULT_$LINE"
5393 else
5394 no_cache=1
5395 fi
5396
5397 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5398
5399 fi;
5400
5401 eval "$ac_cv_use_log"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5404 fi
5405
5406 if test "$wxUSE_LOG" = yes; then
5407 echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6
5409 else
5410 echo "$as_me:$LINENO: result: no" >&5
5411 echo "${ECHO_T}no" >&6
5412 fi
5413
5414
5415 enablestring=
5416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5417 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5418 no_cache=0
5419 # Check whether --enable-longlong or --disable-longlong was given.
5420 if test "${enable_longlong+set}" = set; then
5421 enableval="$enable_longlong"
5422
5423 if test "$enableval" = yes; then
5424 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5425 else
5426 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5427 fi
5428
5429 else
5430
5431 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x ; then
5433 eval "DEFAULT_$LINE"
5434 else
5435 no_cache=1
5436 fi
5437
5438 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5439
5440 fi;
5441
5442 eval "$ac_cv_use_longlong"
5443 if test "$no_cache" != 1; then
5444 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5445 fi
5446
5447 if test "$wxUSE_LONGLONG" = yes; then
5448 echo "$as_me:$LINENO: result: yes" >&5
5449 echo "${ECHO_T}yes" >&6
5450 else
5451 echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6
5453 fi
5454
5455
5456 enablestring=
5457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5459 no_cache=0
5460 # Check whether --enable-mimetype or --disable-mimetype was given.
5461 if test "${enable_mimetype+set}" = set; then
5462 enableval="$enable_mimetype"
5463
5464 if test "$enableval" = yes; then
5465 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5466 else
5467 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5468 fi
5469
5470 else
5471
5472 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x ; then
5474 eval "DEFAULT_$LINE"
5475 else
5476 no_cache=1
5477 fi
5478
5479 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5480
5481 fi;
5482
5483 eval "$ac_cv_use_mimetype"
5484 if test "$no_cache" != 1; then
5485 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5486 fi
5487
5488 if test "$wxUSE_MIMETYPE" = yes; then
5489 echo "$as_me:$LINENO: result: yes" >&5
5490 echo "${ECHO_T}yes" >&6
5491 else
5492 echo "$as_me:$LINENO: result: no" >&5
5493 echo "${ECHO_T}no" >&6
5494 fi
5495
5496
5497 enablestring=
5498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5499 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5500 no_cache=0
5501 # Check whether --enable-mslu or --disable-mslu was given.
5502 if test "${enable_mslu+set}" = set; then
5503 enableval="$enable_mslu"
5504
5505 if test "$enableval" = yes; then
5506 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5507 else
5508 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5509 fi
5510
5511 else
5512
5513 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x ; then
5515 eval "DEFAULT_$LINE"
5516 else
5517 no_cache=1
5518 fi
5519
5520 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5521
5522 fi;
5523
5524 eval "$ac_cv_use_mslu"
5525 if test "$no_cache" != 1; then
5526 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5527 fi
5528
5529 if test "$wxUSE_UNICODE_MSLU" = yes; then
5530 echo "$as_me:$LINENO: result: yes" >&5
5531 echo "${ECHO_T}yes" >&6
5532 else
5533 echo "$as_me:$LINENO: result: no" >&5
5534 echo "${ECHO_T}no" >&6
5535 fi
5536
5537
5538 enablestring=
5539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5540 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5541 no_cache=0
5542 # Check whether --enable-snglinst or --disable-snglinst was given.
5543 if test "${enable_snglinst+set}" = set; then
5544 enableval="$enable_snglinst"
5545
5546 if test "$enableval" = yes; then
5547 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5548 else
5549 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5550 fi
5551
5552 else
5553
5554 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x ; then
5556 eval "DEFAULT_$LINE"
5557 else
5558 no_cache=1
5559 fi
5560
5561 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5562
5563 fi;
5564
5565 eval "$ac_cv_use_snglinst"
5566 if test "$no_cache" != 1; then
5567 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5568 fi
5569
5570 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5571 echo "$as_me:$LINENO: result: yes" >&5
5572 echo "${ECHO_T}yes" >&6
5573 else
5574 echo "$as_me:$LINENO: result: no" >&5
5575 echo "${ECHO_T}no" >&6
5576 fi
5577
5578
5579 enablestring=
5580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5581 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5582 no_cache=0
5583 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5584 if test "${enable_std_iostreams+set}" = set; then
5585 enableval="$enable_std_iostreams"
5586
5587 if test "$enableval" = yes; then
5588 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5589 else
5590 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5591 fi
5592
5593 else
5594
5595 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x ; then
5597 eval "DEFAULT_$LINE"
5598 else
5599 no_cache=1
5600 fi
5601
5602 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5603
5604 fi;
5605
5606 eval "$ac_cv_use_std_iostreams"
5607 if test "$no_cache" != 1; then
5608 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5609 fi
5610
5611 if test "$wxUSE_STD_IOSTREAM" = yes; then
5612 echo "$as_me:$LINENO: result: yes" >&5
5613 echo "${ECHO_T}yes" >&6
5614 else
5615 echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6
5617 fi
5618
5619
5620 enablestring=
5621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5622 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5623 no_cache=0
5624 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5625 if test "${enable_stdpaths+set}" = set; then
5626 enableval="$enable_stdpaths"
5627
5628 if test "$enableval" = yes; then
5629 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5630 else
5631 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5632 fi
5633
5634 else
5635
5636 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x ; then
5638 eval "DEFAULT_$LINE"
5639 else
5640 no_cache=1
5641 fi
5642
5643 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5644
5645 fi;
5646
5647 eval "$ac_cv_use_stdpaths"
5648 if test "$no_cache" != 1; then
5649 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5650 fi
5651
5652 if test "$wxUSE_STDPATHS" = yes; then
5653 echo "$as_me:$LINENO: result: yes" >&5
5654 echo "${ECHO_T}yes" >&6
5655 else
5656 echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6
5658 fi
5659
5660
5661 enablestring=
5662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5663 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5664 no_cache=0
5665 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5666 if test "${enable_stopwatch+set}" = set; then
5667 enableval="$enable_stopwatch"
5668
5669 if test "$enableval" = yes; then
5670 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5671 else
5672 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5673 fi
5674
5675 else
5676
5677 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x ; then
5679 eval "DEFAULT_$LINE"
5680 else
5681 no_cache=1
5682 fi
5683
5684 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5685
5686 fi;
5687
5688 eval "$ac_cv_use_stopwatch"
5689 if test "$no_cache" != 1; then
5690 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5691 fi
5692
5693 if test "$wxUSE_STOPWATCH" = yes; then
5694 echo "$as_me:$LINENO: result: yes" >&5
5695 echo "${ECHO_T}yes" >&6
5696 else
5697 echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6
5699 fi
5700
5701
5702 enablestring=
5703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5704 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5705 no_cache=0
5706 # Check whether --enable-streams or --disable-streams was given.
5707 if test "${enable_streams+set}" = set; then
5708 enableval="$enable_streams"
5709
5710 if test "$enableval" = yes; then
5711 ac_cv_use_streams='wxUSE_STREAMS=yes'
5712 else
5713 ac_cv_use_streams='wxUSE_STREAMS=no'
5714 fi
5715
5716 else
5717
5718 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5719 if test "x$LINE" != x ; then
5720 eval "DEFAULT_$LINE"
5721 else
5722 no_cache=1
5723 fi
5724
5725 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5726
5727 fi;
5728
5729 eval "$ac_cv_use_streams"
5730 if test "$no_cache" != 1; then
5731 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5732 fi
5733
5734 if test "$wxUSE_STREAMS" = yes; then
5735 echo "$as_me:$LINENO: result: yes" >&5
5736 echo "${ECHO_T}yes" >&6
5737 else
5738 echo "$as_me:$LINENO: result: no" >&5
5739 echo "${ECHO_T}no" >&6
5740 fi
5741
5742
5743 enablestring=
5744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5746 no_cache=0
5747 # Check whether --enable-system_options or --disable-system_options was given.
5748 if test "${enable_system_options+set}" = set; then
5749 enableval="$enable_system_options"
5750
5751 if test "$enableval" = yes; then
5752 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5753 else
5754 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5755 fi
5756
5757 else
5758
5759 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5760 if test "x$LINE" != x ; then
5761 eval "DEFAULT_$LINE"
5762 else
5763 no_cache=1
5764 fi
5765
5766 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5767
5768 fi;
5769
5770 eval "$ac_cv_use_system_options"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5773 fi
5774
5775 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5776 echo "$as_me:$LINENO: result: yes" >&5
5777 echo "${ECHO_T}yes" >&6
5778 else
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5781 fi
5782
5783
5784 enablestring=
5785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5787 no_cache=0
5788 # Check whether --enable-textbuf or --disable-textbuf was given.
5789 if test "${enable_textbuf+set}" = set; then
5790 enableval="$enable_textbuf"
5791
5792 if test "$enableval" = yes; then
5793 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5794 else
5795 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5796 fi
5797
5798 else
5799
5800 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5801 if test "x$LINE" != x ; then
5802 eval "DEFAULT_$LINE"
5803 else
5804 no_cache=1
5805 fi
5806
5807 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5808
5809 fi;
5810
5811 eval "$ac_cv_use_textbuf"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5814 fi
5815
5816 if test "$wxUSE_TEXTBUFFER" = yes; then
5817 echo "$as_me:$LINENO: result: yes" >&5
5818 echo "${ECHO_T}yes" >&6
5819 else
5820 echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6
5822 fi
5823
5824
5825 enablestring=
5826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5828 no_cache=0
5829 # Check whether --enable-textfile or --disable-textfile was given.
5830 if test "${enable_textfile+set}" = set; then
5831 enableval="$enable_textfile"
5832
5833 if test "$enableval" = yes; then
5834 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5835 else
5836 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5837 fi
5838
5839 else
5840
5841 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5842 if test "x$LINE" != x ; then
5843 eval "DEFAULT_$LINE"
5844 else
5845 no_cache=1
5846 fi
5847
5848 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5849
5850 fi;
5851
5852 eval "$ac_cv_use_textfile"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5855 fi
5856
5857 if test "$wxUSE_TEXTFILE" = yes; then
5858 echo "$as_me:$LINENO: result: yes" >&5
5859 echo "${ECHO_T}yes" >&6
5860 else
5861 echo "$as_me:$LINENO: result: no" >&5
5862 echo "${ECHO_T}no" >&6
5863 fi
5864
5865
5866 enablestring=
5867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5869 no_cache=0
5870 # Check whether --enable-timer or --disable-timer was given.
5871 if test "${enable_timer+set}" = set; then
5872 enableval="$enable_timer"
5873
5874 if test "$enableval" = yes; then
5875 ac_cv_use_timer='wxUSE_TIMER=yes'
5876 else
5877 ac_cv_use_timer='wxUSE_TIMER=no'
5878 fi
5879
5880 else
5881
5882 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x ; then
5884 eval "DEFAULT_$LINE"
5885 else
5886 no_cache=1
5887 fi
5888
5889 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5890
5891 fi;
5892
5893 eval "$ac_cv_use_timer"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5896 fi
5897
5898 if test "$wxUSE_TIMER" = yes; then
5899 echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6
5901 else
5902 echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6
5904 fi
5905
5906
5907 enablestring=
5908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5910 no_cache=0
5911 # Check whether --enable-unicode or --disable-unicode was given.
5912 if test "${enable_unicode+set}" = set; then
5913 enableval="$enable_unicode"
5914
5915 if test "$enableval" = yes; then
5916 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5917 else
5918 ac_cv_use_unicode='wxUSE_UNICODE=no'
5919 fi
5920
5921 else
5922
5923 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x ; then
5925 eval "DEFAULT_$LINE"
5926 else
5927 no_cache=1
5928 fi
5929
5930 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5931
5932 fi;
5933
5934 eval "$ac_cv_use_unicode"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5937 fi
5938
5939 if test "$wxUSE_UNICODE" = yes; then
5940 echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6
5942 else
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5945 fi
5946
5947
5948 enablestring=
5949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5951 no_cache=0
5952 # Check whether --enable-sound or --disable-sound was given.
5953 if test "${enable_sound+set}" = set; then
5954 enableval="$enable_sound"
5955
5956 if test "$enableval" = yes; then
5957 ac_cv_use_sound='wxUSE_SOUND=yes'
5958 else
5959 ac_cv_use_sound='wxUSE_SOUND=no'
5960 fi
5961
5962 else
5963
5964 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x ; then
5966 eval "DEFAULT_$LINE"
5967 else
5968 no_cache=1
5969 fi
5970
5971 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5972
5973 fi;
5974
5975 eval "$ac_cv_use_sound"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5978 fi
5979
5980 if test "$wxUSE_SOUND" = yes; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5983 else
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5986 fi
5987
5988
5989 enablestring=
5990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5992 no_cache=0
5993 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5994 if test "${enable_mediactrl+set}" = set; then
5995 enableval="$enable_mediactrl"
5996
5997 if test "$enableval" = yes; then
5998 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
5999 else
6000 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6001 fi
6002
6003 else
6004
6005 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x ; then
6007 eval "DEFAULT_$LINE"
6008 else
6009 no_cache=1
6010 fi
6011
6012 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6013
6014 fi;
6015
6016 eval "$ac_cv_use_mediactrl"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6019 fi
6020
6021 if test "$wxUSE_MEDIACTRL" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6024 else
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6027 fi
6028
6029
6030 enablestring=
6031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6033 no_cache=0
6034 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6035 if test "${enable_wxprintfv+set}" = set; then
6036 enableval="$enable_wxprintfv"
6037
6038 if test "$enableval" = yes; then
6039 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6040 else
6041 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6042 fi
6043
6044 else
6045
6046 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x ; then
6048 eval "DEFAULT_$LINE"
6049 else
6050 no_cache=1
6051 fi
6052
6053 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6054
6055 fi;
6056
6057 eval "$ac_cv_use_wxprintfv"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6060 fi
6061
6062 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6063 echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6
6065 else
6066 echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6
6068 fi
6069
6070
6071 enablestring=
6072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6074 no_cache=0
6075 # Check whether --enable-zipstream or --disable-zipstream was given.
6076 if test "${enable_zipstream+set}" = set; then
6077 enableval="$enable_zipstream"
6078
6079 if test "$enableval" = yes; then
6080 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6081 else
6082 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6083 fi
6084
6085 else
6086
6087 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x ; then
6089 eval "DEFAULT_$LINE"
6090 else
6091 no_cache=1
6092 fi
6093
6094 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6095
6096 fi;
6097
6098 eval "$ac_cv_use_zipstream"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6101 fi
6102
6103 if test "$wxUSE_ZIPSTREAM" = yes; then
6104 echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6
6106 else
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6109 fi
6110
6111
6112
6113 enablestring=
6114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6116 no_cache=0
6117 # Check whether --enable-url or --disable-url was given.
6118 if test "${enable_url+set}" = set; then
6119 enableval="$enable_url"
6120
6121 if test "$enableval" = yes; then
6122 ac_cv_use_url='wxUSE_URL=yes'
6123 else
6124 ac_cv_use_url='wxUSE_URL=no'
6125 fi
6126
6127 else
6128
6129 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x ; then
6131 eval "DEFAULT_$LINE"
6132 else
6133 no_cache=1
6134 fi
6135
6136 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6137
6138 fi;
6139
6140 eval "$ac_cv_use_url"
6141 if test "$no_cache" != 1; then
6142 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6143 fi
6144
6145 if test "$wxUSE_URL" = yes; then
6146 echo "$as_me:$LINENO: result: yes" >&5
6147 echo "${ECHO_T}yes" >&6
6148 else
6149 echo "$as_me:$LINENO: result: no" >&5
6150 echo "${ECHO_T}no" >&6
6151 fi
6152
6153
6154 enablestring=
6155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6157 no_cache=0
6158 # Check whether --enable-protocol or --disable-protocol was given.
6159 if test "${enable_protocol+set}" = set; then
6160 enableval="$enable_protocol"
6161
6162 if test "$enableval" = yes; then
6163 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6164 else
6165 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6166 fi
6167
6168 else
6169
6170 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6171 if test "x$LINE" != x ; then
6172 eval "DEFAULT_$LINE"
6173 else
6174 no_cache=1
6175 fi
6176
6177 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6178
6179 fi;
6180
6181 eval "$ac_cv_use_protocol"
6182 if test "$no_cache" != 1; then
6183 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6184 fi
6185
6186 if test "$wxUSE_PROTOCOL" = yes; then
6187 echo "$as_me:$LINENO: result: yes" >&5
6188 echo "${ECHO_T}yes" >&6
6189 else
6190 echo "$as_me:$LINENO: result: no" >&5
6191 echo "${ECHO_T}no" >&6
6192 fi
6193
6194
6195 enablestring=
6196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6198 no_cache=0
6199 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6200 if test "${enable_protocol_http+set}" = set; then
6201 enableval="$enable_protocol_http"
6202
6203 if test "$enableval" = yes; then
6204 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6205 else
6206 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6207 fi
6208
6209 else
6210
6211 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6212 if test "x$LINE" != x ; then
6213 eval "DEFAULT_$LINE"
6214 else
6215 no_cache=1
6216 fi
6217
6218 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6219
6220 fi;
6221
6222 eval "$ac_cv_use_protocol_http"
6223 if test "$no_cache" != 1; then
6224 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6225 fi
6226
6227 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6228 echo "$as_me:$LINENO: result: yes" >&5
6229 echo "${ECHO_T}yes" >&6
6230 else
6231 echo "$as_me:$LINENO: result: no" >&5
6232 echo "${ECHO_T}no" >&6
6233 fi
6234
6235
6236 enablestring=
6237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6239 no_cache=0
6240 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6241 if test "${enable_protocol_ftp+set}" = set; then
6242 enableval="$enable_protocol_ftp"
6243
6244 if test "$enableval" = yes; then
6245 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6246 else
6247 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6248 fi
6249
6250 else
6251
6252 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x ; then
6254 eval "DEFAULT_$LINE"
6255 else
6256 no_cache=1
6257 fi
6258
6259 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6260
6261 fi;
6262
6263 eval "$ac_cv_use_protocol_ftp"
6264 if test "$no_cache" != 1; then
6265 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6266 fi
6267
6268 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6269 echo "$as_me:$LINENO: result: yes" >&5
6270 echo "${ECHO_T}yes" >&6
6271 else
6272 echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6
6274 fi
6275
6276
6277 enablestring=
6278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6280 no_cache=0
6281 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6282 if test "${enable_protocol_file+set}" = set; then
6283 enableval="$enable_protocol_file"
6284
6285 if test "$enableval" = yes; then
6286 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6287 else
6288 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6289 fi
6290
6291 else
6292
6293 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x ; then
6295 eval "DEFAULT_$LINE"
6296 else
6297 no_cache=1
6298 fi
6299
6300 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6301
6302 fi;
6303
6304 eval "$ac_cv_use_protocol_file"
6305 if test "$no_cache" != 1; then
6306 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6307 fi
6308
6309 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6310 echo "$as_me:$LINENO: result: yes" >&5
6311 echo "${ECHO_T}yes" >&6
6312 else
6313 echo "$as_me:$LINENO: result: no" >&5
6314 echo "${ECHO_T}no" >&6
6315 fi
6316
6317
6318
6319
6320
6321 enablestring=
6322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6323 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6324 no_cache=0
6325 # Check whether --enable-threads or --disable-threads was given.
6326 if test "${enable_threads+set}" = set; then
6327 enableval="$enable_threads"
6328
6329 if test "$enableval" = yes; then
6330 ac_cv_use_threads='wxUSE_THREADS=yes'
6331 else
6332 ac_cv_use_threads='wxUSE_THREADS=no'
6333 fi
6334
6335 else
6336
6337 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6338 if test "x$LINE" != x ; then
6339 eval "DEFAULT_$LINE"
6340 else
6341 no_cache=1
6342 fi
6343
6344 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6345
6346 fi;
6347
6348 eval "$ac_cv_use_threads"
6349 if test "$no_cache" != 1; then
6350 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6351 fi
6352
6353 if test "$wxUSE_THREADS" = yes; then
6354 echo "$as_me:$LINENO: result: yes" >&5
6355 echo "${ECHO_T}yes" >&6
6356 else
6357 echo "$as_me:$LINENO: result: no" >&5
6358 echo "${ECHO_T}no" >&6
6359 fi
6360
6361
6362 if test "$wxUSE_GUI" = "yes"; then
6363
6364
6365
6366 enablestring=
6367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6368 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6369 no_cache=0
6370 # Check whether --enable-docview or --disable-docview was given.
6371 if test "${enable_docview+set}" = set; then
6372 enableval="$enable_docview"
6373
6374 if test "$enableval" = yes; then
6375 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6376 else
6377 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6378 fi
6379
6380 else
6381
6382 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6383 if test "x$LINE" != x ; then
6384 eval "DEFAULT_$LINE"
6385 else
6386 no_cache=1
6387 fi
6388
6389 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6390
6391 fi;
6392
6393 eval "$ac_cv_use_docview"
6394 if test "$no_cache" != 1; then
6395 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6396 fi
6397
6398 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6399 echo "$as_me:$LINENO: result: yes" >&5
6400 echo "${ECHO_T}yes" >&6
6401 else
6402 echo "$as_me:$LINENO: result: no" >&5
6403 echo "${ECHO_T}no" >&6
6404 fi
6405
6406
6407 enablestring=
6408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6409 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6410 no_cache=0
6411 # Check whether --enable-help or --disable-help was given.
6412 if test "${enable_help+set}" = set; then
6413 enableval="$enable_help"
6414
6415 if test "$enableval" = yes; then
6416 ac_cv_use_help='wxUSE_HELP=yes'
6417 else
6418 ac_cv_use_help='wxUSE_HELP=no'
6419 fi
6420
6421 else
6422
6423 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6424 if test "x$LINE" != x ; then
6425 eval "DEFAULT_$LINE"
6426 else
6427 no_cache=1
6428 fi
6429
6430 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6431
6432 fi;
6433
6434 eval "$ac_cv_use_help"
6435 if test "$no_cache" != 1; then
6436 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6437 fi
6438
6439 if test "$wxUSE_HELP" = yes; then
6440 echo "$as_me:$LINENO: result: yes" >&5
6441 echo "${ECHO_T}yes" >&6
6442 else
6443 echo "$as_me:$LINENO: result: no" >&5
6444 echo "${ECHO_T}no" >&6
6445 fi
6446
6447
6448 enablestring=
6449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6450 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6451 no_cache=0
6452 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6453 if test "${enable_mshtmlhelp+set}" = set; then
6454 enableval="$enable_mshtmlhelp"
6455
6456 if test "$enableval" = yes; then
6457 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6458 else
6459 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6460 fi
6461
6462 else
6463
6464 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6465 if test "x$LINE" != x ; then
6466 eval "DEFAULT_$LINE"
6467 else
6468 no_cache=1
6469 fi
6470
6471 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6472
6473 fi;
6474
6475 eval "$ac_cv_use_mshtmlhelp"
6476 if test "$no_cache" != 1; then
6477 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6478 fi
6479
6480 if test "$wxUSE_MS_HTML_HELP" = yes; then
6481 echo "$as_me:$LINENO: result: yes" >&5
6482 echo "${ECHO_T}yes" >&6
6483 else
6484 echo "$as_me:$LINENO: result: no" >&5
6485 echo "${ECHO_T}no" >&6
6486 fi
6487
6488
6489 enablestring=
6490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6491 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6492 no_cache=0
6493 # Check whether --enable-html or --disable-html was given.
6494 if test "${enable_html+set}" = set; then
6495 enableval="$enable_html"
6496
6497 if test "$enableval" = yes; then
6498 ac_cv_use_html='wxUSE_HTML=yes'
6499 else
6500 ac_cv_use_html='wxUSE_HTML=no'
6501 fi
6502
6503 else
6504
6505 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6506 if test "x$LINE" != x ; then
6507 eval "DEFAULT_$LINE"
6508 else
6509 no_cache=1
6510 fi
6511
6512 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6513
6514 fi;
6515
6516 eval "$ac_cv_use_html"
6517 if test "$no_cache" != 1; then
6518 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6519 fi
6520
6521 if test "$wxUSE_HTML" = yes; then
6522 echo "$as_me:$LINENO: result: yes" >&5
6523 echo "${ECHO_T}yes" >&6
6524 else
6525 echo "$as_me:$LINENO: result: no" >&5
6526 echo "${ECHO_T}no" >&6
6527 fi
6528
6529
6530 enablestring=
6531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6532 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6533 no_cache=0
6534 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6535 if test "${enable_htmlhelp+set}" = set; then
6536 enableval="$enable_htmlhelp"
6537
6538 if test "$enableval" = yes; then
6539 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6540 else
6541 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6542 fi
6543
6544 else
6545
6546 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6547 if test "x$LINE" != x ; then
6548 eval "DEFAULT_$LINE"
6549 else
6550 no_cache=1
6551 fi
6552
6553 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6554
6555 fi;
6556
6557 eval "$ac_cv_use_htmlhelp"
6558 if test "$no_cache" != 1; then
6559 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6560 fi
6561
6562 if test "$wxUSE_WXHTML_HELP" = yes; then
6563 echo "$as_me:$LINENO: result: yes" >&5
6564 echo "${ECHO_T}yes" >&6
6565 else
6566 echo "$as_me:$LINENO: result: no" >&5
6567 echo "${ECHO_T}no" >&6
6568 fi
6569
6570
6571 enablestring=
6572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6573 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6574 no_cache=0
6575 # Check whether --enable-xrc or --disable-xrc was given.
6576 if test "${enable_xrc+set}" = set; then
6577 enableval="$enable_xrc"
6578
6579 if test "$enableval" = yes; then
6580 ac_cv_use_xrc='wxUSE_XRC=yes'
6581 else
6582 ac_cv_use_xrc='wxUSE_XRC=no'
6583 fi
6584
6585 else
6586
6587 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6588 if test "x$LINE" != x ; then
6589 eval "DEFAULT_$LINE"
6590 else
6591 no_cache=1
6592 fi
6593
6594 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6595
6596 fi;
6597
6598 eval "$ac_cv_use_xrc"
6599 if test "$no_cache" != 1; then
6600 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6601 fi
6602
6603 if test "$wxUSE_XRC" = yes; then
6604 echo "$as_me:$LINENO: result: yes" >&5
6605 echo "${ECHO_T}yes" >&6
6606 else
6607 echo "$as_me:$LINENO: result: no" >&5
6608 echo "${ECHO_T}no" >&6
6609 fi
6610
6611
6612 enablestring=
6613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6614 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6615 no_cache=0
6616 # Check whether --enable-constraints or --disable-constraints was given.
6617 if test "${enable_constraints+set}" = set; then
6618 enableval="$enable_constraints"
6619
6620 if test "$enableval" = yes; then
6621 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6622 else
6623 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6624 fi
6625
6626 else
6627
6628 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6629 if test "x$LINE" != x ; then
6630 eval "DEFAULT_$LINE"
6631 else
6632 no_cache=1
6633 fi
6634
6635 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6636
6637 fi;
6638
6639 eval "$ac_cv_use_constraints"
6640 if test "$no_cache" != 1; then
6641 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6642 fi
6643
6644 if test "$wxUSE_CONSTRAINTS" = yes; then
6645 echo "$as_me:$LINENO: result: yes" >&5
6646 echo "${ECHO_T}yes" >&6
6647 else
6648 echo "$as_me:$LINENO: result: no" >&5
6649 echo "${ECHO_T}no" >&6
6650 fi
6651
6652
6653 enablestring=
6654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6655 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6656 no_cache=0
6657 # Check whether --enable-printarch or --disable-printarch was given.
6658 if test "${enable_printarch+set}" = set; then
6659 enableval="$enable_printarch"
6660
6661 if test "$enableval" = yes; then
6662 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6663 else
6664 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6665 fi
6666
6667 else
6668
6669 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x ; then
6671 eval "DEFAULT_$LINE"
6672 else
6673 no_cache=1
6674 fi
6675
6676 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6677
6678 fi;
6679
6680 eval "$ac_cv_use_printarch"
6681 if test "$no_cache" != 1; then
6682 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6683 fi
6684
6685 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6686 echo "$as_me:$LINENO: result: yes" >&5
6687 echo "${ECHO_T}yes" >&6
6688 else
6689 echo "$as_me:$LINENO: result: no" >&5
6690 echo "${ECHO_T}no" >&6
6691 fi
6692
6693
6694 enablestring=
6695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6696 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6697 no_cache=0
6698 # Check whether --enable-mdi or --disable-mdi was given.
6699 if test "${enable_mdi+set}" = set; then
6700 enableval="$enable_mdi"
6701
6702 if test "$enableval" = yes; then
6703 ac_cv_use_mdi='wxUSE_MDI=yes'
6704 else
6705 ac_cv_use_mdi='wxUSE_MDI=no'
6706 fi
6707
6708 else
6709
6710 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6711 if test "x$LINE" != x ; then
6712 eval "DEFAULT_$LINE"
6713 else
6714 no_cache=1
6715 fi
6716
6717 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6718
6719 fi;
6720
6721 eval "$ac_cv_use_mdi"
6722 if test "$no_cache" != 1; then
6723 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6724 fi
6725
6726 if test "$wxUSE_MDI" = yes; then
6727 echo "$as_me:$LINENO: result: yes" >&5
6728 echo "${ECHO_T}yes" >&6
6729 else
6730 echo "$as_me:$LINENO: result: no" >&5
6731 echo "${ECHO_T}no" >&6
6732 fi
6733
6734
6735 enablestring=
6736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6737 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6738 no_cache=0
6739 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6740 if test "${enable_mdidoc+set}" = set; then
6741 enableval="$enable_mdidoc"
6742
6743 if test "$enableval" = yes; then
6744 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6745 else
6746 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6747 fi
6748
6749 else
6750
6751 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6752 if test "x$LINE" != x ; then
6753 eval "DEFAULT_$LINE"
6754 else
6755 no_cache=1
6756 fi
6757
6758 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6759
6760 fi;
6761
6762 eval "$ac_cv_use_mdidoc"
6763 if test "$no_cache" != 1; then
6764 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6765 fi
6766
6767 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6768 echo "$as_me:$LINENO: result: yes" >&5
6769 echo "${ECHO_T}yes" >&6
6770 else
6771 echo "$as_me:$LINENO: result: no" >&5
6772 echo "${ECHO_T}no" >&6
6773 fi
6774
6775
6776 enablestring=
6777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6778 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6779 no_cache=0
6780 # Check whether --enable-loggui or --disable-loggui was given.
6781 if test "${enable_loggui+set}" = set; then
6782 enableval="$enable_loggui"
6783
6784 if test "$enableval" = yes; then
6785 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6786 else
6787 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6788 fi
6789
6790 else
6791
6792 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6793 if test "x$LINE" != x ; then
6794 eval "DEFAULT_$LINE"
6795 else
6796 no_cache=1
6797 fi
6798
6799 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6800
6801 fi;
6802
6803 eval "$ac_cv_use_loggui"
6804 if test "$no_cache" != 1; then
6805 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6806 fi
6807
6808 if test "$wxUSE_LOGGUI" = yes; then
6809 echo "$as_me:$LINENO: result: yes" >&5
6810 echo "${ECHO_T}yes" >&6
6811 else
6812 echo "$as_me:$LINENO: result: no" >&5
6813 echo "${ECHO_T}no" >&6
6814 fi
6815
6816
6817 enablestring=
6818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6820 no_cache=0
6821 # Check whether --enable-logwin or --disable-logwin was given.
6822 if test "${enable_logwin+set}" = set; then
6823 enableval="$enable_logwin"
6824
6825 if test "$enableval" = yes; then
6826 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6827 else
6828 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6829 fi
6830
6831 else
6832
6833 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x ; then
6835 eval "DEFAULT_$LINE"
6836 else
6837 no_cache=1
6838 fi
6839
6840 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6841
6842 fi;
6843
6844 eval "$ac_cv_use_logwin"
6845 if test "$no_cache" != 1; then
6846 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6847 fi
6848
6849 if test "$wxUSE_LOGWINDOW" = yes; then
6850 echo "$as_me:$LINENO: result: yes" >&5
6851 echo "${ECHO_T}yes" >&6
6852 else
6853 echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6
6855 fi
6856
6857
6858 enablestring=
6859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6861 no_cache=0
6862 # Check whether --enable-logdialog or --disable-logdialog was given.
6863 if test "${enable_logdialog+set}" = set; then
6864 enableval="$enable_logdialog"
6865
6866 if test "$enableval" = yes; then
6867 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6868 else
6869 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6870 fi
6871
6872 else
6873
6874 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x ; then
6876 eval "DEFAULT_$LINE"
6877 else
6878 no_cache=1
6879 fi
6880
6881 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6882
6883 fi;
6884
6885 eval "$ac_cv_use_logdialog"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6888 fi
6889
6890 if test "$wxUSE_LOGDIALOG" = yes; then
6891 echo "$as_me:$LINENO: result: yes" >&5
6892 echo "${ECHO_T}yes" >&6
6893 else
6894 echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6
6896 fi
6897
6898
6899 enablestring=
6900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6902 no_cache=0
6903 # Check whether --enable-webkit or --disable-webkit was given.
6904 if test "${enable_webkit+set}" = set; then
6905 enableval="$enable_webkit"
6906
6907 if test "$enableval" = yes; then
6908 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6909 else
6910 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6911 fi
6912
6913 else
6914
6915 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x ; then
6917 eval "DEFAULT_$LINE"
6918 else
6919 no_cache=1
6920 fi
6921
6922 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6923
6924 fi;
6925
6926 eval "$ac_cv_use_webkit"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6929 fi
6930
6931 if test "$wxUSE_WEBKIT" = yes; then
6932 echo "$as_me:$LINENO: result: yes" >&5
6933 echo "${ECHO_T}yes" >&6
6934 else
6935 echo "$as_me:$LINENO: result: no" >&5
6936 echo "${ECHO_T}no" >&6
6937 fi
6938
6939
6940
6941 enablestring=
6942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6943 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6944 no_cache=0
6945 # Check whether --enable-postscript or --disable-postscript was given.
6946 if test "${enable_postscript+set}" = set; then
6947 enableval="$enable_postscript"
6948
6949 if test "$enableval" = yes; then
6950 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6951 else
6952 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6953 fi
6954
6955 else
6956
6957 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x ; then
6959 eval "DEFAULT_$LINE"
6960 else
6961 no_cache=1
6962 fi
6963
6964 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6965
6966 fi;
6967
6968 eval "$ac_cv_use_postscript"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6971 fi
6972
6973 if test "$wxUSE_POSTSCRIPT" = yes; then
6974 echo "$as_me:$LINENO: result: yes" >&5
6975 echo "${ECHO_T}yes" >&6
6976 else
6977 echo "$as_me:$LINENO: result: no" >&5
6978 echo "${ECHO_T}no" >&6
6979 fi
6980
6981
6982
6983
6984
6985 enablestring=
6986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6987 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6988 no_cache=0
6989 # Check whether --enable-prologio or --disable-prologio was given.
6990 if test "${enable_prologio+set}" = set; then
6991 enableval="$enable_prologio"
6992
6993 if test "$enableval" = yes; then
6994 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6995 else
6996 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6997 fi
6998
6999 else
7000
7001 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7002 if test "x$LINE" != x ; then
7003 eval "DEFAULT_$LINE"
7004 else
7005 no_cache=1
7006 fi
7007
7008 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7009
7010 fi;
7011
7012 eval "$ac_cv_use_prologio"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7015 fi
7016
7017 if test "$wxUSE_PROLOGIO" = yes; then
7018 echo "$as_me:$LINENO: result: yes" >&5
7019 echo "${ECHO_T}yes" >&6
7020 else
7021 echo "$as_me:$LINENO: result: no" >&5
7022 echo "${ECHO_T}no" >&6
7023 fi
7024
7025
7026 enablestring=
7027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7029 no_cache=0
7030 # Check whether --enable-resources or --disable-resources was given.
7031 if test "${enable_resources+set}" = set; then
7032 enableval="$enable_resources"
7033
7034 if test "$enableval" = yes; then
7035 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7036 else
7037 ac_cv_use_resources='wxUSE_RESOURCES=no'
7038 fi
7039
7040 else
7041
7042 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7043 if test "x$LINE" != x ; then
7044 eval "DEFAULT_$LINE"
7045 else
7046 no_cache=1
7047 fi
7048
7049 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7050
7051 fi;
7052
7053 eval "$ac_cv_use_resources"
7054 if test "$no_cache" != 1; then
7055 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7056 fi
7057
7058 if test "$wxUSE_RESOURCES" = yes; then
7059 echo "$as_me:$LINENO: result: yes" >&5
7060 echo "${ECHO_T}yes" >&6
7061 else
7062 echo "$as_me:$LINENO: result: no" >&5
7063 echo "${ECHO_T}no" >&6
7064 fi
7065
7066
7067
7068
7069 enablestring=
7070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7071 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7072 no_cache=0
7073 # Check whether --enable-clipboard or --disable-clipboard was given.
7074 if test "${enable_clipboard+set}" = set; then
7075 enableval="$enable_clipboard"
7076
7077 if test "$enableval" = yes; then
7078 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7079 else
7080 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7081 fi
7082
7083 else
7084
7085 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7086 if test "x$LINE" != x ; then
7087 eval "DEFAULT_$LINE"
7088 else
7089 no_cache=1
7090 fi
7091
7092 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7093
7094 fi;
7095
7096 eval "$ac_cv_use_clipboard"
7097 if test "$no_cache" != 1; then
7098 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7099 fi
7100
7101 if test "$wxUSE_CLIPBOARD" = yes; then
7102 echo "$as_me:$LINENO: result: yes" >&5
7103 echo "${ECHO_T}yes" >&6
7104 else
7105 echo "$as_me:$LINENO: result: no" >&5
7106 echo "${ECHO_T}no" >&6
7107 fi
7108
7109
7110 enablestring=
7111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7112 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7113 no_cache=0
7114 # Check whether --enable-dnd or --disable-dnd was given.
7115 if test "${enable_dnd+set}" = set; then
7116 enableval="$enable_dnd"
7117
7118 if test "$enableval" = yes; then
7119 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7120 else
7121 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7122 fi
7123
7124 else
7125
7126 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7127 if test "x$LINE" != x ; then
7128 eval "DEFAULT_$LINE"
7129 else
7130 no_cache=1
7131 fi
7132
7133 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7134
7135 fi;
7136
7137 eval "$ac_cv_use_dnd"
7138 if test "$no_cache" != 1; then
7139 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7140 fi
7141
7142 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7143 echo "$as_me:$LINENO: result: yes" >&5
7144 echo "${ECHO_T}yes" >&6
7145 else
7146 echo "$as_me:$LINENO: result: no" >&5
7147 echo "${ECHO_T}no" >&6
7148 fi
7149
7150
7151 enablestring=
7152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7153 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7154 no_cache=0
7155 # Check whether --enable-metafile or --disable-metafile was given.
7156 if test "${enable_metafile+set}" = set; then
7157 enableval="$enable_metafile"
7158
7159 if test "$enableval" = yes; then
7160 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7161 else
7162 ac_cv_use_metafile='wxUSE_METAFILE=no'
7163 fi
7164
7165 else
7166
7167 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7168 if test "x$LINE" != x ; then
7169 eval "DEFAULT_$LINE"
7170 else
7171 no_cache=1
7172 fi
7173
7174 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7175
7176 fi;
7177
7178 eval "$ac_cv_use_metafile"
7179 if test "$no_cache" != 1; then
7180 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7181 fi
7182
7183 if test "$wxUSE_METAFILE" = yes; then
7184 echo "$as_me:$LINENO: result: yes" >&5
7185 echo "${ECHO_T}yes" >&6
7186 else
7187 echo "$as_me:$LINENO: result: no" >&5
7188 echo "${ECHO_T}no" >&6
7189 fi
7190
7191
7192
7193
7194
7195 enablestring=
7196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7197 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7198 no_cache=0
7199 # Check whether --enable-controls or --disable-controls was given.
7200 if test "${enable_controls+set}" = set; then
7201 enableval="$enable_controls"
7202
7203 if test "$enableval" = yes; then
7204 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7205 else
7206 ac_cv_use_controls='wxUSE_CONTROLS=no'
7207 fi
7208
7209 else
7210
7211 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x ; then
7213 eval "DEFAULT_$LINE"
7214 else
7215 no_cache=1
7216 fi
7217
7218 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7219
7220 fi;
7221
7222 eval "$ac_cv_use_controls"
7223 if test "$no_cache" != 1; then
7224 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7225 fi
7226
7227 if test "$wxUSE_CONTROLS" = yes; then
7228 echo "$as_me:$LINENO: result: yes" >&5
7229 echo "${ECHO_T}yes" >&6
7230 else
7231 echo "$as_me:$LINENO: result: no" >&5
7232 echo "${ECHO_T}no" >&6
7233 fi
7234
7235
7236 if test "$wxUSE_CONTROLS" = "yes"; then
7237 DEFAULT_wxUSE_ACCEL=yes
7238 DEFAULT_wxUSE_BMPBUTTON=yes
7239 DEFAULT_wxUSE_BUTTON=yes
7240 DEFAULT_wxUSE_CALCTRL=yes
7241 DEFAULT_wxUSE_CARET=yes
7242 DEFAULT_wxUSE_COMBOBOX=yes
7243 DEFAULT_wxUSE_CHECKBOX=yes
7244 DEFAULT_wxUSE_CHECKLISTBOX=yes
7245 DEFAULT_wxUSE_CHOICE=yes
7246 DEFAULT_wxUSE_CHOICEBOOK=yes
7247 DEFAULT_wxUSE_DATEPICKCTRL=yes
7248 DEFAULT_wxUSE_GAUGE=yes
7249 DEFAULT_wxUSE_GRID=yes
7250 DEFAULT_wxUSE_IMAGLIST=yes
7251 DEFAULT_wxUSE_LISTBOOK=yes
7252 DEFAULT_wxUSE_LISTBOX=yes
7253 DEFAULT_wxUSE_LISTCTRL=yes
7254 DEFAULT_wxUSE_NOTEBOOK=yes
7255 DEFAULT_wxUSE_RADIOBOX=yes
7256 DEFAULT_wxUSE_RADIOBTN=yes
7257 DEFAULT_wxUSE_SASH=yes
7258 DEFAULT_wxUSE_SCROLLBAR=yes
7259 DEFAULT_wxUSE_SLIDER=yes
7260 DEFAULT_wxUSE_SPINBTN=yes
7261 DEFAULT_wxUSE_SPINCTRL=yes
7262 DEFAULT_wxUSE_SPLITTER=yes
7263 DEFAULT_wxUSE_STATBMP=yes
7264 DEFAULT_wxUSE_STATBOX=yes
7265 DEFAULT_wxUSE_STATLINE=yes
7266 DEFAULT_wxUSE_STATUSBAR=yes
7267 DEFAULT_wxUSE_TAB_DIALOG=yes
7268 DEFAULT_wxUSE_TOGGLEBTN=yes
7269 DEFAULT_wxUSE_TOOLBAR=yes
7270 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7271 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7272 DEFAULT_wxUSE_TOOLTIPS=yes
7273 DEFAULT_wxUSE_TREECTRL=yes
7274 DEFAULT_wxUSE_POPUPWIN=yes
7275 DEFAULT_wxUSE_TIPWINDOW=yes
7276 elif test "$wxUSE_CONTROLS" = "no"; then
7277 DEFAULT_wxUSE_ACCEL=no
7278 DEFAULT_wxUSE_BMPBUTTON=no
7279 DEFAULT_wxUSE_BUTTON=no
7280 DEFAULT_wxUSE_CALCTRL=no
7281 DEFAULT_wxUSE_CARET=no
7282 DEFAULT_wxUSE_COMBOBOX=no
7283 DEFAULT_wxUSE_CHECKBOX=no
7284 DEFAULT_wxUSE_CHECKLISTBOX=no
7285 DEFAULT_wxUSE_CHOICE=no
7286 DEFAULT_wxUSE_CHOICEBOOK=no
7287 DEFAULT_wxUSE_DATEPICKCTRL=no
7288 DEFAULT_wxUSE_GAUGE=no
7289 DEFAULT_wxUSE_GRID=no
7290 DEFAULT_wxUSE_IMAGLIST=no
7291 DEFAULT_wxUSE_LISTBOOK=no
7292 DEFAULT_wxUSE_LISTBOX=no
7293 DEFAULT_wxUSE_LISTCTRL=no
7294 DEFAULT_wxUSE_NOTEBOOK=no
7295 DEFAULT_wxUSE_RADIOBOX=no
7296 DEFAULT_wxUSE_RADIOBTN=no
7297 DEFAULT_wxUSE_SASH=no
7298 DEFAULT_wxUSE_SCROLLBAR=no
7299 DEFAULT_wxUSE_SLIDER=no
7300 DEFAULT_wxUSE_SPINBTN=no
7301 DEFAULT_wxUSE_SPINCTRL=no
7302 DEFAULT_wxUSE_SPLITTER=no
7303 DEFAULT_wxUSE_STATBMP=no
7304 DEFAULT_wxUSE_STATBOX=no
7305 DEFAULT_wxUSE_STATLINE=no
7306 DEFAULT_wxUSE_STATUSBAR=no
7307 DEFAULT_wxUSE_TAB_DIALOG=no
7308 DEFAULT_wxUSE_TOGGLEBTN=no
7309 DEFAULT_wxUSE_TOOLBAR=no
7310 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7311 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7312 DEFAULT_wxUSE_TOOLTIPS=no
7313 DEFAULT_wxUSE_TREECTRL=no
7314 DEFAULT_wxUSE_POPUPWIN=no
7315 DEFAULT_wxUSE_TIPWINDOW=no
7316 fi
7317
7318
7319 enablestring=
7320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7321 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7322 no_cache=0
7323 # Check whether --enable-accel or --disable-accel was given.
7324 if test "${enable_accel+set}" = set; then
7325 enableval="$enable_accel"
7326
7327 if test "$enableval" = yes; then
7328 ac_cv_use_accel='wxUSE_ACCEL=yes'
7329 else
7330 ac_cv_use_accel='wxUSE_ACCEL=no'
7331 fi
7332
7333 else
7334
7335 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x ; then
7337 eval "DEFAULT_$LINE"
7338 else
7339 no_cache=1
7340 fi
7341
7342 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7343
7344 fi;
7345
7346 eval "$ac_cv_use_accel"
7347 if test "$no_cache" != 1; then
7348 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7349 fi
7350
7351 if test "$wxUSE_ACCEL" = yes; then
7352 echo "$as_me:$LINENO: result: yes" >&5
7353 echo "${ECHO_T}yes" >&6
7354 else
7355 echo "$as_me:$LINENO: result: no" >&5
7356 echo "${ECHO_T}no" >&6
7357 fi
7358
7359
7360 enablestring=
7361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7362 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7363 no_cache=0
7364 # Check whether --enable-button or --disable-button was given.
7365 if test "${enable_button+set}" = set; then
7366 enableval="$enable_button"
7367
7368 if test "$enableval" = yes; then
7369 ac_cv_use_button='wxUSE_BUTTON=yes'
7370 else
7371 ac_cv_use_button='wxUSE_BUTTON=no'
7372 fi
7373
7374 else
7375
7376 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x ; then
7378 eval "DEFAULT_$LINE"
7379 else
7380 no_cache=1
7381 fi
7382
7383 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7384
7385 fi;
7386
7387 eval "$ac_cv_use_button"
7388 if test "$no_cache" != 1; then
7389 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7390 fi
7391
7392 if test "$wxUSE_BUTTON" = yes; then
7393 echo "$as_me:$LINENO: result: yes" >&5
7394 echo "${ECHO_T}yes" >&6
7395 else
7396 echo "$as_me:$LINENO: result: no" >&5
7397 echo "${ECHO_T}no" >&6
7398 fi
7399
7400
7401 enablestring=
7402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7403 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7404 no_cache=0
7405 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7406 if test "${enable_bmpbutton+set}" = set; then
7407 enableval="$enable_bmpbutton"
7408
7409 if test "$enableval" = yes; then
7410 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7411 else
7412 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7413 fi
7414
7415 else
7416
7417 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x ; then
7419 eval "DEFAULT_$LINE"
7420 else
7421 no_cache=1
7422 fi
7423
7424 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7425
7426 fi;
7427
7428 eval "$ac_cv_use_bmpbutton"
7429 if test "$no_cache" != 1; then
7430 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7431 fi
7432
7433 if test "$wxUSE_BMPBUTTON" = yes; then
7434 echo "$as_me:$LINENO: result: yes" >&5
7435 echo "${ECHO_T}yes" >&6
7436 else
7437 echo "$as_me:$LINENO: result: no" >&5
7438 echo "${ECHO_T}no" >&6
7439 fi
7440
7441
7442 enablestring=
7443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7445 no_cache=0
7446 # Check whether --enable-calendar or --disable-calendar was given.
7447 if test "${enable_calendar+set}" = set; then
7448 enableval="$enable_calendar"
7449
7450 if test "$enableval" = yes; then
7451 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7452 else
7453 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7454 fi
7455
7456 else
7457
7458 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x ; then
7460 eval "DEFAULT_$LINE"
7461 else
7462 no_cache=1
7463 fi
7464
7465 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7466
7467 fi;
7468
7469 eval "$ac_cv_use_calendar"
7470 if test "$no_cache" != 1; then
7471 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7472 fi
7473
7474 if test "$wxUSE_CALCTRL" = yes; then
7475 echo "$as_me:$LINENO: result: yes" >&5
7476 echo "${ECHO_T}yes" >&6
7477 else
7478 echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6
7480 fi
7481
7482
7483 enablestring=
7484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7486 no_cache=0
7487 # Check whether --enable-caret or --disable-caret was given.
7488 if test "${enable_caret+set}" = set; then
7489 enableval="$enable_caret"
7490
7491 if test "$enableval" = yes; then
7492 ac_cv_use_caret='wxUSE_CARET=yes'
7493 else
7494 ac_cv_use_caret='wxUSE_CARET=no'
7495 fi
7496
7497 else
7498
7499 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x ; then
7501 eval "DEFAULT_$LINE"
7502 else
7503 no_cache=1
7504 fi
7505
7506 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7507
7508 fi;
7509
7510 eval "$ac_cv_use_caret"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7513 fi
7514
7515 if test "$wxUSE_CARET" = yes; then
7516 echo "$as_me:$LINENO: result: yes" >&5
7517 echo "${ECHO_T}yes" >&6
7518 else
7519 echo "$as_me:$LINENO: result: no" >&5
7520 echo "${ECHO_T}no" >&6
7521 fi
7522
7523
7524 enablestring=
7525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7527 no_cache=0
7528 # Check whether --enable-checkbox or --disable-checkbox was given.
7529 if test "${enable_checkbox+set}" = set; then
7530 enableval="$enable_checkbox"
7531
7532 if test "$enableval" = yes; then
7533 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7534 else
7535 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7536 fi
7537
7538 else
7539
7540 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x ; then
7542 eval "DEFAULT_$LINE"
7543 else
7544 no_cache=1
7545 fi
7546
7547 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7548
7549 fi;
7550
7551 eval "$ac_cv_use_checkbox"
7552 if test "$no_cache" != 1; then
7553 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7554 fi
7555
7556 if test "$wxUSE_CHECKBOX" = yes; then
7557 echo "$as_me:$LINENO: result: yes" >&5
7558 echo "${ECHO_T}yes" >&6
7559 else
7560 echo "$as_me:$LINENO: result: no" >&5
7561 echo "${ECHO_T}no" >&6
7562 fi
7563
7564
7565 enablestring=
7566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7568 no_cache=0
7569 # Check whether --enable-checklst or --disable-checklst was given.
7570 if test "${enable_checklst+set}" = set; then
7571 enableval="$enable_checklst"
7572
7573 if test "$enableval" = yes; then
7574 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7575 else
7576 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7577 fi
7578
7579 else
7580
7581 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7582 if test "x$LINE" != x ; then
7583 eval "DEFAULT_$LINE"
7584 else
7585 no_cache=1
7586 fi
7587
7588 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7589
7590 fi;
7591
7592 eval "$ac_cv_use_checklst"
7593 if test "$no_cache" != 1; then
7594 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7595 fi
7596
7597 if test "$wxUSE_CHECKLST" = yes; then
7598 echo "$as_me:$LINENO: result: yes" >&5
7599 echo "${ECHO_T}yes" >&6
7600 else
7601 echo "$as_me:$LINENO: result: no" >&5
7602 echo "${ECHO_T}no" >&6
7603 fi
7604
7605
7606 enablestring=
7607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7608 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7609 no_cache=0
7610 # Check whether --enable-choice or --disable-choice was given.
7611 if test "${enable_choice+set}" = set; then
7612 enableval="$enable_choice"
7613
7614 if test "$enableval" = yes; then
7615 ac_cv_use_choice='wxUSE_CHOICE=yes'
7616 else
7617 ac_cv_use_choice='wxUSE_CHOICE=no'
7618 fi
7619
7620 else
7621
7622 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7623 if test "x$LINE" != x ; then
7624 eval "DEFAULT_$LINE"
7625 else
7626 no_cache=1
7627 fi
7628
7629 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7630
7631 fi;
7632
7633 eval "$ac_cv_use_choice"
7634 if test "$no_cache" != 1; then
7635 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7636 fi
7637
7638 if test "$wxUSE_CHOICE" = yes; then
7639 echo "$as_me:$LINENO: result: yes" >&5
7640 echo "${ECHO_T}yes" >&6
7641 else
7642 echo "$as_me:$LINENO: result: no" >&5
7643 echo "${ECHO_T}no" >&6
7644 fi
7645
7646
7647 enablestring=
7648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7650 no_cache=0
7651 # Check whether --enable-choicebook or --disable-choicebook was given.
7652 if test "${enable_choicebook+set}" = set; then
7653 enableval="$enable_choicebook"
7654
7655 if test "$enableval" = yes; then
7656 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7657 else
7658 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7659 fi
7660
7661 else
7662
7663 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7664 if test "x$LINE" != x ; then
7665 eval "DEFAULT_$LINE"
7666 else
7667 no_cache=1
7668 fi
7669
7670 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7671
7672 fi;
7673
7674 eval "$ac_cv_use_choicebook"
7675 if test "$no_cache" != 1; then
7676 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7677 fi
7678
7679 if test "$wxUSE_CHOICEBOOK" = yes; then
7680 echo "$as_me:$LINENO: result: yes" >&5
7681 echo "${ECHO_T}yes" >&6
7682 else
7683 echo "$as_me:$LINENO: result: no" >&5
7684 echo "${ECHO_T}no" >&6
7685 fi
7686
7687
7688 enablestring=
7689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7690 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7691 no_cache=0
7692 # Check whether --enable-combobox or --disable-combobox was given.
7693 if test "${enable_combobox+set}" = set; then
7694 enableval="$enable_combobox"
7695
7696 if test "$enableval" = yes; then
7697 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7698 else
7699 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7700 fi
7701
7702 else
7703
7704 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7705 if test "x$LINE" != x ; then
7706 eval "DEFAULT_$LINE"
7707 else
7708 no_cache=1
7709 fi
7710
7711 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7712
7713 fi;
7714
7715 eval "$ac_cv_use_combobox"
7716 if test "$no_cache" != 1; then
7717 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7718 fi
7719
7720 if test "$wxUSE_COMBOBOX" = yes; then
7721 echo "$as_me:$LINENO: result: yes" >&5
7722 echo "${ECHO_T}yes" >&6
7723 else
7724 echo "$as_me:$LINENO: result: no" >&5
7725 echo "${ECHO_T}no" >&6
7726 fi
7727
7728
7729 enablestring=
7730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7731 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7732 no_cache=0
7733 # Check whether --enable-datepick or --disable-datepick was given.
7734 if test "${enable_datepick+set}" = set; then
7735 enableval="$enable_datepick"
7736
7737 if test "$enableval" = yes; then
7738 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7739 else
7740 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7741 fi
7742
7743 else
7744
7745 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7746 if test "x$LINE" != x ; then
7747 eval "DEFAULT_$LINE"
7748 else
7749 no_cache=1
7750 fi
7751
7752 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7753
7754 fi;
7755
7756 eval "$ac_cv_use_datepick"
7757 if test "$no_cache" != 1; then
7758 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7759 fi
7760
7761 if test "$wxUSE_DATEPICKCTRL" = yes; then
7762 echo "$as_me:$LINENO: result: yes" >&5
7763 echo "${ECHO_T}yes" >&6
7764 else
7765 echo "$as_me:$LINENO: result: no" >&5
7766 echo "${ECHO_T}no" >&6
7767 fi
7768
7769
7770 enablestring=
7771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7772 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7773 no_cache=0
7774 # Check whether --enable-display or --disable-display was given.
7775 if test "${enable_display+set}" = set; then
7776 enableval="$enable_display"
7777
7778 if test "$enableval" = yes; then
7779 ac_cv_use_display='wxUSE_DISPLAY=yes'
7780 else
7781 ac_cv_use_display='wxUSE_DISPLAY=no'
7782 fi
7783
7784 else
7785
7786 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7787 if test "x$LINE" != x ; then
7788 eval "DEFAULT_$LINE"
7789 else
7790 no_cache=1
7791 fi
7792
7793 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7794
7795 fi;
7796
7797 eval "$ac_cv_use_display"
7798 if test "$no_cache" != 1; then
7799 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7800 fi
7801
7802 if test "$wxUSE_DISPLAY" = yes; then
7803 echo "$as_me:$LINENO: result: yes" >&5
7804 echo "${ECHO_T}yes" >&6
7805 else
7806 echo "$as_me:$LINENO: result: no" >&5
7807 echo "${ECHO_T}no" >&6
7808 fi
7809
7810
7811 enablestring=
7812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7814 no_cache=0
7815 # Check whether --enable-gauge or --disable-gauge was given.
7816 if test "${enable_gauge+set}" = set; then
7817 enableval="$enable_gauge"
7818
7819 if test "$enableval" = yes; then
7820 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7821 else
7822 ac_cv_use_gauge='wxUSE_GAUGE=no'
7823 fi
7824
7825 else
7826
7827 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7828 if test "x$LINE" != x ; then
7829 eval "DEFAULT_$LINE"
7830 else
7831 no_cache=1
7832 fi
7833
7834 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7835
7836 fi;
7837
7838 eval "$ac_cv_use_gauge"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7841 fi
7842
7843 if test "$wxUSE_GAUGE" = yes; then
7844 echo "$as_me:$LINENO: result: yes" >&5
7845 echo "${ECHO_T}yes" >&6
7846 else
7847 echo "$as_me:$LINENO: result: no" >&5
7848 echo "${ECHO_T}no" >&6
7849 fi
7850
7851
7852 enablestring=
7853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7854 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7855 no_cache=0
7856 # Check whether --enable-grid or --disable-grid was given.
7857 if test "${enable_grid+set}" = set; then
7858 enableval="$enable_grid"
7859
7860 if test "$enableval" = yes; then
7861 ac_cv_use_grid='wxUSE_GRID=yes'
7862 else
7863 ac_cv_use_grid='wxUSE_GRID=no'
7864 fi
7865
7866 else
7867
7868 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7869 if test "x$LINE" != x ; then
7870 eval "DEFAULT_$LINE"
7871 else
7872 no_cache=1
7873 fi
7874
7875 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7876
7877 fi;
7878
7879 eval "$ac_cv_use_grid"
7880 if test "$no_cache" != 1; then
7881 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7882 fi
7883
7884 if test "$wxUSE_GRID" = yes; then
7885 echo "$as_me:$LINENO: result: yes" >&5
7886 echo "${ECHO_T}yes" >&6
7887 else
7888 echo "$as_me:$LINENO: result: no" >&5
7889 echo "${ECHO_T}no" >&6
7890 fi
7891
7892
7893 enablestring=
7894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7895 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7896 no_cache=0
7897 # Check whether --enable-imaglist or --disable-imaglist was given.
7898 if test "${enable_imaglist+set}" = set; then
7899 enableval="$enable_imaglist"
7900
7901 if test "$enableval" = yes; then
7902 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7903 else
7904 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7905 fi
7906
7907 else
7908
7909 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7910 if test "x$LINE" != x ; then
7911 eval "DEFAULT_$LINE"
7912 else
7913 no_cache=1
7914 fi
7915
7916 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7917
7918 fi;
7919
7920 eval "$ac_cv_use_imaglist"
7921 if test "$no_cache" != 1; then
7922 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7923 fi
7924
7925 if test "$wxUSE_IMAGLIST" = yes; then
7926 echo "$as_me:$LINENO: result: yes" >&5
7927 echo "${ECHO_T}yes" >&6
7928 else
7929 echo "$as_me:$LINENO: result: no" >&5
7930 echo "${ECHO_T}no" >&6
7931 fi
7932
7933
7934 enablestring=
7935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7936 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7937 no_cache=0
7938 # Check whether --enable-listbook or --disable-listbook was given.
7939 if test "${enable_listbook+set}" = set; then
7940 enableval="$enable_listbook"
7941
7942 if test "$enableval" = yes; then
7943 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7944 else
7945 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7946 fi
7947
7948 else
7949
7950 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7951 if test "x$LINE" != x ; then
7952 eval "DEFAULT_$LINE"
7953 else
7954 no_cache=1
7955 fi
7956
7957 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7958
7959 fi;
7960
7961 eval "$ac_cv_use_listbook"
7962 if test "$no_cache" != 1; then
7963 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7964 fi
7965
7966 if test "$wxUSE_LISTBOOK" = yes; then
7967 echo "$as_me:$LINENO: result: yes" >&5
7968 echo "${ECHO_T}yes" >&6
7969 else
7970 echo "$as_me:$LINENO: result: no" >&5
7971 echo "${ECHO_T}no" >&6
7972 fi
7973
7974
7975 enablestring=
7976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7977 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7978 no_cache=0
7979 # Check whether --enable-listbox or --disable-listbox was given.
7980 if test "${enable_listbox+set}" = set; then
7981 enableval="$enable_listbox"
7982
7983 if test "$enableval" = yes; then
7984 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7985 else
7986 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7987 fi
7988
7989 else
7990
7991 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7992 if test "x$LINE" != x ; then
7993 eval "DEFAULT_$LINE"
7994 else
7995 no_cache=1
7996 fi
7997
7998 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7999
8000 fi;
8001
8002 eval "$ac_cv_use_listbox"
8003 if test "$no_cache" != 1; then
8004 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8005 fi
8006
8007 if test "$wxUSE_LISTBOX" = yes; then
8008 echo "$as_me:$LINENO: result: yes" >&5
8009 echo "${ECHO_T}yes" >&6
8010 else
8011 echo "$as_me:$LINENO: result: no" >&5
8012 echo "${ECHO_T}no" >&6
8013 fi
8014
8015
8016 enablestring=
8017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8018 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8019 no_cache=0
8020 # Check whether --enable-listctrl or --disable-listctrl was given.
8021 if test "${enable_listctrl+set}" = set; then
8022 enableval="$enable_listctrl"
8023
8024 if test "$enableval" = yes; then
8025 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8026 else
8027 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8028 fi
8029
8030 else
8031
8032 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8033 if test "x$LINE" != x ; then
8034 eval "DEFAULT_$LINE"
8035 else
8036 no_cache=1
8037 fi
8038
8039 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8040
8041 fi;
8042
8043 eval "$ac_cv_use_listctrl"
8044 if test "$no_cache" != 1; then
8045 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8046 fi
8047
8048 if test "$wxUSE_LISTCTRL" = yes; then
8049 echo "$as_me:$LINENO: result: yes" >&5
8050 echo "${ECHO_T}yes" >&6
8051 else
8052 echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6
8054 fi
8055
8056
8057 enablestring=
8058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8059 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8060 no_cache=0
8061 # Check whether --enable-notebook or --disable-notebook was given.
8062 if test "${enable_notebook+set}" = set; then
8063 enableval="$enable_notebook"
8064
8065 if test "$enableval" = yes; then
8066 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8067 else
8068 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8069 fi
8070
8071 else
8072
8073 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x ; then
8075 eval "DEFAULT_$LINE"
8076 else
8077 no_cache=1
8078 fi
8079
8080 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8081
8082 fi;
8083
8084 eval "$ac_cv_use_notebook"
8085 if test "$no_cache" != 1; then
8086 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8087 fi
8088
8089 if test "$wxUSE_NOTEBOOK" = yes; then
8090 echo "$as_me:$LINENO: result: yes" >&5
8091 echo "${ECHO_T}yes" >&6
8092 else
8093 echo "$as_me:$LINENO: result: no" >&5
8094 echo "${ECHO_T}no" >&6
8095 fi
8096
8097
8098 enablestring=
8099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8101 no_cache=0
8102 # Check whether --enable-radiobox or --disable-radiobox was given.
8103 if test "${enable_radiobox+set}" = set; then
8104 enableval="$enable_radiobox"
8105
8106 if test "$enableval" = yes; then
8107 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8108 else
8109 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8110 fi
8111
8112 else
8113
8114 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8115 if test "x$LINE" != x ; then
8116 eval "DEFAULT_$LINE"
8117 else
8118 no_cache=1
8119 fi
8120
8121 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8122
8123 fi;
8124
8125 eval "$ac_cv_use_radiobox"
8126 if test "$no_cache" != 1; then
8127 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8128 fi
8129
8130 if test "$wxUSE_RADIOBOX" = yes; then
8131 echo "$as_me:$LINENO: result: yes" >&5
8132 echo "${ECHO_T}yes" >&6
8133 else
8134 echo "$as_me:$LINENO: result: no" >&5
8135 echo "${ECHO_T}no" >&6
8136 fi
8137
8138
8139 enablestring=
8140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8141 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8142 no_cache=0
8143 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8144 if test "${enable_radiobtn+set}" = set; then
8145 enableval="$enable_radiobtn"
8146
8147 if test "$enableval" = yes; then
8148 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8149 else
8150 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8151 fi
8152
8153 else
8154
8155 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x ; then
8157 eval "DEFAULT_$LINE"
8158 else
8159 no_cache=1
8160 fi
8161
8162 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8163
8164 fi;
8165
8166 eval "$ac_cv_use_radiobtn"
8167 if test "$no_cache" != 1; then
8168 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8169 fi
8170
8171 if test "$wxUSE_RADIOBTN" = yes; then
8172 echo "$as_me:$LINENO: result: yes" >&5
8173 echo "${ECHO_T}yes" >&6
8174 else
8175 echo "$as_me:$LINENO: result: no" >&5
8176 echo "${ECHO_T}no" >&6
8177 fi
8178
8179
8180 enablestring=
8181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8183 no_cache=0
8184 # Check whether --enable-sash or --disable-sash was given.
8185 if test "${enable_sash+set}" = set; then
8186 enableval="$enable_sash"
8187
8188 if test "$enableval" = yes; then
8189 ac_cv_use_sash='wxUSE_SASH=yes'
8190 else
8191 ac_cv_use_sash='wxUSE_SASH=no'
8192 fi
8193
8194 else
8195
8196 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x ; then
8198 eval "DEFAULT_$LINE"
8199 else
8200 no_cache=1
8201 fi
8202
8203 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8204
8205 fi;
8206
8207 eval "$ac_cv_use_sash"
8208 if test "$no_cache" != 1; then
8209 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8210 fi
8211
8212 if test "$wxUSE_SASH" = yes; then
8213 echo "$as_me:$LINENO: result: yes" >&5
8214 echo "${ECHO_T}yes" >&6
8215 else
8216 echo "$as_me:$LINENO: result: no" >&5
8217 echo "${ECHO_T}no" >&6
8218 fi
8219
8220
8221 enablestring=
8222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8223 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8224 no_cache=0
8225 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8226 if test "${enable_scrollbar+set}" = set; then
8227 enableval="$enable_scrollbar"
8228
8229 if test "$enableval" = yes; then
8230 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8231 else
8232 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8233 fi
8234
8235 else
8236
8237 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8238 if test "x$LINE" != x ; then
8239 eval "DEFAULT_$LINE"
8240 else
8241 no_cache=1
8242 fi
8243
8244 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8245
8246 fi;
8247
8248 eval "$ac_cv_use_scrollbar"
8249 if test "$no_cache" != 1; then
8250 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8251 fi
8252
8253 if test "$wxUSE_SCROLLBAR" = yes; then
8254 echo "$as_me:$LINENO: result: yes" >&5
8255 echo "${ECHO_T}yes" >&6
8256 else
8257 echo "$as_me:$LINENO: result: no" >&5
8258 echo "${ECHO_T}no" >&6
8259 fi
8260
8261
8262 enablestring=
8263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8265 no_cache=0
8266 # Check whether --enable-slider or --disable-slider was given.
8267 if test "${enable_slider+set}" = set; then
8268 enableval="$enable_slider"
8269
8270 if test "$enableval" = yes; then
8271 ac_cv_use_slider='wxUSE_SLIDER=yes'
8272 else
8273 ac_cv_use_slider='wxUSE_SLIDER=no'
8274 fi
8275
8276 else
8277
8278 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8279 if test "x$LINE" != x ; then
8280 eval "DEFAULT_$LINE"
8281 else
8282 no_cache=1
8283 fi
8284
8285 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8286
8287 fi;
8288
8289 eval "$ac_cv_use_slider"
8290 if test "$no_cache" != 1; then
8291 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8292 fi
8293
8294 if test "$wxUSE_SLIDER" = yes; then
8295 echo "$as_me:$LINENO: result: yes" >&5
8296 echo "${ECHO_T}yes" >&6
8297 else
8298 echo "$as_me:$LINENO: result: no" >&5
8299 echo "${ECHO_T}no" >&6
8300 fi
8301
8302
8303 enablestring=
8304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8305 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8306 no_cache=0
8307 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8308 if test "${enable_spinbtn+set}" = set; then
8309 enableval="$enable_spinbtn"
8310
8311 if test "$enableval" = yes; then
8312 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8313 else
8314 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8315 fi
8316
8317 else
8318
8319 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8320 if test "x$LINE" != x ; then
8321 eval "DEFAULT_$LINE"
8322 else
8323 no_cache=1
8324 fi
8325
8326 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8327
8328 fi;
8329
8330 eval "$ac_cv_use_spinbtn"
8331 if test "$no_cache" != 1; then
8332 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8333 fi
8334
8335 if test "$wxUSE_SPINBTN" = yes; then
8336 echo "$as_me:$LINENO: result: yes" >&5
8337 echo "${ECHO_T}yes" >&6
8338 else
8339 echo "$as_me:$LINENO: result: no" >&5
8340 echo "${ECHO_T}no" >&6
8341 fi
8342
8343
8344 enablestring=
8345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8346 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8347 no_cache=0
8348 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8349 if test "${enable_spinctrl+set}" = set; then
8350 enableval="$enable_spinctrl"
8351
8352 if test "$enableval" = yes; then
8353 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8354 else
8355 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8356 fi
8357
8358 else
8359
8360 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8361 if test "x$LINE" != x ; then
8362 eval "DEFAULT_$LINE"
8363 else
8364 no_cache=1
8365 fi
8366
8367 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8368
8369 fi;
8370
8371 eval "$ac_cv_use_spinctrl"
8372 if test "$no_cache" != 1; then
8373 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8374 fi
8375
8376 if test "$wxUSE_SPINCTRL" = yes; then
8377 echo "$as_me:$LINENO: result: yes" >&5
8378 echo "${ECHO_T}yes" >&6
8379 else
8380 echo "$as_me:$LINENO: result: no" >&5
8381 echo "${ECHO_T}no" >&6
8382 fi
8383
8384
8385 enablestring=
8386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8387 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8388 no_cache=0
8389 # Check whether --enable-splitter or --disable-splitter was given.
8390 if test "${enable_splitter+set}" = set; then
8391 enableval="$enable_splitter"
8392
8393 if test "$enableval" = yes; then
8394 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8395 else
8396 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8397 fi
8398
8399 else
8400
8401 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8402 if test "x$LINE" != x ; then
8403 eval "DEFAULT_$LINE"
8404 else
8405 no_cache=1
8406 fi
8407
8408 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8409
8410 fi;
8411
8412 eval "$ac_cv_use_splitter"
8413 if test "$no_cache" != 1; then
8414 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8415 fi
8416
8417 if test "$wxUSE_SPLITTER" = yes; then
8418 echo "$as_me:$LINENO: result: yes" >&5
8419 echo "${ECHO_T}yes" >&6
8420 else
8421 echo "$as_me:$LINENO: result: no" >&5
8422 echo "${ECHO_T}no" >&6
8423 fi
8424
8425
8426 enablestring=
8427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8428 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8429 no_cache=0
8430 # Check whether --enable-statbmp or --disable-statbmp was given.
8431 if test "${enable_statbmp+set}" = set; then
8432 enableval="$enable_statbmp"
8433
8434 if test "$enableval" = yes; then
8435 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8436 else
8437 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8438 fi
8439
8440 else
8441
8442 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8443 if test "x$LINE" != x ; then
8444 eval "DEFAULT_$LINE"
8445 else
8446 no_cache=1
8447 fi
8448
8449 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8450
8451 fi;
8452
8453 eval "$ac_cv_use_statbmp"
8454 if test "$no_cache" != 1; then
8455 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8456 fi
8457
8458 if test "$wxUSE_STATBMP" = yes; then
8459 echo "$as_me:$LINENO: result: yes" >&5
8460 echo "${ECHO_T}yes" >&6
8461 else
8462 echo "$as_me:$LINENO: result: no" >&5
8463 echo "${ECHO_T}no" >&6
8464 fi
8465
8466
8467 enablestring=
8468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8469 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8470 no_cache=0
8471 # Check whether --enable-statbox or --disable-statbox was given.
8472 if test "${enable_statbox+set}" = set; then
8473 enableval="$enable_statbox"
8474
8475 if test "$enableval" = yes; then
8476 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8477 else
8478 ac_cv_use_statbox='wxUSE_STATBOX=no'
8479 fi
8480
8481 else
8482
8483 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8484 if test "x$LINE" != x ; then
8485 eval "DEFAULT_$LINE"
8486 else
8487 no_cache=1
8488 fi
8489
8490 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8491
8492 fi;
8493
8494 eval "$ac_cv_use_statbox"
8495 if test "$no_cache" != 1; then
8496 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8497 fi
8498
8499 if test "$wxUSE_STATBOX" = yes; then
8500 echo "$as_me:$LINENO: result: yes" >&5
8501 echo "${ECHO_T}yes" >&6
8502 else
8503 echo "$as_me:$LINENO: result: no" >&5
8504 echo "${ECHO_T}no" >&6
8505 fi
8506
8507
8508 enablestring=
8509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8510 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8511 no_cache=0
8512 # Check whether --enable-statline or --disable-statline was given.
8513 if test "${enable_statline+set}" = set; then
8514 enableval="$enable_statline"
8515
8516 if test "$enableval" = yes; then
8517 ac_cv_use_statline='wxUSE_STATLINE=yes'
8518 else
8519 ac_cv_use_statline='wxUSE_STATLINE=no'
8520 fi
8521
8522 else
8523
8524 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8525 if test "x$LINE" != x ; then
8526 eval "DEFAULT_$LINE"
8527 else
8528 no_cache=1
8529 fi
8530
8531 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8532
8533 fi;
8534
8535 eval "$ac_cv_use_statline"
8536 if test "$no_cache" != 1; then
8537 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8538 fi
8539
8540 if test "$wxUSE_STATLINE" = yes; then
8541 echo "$as_me:$LINENO: result: yes" >&5
8542 echo "${ECHO_T}yes" >&6
8543 else
8544 echo "$as_me:$LINENO: result: no" >&5
8545 echo "${ECHO_T}no" >&6
8546 fi
8547
8548
8549 enablestring=
8550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8551 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8552 no_cache=0
8553 # Check whether --enable-stattext or --disable-stattext was given.
8554 if test "${enable_stattext+set}" = set; then
8555 enableval="$enable_stattext"
8556
8557 if test "$enableval" = yes; then
8558 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8559 else
8560 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8561 fi
8562
8563 else
8564
8565 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8566 if test "x$LINE" != x ; then
8567 eval "DEFAULT_$LINE"
8568 else
8569 no_cache=1
8570 fi
8571
8572 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8573
8574 fi;
8575
8576 eval "$ac_cv_use_stattext"
8577 if test "$no_cache" != 1; then
8578 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8579 fi
8580
8581 if test "$wxUSE_STATTEXT" = yes; then
8582 echo "$as_me:$LINENO: result: yes" >&5
8583 echo "${ECHO_T}yes" >&6
8584 else
8585 echo "$as_me:$LINENO: result: no" >&5
8586 echo "${ECHO_T}no" >&6
8587 fi
8588
8589
8590 enablestring=
8591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8593 no_cache=0
8594 # Check whether --enable-statusbar or --disable-statusbar was given.
8595 if test "${enable_statusbar+set}" = set; then
8596 enableval="$enable_statusbar"
8597
8598 if test "$enableval" = yes; then
8599 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8600 else
8601 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8602 fi
8603
8604 else
8605
8606 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8607 if test "x$LINE" != x ; then
8608 eval "DEFAULT_$LINE"
8609 else
8610 no_cache=1
8611 fi
8612
8613 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8614
8615 fi;
8616
8617 eval "$ac_cv_use_statusbar"
8618 if test "$no_cache" != 1; then
8619 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8620 fi
8621
8622 if test "$wxUSE_STATUSBAR" = yes; then
8623 echo "$as_me:$LINENO: result: yes" >&5
8624 echo "${ECHO_T}yes" >&6
8625 else
8626 echo "$as_me:$LINENO: result: no" >&5
8627 echo "${ECHO_T}no" >&6
8628 fi
8629
8630
8631 enablestring=
8632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8633 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8634 no_cache=0
8635 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8636 if test "${enable_tabdialog+set}" = set; then
8637 enableval="$enable_tabdialog"
8638
8639 if test "$enableval" = yes; then
8640 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8641 else
8642 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8643 fi
8644
8645 else
8646
8647 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x ; then
8649 eval "DEFAULT_$LINE"
8650 else
8651 no_cache=1
8652 fi
8653
8654 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8655
8656 fi;
8657
8658 eval "$ac_cv_use_tabdialog"
8659 if test "$no_cache" != 1; then
8660 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8661 fi
8662
8663 if test "$wxUSE_TABDIALOG" = yes; then
8664 echo "$as_me:$LINENO: result: yes" >&5
8665 echo "${ECHO_T}yes" >&6
8666 else
8667 echo "$as_me:$LINENO: result: no" >&5
8668 echo "${ECHO_T}no" >&6
8669 fi
8670
8671
8672 enablestring=
8673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8675 no_cache=0
8676 # Check whether --enable-textctrl or --disable-textctrl was given.
8677 if test "${enable_textctrl+set}" = set; then
8678 enableval="$enable_textctrl"
8679
8680 if test "$enableval" = yes; then
8681 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8682 else
8683 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8684 fi
8685
8686 else
8687
8688 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8689 if test "x$LINE" != x ; then
8690 eval "DEFAULT_$LINE"
8691 else
8692 no_cache=1
8693 fi
8694
8695 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8696
8697 fi;
8698
8699 eval "$ac_cv_use_textctrl"
8700 if test "$no_cache" != 1; then
8701 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8702 fi
8703
8704 if test "$wxUSE_TEXTCTRL" = yes; then
8705 echo "$as_me:$LINENO: result: yes" >&5
8706 echo "${ECHO_T}yes" >&6
8707 else
8708 echo "$as_me:$LINENO: result: no" >&5
8709 echo "${ECHO_T}no" >&6
8710 fi
8711
8712
8713 enablestring=
8714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8716 no_cache=0
8717 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8718 if test "${enable_togglebtn+set}" = set; then
8719 enableval="$enable_togglebtn"
8720
8721 if test "$enableval" = yes; then
8722 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8723 else
8724 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8725 fi
8726
8727 else
8728
8729 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8730 if test "x$LINE" != x ; then
8731 eval "DEFAULT_$LINE"
8732 else
8733 no_cache=1
8734 fi
8735
8736 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8737
8738 fi;
8739
8740 eval "$ac_cv_use_togglebtn"
8741 if test "$no_cache" != 1; then
8742 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8743 fi
8744
8745 if test "$wxUSE_TOGGLEBTN" = yes; then
8746 echo "$as_me:$LINENO: result: yes" >&5
8747 echo "${ECHO_T}yes" >&6
8748 else
8749 echo "$as_me:$LINENO: result: no" >&5
8750 echo "${ECHO_T}no" >&6
8751 fi
8752
8753
8754 enablestring=
8755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8757 no_cache=0
8758 # Check whether --enable-toolbar or --disable-toolbar was given.
8759 if test "${enable_toolbar+set}" = set; then
8760 enableval="$enable_toolbar"
8761
8762 if test "$enableval" = yes; then
8763 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8764 else
8765 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8766 fi
8767
8768 else
8769
8770 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8771 if test "x$LINE" != x ; then
8772 eval "DEFAULT_$LINE"
8773 else
8774 no_cache=1
8775 fi
8776
8777 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8778
8779 fi;
8780
8781 eval "$ac_cv_use_toolbar"
8782 if test "$no_cache" != 1; then
8783 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8784 fi
8785
8786 if test "$wxUSE_TOOLBAR" = yes; then
8787 echo "$as_me:$LINENO: result: yes" >&5
8788 echo "${ECHO_T}yes" >&6
8789 else
8790 echo "$as_me:$LINENO: result: no" >&5
8791 echo "${ECHO_T}no" >&6
8792 fi
8793
8794
8795 enablestring=
8796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8797 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8798 no_cache=0
8799 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8800 if test "${enable_tbarnative+set}" = set; then
8801 enableval="$enable_tbarnative"
8802
8803 if test "$enableval" = yes; then
8804 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8805 else
8806 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8807 fi
8808
8809 else
8810
8811 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8812 if test "x$LINE" != x ; then
8813 eval "DEFAULT_$LINE"
8814 else
8815 no_cache=1
8816 fi
8817
8818 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8819
8820 fi;
8821
8822 eval "$ac_cv_use_tbarnative"
8823 if test "$no_cache" != 1; then
8824 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8825 fi
8826
8827 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8828 echo "$as_me:$LINENO: result: yes" >&5
8829 echo "${ECHO_T}yes" >&6
8830 else
8831 echo "$as_me:$LINENO: result: no" >&5
8832 echo "${ECHO_T}no" >&6
8833 fi
8834
8835
8836 enablestring=
8837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8838 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8839 no_cache=0
8840 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8841 if test "${enable_tbarsmpl+set}" = set; then
8842 enableval="$enable_tbarsmpl"
8843
8844 if test "$enableval" = yes; then
8845 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8846 else
8847 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8848 fi
8849
8850 else
8851
8852 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8853 if test "x$LINE" != x ; then
8854 eval "DEFAULT_$LINE"
8855 else
8856 no_cache=1
8857 fi
8858
8859 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8860
8861 fi;
8862
8863 eval "$ac_cv_use_tbarsmpl"
8864 if test "$no_cache" != 1; then
8865 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8866 fi
8867
8868 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8869 echo "$as_me:$LINENO: result: yes" >&5
8870 echo "${ECHO_T}yes" >&6
8871 else
8872 echo "$as_me:$LINENO: result: no" >&5
8873 echo "${ECHO_T}no" >&6
8874 fi
8875
8876
8877 enablestring=
8878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8880 no_cache=0
8881 # Check whether --enable-treectrl or --disable-treectrl was given.
8882 if test "${enable_treectrl+set}" = set; then
8883 enableval="$enable_treectrl"
8884
8885 if test "$enableval" = yes; then
8886 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8887 else
8888 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8889 fi
8890
8891 else
8892
8893 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8894 if test "x$LINE" != x ; then
8895 eval "DEFAULT_$LINE"
8896 else
8897 no_cache=1
8898 fi
8899
8900 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8901
8902 fi;
8903
8904 eval "$ac_cv_use_treectrl"
8905 if test "$no_cache" != 1; then
8906 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8907 fi
8908
8909 if test "$wxUSE_TREECTRL" = yes; then
8910 echo "$as_me:$LINENO: result: yes" >&5
8911 echo "${ECHO_T}yes" >&6
8912 else
8913 echo "$as_me:$LINENO: result: no" >&5
8914 echo "${ECHO_T}no" >&6
8915 fi
8916
8917
8918 enablestring=
8919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8920 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8921 no_cache=0
8922 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8923 if test "${enable_tipwindow+set}" = set; then
8924 enableval="$enable_tipwindow"
8925
8926 if test "$enableval" = yes; then
8927 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8928 else
8929 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8930 fi
8931
8932 else
8933
8934 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8935 if test "x$LINE" != x ; then
8936 eval "DEFAULT_$LINE"
8937 else
8938 no_cache=1
8939 fi
8940
8941 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8942
8943 fi;
8944
8945 eval "$ac_cv_use_tipwindow"
8946 if test "$no_cache" != 1; then
8947 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8948 fi
8949
8950 if test "$wxUSE_TIPWINDOW" = yes; then
8951 echo "$as_me:$LINENO: result: yes" >&5
8952 echo "${ECHO_T}yes" >&6
8953 else
8954 echo "$as_me:$LINENO: result: no" >&5
8955 echo "${ECHO_T}no" >&6
8956 fi
8957
8958
8959 enablestring=
8960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8961 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8962 no_cache=0
8963 # Check whether --enable-popupwin or --disable-popupwin was given.
8964 if test "${enable_popupwin+set}" = set; then
8965 enableval="$enable_popupwin"
8966
8967 if test "$enableval" = yes; then
8968 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8969 else
8970 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8971 fi
8972
8973 else
8974
8975 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8976 if test "x$LINE" != x ; then
8977 eval "DEFAULT_$LINE"
8978 else
8979 no_cache=1
8980 fi
8981
8982 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8983
8984 fi;
8985
8986 eval "$ac_cv_use_popupwin"
8987 if test "$no_cache" != 1; then
8988 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8989 fi
8990
8991 if test "$wxUSE_POPUPWIN" = yes; then
8992 echo "$as_me:$LINENO: result: yes" >&5
8993 echo "${ECHO_T}yes" >&6
8994 else
8995 echo "$as_me:$LINENO: result: no" >&5
8996 echo "${ECHO_T}no" >&6
8997 fi
8998
8999
9000
9001
9002 enablestring=
9003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9005 no_cache=0
9006 # Check whether --enable-commondlg or --disable-commondlg was given.
9007 if test "${enable_commondlg+set}" = set; then
9008 enableval="$enable_commondlg"
9009
9010 if test "$enableval" = yes; then
9011 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9012 else
9013 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9014 fi
9015
9016 else
9017
9018 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9019 if test "x$LINE" != x ; then
9020 eval "DEFAULT_$LINE"
9021 else
9022 no_cache=1
9023 fi
9024
9025 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9026
9027 fi;
9028
9029 eval "$ac_cv_use_commondlg"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9032 fi
9033
9034 if test "$wxUSE_COMMONDLGS" = yes; then
9035 echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6
9037 else
9038 echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6
9040 fi
9041
9042
9043 enablestring=
9044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9046 no_cache=0
9047 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9048 if test "${enable_choicedlg+set}" = set; then
9049 enableval="$enable_choicedlg"
9050
9051 if test "$enableval" = yes; then
9052 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9053 else
9054 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9055 fi
9056
9057 else
9058
9059 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9060 if test "x$LINE" != x ; then
9061 eval "DEFAULT_$LINE"
9062 else
9063 no_cache=1
9064 fi
9065
9066 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9067
9068 fi;
9069
9070 eval "$ac_cv_use_choicedlg"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9073 fi
9074
9075 if test "$wxUSE_CHOICEDLG" = yes; then
9076 echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6
9078 else
9079 echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6
9081 fi
9082
9083
9084 enablestring=
9085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9087 no_cache=0
9088 # Check whether --enable-coldlg or --disable-coldlg was given.
9089 if test "${enable_coldlg+set}" = set; then
9090 enableval="$enable_coldlg"
9091
9092 if test "$enableval" = yes; then
9093 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9094 else
9095 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9096 fi
9097
9098 else
9099
9100 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9101 if test "x$LINE" != x ; then
9102 eval "DEFAULT_$LINE"
9103 else
9104 no_cache=1
9105 fi
9106
9107 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9108
9109 fi;
9110
9111 eval "$ac_cv_use_coldlg"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9114 fi
9115
9116 if test "$wxUSE_COLOURDLG" = yes; then
9117 echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6
9119 else
9120 echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6
9122 fi
9123
9124
9125 enablestring=
9126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9127 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9128 no_cache=0
9129 # Check whether --enable-filedlg or --disable-filedlg was given.
9130 if test "${enable_filedlg+set}" = set; then
9131 enableval="$enable_filedlg"
9132
9133 if test "$enableval" = yes; then
9134 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9135 else
9136 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9137 fi
9138
9139 else
9140
9141 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9142 if test "x$LINE" != x ; then
9143 eval "DEFAULT_$LINE"
9144 else
9145 no_cache=1
9146 fi
9147
9148 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9149
9150 fi;
9151
9152 eval "$ac_cv_use_filedlg"
9153 if test "$no_cache" != 1; then
9154 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9155 fi
9156
9157 if test "$wxUSE_FILEDLG" = yes; then
9158 echo "$as_me:$LINENO: result: yes" >&5
9159 echo "${ECHO_T}yes" >&6
9160 else
9161 echo "$as_me:$LINENO: result: no" >&5
9162 echo "${ECHO_T}no" >&6
9163 fi
9164
9165
9166 enablestring=
9167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9169 no_cache=0
9170 # Check whether --enable-finddlg or --disable-finddlg was given.
9171 if test "${enable_finddlg+set}" = set; then
9172 enableval="$enable_finddlg"
9173
9174 if test "$enableval" = yes; then
9175 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9176 else
9177 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9178 fi
9179
9180 else
9181
9182 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9183 if test "x$LINE" != x ; then
9184 eval "DEFAULT_$LINE"
9185 else
9186 no_cache=1
9187 fi
9188
9189 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9190
9191 fi;
9192
9193 eval "$ac_cv_use_finddlg"
9194 if test "$no_cache" != 1; then
9195 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9196 fi
9197
9198 if test "$wxUSE_FINDREPLDLG" = yes; then
9199 echo "$as_me:$LINENO: result: yes" >&5
9200 echo "${ECHO_T}yes" >&6
9201 else
9202 echo "$as_me:$LINENO: result: no" >&5
9203 echo "${ECHO_T}no" >&6
9204 fi
9205
9206
9207 enablestring=
9208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9210 no_cache=0
9211 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9212 if test "${enable_fontdlg+set}" = set; then
9213 enableval="$enable_fontdlg"
9214
9215 if test "$enableval" = yes; then
9216 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9217 else
9218 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9219 fi
9220
9221 else
9222
9223 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9224 if test "x$LINE" != x ; then
9225 eval "DEFAULT_$LINE"
9226 else
9227 no_cache=1
9228 fi
9229
9230 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9231
9232 fi;
9233
9234 eval "$ac_cv_use_fontdlg"
9235 if test "$no_cache" != 1; then
9236 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9237 fi
9238
9239 if test "$wxUSE_FONTDLG" = yes; then
9240 echo "$as_me:$LINENO: result: yes" >&5
9241 echo "${ECHO_T}yes" >&6
9242 else
9243 echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6
9245 fi
9246
9247
9248 enablestring=
9249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9251 no_cache=0
9252 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9253 if test "${enable_dirdlg+set}" = set; then
9254 enableval="$enable_dirdlg"
9255
9256 if test "$enableval" = yes; then
9257 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9258 else
9259 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9260 fi
9261
9262 else
9263
9264 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9265 if test "x$LINE" != x ; then
9266 eval "DEFAULT_$LINE"
9267 else
9268 no_cache=1
9269 fi
9270
9271 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9272
9273 fi;
9274
9275 eval "$ac_cv_use_dirdlg"
9276 if test "$no_cache" != 1; then
9277 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9278 fi
9279
9280 if test "$wxUSE_DIRDLG" = yes; then
9281 echo "$as_me:$LINENO: result: yes" >&5
9282 echo "${ECHO_T}yes" >&6
9283 else
9284 echo "$as_me:$LINENO: result: no" >&5
9285 echo "${ECHO_T}no" >&6
9286 fi
9287
9288
9289 enablestring=
9290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9292 no_cache=0
9293 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9294 if test "${enable_msgdlg+set}" = set; then
9295 enableval="$enable_msgdlg"
9296
9297 if test "$enableval" = yes; then
9298 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9299 else
9300 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9301 fi
9302
9303 else
9304
9305 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9306 if test "x$LINE" != x ; then
9307 eval "DEFAULT_$LINE"
9308 else
9309 no_cache=1
9310 fi
9311
9312 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9313
9314 fi;
9315
9316 eval "$ac_cv_use_msgdlg"
9317 if test "$no_cache" != 1; then
9318 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9319 fi
9320
9321 if test "$wxUSE_MSGDLG" = yes; then
9322 echo "$as_me:$LINENO: result: yes" >&5
9323 echo "${ECHO_T}yes" >&6
9324 else
9325 echo "$as_me:$LINENO: result: no" >&5
9326 echo "${ECHO_T}no" >&6
9327 fi
9328
9329
9330 enablestring=
9331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9333 no_cache=0
9334 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9335 if test "${enable_numberdlg+set}" = set; then
9336 enableval="$enable_numberdlg"
9337
9338 if test "$enableval" = yes; then
9339 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9340 else
9341 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9342 fi
9343
9344 else
9345
9346 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9347 if test "x$LINE" != x ; then
9348 eval "DEFAULT_$LINE"
9349 else
9350 no_cache=1
9351 fi
9352
9353 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9354
9355 fi;
9356
9357 eval "$ac_cv_use_numberdlg"
9358 if test "$no_cache" != 1; then
9359 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9360 fi
9361
9362 if test "$wxUSE_NUMBERDLG" = yes; then
9363 echo "$as_me:$LINENO: result: yes" >&5
9364 echo "${ECHO_T}yes" >&6
9365 else
9366 echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6
9368 fi
9369
9370
9371 enablestring=
9372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9374 no_cache=0
9375 # Check whether --enable-splash or --disable-splash was given.
9376 if test "${enable_splash+set}" = set; then
9377 enableval="$enable_splash"
9378
9379 if test "$enableval" = yes; then
9380 ac_cv_use_splash='wxUSE_SPLASH=yes'
9381 else
9382 ac_cv_use_splash='wxUSE_SPLASH=no'
9383 fi
9384
9385 else
9386
9387 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9388 if test "x$LINE" != x ; then
9389 eval "DEFAULT_$LINE"
9390 else
9391 no_cache=1
9392 fi
9393
9394 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9395
9396 fi;
9397
9398 eval "$ac_cv_use_splash"
9399 if test "$no_cache" != 1; then
9400 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9401 fi
9402
9403 if test "$wxUSE_SPLASH" = yes; then
9404 echo "$as_me:$LINENO: result: yes" >&5
9405 echo "${ECHO_T}yes" >&6
9406 else
9407 echo "$as_me:$LINENO: result: no" >&5
9408 echo "${ECHO_T}no" >&6
9409 fi
9410
9411
9412 enablestring=
9413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9415 no_cache=0
9416 # Check whether --enable-textdlg or --disable-textdlg was given.
9417 if test "${enable_textdlg+set}" = set; then
9418 enableval="$enable_textdlg"
9419
9420 if test "$enableval" = yes; then
9421 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9422 else
9423 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9424 fi
9425
9426 else
9427
9428 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9429 if test "x$LINE" != x ; then
9430 eval "DEFAULT_$LINE"
9431 else
9432 no_cache=1
9433 fi
9434
9435 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9436
9437 fi;
9438
9439 eval "$ac_cv_use_textdlg"
9440 if test "$no_cache" != 1; then
9441 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9442 fi
9443
9444 if test "$wxUSE_TEXTDLG" = yes; then
9445 echo "$as_me:$LINENO: result: yes" >&5
9446 echo "${ECHO_T}yes" >&6
9447 else
9448 echo "$as_me:$LINENO: result: no" >&5
9449 echo "${ECHO_T}no" >&6
9450 fi
9451
9452
9453 enablestring=
9454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9456 no_cache=0
9457 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9458 if test "${enable_tipdlg+set}" = set; then
9459 enableval="$enable_tipdlg"
9460
9461 if test "$enableval" = yes; then
9462 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9463 else
9464 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9465 fi
9466
9467 else
9468
9469 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9470 if test "x$LINE" != x ; then
9471 eval "DEFAULT_$LINE"
9472 else
9473 no_cache=1
9474 fi
9475
9476 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9477
9478 fi;
9479
9480 eval "$ac_cv_use_tipdlg"
9481 if test "$no_cache" != 1; then
9482 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9483 fi
9484
9485 if test "$wxUSE_STARTUP_TIPS" = yes; then
9486 echo "$as_me:$LINENO: result: yes" >&5
9487 echo "${ECHO_T}yes" >&6
9488 else
9489 echo "$as_me:$LINENO: result: no" >&5
9490 echo "${ECHO_T}no" >&6
9491 fi
9492
9493
9494 enablestring=
9495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9497 no_cache=0
9498 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9499 if test "${enable_progressdlg+set}" = set; then
9500 enableval="$enable_progressdlg"
9501
9502 if test "$enableval" = yes; then
9503 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9504 else
9505 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9506 fi
9507
9508 else
9509
9510 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9511 if test "x$LINE" != x ; then
9512 eval "DEFAULT_$LINE"
9513 else
9514 no_cache=1
9515 fi
9516
9517 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9518
9519 fi;
9520
9521 eval "$ac_cv_use_progressdlg"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9524 fi
9525
9526 if test "$wxUSE_PROGRESSDLG" = yes; then
9527 echo "$as_me:$LINENO: result: yes" >&5
9528 echo "${ECHO_T}yes" >&6
9529 else
9530 echo "$as_me:$LINENO: result: no" >&5
9531 echo "${ECHO_T}no" >&6
9532 fi
9533
9534
9535 enablestring=
9536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9538 no_cache=0
9539 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9540 if test "${enable_wizarddlg+set}" = set; then
9541 enableval="$enable_wizarddlg"
9542
9543 if test "$enableval" = yes; then
9544 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9545 else
9546 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9547 fi
9548
9549 else
9550
9551 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9552 if test "x$LINE" != x ; then
9553 eval "DEFAULT_$LINE"
9554 else
9555 no_cache=1
9556 fi
9557
9558 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9559
9560 fi;
9561
9562 eval "$ac_cv_use_wizarddlg"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9565 fi
9566
9567 if test "$wxUSE_WIZARDDLG" = yes; then
9568 echo "$as_me:$LINENO: result: yes" >&5
9569 echo "${ECHO_T}yes" >&6
9570 else
9571 echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6
9573 fi
9574
9575
9576
9577
9578 enablestring=
9579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9580 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9581 no_cache=0
9582 # Check whether --enable-menus or --disable-menus was given.
9583 if test "${enable_menus+set}" = set; then
9584 enableval="$enable_menus"
9585
9586 if test "$enableval" = yes; then
9587 ac_cv_use_menus='wxUSE_MENUS=yes'
9588 else
9589 ac_cv_use_menus='wxUSE_MENUS=no'
9590 fi
9591
9592 else
9593
9594 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9595 if test "x$LINE" != x ; then
9596 eval "DEFAULT_$LINE"
9597 else
9598 no_cache=1
9599 fi
9600
9601 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9602
9603 fi;
9604
9605 eval "$ac_cv_use_menus"
9606 if test "$no_cache" != 1; then
9607 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9608 fi
9609
9610 if test "$wxUSE_MENUS" = yes; then
9611 echo "$as_me:$LINENO: result: yes" >&5
9612 echo "${ECHO_T}yes" >&6
9613 else
9614 echo "$as_me:$LINENO: result: no" >&5
9615 echo "${ECHO_T}no" >&6
9616 fi
9617
9618
9619 enablestring=
9620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9621 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9622 no_cache=0
9623 # Check whether --enable-miniframe or --disable-miniframe was given.
9624 if test "${enable_miniframe+set}" = set; then
9625 enableval="$enable_miniframe"
9626
9627 if test "$enableval" = yes; then
9628 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9629 else
9630 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9631 fi
9632
9633 else
9634
9635 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9636 if test "x$LINE" != x ; then
9637 eval "DEFAULT_$LINE"
9638 else
9639 no_cache=1
9640 fi
9641
9642 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9643
9644 fi;
9645
9646 eval "$ac_cv_use_miniframe"
9647 if test "$no_cache" != 1; then
9648 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9649 fi
9650
9651 if test "$wxUSE_MINIFRAME" = yes; then
9652 echo "$as_me:$LINENO: result: yes" >&5
9653 echo "${ECHO_T}yes" >&6
9654 else
9655 echo "$as_me:$LINENO: result: no" >&5
9656 echo "${ECHO_T}no" >&6
9657 fi
9658
9659
9660 enablestring=
9661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9662 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9663 no_cache=0
9664 # Check whether --enable-tooltips or --disable-tooltips was given.
9665 if test "${enable_tooltips+set}" = set; then
9666 enableval="$enable_tooltips"
9667
9668 if test "$enableval" = yes; then
9669 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9670 else
9671 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9672 fi
9673
9674 else
9675
9676 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9677 if test "x$LINE" != x ; then
9678 eval "DEFAULT_$LINE"
9679 else
9680 no_cache=1
9681 fi
9682
9683 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9684
9685 fi;
9686
9687 eval "$ac_cv_use_tooltips"
9688 if test "$no_cache" != 1; then
9689 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9690 fi
9691
9692 if test "$wxUSE_TOOLTIPS" = yes; then
9693 echo "$as_me:$LINENO: result: yes" >&5
9694 echo "${ECHO_T}yes" >&6
9695 else
9696 echo "$as_me:$LINENO: result: no" >&5
9697 echo "${ECHO_T}no" >&6
9698 fi
9699
9700
9701 enablestring=
9702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9703 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9704 no_cache=0
9705 # Check whether --enable-splines or --disable-splines was given.
9706 if test "${enable_splines+set}" = set; then
9707 enableval="$enable_splines"
9708
9709 if test "$enableval" = yes; then
9710 ac_cv_use_splines='wxUSE_SPLINES=yes'
9711 else
9712 ac_cv_use_splines='wxUSE_SPLINES=no'
9713 fi
9714
9715 else
9716
9717 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9718 if test "x$LINE" != x ; then
9719 eval "DEFAULT_$LINE"
9720 else
9721 no_cache=1
9722 fi
9723
9724 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9725
9726 fi;
9727
9728 eval "$ac_cv_use_splines"
9729 if test "$no_cache" != 1; then
9730 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9731 fi
9732
9733 if test "$wxUSE_SPLINES" = yes; then
9734 echo "$as_me:$LINENO: result: yes" >&5
9735 echo "${ECHO_T}yes" >&6
9736 else
9737 echo "$as_me:$LINENO: result: no" >&5
9738 echo "${ECHO_T}no" >&6
9739 fi
9740
9741
9742 enablestring=
9743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9744 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9745 no_cache=0
9746 # Check whether --enable-validators or --disable-validators was given.
9747 if test "${enable_validators+set}" = set; then
9748 enableval="$enable_validators"
9749
9750 if test "$enableval" = yes; then
9751 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9752 else
9753 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9754 fi
9755
9756 else
9757
9758 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9759 if test "x$LINE" != x ; then
9760 eval "DEFAULT_$LINE"
9761 else
9762 no_cache=1
9763 fi
9764
9765 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9766
9767 fi;
9768
9769 eval "$ac_cv_use_validators"
9770 if test "$no_cache" != 1; then
9771 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9772 fi
9773
9774 if test "$wxUSE_VALIDATORS" = yes; then
9775 echo "$as_me:$LINENO: result: yes" >&5
9776 echo "${ECHO_T}yes" >&6
9777 else
9778 echo "$as_me:$LINENO: result: no" >&5
9779 echo "${ECHO_T}no" >&6
9780 fi
9781
9782
9783 enablestring=
9784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9785 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9786 no_cache=0
9787 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9788 if test "${enable_busyinfo+set}" = set; then
9789 enableval="$enable_busyinfo"
9790
9791 if test "$enableval" = yes; then
9792 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9793 else
9794 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9795 fi
9796
9797 else
9798
9799 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9800 if test "x$LINE" != x ; then
9801 eval "DEFAULT_$LINE"
9802 else
9803 no_cache=1
9804 fi
9805
9806 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9807
9808 fi;
9809
9810 eval "$ac_cv_use_busyinfo"
9811 if test "$no_cache" != 1; then
9812 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9813 fi
9814
9815 if test "$wxUSE_BUSYINFO" = yes; then
9816 echo "$as_me:$LINENO: result: yes" >&5
9817 echo "${ECHO_T}yes" >&6
9818 else
9819 echo "$as_me:$LINENO: result: no" >&5
9820 echo "${ECHO_T}no" >&6
9821 fi
9822
9823
9824 enablestring=
9825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9827 no_cache=0
9828 # Check whether --enable-joystick or --disable-joystick was given.
9829 if test "${enable_joystick+set}" = set; then
9830 enableval="$enable_joystick"
9831
9832 if test "$enableval" = yes; then
9833 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9834 else
9835 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9836 fi
9837
9838 else
9839
9840 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x ; then
9842 eval "DEFAULT_$LINE"
9843 else
9844 no_cache=1
9845 fi
9846
9847 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9848
9849 fi;
9850
9851 eval "$ac_cv_use_joystick"
9852 if test "$no_cache" != 1; then
9853 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9854 fi
9855
9856 if test "$wxUSE_JOYSTICK" = yes; then
9857 echo "$as_me:$LINENO: result: yes" >&5
9858 echo "${ECHO_T}yes" >&6
9859 else
9860 echo "$as_me:$LINENO: result: no" >&5
9861 echo "${ECHO_T}no" >&6
9862 fi
9863
9864
9865 enablestring=
9866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9867 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9868 no_cache=0
9869 # Check whether --enable-metafile or --disable-metafile was given.
9870 if test "${enable_metafile+set}" = set; then
9871 enableval="$enable_metafile"
9872
9873 if test "$enableval" = yes; then
9874 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9875 else
9876 ac_cv_use_metafile='wxUSE_METAFILE=no'
9877 fi
9878
9879 else
9880
9881 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9882 if test "x$LINE" != x ; then
9883 eval "DEFAULT_$LINE"
9884 else
9885 no_cache=1
9886 fi
9887
9888 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9889
9890 fi;
9891
9892 eval "$ac_cv_use_metafile"
9893 if test "$no_cache" != 1; then
9894 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9895 fi
9896
9897 if test "$wxUSE_METAFILE" = yes; then
9898 echo "$as_me:$LINENO: result: yes" >&5
9899 echo "${ECHO_T}yes" >&6
9900 else
9901 echo "$as_me:$LINENO: result: no" >&5
9902 echo "${ECHO_T}no" >&6
9903 fi
9904
9905
9906 enablestring=
9907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9908 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9909 no_cache=0
9910 # Check whether --enable-dragimage or --disable-dragimage was given.
9911 if test "${enable_dragimage+set}" = set; then
9912 enableval="$enable_dragimage"
9913
9914 if test "$enableval" = yes; then
9915 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9916 else
9917 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9918 fi
9919
9920 else
9921
9922 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9923 if test "x$LINE" != x ; then
9924 eval "DEFAULT_$LINE"
9925 else
9926 no_cache=1
9927 fi
9928
9929 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9930
9931 fi;
9932
9933 eval "$ac_cv_use_dragimage"
9934 if test "$no_cache" != 1; then
9935 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9936 fi
9937
9938 if test "$wxUSE_DRAGIMAGE" = yes; then
9939 echo "$as_me:$LINENO: result: yes" >&5
9940 echo "${ECHO_T}yes" >&6
9941 else
9942 echo "$as_me:$LINENO: result: no" >&5
9943 echo "${ECHO_T}no" >&6
9944 fi
9945
9946
9947 enablestring=
9948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9949 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9950 no_cache=0
9951 # Check whether --enable-accessibility or --disable-accessibility was given.
9952 if test "${enable_accessibility+set}" = set; then
9953 enableval="$enable_accessibility"
9954
9955 if test "$enableval" = yes; then
9956 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9957 else
9958 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9959 fi
9960
9961 else
9962
9963 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x ; then
9965 eval "DEFAULT_$LINE"
9966 else
9967 no_cache=1
9968 fi
9969
9970 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9971
9972 fi;
9973
9974 eval "$ac_cv_use_accessibility"
9975 if test "$no_cache" != 1; then
9976 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9977 fi
9978
9979 if test "$wxUSE_ACCESSIBILITY" = yes; then
9980 echo "$as_me:$LINENO: result: yes" >&5
9981 echo "${ECHO_T}yes" >&6
9982 else
9983 echo "$as_me:$LINENO: result: no" >&5
9984 echo "${ECHO_T}no" >&6
9985 fi
9986
9987
9988
9989
9990 enablestring=
9991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9992 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9993 no_cache=0
9994 # Check whether --enable-palette or --disable-palette was given.
9995 if test "${enable_palette+set}" = set; then
9996 enableval="$enable_palette"
9997
9998 if test "$enableval" = yes; then
9999 ac_cv_use_palette='wxUSE_PALETTE=yes'
10000 else
10001 ac_cv_use_palette='wxUSE_PALETTE=no'
10002 fi
10003
10004 else
10005
10006 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10007 if test "x$LINE" != x ; then
10008 eval "DEFAULT_$LINE"
10009 else
10010 no_cache=1
10011 fi
10012
10013 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10014
10015 fi;
10016
10017 eval "$ac_cv_use_palette"
10018 if test "$no_cache" != 1; then
10019 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10020 fi
10021
10022 if test "$wxUSE_PALETTE" = yes; then
10023 echo "$as_me:$LINENO: result: yes" >&5
10024 echo "${ECHO_T}yes" >&6
10025 else
10026 echo "$as_me:$LINENO: result: no" >&5
10027 echo "${ECHO_T}no" >&6
10028 fi
10029
10030
10031 enablestring=
10032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10033 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10034 no_cache=0
10035 # Check whether --enable-image or --disable-image was given.
10036 if test "${enable_image+set}" = set; then
10037 enableval="$enable_image"
10038
10039 if test "$enableval" = yes; then
10040 ac_cv_use_image='wxUSE_IMAGE=yes'
10041 else
10042 ac_cv_use_image='wxUSE_IMAGE=no'
10043 fi
10044
10045 else
10046
10047 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10048 if test "x$LINE" != x ; then
10049 eval "DEFAULT_$LINE"
10050 else
10051 no_cache=1
10052 fi
10053
10054 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10055
10056 fi;
10057
10058 eval "$ac_cv_use_image"
10059 if test "$no_cache" != 1; then
10060 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10061 fi
10062
10063 if test "$wxUSE_IMAGE" = yes; then
10064 echo "$as_me:$LINENO: result: yes" >&5
10065 echo "${ECHO_T}yes" >&6
10066 else
10067 echo "$as_me:$LINENO: result: no" >&5
10068 echo "${ECHO_T}no" >&6
10069 fi
10070
10071
10072 enablestring=
10073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10074 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10075 no_cache=0
10076 # Check whether --enable-gif or --disable-gif was given.
10077 if test "${enable_gif+set}" = set; then
10078 enableval="$enable_gif"
10079
10080 if test "$enableval" = yes; then
10081 ac_cv_use_gif='wxUSE_GIF=yes'
10082 else
10083 ac_cv_use_gif='wxUSE_GIF=no'
10084 fi
10085
10086 else
10087
10088 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10089 if test "x$LINE" != x ; then
10090 eval "DEFAULT_$LINE"
10091 else
10092 no_cache=1
10093 fi
10094
10095 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10096
10097 fi;
10098
10099 eval "$ac_cv_use_gif"
10100 if test "$no_cache" != 1; then
10101 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10102 fi
10103
10104 if test "$wxUSE_GIF" = yes; then
10105 echo "$as_me:$LINENO: result: yes" >&5
10106 echo "${ECHO_T}yes" >&6
10107 else
10108 echo "$as_me:$LINENO: result: no" >&5
10109 echo "${ECHO_T}no" >&6
10110 fi
10111
10112
10113 enablestring=
10114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10116 no_cache=0
10117 # Check whether --enable-pcx or --disable-pcx was given.
10118 if test "${enable_pcx+set}" = set; then
10119 enableval="$enable_pcx"
10120
10121 if test "$enableval" = yes; then
10122 ac_cv_use_pcx='wxUSE_PCX=yes'
10123 else
10124 ac_cv_use_pcx='wxUSE_PCX=no'
10125 fi
10126
10127 else
10128
10129 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10130 if test "x$LINE" != x ; then
10131 eval "DEFAULT_$LINE"
10132 else
10133 no_cache=1
10134 fi
10135
10136 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10137
10138 fi;
10139
10140 eval "$ac_cv_use_pcx"
10141 if test "$no_cache" != 1; then
10142 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10143 fi
10144
10145 if test "$wxUSE_PCX" = yes; then
10146 echo "$as_me:$LINENO: result: yes" >&5
10147 echo "${ECHO_T}yes" >&6
10148 else
10149 echo "$as_me:$LINENO: result: no" >&5
10150 echo "${ECHO_T}no" >&6
10151 fi
10152
10153
10154 enablestring=
10155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10157 no_cache=0
10158 # Check whether --enable-iff or --disable-iff was given.
10159 if test "${enable_iff+set}" = set; then
10160 enableval="$enable_iff"
10161
10162 if test "$enableval" = yes; then
10163 ac_cv_use_iff='wxUSE_IFF=yes'
10164 else
10165 ac_cv_use_iff='wxUSE_IFF=no'
10166 fi
10167
10168 else
10169
10170 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10171 if test "x$LINE" != x ; then
10172 eval "DEFAULT_$LINE"
10173 else
10174 no_cache=1
10175 fi
10176
10177 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10178
10179 fi;
10180
10181 eval "$ac_cv_use_iff"
10182 if test "$no_cache" != 1; then
10183 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10184 fi
10185
10186 if test "$wxUSE_IFF" = yes; then
10187 echo "$as_me:$LINENO: result: yes" >&5
10188 echo "${ECHO_T}yes" >&6
10189 else
10190 echo "$as_me:$LINENO: result: no" >&5
10191 echo "${ECHO_T}no" >&6
10192 fi
10193
10194
10195 enablestring=
10196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10197 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10198 no_cache=0
10199 # Check whether --enable-pnm or --disable-pnm was given.
10200 if test "${enable_pnm+set}" = set; then
10201 enableval="$enable_pnm"
10202
10203 if test "$enableval" = yes; then
10204 ac_cv_use_pnm='wxUSE_PNM=yes'
10205 else
10206 ac_cv_use_pnm='wxUSE_PNM=no'
10207 fi
10208
10209 else
10210
10211 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10212 if test "x$LINE" != x ; then
10213 eval "DEFAULT_$LINE"
10214 else
10215 no_cache=1
10216 fi
10217
10218 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10219
10220 fi;
10221
10222 eval "$ac_cv_use_pnm"
10223 if test "$no_cache" != 1; then
10224 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10225 fi
10226
10227 if test "$wxUSE_PNM" = yes; then
10228 echo "$as_me:$LINENO: result: yes" >&5
10229 echo "${ECHO_T}yes" >&6
10230 else
10231 echo "$as_me:$LINENO: result: no" >&5
10232 echo "${ECHO_T}no" >&6
10233 fi
10234
10235
10236 enablestring=
10237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10238 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10239 no_cache=0
10240 # Check whether --enable-xpm or --disable-xpm was given.
10241 if test "${enable_xpm+set}" = set; then
10242 enableval="$enable_xpm"
10243
10244 if test "$enableval" = yes; then
10245 ac_cv_use_xpm='wxUSE_XPM=yes'
10246 else
10247 ac_cv_use_xpm='wxUSE_XPM=no'
10248 fi
10249
10250 else
10251
10252 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10253 if test "x$LINE" != x ; then
10254 eval "DEFAULT_$LINE"
10255 else
10256 no_cache=1
10257 fi
10258
10259 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10260
10261 fi;
10262
10263 eval "$ac_cv_use_xpm"
10264 if test "$no_cache" != 1; then
10265 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10266 fi
10267
10268 if test "$wxUSE_XPM" = yes; then
10269 echo "$as_me:$LINENO: result: yes" >&5
10270 echo "${ECHO_T}yes" >&6
10271 else
10272 echo "$as_me:$LINENO: result: no" >&5
10273 echo "${ECHO_T}no" >&6
10274 fi
10275
10276
10277 enablestring=
10278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10279 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10280 no_cache=0
10281 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10282 if test "${enable_ico_cur+set}" = set; then
10283 enableval="$enable_ico_cur"
10284
10285 if test "$enableval" = yes; then
10286 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10287 else
10288 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10289 fi
10290
10291 else
10292
10293 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10294 if test "x$LINE" != x ; then
10295 eval "DEFAULT_$LINE"
10296 else
10297 no_cache=1
10298 fi
10299
10300 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10301
10302 fi;
10303
10304 eval "$ac_cv_use_ico_cur"
10305 if test "$no_cache" != 1; then
10306 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10307 fi
10308
10309 if test "$wxUSE_ICO_CUR" = yes; then
10310 echo "$as_me:$LINENO: result: yes" >&5
10311 echo "${ECHO_T}yes" >&6
10312 else
10313 echo "$as_me:$LINENO: result: no" >&5
10314 echo "${ECHO_T}no" >&6
10315 fi
10316
10317
10318 fi
10319
10320
10321
10322 # Check whether --with-flavour or --without-flavour was given.
10323 if test "${with_flavour+set}" = set; then
10324 withval="$with_flavour"
10325 WX_FLAVOUR="$withval"
10326 fi;
10327
10328
10329
10330 enablestring=
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10333 no_cache=0
10334 # Check whether --enable-official_build or --disable-official_build was given.
10335 if test "${enable_official_build+set}" = set; then
10336 enableval="$enable_official_build"
10337
10338 if test "$enableval" = yes; then
10339 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10340 else
10341 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10342 fi
10343
10344 else
10345
10346 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${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_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10354
10355 fi;
10356
10357 eval "$ac_cv_use_official_build"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10360 fi
10361
10362 if test "$wxUSE_OFFICIAL_BUILD" = 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 # Check whether --enable-vendor or --disable-vendor was given.
10371 if test "${enable_vendor+set}" = set; then
10372 enableval="$enable_vendor"
10373 VENDOR="$enableval"
10374 fi;
10375 if test "x$VENDOR" = "x"; then
10376 VENDOR="custom"
10377 fi
10378
10379
10380
10381
10382 echo "saving argument cache $wx_arg_cache_file"
10383 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10384
10385
10386
10387 echo "$as_me:$LINENO: checking for toolkit" >&5
10388 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10389
10390 # In Wine, we need to default to MSW, not GTK or MOTIF
10391 if test "$wxUSE_WINE" = "yes"; then
10392 DEFAULT_DEFAULT_wxUSE_GTK=0
10393 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10394 DEFAULT_DEFAULT_wxUSE_MSW=1
10395 wxUSE_SHARED=no
10396 fi
10397
10398 if test "$wxUSE_GUI" = "yes"; then
10399
10400 if test "$USE_BEOS" = 1; then
10401 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10402 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10403 { (exit 1); exit 1; }; }
10404 fi
10405
10406 if test "$TOOLKIT_GIVEN" = 1; then
10407 for toolkit in `echo $ALL_TOOLKITS`; do
10408 var=wxUSE_$toolkit
10409 eval "value=\$${var}"
10410 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10411 done
10412 else
10413 for toolkit in `echo $ALL_TOOLKITS`; do
10414 if test "$has_toolkit_in_cache" != 1; then
10415 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10416 else
10417 var=DEFAULT_wxUSE_$toolkit
10418 fi
10419 eval "wxUSE_$toolkit=\$${var}"
10420 done
10421 fi
10422
10423 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10424 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10425 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10426
10427 case "${host}" in
10428 *-pc-os2_emx | *-pc-os2-emx )
10429 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10430 esac
10431
10432 case "$NUM_TOOLKITS" in
10433 1)
10434 ;;
10435 0)
10436 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10437 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10438 { (exit 1); exit 1; }; }
10439 ;;
10440 *)
10441 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10442 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10443 { (exit 1); exit 1; }; }
10444 esac
10445
10446 for toolkit in `echo $ALL_TOOLKITS`; do
10447 var=wxUSE_$toolkit
10448 eval "value=\$${var}"
10449 if test "x$value" != x; then
10450 cache_var=CACHE_$toolkit
10451 eval "cache=\$${cache_var}"
10452 if test "$cache" = 1; then
10453 echo "$var=$value" >> ${wx_arg_cache_file}
10454 fi
10455 if test "$value" = 1; then
10456 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10457 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10458 echo "${ECHO_T}$toolkit_echo" >&6
10459 fi
10460 fi
10461 done
10462 else
10463 if test "x$host_alias" != "x"; then
10464 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10465 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10466 else
10467 echo "$as_me:$LINENO: result: base only" >&5
10468 echo "${ECHO_T}base only" >&6
10469 fi
10470 fi
10471
10472 wants_win32=0
10473 doesnt_want_win32=0
10474 case "${host}" in
10475 *-*-cygwin*)
10476 if test "$wxUSE_MSW" = 1 ; then
10477 wants_win32=1
10478 else
10479 doesnt_want_win32=1
10480 fi
10481 ;;
10482 *-*-mingw*)
10483 wants_win32=1
10484 ;;
10485 esac
10486
10487 if test "$wxUSE_WINE" = "yes"; then
10488 wants_win32=1
10489 CC=winegcc
10490 CXX=wineg++
10491 RESCOMP=wrc
10492 LDFLAGS_GUI="-mwindows"
10493 fi
10494
10495 if test "$wants_win32" = 1 ; then
10496 USE_UNIX=0
10497 USE_WIN32=1
10498 cat >>confdefs.h <<\_ACEOF
10499 #define __WIN32__ 1
10500 _ACEOF
10501
10502 cat >>confdefs.h <<\_ACEOF
10503 #define __WIN95__ 1
10504 _ACEOF
10505
10506 cat >>confdefs.h <<\_ACEOF
10507 #define __WINDOWS__ 1
10508 _ACEOF
10509
10510 cat >>confdefs.h <<\_ACEOF
10511 #define __GNUWIN32__ 1
10512 _ACEOF
10513
10514 cat >>confdefs.h <<\_ACEOF
10515 #define STRICT 1
10516 _ACEOF
10517
10518 cat >>confdefs.h <<\_ACEOF
10519 #define WINVER 0x0400
10520 _ACEOF
10521
10522 fi
10523 if test "$doesnt_want_win32" = 1 ; then
10524 USE_UNIX=1
10525 USE_WIN32=0
10526 fi
10527
10528 if test "$USE_UNIX" = 1 ; then
10529 wxUSE_UNIX=yes
10530 cat >>confdefs.h <<\_ACEOF
10531 #define __UNIX__ 1
10532 _ACEOF
10533
10534 fi
10535
10536
10537 cat >confcache <<\_ACEOF
10538 # This file is a shell script that caches the results of configure
10539 # tests run on this system so they can be shared between configure
10540 # scripts and configure runs, see configure's option --config-cache.
10541 # It is not useful on other systems. If it contains results you don't
10542 # want to keep, you may remove or edit it.
10543 #
10544 # config.status only pays attention to the cache file if you give it
10545 # the --recheck option to rerun configure.
10546 #
10547 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10548 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10549 # following values.
10550
10551 _ACEOF
10552
10553 # The following way of writing the cache mishandles newlines in values,
10554 # but we know of no workaround that is simple, portable, and efficient.
10555 # So, don't put newlines in cache variables' values.
10556 # Ultrix sh set writes to stderr and can't be redirected directly,
10557 # and sets the high bit in the cache file unless we assign to the vars.
10558 {
10559 (set) 2>&1 |
10560 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10561 *ac_space=\ *)
10562 # `set' does not quote correctly, so add quotes (double-quote
10563 # substitution turns \\\\ into \\, and sed turns \\ into \).
10564 sed -n \
10565 "s/'/'\\\\''/g;
10566 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10567 ;;
10568 *)
10569 # `set' quotes correctly as required by POSIX, so do not add quotes.
10570 sed -n \
10571 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10572 ;;
10573 esac;
10574 } |
10575 sed '
10576 t clear
10577 : clear
10578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10579 t end
10580 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10581 : end' >>confcache
10582 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10583 if test -w $cache_file; then
10584 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10585 cat confcache >$cache_file
10586 else
10587 echo "not updating unwritable cache $cache_file"
10588 fi
10589 fi
10590 rm -f confcache
10591
10592 if test "$build" != "$host" ; then
10593 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10594 CC=$host_alias-gcc
10595 CXX=$host_alias-c++
10596 AR=$host_alias-ar
10597 RANLIB=$host_alias-ranlib
10598 DLLTOOL=$host_alias-dlltool
10599 RESCOMP=$host_alias-windres
10600 STRIP=$host_alias-strip
10601 elif test "x$CC" '!=' "x"; then
10602 echo "You set CC, I assume you know what you are doing."
10603 else
10604 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10605 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10606 { (exit 1); exit 1; }; }
10607 fi
10608 fi
10609
10610 CFLAGS=${CFLAGS:=}
10611 ac_ext=c
10612 ac_cpp='$CPP $CPPFLAGS'
10613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10616 if test -n "$ac_tool_prefix"; then
10617 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10618 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10619 echo "$as_me:$LINENO: checking for $ac_word" >&5
10620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10621 if test "${ac_cv_prog_CC+set}" = set; then
10622 echo $ECHO_N "(cached) $ECHO_C" >&6
10623 else
10624 if test -n "$CC"; then
10625 ac_cv_prog_CC="$CC" # Let the user override the test.
10626 else
10627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10628 for as_dir in $PATH
10629 do
10630 IFS=$as_save_IFS
10631 test -z "$as_dir" && as_dir=.
10632 for ac_exec_ext in '' $ac_executable_extensions; do
10633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10634 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10636 break 2
10637 fi
10638 done
10639 done
10640
10641 fi
10642 fi
10643 CC=$ac_cv_prog_CC
10644 if test -n "$CC"; then
10645 echo "$as_me:$LINENO: result: $CC" >&5
10646 echo "${ECHO_T}$CC" >&6
10647 else
10648 echo "$as_me:$LINENO: result: no" >&5
10649 echo "${ECHO_T}no" >&6
10650 fi
10651
10652 fi
10653 if test -z "$ac_cv_prog_CC"; then
10654 ac_ct_CC=$CC
10655 # Extract the first word of "gcc", so it can be a program name with args.
10656 set dummy gcc; ac_word=$2
10657 echo "$as_me:$LINENO: checking for $ac_word" >&5
10658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10659 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10660 echo $ECHO_N "(cached) $ECHO_C" >&6
10661 else
10662 if test -n "$ac_ct_CC"; then
10663 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10664 else
10665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10666 for as_dir in $PATH
10667 do
10668 IFS=$as_save_IFS
10669 test -z "$as_dir" && as_dir=.
10670 for ac_exec_ext in '' $ac_executable_extensions; do
10671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10672 ac_cv_prog_ac_ct_CC="gcc"
10673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10674 break 2
10675 fi
10676 done
10677 done
10678
10679 fi
10680 fi
10681 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10682 if test -n "$ac_ct_CC"; then
10683 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10684 echo "${ECHO_T}$ac_ct_CC" >&6
10685 else
10686 echo "$as_me:$LINENO: result: no" >&5
10687 echo "${ECHO_T}no" >&6
10688 fi
10689
10690 CC=$ac_ct_CC
10691 else
10692 CC="$ac_cv_prog_CC"
10693 fi
10694
10695 if test -z "$CC"; then
10696 if test -n "$ac_tool_prefix"; then
10697 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10698 set dummy ${ac_tool_prefix}cc; ac_word=$2
10699 echo "$as_me:$LINENO: checking for $ac_word" >&5
10700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10701 if test "${ac_cv_prog_CC+set}" = set; then
10702 echo $ECHO_N "(cached) $ECHO_C" >&6
10703 else
10704 if test -n "$CC"; then
10705 ac_cv_prog_CC="$CC" # Let the user override the test.
10706 else
10707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10708 for as_dir in $PATH
10709 do
10710 IFS=$as_save_IFS
10711 test -z "$as_dir" && as_dir=.
10712 for ac_exec_ext in '' $ac_executable_extensions; do
10713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10714 ac_cv_prog_CC="${ac_tool_prefix}cc"
10715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10716 break 2
10717 fi
10718 done
10719 done
10720
10721 fi
10722 fi
10723 CC=$ac_cv_prog_CC
10724 if test -n "$CC"; then
10725 echo "$as_me:$LINENO: result: $CC" >&5
10726 echo "${ECHO_T}$CC" >&6
10727 else
10728 echo "$as_me:$LINENO: result: no" >&5
10729 echo "${ECHO_T}no" >&6
10730 fi
10731
10732 fi
10733 if test -z "$ac_cv_prog_CC"; then
10734 ac_ct_CC=$CC
10735 # Extract the first word of "cc", so it can be a program name with args.
10736 set dummy cc; ac_word=$2
10737 echo "$as_me:$LINENO: checking for $ac_word" >&5
10738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10739 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10740 echo $ECHO_N "(cached) $ECHO_C" >&6
10741 else
10742 if test -n "$ac_ct_CC"; then
10743 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10744 else
10745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10746 for as_dir in $PATH
10747 do
10748 IFS=$as_save_IFS
10749 test -z "$as_dir" && as_dir=.
10750 for ac_exec_ext in '' $ac_executable_extensions; do
10751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10752 ac_cv_prog_ac_ct_CC="cc"
10753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10754 break 2
10755 fi
10756 done
10757 done
10758
10759 fi
10760 fi
10761 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10762 if test -n "$ac_ct_CC"; then
10763 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10764 echo "${ECHO_T}$ac_ct_CC" >&6
10765 else
10766 echo "$as_me:$LINENO: result: no" >&5
10767 echo "${ECHO_T}no" >&6
10768 fi
10769
10770 CC=$ac_ct_CC
10771 else
10772 CC="$ac_cv_prog_CC"
10773 fi
10774
10775 fi
10776 if test -z "$CC"; then
10777 # Extract the first word of "cc", so it can be a program name with args.
10778 set dummy cc; ac_word=$2
10779 echo "$as_me:$LINENO: checking for $ac_word" >&5
10780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10781 if test "${ac_cv_prog_CC+set}" = set; then
10782 echo $ECHO_N "(cached) $ECHO_C" >&6
10783 else
10784 if test -n "$CC"; then
10785 ac_cv_prog_CC="$CC" # Let the user override the test.
10786 else
10787 ac_prog_rejected=no
10788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10789 for as_dir in $PATH
10790 do
10791 IFS=$as_save_IFS
10792 test -z "$as_dir" && as_dir=.
10793 for ac_exec_ext in '' $ac_executable_extensions; do
10794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10795 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10796 ac_prog_rejected=yes
10797 continue
10798 fi
10799 ac_cv_prog_CC="cc"
10800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10801 break 2
10802 fi
10803 done
10804 done
10805
10806 if test $ac_prog_rejected = yes; then
10807 # We found a bogon in the path, so make sure we never use it.
10808 set dummy $ac_cv_prog_CC
10809 shift
10810 if test $# != 0; then
10811 # We chose a different compiler from the bogus one.
10812 # However, it has the same basename, so the bogon will be chosen
10813 # first if we set CC to just the basename; use the full file name.
10814 shift
10815 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10816 fi
10817 fi
10818 fi
10819 fi
10820 CC=$ac_cv_prog_CC
10821 if test -n "$CC"; then
10822 echo "$as_me:$LINENO: result: $CC" >&5
10823 echo "${ECHO_T}$CC" >&6
10824 else
10825 echo "$as_me:$LINENO: result: no" >&5
10826 echo "${ECHO_T}no" >&6
10827 fi
10828
10829 fi
10830 if test -z "$CC"; then
10831 if test -n "$ac_tool_prefix"; then
10832 for ac_prog in cl
10833 do
10834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10835 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10836 echo "$as_me:$LINENO: checking for $ac_word" >&5
10837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10838 if test "${ac_cv_prog_CC+set}" = set; then
10839 echo $ECHO_N "(cached) $ECHO_C" >&6
10840 else
10841 if test -n "$CC"; then
10842 ac_cv_prog_CC="$CC" # Let the user override the test.
10843 else
10844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10845 for as_dir in $PATH
10846 do
10847 IFS=$as_save_IFS
10848 test -z "$as_dir" && as_dir=.
10849 for ac_exec_ext in '' $ac_executable_extensions; do
10850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10851 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10853 break 2
10854 fi
10855 done
10856 done
10857
10858 fi
10859 fi
10860 CC=$ac_cv_prog_CC
10861 if test -n "$CC"; then
10862 echo "$as_me:$LINENO: result: $CC" >&5
10863 echo "${ECHO_T}$CC" >&6
10864 else
10865 echo "$as_me:$LINENO: result: no" >&5
10866 echo "${ECHO_T}no" >&6
10867 fi
10868
10869 test -n "$CC" && break
10870 done
10871 fi
10872 if test -z "$CC"; then
10873 ac_ct_CC=$CC
10874 for ac_prog in cl
10875 do
10876 # Extract the first word of "$ac_prog", so it can be a program name with args.
10877 set dummy $ac_prog; ac_word=$2
10878 echo "$as_me:$LINENO: checking for $ac_word" >&5
10879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10880 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10881 echo $ECHO_N "(cached) $ECHO_C" >&6
10882 else
10883 if test -n "$ac_ct_CC"; then
10884 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10885 else
10886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10887 for as_dir in $PATH
10888 do
10889 IFS=$as_save_IFS
10890 test -z "$as_dir" && as_dir=.
10891 for ac_exec_ext in '' $ac_executable_extensions; do
10892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10893 ac_cv_prog_ac_ct_CC="$ac_prog"
10894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10895 break 2
10896 fi
10897 done
10898 done
10899
10900 fi
10901 fi
10902 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10903 if test -n "$ac_ct_CC"; then
10904 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10905 echo "${ECHO_T}$ac_ct_CC" >&6
10906 else
10907 echo "$as_me:$LINENO: result: no" >&5
10908 echo "${ECHO_T}no" >&6
10909 fi
10910
10911 test -n "$ac_ct_CC" && break
10912 done
10913
10914 CC=$ac_ct_CC
10915 fi
10916
10917 fi
10918
10919
10920 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10921 See \`config.log' for more details." >&5
10922 echo "$as_me: error: no acceptable C compiler found in \$PATH
10923 See \`config.log' for more details." >&2;}
10924 { (exit 1); exit 1; }; }
10925
10926 # Provide some information about the compiler.
10927 echo "$as_me:$LINENO:" \
10928 "checking for C compiler version" >&5
10929 ac_compiler=`set X $ac_compile; echo $2`
10930 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10931 (eval $ac_compiler --version </dev/null >&5) 2>&5
10932 ac_status=$?
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); }
10935 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10936 (eval $ac_compiler -v </dev/null >&5) 2>&5
10937 ac_status=$?
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); }
10940 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10941 (eval $ac_compiler -V </dev/null >&5) 2>&5
10942 ac_status=$?
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); }
10945
10946 cat >conftest.$ac_ext <<_ACEOF
10947 /* confdefs.h. */
10948 _ACEOF
10949 cat confdefs.h >>conftest.$ac_ext
10950 cat >>conftest.$ac_ext <<_ACEOF
10951 /* end confdefs.h. */
10952
10953 int
10954 main ()
10955 {
10956
10957 ;
10958 return 0;
10959 }
10960 _ACEOF
10961 ac_clean_files_save=$ac_clean_files
10962 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10963 # Try to create an executable without -o first, disregard a.out.
10964 # It will help us diagnose broken compilers, and finding out an intuition
10965 # of exeext.
10966 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10967 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10968 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10969 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10970 (eval $ac_link_default) 2>&5
10971 ac_status=$?
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); }; then
10974 # Find the output, starting from the most likely. This scheme is
10975 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10976 # resort.
10977
10978 # Be careful to initialize this variable, since it used to be cached.
10979 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10980 ac_cv_exeext=
10981 # b.out is created by i960 compilers.
10982 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10983 do
10984 test -f "$ac_file" || continue
10985 case $ac_file in
10986 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10987 ;;
10988 conftest.$ac_ext )
10989 # This is the source file.
10990 ;;
10991 [ab].out )
10992 # We found the default executable, but exeext='' is most
10993 # certainly right.
10994 break;;
10995 *.* )
10996 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10997 # FIXME: I believe we export ac_cv_exeext for Libtool,
10998 # but it would be cool to find out if it's true. Does anybody
10999 # maintain Libtool? --akim.
11000 export ac_cv_exeext
11001 break;;
11002 * )
11003 break;;
11004 esac
11005 done
11006 else
11007 echo "$as_me: failed program was:" >&5
11008 sed 's/^/| /' conftest.$ac_ext >&5
11009
11010 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11011 See \`config.log' for more details." >&5
11012 echo "$as_me: error: C compiler cannot create executables
11013 See \`config.log' for more details." >&2;}
11014 { (exit 77); exit 77; }; }
11015 fi
11016
11017 ac_exeext=$ac_cv_exeext
11018 echo "$as_me:$LINENO: result: $ac_file" >&5
11019 echo "${ECHO_T}$ac_file" >&6
11020
11021 # Check the compiler produces executables we can run. If not, either
11022 # the compiler is broken, or we cross compile.
11023 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11024 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11025 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11026 # If not cross compiling, check that we can run a simple program.
11027 if test "$cross_compiling" != yes; then
11028 if { ac_try='./$ac_file'
11029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11030 (eval $ac_try) 2>&5
11031 ac_status=$?
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }; }; then
11034 cross_compiling=no
11035 else
11036 if test "$cross_compiling" = maybe; then
11037 cross_compiling=yes
11038 else
11039 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11040 If you meant to cross compile, use \`--host'.
11041 See \`config.log' for more details." >&5
11042 echo "$as_me: error: cannot run C compiled programs.
11043 If you meant to cross compile, use \`--host'.
11044 See \`config.log' for more details." >&2;}
11045 { (exit 1); exit 1; }; }
11046 fi
11047 fi
11048 fi
11049 echo "$as_me:$LINENO: result: yes" >&5
11050 echo "${ECHO_T}yes" >&6
11051
11052 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11053 ac_clean_files=$ac_clean_files_save
11054 # Check the compiler produces executables we can run. If not, either
11055 # the compiler is broken, or we cross compile.
11056 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11057 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11058 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11059 echo "${ECHO_T}$cross_compiling" >&6
11060
11061 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11062 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11064 (eval $ac_link) 2>&5
11065 ac_status=$?
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); }; then
11068 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11069 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11070 # work properly (i.e., refer to `conftest.exe'), while it won't with
11071 # `rm'.
11072 for ac_file in conftest.exe conftest conftest.*; do
11073 test -f "$ac_file" || continue
11074 case $ac_file in
11075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11076 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11077 export ac_cv_exeext
11078 break;;
11079 * ) break;;
11080 esac
11081 done
11082 else
11083 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11084 See \`config.log' for more details." >&5
11085 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11086 See \`config.log' for more details." >&2;}
11087 { (exit 1); exit 1; }; }
11088 fi
11089
11090 rm -f conftest$ac_cv_exeext
11091 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11092 echo "${ECHO_T}$ac_cv_exeext" >&6
11093
11094 rm -f conftest.$ac_ext
11095 EXEEXT=$ac_cv_exeext
11096 ac_exeext=$EXEEXT
11097 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11098 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11099 if test "${ac_cv_objext+set}" = set; then
11100 echo $ECHO_N "(cached) $ECHO_C" >&6
11101 else
11102 cat >conftest.$ac_ext <<_ACEOF
11103 /* confdefs.h. */
11104 _ACEOF
11105 cat confdefs.h >>conftest.$ac_ext
11106 cat >>conftest.$ac_ext <<_ACEOF
11107 /* end confdefs.h. */
11108
11109 int
11110 main ()
11111 {
11112
11113 ;
11114 return 0;
11115 }
11116 _ACEOF
11117 rm -f conftest.o conftest.obj
11118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11119 (eval $ac_compile) 2>&5
11120 ac_status=$?
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); }; then
11123 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11124 case $ac_file in
11125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11126 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11127 break;;
11128 esac
11129 done
11130 else
11131 echo "$as_me: failed program was:" >&5
11132 sed 's/^/| /' conftest.$ac_ext >&5
11133
11134 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11135 See \`config.log' for more details." >&5
11136 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11137 See \`config.log' for more details." >&2;}
11138 { (exit 1); exit 1; }; }
11139 fi
11140
11141 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11142 fi
11143 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11144 echo "${ECHO_T}$ac_cv_objext" >&6
11145 OBJEXT=$ac_cv_objext
11146 ac_objext=$OBJEXT
11147 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11148 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11149 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11150 echo $ECHO_N "(cached) $ECHO_C" >&6
11151 else
11152 cat >conftest.$ac_ext <<_ACEOF
11153 /* confdefs.h. */
11154 _ACEOF
11155 cat confdefs.h >>conftest.$ac_ext
11156 cat >>conftest.$ac_ext <<_ACEOF
11157 /* end confdefs.h. */
11158
11159 int
11160 main ()
11161 {
11162 #ifndef __GNUC__
11163 choke me
11164 #endif
11165
11166 ;
11167 return 0;
11168 }
11169 _ACEOF
11170 rm -f conftest.$ac_objext
11171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11172 (eval $ac_compile) 2>conftest.er1
11173 ac_status=$?
11174 grep -v '^ *+' conftest.er1 >conftest.err
11175 rm -f conftest.er1
11176 cat conftest.err >&5
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); } &&
11179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11181 (eval $ac_try) 2>&5
11182 ac_status=$?
11183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184 (exit $ac_status); }; } &&
11185 { ac_try='test -s conftest.$ac_objext'
11186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11187 (eval $ac_try) 2>&5
11188 ac_status=$?
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); }; }; then
11191 ac_compiler_gnu=yes
11192 else
11193 echo "$as_me: failed program was:" >&5
11194 sed 's/^/| /' conftest.$ac_ext >&5
11195
11196 ac_compiler_gnu=no
11197 fi
11198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11199 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11200
11201 fi
11202 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11203 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11204 GCC=`test $ac_compiler_gnu = yes && echo yes`
11205 ac_test_CFLAGS=${CFLAGS+set}
11206 ac_save_CFLAGS=$CFLAGS
11207 CFLAGS="-g"
11208 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11209 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11210 if test "${ac_cv_prog_cc_g+set}" = set; then
11211 echo $ECHO_N "(cached) $ECHO_C" >&6
11212 else
11213 cat >conftest.$ac_ext <<_ACEOF
11214 /* confdefs.h. */
11215 _ACEOF
11216 cat confdefs.h >>conftest.$ac_ext
11217 cat >>conftest.$ac_ext <<_ACEOF
11218 /* end confdefs.h. */
11219
11220 int
11221 main ()
11222 {
11223
11224 ;
11225 return 0;
11226 }
11227 _ACEOF
11228 rm -f conftest.$ac_objext
11229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11230 (eval $ac_compile) 2>conftest.er1
11231 ac_status=$?
11232 grep -v '^ *+' conftest.er1 >conftest.err
11233 rm -f conftest.er1
11234 cat conftest.err >&5
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); } &&
11237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239 (eval $ac_try) 2>&5
11240 ac_status=$?
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); }; } &&
11243 { ac_try='test -s conftest.$ac_objext'
11244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11245 (eval $ac_try) 2>&5
11246 ac_status=$?
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); }; }; then
11249 ac_cv_prog_cc_g=yes
11250 else
11251 echo "$as_me: failed program was:" >&5
11252 sed 's/^/| /' conftest.$ac_ext >&5
11253
11254 ac_cv_prog_cc_g=no
11255 fi
11256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11257 fi
11258 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11259 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11260 if test "$ac_test_CFLAGS" = set; then
11261 CFLAGS=$ac_save_CFLAGS
11262 elif test $ac_cv_prog_cc_g = yes; then
11263 if test "$GCC" = yes; then
11264 CFLAGS="-g -O2"
11265 else
11266 CFLAGS="-g"
11267 fi
11268 else
11269 if test "$GCC" = yes; then
11270 CFLAGS="-O2"
11271 else
11272 CFLAGS=
11273 fi
11274 fi
11275 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11276 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11277 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11278 echo $ECHO_N "(cached) $ECHO_C" >&6
11279 else
11280 ac_cv_prog_cc_stdc=no
11281 ac_save_CC=$CC
11282 cat >conftest.$ac_ext <<_ACEOF
11283 /* confdefs.h. */
11284 _ACEOF
11285 cat confdefs.h >>conftest.$ac_ext
11286 cat >>conftest.$ac_ext <<_ACEOF
11287 /* end confdefs.h. */
11288 #include <stdarg.h>
11289 #include <stdio.h>
11290 #include <sys/types.h>
11291 #include <sys/stat.h>
11292 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11293 struct buf { int x; };
11294 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11295 static char *e (p, i)
11296 char **p;
11297 int i;
11298 {
11299 return p[i];
11300 }
11301 static char *f (char * (*g) (char **, int), char **p, ...)
11302 {
11303 char *s;
11304 va_list v;
11305 va_start (v,p);
11306 s = g (p, va_arg (v,int));
11307 va_end (v);
11308 return s;
11309 }
11310
11311 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11312 function prototypes and stuff, but not '\xHH' hex character constants.
11313 These don't provoke an error unfortunately, instead are silently treated
11314 as 'x'. The following induces an error, until -std1 is added to get
11315 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11316 array size at least. It's necessary to write '\x00'==0 to get something
11317 that's true only with -std1. */
11318 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11319
11320 int test (int i, double x);
11321 struct s1 {int (*f) (int a);};
11322 struct s2 {int (*f) (double a);};
11323 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11324 int argc;
11325 char **argv;
11326 int
11327 main ()
11328 {
11329 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11330 ;
11331 return 0;
11332 }
11333 _ACEOF
11334 # Don't try gcc -ansi; that turns off useful extensions and
11335 # breaks some systems' header files.
11336 # AIX -qlanglvl=ansi
11337 # Ultrix and OSF/1 -std1
11338 # HP-UX 10.20 and later -Ae
11339 # HP-UX older versions -Aa -D_HPUX_SOURCE
11340 # SVR4 -Xc -D__EXTENSIONS__
11341 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11342 do
11343 CC="$ac_save_CC $ac_arg"
11344 rm -f conftest.$ac_objext
11345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11346 (eval $ac_compile) 2>conftest.er1
11347 ac_status=$?
11348 grep -v '^ *+' conftest.er1 >conftest.err
11349 rm -f conftest.er1
11350 cat conftest.err >&5
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); } &&
11353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11355 (eval $ac_try) 2>&5
11356 ac_status=$?
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 (exit $ac_status); }; } &&
11359 { ac_try='test -s conftest.$ac_objext'
11360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11361 (eval $ac_try) 2>&5
11362 ac_status=$?
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); }; }; then
11365 ac_cv_prog_cc_stdc=$ac_arg
11366 break
11367 else
11368 echo "$as_me: failed program was:" >&5
11369 sed 's/^/| /' conftest.$ac_ext >&5
11370
11371 fi
11372 rm -f conftest.err conftest.$ac_objext
11373 done
11374 rm -f conftest.$ac_ext conftest.$ac_objext
11375 CC=$ac_save_CC
11376
11377 fi
11378
11379 case "x$ac_cv_prog_cc_stdc" in
11380 x|xno)
11381 echo "$as_me:$LINENO: result: none needed" >&5
11382 echo "${ECHO_T}none needed" >&6 ;;
11383 *)
11384 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11385 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11386 CC="$CC $ac_cv_prog_cc_stdc" ;;
11387 esac
11388
11389 # Some people use a C++ compiler to compile C. Since we use `exit',
11390 # in C++ we need to declare it. In case someone uses the same compiler
11391 # for both compiling C and C++ we need to have the C++ compiler decide
11392 # the declaration of exit, since it's the most demanding environment.
11393 cat >conftest.$ac_ext <<_ACEOF
11394 #ifndef __cplusplus
11395 choke me
11396 #endif
11397 _ACEOF
11398 rm -f conftest.$ac_objext
11399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11400 (eval $ac_compile) 2>conftest.er1
11401 ac_status=$?
11402 grep -v '^ *+' conftest.er1 >conftest.err
11403 rm -f conftest.er1
11404 cat conftest.err >&5
11405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406 (exit $ac_status); } &&
11407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11409 (eval $ac_try) 2>&5
11410 ac_status=$?
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); }; } &&
11413 { ac_try='test -s conftest.$ac_objext'
11414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11415 (eval $ac_try) 2>&5
11416 ac_status=$?
11417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 (exit $ac_status); }; }; then
11419 for ac_declaration in \
11420 '' \
11421 'extern "C" void std::exit (int) throw (); using std::exit;' \
11422 'extern "C" void std::exit (int); using std::exit;' \
11423 'extern "C" void exit (int) throw ();' \
11424 'extern "C" void exit (int);' \
11425 'void exit (int);'
11426 do
11427 cat >conftest.$ac_ext <<_ACEOF
11428 /* confdefs.h. */
11429 _ACEOF
11430 cat confdefs.h >>conftest.$ac_ext
11431 cat >>conftest.$ac_ext <<_ACEOF
11432 /* end confdefs.h. */
11433 $ac_declaration
11434 #include <stdlib.h>
11435 int
11436 main ()
11437 {
11438 exit (42);
11439 ;
11440 return 0;
11441 }
11442 _ACEOF
11443 rm -f conftest.$ac_objext
11444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11445 (eval $ac_compile) 2>conftest.er1
11446 ac_status=$?
11447 grep -v '^ *+' conftest.er1 >conftest.err
11448 rm -f conftest.er1
11449 cat conftest.err >&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); } &&
11452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11454 (eval $ac_try) 2>&5
11455 ac_status=$?
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); }; } &&
11458 { ac_try='test -s conftest.$ac_objext'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11461 ac_status=$?
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; }; then
11464 :
11465 else
11466 echo "$as_me: failed program was:" >&5
11467 sed 's/^/| /' conftest.$ac_ext >&5
11468
11469 continue
11470 fi
11471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11472 cat >conftest.$ac_ext <<_ACEOF
11473 /* confdefs.h. */
11474 _ACEOF
11475 cat confdefs.h >>conftest.$ac_ext
11476 cat >>conftest.$ac_ext <<_ACEOF
11477 /* end confdefs.h. */
11478 $ac_declaration
11479 int
11480 main ()
11481 {
11482 exit (42);
11483 ;
11484 return 0;
11485 }
11486 _ACEOF
11487 rm -f conftest.$ac_objext
11488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11489 (eval $ac_compile) 2>conftest.er1
11490 ac_status=$?
11491 grep -v '^ *+' conftest.er1 >conftest.err
11492 rm -f conftest.er1
11493 cat conftest.err >&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } &&
11496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11498 (eval $ac_try) 2>&5
11499 ac_status=$?
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); }; } &&
11502 { ac_try='test -s conftest.$ac_objext'
11503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11504 (eval $ac_try) 2>&5
11505 ac_status=$?
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); }; }; then
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 conftest.$ac_ext
11515 done
11516 rm -f conftest*
11517 if test -n "$ac_declaration"; then
11518 echo '#ifdef __cplusplus' >>confdefs.h
11519 echo $ac_declaration >>confdefs.h
11520 echo '#endif' >>confdefs.h
11521 fi
11522
11523 else
11524 echo "$as_me: failed program was:" >&5
11525 sed 's/^/| /' conftest.$ac_ext >&5
11526
11527 fi
11528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11529 ac_ext=c
11530 ac_cpp='$CPP $CPPFLAGS'
11531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11534
11535 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11536 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11537 if test "${wx_cv_c_exto+set}" = set; then
11538 echo $ECHO_N "(cached) $ECHO_C" >&6
11539 else
11540 cat >conftest.$ac_ext <<_ACEOF
11541 /* confdefs.h. */
11542 _ACEOF
11543 cat confdefs.h >>conftest.$ac_ext
11544 cat >>conftest.$ac_ext <<_ACEOF
11545 /* end confdefs.h. */
11546
11547 int
11548 main ()
11549 {
11550
11551 ;
11552 return 0;
11553 }
11554 _ACEOF
11555 rm -f conftest.$ac_objext conftest.$ac_ext.o
11556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11557 (eval $ac_compile) 2>&5
11558 ac_status=$?
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); }; then
11561 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11562 case $ac_file in
11563 conftest.$ac_ext.o)
11564 wx_cv_c_exto="-ext o"
11565 ;;
11566 *)
11567 ;;
11568 esac
11569 done
11570 else
11571 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11572 See \`config.log' for more details." >&5
11573 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11574 See \`config.log' for more details." >&2;}
11575 { (exit 1); exit 1; }; }
11576
11577 fi
11578
11579 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11580
11581 fi
11582 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11583 echo "${ECHO_T}$wx_cv_c_exto" >&6
11584 if test "x$wx_cv_c_exto" '!=' "x"; then
11585 if test "c" = "c"; then
11586 CFLAGS="$wx_cv_c_exto $CFLAGS"
11587 fi
11588 if test "c" = "cxx"; then
11589 CXXFLAGS="$wx_cv_c_exto $CXXFLAGS"
11590 fi
11591 fi
11592
11593 if test "x$wx_cv_c_exto" '!=' "x"; then
11594 unset ac_cv_prog_cc_g
11595 ac_test_CFLAGS=${CFLAGS+set}
11596 ac_save_CFLAGS=$CFLAGS
11597 CFLAGS="-g"
11598 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11599 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11600 if test "${ac_cv_prog_cc_g+set}" = set; then
11601 echo $ECHO_N "(cached) $ECHO_C" >&6
11602 else
11603 cat >conftest.$ac_ext <<_ACEOF
11604 /* confdefs.h. */
11605 _ACEOF
11606 cat confdefs.h >>conftest.$ac_ext
11607 cat >>conftest.$ac_ext <<_ACEOF
11608 /* end confdefs.h. */
11609
11610 int
11611 main ()
11612 {
11613
11614 ;
11615 return 0;
11616 }
11617 _ACEOF
11618 rm -f conftest.$ac_objext
11619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11620 (eval $ac_compile) 2>conftest.er1
11621 ac_status=$?
11622 grep -v '^ *+' conftest.er1 >conftest.err
11623 rm -f conftest.er1
11624 cat conftest.err >&5
11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626 (exit $ac_status); } &&
11627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11629 (eval $ac_try) 2>&5
11630 ac_status=$?
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); }; } &&
11633 { ac_try='test -s conftest.$ac_objext'
11634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11635 (eval $ac_try) 2>&5
11636 ac_status=$?
11637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 (exit $ac_status); }; }; then
11639 ac_cv_prog_cc_g=yes
11640 else
11641 echo "$as_me: failed program was:" >&5
11642 sed 's/^/| /' conftest.$ac_ext >&5
11643
11644 ac_cv_prog_cc_g=no
11645 fi
11646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11647 fi
11648 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11649 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11650 if test "$ac_test_CFLAGS" = set; then
11651 CFLAGS=$ac_save_CFLAGS
11652 elif test $ac_cv_prog_cc_g = yes; then
11653 if test "$GCC" = yes; then
11654 CFLAGS="-g -O2"
11655 else
11656 CFLAGS="-g"
11657 fi
11658 else
11659 if test "$GCC" = yes; then
11660 CFLAGS="-O2"
11661 else
11662 CFLAGS=
11663 fi
11664 fi
11665 fi
11666
11667 ac_ext=c
11668 ac_cpp='$CPP $CPPFLAGS'
11669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11672
11673 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11674 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11675 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11676 echo $ECHO_N "(cached) $ECHO_C" >&6
11677 else
11678 cat >conftest.$ac_ext <<_ACEOF
11679 /* confdefs.h. */
11680 _ACEOF
11681 cat confdefs.h >>conftest.$ac_ext
11682 cat >>conftest.$ac_ext <<_ACEOF
11683 /* end confdefs.h. */
11684
11685 int
11686 main ()
11687 {
11688 #ifndef __MWERKS__
11689 choke me
11690 #endif
11691
11692 ;
11693 return 0;
11694 }
11695 _ACEOF
11696 rm -f conftest.$ac_objext
11697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11698 (eval $ac_compile) 2>conftest.er1
11699 ac_status=$?
11700 grep -v '^ *+' conftest.er1 >conftest.err
11701 rm -f conftest.er1
11702 cat conftest.err >&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); } &&
11705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11707 (eval $ac_try) 2>&5
11708 ac_status=$?
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); }; } &&
11711 { ac_try='test -s conftest.$ac_objext'
11712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11713 (eval $ac_try) 2>&5
11714 ac_status=$?
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); }; }; then
11717 bakefile_compiler_mwerks=yes
11718 else
11719 echo "$as_me: failed program was:" >&5
11720 sed 's/^/| /' conftest.$ac_ext >&5
11721
11722 bakefile_compiler_mwerks=no
11723 fi
11724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11725 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11726
11727 fi
11728 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11729 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11730
11731 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11732 ac_ext=c
11733 ac_cpp='$CPP $CPPFLAGS'
11734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11737
11738
11739 ac_ext=c
11740 ac_cpp='$CPP $CPPFLAGS'
11741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11744
11745 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11746 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11747 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11748 echo $ECHO_N "(cached) $ECHO_C" >&6
11749 else
11750 cat >conftest.$ac_ext <<_ACEOF
11751 /* confdefs.h. */
11752 _ACEOF
11753 cat confdefs.h >>conftest.$ac_ext
11754 cat >>conftest.$ac_ext <<_ACEOF
11755 /* end confdefs.h. */
11756
11757 int
11758 main ()
11759 {
11760 #ifndef __xlC__
11761 choke me
11762 #endif
11763
11764 ;
11765 return 0;
11766 }
11767 _ACEOF
11768 rm -f conftest.$ac_objext
11769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11770 (eval $ac_compile) 2>conftest.er1
11771 ac_status=$?
11772 grep -v '^ *+' conftest.er1 >conftest.err
11773 rm -f conftest.er1
11774 cat conftest.err >&5
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); } &&
11777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11779 (eval $ac_try) 2>&5
11780 ac_status=$?
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }; } &&
11783 { ac_try='test -s conftest.$ac_objext'
11784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11785 (eval $ac_try) 2>&5
11786 ac_status=$?
11787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); }; }; then
11789 wx_compiler_xlc=yes
11790 else
11791 echo "$as_me: failed program was:" >&5
11792 sed 's/^/| /' conftest.$ac_ext >&5
11793
11794 wx_compiler_xlc=no
11795 fi
11796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11797 wx_cv_c_compiler_xlc=$wx_compiler_xlc
11798
11799 fi
11800 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11801 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11802
11803 XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11804 ac_ext=c
11805 ac_cpp='$CPP $CPPFLAGS'
11806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11809
11810
11811
11812 ac_ext=c
11813 ac_cpp='$CPP $CPPFLAGS'
11814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11817 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11818 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11819 # On Suns, sometimes $CPP names a directory.
11820 if test -n "$CPP" && test -d "$CPP"; then
11821 CPP=
11822 fi
11823 if test -z "$CPP"; then
11824 if test "${ac_cv_prog_CPP+set}" = set; then
11825 echo $ECHO_N "(cached) $ECHO_C" >&6
11826 else
11827 # Double quotes because CPP needs to be expanded
11828 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11829 do
11830 ac_preproc_ok=false
11831 for ac_c_preproc_warn_flag in '' yes
11832 do
11833 # Use a header file that comes with gcc, so configuring glibc
11834 # with a fresh cross-compiler works.
11835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11836 # <limits.h> exists even on freestanding compilers.
11837 # On the NeXT, cc -E runs the code through the compiler's parser,
11838 # not just through cpp. "Syntax error" is here to catch this case.
11839 cat >conftest.$ac_ext <<_ACEOF
11840 /* confdefs.h. */
11841 _ACEOF
11842 cat confdefs.h >>conftest.$ac_ext
11843 cat >>conftest.$ac_ext <<_ACEOF
11844 /* end confdefs.h. */
11845 #ifdef __STDC__
11846 # include <limits.h>
11847 #else
11848 # include <assert.h>
11849 #endif
11850 Syntax error
11851 _ACEOF
11852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11853 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11854 ac_status=$?
11855 grep -v '^ *+' conftest.er1 >conftest.err
11856 rm -f conftest.er1
11857 cat conftest.err >&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); } >/dev/null; then
11860 if test -s conftest.err; then
11861 ac_cpp_err=$ac_c_preproc_warn_flag
11862 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11863 else
11864 ac_cpp_err=
11865 fi
11866 else
11867 ac_cpp_err=yes
11868 fi
11869 if test -z "$ac_cpp_err"; then
11870 :
11871 else
11872 echo "$as_me: failed program was:" >&5
11873 sed 's/^/| /' conftest.$ac_ext >&5
11874
11875 # Broken: fails on valid input.
11876 continue
11877 fi
11878 rm -f conftest.err conftest.$ac_ext
11879
11880 # OK, works on sane cases. Now check whether non-existent headers
11881 # can be detected and how.
11882 cat >conftest.$ac_ext <<_ACEOF
11883 /* confdefs.h. */
11884 _ACEOF
11885 cat confdefs.h >>conftest.$ac_ext
11886 cat >>conftest.$ac_ext <<_ACEOF
11887 /* end confdefs.h. */
11888 #include <ac_nonexistent.h>
11889 _ACEOF
11890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11891 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11892 ac_status=$?
11893 grep -v '^ *+' conftest.er1 >conftest.err
11894 rm -f conftest.er1
11895 cat conftest.err >&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); } >/dev/null; then
11898 if test -s conftest.err; then
11899 ac_cpp_err=$ac_c_preproc_warn_flag
11900 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11901 else
11902 ac_cpp_err=
11903 fi
11904 else
11905 ac_cpp_err=yes
11906 fi
11907 if test -z "$ac_cpp_err"; then
11908 # Broken: success on invalid input.
11909 continue
11910 else
11911 echo "$as_me: failed program was:" >&5
11912 sed 's/^/| /' conftest.$ac_ext >&5
11913
11914 # Passes both tests.
11915 ac_preproc_ok=:
11916 break
11917 fi
11918 rm -f conftest.err conftest.$ac_ext
11919
11920 done
11921 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11922 rm -f conftest.err conftest.$ac_ext
11923 if $ac_preproc_ok; then
11924 break
11925 fi
11926
11927 done
11928 ac_cv_prog_CPP=$CPP
11929
11930 fi
11931 CPP=$ac_cv_prog_CPP
11932 else
11933 ac_cv_prog_CPP=$CPP
11934 fi
11935 echo "$as_me:$LINENO: result: $CPP" >&5
11936 echo "${ECHO_T}$CPP" >&6
11937 ac_preproc_ok=false
11938 for ac_c_preproc_warn_flag in '' yes
11939 do
11940 # Use a header file that comes with gcc, so configuring glibc
11941 # with a fresh cross-compiler works.
11942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11943 # <limits.h> exists even on freestanding compilers.
11944 # On the NeXT, cc -E runs the code through the compiler's parser,
11945 # not just through cpp. "Syntax error" is here to catch this case.
11946 cat >conftest.$ac_ext <<_ACEOF
11947 /* confdefs.h. */
11948 _ACEOF
11949 cat confdefs.h >>conftest.$ac_ext
11950 cat >>conftest.$ac_ext <<_ACEOF
11951 /* end confdefs.h. */
11952 #ifdef __STDC__
11953 # include <limits.h>
11954 #else
11955 # include <assert.h>
11956 #endif
11957 Syntax error
11958 _ACEOF
11959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11961 ac_status=$?
11962 grep -v '^ *+' conftest.er1 >conftest.err
11963 rm -f conftest.er1
11964 cat conftest.err >&5
11965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11966 (exit $ac_status); } >/dev/null; then
11967 if test -s conftest.err; then
11968 ac_cpp_err=$ac_c_preproc_warn_flag
11969 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11970 else
11971 ac_cpp_err=
11972 fi
11973 else
11974 ac_cpp_err=yes
11975 fi
11976 if test -z "$ac_cpp_err"; then
11977 :
11978 else
11979 echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.$ac_ext >&5
11981
11982 # Broken: fails on valid input.
11983 continue
11984 fi
11985 rm -f conftest.err conftest.$ac_ext
11986
11987 # OK, works on sane cases. Now check whether non-existent headers
11988 # can be detected and how.
11989 cat >conftest.$ac_ext <<_ACEOF
11990 /* confdefs.h. */
11991 _ACEOF
11992 cat confdefs.h >>conftest.$ac_ext
11993 cat >>conftest.$ac_ext <<_ACEOF
11994 /* end confdefs.h. */
11995 #include <ac_nonexistent.h>
11996 _ACEOF
11997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11999 ac_status=$?
12000 grep -v '^ *+' conftest.er1 >conftest.err
12001 rm -f conftest.er1
12002 cat conftest.err >&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); } >/dev/null; then
12005 if test -s conftest.err; then
12006 ac_cpp_err=$ac_c_preproc_warn_flag
12007 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12008 else
12009 ac_cpp_err=
12010 fi
12011 else
12012 ac_cpp_err=yes
12013 fi
12014 if test -z "$ac_cpp_err"; then
12015 # Broken: success on invalid input.
12016 continue
12017 else
12018 echo "$as_me: failed program was:" >&5
12019 sed 's/^/| /' conftest.$ac_ext >&5
12020
12021 # Passes both tests.
12022 ac_preproc_ok=:
12023 break
12024 fi
12025 rm -f conftest.err conftest.$ac_ext
12026
12027 done
12028 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12029 rm -f conftest.err conftest.$ac_ext
12030 if $ac_preproc_ok; then
12031 :
12032 else
12033 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12034 See \`config.log' for more details." >&5
12035 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12036 See \`config.log' for more details." >&2;}
12037 { (exit 1); exit 1; }; }
12038 fi
12039
12040 ac_ext=c
12041 ac_cpp='$CPP $CPPFLAGS'
12042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12045
12046
12047 echo "$as_me:$LINENO: checking for egrep" >&5
12048 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12049 if test "${ac_cv_prog_egrep+set}" = set; then
12050 echo $ECHO_N "(cached) $ECHO_C" >&6
12051 else
12052 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12053 then ac_cv_prog_egrep='grep -E'
12054 else ac_cv_prog_egrep='egrep'
12055 fi
12056 fi
12057 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12058 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12059 EGREP=$ac_cv_prog_egrep
12060
12061
12062 if test $ac_cv_c_compiler_gnu = yes; then
12063 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12064 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12065 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12066 echo $ECHO_N "(cached) $ECHO_C" >&6
12067 else
12068 ac_pattern="Autoconf.*'x'"
12069 cat >conftest.$ac_ext <<_ACEOF
12070 /* confdefs.h. */
12071 _ACEOF
12072 cat confdefs.h >>conftest.$ac_ext
12073 cat >>conftest.$ac_ext <<_ACEOF
12074 /* end confdefs.h. */
12075 #include <sgtty.h>
12076 Autoconf TIOCGETP
12077 _ACEOF
12078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12079 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12080 ac_cv_prog_gcc_traditional=yes
12081 else
12082 ac_cv_prog_gcc_traditional=no
12083 fi
12084 rm -f conftest*
12085
12086
12087 if test $ac_cv_prog_gcc_traditional = no; then
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 #include <termio.h>
12095 Autoconf TCGETA
12096 _ACEOF
12097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12098 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12099 ac_cv_prog_gcc_traditional=yes
12100 fi
12101 rm -f conftest*
12102
12103 fi
12104 fi
12105 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12106 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12107 if test $ac_cv_prog_gcc_traditional = yes; then
12108 CC="$CC -traditional"
12109 fi
12110 fi
12111
12112
12113
12114
12115 ac_ext=cc
12116 ac_cpp='$CXXCPP $CPPFLAGS'
12117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12120
12121
12122 CXXFLAGS=${CXXFLAGS:=}
12123 ac_ext=cc
12124 ac_cpp='$CXXCPP $CPPFLAGS'
12125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12128 if test -n "$ac_tool_prefix"; then
12129 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12130 do
12131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12133 echo "$as_me:$LINENO: checking for $ac_word" >&5
12134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12135 if test "${ac_cv_prog_CXX+set}" = set; then
12136 echo $ECHO_N "(cached) $ECHO_C" >&6
12137 else
12138 if test -n "$CXX"; then
12139 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12140 else
12141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12142 for as_dir in $PATH
12143 do
12144 IFS=$as_save_IFS
12145 test -z "$as_dir" && as_dir=.
12146 for ac_exec_ext in '' $ac_executable_extensions; do
12147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12148 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12150 break 2
12151 fi
12152 done
12153 done
12154
12155 fi
12156 fi
12157 CXX=$ac_cv_prog_CXX
12158 if test -n "$CXX"; then
12159 echo "$as_me:$LINENO: result: $CXX" >&5
12160 echo "${ECHO_T}$CXX" >&6
12161 else
12162 echo "$as_me:$LINENO: result: no" >&5
12163 echo "${ECHO_T}no" >&6
12164 fi
12165
12166 test -n "$CXX" && break
12167 done
12168 fi
12169 if test -z "$CXX"; then
12170 ac_ct_CXX=$CXX
12171 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12172 do
12173 # Extract the first word of "$ac_prog", so it can be a program name with args.
12174 set dummy $ac_prog; ac_word=$2
12175 echo "$as_me:$LINENO: checking for $ac_word" >&5
12176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12177 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12178 echo $ECHO_N "(cached) $ECHO_C" >&6
12179 else
12180 if test -n "$ac_ct_CXX"; then
12181 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12182 else
12183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12184 for as_dir in $PATH
12185 do
12186 IFS=$as_save_IFS
12187 test -z "$as_dir" && as_dir=.
12188 for ac_exec_ext in '' $ac_executable_extensions; do
12189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12190 ac_cv_prog_ac_ct_CXX="$ac_prog"
12191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12192 break 2
12193 fi
12194 done
12195 done
12196
12197 fi
12198 fi
12199 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12200 if test -n "$ac_ct_CXX"; then
12201 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12202 echo "${ECHO_T}$ac_ct_CXX" >&6
12203 else
12204 echo "$as_me:$LINENO: result: no" >&5
12205 echo "${ECHO_T}no" >&6
12206 fi
12207
12208 test -n "$ac_ct_CXX" && break
12209 done
12210 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12211
12212 CXX=$ac_ct_CXX
12213 fi
12214
12215
12216 # Provide some information about the compiler.
12217 echo "$as_me:$LINENO:" \
12218 "checking for C++ compiler version" >&5
12219 ac_compiler=`set X $ac_compile; echo $2`
12220 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12221 (eval $ac_compiler --version </dev/null >&5) 2>&5
12222 ac_status=$?
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); }
12225 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12226 (eval $ac_compiler -v </dev/null >&5) 2>&5
12227 ac_status=$?
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); }
12230 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12231 (eval $ac_compiler -V </dev/null >&5) 2>&5
12232 ac_status=$?
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }
12235
12236 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12237 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12238 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12239 echo $ECHO_N "(cached) $ECHO_C" >&6
12240 else
12241 cat >conftest.$ac_ext <<_ACEOF
12242 /* confdefs.h. */
12243 _ACEOF
12244 cat confdefs.h >>conftest.$ac_ext
12245 cat >>conftest.$ac_ext <<_ACEOF
12246 /* end confdefs.h. */
12247
12248 int
12249 main ()
12250 {
12251 #ifndef __GNUC__
12252 choke me
12253 #endif
12254
12255 ;
12256 return 0;
12257 }
12258 _ACEOF
12259 rm -f conftest.$ac_objext
12260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12261 (eval $ac_compile) 2>conftest.er1
12262 ac_status=$?
12263 grep -v '^ *+' conftest.er1 >conftest.err
12264 rm -f conftest.er1
12265 cat conftest.err >&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); } &&
12268 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12270 (eval $ac_try) 2>&5
12271 ac_status=$?
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }; } &&
12274 { ac_try='test -s conftest.$ac_objext'
12275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12276 (eval $ac_try) 2>&5
12277 ac_status=$?
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); }; }; then
12280 ac_compiler_gnu=yes
12281 else
12282 echo "$as_me: failed program was:" >&5
12283 sed 's/^/| /' conftest.$ac_ext >&5
12284
12285 ac_compiler_gnu=no
12286 fi
12287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12288 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12289
12290 fi
12291 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12292 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12293 GXX=`test $ac_compiler_gnu = yes && echo yes`
12294 ac_test_CXXFLAGS=${CXXFLAGS+set}
12295 ac_save_CXXFLAGS=$CXXFLAGS
12296 CXXFLAGS="-g"
12297 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12298 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12299 if test "${ac_cv_prog_cxx_g+set}" = set; then
12300 echo $ECHO_N "(cached) $ECHO_C" >&6
12301 else
12302 cat >conftest.$ac_ext <<_ACEOF
12303 /* confdefs.h. */
12304 _ACEOF
12305 cat confdefs.h >>conftest.$ac_ext
12306 cat >>conftest.$ac_ext <<_ACEOF
12307 /* end confdefs.h. */
12308
12309 int
12310 main ()
12311 {
12312
12313 ;
12314 return 0;
12315 }
12316 _ACEOF
12317 rm -f conftest.$ac_objext
12318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12319 (eval $ac_compile) 2>conftest.er1
12320 ac_status=$?
12321 grep -v '^ *+' conftest.er1 >conftest.err
12322 rm -f conftest.er1
12323 cat conftest.err >&5
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); } &&
12326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12328 (eval $ac_try) 2>&5
12329 ac_status=$?
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); }; } &&
12332 { ac_try='test -s conftest.$ac_objext'
12333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12334 (eval $ac_try) 2>&5
12335 ac_status=$?
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); }; }; then
12338 ac_cv_prog_cxx_g=yes
12339 else
12340 echo "$as_me: failed program was:" >&5
12341 sed 's/^/| /' conftest.$ac_ext >&5
12342
12343 ac_cv_prog_cxx_g=no
12344 fi
12345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12346 fi
12347 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12348 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12349 if test "$ac_test_CXXFLAGS" = set; then
12350 CXXFLAGS=$ac_save_CXXFLAGS
12351 elif test $ac_cv_prog_cxx_g = yes; then
12352 if test "$GXX" = yes; then
12353 CXXFLAGS="-g -O2"
12354 else
12355 CXXFLAGS="-g"
12356 fi
12357 else
12358 if test "$GXX" = yes; then
12359 CXXFLAGS="-O2"
12360 else
12361 CXXFLAGS=
12362 fi
12363 fi
12364 for ac_declaration in \
12365 '' \
12366 'extern "C" void std::exit (int) throw (); using std::exit;' \
12367 'extern "C" void std::exit (int); using std::exit;' \
12368 'extern "C" void exit (int) throw ();' \
12369 'extern "C" void exit (int);' \
12370 'void exit (int);'
12371 do
12372 cat >conftest.$ac_ext <<_ACEOF
12373 /* confdefs.h. */
12374 _ACEOF
12375 cat confdefs.h >>conftest.$ac_ext
12376 cat >>conftest.$ac_ext <<_ACEOF
12377 /* end confdefs.h. */
12378 $ac_declaration
12379 #include <stdlib.h>
12380 int
12381 main ()
12382 {
12383 exit (42);
12384 ;
12385 return 0;
12386 }
12387 _ACEOF
12388 rm -f conftest.$ac_objext
12389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12390 (eval $ac_compile) 2>conftest.er1
12391 ac_status=$?
12392 grep -v '^ *+' conftest.er1 >conftest.err
12393 rm -f conftest.er1
12394 cat conftest.err >&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } &&
12397 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12399 (eval $ac_try) 2>&5
12400 ac_status=$?
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); }; } &&
12403 { ac_try='test -s conftest.$ac_objext'
12404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12405 (eval $ac_try) 2>&5
12406 ac_status=$?
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); }; }; then
12409 :
12410 else
12411 echo "$as_me: failed program was:" >&5
12412 sed 's/^/| /' conftest.$ac_ext >&5
12413
12414 continue
12415 fi
12416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12417 cat >conftest.$ac_ext <<_ACEOF
12418 /* confdefs.h. */
12419 _ACEOF
12420 cat confdefs.h >>conftest.$ac_ext
12421 cat >>conftest.$ac_ext <<_ACEOF
12422 /* end confdefs.h. */
12423 $ac_declaration
12424 int
12425 main ()
12426 {
12427 exit (42);
12428 ;
12429 return 0;
12430 }
12431 _ACEOF
12432 rm -f conftest.$ac_objext
12433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12434 (eval $ac_compile) 2>conftest.er1
12435 ac_status=$?
12436 grep -v '^ *+' conftest.er1 >conftest.err
12437 rm -f conftest.er1
12438 cat conftest.err >&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } &&
12441 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12444 ac_status=$?
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; } &&
12447 { ac_try='test -s conftest.$ac_objext'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12450 ac_status=$?
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12453 break
12454 else
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.$ac_ext >&5
12457
12458 fi
12459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12460 done
12461 rm -f conftest*
12462 if test -n "$ac_declaration"; then
12463 echo '#ifdef __cplusplus' >>confdefs.h
12464 echo $ac_declaration >>confdefs.h
12465 echo '#endif' >>confdefs.h
12466 fi
12467
12468 ac_ext=cc
12469 ac_cpp='$CXXCPP $CPPFLAGS'
12470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12473
12474 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12475 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12476 if test "${wx_cv_cxx_exto+set}" = set; then
12477 echo $ECHO_N "(cached) $ECHO_C" >&6
12478 else
12479 cat >conftest.$ac_ext <<_ACEOF
12480 /* confdefs.h. */
12481 _ACEOF
12482 cat confdefs.h >>conftest.$ac_ext
12483 cat >>conftest.$ac_ext <<_ACEOF
12484 /* end confdefs.h. */
12485
12486 int
12487 main ()
12488 {
12489
12490 ;
12491 return 0;
12492 }
12493 _ACEOF
12494 rm -f conftest.$ac_objext conftest.$ac_ext.o
12495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12496 (eval $ac_compile) 2>&5
12497 ac_status=$?
12498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12499 (exit $ac_status); }; then
12500 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12501 case $ac_file in
12502 conftest.$ac_ext.o)
12503 wx_cv_cxx_exto="-ext o"
12504 ;;
12505 *)
12506 ;;
12507 esac
12508 done
12509 else
12510 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12511 See \`config.log' for more details." >&5
12512 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12513 See \`config.log' for more details." >&2;}
12514 { (exit 1); exit 1; }; }
12515
12516 fi
12517
12518 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12519
12520 fi
12521 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12522 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12523 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12524 if test "cxx" = "c"; then
12525 CFLAGS="$wx_cv_cxx_exto $CFLAGS"
12526 fi
12527 if test "cxx" = "cxx"; then
12528 CXXFLAGS="$wx_cv_cxx_exto $CXXFLAGS"
12529 fi
12530 fi
12531
12532 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12533 unset ac_cv_prog_cxx_g
12534 ac_test_CXXFLAGS=${CXXFLAGS+set}
12535 ac_save_CXXFLAGS=$CXXFLAGS
12536 CXXFLAGS="-g"
12537 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12538 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12539 if test "${ac_cv_prog_cxx_g+set}" = set; then
12540 echo $ECHO_N "(cached) $ECHO_C" >&6
12541 else
12542 cat >conftest.$ac_ext <<_ACEOF
12543 /* confdefs.h. */
12544 _ACEOF
12545 cat confdefs.h >>conftest.$ac_ext
12546 cat >>conftest.$ac_ext <<_ACEOF
12547 /* end confdefs.h. */
12548
12549 int
12550 main ()
12551 {
12552
12553 ;
12554 return 0;
12555 }
12556 _ACEOF
12557 rm -f conftest.$ac_objext
12558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12559 (eval $ac_compile) 2>conftest.er1
12560 ac_status=$?
12561 grep -v '^ *+' conftest.er1 >conftest.err
12562 rm -f conftest.er1
12563 cat conftest.err >&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); } &&
12566 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12568 (eval $ac_try) 2>&5
12569 ac_status=$?
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); }; } &&
12572 { ac_try='test -s conftest.$ac_objext'
12573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12574 (eval $ac_try) 2>&5
12575 ac_status=$?
12576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577 (exit $ac_status); }; }; then
12578 ac_cv_prog_cxx_g=yes
12579 else
12580 echo "$as_me: failed program was:" >&5
12581 sed 's/^/| /' conftest.$ac_ext >&5
12582
12583 ac_cv_prog_cxx_g=no
12584 fi
12585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12586 fi
12587 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12588 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12589 if test "$ac_test_CXXFLAGS" = set; then
12590 CXXFLAGS=$ac_save_CXXFLAGS
12591 elif test $ac_cv_prog_cxx_g = yes; then
12592 if test "$GXX" = yes; then
12593 CXXFLAGS="-g -O2"
12594 else
12595 CXXFLAGS="-g"
12596 fi
12597 else
12598 if test "$GXX" = yes; then
12599 CXXFLAGS="-O2"
12600 else
12601 CXXFLAGS=
12602 fi
12603 fi
12604 fi
12605
12606 ac_ext=cc
12607 ac_cpp='$CXXCPP $CPPFLAGS'
12608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12611
12612 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12613 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12614 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12616 else
12617 cat >conftest.$ac_ext <<_ACEOF
12618 /* confdefs.h. */
12619 _ACEOF
12620 cat confdefs.h >>conftest.$ac_ext
12621 cat >>conftest.$ac_ext <<_ACEOF
12622 /* end confdefs.h. */
12623
12624 int
12625 main ()
12626 {
12627 #ifndef __MWERKS__
12628 choke me
12629 #endif
12630
12631 ;
12632 return 0;
12633 }
12634 _ACEOF
12635 rm -f conftest.$ac_objext
12636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12637 (eval $ac_compile) 2>conftest.er1
12638 ac_status=$?
12639 grep -v '^ *+' conftest.er1 >conftest.err
12640 rm -f conftest.er1
12641 cat conftest.err >&5
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); } &&
12644 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12646 (eval $ac_try) 2>&5
12647 ac_status=$?
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); }; } &&
12650 { ac_try='test -s conftest.$ac_objext'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12653 ac_status=$?
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; }; then
12656 bakefile_compiler_mwerks=yes
12657 else
12658 echo "$as_me: failed program was:" >&5
12659 sed 's/^/| /' conftest.$ac_ext >&5
12660
12661 bakefile_compiler_mwerks=no
12662 fi
12663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12664 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12665
12666 fi
12667 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12668 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12669
12670 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12671 ac_ext=cc
12672 ac_cpp='$CXXCPP $CPPFLAGS'
12673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12676
12677
12678 ac_ext=cc
12679 ac_cpp='$CXXCPP $CPPFLAGS'
12680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12683
12684 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12685 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12686 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12687 echo $ECHO_N "(cached) $ECHO_C" >&6
12688 else
12689 cat >conftest.$ac_ext <<_ACEOF
12690 /* confdefs.h. */
12691 _ACEOF
12692 cat confdefs.h >>conftest.$ac_ext
12693 cat >>conftest.$ac_ext <<_ACEOF
12694 /* end confdefs.h. */
12695
12696 int
12697 main ()
12698 {
12699 #ifndef __xlC__
12700 choke me
12701 #endif
12702
12703 ;
12704 return 0;
12705 }
12706 _ACEOF
12707 rm -f conftest.$ac_objext
12708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12709 (eval $ac_compile) 2>conftest.er1
12710 ac_status=$?
12711 grep -v '^ *+' conftest.er1 >conftest.err
12712 rm -f conftest.er1
12713 cat conftest.err >&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); } &&
12716 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
12722 { ac_try='test -s conftest.$ac_objext'
12723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12724 (eval $ac_try) 2>&5
12725 ac_status=$?
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); }; }; then
12728 wx_compiler_xlc=yes
12729 else
12730 echo "$as_me: failed program was:" >&5
12731 sed 's/^/| /' conftest.$ac_ext >&5
12732
12733 wx_compiler_xlc=no
12734 fi
12735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12736 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
12737
12738 fi
12739 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12740 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12741
12742 XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12743 ac_ext=cc
12744 ac_cpp='$CXXCPP $CPPFLAGS'
12745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12748
12749
12750
12751 ac_ext=c
12752 ac_cpp='$CPP $CPPFLAGS'
12753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12756
12757
12758 if test -n "$ac_tool_prefix"; then
12759 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12760 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12761 echo "$as_me:$LINENO: checking for $ac_word" >&5
12762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12763 if test "${ac_cv_prog_RANLIB+set}" = set; then
12764 echo $ECHO_N "(cached) $ECHO_C" >&6
12765 else
12766 if test -n "$RANLIB"; then
12767 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12768 else
12769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12770 for as_dir in $PATH
12771 do
12772 IFS=$as_save_IFS
12773 test -z "$as_dir" && as_dir=.
12774 for ac_exec_ext in '' $ac_executable_extensions; do
12775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12776 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12778 break 2
12779 fi
12780 done
12781 done
12782
12783 fi
12784 fi
12785 RANLIB=$ac_cv_prog_RANLIB
12786 if test -n "$RANLIB"; then
12787 echo "$as_me:$LINENO: result: $RANLIB" >&5
12788 echo "${ECHO_T}$RANLIB" >&6
12789 else
12790 echo "$as_me:$LINENO: result: no" >&5
12791 echo "${ECHO_T}no" >&6
12792 fi
12793
12794 fi
12795 if test -z "$ac_cv_prog_RANLIB"; then
12796 ac_ct_RANLIB=$RANLIB
12797 # Extract the first word of "ranlib", so it can be a program name with args.
12798 set dummy ranlib; ac_word=$2
12799 echo "$as_me:$LINENO: checking for $ac_word" >&5
12800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12801 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6
12803 else
12804 if test -n "$ac_ct_RANLIB"; then
12805 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12806 else
12807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12808 for as_dir in $PATH
12809 do
12810 IFS=$as_save_IFS
12811 test -z "$as_dir" && as_dir=.
12812 for ac_exec_ext in '' $ac_executable_extensions; do
12813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12814 ac_cv_prog_ac_ct_RANLIB="ranlib"
12815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12816 break 2
12817 fi
12818 done
12819 done
12820
12821 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12822 fi
12823 fi
12824 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12825 if test -n "$ac_ct_RANLIB"; then
12826 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12827 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12828 else
12829 echo "$as_me:$LINENO: result: no" >&5
12830 echo "${ECHO_T}no" >&6
12831 fi
12832
12833 RANLIB=$ac_ct_RANLIB
12834 else
12835 RANLIB="$ac_cv_prog_RANLIB"
12836 fi
12837
12838
12839 # Extract the first word of "ar", so it can be a program name with args.
12840 set dummy ar; ac_word=$2
12841 echo "$as_me:$LINENO: checking for $ac_word" >&5
12842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12843 if test "${ac_cv_prog_AR+set}" = set; then
12844 echo $ECHO_N "(cached) $ECHO_C" >&6
12845 else
12846 if test -n "$AR"; then
12847 ac_cv_prog_AR="$AR" # Let the user override the test.
12848 else
12849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12850 for as_dir in $PATH
12851 do
12852 IFS=$as_save_IFS
12853 test -z "$as_dir" && as_dir=.
12854 for ac_exec_ext in '' $ac_executable_extensions; do
12855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12856 ac_cv_prog_AR="ar"
12857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12858 break 2
12859 fi
12860 done
12861 done
12862
12863 fi
12864 fi
12865 AR=$ac_cv_prog_AR
12866 if test -n "$AR"; then
12867 echo "$as_me:$LINENO: result: $AR" >&5
12868 echo "${ECHO_T}$AR" >&6
12869 else
12870 echo "$as_me:$LINENO: result: no" >&5
12871 echo "${ECHO_T}no" >&6
12872 fi
12873
12874 if test "x$AR" = "x" ; then
12875 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12876 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12877 { (exit 1); exit 1; }; }
12878 fi
12879
12880 # Find a good install program. We prefer a C program (faster),
12881 # so one script is as good as another. But avoid the broken or
12882 # incompatible versions:
12883 # SysV /etc/install, /usr/sbin/install
12884 # SunOS /usr/etc/install
12885 # IRIX /sbin/install
12886 # AIX /bin/install
12887 # AmigaOS /C/install, which installs bootblocks on floppy discs
12888 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12889 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12890 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12891 # OS/2's system install, which has a completely different semantic
12892 # ./install, which can be erroneously created by make from ./install.sh.
12893 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12894 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12895 if test -z "$INSTALL"; then
12896 if test "${ac_cv_path_install+set}" = set; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12898 else
12899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12900 for as_dir in $PATH
12901 do
12902 IFS=$as_save_IFS
12903 test -z "$as_dir" && as_dir=.
12904 # Account for people who put trailing slashes in PATH elements.
12905 case $as_dir/ in
12906 ./ | .// | /cC/* | \
12907 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12908 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12909 /usr/ucb/* ) ;;
12910 *)
12911 # OSF1 and SCO ODT 3.0 have their own names for install.
12912 # Don't use installbsd from OSF since it installs stuff as root
12913 # by default.
12914 for ac_prog in ginstall scoinst install; do
12915 for ac_exec_ext in '' $ac_executable_extensions; do
12916 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12917 if test $ac_prog = install &&
12918 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12919 # AIX install. It has an incompatible calling convention.
12920 :
12921 elif test $ac_prog = install &&
12922 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12923 # program-specific install script used by HP pwplus--don't use.
12924 :
12925 else
12926 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12927 break 3
12928 fi
12929 fi
12930 done
12931 done
12932 ;;
12933 esac
12934 done
12935
12936
12937 fi
12938 if test "${ac_cv_path_install+set}" = set; then
12939 INSTALL=$ac_cv_path_install
12940 else
12941 # As a last resort, use the slow shell script. We don't cache a
12942 # path for INSTALL within a source directory, because that will
12943 # break other packages using the cache if that directory is
12944 # removed, or if the path is relative.
12945 INSTALL=$ac_install_sh
12946 fi
12947 fi
12948 echo "$as_me:$LINENO: result: $INSTALL" >&5
12949 echo "${ECHO_T}$INSTALL" >&6
12950
12951 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12952 # It thinks the first close brace ends the variable substitution.
12953 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12954
12955 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12956
12957 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12958
12959
12960 case ${INSTALL} in
12961 /* ) # Absolute
12962 ;;
12963 ?:* ) # Drive letter, considered as absolute.
12964 ;;
12965 *)
12966 INSTALL=`pwd`/${INSTALL} ;;
12967 esac
12968
12969
12970 case "${host}" in
12971
12972 powerpc-*-darwin* )
12973 INSTALL_PROGRAM="cp -fp"
12974 INSTALL_DATA="cp -fp"
12975 ;;
12976 *)
12977 ;;
12978 esac
12979
12980 # Extract the first word of "strip", so it can be a program name with args.
12981 set dummy strip; ac_word=$2
12982 echo "$as_me:$LINENO: checking for $ac_word" >&5
12983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12984 if test "${ac_cv_prog_STRIP+set}" = set; then
12985 echo $ECHO_N "(cached) $ECHO_C" >&6
12986 else
12987 if test -n "$STRIP"; then
12988 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12989 else
12990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12991 for as_dir in $PATH
12992 do
12993 IFS=$as_save_IFS
12994 test -z "$as_dir" && as_dir=.
12995 for ac_exec_ext in '' $ac_executable_extensions; do
12996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12997 ac_cv_prog_STRIP="strip"
12998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12999 break 2
13000 fi
13001 done
13002 done
13003
13004 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
13005 fi
13006 fi
13007 STRIP=$ac_cv_prog_STRIP
13008 if test -n "$STRIP"; then
13009 echo "$as_me:$LINENO: result: $STRIP" >&5
13010 echo "${ECHO_T}$STRIP" >&6
13011 else
13012 echo "$as_me:$LINENO: result: no" >&5
13013 echo "${ECHO_T}no" >&6
13014 fi
13015
13016
13017 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13018 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13019 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13021 else
13022
13023 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
13024 egrep -s GNU > /dev/null); then
13025 wx_cv_prog_makeisgnu="yes"
13026 else
13027 wx_cv_prog_makeisgnu="no"
13028 fi
13029
13030 fi
13031 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13032 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13033
13034 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13035 IF_GNU_MAKE=""
13036 else
13037 IF_GNU_MAKE="#"
13038 fi
13039
13040
13041
13042 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13043 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13044 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13045 if test "${wx_cv_prog_makevpath+set}" = set; then
13046 echo $ECHO_N "(cached) $ECHO_C" >&6
13047 else
13048
13049 cat - << EOF > confMake
13050 check : file
13051 cp \$? \$@
13052 cp \$? final_file
13053 EOF
13054
13055 if test ! -d sub ; then
13056 mkdir sub
13057 fi
13058 echo dummy > sub/file
13059 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
13060 RESULT=$?
13061 rm -f sub/file check final_file confMake
13062 rmdir sub
13063 if test "$RESULT" = 0; then
13064 wx_cv_prog_makevpath="yes"
13065 else
13066 wx_cv_prog_makevpath="no"
13067 fi
13068
13069 fi
13070 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13071 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13072
13073 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13074 { { echo "$as_me:$LINENO: error:
13075 You need a make-utility that is able to use the variable
13076 VPATH correctly.
13077 If your version of make does not support VPATH correctly,
13078 please install GNU-make (possibly as gmake), and start
13079 configure with the following command:
13080 export MAKE=gmake; ./configure for sh-type shells
13081 setenv MAKE gmake; ./configure for csh-type shells
13082 Also please do remember to use gmake in this case every time
13083 you are trying to compile.
13084 " >&5
13085 echo "$as_me: error:
13086 You need a make-utility that is able to use the variable
13087 VPATH correctly.
13088 If your version of make does not support VPATH correctly,
13089 please install GNU-make (possibly as gmake), and start
13090 configure with the following command:
13091 export MAKE=gmake; ./configure for sh-type shells
13092 setenv MAKE gmake; ./configure for csh-type shells
13093 Also please do remember to use gmake in this case every time
13094 you are trying to compile.
13095 " >&2;}
13096 { (exit 1); exit 1; }; }
13097 fi fi
13098 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13099 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13100 LN_S=$as_ln_s
13101 if test "$LN_S" = "ln -s"; then
13102 echo "$as_me:$LINENO: result: yes" >&5
13103 echo "${ECHO_T}yes" >&6
13104 else
13105 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13106 echo "${ECHO_T}no, using $LN_S" >&6
13107 fi
13108
13109
13110
13111 if test "x$XLCXX" = "xyes"; then
13112 CXXFLAGS="$CXXFLAGS -qunique"
13113 fi
13114
13115
13116 case "${host}" in
13117 powerpc-*-darwin* )
13118 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13119 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13120 cat >conftest.$ac_ext <<_ACEOF
13121 /* confdefs.h. */
13122 _ACEOF
13123 cat confdefs.h >>conftest.$ac_ext
13124 cat >>conftest.$ac_ext <<_ACEOF
13125 /* end confdefs.h. */
13126
13127 int
13128 main ()
13129 {
13130 #ifndef __POWERPC__
13131 choke me for lack of PowerPC
13132 #endif
13133
13134 ;
13135 return 0;
13136 }
13137 _ACEOF
13138 rm -f conftest.$ac_objext
13139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13140 (eval $ac_compile) 2>conftest.er1
13141 ac_status=$?
13142 grep -v '^ *+' conftest.er1 >conftest.err
13143 rm -f conftest.er1
13144 cat conftest.err >&5
13145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 (exit $ac_status); } &&
13147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13149 (eval $ac_try) 2>&5
13150 ac_status=$?
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); }; } &&
13153 { ac_try='test -s conftest.$ac_objext'
13154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13155 (eval $ac_try) 2>&5
13156 ac_status=$?
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; }; then
13159 echo "$as_me:$LINENO: result: yes" >&5
13160 echo "${ECHO_T}yes" >&6
13161 else
13162 echo "$as_me: failed program was:" >&5
13163 sed 's/^/| /' conftest.$ac_ext >&5
13164
13165 echo "$as_me:$LINENO: result: no" >&5
13166 echo "${ECHO_T}no" >&6
13167 cat >>confdefs.h <<\_ACEOF
13168 #define __POWERPC__ 1
13169 _ACEOF
13170
13171
13172 fi
13173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13174 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13175 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13176 cat >conftest.$ac_ext <<_ACEOF
13177 /* confdefs.h. */
13178 _ACEOF
13179 cat confdefs.h >>conftest.$ac_ext
13180 cat >>conftest.$ac_ext <<_ACEOF
13181 /* end confdefs.h. */
13182 #include <CoreFoundation/CFBase.h>
13183
13184 int
13185 main ()
13186 {
13187
13188 ;
13189 return 0;
13190 }
13191 _ACEOF
13192 rm -f conftest.$ac_objext
13193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13194 (eval $ac_compile) 2>conftest.er1
13195 ac_status=$?
13196 grep -v '^ *+' conftest.er1 >conftest.err
13197 rm -f conftest.er1
13198 cat conftest.err >&5
13199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200 (exit $ac_status); } &&
13201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13203 (eval $ac_try) 2>&5
13204 ac_status=$?
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); }; } &&
13207 { ac_try='test -s conftest.$ac_objext'
13208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13209 (eval $ac_try) 2>&5
13210 ac_status=$?
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); }; }; then
13213 echo "$as_me:$LINENO: result: yes" >&5
13214 echo "${ECHO_T}yes" >&6
13215 else
13216 echo "$as_me: failed program was:" >&5
13217 sed 's/^/| /' conftest.$ac_ext >&5
13218
13219 echo "$as_me:$LINENO: result: no" >&5
13220 echo "${ECHO_T}no" >&6
13221 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13222 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13223 cat >conftest.$ac_ext <<_ACEOF
13224 /* confdefs.h. */
13225 _ACEOF
13226 cat confdefs.h >>conftest.$ac_ext
13227 cat >>conftest.$ac_ext <<_ACEOF
13228 /* end confdefs.h. */
13229 #define __CF_USE_FRAMEWORK_INCLUDES__
13230 #include <CoreFoundation/CFBase.h>
13231
13232 int
13233 main ()
13234 {
13235
13236 ;
13237 return 0;
13238 }
13239 _ACEOF
13240 rm -f conftest.$ac_objext
13241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13242 (eval $ac_compile) 2>conftest.er1
13243 ac_status=$?
13244 grep -v '^ *+' conftest.er1 >conftest.err
13245 rm -f conftest.er1
13246 cat conftest.err >&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); } &&
13249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251 (eval $ac_try) 2>&5
13252 ac_status=$?
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; } &&
13255 { ac_try='test -s conftest.$ac_objext'
13256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257 (eval $ac_try) 2>&5
13258 ac_status=$?
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); }; }; then
13261 echo "$as_me:$LINENO: result: yes" >&5
13262 echo "${ECHO_T}yes" >&6
13263 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13264 else
13265 echo "$as_me: failed program was:" >&5
13266 sed 's/^/| /' conftest.$ac_ext >&5
13267
13268 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13269 See \`config.log' for more details." >&5
13270 echo "$as_me: error: no. CoreFoundation not available.
13271 See \`config.log' for more details." >&2;}
13272 { (exit 1); exit 1; }; }
13273
13274 fi
13275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13276
13277
13278 fi
13279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13280 ;;
13281 esac
13282
13283 case "${host}" in
13284 *-pc-os2_emx | *-pc-os2-emx )
13285 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13286 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13287 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13288 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13289 echo $ECHO_N "(cached) $ECHO_C" >&6
13290 else
13291 ac_check_lib_save_LIBS=$LIBS
13292 LIBS="-lcExt $LIBS"
13293 cat >conftest.$ac_ext <<_ACEOF
13294 /* confdefs.h. */
13295 _ACEOF
13296 cat confdefs.h >>conftest.$ac_ext
13297 cat >>conftest.$ac_ext <<_ACEOF
13298 /* end confdefs.h. */
13299
13300 /* Override any gcc2 internal prototype to avoid an error. */
13301 #ifdef __cplusplus
13302 extern "C"
13303 #endif
13304 /* We use char because int might match the return type of a gcc2
13305 builtin and then its argument prototype would still apply. */
13306 char drand48 ();
13307 int
13308 main ()
13309 {
13310 drand48 ();
13311 ;
13312 return 0;
13313 }
13314 _ACEOF
13315 rm -f conftest.$ac_objext conftest$ac_exeext
13316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13317 (eval $ac_link) 2>conftest.er1
13318 ac_status=$?
13319 grep -v '^ *+' conftest.er1 >conftest.err
13320 rm -f conftest.er1
13321 cat conftest.err >&5
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); } &&
13324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13326 (eval $ac_try) 2>&5
13327 ac_status=$?
13328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329 (exit $ac_status); }; } &&
13330 { ac_try='test -s conftest$ac_exeext'
13331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13332 (eval $ac_try) 2>&5
13333 ac_status=$?
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); }; }; then
13336 ac_cv_lib_cExt_drand48=yes
13337 else
13338 echo "$as_me: failed program was:" >&5
13339 sed 's/^/| /' conftest.$ac_ext >&5
13340
13341 ac_cv_lib_cExt_drand48=no
13342 fi
13343 rm -f conftest.err conftest.$ac_objext \
13344 conftest$ac_exeext conftest.$ac_ext
13345 LIBS=$ac_check_lib_save_LIBS
13346 fi
13347 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13348 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13349 if test $ac_cv_lib_cExt_drand48 = yes; then
13350 LIBS="$LIBS -lcExt"
13351 fi
13352
13353 else
13354 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
13355 fi
13356 echo "$as_me:$LINENO: checking for gcc version" >&5
13357 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
13358 if test "${wx_cv_gccversion+set}" = set; then
13359 echo $ECHO_N "(cached) $ECHO_C" >&6
13360 else
13361
13362 if test "$cross_compiling" = yes; then
13363 wx_cv_gccversion="EMX2"
13364
13365 else
13366 cat >conftest.$ac_ext <<_ACEOF
13367 /* confdefs.h. */
13368 _ACEOF
13369 cat confdefs.h >>conftest.$ac_ext
13370 cat >>conftest.$ac_ext <<_ACEOF
13371 /* end confdefs.h. */
13372
13373 #include <stdio.h>
13374
13375 int main()
13376 {
13377 FILE *f=fopen("conftestval", "w");
13378 if (!f) exit(1);
13379 fprintf(f,
13380 #if (__GNUC__ < 3)
13381 "EMX2"
13382 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13383 "EMX3"
13384 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13385 "Innotek5"
13386 #else
13387 "Innotek6"
13388 #endif
13389 );
13390 exit(0);
13391 }
13392
13393 _ACEOF
13394 rm -f conftest$ac_exeext
13395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13396 (eval $ac_link) 2>&5
13397 ac_status=$?
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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 wx_cv_gccversion=`cat conftestval`
13406 else
13407 echo "$as_me: program exited with status $ac_status" >&5
13408 echo "$as_me: failed program was:" >&5
13409 sed 's/^/| /' conftest.$ac_ext >&5
13410
13411 ( exit $ac_status )
13412 wx_cv_gccversion="EMX2"
13413 fi
13414 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13415 fi
13416
13417 fi
13418 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13419 echo "${ECHO_T}$wx_cv_gccversion" >&6
13420 if test "$wx_cv_gccversion" = "EMX2"; then
13421 LIBS="$LIBS -lstdcpp"
13422 LDFLAGS="$LDFLAGS -Zsysv-signals"
13423 else
13424 if test "$wx_cv_gccversion" = "EMX3"; then
13425 LIBS="$LIBS -lstdcxx"
13426 LDFLAGS="$LDFLAGS -Zsysv-signals"
13427 else
13428 LIBS="$LIBS -lstdc++"
13429 fi
13430 fi
13431 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13432 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13433 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13434 wxUSE_OMF=yes
13435 enable_omf=yes
13436 fi
13437 if test "$wxUSE_OMF" = "yes"; then
13438 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK -Zlinker /PMTYPE:PM"
13439 fi
13440 ;;
13441 *)
13442
13443
13444
13445 ac_ext=cc
13446 ac_cpp='$CXXCPP $CPPFLAGS'
13447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13450
13451
13452 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13453 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13454 if test "${ac_cv_string_strcasecmp+set}" = set; then
13455 echo $ECHO_N "(cached) $ECHO_C" >&6
13456 else
13457
13458 cat >conftest.$ac_ext <<_ACEOF
13459 /* confdefs.h. */
13460 _ACEOF
13461 cat confdefs.h >>conftest.$ac_ext
13462 cat >>conftest.$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13464
13465 #include <string.h>
13466
13467 int
13468 main ()
13469 {
13470
13471 strcasecmp("foo", "bar");
13472
13473 ;
13474 return 0;
13475 }
13476 _ACEOF
13477 rm -f conftest.$ac_objext conftest$ac_exeext
13478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13479 (eval $ac_link) 2>conftest.er1
13480 ac_status=$?
13481 grep -v '^ *+' conftest.er1 >conftest.err
13482 rm -f conftest.er1
13483 cat conftest.err >&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); } &&
13486 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13488 (eval $ac_try) 2>&5
13489 ac_status=$?
13490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491 (exit $ac_status); }; } &&
13492 { ac_try='test -s conftest$ac_exeext'
13493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13494 (eval $ac_try) 2>&5
13495 ac_status=$?
13496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13497 (exit $ac_status); }; }; then
13498 ac_cv_string_strcasecmp=yes
13499 else
13500 echo "$as_me: failed program was:" >&5
13501 sed 's/^/| /' conftest.$ac_ext >&5
13502
13503 ac_cv_string_strcasecmp=no
13504
13505 fi
13506 rm -f conftest.err conftest.$ac_objext \
13507 conftest$ac_exeext conftest.$ac_ext
13508
13509 fi
13510 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13511 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13512
13513 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
13514 cat >>confdefs.h <<\_ACEOF
13515 #define HAVE_STRCASECMP_IN_STRING_H 1
13516 _ACEOF
13517
13518 else
13519 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13520 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13521 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13522 echo $ECHO_N "(cached) $ECHO_C" >&6
13523 else
13524
13525 cat >conftest.$ac_ext <<_ACEOF
13526 /* confdefs.h. */
13527 _ACEOF
13528 cat confdefs.h >>conftest.$ac_ext
13529 cat >>conftest.$ac_ext <<_ACEOF
13530 /* end confdefs.h. */
13531
13532 #include <strings.h>
13533
13534 int
13535 main ()
13536 {
13537
13538 strcasecmp("foo", "bar");
13539
13540 ;
13541 return 0;
13542 }
13543 _ACEOF
13544 rm -f conftest.$ac_objext conftest$ac_exeext
13545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13546 (eval $ac_link) 2>conftest.er1
13547 ac_status=$?
13548 grep -v '^ *+' conftest.er1 >conftest.err
13549 rm -f conftest.er1
13550 cat conftest.err >&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } &&
13553 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13555 (eval $ac_try) 2>&5
13556 ac_status=$?
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); }; } &&
13559 { ac_try='test -s conftest$ac_exeext'
13560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561 (eval $ac_try) 2>&5
13562 ac_status=$?
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); }; }; then
13565 ac_cv_strings_strcasecmp=yes
13566 else
13567 echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.$ac_ext >&5
13569
13570 ac_cv_strings_strcasecmp=no
13571
13572 fi
13573 rm -f conftest.err conftest.$ac_objext \
13574 conftest$ac_exeext conftest.$ac_ext
13575
13576 fi
13577 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13578 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13579
13580 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
13581 cat >>confdefs.h <<\_ACEOF
13582 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13583 _ACEOF
13584
13585 else
13586 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13587 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13588 { (exit 1); exit 1; }; }
13589 fi
13590 fi
13591
13592 ac_ext=c
13593 ac_cpp='$CPP $CPPFLAGS'
13594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13597
13598 ;;
13599 esac
13600
13601
13602 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13603 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13604 if test "${ac_cv_header_stdc+set}" = set; then
13605 echo $ECHO_N "(cached) $ECHO_C" >&6
13606 else
13607 cat >conftest.$ac_ext <<_ACEOF
13608 /* confdefs.h. */
13609 _ACEOF
13610 cat confdefs.h >>conftest.$ac_ext
13611 cat >>conftest.$ac_ext <<_ACEOF
13612 /* end confdefs.h. */
13613 #include <stdlib.h>
13614 #include <stdarg.h>
13615 #include <string.h>
13616 #include <float.h>
13617
13618 int
13619 main ()
13620 {
13621
13622 ;
13623 return 0;
13624 }
13625 _ACEOF
13626 rm -f conftest.$ac_objext
13627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13628 (eval $ac_compile) 2>conftest.er1
13629 ac_status=$?
13630 grep -v '^ *+' conftest.er1 >conftest.err
13631 rm -f conftest.er1
13632 cat conftest.err >&5
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); } &&
13635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13637 (eval $ac_try) 2>&5
13638 ac_status=$?
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); }; } &&
13641 { ac_try='test -s conftest.$ac_objext'
13642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13643 (eval $ac_try) 2>&5
13644 ac_status=$?
13645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13646 (exit $ac_status); }; }; then
13647 ac_cv_header_stdc=yes
13648 else
13649 echo "$as_me: failed program was:" >&5
13650 sed 's/^/| /' conftest.$ac_ext >&5
13651
13652 ac_cv_header_stdc=no
13653 fi
13654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13655
13656 if test $ac_cv_header_stdc = yes; then
13657 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13658 cat >conftest.$ac_ext <<_ACEOF
13659 /* confdefs.h. */
13660 _ACEOF
13661 cat confdefs.h >>conftest.$ac_ext
13662 cat >>conftest.$ac_ext <<_ACEOF
13663 /* end confdefs.h. */
13664 #include <string.h>
13665
13666 _ACEOF
13667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13668 $EGREP "memchr" >/dev/null 2>&1; then
13669 :
13670 else
13671 ac_cv_header_stdc=no
13672 fi
13673 rm -f conftest*
13674
13675 fi
13676
13677 if test $ac_cv_header_stdc = yes; then
13678 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13679 cat >conftest.$ac_ext <<_ACEOF
13680 /* confdefs.h. */
13681 _ACEOF
13682 cat confdefs.h >>conftest.$ac_ext
13683 cat >>conftest.$ac_ext <<_ACEOF
13684 /* end confdefs.h. */
13685 #include <stdlib.h>
13686
13687 _ACEOF
13688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13689 $EGREP "free" >/dev/null 2>&1; then
13690 :
13691 else
13692 ac_cv_header_stdc=no
13693 fi
13694 rm -f conftest*
13695
13696 fi
13697
13698 if test $ac_cv_header_stdc = yes; then
13699 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13700 if test "$cross_compiling" = yes; then
13701 :
13702 else
13703 cat >conftest.$ac_ext <<_ACEOF
13704 /* confdefs.h. */
13705 _ACEOF
13706 cat confdefs.h >>conftest.$ac_ext
13707 cat >>conftest.$ac_ext <<_ACEOF
13708 /* end confdefs.h. */
13709 #include <ctype.h>
13710 #if ((' ' & 0x0FF) == 0x020)
13711 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13712 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13713 #else
13714 # define ISLOWER(c) \
13715 (('a' <= (c) && (c) <= 'i') \
13716 || ('j' <= (c) && (c) <= 'r') \
13717 || ('s' <= (c) && (c) <= 'z'))
13718 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13719 #endif
13720
13721 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13722 int
13723 main ()
13724 {
13725 int i;
13726 for (i = 0; i < 256; i++)
13727 if (XOR (islower (i), ISLOWER (i))
13728 || toupper (i) != TOUPPER (i))
13729 exit(2);
13730 exit (0);
13731 }
13732 _ACEOF
13733 rm -f conftest$ac_exeext
13734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13735 (eval $ac_link) 2>&5
13736 ac_status=$?
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740 (eval $ac_try) 2>&5
13741 ac_status=$?
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }; }; then
13744 :
13745 else
13746 echo "$as_me: program exited with status $ac_status" >&5
13747 echo "$as_me: failed program was:" >&5
13748 sed 's/^/| /' conftest.$ac_ext >&5
13749
13750 ( exit $ac_status )
13751 ac_cv_header_stdc=no
13752 fi
13753 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13754 fi
13755 fi
13756 fi
13757 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13758 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13759 if test $ac_cv_header_stdc = yes; then
13760
13761 cat >>confdefs.h <<\_ACEOF
13762 #define STDC_HEADERS 1
13763 _ACEOF
13764
13765 fi
13766
13767 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13778 inttypes.h stdint.h unistd.h
13779 do
13780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13781 echo "$as_me:$LINENO: checking for $ac_header" >&5
13782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6
13785 else
13786 cat >conftest.$ac_ext <<_ACEOF
13787 /* confdefs.h. */
13788 _ACEOF
13789 cat confdefs.h >>conftest.$ac_ext
13790 cat >>conftest.$ac_ext <<_ACEOF
13791 /* end confdefs.h. */
13792 $ac_includes_default
13793
13794 #include <$ac_header>
13795 _ACEOF
13796 rm -f conftest.$ac_objext
13797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13798 (eval $ac_compile) 2>conftest.er1
13799 ac_status=$?
13800 grep -v '^ *+' conftest.er1 >conftest.err
13801 rm -f conftest.er1
13802 cat conftest.err >&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); } &&
13805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13807 (eval $ac_try) 2>&5
13808 ac_status=$?
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 (exit $ac_status); }; } &&
13811 { ac_try='test -s conftest.$ac_objext'
13812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13813 (eval $ac_try) 2>&5
13814 ac_status=$?
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); }; }; then
13817 eval "$as_ac_Header=yes"
13818 else
13819 echo "$as_me: failed program was:" >&5
13820 sed 's/^/| /' conftest.$ac_ext >&5
13821
13822 eval "$as_ac_Header=no"
13823 fi
13824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13825 fi
13826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13829 cat >>confdefs.h <<_ACEOF
13830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13831 _ACEOF
13832
13833 fi
13834
13835 done
13836
13837
13838
13839 for ac_header in stdlib.h
13840 do
13841 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13843 echo "$as_me:$LINENO: checking for $ac_header" >&5
13844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13847 fi
13848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13850 else
13851 # Is the header compilable?
13852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13854 cat >conftest.$ac_ext <<_ACEOF
13855 /* confdefs.h. */
13856 _ACEOF
13857 cat confdefs.h >>conftest.$ac_ext
13858 cat >>conftest.$ac_ext <<_ACEOF
13859 /* end confdefs.h. */
13860 $ac_includes_default
13861 #include <$ac_header>
13862 _ACEOF
13863 rm -f conftest.$ac_objext
13864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13865 (eval $ac_compile) 2>conftest.er1
13866 ac_status=$?
13867 grep -v '^ *+' conftest.er1 >conftest.err
13868 rm -f conftest.er1
13869 cat conftest.err >&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); } &&
13872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13874 (eval $ac_try) 2>&5
13875 ac_status=$?
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); }; } &&
13878 { ac_try='test -s conftest.$ac_objext'
13879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13880 (eval $ac_try) 2>&5
13881 ac_status=$?
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); }; }; then
13884 ac_header_compiler=yes
13885 else
13886 echo "$as_me: failed program was:" >&5
13887 sed 's/^/| /' conftest.$ac_ext >&5
13888
13889 ac_header_compiler=no
13890 fi
13891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13893 echo "${ECHO_T}$ac_header_compiler" >&6
13894
13895 # Is the header present?
13896 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13897 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13898 cat >conftest.$ac_ext <<_ACEOF
13899 /* confdefs.h. */
13900 _ACEOF
13901 cat confdefs.h >>conftest.$ac_ext
13902 cat >>conftest.$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13904 #include <$ac_header>
13905 _ACEOF
13906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13907 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13908 ac_status=$?
13909 grep -v '^ *+' conftest.er1 >conftest.err
13910 rm -f conftest.er1
13911 cat conftest.err >&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } >/dev/null; then
13914 if test -s conftest.err; then
13915 ac_cpp_err=$ac_c_preproc_warn_flag
13916 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13917 else
13918 ac_cpp_err=
13919 fi
13920 else
13921 ac_cpp_err=yes
13922 fi
13923 if test -z "$ac_cpp_err"; then
13924 ac_header_preproc=yes
13925 else
13926 echo "$as_me: failed program was:" >&5
13927 sed 's/^/| /' conftest.$ac_ext >&5
13928
13929 ac_header_preproc=no
13930 fi
13931 rm -f conftest.err conftest.$ac_ext
13932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13933 echo "${ECHO_T}$ac_header_preproc" >&6
13934
13935 # So? What about this header?
13936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13937 yes:no: )
13938 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13939 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13940 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13941 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13942 ac_header_preproc=yes
13943 ;;
13944 no:yes:* )
13945 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13946 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13947 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13948 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13949 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13950 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13951 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13952 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13955 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13956 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13957 (
13958 cat <<\_ASBOX
13959 ## ----------------------------------------- ##
13960 ## Report this to wx-dev@lists.wxwidgets.org ##
13961 ## ----------------------------------------- ##
13962 _ASBOX
13963 ) |
13964 sed "s/^/$as_me: WARNING: /" >&2
13965 ;;
13966 esac
13967 echo "$as_me:$LINENO: checking for $ac_header" >&5
13968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13970 echo $ECHO_N "(cached) $ECHO_C" >&6
13971 else
13972 eval "$as_ac_Header=\$ac_header_preproc"
13973 fi
13974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13976
13977 fi
13978 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13979 cat >>confdefs.h <<_ACEOF
13980 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13981 _ACEOF
13982
13983 fi
13984
13985 done
13986
13987
13988 for ac_header in malloc.h
13989 do
13990 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13992 echo "$as_me:$LINENO: checking for $ac_header" >&5
13993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13995 echo $ECHO_N "(cached) $ECHO_C" >&6
13996 fi
13997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13998 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13999 else
14000 # Is the header compilable?
14001 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14002 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14003 cat >conftest.$ac_ext <<_ACEOF
14004 /* confdefs.h. */
14005 _ACEOF
14006 cat confdefs.h >>conftest.$ac_ext
14007 cat >>conftest.$ac_ext <<_ACEOF
14008 /* end confdefs.h. */
14009 $ac_includes_default
14010 #include <$ac_header>
14011 _ACEOF
14012 rm -f conftest.$ac_objext
14013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14014 (eval $ac_compile) 2>conftest.er1
14015 ac_status=$?
14016 grep -v '^ *+' conftest.er1 >conftest.err
14017 rm -f conftest.er1
14018 cat conftest.err >&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); } &&
14021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14023 (eval $ac_try) 2>&5
14024 ac_status=$?
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; } &&
14027 { ac_try='test -s conftest.$ac_objext'
14028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14029 (eval $ac_try) 2>&5
14030 ac_status=$?
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); }; }; then
14033 ac_header_compiler=yes
14034 else
14035 echo "$as_me: failed program was:" >&5
14036 sed 's/^/| /' conftest.$ac_ext >&5
14037
14038 ac_header_compiler=no
14039 fi
14040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14042 echo "${ECHO_T}$ac_header_compiler" >&6
14043
14044 # Is the header present?
14045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14047 cat >conftest.$ac_ext <<_ACEOF
14048 /* confdefs.h. */
14049 _ACEOF
14050 cat confdefs.h >>conftest.$ac_ext
14051 cat >>conftest.$ac_ext <<_ACEOF
14052 /* end confdefs.h. */
14053 #include <$ac_header>
14054 _ACEOF
14055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14057 ac_status=$?
14058 grep -v '^ *+' conftest.er1 >conftest.err
14059 rm -f conftest.er1
14060 cat conftest.err >&5
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); } >/dev/null; then
14063 if test -s conftest.err; then
14064 ac_cpp_err=$ac_c_preproc_warn_flag
14065 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14066 else
14067 ac_cpp_err=
14068 fi
14069 else
14070 ac_cpp_err=yes
14071 fi
14072 if test -z "$ac_cpp_err"; then
14073 ac_header_preproc=yes
14074 else
14075 echo "$as_me: failed program was:" >&5
14076 sed 's/^/| /' conftest.$ac_ext >&5
14077
14078 ac_header_preproc=no
14079 fi
14080 rm -f conftest.err conftest.$ac_ext
14081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14082 echo "${ECHO_T}$ac_header_preproc" >&6
14083
14084 # So? What about this header?
14085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14086 yes:no: )
14087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14091 ac_header_preproc=yes
14092 ;;
14093 no:yes:* )
14094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14106 (
14107 cat <<\_ASBOX
14108 ## ----------------------------------------- ##
14109 ## Report this to wx-dev@lists.wxwidgets.org ##
14110 ## ----------------------------------------- ##
14111 _ASBOX
14112 ) |
14113 sed "s/^/$as_me: WARNING: /" >&2
14114 ;;
14115 esac
14116 echo "$as_me:$LINENO: checking for $ac_header" >&5
14117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14119 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 else
14121 eval "$as_ac_Header=\$ac_header_preproc"
14122 fi
14123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14125
14126 fi
14127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14128 cat >>confdefs.h <<_ACEOF
14129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14130 _ACEOF
14131
14132 fi
14133
14134 done
14135
14136
14137 for ac_header in unistd.h
14138 do
14139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14141 echo "$as_me:$LINENO: checking for $ac_header" >&5
14142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14144 echo $ECHO_N "(cached) $ECHO_C" >&6
14145 fi
14146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14148 else
14149 # Is the header compilable?
14150 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14152 cat >conftest.$ac_ext <<_ACEOF
14153 /* confdefs.h. */
14154 _ACEOF
14155 cat confdefs.h >>conftest.$ac_ext
14156 cat >>conftest.$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14158 $ac_includes_default
14159 #include <$ac_header>
14160 _ACEOF
14161 rm -f conftest.$ac_objext
14162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14163 (eval $ac_compile) 2>conftest.er1
14164 ac_status=$?
14165 grep -v '^ *+' conftest.er1 >conftest.err
14166 rm -f conftest.er1
14167 cat conftest.err >&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); } &&
14170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14172 (eval $ac_try) 2>&5
14173 ac_status=$?
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); }; } &&
14176 { ac_try='test -s conftest.$ac_objext'
14177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14178 (eval $ac_try) 2>&5
14179 ac_status=$?
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); }; }; then
14182 ac_header_compiler=yes
14183 else
14184 echo "$as_me: failed program was:" >&5
14185 sed 's/^/| /' conftest.$ac_ext >&5
14186
14187 ac_header_compiler=no
14188 fi
14189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14191 echo "${ECHO_T}$ac_header_compiler" >&6
14192
14193 # Is the header present?
14194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14196 cat >conftest.$ac_ext <<_ACEOF
14197 /* confdefs.h. */
14198 _ACEOF
14199 cat confdefs.h >>conftest.$ac_ext
14200 cat >>conftest.$ac_ext <<_ACEOF
14201 /* end confdefs.h. */
14202 #include <$ac_header>
14203 _ACEOF
14204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14206 ac_status=$?
14207 grep -v '^ *+' conftest.er1 >conftest.err
14208 rm -f conftest.er1
14209 cat conftest.err >&5
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); } >/dev/null; then
14212 if test -s conftest.err; then
14213 ac_cpp_err=$ac_c_preproc_warn_flag
14214 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14215 else
14216 ac_cpp_err=
14217 fi
14218 else
14219 ac_cpp_err=yes
14220 fi
14221 if test -z "$ac_cpp_err"; then
14222 ac_header_preproc=yes
14223 else
14224 echo "$as_me: failed program was:" >&5
14225 sed 's/^/| /' conftest.$ac_ext >&5
14226
14227 ac_header_preproc=no
14228 fi
14229 rm -f conftest.err conftest.$ac_ext
14230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14231 echo "${ECHO_T}$ac_header_preproc" >&6
14232
14233 # So? What about this header?
14234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14235 yes:no: )
14236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14240 ac_header_preproc=yes
14241 ;;
14242 no:yes:* )
14243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14255 (
14256 cat <<\_ASBOX
14257 ## ----------------------------------------- ##
14258 ## Report this to wx-dev@lists.wxwidgets.org ##
14259 ## ----------------------------------------- ##
14260 _ASBOX
14261 ) |
14262 sed "s/^/$as_me: WARNING: /" >&2
14263 ;;
14264 esac
14265 echo "$as_me:$LINENO: checking for $ac_header" >&5
14266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14268 echo $ECHO_N "(cached) $ECHO_C" >&6
14269 else
14270 eval "$as_ac_Header=\$ac_header_preproc"
14271 fi
14272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14274
14275 fi
14276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14277 cat >>confdefs.h <<_ACEOF
14278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14279 _ACEOF
14280
14281 fi
14282
14283 done
14284
14285
14286 for ac_header in wchar.h
14287 do
14288 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14290 echo "$as_me:$LINENO: checking for $ac_header" >&5
14291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14293 echo $ECHO_N "(cached) $ECHO_C" >&6
14294 fi
14295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14297 else
14298 # Is the header compilable?
14299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14301 cat >conftest.$ac_ext <<_ACEOF
14302 /* confdefs.h. */
14303 _ACEOF
14304 cat confdefs.h >>conftest.$ac_ext
14305 cat >>conftest.$ac_ext <<_ACEOF
14306 /* end confdefs.h. */
14307 $ac_includes_default
14308 #include <$ac_header>
14309 _ACEOF
14310 rm -f conftest.$ac_objext
14311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14312 (eval $ac_compile) 2>conftest.er1
14313 ac_status=$?
14314 grep -v '^ *+' conftest.er1 >conftest.err
14315 rm -f conftest.er1
14316 cat conftest.err >&5
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); } &&
14319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14321 (eval $ac_try) 2>&5
14322 ac_status=$?
14323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14324 (exit $ac_status); }; } &&
14325 { ac_try='test -s conftest.$ac_objext'
14326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14327 (eval $ac_try) 2>&5
14328 ac_status=$?
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }; }; then
14331 ac_header_compiler=yes
14332 else
14333 echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.$ac_ext >&5
14335
14336 ac_header_compiler=no
14337 fi
14338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14339 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14340 echo "${ECHO_T}$ac_header_compiler" >&6
14341
14342 # Is the header present?
14343 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14344 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14345 cat >conftest.$ac_ext <<_ACEOF
14346 /* confdefs.h. */
14347 _ACEOF
14348 cat confdefs.h >>conftest.$ac_ext
14349 cat >>conftest.$ac_ext <<_ACEOF
14350 /* end confdefs.h. */
14351 #include <$ac_header>
14352 _ACEOF
14353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14354 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14355 ac_status=$?
14356 grep -v '^ *+' conftest.er1 >conftest.err
14357 rm -f conftest.er1
14358 cat conftest.err >&5
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); } >/dev/null; then
14361 if test -s conftest.err; then
14362 ac_cpp_err=$ac_c_preproc_warn_flag
14363 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14364 else
14365 ac_cpp_err=
14366 fi
14367 else
14368 ac_cpp_err=yes
14369 fi
14370 if test -z "$ac_cpp_err"; then
14371 ac_header_preproc=yes
14372 else
14373 echo "$as_me: failed program was:" >&5
14374 sed 's/^/| /' conftest.$ac_ext >&5
14375
14376 ac_header_preproc=no
14377 fi
14378 rm -f conftest.err conftest.$ac_ext
14379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14380 echo "${ECHO_T}$ac_header_preproc" >&6
14381
14382 # So? What about this header?
14383 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14384 yes:no: )
14385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14388 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14389 ac_header_preproc=yes
14390 ;;
14391 no:yes:* )
14392 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14393 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14395 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14397 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14398 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14399 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14402 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14403 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14404 (
14405 cat <<\_ASBOX
14406 ## ----------------------------------------- ##
14407 ## Report this to wx-dev@lists.wxwidgets.org ##
14408 ## ----------------------------------------- ##
14409 _ASBOX
14410 ) |
14411 sed "s/^/$as_me: WARNING: /" >&2
14412 ;;
14413 esac
14414 echo "$as_me:$LINENO: checking for $ac_header" >&5
14415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14417 echo $ECHO_N "(cached) $ECHO_C" >&6
14418 else
14419 eval "$as_ac_Header=\$ac_header_preproc"
14420 fi
14421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14423
14424 fi
14425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14426 cat >>confdefs.h <<_ACEOF
14427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14428 _ACEOF
14429
14430 fi
14431
14432 done
14433
14434
14435 if test "$ac_cv_header_wchar_h" != "yes"; then
14436
14437 for ac_header in wcstr.h
14438 do
14439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14441 echo "$as_me:$LINENO: checking for $ac_header" >&5
14442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14444 echo $ECHO_N "(cached) $ECHO_C" >&6
14445 fi
14446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14448 else
14449 # Is the header compilable?
14450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14452 cat >conftest.$ac_ext <<_ACEOF
14453 /* confdefs.h. */
14454 _ACEOF
14455 cat confdefs.h >>conftest.$ac_ext
14456 cat >>conftest.$ac_ext <<_ACEOF
14457 /* end confdefs.h. */
14458 $ac_includes_default
14459 #include <$ac_header>
14460 _ACEOF
14461 rm -f conftest.$ac_objext
14462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14463 (eval $ac_compile) 2>conftest.er1
14464 ac_status=$?
14465 grep -v '^ *+' conftest.er1 >conftest.err
14466 rm -f conftest.er1
14467 cat conftest.err >&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); } &&
14470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14472 (eval $ac_try) 2>&5
14473 ac_status=$?
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }; } &&
14476 { ac_try='test -s conftest.$ac_objext'
14477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14478 (eval $ac_try) 2>&5
14479 ac_status=$?
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 (exit $ac_status); }; }; then
14482 ac_header_compiler=yes
14483 else
14484 echo "$as_me: failed program was:" >&5
14485 sed 's/^/| /' conftest.$ac_ext >&5
14486
14487 ac_header_compiler=no
14488 fi
14489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14491 echo "${ECHO_T}$ac_header_compiler" >&6
14492
14493 # Is the header present?
14494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14496 cat >conftest.$ac_ext <<_ACEOF
14497 /* confdefs.h. */
14498 _ACEOF
14499 cat confdefs.h >>conftest.$ac_ext
14500 cat >>conftest.$ac_ext <<_ACEOF
14501 /* end confdefs.h. */
14502 #include <$ac_header>
14503 _ACEOF
14504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14506 ac_status=$?
14507 grep -v '^ *+' conftest.er1 >conftest.err
14508 rm -f conftest.er1
14509 cat conftest.err >&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); } >/dev/null; then
14512 if test -s conftest.err; then
14513 ac_cpp_err=$ac_c_preproc_warn_flag
14514 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14515 else
14516 ac_cpp_err=
14517 fi
14518 else
14519 ac_cpp_err=yes
14520 fi
14521 if test -z "$ac_cpp_err"; then
14522 ac_header_preproc=yes
14523 else
14524 echo "$as_me: failed program was:" >&5
14525 sed 's/^/| /' conftest.$ac_ext >&5
14526
14527 ac_header_preproc=no
14528 fi
14529 rm -f conftest.err conftest.$ac_ext
14530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14531 echo "${ECHO_T}$ac_header_preproc" >&6
14532
14533 # So? What about this header?
14534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14535 yes:no: )
14536 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14540 ac_header_preproc=yes
14541 ;;
14542 no:yes:* )
14543 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14544 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14545 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14546 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14548 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14550 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14553 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14554 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14555 (
14556 cat <<\_ASBOX
14557 ## ----------------------------------------- ##
14558 ## Report this to wx-dev@lists.wxwidgets.org ##
14559 ## ----------------------------------------- ##
14560 _ASBOX
14561 ) |
14562 sed "s/^/$as_me: WARNING: /" >&2
14563 ;;
14564 esac
14565 echo "$as_me:$LINENO: checking for $ac_header" >&5
14566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14568 echo $ECHO_N "(cached) $ECHO_C" >&6
14569 else
14570 eval "$as_ac_Header=\$ac_header_preproc"
14571 fi
14572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14574
14575 fi
14576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14577 cat >>confdefs.h <<_ACEOF
14578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14579 _ACEOF
14580
14581 fi
14582
14583 done
14584
14585 fi
14586
14587
14588 for ac_header in fnmatch.h
14589 do
14590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14592 echo "$as_me:$LINENO: checking for $ac_header" >&5
14593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14595 echo $ECHO_N "(cached) $ECHO_C" >&6
14596 fi
14597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14599 else
14600 # Is the header compilable?
14601 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14603 cat >conftest.$ac_ext <<_ACEOF
14604 /* confdefs.h. */
14605 _ACEOF
14606 cat confdefs.h >>conftest.$ac_ext
14607 cat >>conftest.$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14609 $ac_includes_default
14610 #include <$ac_header>
14611 _ACEOF
14612 rm -f conftest.$ac_objext
14613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14614 (eval $ac_compile) 2>conftest.er1
14615 ac_status=$?
14616 grep -v '^ *+' conftest.er1 >conftest.err
14617 rm -f conftest.er1
14618 cat conftest.err >&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); } &&
14621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14623 (eval $ac_try) 2>&5
14624 ac_status=$?
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }; } &&
14627 { ac_try='test -s conftest.$ac_objext'
14628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14629 (eval $ac_try) 2>&5
14630 ac_status=$?
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); }; }; then
14633 ac_header_compiler=yes
14634 else
14635 echo "$as_me: failed program was:" >&5
14636 sed 's/^/| /' conftest.$ac_ext >&5
14637
14638 ac_header_compiler=no
14639 fi
14640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14642 echo "${ECHO_T}$ac_header_compiler" >&6
14643
14644 # Is the header present?
14645 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14646 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14647 cat >conftest.$ac_ext <<_ACEOF
14648 /* confdefs.h. */
14649 _ACEOF
14650 cat confdefs.h >>conftest.$ac_ext
14651 cat >>conftest.$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14653 #include <$ac_header>
14654 _ACEOF
14655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14657 ac_status=$?
14658 grep -v '^ *+' conftest.er1 >conftest.err
14659 rm -f conftest.er1
14660 cat conftest.err >&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); } >/dev/null; then
14663 if test -s conftest.err; then
14664 ac_cpp_err=$ac_c_preproc_warn_flag
14665 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14666 else
14667 ac_cpp_err=
14668 fi
14669 else
14670 ac_cpp_err=yes
14671 fi
14672 if test -z "$ac_cpp_err"; then
14673 ac_header_preproc=yes
14674 else
14675 echo "$as_me: failed program was:" >&5
14676 sed 's/^/| /' conftest.$ac_ext >&5
14677
14678 ac_header_preproc=no
14679 fi
14680 rm -f conftest.err conftest.$ac_ext
14681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14682 echo "${ECHO_T}$ac_header_preproc" >&6
14683
14684 # So? What about this header?
14685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14686 yes:no: )
14687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14690 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14691 ac_header_preproc=yes
14692 ;;
14693 no:yes:* )
14694 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14696 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14698 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14699 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14700 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14701 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14704 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14705 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14706 (
14707 cat <<\_ASBOX
14708 ## ----------------------------------------- ##
14709 ## Report this to wx-dev@lists.wxwidgets.org ##
14710 ## ----------------------------------------- ##
14711 _ASBOX
14712 ) |
14713 sed "s/^/$as_me: WARNING: /" >&2
14714 ;;
14715 esac
14716 echo "$as_me:$LINENO: checking for $ac_header" >&5
14717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14719 echo $ECHO_N "(cached) $ECHO_C" >&6
14720 else
14721 eval "$as_ac_Header=\$ac_header_preproc"
14722 fi
14723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14725
14726 fi
14727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14728 cat >>confdefs.h <<_ACEOF
14729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14730 _ACEOF
14731
14732 fi
14733
14734 done
14735
14736
14737 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14738
14739 for ac_func in fnmatch
14740 do
14741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14742 echo "$as_me:$LINENO: checking for $ac_func" >&5
14743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14744 if eval "test \"\${$as_ac_var+set}\" = set"; then
14745 echo $ECHO_N "(cached) $ECHO_C" >&6
14746 else
14747 cat >conftest.$ac_ext <<_ACEOF
14748 /* confdefs.h. */
14749 _ACEOF
14750 cat confdefs.h >>conftest.$ac_ext
14751 cat >>conftest.$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14755 #define $ac_func innocuous_$ac_func
14756
14757 /* System header to define __stub macros and hopefully few prototypes,
14758 which can conflict with char $ac_func (); below.
14759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14760 <limits.h> exists even on freestanding compilers. */
14761
14762 #ifdef __STDC__
14763 # include <limits.h>
14764 #else
14765 # include <assert.h>
14766 #endif
14767
14768 #undef $ac_func
14769
14770 /* Override any gcc2 internal prototype to avoid an error. */
14771 #ifdef __cplusplus
14772 extern "C"
14773 {
14774 #endif
14775 /* We use char because int might match the return type of a gcc2
14776 builtin and then its argument prototype would still apply. */
14777 char $ac_func ();
14778 /* The GNU C library defines this for functions which it implements
14779 to always fail with ENOSYS. Some functions are actually named
14780 something starting with __ and the normal name is an alias. */
14781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14782 choke me
14783 #else
14784 char (*f) () = $ac_func;
14785 #endif
14786 #ifdef __cplusplus
14787 }
14788 #endif
14789
14790 int
14791 main ()
14792 {
14793 return f != $ac_func;
14794 ;
14795 return 0;
14796 }
14797 _ACEOF
14798 rm -f conftest.$ac_objext conftest$ac_exeext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14800 (eval $ac_link) 2>conftest.er1
14801 ac_status=$?
14802 grep -v '^ *+' conftest.er1 >conftest.err
14803 rm -f conftest.er1
14804 cat conftest.err >&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14810 ac_status=$?
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; } &&
14813 { ac_try='test -s conftest$ac_exeext'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14816 ac_status=$?
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; }; then
14819 eval "$as_ac_var=yes"
14820 else
14821 echo "$as_me: failed program was:" >&5
14822 sed 's/^/| /' conftest.$ac_ext >&5
14823
14824 eval "$as_ac_var=no"
14825 fi
14826 rm -f conftest.err conftest.$ac_objext \
14827 conftest$ac_exeext conftest.$ac_ext
14828 fi
14829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14831 if test `eval echo '${'$as_ac_var'}'` = yes; then
14832 cat >>confdefs.h <<_ACEOF
14833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14834 _ACEOF
14835
14836 fi
14837 done
14838
14839 fi
14840
14841
14842 for ac_header in langinfo.h
14843 do
14844 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14846 echo "$as_me:$LINENO: checking for $ac_header" >&5
14847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14849 echo $ECHO_N "(cached) $ECHO_C" >&6
14850 fi
14851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14853 else
14854 # Is the header compilable?
14855 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14856 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14857 cat >conftest.$ac_ext <<_ACEOF
14858 /* confdefs.h. */
14859 _ACEOF
14860 cat confdefs.h >>conftest.$ac_ext
14861 cat >>conftest.$ac_ext <<_ACEOF
14862 /* end confdefs.h. */
14863 $ac_includes_default
14864 #include <$ac_header>
14865 _ACEOF
14866 rm -f conftest.$ac_objext
14867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14868 (eval $ac_compile) 2>conftest.er1
14869 ac_status=$?
14870 grep -v '^ *+' conftest.er1 >conftest.err
14871 rm -f conftest.er1
14872 cat conftest.err >&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); } &&
14875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14877 (eval $ac_try) 2>&5
14878 ac_status=$?
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; } &&
14881 { ac_try='test -s conftest.$ac_objext'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14884 ac_status=$?
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; }; then
14887 ac_header_compiler=yes
14888 else
14889 echo "$as_me: failed program was:" >&5
14890 sed 's/^/| /' conftest.$ac_ext >&5
14891
14892 ac_header_compiler=no
14893 fi
14894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14896 echo "${ECHO_T}$ac_header_compiler" >&6
14897
14898 # Is the header present?
14899 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14900 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14901 cat >conftest.$ac_ext <<_ACEOF
14902 /* confdefs.h. */
14903 _ACEOF
14904 cat confdefs.h >>conftest.$ac_ext
14905 cat >>conftest.$ac_ext <<_ACEOF
14906 /* end confdefs.h. */
14907 #include <$ac_header>
14908 _ACEOF
14909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14910 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14911 ac_status=$?
14912 grep -v '^ *+' conftest.er1 >conftest.err
14913 rm -f conftest.er1
14914 cat conftest.err >&5
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); } >/dev/null; then
14917 if test -s conftest.err; then
14918 ac_cpp_err=$ac_c_preproc_warn_flag
14919 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14920 else
14921 ac_cpp_err=
14922 fi
14923 else
14924 ac_cpp_err=yes
14925 fi
14926 if test -z "$ac_cpp_err"; then
14927 ac_header_preproc=yes
14928 else
14929 echo "$as_me: failed program was:" >&5
14930 sed 's/^/| /' conftest.$ac_ext >&5
14931
14932 ac_header_preproc=no
14933 fi
14934 rm -f conftest.err conftest.$ac_ext
14935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14936 echo "${ECHO_T}$ac_header_preproc" >&6
14937
14938 # So? What about this header?
14939 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14940 yes:no: )
14941 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14942 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14944 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14945 ac_header_preproc=yes
14946 ;;
14947 no:yes:* )
14948 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14949 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14950 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14951 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14952 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14953 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14954 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14955 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14957 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14958 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14959 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14960 (
14961 cat <<\_ASBOX
14962 ## ----------------------------------------- ##
14963 ## Report this to wx-dev@lists.wxwidgets.org ##
14964 ## ----------------------------------------- ##
14965 _ASBOX
14966 ) |
14967 sed "s/^/$as_me: WARNING: /" >&2
14968 ;;
14969 esac
14970 echo "$as_me:$LINENO: checking for $ac_header" >&5
14971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14973 echo $ECHO_N "(cached) $ECHO_C" >&6
14974 else
14975 eval "$as_ac_Header=\$ac_header_preproc"
14976 fi
14977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14979
14980 fi
14981 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14982 cat >>confdefs.h <<_ACEOF
14983 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14984 _ACEOF
14985
14986 fi
14987
14988 done
14989
14990
14991 case "${host}" in
14992 *-pc-os2_emx | *-pc-os2-emx )
14993 if test $ac_cv_header_langinfo_h = "yes" \
14994 -a \( "$wx_cv_gccversion" = "EMX2" \
14995 -o "$wx_cv_gccversion" = "EMX3" \
14996 -o "$wx_cv_gccversion" = "Innotek5" \); then
14997 LIBS="$LIBS -lintl"
14998 fi
14999 ;;
15000 esac
15001
15002 if test "$wxUSE_GUI" = "yes"; then
15003 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15004
15005 for ac_header in X11/Xlib.h
15006 do
15007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15009 echo "$as_me:$LINENO: checking for $ac_header" >&5
15010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15012 echo $ECHO_N "(cached) $ECHO_C" >&6
15013 fi
15014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15016 else
15017 # Is the header compilable?
15018 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15019 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15020 cat >conftest.$ac_ext <<_ACEOF
15021 /* confdefs.h. */
15022 _ACEOF
15023 cat confdefs.h >>conftest.$ac_ext
15024 cat >>conftest.$ac_ext <<_ACEOF
15025 /* end confdefs.h. */
15026 $ac_includes_default
15027 #include <$ac_header>
15028 _ACEOF
15029 rm -f conftest.$ac_objext
15030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15031 (eval $ac_compile) 2>conftest.er1
15032 ac_status=$?
15033 grep -v '^ *+' conftest.er1 >conftest.err
15034 rm -f conftest.er1
15035 cat conftest.err >&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15041 ac_status=$?
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; } &&
15044 { ac_try='test -s conftest.$ac_objext'
15045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15046 (eval $ac_try) 2>&5
15047 ac_status=$?
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); }; }; then
15050 ac_header_compiler=yes
15051 else
15052 echo "$as_me: failed program was:" >&5
15053 sed 's/^/| /' conftest.$ac_ext >&5
15054
15055 ac_header_compiler=no
15056 fi
15057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15058 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15059 echo "${ECHO_T}$ac_header_compiler" >&6
15060
15061 # Is the header present?
15062 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15063 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15064 cat >conftest.$ac_ext <<_ACEOF
15065 /* confdefs.h. */
15066 _ACEOF
15067 cat confdefs.h >>conftest.$ac_ext
15068 cat >>conftest.$ac_ext <<_ACEOF
15069 /* end confdefs.h. */
15070 #include <$ac_header>
15071 _ACEOF
15072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15073 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15074 ac_status=$?
15075 grep -v '^ *+' conftest.er1 >conftest.err
15076 rm -f conftest.er1
15077 cat conftest.err >&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); } >/dev/null; then
15080 if test -s conftest.err; then
15081 ac_cpp_err=$ac_c_preproc_warn_flag
15082 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15083 else
15084 ac_cpp_err=
15085 fi
15086 else
15087 ac_cpp_err=yes
15088 fi
15089 if test -z "$ac_cpp_err"; then
15090 ac_header_preproc=yes
15091 else
15092 echo "$as_me: failed program was:" >&5
15093 sed 's/^/| /' conftest.$ac_ext >&5
15094
15095 ac_header_preproc=no
15096 fi
15097 rm -f conftest.err conftest.$ac_ext
15098 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15099 echo "${ECHO_T}$ac_header_preproc" >&6
15100
15101 # So? What about this header?
15102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15103 yes:no: )
15104 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15105 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15107 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15108 ac_header_preproc=yes
15109 ;;
15110 no:yes:* )
15111 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15112 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15113 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15114 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15115 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15116 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15117 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15118 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15120 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15121 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15122 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15123 (
15124 cat <<\_ASBOX
15125 ## ----------------------------------------- ##
15126 ## Report this to wx-dev@lists.wxwidgets.org ##
15127 ## ----------------------------------------- ##
15128 _ASBOX
15129 ) |
15130 sed "s/^/$as_me: WARNING: /" >&2
15131 ;;
15132 esac
15133 echo "$as_me:$LINENO: checking for $ac_header" >&5
15134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15137 else
15138 eval "$as_ac_Header=\$ac_header_preproc"
15139 fi
15140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15142
15143 fi
15144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15145 cat >>confdefs.h <<_ACEOF
15146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15147 _ACEOF
15148
15149 fi
15150
15151 done
15152
15153
15154 for ac_header in X11/XKBlib.h
15155 do
15156 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15157 echo "$as_me:$LINENO: checking for $ac_header" >&5
15158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15160 echo $ECHO_N "(cached) $ECHO_C" >&6
15161 else
15162 cat >conftest.$ac_ext <<_ACEOF
15163 /* confdefs.h. */
15164 _ACEOF
15165 cat confdefs.h >>conftest.$ac_ext
15166 cat >>conftest.$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15168
15169 #if HAVE_X11_XLIB_H
15170 #include <X11/Xlib.h>
15171 #endif
15172
15173
15174 #include <$ac_header>
15175 _ACEOF
15176 rm -f conftest.$ac_objext
15177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15178 (eval $ac_compile) 2>conftest.er1
15179 ac_status=$?
15180 grep -v '^ *+' conftest.er1 >conftest.err
15181 rm -f conftest.er1
15182 cat conftest.err >&5
15183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15184 (exit $ac_status); } &&
15185 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15191 { ac_try='test -s conftest.$ac_objext'
15192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15193 (eval $ac_try) 2>&5
15194 ac_status=$?
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); }; }; then
15197 eval "$as_ac_Header=yes"
15198 else
15199 echo "$as_me: failed program was:" >&5
15200 sed 's/^/| /' conftest.$ac_ext >&5
15201
15202 eval "$as_ac_Header=no"
15203 fi
15204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15205 fi
15206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15209 cat >>confdefs.h <<_ACEOF
15210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15211 _ACEOF
15212
15213 fi
15214
15215 done
15216
15217 fi
15218 fi
15219
15220
15221 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15222 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15223 if test "${ac_cv_c_const+set}" = set; then
15224 echo $ECHO_N "(cached) $ECHO_C" >&6
15225 else
15226 cat >conftest.$ac_ext <<_ACEOF
15227 /* confdefs.h. */
15228 _ACEOF
15229 cat confdefs.h >>conftest.$ac_ext
15230 cat >>conftest.$ac_ext <<_ACEOF
15231 /* end confdefs.h. */
15232
15233 int
15234 main ()
15235 {
15236 /* FIXME: Include the comments suggested by Paul. */
15237 #ifndef __cplusplus
15238 /* Ultrix mips cc rejects this. */
15239 typedef int charset[2];
15240 const charset x;
15241 /* SunOS 4.1.1 cc rejects this. */
15242 char const *const *ccp;
15243 char **p;
15244 /* NEC SVR4.0.2 mips cc rejects this. */
15245 struct point {int x, y;};
15246 static struct point const zero = {0,0};
15247 /* AIX XL C 1.02.0.0 rejects this.
15248 It does not let you subtract one const X* pointer from another in
15249 an arm of an if-expression whose if-part is not a constant
15250 expression */
15251 const char *g = "string";
15252 ccp = &g + (g ? g-g : 0);
15253 /* HPUX 7.0 cc rejects these. */
15254 ++ccp;
15255 p = (char**) ccp;
15256 ccp = (char const *const *) p;
15257 { /* SCO 3.2v4 cc rejects this. */
15258 char *t;
15259 char const *s = 0 ? (char *) 0 : (char const *) 0;
15260
15261 *t++ = 0;
15262 }
15263 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15264 int x[] = {25, 17};
15265 const int *foo = &x[0];
15266 ++foo;
15267 }
15268 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15269 typedef const int *iptr;
15270 iptr p = 0;
15271 ++p;
15272 }
15273 { /* AIX XL C 1.02.0.0 rejects this saying
15274 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15275 struct s { int j; const int *ap[3]; };
15276 struct s *b; b->j = 5;
15277 }
15278 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15279 const int foo = 10;
15280 }
15281 #endif
15282
15283 ;
15284 return 0;
15285 }
15286 _ACEOF
15287 rm -f conftest.$ac_objext
15288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15289 (eval $ac_compile) 2>conftest.er1
15290 ac_status=$?
15291 grep -v '^ *+' conftest.er1 >conftest.err
15292 rm -f conftest.er1
15293 cat conftest.err >&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15298 (eval $ac_try) 2>&5
15299 ac_status=$?
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; } &&
15302 { ac_try='test -s conftest.$ac_objext'
15303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15304 (eval $ac_try) 2>&5
15305 ac_status=$?
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); }; }; then
15308 ac_cv_c_const=yes
15309 else
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.$ac_ext >&5
15312
15313 ac_cv_c_const=no
15314 fi
15315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15316 fi
15317 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15318 echo "${ECHO_T}$ac_cv_c_const" >&6
15319 if test $ac_cv_c_const = no; then
15320
15321 cat >>confdefs.h <<\_ACEOF
15322 #define const
15323 _ACEOF
15324
15325 fi
15326
15327 echo "$as_me:$LINENO: checking for inline" >&5
15328 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15329 if test "${ac_cv_c_inline+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15331 else
15332 ac_cv_c_inline=no
15333 for ac_kw in inline __inline__ __inline; do
15334 cat >conftest.$ac_ext <<_ACEOF
15335 /* confdefs.h. */
15336 _ACEOF
15337 cat confdefs.h >>conftest.$ac_ext
15338 cat >>conftest.$ac_ext <<_ACEOF
15339 /* end confdefs.h. */
15340 #ifndef __cplusplus
15341 typedef int foo_t;
15342 static $ac_kw foo_t static_foo () {return 0; }
15343 $ac_kw foo_t foo () {return 0; }
15344 #endif
15345
15346 _ACEOF
15347 rm -f conftest.$ac_objext
15348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15349 (eval $ac_compile) 2>conftest.er1
15350 ac_status=$?
15351 grep -v '^ *+' conftest.er1 >conftest.err
15352 rm -f conftest.er1
15353 cat conftest.err >&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); } &&
15356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15358 (eval $ac_try) 2>&5
15359 ac_status=$?
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); }; } &&
15362 { ac_try='test -s conftest.$ac_objext'
15363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15364 (eval $ac_try) 2>&5
15365 ac_status=$?
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); }; }; then
15368 ac_cv_c_inline=$ac_kw; break
15369 else
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15372
15373 fi
15374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15375 done
15376
15377 fi
15378 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15379 echo "${ECHO_T}$ac_cv_c_inline" >&6
15380
15381
15382 case $ac_cv_c_inline in
15383 inline | yes) ;;
15384 *)
15385 case $ac_cv_c_inline in
15386 no) ac_val=;;
15387 *) ac_val=$ac_cv_c_inline;;
15388 esac
15389 cat >>confdefs.h <<_ACEOF
15390 #ifndef __cplusplus
15391 #define inline $ac_val
15392 #endif
15393 _ACEOF
15394 ;;
15395 esac
15396
15397
15398 echo "$as_me:$LINENO: checking for char" >&5
15399 echo $ECHO_N "checking for char... $ECHO_C" >&6
15400 if test "${ac_cv_type_char+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15402 else
15403 cat >conftest.$ac_ext <<_ACEOF
15404 /* confdefs.h. */
15405 _ACEOF
15406 cat confdefs.h >>conftest.$ac_ext
15407 cat >>conftest.$ac_ext <<_ACEOF
15408 /* end confdefs.h. */
15409 $ac_includes_default
15410 int
15411 main ()
15412 {
15413 if ((char *) 0)
15414 return 0;
15415 if (sizeof (char))
15416 return 0;
15417 ;
15418 return 0;
15419 }
15420 _ACEOF
15421 rm -f conftest.$ac_objext
15422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15423 (eval $ac_compile) 2>conftest.er1
15424 ac_status=$?
15425 grep -v '^ *+' conftest.er1 >conftest.err
15426 rm -f conftest.er1
15427 cat conftest.err >&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); } &&
15430 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15432 (eval $ac_try) 2>&5
15433 ac_status=$?
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); }; } &&
15436 { ac_try='test -s conftest.$ac_objext'
15437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438 (eval $ac_try) 2>&5
15439 ac_status=$?
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); }; }; then
15442 ac_cv_type_char=yes
15443 else
15444 echo "$as_me: failed program was:" >&5
15445 sed 's/^/| /' conftest.$ac_ext >&5
15446
15447 ac_cv_type_char=no
15448 fi
15449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15450 fi
15451 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15452 echo "${ECHO_T}$ac_cv_type_char" >&6
15453
15454 echo "$as_me:$LINENO: checking size of char" >&5
15455 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15456 if test "${ac_cv_sizeof_char+set}" = set; then
15457 echo $ECHO_N "(cached) $ECHO_C" >&6
15458 else
15459 if test "$ac_cv_type_char" = yes; then
15460 # The cast to unsigned long works around a bug in the HP C Compiler
15461 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15462 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15463 # This bug is HP SR number 8606223364.
15464 if test "$cross_compiling" = yes; then
15465 # Depending upon the size, compute the lo and hi bounds.
15466 cat >conftest.$ac_ext <<_ACEOF
15467 /* confdefs.h. */
15468 _ACEOF
15469 cat confdefs.h >>conftest.$ac_ext
15470 cat >>conftest.$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15472 $ac_includes_default
15473 int
15474 main ()
15475 {
15476 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15477 test_array [0] = 0
15478
15479 ;
15480 return 0;
15481 }
15482 _ACEOF
15483 rm -f conftest.$ac_objext
15484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15485 (eval $ac_compile) 2>conftest.er1
15486 ac_status=$?
15487 grep -v '^ *+' conftest.er1 >conftest.err
15488 rm -f conftest.er1
15489 cat conftest.err >&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); } &&
15492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15494 (eval $ac_try) 2>&5
15495 ac_status=$?
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; } &&
15498 { ac_try='test -s conftest.$ac_objext'
15499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15500 (eval $ac_try) 2>&5
15501 ac_status=$?
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }; }; then
15504 ac_lo=0 ac_mid=0
15505 while :; do
15506 cat >conftest.$ac_ext <<_ACEOF
15507 /* confdefs.h. */
15508 _ACEOF
15509 cat confdefs.h >>conftest.$ac_ext
15510 cat >>conftest.$ac_ext <<_ACEOF
15511 /* end confdefs.h. */
15512 $ac_includes_default
15513 int
15514 main ()
15515 {
15516 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15517 test_array [0] = 0
15518
15519 ;
15520 return 0;
15521 }
15522 _ACEOF
15523 rm -f conftest.$ac_objext
15524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15525 (eval $ac_compile) 2>conftest.er1
15526 ac_status=$?
15527 grep -v '^ *+' conftest.er1 >conftest.err
15528 rm -f conftest.er1
15529 cat conftest.err >&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } &&
15532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15535 ac_status=$?
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; } &&
15538 { ac_try='test -s conftest.$ac_objext'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15541 ac_status=$?
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; }; then
15544 ac_hi=$ac_mid; break
15545 else
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.$ac_ext >&5
15548
15549 ac_lo=`expr $ac_mid + 1`
15550 if test $ac_lo -le $ac_mid; then
15551 ac_lo= ac_hi=
15552 break
15553 fi
15554 ac_mid=`expr 2 '*' $ac_mid + 1`
15555 fi
15556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15557 done
15558 else
15559 echo "$as_me: failed program was:" >&5
15560 sed 's/^/| /' conftest.$ac_ext >&5
15561
15562 cat >conftest.$ac_ext <<_ACEOF
15563 /* confdefs.h. */
15564 _ACEOF
15565 cat confdefs.h >>conftest.$ac_ext
15566 cat >>conftest.$ac_ext <<_ACEOF
15567 /* end confdefs.h. */
15568 $ac_includes_default
15569 int
15570 main ()
15571 {
15572 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15573 test_array [0] = 0
15574
15575 ;
15576 return 0;
15577 }
15578 _ACEOF
15579 rm -f conftest.$ac_objext
15580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15581 (eval $ac_compile) 2>conftest.er1
15582 ac_status=$?
15583 grep -v '^ *+' conftest.er1 >conftest.err
15584 rm -f conftest.er1
15585 cat conftest.err >&5
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); } &&
15588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15590 (eval $ac_try) 2>&5
15591 ac_status=$?
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; } &&
15594 { ac_try='test -s conftest.$ac_objext'
15595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15596 (eval $ac_try) 2>&5
15597 ac_status=$?
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); }; }; then
15600 ac_hi=-1 ac_mid=-1
15601 while :; do
15602 cat >conftest.$ac_ext <<_ACEOF
15603 /* confdefs.h. */
15604 _ACEOF
15605 cat confdefs.h >>conftest.$ac_ext
15606 cat >>conftest.$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15608 $ac_includes_default
15609 int
15610 main ()
15611 {
15612 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15613 test_array [0] = 0
15614
15615 ;
15616 return 0;
15617 }
15618 _ACEOF
15619 rm -f conftest.$ac_objext
15620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15621 (eval $ac_compile) 2>conftest.er1
15622 ac_status=$?
15623 grep -v '^ *+' conftest.er1 >conftest.err
15624 rm -f conftest.er1
15625 cat conftest.err >&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15630 (eval $ac_try) 2>&5
15631 ac_status=$?
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; } &&
15634 { ac_try='test -s conftest.$ac_objext'
15635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15636 (eval $ac_try) 2>&5
15637 ac_status=$?
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; }; then
15640 ac_lo=$ac_mid; break
15641 else
15642 echo "$as_me: failed program was:" >&5
15643 sed 's/^/| /' conftest.$ac_ext >&5
15644
15645 ac_hi=`expr '(' $ac_mid ')' - 1`
15646 if test $ac_mid -le $ac_hi; then
15647 ac_lo= ac_hi=
15648 break
15649 fi
15650 ac_mid=`expr 2 '*' $ac_mid`
15651 fi
15652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15653 done
15654 else
15655 echo "$as_me: failed program was:" >&5
15656 sed 's/^/| /' conftest.$ac_ext >&5
15657
15658 ac_lo= ac_hi=
15659 fi
15660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15661 fi
15662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15663 # Binary search between lo and hi bounds.
15664 while test "x$ac_lo" != "x$ac_hi"; do
15665 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15666 cat >conftest.$ac_ext <<_ACEOF
15667 /* confdefs.h. */
15668 _ACEOF
15669 cat confdefs.h >>conftest.$ac_ext
15670 cat >>conftest.$ac_ext <<_ACEOF
15671 /* end confdefs.h. */
15672 $ac_includes_default
15673 int
15674 main ()
15675 {
15676 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15677 test_array [0] = 0
15678
15679 ;
15680 return 0;
15681 }
15682 _ACEOF
15683 rm -f conftest.$ac_objext
15684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15685 (eval $ac_compile) 2>conftest.er1
15686 ac_status=$?
15687 grep -v '^ *+' conftest.er1 >conftest.err
15688 rm -f conftest.er1
15689 cat conftest.err >&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } &&
15692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15695 ac_status=$?
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; } &&
15698 { ac_try='test -s conftest.$ac_objext'
15699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15700 (eval $ac_try) 2>&5
15701 ac_status=$?
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); }; }; then
15704 ac_hi=$ac_mid
15705 else
15706 echo "$as_me: failed program was:" >&5
15707 sed 's/^/| /' conftest.$ac_ext >&5
15708
15709 ac_lo=`expr '(' $ac_mid ')' + 1`
15710 fi
15711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15712 done
15713 case $ac_lo in
15714 ?*) ac_cv_sizeof_char=$ac_lo;;
15715 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15716 See \`config.log' for more details." >&5
15717 echo "$as_me: error: cannot compute sizeof (char), 77
15718 See \`config.log' for more details." >&2;}
15719 { (exit 1); exit 1; }; } ;;
15720 esac
15721 else
15722 if test "$cross_compiling" = yes; then
15723 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15724 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15725 { (exit 1); exit 1; }; }
15726 else
15727 cat >conftest.$ac_ext <<_ACEOF
15728 /* confdefs.h. */
15729 _ACEOF
15730 cat confdefs.h >>conftest.$ac_ext
15731 cat >>conftest.$ac_ext <<_ACEOF
15732 /* end confdefs.h. */
15733 $ac_includes_default
15734 long longval () { return (long) (sizeof (char)); }
15735 unsigned long ulongval () { return (long) (sizeof (char)); }
15736 #include <stdio.h>
15737 #include <stdlib.h>
15738 int
15739 main ()
15740 {
15741
15742 FILE *f = fopen ("conftest.val", "w");
15743 if (! f)
15744 exit (1);
15745 if (((long) (sizeof (char))) < 0)
15746 {
15747 long i = longval ();
15748 if (i != ((long) (sizeof (char))))
15749 exit (1);
15750 fprintf (f, "%ld\n", i);
15751 }
15752 else
15753 {
15754 unsigned long i = ulongval ();
15755 if (i != ((long) (sizeof (char))))
15756 exit (1);
15757 fprintf (f, "%lu\n", i);
15758 }
15759 exit (ferror (f) || fclose (f) != 0);
15760
15761 ;
15762 return 0;
15763 }
15764 _ACEOF
15765 rm -f conftest$ac_exeext
15766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15767 (eval $ac_link) 2>&5
15768 ac_status=$?
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15773 ac_status=$?
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; }; then
15776 ac_cv_sizeof_char=`cat conftest.val`
15777 else
15778 echo "$as_me: program exited with status $ac_status" >&5
15779 echo "$as_me: failed program was:" >&5
15780 sed 's/^/| /' conftest.$ac_ext >&5
15781
15782 ( exit $ac_status )
15783 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15784 See \`config.log' for more details." >&5
15785 echo "$as_me: error: cannot compute sizeof (char), 77
15786 See \`config.log' for more details." >&2;}
15787 { (exit 1); exit 1; }; }
15788 fi
15789 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15790 fi
15791 fi
15792 rm -f conftest.val
15793 else
15794 ac_cv_sizeof_char=0
15795 fi
15796 fi
15797 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15798 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15799 cat >>confdefs.h <<_ACEOF
15800 #define SIZEOF_CHAR $ac_cv_sizeof_char
15801 _ACEOF
15802
15803
15804 echo "$as_me:$LINENO: checking for short" >&5
15805 echo $ECHO_N "checking for short... $ECHO_C" >&6
15806 if test "${ac_cv_type_short+set}" = set; then
15807 echo $ECHO_N "(cached) $ECHO_C" >&6
15808 else
15809 cat >conftest.$ac_ext <<_ACEOF
15810 /* confdefs.h. */
15811 _ACEOF
15812 cat confdefs.h >>conftest.$ac_ext
15813 cat >>conftest.$ac_ext <<_ACEOF
15814 /* end confdefs.h. */
15815 $ac_includes_default
15816 int
15817 main ()
15818 {
15819 if ((short *) 0)
15820 return 0;
15821 if (sizeof (short))
15822 return 0;
15823 ;
15824 return 0;
15825 }
15826 _ACEOF
15827 rm -f conftest.$ac_objext
15828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15829 (eval $ac_compile) 2>conftest.er1
15830 ac_status=$?
15831 grep -v '^ *+' conftest.er1 >conftest.err
15832 rm -f conftest.er1
15833 cat conftest.err >&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } &&
15836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15838 (eval $ac_try) 2>&5
15839 ac_status=$?
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); }; } &&
15842 { ac_try='test -s conftest.$ac_objext'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15845 ac_status=$?
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; }; then
15848 ac_cv_type_short=yes
15849 else
15850 echo "$as_me: failed program was:" >&5
15851 sed 's/^/| /' conftest.$ac_ext >&5
15852
15853 ac_cv_type_short=no
15854 fi
15855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15856 fi
15857 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15858 echo "${ECHO_T}$ac_cv_type_short" >&6
15859
15860 echo "$as_me:$LINENO: checking size of short" >&5
15861 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15862 if test "${ac_cv_sizeof_short+set}" = set; then
15863 echo $ECHO_N "(cached) $ECHO_C" >&6
15864 else
15865 if test "$ac_cv_type_short" = yes; then
15866 # The cast to unsigned long works around a bug in the HP C Compiler
15867 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15868 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15869 # This bug is HP SR number 8606223364.
15870 if test "$cross_compiling" = yes; then
15871 # Depending upon the size, compute the lo and hi bounds.
15872 cat >conftest.$ac_ext <<_ACEOF
15873 /* confdefs.h. */
15874 _ACEOF
15875 cat confdefs.h >>conftest.$ac_ext
15876 cat >>conftest.$ac_ext <<_ACEOF
15877 /* end confdefs.h. */
15878 $ac_includes_default
15879 int
15880 main ()
15881 {
15882 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15883 test_array [0] = 0
15884
15885 ;
15886 return 0;
15887 }
15888 _ACEOF
15889 rm -f conftest.$ac_objext
15890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15891 (eval $ac_compile) 2>conftest.er1
15892 ac_status=$?
15893 grep -v '^ *+' conftest.er1 >conftest.err
15894 rm -f conftest.er1
15895 cat conftest.err >&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } &&
15898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15901 ac_status=$?
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; } &&
15904 { ac_try='test -s conftest.$ac_objext'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15907 ac_status=$?
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; }; then
15910 ac_lo=0 ac_mid=0
15911 while :; do
15912 cat >conftest.$ac_ext <<_ACEOF
15913 /* confdefs.h. */
15914 _ACEOF
15915 cat confdefs.h >>conftest.$ac_ext
15916 cat >>conftest.$ac_ext <<_ACEOF
15917 /* end confdefs.h. */
15918 $ac_includes_default
15919 int
15920 main ()
15921 {
15922 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15923 test_array [0] = 0
15924
15925 ;
15926 return 0;
15927 }
15928 _ACEOF
15929 rm -f conftest.$ac_objext
15930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15931 (eval $ac_compile) 2>conftest.er1
15932 ac_status=$?
15933 grep -v '^ *+' conftest.er1 >conftest.err
15934 rm -f conftest.er1
15935 cat conftest.err >&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); } &&
15938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15940 (eval $ac_try) 2>&5
15941 ac_status=$?
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); }; } &&
15944 { ac_try='test -s conftest.$ac_objext'
15945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15946 (eval $ac_try) 2>&5
15947 ac_status=$?
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); }; }; then
15950 ac_hi=$ac_mid; break
15951 else
15952 echo "$as_me: failed program was:" >&5
15953 sed 's/^/| /' conftest.$ac_ext >&5
15954
15955 ac_lo=`expr $ac_mid + 1`
15956 if test $ac_lo -le $ac_mid; then
15957 ac_lo= ac_hi=
15958 break
15959 fi
15960 ac_mid=`expr 2 '*' $ac_mid + 1`
15961 fi
15962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15963 done
15964 else
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.$ac_ext >&5
15967
15968 cat >conftest.$ac_ext <<_ACEOF
15969 /* confdefs.h. */
15970 _ACEOF
15971 cat confdefs.h >>conftest.$ac_ext
15972 cat >>conftest.$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15974 $ac_includes_default
15975 int
15976 main ()
15977 {
15978 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15979 test_array [0] = 0
15980
15981 ;
15982 return 0;
15983 }
15984 _ACEOF
15985 rm -f conftest.$ac_objext
15986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15987 (eval $ac_compile) 2>conftest.er1
15988 ac_status=$?
15989 grep -v '^ *+' conftest.er1 >conftest.err
15990 rm -f conftest.er1
15991 cat conftest.err >&5
15992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15993 (exit $ac_status); } &&
15994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15996 (eval $ac_try) 2>&5
15997 ac_status=$?
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); }; } &&
16000 { ac_try='test -s conftest.$ac_objext'
16001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16002 (eval $ac_try) 2>&5
16003 ac_status=$?
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); }; }; then
16006 ac_hi=-1 ac_mid=-1
16007 while :; do
16008 cat >conftest.$ac_ext <<_ACEOF
16009 /* confdefs.h. */
16010 _ACEOF
16011 cat confdefs.h >>conftest.$ac_ext
16012 cat >>conftest.$ac_ext <<_ACEOF
16013 /* end confdefs.h. */
16014 $ac_includes_default
16015 int
16016 main ()
16017 {
16018 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16019 test_array [0] = 0
16020
16021 ;
16022 return 0;
16023 }
16024 _ACEOF
16025 rm -f conftest.$ac_objext
16026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16027 (eval $ac_compile) 2>conftest.er1
16028 ac_status=$?
16029 grep -v '^ *+' conftest.er1 >conftest.err
16030 rm -f conftest.er1
16031 cat conftest.err >&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); } &&
16034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16036 (eval $ac_try) 2>&5
16037 ac_status=$?
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); }; } &&
16040 { ac_try='test -s conftest.$ac_objext'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16043 ac_status=$?
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; }; then
16046 ac_lo=$ac_mid; break
16047 else
16048 echo "$as_me: failed program was:" >&5
16049 sed 's/^/| /' conftest.$ac_ext >&5
16050
16051 ac_hi=`expr '(' $ac_mid ')' - 1`
16052 if test $ac_mid -le $ac_hi; then
16053 ac_lo= ac_hi=
16054 break
16055 fi
16056 ac_mid=`expr 2 '*' $ac_mid`
16057 fi
16058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16059 done
16060 else
16061 echo "$as_me: failed program was:" >&5
16062 sed 's/^/| /' conftest.$ac_ext >&5
16063
16064 ac_lo= ac_hi=
16065 fi
16066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16067 fi
16068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16069 # Binary search between lo and hi bounds.
16070 while test "x$ac_lo" != "x$ac_hi"; do
16071 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16072 cat >conftest.$ac_ext <<_ACEOF
16073 /* confdefs.h. */
16074 _ACEOF
16075 cat confdefs.h >>conftest.$ac_ext
16076 cat >>conftest.$ac_ext <<_ACEOF
16077 /* end confdefs.h. */
16078 $ac_includes_default
16079 int
16080 main ()
16081 {
16082 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16083 test_array [0] = 0
16084
16085 ;
16086 return 0;
16087 }
16088 _ACEOF
16089 rm -f conftest.$ac_objext
16090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16091 (eval $ac_compile) 2>conftest.er1
16092 ac_status=$?
16093 grep -v '^ *+' conftest.er1 >conftest.err
16094 rm -f conftest.er1
16095 cat conftest.err >&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } &&
16098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16100 (eval $ac_try) 2>&5
16101 ac_status=$?
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); }; } &&
16104 { ac_try='test -s conftest.$ac_objext'
16105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16106 (eval $ac_try) 2>&5
16107 ac_status=$?
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); }; }; then
16110 ac_hi=$ac_mid
16111 else
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.$ac_ext >&5
16114
16115 ac_lo=`expr '(' $ac_mid ')' + 1`
16116 fi
16117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16118 done
16119 case $ac_lo in
16120 ?*) ac_cv_sizeof_short=$ac_lo;;
16121 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16122 See \`config.log' for more details." >&5
16123 echo "$as_me: error: cannot compute sizeof (short), 77
16124 See \`config.log' for more details." >&2;}
16125 { (exit 1); exit 1; }; } ;;
16126 esac
16127 else
16128 if test "$cross_compiling" = yes; then
16129 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16130 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16131 { (exit 1); exit 1; }; }
16132 else
16133 cat >conftest.$ac_ext <<_ACEOF
16134 /* confdefs.h. */
16135 _ACEOF
16136 cat confdefs.h >>conftest.$ac_ext
16137 cat >>conftest.$ac_ext <<_ACEOF
16138 /* end confdefs.h. */
16139 $ac_includes_default
16140 long longval () { return (long) (sizeof (short)); }
16141 unsigned long ulongval () { return (long) (sizeof (short)); }
16142 #include <stdio.h>
16143 #include <stdlib.h>
16144 int
16145 main ()
16146 {
16147
16148 FILE *f = fopen ("conftest.val", "w");
16149 if (! f)
16150 exit (1);
16151 if (((long) (sizeof (short))) < 0)
16152 {
16153 long i = longval ();
16154 if (i != ((long) (sizeof (short))))
16155 exit (1);
16156 fprintf (f, "%ld\n", i);
16157 }
16158 else
16159 {
16160 unsigned long i = ulongval ();
16161 if (i != ((long) (sizeof (short))))
16162 exit (1);
16163 fprintf (f, "%lu\n", i);
16164 }
16165 exit (ferror (f) || fclose (f) != 0);
16166
16167 ;
16168 return 0;
16169 }
16170 _ACEOF
16171 rm -f conftest$ac_exeext
16172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16173 (eval $ac_link) 2>&5
16174 ac_status=$?
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16178 (eval $ac_try) 2>&5
16179 ac_status=$?
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); }; }; then
16182 ac_cv_sizeof_short=`cat conftest.val`
16183 else
16184 echo "$as_me: program exited with status $ac_status" >&5
16185 echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.$ac_ext >&5
16187
16188 ( exit $ac_status )
16189 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16190 See \`config.log' for more details." >&5
16191 echo "$as_me: error: cannot compute sizeof (short), 77
16192 See \`config.log' for more details." >&2;}
16193 { (exit 1); exit 1; }; }
16194 fi
16195 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16196 fi
16197 fi
16198 rm -f conftest.val
16199 else
16200 ac_cv_sizeof_short=0
16201 fi
16202 fi
16203 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16204 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16205 cat >>confdefs.h <<_ACEOF
16206 #define SIZEOF_SHORT $ac_cv_sizeof_short
16207 _ACEOF
16208
16209
16210 echo "$as_me:$LINENO: checking for void *" >&5
16211 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16212 if test "${ac_cv_type_void_p+set}" = set; then
16213 echo $ECHO_N "(cached) $ECHO_C" >&6
16214 else
16215 cat >conftest.$ac_ext <<_ACEOF
16216 /* confdefs.h. */
16217 _ACEOF
16218 cat confdefs.h >>conftest.$ac_ext
16219 cat >>conftest.$ac_ext <<_ACEOF
16220 /* end confdefs.h. */
16221 $ac_includes_default
16222 int
16223 main ()
16224 {
16225 if ((void * *) 0)
16226 return 0;
16227 if (sizeof (void *))
16228 return 0;
16229 ;
16230 return 0;
16231 }
16232 _ACEOF
16233 rm -f conftest.$ac_objext
16234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16235 (eval $ac_compile) 2>conftest.er1
16236 ac_status=$?
16237 grep -v '^ *+' conftest.er1 >conftest.err
16238 rm -f conftest.er1
16239 cat conftest.err >&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16245 ac_status=$?
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try='test -s conftest.$ac_objext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16251 ac_status=$?
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16254 ac_cv_type_void_p=yes
16255 else
16256 echo "$as_me: failed program was:" >&5
16257 sed 's/^/| /' conftest.$ac_ext >&5
16258
16259 ac_cv_type_void_p=no
16260 fi
16261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16262 fi
16263 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16264 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16265
16266 echo "$as_me:$LINENO: checking size of void *" >&5
16267 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16268 if test "${ac_cv_sizeof_void_p+set}" = set; then
16269 echo $ECHO_N "(cached) $ECHO_C" >&6
16270 else
16271 if test "$ac_cv_type_void_p" = yes; then
16272 # The cast to unsigned long works around a bug in the HP C Compiler
16273 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16274 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16275 # This bug is HP SR number 8606223364.
16276 if test "$cross_compiling" = yes; then
16277 # Depending upon the size, compute the lo and hi bounds.
16278 cat >conftest.$ac_ext <<_ACEOF
16279 /* confdefs.h. */
16280 _ACEOF
16281 cat confdefs.h >>conftest.$ac_ext
16282 cat >>conftest.$ac_ext <<_ACEOF
16283 /* end confdefs.h. */
16284 $ac_includes_default
16285 int
16286 main ()
16287 {
16288 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16289 test_array [0] = 0
16290
16291 ;
16292 return 0;
16293 }
16294 _ACEOF
16295 rm -f conftest.$ac_objext
16296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16297 (eval $ac_compile) 2>conftest.er1
16298 ac_status=$?
16299 grep -v '^ *+' conftest.er1 >conftest.err
16300 rm -f conftest.er1
16301 cat conftest.err >&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); } &&
16304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16306 (eval $ac_try) 2>&5
16307 ac_status=$?
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); }; } &&
16310 { ac_try='test -s conftest.$ac_objext'
16311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16312 (eval $ac_try) 2>&5
16313 ac_status=$?
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); }; }; then
16316 ac_lo=0 ac_mid=0
16317 while :; do
16318 cat >conftest.$ac_ext <<_ACEOF
16319 /* confdefs.h. */
16320 _ACEOF
16321 cat confdefs.h >>conftest.$ac_ext
16322 cat >>conftest.$ac_ext <<_ACEOF
16323 /* end confdefs.h. */
16324 $ac_includes_default
16325 int
16326 main ()
16327 {
16328 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16329 test_array [0] = 0
16330
16331 ;
16332 return 0;
16333 }
16334 _ACEOF
16335 rm -f conftest.$ac_objext
16336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16337 (eval $ac_compile) 2>conftest.er1
16338 ac_status=$?
16339 grep -v '^ *+' conftest.er1 >conftest.err
16340 rm -f conftest.er1
16341 cat conftest.err >&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); } &&
16344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346 (eval $ac_try) 2>&5
16347 ac_status=$?
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }; } &&
16350 { ac_try='test -s conftest.$ac_objext'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16353 ac_status=$?
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; }; then
16356 ac_hi=$ac_mid; break
16357 else
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.$ac_ext >&5
16360
16361 ac_lo=`expr $ac_mid + 1`
16362 if test $ac_lo -le $ac_mid; then
16363 ac_lo= ac_hi=
16364 break
16365 fi
16366 ac_mid=`expr 2 '*' $ac_mid + 1`
16367 fi
16368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16369 done
16370 else
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.$ac_ext >&5
16373
16374 cat >conftest.$ac_ext <<_ACEOF
16375 /* confdefs.h. */
16376 _ACEOF
16377 cat confdefs.h >>conftest.$ac_ext
16378 cat >>conftest.$ac_ext <<_ACEOF
16379 /* end confdefs.h. */
16380 $ac_includes_default
16381 int
16382 main ()
16383 {
16384 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16385 test_array [0] = 0
16386
16387 ;
16388 return 0;
16389 }
16390 _ACEOF
16391 rm -f conftest.$ac_objext
16392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16393 (eval $ac_compile) 2>conftest.er1
16394 ac_status=$?
16395 grep -v '^ *+' conftest.er1 >conftest.err
16396 rm -f conftest.er1
16397 cat conftest.err >&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } &&
16400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16402 (eval $ac_try) 2>&5
16403 ac_status=$?
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); }; } &&
16406 { ac_try='test -s conftest.$ac_objext'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16409 ac_status=$?
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; }; then
16412 ac_hi=-1 ac_mid=-1
16413 while :; do
16414 cat >conftest.$ac_ext <<_ACEOF
16415 /* confdefs.h. */
16416 _ACEOF
16417 cat confdefs.h >>conftest.$ac_ext
16418 cat >>conftest.$ac_ext <<_ACEOF
16419 /* end confdefs.h. */
16420 $ac_includes_default
16421 int
16422 main ()
16423 {
16424 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16425 test_array [0] = 0
16426
16427 ;
16428 return 0;
16429 }
16430 _ACEOF
16431 rm -f conftest.$ac_objext
16432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16433 (eval $ac_compile) 2>conftest.er1
16434 ac_status=$?
16435 grep -v '^ *+' conftest.er1 >conftest.err
16436 rm -f conftest.er1
16437 cat conftest.err >&5
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); } &&
16440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16443 ac_status=$?
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; } &&
16446 { ac_try='test -s conftest.$ac_objext'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16449 ac_status=$?
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; }; then
16452 ac_lo=$ac_mid; break
16453 else
16454 echo "$as_me: failed program was:" >&5
16455 sed 's/^/| /' conftest.$ac_ext >&5
16456
16457 ac_hi=`expr '(' $ac_mid ')' - 1`
16458 if test $ac_mid -le $ac_hi; then
16459 ac_lo= ac_hi=
16460 break
16461 fi
16462 ac_mid=`expr 2 '*' $ac_mid`
16463 fi
16464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16465 done
16466 else
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.$ac_ext >&5
16469
16470 ac_lo= ac_hi=
16471 fi
16472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16473 fi
16474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16475 # Binary search between lo and hi bounds.
16476 while test "x$ac_lo" != "x$ac_hi"; do
16477 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16478 cat >conftest.$ac_ext <<_ACEOF
16479 /* confdefs.h. */
16480 _ACEOF
16481 cat confdefs.h >>conftest.$ac_ext
16482 cat >>conftest.$ac_ext <<_ACEOF
16483 /* end confdefs.h. */
16484 $ac_includes_default
16485 int
16486 main ()
16487 {
16488 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16489 test_array [0] = 0
16490
16491 ;
16492 return 0;
16493 }
16494 _ACEOF
16495 rm -f conftest.$ac_objext
16496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16497 (eval $ac_compile) 2>conftest.er1
16498 ac_status=$?
16499 grep -v '^ *+' conftest.er1 >conftest.err
16500 rm -f conftest.er1
16501 cat conftest.err >&5
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); } &&
16504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16506 (eval $ac_try) 2>&5
16507 ac_status=$?
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); }; } &&
16510 { ac_try='test -s conftest.$ac_objext'
16511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16512 (eval $ac_try) 2>&5
16513 ac_status=$?
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); }; }; then
16516 ac_hi=$ac_mid
16517 else
16518 echo "$as_me: failed program was:" >&5
16519 sed 's/^/| /' conftest.$ac_ext >&5
16520
16521 ac_lo=`expr '(' $ac_mid ')' + 1`
16522 fi
16523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16524 done
16525 case $ac_lo in
16526 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16527 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16528 See \`config.log' for more details." >&5
16529 echo "$as_me: error: cannot compute sizeof (void *), 77
16530 See \`config.log' for more details." >&2;}
16531 { (exit 1); exit 1; }; } ;;
16532 esac
16533 else
16534 if test "$cross_compiling" = yes; then
16535 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16536 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16537 { (exit 1); exit 1; }; }
16538 else
16539 cat >conftest.$ac_ext <<_ACEOF
16540 /* confdefs.h. */
16541 _ACEOF
16542 cat confdefs.h >>conftest.$ac_ext
16543 cat >>conftest.$ac_ext <<_ACEOF
16544 /* end confdefs.h. */
16545 $ac_includes_default
16546 long longval () { return (long) (sizeof (void *)); }
16547 unsigned long ulongval () { return (long) (sizeof (void *)); }
16548 #include <stdio.h>
16549 #include <stdlib.h>
16550 int
16551 main ()
16552 {
16553
16554 FILE *f = fopen ("conftest.val", "w");
16555 if (! f)
16556 exit (1);
16557 if (((long) (sizeof (void *))) < 0)
16558 {
16559 long i = longval ();
16560 if (i != ((long) (sizeof (void *))))
16561 exit (1);
16562 fprintf (f, "%ld\n", i);
16563 }
16564 else
16565 {
16566 unsigned long i = ulongval ();
16567 if (i != ((long) (sizeof (void *))))
16568 exit (1);
16569 fprintf (f, "%lu\n", i);
16570 }
16571 exit (ferror (f) || fclose (f) != 0);
16572
16573 ;
16574 return 0;
16575 }
16576 _ACEOF
16577 rm -f conftest$ac_exeext
16578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16579 (eval $ac_link) 2>&5
16580 ac_status=$?
16581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16582 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16584 (eval $ac_try) 2>&5
16585 ac_status=$?
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; }; then
16588 ac_cv_sizeof_void_p=`cat conftest.val`
16589 else
16590 echo "$as_me: program exited with status $ac_status" >&5
16591 echo "$as_me: failed program was:" >&5
16592 sed 's/^/| /' conftest.$ac_ext >&5
16593
16594 ( exit $ac_status )
16595 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16596 See \`config.log' for more details." >&5
16597 echo "$as_me: error: cannot compute sizeof (void *), 77
16598 See \`config.log' for more details." >&2;}
16599 { (exit 1); exit 1; }; }
16600 fi
16601 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16602 fi
16603 fi
16604 rm -f conftest.val
16605 else
16606 ac_cv_sizeof_void_p=0
16607 fi
16608 fi
16609 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16610 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16611 cat >>confdefs.h <<_ACEOF
16612 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16613 _ACEOF
16614
16615
16616 echo "$as_me:$LINENO: checking for int" >&5
16617 echo $ECHO_N "checking for int... $ECHO_C" >&6
16618 if test "${ac_cv_type_int+set}" = set; then
16619 echo $ECHO_N "(cached) $ECHO_C" >&6
16620 else
16621 cat >conftest.$ac_ext <<_ACEOF
16622 /* confdefs.h. */
16623 _ACEOF
16624 cat confdefs.h >>conftest.$ac_ext
16625 cat >>conftest.$ac_ext <<_ACEOF
16626 /* end confdefs.h. */
16627 $ac_includes_default
16628 int
16629 main ()
16630 {
16631 if ((int *) 0)
16632 return 0;
16633 if (sizeof (int))
16634 return 0;
16635 ;
16636 return 0;
16637 }
16638 _ACEOF
16639 rm -f conftest.$ac_objext
16640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16641 (eval $ac_compile) 2>conftest.er1
16642 ac_status=$?
16643 grep -v '^ *+' conftest.er1 >conftest.err
16644 rm -f conftest.er1
16645 cat conftest.err >&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } &&
16648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16650 (eval $ac_try) 2>&5
16651 ac_status=$?
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); }; } &&
16654 { ac_try='test -s conftest.$ac_objext'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16657 ac_status=$?
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; }; then
16660 ac_cv_type_int=yes
16661 else
16662 echo "$as_me: failed program was:" >&5
16663 sed 's/^/| /' conftest.$ac_ext >&5
16664
16665 ac_cv_type_int=no
16666 fi
16667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16668 fi
16669 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16670 echo "${ECHO_T}$ac_cv_type_int" >&6
16671
16672 echo "$as_me:$LINENO: checking size of int" >&5
16673 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16674 if test "${ac_cv_sizeof_int+set}" = set; then
16675 echo $ECHO_N "(cached) $ECHO_C" >&6
16676 else
16677 if test "$ac_cv_type_int" = yes; then
16678 # The cast to unsigned long works around a bug in the HP C Compiler
16679 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16680 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16681 # This bug is HP SR number 8606223364.
16682 if test "$cross_compiling" = yes; then
16683 # Depending upon the size, compute the lo and hi bounds.
16684 cat >conftest.$ac_ext <<_ACEOF
16685 /* confdefs.h. */
16686 _ACEOF
16687 cat confdefs.h >>conftest.$ac_ext
16688 cat >>conftest.$ac_ext <<_ACEOF
16689 /* end confdefs.h. */
16690 $ac_includes_default
16691 int
16692 main ()
16693 {
16694 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16695 test_array [0] = 0
16696
16697 ;
16698 return 0;
16699 }
16700 _ACEOF
16701 rm -f conftest.$ac_objext
16702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16703 (eval $ac_compile) 2>conftest.er1
16704 ac_status=$?
16705 grep -v '^ *+' conftest.er1 >conftest.err
16706 rm -f conftest.er1
16707 cat conftest.err >&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16713 ac_status=$?
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; } &&
16716 { ac_try='test -s conftest.$ac_objext'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16719 ac_status=$?
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; }; then
16722 ac_lo=0 ac_mid=0
16723 while :; do
16724 cat >conftest.$ac_ext <<_ACEOF
16725 /* confdefs.h. */
16726 _ACEOF
16727 cat confdefs.h >>conftest.$ac_ext
16728 cat >>conftest.$ac_ext <<_ACEOF
16729 /* end confdefs.h. */
16730 $ac_includes_default
16731 int
16732 main ()
16733 {
16734 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16735 test_array [0] = 0
16736
16737 ;
16738 return 0;
16739 }
16740 _ACEOF
16741 rm -f conftest.$ac_objext
16742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16743 (eval $ac_compile) 2>conftest.er1
16744 ac_status=$?
16745 grep -v '^ *+' conftest.er1 >conftest.err
16746 rm -f conftest.er1
16747 cat conftest.err >&5
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); } &&
16750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16752 (eval $ac_try) 2>&5
16753 ac_status=$?
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); }; } &&
16756 { ac_try='test -s conftest.$ac_objext'
16757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16758 (eval $ac_try) 2>&5
16759 ac_status=$?
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; }; then
16762 ac_hi=$ac_mid; break
16763 else
16764 echo "$as_me: failed program was:" >&5
16765 sed 's/^/| /' conftest.$ac_ext >&5
16766
16767 ac_lo=`expr $ac_mid + 1`
16768 if test $ac_lo -le $ac_mid; then
16769 ac_lo= ac_hi=
16770 break
16771 fi
16772 ac_mid=`expr 2 '*' $ac_mid + 1`
16773 fi
16774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16775 done
16776 else
16777 echo "$as_me: failed program was:" >&5
16778 sed 's/^/| /' conftest.$ac_ext >&5
16779
16780 cat >conftest.$ac_ext <<_ACEOF
16781 /* confdefs.h. */
16782 _ACEOF
16783 cat confdefs.h >>conftest.$ac_ext
16784 cat >>conftest.$ac_ext <<_ACEOF
16785 /* end confdefs.h. */
16786 $ac_includes_default
16787 int
16788 main ()
16789 {
16790 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16791 test_array [0] = 0
16792
16793 ;
16794 return 0;
16795 }
16796 _ACEOF
16797 rm -f conftest.$ac_objext
16798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16799 (eval $ac_compile) 2>conftest.er1
16800 ac_status=$?
16801 grep -v '^ *+' conftest.er1 >conftest.err
16802 rm -f conftest.er1
16803 cat conftest.err >&5
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); } &&
16806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16808 (eval $ac_try) 2>&5
16809 ac_status=$?
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); }; } &&
16812 { ac_try='test -s conftest.$ac_objext'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16815 ac_status=$?
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; }; then
16818 ac_hi=-1 ac_mid=-1
16819 while :; do
16820 cat >conftest.$ac_ext <<_ACEOF
16821 /* confdefs.h. */
16822 _ACEOF
16823 cat confdefs.h >>conftest.$ac_ext
16824 cat >>conftest.$ac_ext <<_ACEOF
16825 /* end confdefs.h. */
16826 $ac_includes_default
16827 int
16828 main ()
16829 {
16830 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16831 test_array [0] = 0
16832
16833 ;
16834 return 0;
16835 }
16836 _ACEOF
16837 rm -f conftest.$ac_objext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16839 (eval $ac_compile) 2>conftest.er1
16840 ac_status=$?
16841 grep -v '^ *+' conftest.er1 >conftest.err
16842 rm -f conftest.er1
16843 cat conftest.err >&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16849 ac_status=$?
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; } &&
16852 { ac_try='test -s conftest.$ac_objext'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16855 ac_status=$?
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; }; then
16858 ac_lo=$ac_mid; break
16859 else
16860 echo "$as_me: failed program was:" >&5
16861 sed 's/^/| /' conftest.$ac_ext >&5
16862
16863 ac_hi=`expr '(' $ac_mid ')' - 1`
16864 if test $ac_mid -le $ac_hi; then
16865 ac_lo= ac_hi=
16866 break
16867 fi
16868 ac_mid=`expr 2 '*' $ac_mid`
16869 fi
16870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16871 done
16872 else
16873 echo "$as_me: failed program was:" >&5
16874 sed 's/^/| /' conftest.$ac_ext >&5
16875
16876 ac_lo= ac_hi=
16877 fi
16878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16879 fi
16880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16881 # Binary search between lo and hi bounds.
16882 while test "x$ac_lo" != "x$ac_hi"; do
16883 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16884 cat >conftest.$ac_ext <<_ACEOF
16885 /* confdefs.h. */
16886 _ACEOF
16887 cat confdefs.h >>conftest.$ac_ext
16888 cat >>conftest.$ac_ext <<_ACEOF
16889 /* end confdefs.h. */
16890 $ac_includes_default
16891 int
16892 main ()
16893 {
16894 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16895 test_array [0] = 0
16896
16897 ;
16898 return 0;
16899 }
16900 _ACEOF
16901 rm -f conftest.$ac_objext
16902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16903 (eval $ac_compile) 2>conftest.er1
16904 ac_status=$?
16905 grep -v '^ *+' conftest.er1 >conftest.err
16906 rm -f conftest.er1
16907 cat conftest.err >&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); } &&
16910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16912 (eval $ac_try) 2>&5
16913 ac_status=$?
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); }; } &&
16916 { ac_try='test -s conftest.$ac_objext'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16919 ac_status=$?
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; }; then
16922 ac_hi=$ac_mid
16923 else
16924 echo "$as_me: failed program was:" >&5
16925 sed 's/^/| /' conftest.$ac_ext >&5
16926
16927 ac_lo=`expr '(' $ac_mid ')' + 1`
16928 fi
16929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16930 done
16931 case $ac_lo in
16932 ?*) ac_cv_sizeof_int=$ac_lo;;
16933 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16934 See \`config.log' for more details." >&5
16935 echo "$as_me: error: cannot compute sizeof (int), 77
16936 See \`config.log' for more details." >&2;}
16937 { (exit 1); exit 1; }; } ;;
16938 esac
16939 else
16940 if test "$cross_compiling" = yes; then
16941 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16942 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16943 { (exit 1); exit 1; }; }
16944 else
16945 cat >conftest.$ac_ext <<_ACEOF
16946 /* confdefs.h. */
16947 _ACEOF
16948 cat confdefs.h >>conftest.$ac_ext
16949 cat >>conftest.$ac_ext <<_ACEOF
16950 /* end confdefs.h. */
16951 $ac_includes_default
16952 long longval () { return (long) (sizeof (int)); }
16953 unsigned long ulongval () { return (long) (sizeof (int)); }
16954 #include <stdio.h>
16955 #include <stdlib.h>
16956 int
16957 main ()
16958 {
16959
16960 FILE *f = fopen ("conftest.val", "w");
16961 if (! f)
16962 exit (1);
16963 if (((long) (sizeof (int))) < 0)
16964 {
16965 long i = longval ();
16966 if (i != ((long) (sizeof (int))))
16967 exit (1);
16968 fprintf (f, "%ld\n", i);
16969 }
16970 else
16971 {
16972 unsigned long i = ulongval ();
16973 if (i != ((long) (sizeof (int))))
16974 exit (1);
16975 fprintf (f, "%lu\n", i);
16976 }
16977 exit (ferror (f) || fclose (f) != 0);
16978
16979 ;
16980 return 0;
16981 }
16982 _ACEOF
16983 rm -f conftest$ac_exeext
16984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16985 (eval $ac_link) 2>&5
16986 ac_status=$?
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16990 (eval $ac_try) 2>&5
16991 ac_status=$?
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); }; }; then
16994 ac_cv_sizeof_int=`cat conftest.val`
16995 else
16996 echo "$as_me: program exited with status $ac_status" >&5
16997 echo "$as_me: failed program was:" >&5
16998 sed 's/^/| /' conftest.$ac_ext >&5
16999
17000 ( exit $ac_status )
17001 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17002 See \`config.log' for more details." >&5
17003 echo "$as_me: error: cannot compute sizeof (int), 77
17004 See \`config.log' for more details." >&2;}
17005 { (exit 1); exit 1; }; }
17006 fi
17007 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17008 fi
17009 fi
17010 rm -f conftest.val
17011 else
17012 ac_cv_sizeof_int=0
17013 fi
17014 fi
17015 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17016 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17017 cat >>confdefs.h <<_ACEOF
17018 #define SIZEOF_INT $ac_cv_sizeof_int
17019 _ACEOF
17020
17021
17022 echo "$as_me:$LINENO: checking for long" >&5
17023 echo $ECHO_N "checking for long... $ECHO_C" >&6
17024 if test "${ac_cv_type_long+set}" = set; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17026 else
17027 cat >conftest.$ac_ext <<_ACEOF
17028 /* confdefs.h. */
17029 _ACEOF
17030 cat confdefs.h >>conftest.$ac_ext
17031 cat >>conftest.$ac_ext <<_ACEOF
17032 /* end confdefs.h. */
17033 $ac_includes_default
17034 int
17035 main ()
17036 {
17037 if ((long *) 0)
17038 return 0;
17039 if (sizeof (long))
17040 return 0;
17041 ;
17042 return 0;
17043 }
17044 _ACEOF
17045 rm -f conftest.$ac_objext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 (eval $ac_compile) 2>conftest.er1
17048 ac_status=$?
17049 grep -v '^ *+' conftest.er1 >conftest.err
17050 rm -f conftest.er1
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17057 ac_status=$?
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; } &&
17060 { ac_try='test -s conftest.$ac_objext'
17061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17062 (eval $ac_try) 2>&5
17063 ac_status=$?
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); }; }; then
17066 ac_cv_type_long=yes
17067 else
17068 echo "$as_me: failed program was:" >&5
17069 sed 's/^/| /' conftest.$ac_ext >&5
17070
17071 ac_cv_type_long=no
17072 fi
17073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17074 fi
17075 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17076 echo "${ECHO_T}$ac_cv_type_long" >&6
17077
17078 echo "$as_me:$LINENO: checking size of long" >&5
17079 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17080 if test "${ac_cv_sizeof_long+set}" = set; then
17081 echo $ECHO_N "(cached) $ECHO_C" >&6
17082 else
17083 if test "$ac_cv_type_long" = yes; then
17084 # The cast to unsigned long works around a bug in the HP C Compiler
17085 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17086 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17087 # This bug is HP SR number 8606223364.
17088 if test "$cross_compiling" = yes; then
17089 # Depending upon the size, compute the lo and hi bounds.
17090 cat >conftest.$ac_ext <<_ACEOF
17091 /* confdefs.h. */
17092 _ACEOF
17093 cat confdefs.h >>conftest.$ac_ext
17094 cat >>conftest.$ac_ext <<_ACEOF
17095 /* end confdefs.h. */
17096 $ac_includes_default
17097 int
17098 main ()
17099 {
17100 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17101 test_array [0] = 0
17102
17103 ;
17104 return 0;
17105 }
17106 _ACEOF
17107 rm -f conftest.$ac_objext
17108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17109 (eval $ac_compile) 2>conftest.er1
17110 ac_status=$?
17111 grep -v '^ *+' conftest.er1 >conftest.err
17112 rm -f conftest.er1
17113 cat conftest.err >&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); } &&
17116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17118 (eval $ac_try) 2>&5
17119 ac_status=$?
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); }; } &&
17122 { ac_try='test -s conftest.$ac_objext'
17123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17124 (eval $ac_try) 2>&5
17125 ac_status=$?
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); }; }; then
17128 ac_lo=0 ac_mid=0
17129 while :; do
17130 cat >conftest.$ac_ext <<_ACEOF
17131 /* confdefs.h. */
17132 _ACEOF
17133 cat confdefs.h >>conftest.$ac_ext
17134 cat >>conftest.$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17136 $ac_includes_default
17137 int
17138 main ()
17139 {
17140 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17141 test_array [0] = 0
17142
17143 ;
17144 return 0;
17145 }
17146 _ACEOF
17147 rm -f conftest.$ac_objext
17148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17149 (eval $ac_compile) 2>conftest.er1
17150 ac_status=$?
17151 grep -v '^ *+' conftest.er1 >conftest.err
17152 rm -f conftest.er1
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } &&
17156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17158 (eval $ac_try) 2>&5
17159 ac_status=$?
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); }; } &&
17162 { ac_try='test -s conftest.$ac_objext'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17165 ac_status=$?
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17168 ac_hi=$ac_mid; break
17169 else
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.$ac_ext >&5
17172
17173 ac_lo=`expr $ac_mid + 1`
17174 if test $ac_lo -le $ac_mid; then
17175 ac_lo= ac_hi=
17176 break
17177 fi
17178 ac_mid=`expr 2 '*' $ac_mid + 1`
17179 fi
17180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17181 done
17182 else
17183 echo "$as_me: failed program was:" >&5
17184 sed 's/^/| /' conftest.$ac_ext >&5
17185
17186 cat >conftest.$ac_ext <<_ACEOF
17187 /* confdefs.h. */
17188 _ACEOF
17189 cat confdefs.h >>conftest.$ac_ext
17190 cat >>conftest.$ac_ext <<_ACEOF
17191 /* end confdefs.h. */
17192 $ac_includes_default
17193 int
17194 main ()
17195 {
17196 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17197 test_array [0] = 0
17198
17199 ;
17200 return 0;
17201 }
17202 _ACEOF
17203 rm -f conftest.$ac_objext
17204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17205 (eval $ac_compile) 2>conftest.er1
17206 ac_status=$?
17207 grep -v '^ *+' conftest.er1 >conftest.err
17208 rm -f conftest.er1
17209 cat conftest.err >&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); } &&
17212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17215 ac_status=$?
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; } &&
17218 { ac_try='test -s conftest.$ac_objext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17221 ac_status=$?
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17224 ac_hi=-1 ac_mid=-1
17225 while :; do
17226 cat >conftest.$ac_ext <<_ACEOF
17227 /* confdefs.h. */
17228 _ACEOF
17229 cat confdefs.h >>conftest.$ac_ext
17230 cat >>conftest.$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 $ac_includes_default
17233 int
17234 main ()
17235 {
17236 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17237 test_array [0] = 0
17238
17239 ;
17240 return 0;
17241 }
17242 _ACEOF
17243 rm -f conftest.$ac_objext
17244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17245 (eval $ac_compile) 2>conftest.er1
17246 ac_status=$?
17247 grep -v '^ *+' conftest.er1 >conftest.err
17248 rm -f conftest.er1
17249 cat conftest.err >&5
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); } &&
17252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17254 (eval $ac_try) 2>&5
17255 ac_status=$?
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }; } &&
17258 { ac_try='test -s conftest.$ac_objext'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260 (eval $ac_try) 2>&5
17261 ac_status=$?
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; }; then
17264 ac_lo=$ac_mid; break
17265 else
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.$ac_ext >&5
17268
17269 ac_hi=`expr '(' $ac_mid ')' - 1`
17270 if test $ac_mid -le $ac_hi; then
17271 ac_lo= ac_hi=
17272 break
17273 fi
17274 ac_mid=`expr 2 '*' $ac_mid`
17275 fi
17276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17277 done
17278 else
17279 echo "$as_me: failed program was:" >&5
17280 sed 's/^/| /' conftest.$ac_ext >&5
17281
17282 ac_lo= ac_hi=
17283 fi
17284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17285 fi
17286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17287 # Binary search between lo and hi bounds.
17288 while test "x$ac_lo" != "x$ac_hi"; do
17289 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17290 cat >conftest.$ac_ext <<_ACEOF
17291 /* confdefs.h. */
17292 _ACEOF
17293 cat confdefs.h >>conftest.$ac_ext
17294 cat >>conftest.$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17296 $ac_includes_default
17297 int
17298 main ()
17299 {
17300 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17301 test_array [0] = 0
17302
17303 ;
17304 return 0;
17305 }
17306 _ACEOF
17307 rm -f conftest.$ac_objext
17308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17309 (eval $ac_compile) 2>conftest.er1
17310 ac_status=$?
17311 grep -v '^ *+' conftest.er1 >conftest.err
17312 rm -f conftest.er1
17313 cat conftest.err >&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } &&
17316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17319 ac_status=$?
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; } &&
17322 { ac_try='test -s conftest.$ac_objext'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17325 ac_status=$?
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; }; then
17328 ac_hi=$ac_mid
17329 else
17330 echo "$as_me: failed program was:" >&5
17331 sed 's/^/| /' conftest.$ac_ext >&5
17332
17333 ac_lo=`expr '(' $ac_mid ')' + 1`
17334 fi
17335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17336 done
17337 case $ac_lo in
17338 ?*) ac_cv_sizeof_long=$ac_lo;;
17339 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17340 See \`config.log' for more details." >&5
17341 echo "$as_me: error: cannot compute sizeof (long), 77
17342 See \`config.log' for more details." >&2;}
17343 { (exit 1); exit 1; }; } ;;
17344 esac
17345 else
17346 if test "$cross_compiling" = yes; then
17347 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17348 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17349 { (exit 1); exit 1; }; }
17350 else
17351 cat >conftest.$ac_ext <<_ACEOF
17352 /* confdefs.h. */
17353 _ACEOF
17354 cat confdefs.h >>conftest.$ac_ext
17355 cat >>conftest.$ac_ext <<_ACEOF
17356 /* end confdefs.h. */
17357 $ac_includes_default
17358 long longval () { return (long) (sizeof (long)); }
17359 unsigned long ulongval () { return (long) (sizeof (long)); }
17360 #include <stdio.h>
17361 #include <stdlib.h>
17362 int
17363 main ()
17364 {
17365
17366 FILE *f = fopen ("conftest.val", "w");
17367 if (! f)
17368 exit (1);
17369 if (((long) (sizeof (long))) < 0)
17370 {
17371 long i = longval ();
17372 if (i != ((long) (sizeof (long))))
17373 exit (1);
17374 fprintf (f, "%ld\n", i);
17375 }
17376 else
17377 {
17378 unsigned long i = ulongval ();
17379 if (i != ((long) (sizeof (long))))
17380 exit (1);
17381 fprintf (f, "%lu\n", i);
17382 }
17383 exit (ferror (f) || fclose (f) != 0);
17384
17385 ;
17386 return 0;
17387 }
17388 _ACEOF
17389 rm -f conftest$ac_exeext
17390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17391 (eval $ac_link) 2>&5
17392 ac_status=$?
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396 (eval $ac_try) 2>&5
17397 ac_status=$?
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; }; then
17400 ac_cv_sizeof_long=`cat conftest.val`
17401 else
17402 echo "$as_me: program exited with status $ac_status" >&5
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.$ac_ext >&5
17405
17406 ( exit $ac_status )
17407 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17408 See \`config.log' for more details." >&5
17409 echo "$as_me: error: cannot compute sizeof (long), 77
17410 See \`config.log' for more details." >&2;}
17411 { (exit 1); exit 1; }; }
17412 fi
17413 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17414 fi
17415 fi
17416 rm -f conftest.val
17417 else
17418 ac_cv_sizeof_long=0
17419 fi
17420 fi
17421 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17422 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17423 cat >>confdefs.h <<_ACEOF
17424 #define SIZEOF_LONG $ac_cv_sizeof_long
17425 _ACEOF
17426
17427
17428 echo "$as_me:$LINENO: checking for size_t" >&5
17429 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17430 if test "${ac_cv_type_size_t+set}" = set; then
17431 echo $ECHO_N "(cached) $ECHO_C" >&6
17432 else
17433 cat >conftest.$ac_ext <<_ACEOF
17434 /* confdefs.h. */
17435 _ACEOF
17436 cat confdefs.h >>conftest.$ac_ext
17437 cat >>conftest.$ac_ext <<_ACEOF
17438 /* end confdefs.h. */
17439 $ac_includes_default
17440 int
17441 main ()
17442 {
17443 if ((size_t *) 0)
17444 return 0;
17445 if (sizeof (size_t))
17446 return 0;
17447 ;
17448 return 0;
17449 }
17450 _ACEOF
17451 rm -f conftest.$ac_objext
17452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17453 (eval $ac_compile) 2>conftest.er1
17454 ac_status=$?
17455 grep -v '^ *+' conftest.er1 >conftest.err
17456 rm -f conftest.er1
17457 cat conftest.err >&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); } &&
17460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17463 ac_status=$?
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; } &&
17466 { ac_try='test -s conftest.$ac_objext'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17469 ac_status=$?
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; }; then
17472 ac_cv_type_size_t=yes
17473 else
17474 echo "$as_me: failed program was:" >&5
17475 sed 's/^/| /' conftest.$ac_ext >&5
17476
17477 ac_cv_type_size_t=no
17478 fi
17479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17480 fi
17481 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17482 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17483
17484 echo "$as_me:$LINENO: checking size of size_t" >&5
17485 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17486 if test "${ac_cv_sizeof_size_t+set}" = set; then
17487 echo $ECHO_N "(cached) $ECHO_C" >&6
17488 else
17489 if test "$ac_cv_type_size_t" = yes; then
17490 # The cast to unsigned long works around a bug in the HP C Compiler
17491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17493 # This bug is HP SR number 8606223364.
17494 if test "$cross_compiling" = yes; then
17495 # Depending upon the size, compute the lo and hi bounds.
17496 cat >conftest.$ac_ext <<_ACEOF
17497 /* confdefs.h. */
17498 _ACEOF
17499 cat confdefs.h >>conftest.$ac_ext
17500 cat >>conftest.$ac_ext <<_ACEOF
17501 /* end confdefs.h. */
17502 $ac_includes_default
17503 int
17504 main ()
17505 {
17506 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17507 test_array [0] = 0
17508
17509 ;
17510 return 0;
17511 }
17512 _ACEOF
17513 rm -f conftest.$ac_objext
17514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17515 (eval $ac_compile) 2>conftest.er1
17516 ac_status=$?
17517 grep -v '^ *+' conftest.er1 >conftest.err
17518 rm -f conftest.er1
17519 cat conftest.err >&5
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); } &&
17522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17524 (eval $ac_try) 2>&5
17525 ac_status=$?
17526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17527 (exit $ac_status); }; } &&
17528 { ac_try='test -s conftest.$ac_objext'
17529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17531 ac_status=$?
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; }; then
17534 ac_lo=0 ac_mid=0
17535 while :; do
17536 cat >conftest.$ac_ext <<_ACEOF
17537 /* confdefs.h. */
17538 _ACEOF
17539 cat confdefs.h >>conftest.$ac_ext
17540 cat >>conftest.$ac_ext <<_ACEOF
17541 /* end confdefs.h. */
17542 $ac_includes_default
17543 int
17544 main ()
17545 {
17546 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17547 test_array [0] = 0
17548
17549 ;
17550 return 0;
17551 }
17552 _ACEOF
17553 rm -f conftest.$ac_objext
17554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17555 (eval $ac_compile) 2>conftest.er1
17556 ac_status=$?
17557 grep -v '^ *+' conftest.er1 >conftest.err
17558 rm -f conftest.er1
17559 cat conftest.err >&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); } &&
17562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17564 (eval $ac_try) 2>&5
17565 ac_status=$?
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); }; } &&
17568 { ac_try='test -s conftest.$ac_objext'
17569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17570 (eval $ac_try) 2>&5
17571 ac_status=$?
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); }; }; then
17574 ac_hi=$ac_mid; break
17575 else
17576 echo "$as_me: failed program was:" >&5
17577 sed 's/^/| /' conftest.$ac_ext >&5
17578
17579 ac_lo=`expr $ac_mid + 1`
17580 if test $ac_lo -le $ac_mid; then
17581 ac_lo= ac_hi=
17582 break
17583 fi
17584 ac_mid=`expr 2 '*' $ac_mid + 1`
17585 fi
17586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17587 done
17588 else
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.$ac_ext >&5
17591
17592 cat >conftest.$ac_ext <<_ACEOF
17593 /* confdefs.h. */
17594 _ACEOF
17595 cat confdefs.h >>conftest.$ac_ext
17596 cat >>conftest.$ac_ext <<_ACEOF
17597 /* end confdefs.h. */
17598 $ac_includes_default
17599 int
17600 main ()
17601 {
17602 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17603 test_array [0] = 0
17604
17605 ;
17606 return 0;
17607 }
17608 _ACEOF
17609 rm -f conftest.$ac_objext
17610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17611 (eval $ac_compile) 2>conftest.er1
17612 ac_status=$?
17613 grep -v '^ *+' conftest.er1 >conftest.err
17614 rm -f conftest.er1
17615 cat conftest.err >&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); } &&
17618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17620 (eval $ac_try) 2>&5
17621 ac_status=$?
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); }; } &&
17624 { ac_try='test -s conftest.$ac_objext'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17627 ac_status=$?
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; }; then
17630 ac_hi=-1 ac_mid=-1
17631 while :; do
17632 cat >conftest.$ac_ext <<_ACEOF
17633 /* confdefs.h. */
17634 _ACEOF
17635 cat confdefs.h >>conftest.$ac_ext
17636 cat >>conftest.$ac_ext <<_ACEOF
17637 /* end confdefs.h. */
17638 $ac_includes_default
17639 int
17640 main ()
17641 {
17642 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17643 test_array [0] = 0
17644
17645 ;
17646 return 0;
17647 }
17648 _ACEOF
17649 rm -f conftest.$ac_objext
17650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17651 (eval $ac_compile) 2>conftest.er1
17652 ac_status=$?
17653 grep -v '^ *+' conftest.er1 >conftest.err
17654 rm -f conftest.er1
17655 cat conftest.err >&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } &&
17658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; } &&
17664 { ac_try='test -s conftest.$ac_objext'
17665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17666 (eval $ac_try) 2>&5
17667 ac_status=$?
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); }; }; then
17670 ac_lo=$ac_mid; break
17671 else
17672 echo "$as_me: failed program was:" >&5
17673 sed 's/^/| /' conftest.$ac_ext >&5
17674
17675 ac_hi=`expr '(' $ac_mid ')' - 1`
17676 if test $ac_mid -le $ac_hi; then
17677 ac_lo= ac_hi=
17678 break
17679 fi
17680 ac_mid=`expr 2 '*' $ac_mid`
17681 fi
17682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17683 done
17684 else
17685 echo "$as_me: failed program was:" >&5
17686 sed 's/^/| /' conftest.$ac_ext >&5
17687
17688 ac_lo= ac_hi=
17689 fi
17690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17691 fi
17692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17693 # Binary search between lo and hi bounds.
17694 while test "x$ac_lo" != "x$ac_hi"; do
17695 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17696 cat >conftest.$ac_ext <<_ACEOF
17697 /* confdefs.h. */
17698 _ACEOF
17699 cat confdefs.h >>conftest.$ac_ext
17700 cat >>conftest.$ac_ext <<_ACEOF
17701 /* end confdefs.h. */
17702 $ac_includes_default
17703 int
17704 main ()
17705 {
17706 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17707 test_array [0] = 0
17708
17709 ;
17710 return 0;
17711 }
17712 _ACEOF
17713 rm -f conftest.$ac_objext
17714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17715 (eval $ac_compile) 2>conftest.er1
17716 ac_status=$?
17717 grep -v '^ *+' conftest.er1 >conftest.err
17718 rm -f conftest.er1
17719 cat conftest.err >&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } &&
17722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17725 ac_status=$?
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; } &&
17728 { ac_try='test -s conftest.$ac_objext'
17729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17730 (eval $ac_try) 2>&5
17731 ac_status=$?
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); }; }; then
17734 ac_hi=$ac_mid
17735 else
17736 echo "$as_me: failed program was:" >&5
17737 sed 's/^/| /' conftest.$ac_ext >&5
17738
17739 ac_lo=`expr '(' $ac_mid ')' + 1`
17740 fi
17741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17742 done
17743 case $ac_lo in
17744 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17745 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17746 See \`config.log' for more details." >&5
17747 echo "$as_me: error: cannot compute sizeof (size_t), 77
17748 See \`config.log' for more details." >&2;}
17749 { (exit 1); exit 1; }; } ;;
17750 esac
17751 else
17752 if test "$cross_compiling" = yes; then
17753 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17754 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17755 { (exit 1); exit 1; }; }
17756 else
17757 cat >conftest.$ac_ext <<_ACEOF
17758 /* confdefs.h. */
17759 _ACEOF
17760 cat confdefs.h >>conftest.$ac_ext
17761 cat >>conftest.$ac_ext <<_ACEOF
17762 /* end confdefs.h. */
17763 $ac_includes_default
17764 long longval () { return (long) (sizeof (size_t)); }
17765 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17766 #include <stdio.h>
17767 #include <stdlib.h>
17768 int
17769 main ()
17770 {
17771
17772 FILE *f = fopen ("conftest.val", "w");
17773 if (! f)
17774 exit (1);
17775 if (((long) (sizeof (size_t))) < 0)
17776 {
17777 long i = longval ();
17778 if (i != ((long) (sizeof (size_t))))
17779 exit (1);
17780 fprintf (f, "%ld\n", i);
17781 }
17782 else
17783 {
17784 unsigned long i = ulongval ();
17785 if (i != ((long) (sizeof (size_t))))
17786 exit (1);
17787 fprintf (f, "%lu\n", i);
17788 }
17789 exit (ferror (f) || fclose (f) != 0);
17790
17791 ;
17792 return 0;
17793 }
17794 _ACEOF
17795 rm -f conftest$ac_exeext
17796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17797 (eval $ac_link) 2>&5
17798 ac_status=$?
17799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17800 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802 (eval $ac_try) 2>&5
17803 ac_status=$?
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); }; }; then
17806 ac_cv_sizeof_size_t=`cat conftest.val`
17807 else
17808 echo "$as_me: program exited with status $ac_status" >&5
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.$ac_ext >&5
17811
17812 ( exit $ac_status )
17813 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17814 See \`config.log' for more details." >&5
17815 echo "$as_me: error: cannot compute sizeof (size_t), 77
17816 See \`config.log' for more details." >&2;}
17817 { (exit 1); exit 1; }; }
17818 fi
17819 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17820 fi
17821 fi
17822 rm -f conftest.val
17823 else
17824 ac_cv_sizeof_size_t=0
17825 fi
17826 fi
17827 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17828 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17829 cat >>confdefs.h <<_ACEOF
17830 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17831 _ACEOF
17832
17833
17834
17835 case "${host}" in
17836 arm-*-linux* )
17837 echo "$as_me:$LINENO: checking for long long" >&5
17838 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17839 if test "${ac_cv_type_long_long+set}" = set; then
17840 echo $ECHO_N "(cached) $ECHO_C" >&6
17841 else
17842 cat >conftest.$ac_ext <<_ACEOF
17843 /* confdefs.h. */
17844 _ACEOF
17845 cat confdefs.h >>conftest.$ac_ext
17846 cat >>conftest.$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848 $ac_includes_default
17849 int
17850 main ()
17851 {
17852 if ((long long *) 0)
17853 return 0;
17854 if (sizeof (long long))
17855 return 0;
17856 ;
17857 return 0;
17858 }
17859 _ACEOF
17860 rm -f conftest.$ac_objext
17861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17862 (eval $ac_compile) 2>conftest.er1
17863 ac_status=$?
17864 grep -v '^ *+' conftest.er1 >conftest.err
17865 rm -f conftest.er1
17866 cat conftest.err >&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); } &&
17869 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17875 { ac_try='test -s conftest.$ac_objext'
17876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17877 (eval $ac_try) 2>&5
17878 ac_status=$?
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); }; }; then
17881 ac_cv_type_long_long=yes
17882 else
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.$ac_ext >&5
17885
17886 ac_cv_type_long_long=no
17887 fi
17888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17889 fi
17890 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17891 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17892
17893 echo "$as_me:$LINENO: checking size of long long" >&5
17894 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17895 if test "${ac_cv_sizeof_long_long+set}" = set; then
17896 echo $ECHO_N "(cached) $ECHO_C" >&6
17897 else
17898 if test "$ac_cv_type_long_long" = yes; then
17899 # The cast to unsigned long works around a bug in the HP C Compiler
17900 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17901 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17902 # This bug is HP SR number 8606223364.
17903 if test "$cross_compiling" = yes; then
17904 # Depending upon the size, compute the lo and hi bounds.
17905 cat >conftest.$ac_ext <<_ACEOF
17906 /* confdefs.h. */
17907 _ACEOF
17908 cat confdefs.h >>conftest.$ac_ext
17909 cat >>conftest.$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 $ac_includes_default
17912 int
17913 main ()
17914 {
17915 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17916 test_array [0] = 0
17917
17918 ;
17919 return 0;
17920 }
17921 _ACEOF
17922 rm -f conftest.$ac_objext
17923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17924 (eval $ac_compile) 2>conftest.er1
17925 ac_status=$?
17926 grep -v '^ *+' conftest.er1 >conftest.err
17927 rm -f conftest.er1
17928 cat conftest.err >&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); } &&
17931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17933 (eval $ac_try) 2>&5
17934 ac_status=$?
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); }; } &&
17937 { ac_try='test -s conftest.$ac_objext'
17938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17939 (eval $ac_try) 2>&5
17940 ac_status=$?
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); }; }; then
17943 ac_lo=0 ac_mid=0
17944 while :; do
17945 cat >conftest.$ac_ext <<_ACEOF
17946 /* confdefs.h. */
17947 _ACEOF
17948 cat confdefs.h >>conftest.$ac_ext
17949 cat >>conftest.$ac_ext <<_ACEOF
17950 /* end confdefs.h. */
17951 $ac_includes_default
17952 int
17953 main ()
17954 {
17955 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17956 test_array [0] = 0
17957
17958 ;
17959 return 0;
17960 }
17961 _ACEOF
17962 rm -f conftest.$ac_objext
17963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17964 (eval $ac_compile) 2>conftest.er1
17965 ac_status=$?
17966 grep -v '^ *+' conftest.er1 >conftest.err
17967 rm -f conftest.er1
17968 cat conftest.err >&5
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); } &&
17971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17974 ac_status=$?
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; } &&
17977 { ac_try='test -s conftest.$ac_objext'
17978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17979 (eval $ac_try) 2>&5
17980 ac_status=$?
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); }; }; then
17983 ac_hi=$ac_mid; break
17984 else
17985 echo "$as_me: failed program was:" >&5
17986 sed 's/^/| /' conftest.$ac_ext >&5
17987
17988 ac_lo=`expr $ac_mid + 1`
17989 if test $ac_lo -le $ac_mid; then
17990 ac_lo= ac_hi=
17991 break
17992 fi
17993 ac_mid=`expr 2 '*' $ac_mid + 1`
17994 fi
17995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17996 done
17997 else
17998 echo "$as_me: failed program was:" >&5
17999 sed 's/^/| /' conftest.$ac_ext >&5
18000
18001 cat >conftest.$ac_ext <<_ACEOF
18002 /* confdefs.h. */
18003 _ACEOF
18004 cat confdefs.h >>conftest.$ac_ext
18005 cat >>conftest.$ac_ext <<_ACEOF
18006 /* end confdefs.h. */
18007 $ac_includes_default
18008 int
18009 main ()
18010 {
18011 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18012 test_array [0] = 0
18013
18014 ;
18015 return 0;
18016 }
18017 _ACEOF
18018 rm -f conftest.$ac_objext
18019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18020 (eval $ac_compile) 2>conftest.er1
18021 ac_status=$?
18022 grep -v '^ *+' conftest.er1 >conftest.err
18023 rm -f conftest.er1
18024 cat conftest.err >&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } &&
18027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18030 ac_status=$?
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; } &&
18033 { ac_try='test -s conftest.$ac_objext'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18036 ac_status=$?
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; }; then
18039 ac_hi=-1 ac_mid=-1
18040 while :; do
18041 cat >conftest.$ac_ext <<_ACEOF
18042 /* confdefs.h. */
18043 _ACEOF
18044 cat confdefs.h >>conftest.$ac_ext
18045 cat >>conftest.$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18047 $ac_includes_default
18048 int
18049 main ()
18050 {
18051 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18052 test_array [0] = 0
18053
18054 ;
18055 return 0;
18056 }
18057 _ACEOF
18058 rm -f conftest.$ac_objext
18059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18060 (eval $ac_compile) 2>conftest.er1
18061 ac_status=$?
18062 grep -v '^ *+' conftest.er1 >conftest.err
18063 rm -f conftest.er1
18064 cat conftest.err >&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } &&
18067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18070 ac_status=$?
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; } &&
18073 { ac_try='test -s conftest.$ac_objext'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18076 ac_status=$?
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; }; then
18079 ac_lo=$ac_mid; break
18080 else
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.$ac_ext >&5
18083
18084 ac_hi=`expr '(' $ac_mid ')' - 1`
18085 if test $ac_mid -le $ac_hi; then
18086 ac_lo= ac_hi=
18087 break
18088 fi
18089 ac_mid=`expr 2 '*' $ac_mid`
18090 fi
18091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18092 done
18093 else
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.$ac_ext >&5
18096
18097 ac_lo= ac_hi=
18098 fi
18099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18100 fi
18101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18102 # Binary search between lo and hi bounds.
18103 while test "x$ac_lo" != "x$ac_hi"; do
18104 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18105 cat >conftest.$ac_ext <<_ACEOF
18106 /* confdefs.h. */
18107 _ACEOF
18108 cat confdefs.h >>conftest.$ac_ext
18109 cat >>conftest.$ac_ext <<_ACEOF
18110 /* end confdefs.h. */
18111 $ac_includes_default
18112 int
18113 main ()
18114 {
18115 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18116 test_array [0] = 0
18117
18118 ;
18119 return 0;
18120 }
18121 _ACEOF
18122 rm -f conftest.$ac_objext
18123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18124 (eval $ac_compile) 2>conftest.er1
18125 ac_status=$?
18126 grep -v '^ *+' conftest.er1 >conftest.err
18127 rm -f conftest.er1
18128 cat conftest.err >&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); } &&
18131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18133 (eval $ac_try) 2>&5
18134 ac_status=$?
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); }; } &&
18137 { ac_try='test -s conftest.$ac_objext'
18138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18139 (eval $ac_try) 2>&5
18140 ac_status=$?
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); }; }; then
18143 ac_hi=$ac_mid
18144 else
18145 echo "$as_me: failed program was:" >&5
18146 sed 's/^/| /' conftest.$ac_ext >&5
18147
18148 ac_lo=`expr '(' $ac_mid ')' + 1`
18149 fi
18150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18151 done
18152 case $ac_lo in
18153 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18154 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18155 See \`config.log' for more details." >&5
18156 echo "$as_me: error: cannot compute sizeof (long long), 77
18157 See \`config.log' for more details." >&2;}
18158 { (exit 1); exit 1; }; } ;;
18159 esac
18160 else
18161 if test "$cross_compiling" = yes; then
18162 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18163 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18164 { (exit 1); exit 1; }; }
18165 else
18166 cat >conftest.$ac_ext <<_ACEOF
18167 /* confdefs.h. */
18168 _ACEOF
18169 cat confdefs.h >>conftest.$ac_ext
18170 cat >>conftest.$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18172 $ac_includes_default
18173 long longval () { return (long) (sizeof (long long)); }
18174 unsigned long ulongval () { return (long) (sizeof (long long)); }
18175 #include <stdio.h>
18176 #include <stdlib.h>
18177 int
18178 main ()
18179 {
18180
18181 FILE *f = fopen ("conftest.val", "w");
18182 if (! f)
18183 exit (1);
18184 if (((long) (sizeof (long long))) < 0)
18185 {
18186 long i = longval ();
18187 if (i != ((long) (sizeof (long long))))
18188 exit (1);
18189 fprintf (f, "%ld\n", i);
18190 }
18191 else
18192 {
18193 unsigned long i = ulongval ();
18194 if (i != ((long) (sizeof (long long))))
18195 exit (1);
18196 fprintf (f, "%lu\n", i);
18197 }
18198 exit (ferror (f) || fclose (f) != 0);
18199
18200 ;
18201 return 0;
18202 }
18203 _ACEOF
18204 rm -f conftest$ac_exeext
18205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18206 (eval $ac_link) 2>&5
18207 ac_status=$?
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211 (eval $ac_try) 2>&5
18212 ac_status=$?
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); }; }; then
18215 ac_cv_sizeof_long_long=`cat conftest.val`
18216 else
18217 echo "$as_me: program exited with status $ac_status" >&5
18218 echo "$as_me: failed program was:" >&5
18219 sed 's/^/| /' conftest.$ac_ext >&5
18220
18221 ( exit $ac_status )
18222 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18223 See \`config.log' for more details." >&5
18224 echo "$as_me: error: cannot compute sizeof (long long), 77
18225 See \`config.log' for more details." >&2;}
18226 { (exit 1); exit 1; }; }
18227 fi
18228 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18229 fi
18230 fi
18231 rm -f conftest.val
18232 else
18233 ac_cv_sizeof_long_long=0
18234 fi
18235 fi
18236 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18237 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18238 cat >>confdefs.h <<_ACEOF
18239 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18240 _ACEOF
18241
18242
18243 ;;
18244 *-hp-hpux* )
18245 echo "$as_me:$LINENO: checking for long long" >&5
18246 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18247 if test "${ac_cv_type_long_long+set}" = set; then
18248 echo $ECHO_N "(cached) $ECHO_C" >&6
18249 else
18250 cat >conftest.$ac_ext <<_ACEOF
18251 /* confdefs.h. */
18252 _ACEOF
18253 cat confdefs.h >>conftest.$ac_ext
18254 cat >>conftest.$ac_ext <<_ACEOF
18255 /* end confdefs.h. */
18256 $ac_includes_default
18257 int
18258 main ()
18259 {
18260 if ((long long *) 0)
18261 return 0;
18262 if (sizeof (long long))
18263 return 0;
18264 ;
18265 return 0;
18266 }
18267 _ACEOF
18268 rm -f conftest.$ac_objext
18269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18270 (eval $ac_compile) 2>conftest.er1
18271 ac_status=$?
18272 grep -v '^ *+' conftest.er1 >conftest.err
18273 rm -f conftest.er1
18274 cat conftest.err >&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } &&
18277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18279 (eval $ac_try) 2>&5
18280 ac_status=$?
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); }; } &&
18283 { ac_try='test -s conftest.$ac_objext'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18286 ac_status=$?
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; }; then
18289 ac_cv_type_long_long=yes
18290 else
18291 echo "$as_me: failed program was:" >&5
18292 sed 's/^/| /' conftest.$ac_ext >&5
18293
18294 ac_cv_type_long_long=no
18295 fi
18296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18297 fi
18298 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18299 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18300
18301 echo "$as_me:$LINENO: checking size of long long" >&5
18302 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18303 if test "${ac_cv_sizeof_long_long+set}" = set; then
18304 echo $ECHO_N "(cached) $ECHO_C" >&6
18305 else
18306 if test "$ac_cv_type_long_long" = yes; then
18307 # The cast to unsigned long works around a bug in the HP C Compiler
18308 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18309 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18310 # This bug is HP SR number 8606223364.
18311 if test "$cross_compiling" = yes; then
18312 # Depending upon the size, compute the lo and hi bounds.
18313 cat >conftest.$ac_ext <<_ACEOF
18314 /* confdefs.h. */
18315 _ACEOF
18316 cat confdefs.h >>conftest.$ac_ext
18317 cat >>conftest.$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319 $ac_includes_default
18320 int
18321 main ()
18322 {
18323 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18324 test_array [0] = 0
18325
18326 ;
18327 return 0;
18328 }
18329 _ACEOF
18330 rm -f conftest.$ac_objext
18331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18332 (eval $ac_compile) 2>conftest.er1
18333 ac_status=$?
18334 grep -v '^ *+' conftest.er1 >conftest.err
18335 rm -f conftest.er1
18336 cat conftest.err >&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); } &&
18339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341 (eval $ac_try) 2>&5
18342 ac_status=$?
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; } &&
18345 { ac_try='test -s conftest.$ac_objext'
18346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18347 (eval $ac_try) 2>&5
18348 ac_status=$?
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); }; }; then
18351 ac_lo=0 ac_mid=0
18352 while :; do
18353 cat >conftest.$ac_ext <<_ACEOF
18354 /* confdefs.h. */
18355 _ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 $ac_includes_default
18360 int
18361 main ()
18362 {
18363 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18364 test_array [0] = 0
18365
18366 ;
18367 return 0;
18368 }
18369 _ACEOF
18370 rm -f conftest.$ac_objext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18372 (eval $ac_compile) 2>conftest.er1
18373 ac_status=$?
18374 grep -v '^ *+' conftest.er1 >conftest.err
18375 rm -f conftest.er1
18376 cat conftest.err >&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18381 (eval $ac_try) 2>&5
18382 ac_status=$?
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); }; } &&
18385 { ac_try='test -s conftest.$ac_objext'
18386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18387 (eval $ac_try) 2>&5
18388 ac_status=$?
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); }; }; then
18391 ac_hi=$ac_mid; break
18392 else
18393 echo "$as_me: failed program was:" >&5
18394 sed 's/^/| /' conftest.$ac_ext >&5
18395
18396 ac_lo=`expr $ac_mid + 1`
18397 if test $ac_lo -le $ac_mid; then
18398 ac_lo= ac_hi=
18399 break
18400 fi
18401 ac_mid=`expr 2 '*' $ac_mid + 1`
18402 fi
18403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18404 done
18405 else
18406 echo "$as_me: failed program was:" >&5
18407 sed 's/^/| /' conftest.$ac_ext >&5
18408
18409 cat >conftest.$ac_ext <<_ACEOF
18410 /* confdefs.h. */
18411 _ACEOF
18412 cat confdefs.h >>conftest.$ac_ext
18413 cat >>conftest.$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 $ac_includes_default
18416 int
18417 main ()
18418 {
18419 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18420 test_array [0] = 0
18421
18422 ;
18423 return 0;
18424 }
18425 _ACEOF
18426 rm -f conftest.$ac_objext
18427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18428 (eval $ac_compile) 2>conftest.er1
18429 ac_status=$?
18430 grep -v '^ *+' conftest.er1 >conftest.err
18431 rm -f conftest.er1
18432 cat conftest.err >&5
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); } &&
18435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18437 (eval $ac_try) 2>&5
18438 ac_status=$?
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); }; } &&
18441 { ac_try='test -s conftest.$ac_objext'
18442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443 (eval $ac_try) 2>&5
18444 ac_status=$?
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; }; then
18447 ac_hi=-1 ac_mid=-1
18448 while :; do
18449 cat >conftest.$ac_ext <<_ACEOF
18450 /* confdefs.h. */
18451 _ACEOF
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 $ac_includes_default
18456 int
18457 main ()
18458 {
18459 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18460 test_array [0] = 0
18461
18462 ;
18463 return 0;
18464 }
18465 _ACEOF
18466 rm -f conftest.$ac_objext
18467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18468 (eval $ac_compile) 2>conftest.er1
18469 ac_status=$?
18470 grep -v '^ *+' conftest.er1 >conftest.err
18471 rm -f conftest.er1
18472 cat conftest.err >&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } &&
18475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18478 ac_status=$?
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; } &&
18481 { ac_try='test -s conftest.$ac_objext'
18482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483 (eval $ac_try) 2>&5
18484 ac_status=$?
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; }; then
18487 ac_lo=$ac_mid; break
18488 else
18489 echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.$ac_ext >&5
18491
18492 ac_hi=`expr '(' $ac_mid ')' - 1`
18493 if test $ac_mid -le $ac_hi; then
18494 ac_lo= ac_hi=
18495 break
18496 fi
18497 ac_mid=`expr 2 '*' $ac_mid`
18498 fi
18499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18500 done
18501 else
18502 echo "$as_me: failed program was:" >&5
18503 sed 's/^/| /' conftest.$ac_ext >&5
18504
18505 ac_lo= ac_hi=
18506 fi
18507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18508 fi
18509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18510 # Binary search between lo and hi bounds.
18511 while test "x$ac_lo" != "x$ac_hi"; do
18512 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18513 cat >conftest.$ac_ext <<_ACEOF
18514 /* confdefs.h. */
18515 _ACEOF
18516 cat confdefs.h >>conftest.$ac_ext
18517 cat >>conftest.$ac_ext <<_ACEOF
18518 /* end confdefs.h. */
18519 $ac_includes_default
18520 int
18521 main ()
18522 {
18523 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18524 test_array [0] = 0
18525
18526 ;
18527 return 0;
18528 }
18529 _ACEOF
18530 rm -f conftest.$ac_objext
18531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18532 (eval $ac_compile) 2>conftest.er1
18533 ac_status=$?
18534 grep -v '^ *+' conftest.er1 >conftest.err
18535 rm -f conftest.er1
18536 cat conftest.err >&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); } &&
18539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18541 (eval $ac_try) 2>&5
18542 ac_status=$?
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); }; } &&
18545 { ac_try='test -s conftest.$ac_objext'
18546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18547 (eval $ac_try) 2>&5
18548 ac_status=$?
18549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550 (exit $ac_status); }; }; then
18551 ac_hi=$ac_mid
18552 else
18553 echo "$as_me: failed program was:" >&5
18554 sed 's/^/| /' conftest.$ac_ext >&5
18555
18556 ac_lo=`expr '(' $ac_mid ')' + 1`
18557 fi
18558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18559 done
18560 case $ac_lo in
18561 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18562 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18563 See \`config.log' for more details." >&5
18564 echo "$as_me: error: cannot compute sizeof (long long), 77
18565 See \`config.log' for more details." >&2;}
18566 { (exit 1); exit 1; }; } ;;
18567 esac
18568 else
18569 if test "$cross_compiling" = yes; then
18570 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18571 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18572 { (exit 1); exit 1; }; }
18573 else
18574 cat >conftest.$ac_ext <<_ACEOF
18575 /* confdefs.h. */
18576 _ACEOF
18577 cat confdefs.h >>conftest.$ac_ext
18578 cat >>conftest.$ac_ext <<_ACEOF
18579 /* end confdefs.h. */
18580 $ac_includes_default
18581 long longval () { return (long) (sizeof (long long)); }
18582 unsigned long ulongval () { return (long) (sizeof (long long)); }
18583 #include <stdio.h>
18584 #include <stdlib.h>
18585 int
18586 main ()
18587 {
18588
18589 FILE *f = fopen ("conftest.val", "w");
18590 if (! f)
18591 exit (1);
18592 if (((long) (sizeof (long long))) < 0)
18593 {
18594 long i = longval ();
18595 if (i != ((long) (sizeof (long long))))
18596 exit (1);
18597 fprintf (f, "%ld\n", i);
18598 }
18599 else
18600 {
18601 unsigned long i = ulongval ();
18602 if (i != ((long) (sizeof (long long))))
18603 exit (1);
18604 fprintf (f, "%lu\n", i);
18605 }
18606 exit (ferror (f) || fclose (f) != 0);
18607
18608 ;
18609 return 0;
18610 }
18611 _ACEOF
18612 rm -f conftest$ac_exeext
18613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18614 (eval $ac_link) 2>&5
18615 ac_status=$?
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18620 ac_status=$?
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; }; then
18623 ac_cv_sizeof_long_long=`cat conftest.val`
18624 else
18625 echo "$as_me: program exited with status $ac_status" >&5
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.$ac_ext >&5
18628
18629 ( exit $ac_status )
18630 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18631 See \`config.log' for more details." >&5
18632 echo "$as_me: error: cannot compute sizeof (long long), 77
18633 See \`config.log' for more details." >&2;}
18634 { (exit 1); exit 1; }; }
18635 fi
18636 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18637 fi
18638 fi
18639 rm -f conftest.val
18640 else
18641 ac_cv_sizeof_long_long=0
18642 fi
18643 fi
18644 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18645 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18646 cat >>confdefs.h <<_ACEOF
18647 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18648 _ACEOF
18649
18650
18651 if test "$ac_cv_sizeof_long_long" != "0"; then
18652 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
18653 fi
18654 ;;
18655 * )
18656 echo "$as_me:$LINENO: checking for long long" >&5
18657 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18658 if test "${ac_cv_type_long_long+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18660 else
18661 cat >conftest.$ac_ext <<_ACEOF
18662 /* confdefs.h. */
18663 _ACEOF
18664 cat confdefs.h >>conftest.$ac_ext
18665 cat >>conftest.$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18667 $ac_includes_default
18668 int
18669 main ()
18670 {
18671 if ((long long *) 0)
18672 return 0;
18673 if (sizeof (long long))
18674 return 0;
18675 ;
18676 return 0;
18677 }
18678 _ACEOF
18679 rm -f conftest.$ac_objext
18680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18681 (eval $ac_compile) 2>conftest.er1
18682 ac_status=$?
18683 grep -v '^ *+' conftest.er1 >conftest.err
18684 rm -f conftest.er1
18685 cat conftest.err >&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); } &&
18688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18690 (eval $ac_try) 2>&5
18691 ac_status=$?
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); }; } &&
18694 { ac_try='test -s conftest.$ac_objext'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18697 ac_status=$?
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; }; then
18700 ac_cv_type_long_long=yes
18701 else
18702 echo "$as_me: failed program was:" >&5
18703 sed 's/^/| /' conftest.$ac_ext >&5
18704
18705 ac_cv_type_long_long=no
18706 fi
18707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18708 fi
18709 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18710 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18711
18712 echo "$as_me:$LINENO: checking size of long long" >&5
18713 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18714 if test "${ac_cv_sizeof_long_long+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18716 else
18717 if test "$ac_cv_type_long_long" = yes; then
18718 # The cast to unsigned long works around a bug in the HP C Compiler
18719 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18720 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18721 # This bug is HP SR number 8606223364.
18722 if test "$cross_compiling" = yes; then
18723 # Depending upon the size, compute the lo and hi bounds.
18724 cat >conftest.$ac_ext <<_ACEOF
18725 /* confdefs.h. */
18726 _ACEOF
18727 cat confdefs.h >>conftest.$ac_ext
18728 cat >>conftest.$ac_ext <<_ACEOF
18729 /* end confdefs.h. */
18730 $ac_includes_default
18731 int
18732 main ()
18733 {
18734 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18735 test_array [0] = 0
18736
18737 ;
18738 return 0;
18739 }
18740 _ACEOF
18741 rm -f conftest.$ac_objext
18742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18743 (eval $ac_compile) 2>conftest.er1
18744 ac_status=$?
18745 grep -v '^ *+' conftest.er1 >conftest.err
18746 rm -f conftest.er1
18747 cat conftest.err >&5
18748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18749 (exit $ac_status); } &&
18750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18752 (eval $ac_try) 2>&5
18753 ac_status=$?
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); }; } &&
18756 { ac_try='test -s conftest.$ac_objext'
18757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758 (eval $ac_try) 2>&5
18759 ac_status=$?
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; }; then
18762 ac_lo=0 ac_mid=0
18763 while :; do
18764 cat >conftest.$ac_ext <<_ACEOF
18765 /* confdefs.h. */
18766 _ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770 $ac_includes_default
18771 int
18772 main ()
18773 {
18774 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18775 test_array [0] = 0
18776
18777 ;
18778 return 0;
18779 }
18780 _ACEOF
18781 rm -f conftest.$ac_objext
18782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18783 (eval $ac_compile) 2>conftest.er1
18784 ac_status=$?
18785 grep -v '^ *+' conftest.er1 >conftest.err
18786 rm -f conftest.er1
18787 cat conftest.err >&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); } &&
18790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18792 (eval $ac_try) 2>&5
18793 ac_status=$?
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; } &&
18796 { ac_try='test -s conftest.$ac_objext'
18797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18798 (eval $ac_try) 2>&5
18799 ac_status=$?
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); }; }; then
18802 ac_hi=$ac_mid; break
18803 else
18804 echo "$as_me: failed program was:" >&5
18805 sed 's/^/| /' conftest.$ac_ext >&5
18806
18807 ac_lo=`expr $ac_mid + 1`
18808 if test $ac_lo -le $ac_mid; then
18809 ac_lo= ac_hi=
18810 break
18811 fi
18812 ac_mid=`expr 2 '*' $ac_mid + 1`
18813 fi
18814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18815 done
18816 else
18817 echo "$as_me: failed program was:" >&5
18818 sed 's/^/| /' conftest.$ac_ext >&5
18819
18820 cat >conftest.$ac_ext <<_ACEOF
18821 /* confdefs.h. */
18822 _ACEOF
18823 cat confdefs.h >>conftest.$ac_ext
18824 cat >>conftest.$ac_ext <<_ACEOF
18825 /* end confdefs.h. */
18826 $ac_includes_default
18827 int
18828 main ()
18829 {
18830 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18831 test_array [0] = 0
18832
18833 ;
18834 return 0;
18835 }
18836 _ACEOF
18837 rm -f conftest.$ac_objext
18838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18839 (eval $ac_compile) 2>conftest.er1
18840 ac_status=$?
18841 grep -v '^ *+' conftest.er1 >conftest.err
18842 rm -f conftest.er1
18843 cat conftest.err >&5
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); } &&
18846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18848 (eval $ac_try) 2>&5
18849 ac_status=$?
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); }; } &&
18852 { ac_try='test -s conftest.$ac_objext'
18853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18854 (eval $ac_try) 2>&5
18855 ac_status=$?
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); }; }; then
18858 ac_hi=-1 ac_mid=-1
18859 while :; do
18860 cat >conftest.$ac_ext <<_ACEOF
18861 /* confdefs.h. */
18862 _ACEOF
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 $ac_includes_default
18867 int
18868 main ()
18869 {
18870 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18871 test_array [0] = 0
18872
18873 ;
18874 return 0;
18875 }
18876 _ACEOF
18877 rm -f conftest.$ac_objext
18878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18879 (eval $ac_compile) 2>conftest.er1
18880 ac_status=$?
18881 grep -v '^ *+' conftest.er1 >conftest.err
18882 rm -f conftest.er1
18883 cat conftest.err >&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); } &&
18886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18888 (eval $ac_try) 2>&5
18889 ac_status=$?
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); }; } &&
18892 { ac_try='test -s conftest.$ac_objext'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18895 ac_status=$?
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; }; then
18898 ac_lo=$ac_mid; break
18899 else
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18902
18903 ac_hi=`expr '(' $ac_mid ')' - 1`
18904 if test $ac_mid -le $ac_hi; then
18905 ac_lo= ac_hi=
18906 break
18907 fi
18908 ac_mid=`expr 2 '*' $ac_mid`
18909 fi
18910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18911 done
18912 else
18913 echo "$as_me: failed program was:" >&5
18914 sed 's/^/| /' conftest.$ac_ext >&5
18915
18916 ac_lo= ac_hi=
18917 fi
18918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18919 fi
18920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18921 # Binary search between lo and hi bounds.
18922 while test "x$ac_lo" != "x$ac_hi"; do
18923 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18924 cat >conftest.$ac_ext <<_ACEOF
18925 /* confdefs.h. */
18926 _ACEOF
18927 cat confdefs.h >>conftest.$ac_ext
18928 cat >>conftest.$ac_ext <<_ACEOF
18929 /* end confdefs.h. */
18930 $ac_includes_default
18931 int
18932 main ()
18933 {
18934 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18935 test_array [0] = 0
18936
18937 ;
18938 return 0;
18939 }
18940 _ACEOF
18941 rm -f conftest.$ac_objext
18942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18943 (eval $ac_compile) 2>conftest.er1
18944 ac_status=$?
18945 grep -v '^ *+' conftest.er1 >conftest.err
18946 rm -f conftest.er1
18947 cat conftest.err >&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } &&
18950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952 (eval $ac_try) 2>&5
18953 ac_status=$?
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); }; } &&
18956 { ac_try='test -s conftest.$ac_objext'
18957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958 (eval $ac_try) 2>&5
18959 ac_status=$?
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); }; }; then
18962 ac_hi=$ac_mid
18963 else
18964 echo "$as_me: failed program was:" >&5
18965 sed 's/^/| /' conftest.$ac_ext >&5
18966
18967 ac_lo=`expr '(' $ac_mid ')' + 1`
18968 fi
18969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18970 done
18971 case $ac_lo in
18972 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18973 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18974 See \`config.log' for more details." >&5
18975 echo "$as_me: error: cannot compute sizeof (long long), 77
18976 See \`config.log' for more details." >&2;}
18977 { (exit 1); exit 1; }; } ;;
18978 esac
18979 else
18980 if test "$cross_compiling" = yes; then
18981 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18982 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18983 { (exit 1); exit 1; }; }
18984 else
18985 cat >conftest.$ac_ext <<_ACEOF
18986 /* confdefs.h. */
18987 _ACEOF
18988 cat confdefs.h >>conftest.$ac_ext
18989 cat >>conftest.$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991 $ac_includes_default
18992 long longval () { return (long) (sizeof (long long)); }
18993 unsigned long ulongval () { return (long) (sizeof (long long)); }
18994 #include <stdio.h>
18995 #include <stdlib.h>
18996 int
18997 main ()
18998 {
18999
19000 FILE *f = fopen ("conftest.val", "w");
19001 if (! f)
19002 exit (1);
19003 if (((long) (sizeof (long long))) < 0)
19004 {
19005 long i = longval ();
19006 if (i != ((long) (sizeof (long long))))
19007 exit (1);
19008 fprintf (f, "%ld\n", i);
19009 }
19010 else
19011 {
19012 unsigned long i = ulongval ();
19013 if (i != ((long) (sizeof (long long))))
19014 exit (1);
19015 fprintf (f, "%lu\n", i);
19016 }
19017 exit (ferror (f) || fclose (f) != 0);
19018
19019 ;
19020 return 0;
19021 }
19022 _ACEOF
19023 rm -f conftest$ac_exeext
19024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19025 (eval $ac_link) 2>&5
19026 ac_status=$?
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030 (eval $ac_try) 2>&5
19031 ac_status=$?
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; }; then
19034 ac_cv_sizeof_long_long=`cat conftest.val`
19035 else
19036 echo "$as_me: program exited with status $ac_status" >&5
19037 echo "$as_me: failed program was:" >&5
19038 sed 's/^/| /' conftest.$ac_ext >&5
19039
19040 ( exit $ac_status )
19041 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19042 See \`config.log' for more details." >&5
19043 echo "$as_me: error: cannot compute sizeof (long long), 77
19044 See \`config.log' for more details." >&2;}
19045 { (exit 1); exit 1; }; }
19046 fi
19047 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19048 fi
19049 fi
19050 rm -f conftest.val
19051 else
19052 ac_cv_sizeof_long_long=0
19053 fi
19054 fi
19055 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19056 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19057 cat >>confdefs.h <<_ACEOF
19058 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19059 _ACEOF
19060
19061
19062 esac
19063
19064 echo "$as_me:$LINENO: checking for wchar_t" >&5
19065 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19066 if test "${ac_cv_type_wchar_t+set}" = set; then
19067 echo $ECHO_N "(cached) $ECHO_C" >&6
19068 else
19069 cat >conftest.$ac_ext <<_ACEOF
19070 /* confdefs.h. */
19071 _ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19075
19076 /* DJGPP only has fake wchar_t: */
19077 #ifdef __DJGPP__
19078 # error "fake wchar_t"
19079 #endif
19080 #ifdef HAVE_WCHAR_H
19081 # ifdef __CYGWIN__
19082 # include <stddef.h>
19083 # endif
19084 # include <wchar.h>
19085 #endif
19086 #ifdef HAVE_STDLIB_H
19087 # include <stdlib.h>
19088 #endif
19089 #include <stdio.h>
19090
19091
19092
19093 int
19094 main ()
19095 {
19096 if ((wchar_t *) 0)
19097 return 0;
19098 if (sizeof (wchar_t))
19099 return 0;
19100 ;
19101 return 0;
19102 }
19103 _ACEOF
19104 rm -f conftest.$ac_objext
19105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19106 (eval $ac_compile) 2>conftest.er1
19107 ac_status=$?
19108 grep -v '^ *+' conftest.er1 >conftest.err
19109 rm -f conftest.er1
19110 cat conftest.err >&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } &&
19113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19115 (eval $ac_try) 2>&5
19116 ac_status=$?
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); }; } &&
19119 { ac_try='test -s conftest.$ac_objext'
19120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19121 (eval $ac_try) 2>&5
19122 ac_status=$?
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); }; }; then
19125 ac_cv_type_wchar_t=yes
19126 else
19127 echo "$as_me: failed program was:" >&5
19128 sed 's/^/| /' conftest.$ac_ext >&5
19129
19130 ac_cv_type_wchar_t=no
19131 fi
19132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19133 fi
19134 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19135 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19136
19137 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19138 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19139 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19140 echo $ECHO_N "(cached) $ECHO_C" >&6
19141 else
19142 if test "$ac_cv_type_wchar_t" = yes; then
19143 # The cast to unsigned long works around a bug in the HP C Compiler
19144 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19145 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19146 # This bug is HP SR number 8606223364.
19147 if test "$cross_compiling" = yes; then
19148 # Depending upon the size, compute the lo and hi bounds.
19149 cat >conftest.$ac_ext <<_ACEOF
19150 /* confdefs.h. */
19151 _ACEOF
19152 cat confdefs.h >>conftest.$ac_ext
19153 cat >>conftest.$ac_ext <<_ACEOF
19154 /* end confdefs.h. */
19155
19156 /* DJGPP only has fake wchar_t: */
19157 #ifdef __DJGPP__
19158 # error "fake wchar_t"
19159 #endif
19160 #ifdef HAVE_WCHAR_H
19161 # ifdef __CYGWIN__
19162 # include <stddef.h>
19163 # endif
19164 # include <wchar.h>
19165 #endif
19166 #ifdef HAVE_STDLIB_H
19167 # include <stdlib.h>
19168 #endif
19169 #include <stdio.h>
19170
19171
19172
19173 int
19174 main ()
19175 {
19176 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19177 test_array [0] = 0
19178
19179 ;
19180 return 0;
19181 }
19182 _ACEOF
19183 rm -f conftest.$ac_objext
19184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19185 (eval $ac_compile) 2>conftest.er1
19186 ac_status=$?
19187 grep -v '^ *+' conftest.er1 >conftest.err
19188 rm -f conftest.er1
19189 cat conftest.err >&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); } &&
19192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19194 (eval $ac_try) 2>&5
19195 ac_status=$?
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); }; } &&
19198 { ac_try='test -s conftest.$ac_objext'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19201 ac_status=$?
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19204 ac_lo=0 ac_mid=0
19205 while :; do
19206 cat >conftest.$ac_ext <<_ACEOF
19207 /* confdefs.h. */
19208 _ACEOF
19209 cat confdefs.h >>conftest.$ac_ext
19210 cat >>conftest.$ac_ext <<_ACEOF
19211 /* end confdefs.h. */
19212
19213 /* DJGPP only has fake wchar_t: */
19214 #ifdef __DJGPP__
19215 # error "fake wchar_t"
19216 #endif
19217 #ifdef HAVE_WCHAR_H
19218 # ifdef __CYGWIN__
19219 # include <stddef.h>
19220 # endif
19221 # include <wchar.h>
19222 #endif
19223 #ifdef HAVE_STDLIB_H
19224 # include <stdlib.h>
19225 #endif
19226 #include <stdio.h>
19227
19228
19229
19230 int
19231 main ()
19232 {
19233 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19234 test_array [0] = 0
19235
19236 ;
19237 return 0;
19238 }
19239 _ACEOF
19240 rm -f conftest.$ac_objext
19241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19242 (eval $ac_compile) 2>conftest.er1
19243 ac_status=$?
19244 grep -v '^ *+' conftest.er1 >conftest.err
19245 rm -f conftest.er1
19246 cat conftest.err >&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } &&
19249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19252 ac_status=$?
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; } &&
19255 { ac_try='test -s conftest.$ac_objext'
19256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19257 (eval $ac_try) 2>&5
19258 ac_status=$?
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); }; }; then
19261 ac_hi=$ac_mid; break
19262 else
19263 echo "$as_me: failed program was:" >&5
19264 sed 's/^/| /' conftest.$ac_ext >&5
19265
19266 ac_lo=`expr $ac_mid + 1`
19267 if test $ac_lo -le $ac_mid; then
19268 ac_lo= ac_hi=
19269 break
19270 fi
19271 ac_mid=`expr 2 '*' $ac_mid + 1`
19272 fi
19273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19274 done
19275 else
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.$ac_ext >&5
19278
19279 cat >conftest.$ac_ext <<_ACEOF
19280 /* confdefs.h. */
19281 _ACEOF
19282 cat confdefs.h >>conftest.$ac_ext
19283 cat >>conftest.$ac_ext <<_ACEOF
19284 /* end confdefs.h. */
19285
19286 /* DJGPP only has fake wchar_t: */
19287 #ifdef __DJGPP__
19288 # error "fake wchar_t"
19289 #endif
19290 #ifdef HAVE_WCHAR_H
19291 # ifdef __CYGWIN__
19292 # include <stddef.h>
19293 # endif
19294 # include <wchar.h>
19295 #endif
19296 #ifdef HAVE_STDLIB_H
19297 # include <stdlib.h>
19298 #endif
19299 #include <stdio.h>
19300
19301
19302
19303 int
19304 main ()
19305 {
19306 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19307 test_array [0] = 0
19308
19309 ;
19310 return 0;
19311 }
19312 _ACEOF
19313 rm -f conftest.$ac_objext
19314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19315 (eval $ac_compile) 2>conftest.er1
19316 ac_status=$?
19317 grep -v '^ *+' conftest.er1 >conftest.err
19318 rm -f conftest.er1
19319 cat conftest.err >&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } &&
19322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19325 ac_status=$?
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; } &&
19328 { ac_try='test -s conftest.$ac_objext'
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19331 ac_status=$?
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; }; then
19334 ac_hi=-1 ac_mid=-1
19335 while :; do
19336 cat >conftest.$ac_ext <<_ACEOF
19337 /* confdefs.h. */
19338 _ACEOF
19339 cat confdefs.h >>conftest.$ac_ext
19340 cat >>conftest.$ac_ext <<_ACEOF
19341 /* end confdefs.h. */
19342
19343 /* DJGPP only has fake wchar_t: */
19344 #ifdef __DJGPP__
19345 # error "fake wchar_t"
19346 #endif
19347 #ifdef HAVE_WCHAR_H
19348 # ifdef __CYGWIN__
19349 # include <stddef.h>
19350 # endif
19351 # include <wchar.h>
19352 #endif
19353 #ifdef HAVE_STDLIB_H
19354 # include <stdlib.h>
19355 #endif
19356 #include <stdio.h>
19357
19358
19359
19360 int
19361 main ()
19362 {
19363 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19364 test_array [0] = 0
19365
19366 ;
19367 return 0;
19368 }
19369 _ACEOF
19370 rm -f conftest.$ac_objext
19371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19372 (eval $ac_compile) 2>conftest.er1
19373 ac_status=$?
19374 grep -v '^ *+' conftest.er1 >conftest.err
19375 rm -f conftest.er1
19376 cat conftest.err >&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); } &&
19379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19382 ac_status=$?
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; } &&
19385 { ac_try='test -s conftest.$ac_objext'
19386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19387 (eval $ac_try) 2>&5
19388 ac_status=$?
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); }; }; then
19391 ac_lo=$ac_mid; break
19392 else
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.$ac_ext >&5
19395
19396 ac_hi=`expr '(' $ac_mid ')' - 1`
19397 if test $ac_mid -le $ac_hi; then
19398 ac_lo= ac_hi=
19399 break
19400 fi
19401 ac_mid=`expr 2 '*' $ac_mid`
19402 fi
19403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19404 done
19405 else
19406 echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.$ac_ext >&5
19408
19409 ac_lo= ac_hi=
19410 fi
19411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19412 fi
19413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19414 # Binary search between lo and hi bounds.
19415 while test "x$ac_lo" != "x$ac_hi"; do
19416 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19417 cat >conftest.$ac_ext <<_ACEOF
19418 /* confdefs.h. */
19419 _ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423
19424 /* DJGPP only has fake wchar_t: */
19425 #ifdef __DJGPP__
19426 # error "fake wchar_t"
19427 #endif
19428 #ifdef HAVE_WCHAR_H
19429 # ifdef __CYGWIN__
19430 # include <stddef.h>
19431 # endif
19432 # include <wchar.h>
19433 #endif
19434 #ifdef HAVE_STDLIB_H
19435 # include <stdlib.h>
19436 #endif
19437 #include <stdio.h>
19438
19439
19440
19441 int
19442 main ()
19443 {
19444 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19445 test_array [0] = 0
19446
19447 ;
19448 return 0;
19449 }
19450 _ACEOF
19451 rm -f conftest.$ac_objext
19452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19453 (eval $ac_compile) 2>conftest.er1
19454 ac_status=$?
19455 grep -v '^ *+' conftest.er1 >conftest.err
19456 rm -f conftest.er1
19457 cat conftest.err >&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); } &&
19460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462 (eval $ac_try) 2>&5
19463 ac_status=$?
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); }; } &&
19466 { ac_try='test -s conftest.$ac_objext'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19469 ac_status=$?
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; }; then
19472 ac_hi=$ac_mid
19473 else
19474 echo "$as_me: failed program was:" >&5
19475 sed 's/^/| /' conftest.$ac_ext >&5
19476
19477 ac_lo=`expr '(' $ac_mid ')' + 1`
19478 fi
19479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19480 done
19481 case $ac_lo in
19482 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
19483 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19484 See \`config.log' for more details." >&5
19485 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19486 See \`config.log' for more details." >&2;}
19487 { (exit 1); exit 1; }; } ;;
19488 esac
19489 else
19490 if test "$cross_compiling" = yes; then
19491 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19492 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19493 { (exit 1); exit 1; }; }
19494 else
19495 cat >conftest.$ac_ext <<_ACEOF
19496 /* confdefs.h. */
19497 _ACEOF
19498 cat confdefs.h >>conftest.$ac_ext
19499 cat >>conftest.$ac_ext <<_ACEOF
19500 /* end confdefs.h. */
19501
19502 /* DJGPP only has fake wchar_t: */
19503 #ifdef __DJGPP__
19504 # error "fake wchar_t"
19505 #endif
19506 #ifdef HAVE_WCHAR_H
19507 # ifdef __CYGWIN__
19508 # include <stddef.h>
19509 # endif
19510 # include <wchar.h>
19511 #endif
19512 #ifdef HAVE_STDLIB_H
19513 # include <stdlib.h>
19514 #endif
19515 #include <stdio.h>
19516
19517
19518
19519 long longval () { return (long) (sizeof (wchar_t)); }
19520 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19521 #include <stdio.h>
19522 #include <stdlib.h>
19523 int
19524 main ()
19525 {
19526
19527 FILE *f = fopen ("conftest.val", "w");
19528 if (! f)
19529 exit (1);
19530 if (((long) (sizeof (wchar_t))) < 0)
19531 {
19532 long i = longval ();
19533 if (i != ((long) (sizeof (wchar_t))))
19534 exit (1);
19535 fprintf (f, "%ld\n", i);
19536 }
19537 else
19538 {
19539 unsigned long i = ulongval ();
19540 if (i != ((long) (sizeof (wchar_t))))
19541 exit (1);
19542 fprintf (f, "%lu\n", i);
19543 }
19544 exit (ferror (f) || fclose (f) != 0);
19545
19546 ;
19547 return 0;
19548 }
19549 _ACEOF
19550 rm -f conftest$ac_exeext
19551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19552 (eval $ac_link) 2>&5
19553 ac_status=$?
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19558 ac_status=$?
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; }; then
19561 ac_cv_sizeof_wchar_t=`cat conftest.val`
19562 else
19563 echo "$as_me: program exited with status $ac_status" >&5
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.$ac_ext >&5
19566
19567 ( exit $ac_status )
19568 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19569 See \`config.log' for more details." >&5
19570 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19571 See \`config.log' for more details." >&2;}
19572 { (exit 1); exit 1; }; }
19573 fi
19574 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19575 fi
19576 fi
19577 rm -f conftest.val
19578 else
19579 ac_cv_sizeof_wchar_t=0
19580 fi
19581 fi
19582 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19583 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19584 cat >>confdefs.h <<_ACEOF
19585 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19586 _ACEOF
19587
19588
19589
19590 echo "$as_me:$LINENO: checking for va_copy" >&5
19591 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19592 if test "${wx_cv_func_va_copy+set}" = set; then
19593 echo $ECHO_N "(cached) $ECHO_C" >&6
19594 else
19595
19596 cat >conftest.$ac_ext <<_ACEOF
19597
19598 #include <stdarg.h>
19599 void foo(char *f, ...)
19600 {
19601 va_list ap1, ap2;
19602 va_start(ap1, f);
19603 va_copy(ap2, ap1);
19604 va_end(ap2);
19605 va_end(ap1);
19606 }
19607 int main()
19608 {
19609 foo("hi", 17);
19610 return 0;
19611 }
19612 _ACEOF
19613 rm -f conftest.$ac_objext conftest$ac_exeext
19614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19615 (eval $ac_link) 2>conftest.er1
19616 ac_status=$?
19617 grep -v '^ *+' conftest.er1 >conftest.err
19618 rm -f conftest.er1
19619 cat conftest.err >&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } &&
19622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19625 ac_status=$?
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; } &&
19628 { ac_try='test -s conftest$ac_exeext'
19629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19630 (eval $ac_try) 2>&5
19631 ac_status=$?
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); }; }; then
19634 wx_cv_func_va_copy=yes
19635 else
19636 echo "$as_me: failed program was:" >&5
19637 sed 's/^/| /' conftest.$ac_ext >&5
19638
19639 wx_cv_func_va_copy=no
19640
19641 fi
19642 rm -f conftest.err conftest.$ac_objext \
19643 conftest$ac_exeext conftest.$ac_ext
19644
19645
19646 fi
19647 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19648 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19649
19650 if test $wx_cv_func_va_copy = "yes"; then
19651 cat >>confdefs.h <<\_ACEOF
19652 #define HAVE_VA_COPY 1
19653 _ACEOF
19654
19655 else
19656 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19657 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19658 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19659 echo $ECHO_N "(cached) $ECHO_C" >&6
19660 else
19661
19662 if test "$cross_compiling" = yes; then
19663 wx_cv_type_va_list_lvalue=yes
19664
19665 else
19666 cat >conftest.$ac_ext <<_ACEOF
19667
19668 #include <stdarg.h>
19669 int foo(char *f, ...)
19670 {
19671 va_list ap1, ap2;
19672 va_start(ap1, f);
19673 ap2 = ap1;
19674 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19675 return 1;
19676 va_end(ap2);
19677 va_end(ap1);
19678 return 0;
19679 }
19680 int main()
19681 {
19682 return foo("hi", 17);
19683 }
19684 _ACEOF
19685 rm -f conftest$ac_exeext
19686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19687 (eval $ac_link) 2>&5
19688 ac_status=$?
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19693 ac_status=$?
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; }; then
19696 wx_cv_type_va_list_lvalue=yes
19697 else
19698 echo "$as_me: program exited with status $ac_status" >&5
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.$ac_ext >&5
19701
19702 ( exit $ac_status )
19703 wx_cv_type_va_list_lvalue=no
19704 fi
19705 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19706 fi
19707
19708
19709 fi
19710 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19711 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19712
19713 if test $wx_cv_type_va_list_lvalue != "yes"; then
19714 cat >>confdefs.h <<\_ACEOF
19715 #define VA_LIST_IS_ARRAY 1
19716 _ACEOF
19717
19718 fi
19719 fi
19720
19721 # Check whether --enable-largefile or --disable-largefile was given.
19722 if test "${enable_largefile+set}" = set; then
19723 enableval="$enable_largefile"
19724
19725 fi;
19726 if test "$enable_largefile" != no; then
19727 wx_largefile=no
19728
19729 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19730 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19731 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19732 echo $ECHO_N "(cached) $ECHO_C" >&6
19733 else
19734
19735 cat >conftest.$ac_ext <<_ACEOF
19736 /* confdefs.h. */
19737 _ACEOF
19738 cat confdefs.h >>conftest.$ac_ext
19739 cat >>conftest.$ac_ext <<_ACEOF
19740 /* end confdefs.h. */
19741 #define _FILE_OFFSET_BITS 64
19742 #include <sys/types.h>
19743 int
19744 main ()
19745 {
19746 typedef struct {
19747 unsigned int field: sizeof(off_t) == 8;
19748 } wxlf;
19749
19750 ;
19751 return 0;
19752 }
19753 _ACEOF
19754 rm -f conftest.$ac_objext
19755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19756 (eval $ac_compile) 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_objext'
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 ac_cv_sys_file_offset_bits=64
19776 else
19777 echo "$as_me: failed program was:" >&5
19778 sed 's/^/| /' conftest.$ac_ext >&5
19779
19780 ac_cv_sys_file_offset_bits=no
19781 fi
19782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19783
19784
19785 fi
19786 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19787 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19788
19789 if test "$ac_cv_sys_file_offset_bits" != no; then
19790 wx_largefile=yes
19791 cat >>confdefs.h <<_ACEOF
19792 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19793 _ACEOF
19794
19795 fi
19796
19797 if test "x$wx_largefile" != "xyes"; then
19798
19799 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19800 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19801 if test "${ac_cv_sys_large_files+set}" = set; then
19802 echo $ECHO_N "(cached) $ECHO_C" >&6
19803 else
19804
19805 cat >conftest.$ac_ext <<_ACEOF
19806 /* confdefs.h. */
19807 _ACEOF
19808 cat confdefs.h >>conftest.$ac_ext
19809 cat >>conftest.$ac_ext <<_ACEOF
19810 /* end confdefs.h. */
19811 #define _LARGE_FILES 1
19812 #include <sys/types.h>
19813 int
19814 main ()
19815 {
19816 typedef struct {
19817 unsigned int field: sizeof(off_t) == 8;
19818 } wxlf;
19819
19820 ;
19821 return 0;
19822 }
19823 _ACEOF
19824 rm -f conftest.$ac_objext
19825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19826 (eval $ac_compile) 2>conftest.er1
19827 ac_status=$?
19828 grep -v '^ *+' conftest.er1 >conftest.err
19829 rm -f conftest.er1
19830 cat conftest.err >&5
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); } &&
19833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19836 ac_status=$?
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; } &&
19839 { ac_try='test -s conftest.$ac_objext'
19840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19841 (eval $ac_try) 2>&5
19842 ac_status=$?
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; }; then
19845 ac_cv_sys_large_files=1
19846 else
19847 echo "$as_me: failed program was:" >&5
19848 sed 's/^/| /' conftest.$ac_ext >&5
19849
19850 ac_cv_sys_large_files=no
19851 fi
19852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19853
19854
19855 fi
19856 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19857 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19858
19859 if test "$ac_cv_sys_large_files" != no; then
19860 wx_largefile=yes
19861 cat >>confdefs.h <<_ACEOF
19862 #define _LARGE_FILES $ac_cv_sys_large_files
19863 _ACEOF
19864
19865 fi
19866
19867 fi
19868
19869 echo "$as_me:$LINENO: checking if large file support is available" >&5
19870 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19871 if test "x$wx_largefile" = "xyes"; then
19872 cat >>confdefs.h <<\_ACEOF
19873 #define HAVE_LARGEFILE_SUPPORT 1
19874 _ACEOF
19875
19876 fi
19877 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19878 echo "${ECHO_T}$wx_largefile" >&6
19879 fi
19880
19881
19882 if test "x$wx_largefile" = "xyes"; then
19883 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19884 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19885 else
19886 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
19887 fi
19888 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19889 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19890 if test "${ac_cv_sys_largefile_source+set}" = set; then
19891 echo $ECHO_N "(cached) $ECHO_C" >&6
19892 else
19893 while :; do
19894 ac_cv_sys_largefile_source=no
19895 cat >conftest.$ac_ext <<_ACEOF
19896 /* confdefs.h. */
19897 _ACEOF
19898 cat confdefs.h >>conftest.$ac_ext
19899 cat >>conftest.$ac_ext <<_ACEOF
19900 /* end confdefs.h. */
19901 #include <stdio.h>
19902 int
19903 main ()
19904 {
19905 return !fseeko;
19906 ;
19907 return 0;
19908 }
19909 _ACEOF
19910 rm -f conftest.$ac_objext
19911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19912 (eval $ac_compile) 2>conftest.er1
19913 ac_status=$?
19914 grep -v '^ *+' conftest.er1 >conftest.err
19915 rm -f conftest.er1
19916 cat conftest.err >&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); } &&
19919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19922 ac_status=$?
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; } &&
19925 { ac_try='test -s conftest.$ac_objext'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19928 ac_status=$?
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; }; then
19931 break
19932 else
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.$ac_ext >&5
19935
19936 fi
19937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19938 cat >conftest.$ac_ext <<_ACEOF
19939 /* confdefs.h. */
19940 _ACEOF
19941 cat confdefs.h >>conftest.$ac_ext
19942 cat >>conftest.$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19944 #define _LARGEFILE_SOURCE 1
19945 #include <stdio.h>
19946 int
19947 main ()
19948 {
19949 return !fseeko;
19950 ;
19951 return 0;
19952 }
19953 _ACEOF
19954 rm -f conftest.$ac_objext
19955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19956 (eval $ac_compile) 2>conftest.er1
19957 ac_status=$?
19958 grep -v '^ *+' conftest.er1 >conftest.err
19959 rm -f conftest.er1
19960 cat conftest.err >&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); } &&
19963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19965 (eval $ac_try) 2>&5
19966 ac_status=$?
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); }; } &&
19969 { ac_try='test -s conftest.$ac_objext'
19970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19971 (eval $ac_try) 2>&5
19972 ac_status=$?
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); }; }; then
19975 ac_cv_sys_largefile_source=1; break
19976 else
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.$ac_ext >&5
19979
19980 fi
19981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19982 break
19983 done
19984 fi
19985 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
19986 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
19987 if test "$ac_cv_sys_largefile_source" != no; then
19988
19989 cat >>confdefs.h <<_ACEOF
19990 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
19991 _ACEOF
19992
19993 fi
19994 rm -f conftest*
19995
19996 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
19997 # in glibc 2.1.3, but that breaks too many other things.
19998 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
19999 echo "$as_me:$LINENO: checking for fseeko" >&5
20000 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20001 if test "${ac_cv_func_fseeko+set}" = set; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 else
20004 cat >conftest.$ac_ext <<_ACEOF
20005 /* confdefs.h. */
20006 _ACEOF
20007 cat confdefs.h >>conftest.$ac_ext
20008 cat >>conftest.$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20010 #include <stdio.h>
20011 int
20012 main ()
20013 {
20014 return fseeko && fseeko (stdin, 0, 0);
20015 ;
20016 return 0;
20017 }
20018 _ACEOF
20019 rm -f conftest.$ac_objext conftest$ac_exeext
20020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20021 (eval $ac_link) 2>conftest.er1
20022 ac_status=$?
20023 grep -v '^ *+' conftest.er1 >conftest.err
20024 rm -f conftest.er1
20025 cat conftest.err >&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); } &&
20028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20031 ac_status=$?
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; } &&
20034 { ac_try='test -s conftest$ac_exeext'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20037 ac_status=$?
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_func_fseeko=yes
20041 else
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20044
20045 ac_cv_func_fseeko=no
20046 fi
20047 rm -f conftest.err conftest.$ac_objext \
20048 conftest$ac_exeext conftest.$ac_ext
20049 fi
20050 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20051 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20052 if test $ac_cv_func_fseeko = yes; then
20053
20054 cat >>confdefs.h <<\_ACEOF
20055 #define HAVE_FSEEKO 1
20056 _ACEOF
20057
20058 fi
20059
20060 if test "$ac_cv_sys_largefile_source" != no; then
20061 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20062 fi
20063 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20064 fi
20065
20066 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20067 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20068 if test "${ac_cv_c_bigendian+set}" = set; then
20069 echo $ECHO_N "(cached) $ECHO_C" >&6
20070 else
20071 ac_cv_c_bigendian=unknown
20072 # See if sys/param.h defines the BYTE_ORDER macro.
20073 cat >conftest.$ac_ext <<_ACEOF
20074 /* confdefs.h. */
20075 _ACEOF
20076 cat confdefs.h >>conftest.$ac_ext
20077 cat >>conftest.$ac_ext <<_ACEOF
20078 /* end confdefs.h. */
20079 #include <sys/types.h>
20080 #include <sys/param.h>
20081 int
20082 main ()
20083 {
20084
20085 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20086 bogus endian macros
20087 #endif
20088 ;
20089 return 0;
20090 }
20091 _ACEOF
20092 rm -f conftest.$ac_objext
20093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20094 (eval $ac_compile) 2>conftest.er1
20095 ac_status=$?
20096 grep -v '^ *+' conftest.er1 >conftest.err
20097 rm -f conftest.er1
20098 cat conftest.err >&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); } &&
20101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20103 (eval $ac_try) 2>&5
20104 ac_status=$?
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); }; } &&
20107 { ac_try='test -s conftest.$ac_objext'
20108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109 (eval $ac_try) 2>&5
20110 ac_status=$?
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); }; }; then
20113 # It does; now see whether it defined to BIG_ENDIAN or not.
20114 cat >conftest.$ac_ext <<_ACEOF
20115 /* confdefs.h. */
20116 _ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 #include <sys/types.h>
20121 #include <sys/param.h>
20122 int
20123 main ()
20124 {
20125
20126 #if BYTE_ORDER != BIG_ENDIAN
20127 not big endian
20128 #endif
20129 ;
20130 return 0;
20131 }
20132 _ACEOF
20133 rm -f conftest.$ac_objext
20134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20135 (eval $ac_compile) 2>conftest.er1
20136 ac_status=$?
20137 grep -v '^ *+' conftest.er1 >conftest.err
20138 rm -f conftest.er1
20139 cat conftest.err >&5
20140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141 (exit $ac_status); } &&
20142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20144 (eval $ac_try) 2>&5
20145 ac_status=$?
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); }; } &&
20148 { ac_try='test -s conftest.$ac_objext'
20149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20150 (eval $ac_try) 2>&5
20151 ac_status=$?
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); }; }; then
20154 ac_cv_c_bigendian=yes
20155 else
20156 echo "$as_me: failed program was:" >&5
20157 sed 's/^/| /' conftest.$ac_ext >&5
20158
20159 ac_cv_c_bigendian=no
20160 fi
20161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20162 else
20163 echo "$as_me: failed program was:" >&5
20164 sed 's/^/| /' conftest.$ac_ext >&5
20165
20166 fi
20167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20168 if test $ac_cv_c_bigendian = unknown; then
20169 if test "$cross_compiling" = yes; then
20170 ac_cv_c_bigendian=unknown
20171 else
20172 cat >conftest.$ac_ext <<_ACEOF
20173 /* confdefs.h. */
20174 _ACEOF
20175 cat confdefs.h >>conftest.$ac_ext
20176 cat >>conftest.$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20178 main () {
20179 /* Are we little or big endian? From Harbison&Steele. */
20180 union
20181 {
20182 long l;
20183 char c[sizeof (long)];
20184 } u;
20185 u.l = 1;
20186 exit (u.c[sizeof (long) - 1] == 1);
20187 }
20188 _ACEOF
20189 rm -f conftest$ac_exeext
20190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20191 (eval $ac_link) 2>&5
20192 ac_status=$?
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196 (eval $ac_try) 2>&5
20197 ac_status=$?
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); }; }; then
20200 ac_cv_c_bigendian=no
20201 else
20202 echo "$as_me: program exited with status $ac_status" >&5
20203 echo "$as_me: failed program was:" >&5
20204 sed 's/^/| /' conftest.$ac_ext >&5
20205
20206 ( exit $ac_status )
20207 ac_cv_c_bigendian=yes
20208 fi
20209 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20210 fi
20211 fi
20212 fi
20213 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20214 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20215 if test $ac_cv_c_bigendian = unknown; then
20216 { 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
20217 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;}
20218 fi
20219 if test $ac_cv_c_bigendian = yes; then
20220 cat >>confdefs.h <<\_ACEOF
20221 #define WORDS_BIGENDIAN 1
20222 _ACEOF
20223
20224 fi
20225
20226
20227 ac_ext=cc
20228 ac_cpp='$CXXCPP $CPPFLAGS'
20229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20232 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20233 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20234 if test -z "$CXXCPP"; then
20235 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20236 echo $ECHO_N "(cached) $ECHO_C" >&6
20237 else
20238 # Double quotes because CXXCPP needs to be expanded
20239 for CXXCPP in "$CXX -E" "/lib/cpp"
20240 do
20241 ac_preproc_ok=false
20242 for ac_cxx_preproc_warn_flag in '' yes
20243 do
20244 # Use a header file that comes with gcc, so configuring glibc
20245 # with a fresh cross-compiler works.
20246 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20247 # <limits.h> exists even on freestanding compilers.
20248 # On the NeXT, cc -E runs the code through the compiler's parser,
20249 # not just through cpp. "Syntax error" is here to catch this case.
20250 cat >conftest.$ac_ext <<_ACEOF
20251 /* confdefs.h. */
20252 _ACEOF
20253 cat confdefs.h >>conftest.$ac_ext
20254 cat >>conftest.$ac_ext <<_ACEOF
20255 /* end confdefs.h. */
20256 #ifdef __STDC__
20257 # include <limits.h>
20258 #else
20259 # include <assert.h>
20260 #endif
20261 Syntax error
20262 _ACEOF
20263 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20264 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20265 ac_status=$?
20266 grep -v '^ *+' conftest.er1 >conftest.err
20267 rm -f conftest.er1
20268 cat conftest.err >&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } >/dev/null; then
20271 if test -s conftest.err; then
20272 ac_cpp_err=$ac_cxx_preproc_warn_flag
20273 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20274 else
20275 ac_cpp_err=
20276 fi
20277 else
20278 ac_cpp_err=yes
20279 fi
20280 if test -z "$ac_cpp_err"; then
20281 :
20282 else
20283 echo "$as_me: failed program was:" >&5
20284 sed 's/^/| /' conftest.$ac_ext >&5
20285
20286 # Broken: fails on valid input.
20287 continue
20288 fi
20289 rm -f conftest.err conftest.$ac_ext
20290
20291 # OK, works on sane cases. Now check whether non-existent headers
20292 # can be detected and how.
20293 cat >conftest.$ac_ext <<_ACEOF
20294 /* confdefs.h. */
20295 _ACEOF
20296 cat confdefs.h >>conftest.$ac_ext
20297 cat >>conftest.$ac_ext <<_ACEOF
20298 /* end confdefs.h. */
20299 #include <ac_nonexistent.h>
20300 _ACEOF
20301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20303 ac_status=$?
20304 grep -v '^ *+' conftest.er1 >conftest.err
20305 rm -f conftest.er1
20306 cat conftest.err >&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); } >/dev/null; then
20309 if test -s conftest.err; then
20310 ac_cpp_err=$ac_cxx_preproc_warn_flag
20311 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20312 else
20313 ac_cpp_err=
20314 fi
20315 else
20316 ac_cpp_err=yes
20317 fi
20318 if test -z "$ac_cpp_err"; then
20319 # Broken: success on invalid input.
20320 continue
20321 else
20322 echo "$as_me: failed program was:" >&5
20323 sed 's/^/| /' conftest.$ac_ext >&5
20324
20325 # Passes both tests.
20326 ac_preproc_ok=:
20327 break
20328 fi
20329 rm -f conftest.err conftest.$ac_ext
20330
20331 done
20332 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20333 rm -f conftest.err conftest.$ac_ext
20334 if $ac_preproc_ok; then
20335 break
20336 fi
20337
20338 done
20339 ac_cv_prog_CXXCPP=$CXXCPP
20340
20341 fi
20342 CXXCPP=$ac_cv_prog_CXXCPP
20343 else
20344 ac_cv_prog_CXXCPP=$CXXCPP
20345 fi
20346 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20347 echo "${ECHO_T}$CXXCPP" >&6
20348 ac_preproc_ok=false
20349 for ac_cxx_preproc_warn_flag in '' yes
20350 do
20351 # Use a header file that comes with gcc, so configuring glibc
20352 # with a fresh cross-compiler works.
20353 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20354 # <limits.h> exists even on freestanding compilers.
20355 # On the NeXT, cc -E runs the code through the compiler's parser,
20356 # not just through cpp. "Syntax error" is here to catch this case.
20357 cat >conftest.$ac_ext <<_ACEOF
20358 /* confdefs.h. */
20359 _ACEOF
20360 cat confdefs.h >>conftest.$ac_ext
20361 cat >>conftest.$ac_ext <<_ACEOF
20362 /* end confdefs.h. */
20363 #ifdef __STDC__
20364 # include <limits.h>
20365 #else
20366 # include <assert.h>
20367 #endif
20368 Syntax error
20369 _ACEOF
20370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20371 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20372 ac_status=$?
20373 grep -v '^ *+' conftest.er1 >conftest.err
20374 rm -f conftest.er1
20375 cat conftest.err >&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); } >/dev/null; then
20378 if test -s conftest.err; then
20379 ac_cpp_err=$ac_cxx_preproc_warn_flag
20380 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20381 else
20382 ac_cpp_err=
20383 fi
20384 else
20385 ac_cpp_err=yes
20386 fi
20387 if test -z "$ac_cpp_err"; then
20388 :
20389 else
20390 echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.$ac_ext >&5
20392
20393 # Broken: fails on valid input.
20394 continue
20395 fi
20396 rm -f conftest.err conftest.$ac_ext
20397
20398 # OK, works on sane cases. Now check whether non-existent headers
20399 # can be detected and how.
20400 cat >conftest.$ac_ext <<_ACEOF
20401 /* confdefs.h. */
20402 _ACEOF
20403 cat confdefs.h >>conftest.$ac_ext
20404 cat >>conftest.$ac_ext <<_ACEOF
20405 /* end confdefs.h. */
20406 #include <ac_nonexistent.h>
20407 _ACEOF
20408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20409 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20410 ac_status=$?
20411 grep -v '^ *+' conftest.er1 >conftest.err
20412 rm -f conftest.er1
20413 cat conftest.err >&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); } >/dev/null; then
20416 if test -s conftest.err; then
20417 ac_cpp_err=$ac_cxx_preproc_warn_flag
20418 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20419 else
20420 ac_cpp_err=
20421 fi
20422 else
20423 ac_cpp_err=yes
20424 fi
20425 if test -z "$ac_cpp_err"; then
20426 # Broken: success on invalid input.
20427 continue
20428 else
20429 echo "$as_me: failed program was:" >&5
20430 sed 's/^/| /' conftest.$ac_ext >&5
20431
20432 # Passes both tests.
20433 ac_preproc_ok=:
20434 break
20435 fi
20436 rm -f conftest.err conftest.$ac_ext
20437
20438 done
20439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20440 rm -f conftest.err conftest.$ac_ext
20441 if $ac_preproc_ok; then
20442 :
20443 else
20444 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20445 See \`config.log' for more details." >&5
20446 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20447 See \`config.log' for more details." >&2;}
20448 { (exit 1); exit 1; }; }
20449 fi
20450
20451 ac_ext=cc
20452 ac_cpp='$CXXCPP $CPPFLAGS'
20453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20456
20457
20458
20459
20460
20461 ac_ext=cc
20462 ac_cpp='$CXXCPP $CPPFLAGS'
20463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20466
20467
20468
20469 for ac_header in iostream
20470 do
20471 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20473 echo "$as_me:$LINENO: checking for $ac_header" >&5
20474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20476 echo $ECHO_N "(cached) $ECHO_C" >&6
20477 fi
20478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20480 else
20481 # Is the header compilable?
20482 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20483 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20484 cat >conftest.$ac_ext <<_ACEOF
20485 /* confdefs.h. */
20486 _ACEOF
20487 cat confdefs.h >>conftest.$ac_ext
20488 cat >>conftest.$ac_ext <<_ACEOF
20489 /* end confdefs.h. */
20490 $ac_includes_default
20491 #include <$ac_header>
20492 _ACEOF
20493 rm -f conftest.$ac_objext
20494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20495 (eval $ac_compile) 2>conftest.er1
20496 ac_status=$?
20497 grep -v '^ *+' conftest.er1 >conftest.err
20498 rm -f conftest.er1
20499 cat conftest.err >&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); } &&
20502 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20504 (eval $ac_try) 2>&5
20505 ac_status=$?
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); }; } &&
20508 { ac_try='test -s conftest.$ac_objext'
20509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20510 (eval $ac_try) 2>&5
20511 ac_status=$?
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); }; }; then
20514 ac_header_compiler=yes
20515 else
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20518
20519 ac_header_compiler=no
20520 fi
20521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20523 echo "${ECHO_T}$ac_header_compiler" >&6
20524
20525 # Is the header present?
20526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20528 cat >conftest.$ac_ext <<_ACEOF
20529 /* confdefs.h. */
20530 _ACEOF
20531 cat confdefs.h >>conftest.$ac_ext
20532 cat >>conftest.$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534 #include <$ac_header>
20535 _ACEOF
20536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20537 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20538 ac_status=$?
20539 grep -v '^ *+' conftest.er1 >conftest.err
20540 rm -f conftest.er1
20541 cat conftest.err >&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } >/dev/null; then
20544 if test -s conftest.err; then
20545 ac_cpp_err=$ac_cxx_preproc_warn_flag
20546 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20547 else
20548 ac_cpp_err=
20549 fi
20550 else
20551 ac_cpp_err=yes
20552 fi
20553 if test -z "$ac_cpp_err"; then
20554 ac_header_preproc=yes
20555 else
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.$ac_ext >&5
20558
20559 ac_header_preproc=no
20560 fi
20561 rm -f conftest.err conftest.$ac_ext
20562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20563 echo "${ECHO_T}$ac_header_preproc" >&6
20564
20565 # So? What about this header?
20566 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20567 yes:no: )
20568 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20572 ac_header_preproc=yes
20573 ;;
20574 no:yes:* )
20575 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20577 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20579 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20581 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20582 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20585 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20587 (
20588 cat <<\_ASBOX
20589 ## ----------------------------------------- ##
20590 ## Report this to wx-dev@lists.wxwidgets.org ##
20591 ## ----------------------------------------- ##
20592 _ASBOX
20593 ) |
20594 sed "s/^/$as_me: WARNING: /" >&2
20595 ;;
20596 esac
20597 echo "$as_me:$LINENO: checking for $ac_header" >&5
20598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20600 echo $ECHO_N "(cached) $ECHO_C" >&6
20601 else
20602 eval "$as_ac_Header=\$ac_header_preproc"
20603 fi
20604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20606
20607 fi
20608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20609 cat >>confdefs.h <<_ACEOF
20610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20611 _ACEOF
20612
20613 fi
20614
20615 done
20616
20617
20618 if test "$ac_cv_header_iostream" = "yes" ; then
20619 :
20620 else
20621 cat >>confdefs.h <<\_ACEOF
20622 #define wxUSE_IOSTREAMH 1
20623 _ACEOF
20624
20625 fi
20626
20627 ac_ext=c
20628 ac_cpp='$CPP $CPPFLAGS'
20629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20632
20633
20634
20635
20636 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20637 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20638 if test "${wx_cv_cpp_bool+set}" = set; then
20639 echo $ECHO_N "(cached) $ECHO_C" >&6
20640 else
20641
20642
20643
20644 ac_ext=cc
20645 ac_cpp='$CXXCPP $CPPFLAGS'
20646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20649
20650
20651 cat >conftest.$ac_ext <<_ACEOF
20652 /* confdefs.h. */
20653 _ACEOF
20654 cat confdefs.h >>conftest.$ac_ext
20655 cat >>conftest.$ac_ext <<_ACEOF
20656 /* end confdefs.h. */
20657
20658
20659 int
20660 main ()
20661 {
20662
20663 bool b = true;
20664
20665 return 0;
20666
20667 ;
20668 return 0;
20669 }
20670 _ACEOF
20671 rm -f conftest.$ac_objext
20672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20673 (eval $ac_compile) 2>conftest.er1
20674 ac_status=$?
20675 grep -v '^ *+' conftest.er1 >conftest.err
20676 rm -f conftest.er1
20677 cat conftest.err >&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); } &&
20680 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20682 (eval $ac_try) 2>&5
20683 ac_status=$?
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); }; } &&
20686 { ac_try='test -s conftest.$ac_objext'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20689 ac_status=$?
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; }; then
20692
20693 wx_cv_cpp_bool=yes
20694
20695 else
20696 echo "$as_me: failed program was:" >&5
20697 sed 's/^/| /' conftest.$ac_ext >&5
20698
20699
20700 wx_cv_cpp_bool=no
20701
20702
20703 fi
20704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20705
20706 ac_ext=c
20707 ac_cpp='$CPP $CPPFLAGS'
20708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20711
20712
20713 fi
20714 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20715 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20716
20717 if test "$wx_cv_cpp_bool" = "yes"; then
20718 cat >>confdefs.h <<\_ACEOF
20719 #define HAVE_BOOL 1
20720 _ACEOF
20721
20722 fi
20723
20724
20725
20726 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20727 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20728 if test "${wx_cv_explicit+set}" = set; then
20729 echo $ECHO_N "(cached) $ECHO_C" >&6
20730 else
20731
20732
20733
20734 ac_ext=cc
20735 ac_cpp='$CXXCPP $CPPFLAGS'
20736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20739
20740
20741 cat >conftest.$ac_ext <<_ACEOF
20742 /* confdefs.h. */
20743 _ACEOF
20744 cat confdefs.h >>conftest.$ac_ext
20745 cat >>conftest.$ac_ext <<_ACEOF
20746 /* end confdefs.h. */
20747
20748 class Foo { public: explicit Foo(int) {} };
20749
20750 int
20751 main ()
20752 {
20753
20754 return 0;
20755
20756 ;
20757 return 0;
20758 }
20759 _ACEOF
20760 rm -f conftest.$ac_objext
20761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20762 (eval $ac_compile) 2>conftest.er1
20763 ac_status=$?
20764 grep -v '^ *+' conftest.er1 >conftest.err
20765 rm -f conftest.er1
20766 cat conftest.err >&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); } &&
20769 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20771 (eval $ac_try) 2>&5
20772 ac_status=$?
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); }; } &&
20775 { ac_try='test -s conftest.$ac_objext'
20776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20777 (eval $ac_try) 2>&5
20778 ac_status=$?
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); }; }; then
20781
20782 cat >conftest.$ac_ext <<_ACEOF
20783 /* confdefs.h. */
20784 _ACEOF
20785 cat confdefs.h >>conftest.$ac_ext
20786 cat >>conftest.$ac_ext <<_ACEOF
20787 /* end confdefs.h. */
20788
20789 class Foo { public: explicit Foo(int) {} };
20790 static void TakeFoo(const Foo& foo) { }
20791
20792 int
20793 main ()
20794 {
20795
20796 TakeFoo(17);
20797 return 0;
20798
20799 ;
20800 return 0;
20801 }
20802 _ACEOF
20803 rm -f conftest.$ac_objext
20804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20805 (eval $ac_compile) 2>conftest.er1
20806 ac_status=$?
20807 grep -v '^ *+' conftest.er1 >conftest.err
20808 rm -f conftest.er1
20809 cat conftest.err >&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } &&
20812 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20815 ac_status=$?
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; } &&
20818 { ac_try='test -s conftest.$ac_objext'
20819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20820 (eval $ac_try) 2>&5
20821 ac_status=$?
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); }; }; then
20824 wx_cv_explicit=no
20825 else
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.$ac_ext >&5
20828
20829 wx_cv_explicit=yes
20830
20831 fi
20832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20833
20834 else
20835 echo "$as_me: failed program was:" >&5
20836 sed 's/^/| /' conftest.$ac_ext >&5
20837
20838 wx_cv_explicit=no
20839
20840 fi
20841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20842
20843 ac_ext=c
20844 ac_cpp='$CPP $CPPFLAGS'
20845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20848
20849
20850 fi
20851 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20852 echo "${ECHO_T}$wx_cv_explicit" >&6
20853
20854 if test "$wx_cv_explicit" = "yes"; then
20855 cat >>confdefs.h <<\_ACEOF
20856 #define HAVE_EXPLICIT 1
20857 _ACEOF
20858
20859 fi
20860
20861
20862 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20863 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20864 if test "${ac_cv_cxx_const_cast+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20866 else
20867
20868
20869 ac_ext=cc
20870 ac_cpp='$CXXCPP $CPPFLAGS'
20871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20874
20875 cat >conftest.$ac_ext <<_ACEOF
20876 /* confdefs.h. */
20877 _ACEOF
20878 cat confdefs.h >>conftest.$ac_ext
20879 cat >>conftest.$ac_ext <<_ACEOF
20880 /* end confdefs.h. */
20881
20882 int
20883 main ()
20884 {
20885 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20886 ;
20887 return 0;
20888 }
20889 _ACEOF
20890 rm -f conftest.$ac_objext
20891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20892 (eval $ac_compile) 2>conftest.er1
20893 ac_status=$?
20894 grep -v '^ *+' conftest.er1 >conftest.err
20895 rm -f conftest.er1
20896 cat conftest.err >&5
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); } &&
20899 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20902 ac_status=$?
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; } &&
20905 { ac_try='test -s conftest.$ac_objext'
20906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20907 (eval $ac_try) 2>&5
20908 ac_status=$?
20909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 (exit $ac_status); }; }; then
20911 ac_cv_cxx_const_cast=yes
20912 else
20913 echo "$as_me: failed program was:" >&5
20914 sed 's/^/| /' conftest.$ac_ext >&5
20915
20916 ac_cv_cxx_const_cast=no
20917 fi
20918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20919 ac_ext=c
20920 ac_cpp='$CPP $CPPFLAGS'
20921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20924
20925
20926 fi
20927 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
20928 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
20929 if test "$ac_cv_cxx_const_cast" = yes; then
20930
20931 cat >>confdefs.h <<\_ACEOF
20932 #define HAVE_CONST_CAST
20933 _ACEOF
20934
20935 fi
20936
20937 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
20938 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
20939 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
20940 echo $ECHO_N "(cached) $ECHO_C" >&6
20941 else
20942
20943
20944 ac_ext=cc
20945 ac_cpp='$CXXCPP $CPPFLAGS'
20946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20949
20950 cat >conftest.$ac_ext <<_ACEOF
20951 /* confdefs.h. */
20952 _ACEOF
20953 cat confdefs.h >>conftest.$ac_ext
20954 cat >>conftest.$ac_ext <<_ACEOF
20955 /* end confdefs.h. */
20956 #include <typeinfo>
20957 class Base { public : Base () {} virtual void f () = 0;};
20958 class Derived : public Base { public : Derived () {} virtual void f () {} };
20959 class Unrelated { public : Unrelated () {} };
20960 int g (Unrelated&) { return 0; }
20961 int
20962 main ()
20963 {
20964
20965 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
20966 ;
20967 return 0;
20968 }
20969 _ACEOF
20970 rm -f conftest.$ac_objext
20971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20972 (eval $ac_compile) 2>conftest.er1
20973 ac_status=$?
20974 grep -v '^ *+' conftest.er1 >conftest.err
20975 rm -f conftest.er1
20976 cat conftest.err >&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } &&
20979 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20981 (eval $ac_try) 2>&5
20982 ac_status=$?
20983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984 (exit $ac_status); }; } &&
20985 { ac_try='test -s conftest.$ac_objext'
20986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987 (eval $ac_try) 2>&5
20988 ac_status=$?
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); }; }; then
20991 ac_cv_cxx_reinterpret_cast=yes
20992 else
20993 echo "$as_me: failed program was:" >&5
20994 sed 's/^/| /' conftest.$ac_ext >&5
20995
20996 ac_cv_cxx_reinterpret_cast=no
20997 fi
20998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20999 ac_ext=c
21000 ac_cpp='$CPP $CPPFLAGS'
21001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21004
21005
21006 fi
21007 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21008 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21009 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21010
21011 cat >>confdefs.h <<\_ACEOF
21012 #define HAVE_REINTERPRET_CAST
21013 _ACEOF
21014
21015 fi
21016
21017 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21018 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21019 if test "${ac_cv_cxx_static_cast+set}" = set; then
21020 echo $ECHO_N "(cached) $ECHO_C" >&6
21021 else
21022
21023
21024 ac_ext=cc
21025 ac_cpp='$CXXCPP $CPPFLAGS'
21026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21029
21030 cat >conftest.$ac_ext <<_ACEOF
21031 /* confdefs.h. */
21032 _ACEOF
21033 cat confdefs.h >>conftest.$ac_ext
21034 cat >>conftest.$ac_ext <<_ACEOF
21035 /* end confdefs.h. */
21036 #include <typeinfo>
21037 class Base { public : Base () {} virtual void f () = 0; };
21038 class Derived : public Base { public : Derived () {} virtual void f () {} };
21039 int g (Derived&) { return 0; }
21040 int
21041 main ()
21042 {
21043
21044 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21045 ;
21046 return 0;
21047 }
21048 _ACEOF
21049 rm -f conftest.$ac_objext
21050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21051 (eval $ac_compile) 2>conftest.er1
21052 ac_status=$?
21053 grep -v '^ *+' conftest.er1 >conftest.err
21054 rm -f conftest.er1
21055 cat conftest.err >&5
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); } &&
21058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21060 (eval $ac_try) 2>&5
21061 ac_status=$?
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; } &&
21064 { ac_try='test -s conftest.$ac_objext'
21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 (eval $ac_try) 2>&5
21067 ac_status=$?
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); }; }; then
21070 ac_cv_cxx_static_cast=yes
21071 else
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.$ac_ext >&5
21074
21075 ac_cv_cxx_static_cast=no
21076 fi
21077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21078 ac_ext=c
21079 ac_cpp='$CPP $CPPFLAGS'
21080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21083
21084
21085 fi
21086 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21087 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21088 if test "$ac_cv_cxx_static_cast" = yes; then
21089
21090 cat >>confdefs.h <<\_ACEOF
21091 #define HAVE_STATIC_CAST
21092 _ACEOF
21093
21094 fi
21095
21096
21097 if test "$wxUSE_STL" = "yes"; then
21098 ac_ext=cc
21099 ac_cpp='$CXXCPP $CPPFLAGS'
21100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21103
21104
21105 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21106 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21107 cat >conftest.$ac_ext <<_ACEOF
21108 /* confdefs.h. */
21109 _ACEOF
21110 cat confdefs.h >>conftest.$ac_ext
21111 cat >>conftest.$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113 #include <string>
21114 #include <functional>
21115 #include <algorithm>
21116 #include <vector>
21117 #include <list>
21118 int
21119 main ()
21120 {
21121 std::vector<int> moo;
21122 std::list<int> foo;
21123 std::vector<int>::iterator it =
21124 std::find_if(moo.begin(), moo.end(),
21125 std::bind2nd(std::less<int>(), 3));
21126 ;
21127 return 0;
21128 }
21129 _ACEOF
21130 rm -f conftest.$ac_objext
21131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21132 (eval $ac_compile) 2>conftest.er1
21133 ac_status=$?
21134 grep -v '^ *+' conftest.er1 >conftest.err
21135 rm -f conftest.er1
21136 cat conftest.err >&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); } &&
21139 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21141 (eval $ac_try) 2>&5
21142 ac_status=$?
21143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144 (exit $ac_status); }; } &&
21145 { ac_try='test -s conftest.$ac_objext'
21146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21147 (eval $ac_try) 2>&5
21148 ac_status=$?
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); }; }; then
21151 echo "$as_me:$LINENO: result: yes" >&5
21152 echo "${ECHO_T}yes" >&6
21153 else
21154 echo "$as_me: failed program was:" >&5
21155 sed 's/^/| /' conftest.$ac_ext >&5
21156
21157 echo "$as_me:$LINENO: result: no" >&5
21158 echo "${ECHO_T}no" >&6
21159 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21160 echo "$as_me: error: Basic STL functionality missing" >&2;}
21161 { (exit 1); exit 1; }; }
21162 fi
21163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21164
21165 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21166 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
21167 cat >conftest.$ac_ext <<_ACEOF
21168 /* confdefs.h. */
21169 _ACEOF
21170 cat confdefs.h >>conftest.$ac_ext
21171 cat >>conftest.$ac_ext <<_ACEOF
21172 /* end confdefs.h. */
21173 #include <string>
21174 int
21175 main ()
21176 {
21177 std::wstring foo;
21178 ;
21179 return 0;
21180 }
21181 _ACEOF
21182 rm -f conftest.$ac_objext
21183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21184 (eval $ac_compile) 2>conftest.er1
21185 ac_status=$?
21186 grep -v '^ *+' conftest.er1 >conftest.err
21187 rm -f conftest.er1
21188 cat conftest.err >&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21194 ac_status=$?
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; } &&
21197 { ac_try='test -s conftest.$ac_objext'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21200 ac_status=$?
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; }; then
21203 echo "$as_me:$LINENO: result: yes" >&5
21204 echo "${ECHO_T}yes" >&6
21205 cat >>confdefs.h <<\_ACEOF
21206 #define HAVE_STD_WSTRING 1
21207 _ACEOF
21208
21209 else
21210 echo "$as_me: failed program was:" >&5
21211 sed 's/^/| /' conftest.$ac_ext >&5
21212
21213 echo "$as_me:$LINENO: result: no" >&5
21214 echo "${ECHO_T}no" >&6
21215 fi
21216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21217
21218 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21219 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21220 cat >conftest.$ac_ext <<_ACEOF
21221 /* confdefs.h. */
21222 _ACEOF
21223 cat confdefs.h >>conftest.$ac_ext
21224 cat >>conftest.$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21226 #include <string>
21227 int
21228 main ()
21229 {
21230 std::string foo, bar;
21231 foo.compare(bar);
21232 foo.compare(1, 1, bar);
21233 foo.compare(1, 1, bar, 1, 1);
21234 foo.compare("");
21235 foo.compare(1, 1, "");
21236 foo.compare(1, 1, "", 2);
21237 ;
21238 return 0;
21239 }
21240 _ACEOF
21241 rm -f conftest.$ac_objext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21243 (eval $ac_compile) 2>conftest.er1
21244 ac_status=$?
21245 grep -v '^ *+' conftest.er1 >conftest.err
21246 rm -f conftest.er1
21247 cat conftest.err >&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); } &&
21250 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21253 ac_status=$?
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; } &&
21256 { ac_try='test -s conftest.$ac_objext'
21257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258 (eval $ac_try) 2>&5
21259 ac_status=$?
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; }; then
21262 echo "$as_me:$LINENO: result: yes" >&5
21263 echo "${ECHO_T}yes" >&6
21264 cat >>confdefs.h <<\_ACEOF
21265 #define HAVE_STD_STRING_COMPARE 1
21266 _ACEOF
21267
21268 else
21269 echo "$as_me: failed program was:" >&5
21270 sed 's/^/| /' conftest.$ac_ext >&5
21271
21272 echo "$as_me:$LINENO: result: no" >&5
21273 echo "${ECHO_T}no" >&6
21274 fi
21275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21276
21277 if test "${ac_cv_header_hash_map+set}" = set; then
21278 echo "$as_me:$LINENO: checking for hash_map" >&5
21279 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21280 if test "${ac_cv_header_hash_map+set}" = set; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21282 fi
21283 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21284 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21285 else
21286 # Is the header compilable?
21287 echo "$as_me:$LINENO: checking hash_map usability" >&5
21288 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21289 cat >conftest.$ac_ext <<_ACEOF
21290 /* confdefs.h. */
21291 _ACEOF
21292 cat confdefs.h >>conftest.$ac_ext
21293 cat >>conftest.$ac_ext <<_ACEOF
21294 /* end confdefs.h. */
21295 $ac_includes_default
21296 #include <hash_map>
21297 _ACEOF
21298 rm -f conftest.$ac_objext
21299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21300 (eval $ac_compile) 2>conftest.er1
21301 ac_status=$?
21302 grep -v '^ *+' conftest.er1 >conftest.err
21303 rm -f conftest.er1
21304 cat conftest.err >&5
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); } &&
21307 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21310 ac_status=$?
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; } &&
21313 { ac_try='test -s conftest.$ac_objext'
21314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21315 (eval $ac_try) 2>&5
21316 ac_status=$?
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); }; }; then
21319 ac_header_compiler=yes
21320 else
21321 echo "$as_me: failed program was:" >&5
21322 sed 's/^/| /' conftest.$ac_ext >&5
21323
21324 ac_header_compiler=no
21325 fi
21326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21327 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21328 echo "${ECHO_T}$ac_header_compiler" >&6
21329
21330 # Is the header present?
21331 echo "$as_me:$LINENO: checking hash_map presence" >&5
21332 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21333 cat >conftest.$ac_ext <<_ACEOF
21334 /* confdefs.h. */
21335 _ACEOF
21336 cat confdefs.h >>conftest.$ac_ext
21337 cat >>conftest.$ac_ext <<_ACEOF
21338 /* end confdefs.h. */
21339 #include <hash_map>
21340 _ACEOF
21341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21343 ac_status=$?
21344 grep -v '^ *+' conftest.er1 >conftest.err
21345 rm -f conftest.er1
21346 cat conftest.err >&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } >/dev/null; then
21349 if test -s conftest.err; then
21350 ac_cpp_err=$ac_cxx_preproc_warn_flag
21351 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21352 else
21353 ac_cpp_err=
21354 fi
21355 else
21356 ac_cpp_err=yes
21357 fi
21358 if test -z "$ac_cpp_err"; then
21359 ac_header_preproc=yes
21360 else
21361 echo "$as_me: failed program was:" >&5
21362 sed 's/^/| /' conftest.$ac_ext >&5
21363
21364 ac_header_preproc=no
21365 fi
21366 rm -f conftest.err conftest.$ac_ext
21367 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21368 echo "${ECHO_T}$ac_header_preproc" >&6
21369
21370 # So? What about this header?
21371 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21372 yes:no: )
21373 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21374 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21375 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21376 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21377 ac_header_preproc=yes
21378 ;;
21379 no:yes:* )
21380 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21381 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21382 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21383 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21384 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21385 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21386 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21387 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21388 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21389 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21390 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21391 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21392 (
21393 cat <<\_ASBOX
21394 ## ----------------------------------------- ##
21395 ## Report this to wx-dev@lists.wxwidgets.org ##
21396 ## ----------------------------------------- ##
21397 _ASBOX
21398 ) |
21399 sed "s/^/$as_me: WARNING: /" >&2
21400 ;;
21401 esac
21402 echo "$as_me:$LINENO: checking for hash_map" >&5
21403 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21404 if test "${ac_cv_header_hash_map+set}" = set; then
21405 echo $ECHO_N "(cached) $ECHO_C" >&6
21406 else
21407 ac_cv_header_hash_map=$ac_header_preproc
21408 fi
21409 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21410 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21411
21412 fi
21413 if test $ac_cv_header_hash_map = yes; then
21414 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21415 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21416 cat >conftest.$ac_ext <<_ACEOF
21417 /* confdefs.h. */
21418 _ACEOF
21419 cat confdefs.h >>conftest.$ac_ext
21420 cat >>conftest.$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21422 #include <hash_map>
21423 #include <hash_set>
21424 int
21425 main ()
21426 {
21427 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21428 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21429 ;
21430 return 0;
21431 }
21432 _ACEOF
21433 rm -f conftest.$ac_objext
21434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21435 (eval $ac_compile) 2>conftest.er1
21436 ac_status=$?
21437 grep -v '^ *+' conftest.er1 >conftest.err
21438 rm -f conftest.er1
21439 cat conftest.err >&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); } &&
21442 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21444 (eval $ac_try) 2>&5
21445 ac_status=$?
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); }; } &&
21448 { ac_try='test -s conftest.$ac_objext'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21451 ac_status=$?
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; }; then
21454 echo "$as_me:$LINENO: result: yes" >&5
21455 echo "${ECHO_T}yes" >&6
21456 cat >>confdefs.h <<\_ACEOF
21457 #define HAVE_HASH_MAP 1
21458 _ACEOF
21459
21460 cat >>confdefs.h <<\_ACEOF
21461 #define HAVE_STD_HASH_MAP 1
21462 _ACEOF
21463
21464 else
21465 echo "$as_me: failed program was:" >&5
21466 sed 's/^/| /' conftest.$ac_ext >&5
21467
21468 echo "$as_me:$LINENO: result: no" >&5
21469 echo "${ECHO_T}no" >&6
21470 fi
21471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21472
21473 fi
21474
21475
21476
21477 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21478 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21479 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21480 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21481 echo $ECHO_N "(cached) $ECHO_C" >&6
21482 fi
21483 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21484 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21485 else
21486 # Is the header compilable?
21487 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21488 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21489 cat >conftest.$ac_ext <<_ACEOF
21490 /* confdefs.h. */
21491 _ACEOF
21492 cat confdefs.h >>conftest.$ac_ext
21493 cat >>conftest.$ac_ext <<_ACEOF
21494 /* end confdefs.h. */
21495 $ac_includes_default
21496 #include <ext/hash_map>
21497 _ACEOF
21498 rm -f conftest.$ac_objext
21499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21500 (eval $ac_compile) 2>conftest.er1
21501 ac_status=$?
21502 grep -v '^ *+' conftest.er1 >conftest.err
21503 rm -f conftest.er1
21504 cat conftest.err >&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); } &&
21507 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21509 (eval $ac_try) 2>&5
21510 ac_status=$?
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); }; } &&
21513 { ac_try='test -s conftest.$ac_objext'
21514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21515 (eval $ac_try) 2>&5
21516 ac_status=$?
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); }; }; then
21519 ac_header_compiler=yes
21520 else
21521 echo "$as_me: failed program was:" >&5
21522 sed 's/^/| /' conftest.$ac_ext >&5
21523
21524 ac_header_compiler=no
21525 fi
21526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21528 echo "${ECHO_T}$ac_header_compiler" >&6
21529
21530 # Is the header present?
21531 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21532 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21533 cat >conftest.$ac_ext <<_ACEOF
21534 /* confdefs.h. */
21535 _ACEOF
21536 cat confdefs.h >>conftest.$ac_ext
21537 cat >>conftest.$ac_ext <<_ACEOF
21538 /* end confdefs.h. */
21539 #include <ext/hash_map>
21540 _ACEOF
21541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21542 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21543 ac_status=$?
21544 grep -v '^ *+' conftest.er1 >conftest.err
21545 rm -f conftest.er1
21546 cat conftest.err >&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); } >/dev/null; then
21549 if test -s conftest.err; then
21550 ac_cpp_err=$ac_cxx_preproc_warn_flag
21551 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21552 else
21553 ac_cpp_err=
21554 fi
21555 else
21556 ac_cpp_err=yes
21557 fi
21558 if test -z "$ac_cpp_err"; then
21559 ac_header_preproc=yes
21560 else
21561 echo "$as_me: failed program was:" >&5
21562 sed 's/^/| /' conftest.$ac_ext >&5
21563
21564 ac_header_preproc=no
21565 fi
21566 rm -f conftest.err conftest.$ac_ext
21567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21568 echo "${ECHO_T}$ac_header_preproc" >&6
21569
21570 # So? What about this header?
21571 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21572 yes:no: )
21573 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21574 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21575 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21576 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21577 ac_header_preproc=yes
21578 ;;
21579 no:yes:* )
21580 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21581 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21582 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21583 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21584 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21585 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21586 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21587 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21588 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21589 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21590 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21591 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21592 (
21593 cat <<\_ASBOX
21594 ## ----------------------------------------- ##
21595 ## Report this to wx-dev@lists.wxwidgets.org ##
21596 ## ----------------------------------------- ##
21597 _ASBOX
21598 ) |
21599 sed "s/^/$as_me: WARNING: /" >&2
21600 ;;
21601 esac
21602 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21603 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21604 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21605 echo $ECHO_N "(cached) $ECHO_C" >&6
21606 else
21607 ac_cv_header_ext_hash_map=$ac_header_preproc
21608 fi
21609 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21610 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21611
21612 fi
21613 if test $ac_cv_header_ext_hash_map = yes; then
21614 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21615 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21616 cat >conftest.$ac_ext <<_ACEOF
21617 /* confdefs.h. */
21618 _ACEOF
21619 cat confdefs.h >>conftest.$ac_ext
21620 cat >>conftest.$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21622 #include <ext/hash_map>
21623 #include <ext/hash_set>
21624 int
21625 main ()
21626 {
21627 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21628 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21629 ;
21630 return 0;
21631 }
21632 _ACEOF
21633 rm -f conftest.$ac_objext
21634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21635 (eval $ac_compile) 2>conftest.er1
21636 ac_status=$?
21637 grep -v '^ *+' conftest.er1 >conftest.err
21638 rm -f conftest.er1
21639 cat conftest.err >&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); } &&
21642 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21645 ac_status=$?
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; } &&
21648 { ac_try='test -s conftest.$ac_objext'
21649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21650 (eval $ac_try) 2>&5
21651 ac_status=$?
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); }; }; then
21654 echo "$as_me:$LINENO: result: yes" >&5
21655 echo "${ECHO_T}yes" >&6
21656 cat >>confdefs.h <<\_ACEOF
21657 #define HAVE_EXT_HASH_MAP 1
21658 _ACEOF
21659
21660 cat >>confdefs.h <<\_ACEOF
21661 #define HAVE_GNU_CXX_HASH_MAP 1
21662 _ACEOF
21663
21664 else
21665 echo "$as_me: failed program was:" >&5
21666 sed 's/^/| /' conftest.$ac_ext >&5
21667
21668 echo "$as_me:$LINENO: result: no" >&5
21669 echo "${ECHO_T}no" >&6
21670 fi
21671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21672
21673 fi
21674
21675
21676
21677 ac_ext=c
21678 ac_cpp='$CPP $CPPFLAGS'
21679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21682
21683 fi
21684
21685
21686 SEARCH_INCLUDE="\
21687 /usr/local/include \
21688 \
21689 /usr/Motif-2.1/include \
21690 /usr/Motif-1.2/include \
21691 /usr/include/Motif1.2 \
21692 /opt/xpm/include/X11 \
21693 /opt/GBxpm/include/ \
21694 /opt/GBxpm/X11/include/ \
21695 \
21696 /usr/dt/include \
21697 /usr/openwin/include \
21698 \
21699 /usr/include/Xm \
21700 \
21701 /usr/X11R6/include \
21702 /usr/X11R6.4/include \
21703 /usr/X11R5/include \
21704 /usr/X11R4/include \
21705 \
21706 /usr/include/X11R6 \
21707 /usr/include/X11R5 \
21708 /usr/include/X11R4 \
21709 \
21710 /usr/local/X11R6/include \
21711 /usr/local/X11R5/include \
21712 /usr/local/X11R4/include \
21713 \
21714 /usr/local/include/X11R6 \
21715 /usr/local/include/X11R5 \
21716 /usr/local/include/X11R4 \
21717 \
21718 /usr/X11/include \
21719 /usr/include/X11 \
21720 /usr/local/X11/include \
21721 /usr/local/include/X11 \
21722 \
21723 /usr/X386/include \
21724 /usr/x386/include \
21725 /usr/XFree86/include/X11 \
21726 \
21727 X:/XFree86/include \
21728 X:/XFree86/include/X11 \
21729 \
21730 /usr/include/gtk \
21731 /usr/local/include/gtk \
21732 /usr/include/glib \
21733 /usr/local/include/glib \
21734 \
21735 /usr/include/qt \
21736 /usr/local/include/qt \
21737 \
21738 /usr/local/arm/3.3.2/include \
21739 \
21740 /usr/include/windows \
21741 /usr/include/wine \
21742 /usr/local/include/wine \
21743 \
21744 /usr/unsupported/include \
21745 /usr/athena/include \
21746 /usr/local/x11r5/include \
21747 /usr/lpp/Xamples/include \
21748 \
21749 /usr/openwin/share/include"
21750
21751 SEARCH_LIB="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
21752
21753
21754 cat >confcache <<\_ACEOF
21755 # This file is a shell script that caches the results of configure
21756 # tests run on this system so they can be shared between configure
21757 # scripts and configure runs, see configure's option --config-cache.
21758 # It is not useful on other systems. If it contains results you don't
21759 # want to keep, you may remove or edit it.
21760 #
21761 # config.status only pays attention to the cache file if you give it
21762 # the --recheck option to rerun configure.
21763 #
21764 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21765 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21766 # following values.
21767
21768 _ACEOF
21769
21770 # The following way of writing the cache mishandles newlines in values,
21771 # but we know of no workaround that is simple, portable, and efficient.
21772 # So, don't put newlines in cache variables' values.
21773 # Ultrix sh set writes to stderr and can't be redirected directly,
21774 # and sets the high bit in the cache file unless we assign to the vars.
21775 {
21776 (set) 2>&1 |
21777 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21778 *ac_space=\ *)
21779 # `set' does not quote correctly, so add quotes (double-quote
21780 # substitution turns \\\\ into \\, and sed turns \\ into \).
21781 sed -n \
21782 "s/'/'\\\\''/g;
21783 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21784 ;;
21785 *)
21786 # `set' quotes correctly as required by POSIX, so do not add quotes.
21787 sed -n \
21788 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21789 ;;
21790 esac;
21791 } |
21792 sed '
21793 t clear
21794 : clear
21795 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21796 t end
21797 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21798 : end' >>confcache
21799 if diff $cache_file confcache >/dev/null 2>&1; then :; else
21800 if test -w $cache_file; then
21801 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21802 cat confcache >$cache_file
21803 else
21804 echo "not updating unwritable cache $cache_file"
21805 fi
21806 fi
21807 rm -f confcache
21808
21809 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
21810 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
21811 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
21812 if test "${wx_cv_lib_glibc21+set}" = set; then
21813 echo $ECHO_N "(cached) $ECHO_C" >&6
21814 else
21815
21816 cat >conftest.$ac_ext <<_ACEOF
21817 /* confdefs.h. */
21818 _ACEOF
21819 cat confdefs.h >>conftest.$ac_ext
21820 cat >>conftest.$ac_ext <<_ACEOF
21821 /* end confdefs.h. */
21822 #include <features.h>
21823 int
21824 main ()
21825 {
21826
21827 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
21828 #error not glibc2.1
21829 #endif
21830
21831 ;
21832 return 0;
21833 }
21834 _ACEOF
21835 rm -f conftest.$ac_objext
21836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21837 (eval $ac_compile) 2>conftest.er1
21838 ac_status=$?
21839 grep -v '^ *+' conftest.er1 >conftest.err
21840 rm -f conftest.er1
21841 cat conftest.err >&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); } &&
21844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21846 (eval $ac_try) 2>&5
21847 ac_status=$?
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); }; } &&
21850 { ac_try='test -s conftest.$ac_objext'
21851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21852 (eval $ac_try) 2>&5
21853 ac_status=$?
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); }; }; then
21856
21857 wx_cv_lib_glibc21=yes
21858
21859 else
21860 echo "$as_me: failed program was:" >&5
21861 sed 's/^/| /' conftest.$ac_ext >&5
21862
21863
21864 wx_cv_lib_glibc21=no
21865
21866
21867 fi
21868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21869
21870 fi
21871 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
21872 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
21873 if test "$wx_cv_lib_glibc21" = "yes"; then
21874 cat >>confdefs.h <<\_ACEOF
21875 #define wxHAVE_GLIBC2 1
21876 _ACEOF
21877
21878 fi
21879 fi
21880
21881 if test "x$wx_cv_lib_glibc21" = "xyes"; then
21882 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
21883 cat >>confdefs.h <<\_ACEOF
21884 #define _GNU_SOURCE 1
21885 _ACEOF
21886
21887 fi
21888 fi
21889
21890
21891
21892 if test "$wxUSE_REGEX" != "no"; then
21893 cat >>confdefs.h <<\_ACEOF
21894 #define wxUSE_REGEX 1
21895 _ACEOF
21896
21897
21898 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
21899 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
21900 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
21901 wxUSE_REGEX=builtin
21902 fi
21903
21904 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
21905 if test "${ac_cv_header_regex_h+set}" = set; then
21906 echo "$as_me:$LINENO: checking for regex.h" >&5
21907 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21908 if test "${ac_cv_header_regex_h+set}" = set; then
21909 echo $ECHO_N "(cached) $ECHO_C" >&6
21910 fi
21911 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21912 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21913 else
21914 # Is the header compilable?
21915 echo "$as_me:$LINENO: checking regex.h usability" >&5
21916 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
21917 cat >conftest.$ac_ext <<_ACEOF
21918 /* confdefs.h. */
21919 _ACEOF
21920 cat confdefs.h >>conftest.$ac_ext
21921 cat >>conftest.$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923 $ac_includes_default
21924 #include <regex.h>
21925 _ACEOF
21926 rm -f conftest.$ac_objext
21927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21928 (eval $ac_compile) 2>conftest.er1
21929 ac_status=$?
21930 grep -v '^ *+' conftest.er1 >conftest.err
21931 rm -f conftest.er1
21932 cat conftest.err >&5
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); } &&
21935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21937 (eval $ac_try) 2>&5
21938 ac_status=$?
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); }; } &&
21941 { ac_try='test -s conftest.$ac_objext'
21942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21943 (eval $ac_try) 2>&5
21944 ac_status=$?
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); }; }; then
21947 ac_header_compiler=yes
21948 else
21949 echo "$as_me: failed program was:" >&5
21950 sed 's/^/| /' conftest.$ac_ext >&5
21951
21952 ac_header_compiler=no
21953 fi
21954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21956 echo "${ECHO_T}$ac_header_compiler" >&6
21957
21958 # Is the header present?
21959 echo "$as_me:$LINENO: checking regex.h presence" >&5
21960 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
21961 cat >conftest.$ac_ext <<_ACEOF
21962 /* confdefs.h. */
21963 _ACEOF
21964 cat confdefs.h >>conftest.$ac_ext
21965 cat >>conftest.$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21967 #include <regex.h>
21968 _ACEOF
21969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21970 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21971 ac_status=$?
21972 grep -v '^ *+' conftest.er1 >conftest.err
21973 rm -f conftest.er1
21974 cat conftest.err >&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } >/dev/null; then
21977 if test -s conftest.err; then
21978 ac_cpp_err=$ac_c_preproc_warn_flag
21979 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21980 else
21981 ac_cpp_err=
21982 fi
21983 else
21984 ac_cpp_err=yes
21985 fi
21986 if test -z "$ac_cpp_err"; then
21987 ac_header_preproc=yes
21988 else
21989 echo "$as_me: failed program was:" >&5
21990 sed 's/^/| /' conftest.$ac_ext >&5
21991
21992 ac_header_preproc=no
21993 fi
21994 rm -f conftest.err conftest.$ac_ext
21995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21996 echo "${ECHO_T}$ac_header_preproc" >&6
21997
21998 # So? What about this header?
21999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22000 yes:no: )
22001 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22002 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22003 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22004 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22005 ac_header_preproc=yes
22006 ;;
22007 no:yes:* )
22008 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22009 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22010 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22011 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22012 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22013 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22014 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22015 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22016 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22017 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22018 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22019 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22020 (
22021 cat <<\_ASBOX
22022 ## ----------------------------------------- ##
22023 ## Report this to wx-dev@lists.wxwidgets.org ##
22024 ## ----------------------------------------- ##
22025 _ASBOX
22026 ) |
22027 sed "s/^/$as_me: WARNING: /" >&2
22028 ;;
22029 esac
22030 echo "$as_me:$LINENO: checking for regex.h" >&5
22031 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22032 if test "${ac_cv_header_regex_h+set}" = set; then
22033 echo $ECHO_N "(cached) $ECHO_C" >&6
22034 else
22035 ac_cv_header_regex_h=$ac_header_preproc
22036 fi
22037 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22038 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22039
22040 fi
22041 if test $ac_cv_header_regex_h = yes; then
22042
22043 for ac_func in regcomp
22044 do
22045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22046 echo "$as_me:$LINENO: checking for $ac_func" >&5
22047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22048 if eval "test \"\${$as_ac_var+set}\" = set"; then
22049 echo $ECHO_N "(cached) $ECHO_C" >&6
22050 else
22051 cat >conftest.$ac_ext <<_ACEOF
22052 /* confdefs.h. */
22053 _ACEOF
22054 cat confdefs.h >>conftest.$ac_ext
22055 cat >>conftest.$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22059 #define $ac_func innocuous_$ac_func
22060
22061 /* System header to define __stub macros and hopefully few prototypes,
22062 which can conflict with char $ac_func (); below.
22063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22064 <limits.h> exists even on freestanding compilers. */
22065
22066 #ifdef __STDC__
22067 # include <limits.h>
22068 #else
22069 # include <assert.h>
22070 #endif
22071
22072 #undef $ac_func
22073
22074 /* Override any gcc2 internal prototype to avoid an error. */
22075 #ifdef __cplusplus
22076 extern "C"
22077 {
22078 #endif
22079 /* We use char because int might match the return type of a gcc2
22080 builtin and then its argument prototype would still apply. */
22081 char $ac_func ();
22082 /* The GNU C library defines this for functions which it implements
22083 to always fail with ENOSYS. Some functions are actually named
22084 something starting with __ and the normal name is an alias. */
22085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22086 choke me
22087 #else
22088 char (*f) () = $ac_func;
22089 #endif
22090 #ifdef __cplusplus
22091 }
22092 #endif
22093
22094 int
22095 main ()
22096 {
22097 return f != $ac_func;
22098 ;
22099 return 0;
22100 }
22101 _ACEOF
22102 rm -f conftest.$ac_objext conftest$ac_exeext
22103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22104 (eval $ac_link) 2>conftest.er1
22105 ac_status=$?
22106 grep -v '^ *+' conftest.er1 >conftest.err
22107 rm -f conftest.er1
22108 cat conftest.err >&5
22109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110 (exit $ac_status); } &&
22111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22113 (eval $ac_try) 2>&5
22114 ac_status=$?
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); }; } &&
22117 { ac_try='test -s conftest$ac_exeext'
22118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22119 (eval $ac_try) 2>&5
22120 ac_status=$?
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); }; }; then
22123 eval "$as_ac_var=yes"
22124 else
22125 echo "$as_me: failed program was:" >&5
22126 sed 's/^/| /' conftest.$ac_ext >&5
22127
22128 eval "$as_ac_var=no"
22129 fi
22130 rm -f conftest.err conftest.$ac_objext \
22131 conftest$ac_exeext conftest.$ac_ext
22132 fi
22133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22135 if test `eval echo '${'$as_ac_var'}'` = yes; then
22136 cat >>confdefs.h <<_ACEOF
22137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22138 _ACEOF
22139
22140 fi
22141 done
22142
22143 fi
22144
22145
22146
22147 if test "x$ac_cv_func_regcomp" != "xyes"; then
22148 if test "$wxUSE_REGEX" = "sys" ; then
22149 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22150 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22151 { (exit 1); exit 1; }; }
22152 else
22153 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22154 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22155 wxUSE_REGEX=builtin
22156 fi
22157 else
22158 wxUSE_REGEX=sys
22159 cat >>confdefs.h <<\_ACEOF
22160 #define WX_NO_REGEX_ADVANCED 1
22161 _ACEOF
22162
22163 fi
22164 fi
22165 fi
22166
22167
22168 ZLIB_LINK=
22169 if test "$wxUSE_ZLIB" != "no" ; then
22170 cat >>confdefs.h <<\_ACEOF
22171 #define wxUSE_ZLIB 1
22172 _ACEOF
22173
22174
22175 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22176 if test "$USE_DARWIN" = 1; then
22177 system_zlib_h_ok="yes"
22178 else
22179 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22180 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22181 if test "${ac_cv_header_zlib_h+set}" = set; then
22182 echo $ECHO_N "(cached) $ECHO_C" >&6
22183 else
22184 if test "$cross_compiling" = yes; then
22185 unset ac_cv_header_zlib_h
22186
22187 else
22188 cat >conftest.$ac_ext <<_ACEOF
22189 /* confdefs.h. */
22190 _ACEOF
22191 cat confdefs.h >>conftest.$ac_ext
22192 cat >>conftest.$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22194
22195 #include <zlib.h>
22196 #include <stdio.h>
22197
22198 int main()
22199 {
22200 FILE *f=fopen("conftestval", "w");
22201 if (!f) exit(1);
22202 fprintf(f, "%s",
22203 ZLIB_VERSION[0] == '1' &&
22204 (ZLIB_VERSION[2] > '1' ||
22205 (ZLIB_VERSION[2] == '1' &&
22206 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22207 exit(0);
22208 }
22209
22210 _ACEOF
22211 rm -f conftest$ac_exeext
22212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22213 (eval $ac_link) 2>&5
22214 ac_status=$?
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22218 (eval $ac_try) 2>&5
22219 ac_status=$?
22220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22221 (exit $ac_status); }; }; then
22222 ac_cv_header_zlib_h=`cat conftestval`
22223 else
22224 echo "$as_me: program exited with status $ac_status" >&5
22225 echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.$ac_ext >&5
22227
22228 ( exit $ac_status )
22229 ac_cv_header_zlib_h=no
22230 fi
22231 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22232 fi
22233
22234 fi
22235 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22236 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22237 if test "${ac_cv_header_zlib_h+set}" = set; then
22238 echo "$as_me:$LINENO: checking for zlib.h" >&5
22239 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22240 if test "${ac_cv_header_zlib_h+set}" = set; then
22241 echo $ECHO_N "(cached) $ECHO_C" >&6
22242 fi
22243 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22244 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22245 else
22246 # Is the header compilable?
22247 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22248 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22249 cat >conftest.$ac_ext <<_ACEOF
22250 /* confdefs.h. */
22251 _ACEOF
22252 cat confdefs.h >>conftest.$ac_ext
22253 cat >>conftest.$ac_ext <<_ACEOF
22254 /* end confdefs.h. */
22255 $ac_includes_default
22256 #include <zlib.h>
22257 _ACEOF
22258 rm -f conftest.$ac_objext
22259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22260 (eval $ac_compile) 2>conftest.er1
22261 ac_status=$?
22262 grep -v '^ *+' conftest.er1 >conftest.err
22263 rm -f conftest.er1
22264 cat conftest.err >&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); } &&
22267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22269 (eval $ac_try) 2>&5
22270 ac_status=$?
22271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272 (exit $ac_status); }; } &&
22273 { ac_try='test -s conftest.$ac_objext'
22274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22275 (eval $ac_try) 2>&5
22276 ac_status=$?
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); }; }; then
22279 ac_header_compiler=yes
22280 else
22281 echo "$as_me: failed program was:" >&5
22282 sed 's/^/| /' conftest.$ac_ext >&5
22283
22284 ac_header_compiler=no
22285 fi
22286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22288 echo "${ECHO_T}$ac_header_compiler" >&6
22289
22290 # Is the header present?
22291 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22292 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22293 cat >conftest.$ac_ext <<_ACEOF
22294 /* confdefs.h. */
22295 _ACEOF
22296 cat confdefs.h >>conftest.$ac_ext
22297 cat >>conftest.$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22299 #include <zlib.h>
22300 _ACEOF
22301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22303 ac_status=$?
22304 grep -v '^ *+' conftest.er1 >conftest.err
22305 rm -f conftest.er1
22306 cat conftest.err >&5
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); } >/dev/null; then
22309 if test -s conftest.err; then
22310 ac_cpp_err=$ac_c_preproc_warn_flag
22311 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22312 else
22313 ac_cpp_err=
22314 fi
22315 else
22316 ac_cpp_err=yes
22317 fi
22318 if test -z "$ac_cpp_err"; then
22319 ac_header_preproc=yes
22320 else
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.$ac_ext >&5
22323
22324 ac_header_preproc=no
22325 fi
22326 rm -f conftest.err conftest.$ac_ext
22327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22328 echo "${ECHO_T}$ac_header_preproc" >&6
22329
22330 # So? What about this header?
22331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22332 yes:no: )
22333 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22334 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22335 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22336 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22337 ac_header_preproc=yes
22338 ;;
22339 no:yes:* )
22340 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22341 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22342 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22343 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22344 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22345 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22346 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22347 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22348 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22349 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22350 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22351 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22352 (
22353 cat <<\_ASBOX
22354 ## ----------------------------------------- ##
22355 ## Report this to wx-dev@lists.wxwidgets.org ##
22356 ## ----------------------------------------- ##
22357 _ASBOX
22358 ) |
22359 sed "s/^/$as_me: WARNING: /" >&2
22360 ;;
22361 esac
22362 echo "$as_me:$LINENO: checking for zlib.h" >&5
22363 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22364 if test "${ac_cv_header_zlib_h+set}" = set; then
22365 echo $ECHO_N "(cached) $ECHO_C" >&6
22366 else
22367 ac_cv_header_zlib_h=$ac_header_preproc
22368 fi
22369 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22370 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22371
22372 fi
22373
22374
22375
22376 system_zlib_h_ok=$ac_cv_header_zlib_h
22377 fi
22378
22379 if test "$system_zlib_h_ok" = "yes"; then
22380 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22381 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22382 if test "${ac_cv_lib_z_deflate+set}" = set; then
22383 echo $ECHO_N "(cached) $ECHO_C" >&6
22384 else
22385 ac_check_lib_save_LIBS=$LIBS
22386 LIBS="-lz $LIBS"
22387 cat >conftest.$ac_ext <<_ACEOF
22388 /* confdefs.h. */
22389 _ACEOF
22390 cat confdefs.h >>conftest.$ac_ext
22391 cat >>conftest.$ac_ext <<_ACEOF
22392 /* end confdefs.h. */
22393
22394 /* Override any gcc2 internal prototype to avoid an error. */
22395 #ifdef __cplusplus
22396 extern "C"
22397 #endif
22398 /* We use char because int might match the return type of a gcc2
22399 builtin and then its argument prototype would still apply. */
22400 char deflate ();
22401 int
22402 main ()
22403 {
22404 deflate ();
22405 ;
22406 return 0;
22407 }
22408 _ACEOF
22409 rm -f conftest.$ac_objext conftest$ac_exeext
22410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22411 (eval $ac_link) 2>conftest.er1
22412 ac_status=$?
22413 grep -v '^ *+' conftest.er1 >conftest.err
22414 rm -f conftest.er1
22415 cat conftest.err >&5
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417 (exit $ac_status); } &&
22418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22420 (eval $ac_try) 2>&5
22421 ac_status=$?
22422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22423 (exit $ac_status); }; } &&
22424 { ac_try='test -s conftest$ac_exeext'
22425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22426 (eval $ac_try) 2>&5
22427 ac_status=$?
22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22429 (exit $ac_status); }; }; then
22430 ac_cv_lib_z_deflate=yes
22431 else
22432 echo "$as_me: failed program was:" >&5
22433 sed 's/^/| /' conftest.$ac_ext >&5
22434
22435 ac_cv_lib_z_deflate=no
22436 fi
22437 rm -f conftest.err conftest.$ac_objext \
22438 conftest$ac_exeext conftest.$ac_ext
22439 LIBS=$ac_check_lib_save_LIBS
22440 fi
22441 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22442 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22443 if test $ac_cv_lib_z_deflate = yes; then
22444 ZLIB_LINK=" -lz"
22445 fi
22446
22447 fi
22448
22449 if test "x$ZLIB_LINK" = "x" ; then
22450 if test "$wxUSE_ZLIB" = "sys" ; then
22451 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22452 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22453 { (exit 1); exit 1; }; }
22454 else
22455 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22456 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22457 wxUSE_ZLIB=builtin
22458 fi
22459 else
22460 wxUSE_ZLIB=sys
22461 fi
22462 fi
22463 fi
22464
22465
22466 PNG_LINK=
22467 if test "$wxUSE_LIBPNG" != "no" ; then
22468 cat >>confdefs.h <<\_ACEOF
22469 #define wxUSE_LIBPNG 1
22470 _ACEOF
22471
22472
22473 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22474 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22475 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22476 wxUSE_LIBPNG=sys
22477 fi
22478
22479 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22480 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22481 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22482 wxUSE_LIBPNG=builtin
22483 fi
22484
22485 if test "$wxUSE_MGL" != 1 ; then
22486 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22487 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22488 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22489 if test "${ac_cv_header_png_h+set}" = set; then
22490 echo $ECHO_N "(cached) $ECHO_C" >&6
22491 else
22492 if test "$cross_compiling" = yes; then
22493 unset ac_cv_header_png_h
22494
22495 else
22496 cat >conftest.$ac_ext <<_ACEOF
22497 /* confdefs.h. */
22498 _ACEOF
22499 cat confdefs.h >>conftest.$ac_ext
22500 cat >>conftest.$ac_ext <<_ACEOF
22501 /* end confdefs.h. */
22502
22503 #include <png.h>
22504 #include <stdio.h>
22505
22506 int main()
22507 {
22508 FILE *f=fopen("conftestval", "w");
22509 if (!f) exit(1);
22510 fprintf(f, "%s",
22511 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22512 exit(0);
22513 }
22514
22515 _ACEOF
22516 rm -f conftest$ac_exeext
22517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22518 (eval $ac_link) 2>&5
22519 ac_status=$?
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22523 (eval $ac_try) 2>&5
22524 ac_status=$?
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); }; }; then
22527 ac_cv_header_png_h=`cat conftestval`
22528 else
22529 echo "$as_me: program exited with status $ac_status" >&5
22530 echo "$as_me: failed program was:" >&5
22531 sed 's/^/| /' conftest.$ac_ext >&5
22532
22533 ( exit $ac_status )
22534 ac_cv_header_png_h=no
22535 fi
22536 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22537 fi
22538
22539 fi
22540 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22541 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22542 if test "${ac_cv_header_png_h+set}" = set; then
22543 echo "$as_me:$LINENO: checking for png.h" >&5
22544 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22545 if test "${ac_cv_header_png_h+set}" = set; then
22546 echo $ECHO_N "(cached) $ECHO_C" >&6
22547 fi
22548 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22549 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22550 else
22551 # Is the header compilable?
22552 echo "$as_me:$LINENO: checking png.h usability" >&5
22553 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22554 cat >conftest.$ac_ext <<_ACEOF
22555 /* confdefs.h. */
22556 _ACEOF
22557 cat confdefs.h >>conftest.$ac_ext
22558 cat >>conftest.$ac_ext <<_ACEOF
22559 /* end confdefs.h. */
22560 $ac_includes_default
22561 #include <png.h>
22562 _ACEOF
22563 rm -f conftest.$ac_objext
22564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22565 (eval $ac_compile) 2>conftest.er1
22566 ac_status=$?
22567 grep -v '^ *+' conftest.er1 >conftest.err
22568 rm -f conftest.er1
22569 cat conftest.err >&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); } &&
22572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574 (eval $ac_try) 2>&5
22575 ac_status=$?
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; } &&
22578 { ac_try='test -s conftest.$ac_objext'
22579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22580 (eval $ac_try) 2>&5
22581 ac_status=$?
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; }; then
22584 ac_header_compiler=yes
22585 else
22586 echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.$ac_ext >&5
22588
22589 ac_header_compiler=no
22590 fi
22591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22593 echo "${ECHO_T}$ac_header_compiler" >&6
22594
22595 # Is the header present?
22596 echo "$as_me:$LINENO: checking png.h presence" >&5
22597 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22598 cat >conftest.$ac_ext <<_ACEOF
22599 /* confdefs.h. */
22600 _ACEOF
22601 cat confdefs.h >>conftest.$ac_ext
22602 cat >>conftest.$ac_ext <<_ACEOF
22603 /* end confdefs.h. */
22604 #include <png.h>
22605 _ACEOF
22606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22607 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22608 ac_status=$?
22609 grep -v '^ *+' conftest.er1 >conftest.err
22610 rm -f conftest.er1
22611 cat conftest.err >&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); } >/dev/null; then
22614 if test -s conftest.err; then
22615 ac_cpp_err=$ac_c_preproc_warn_flag
22616 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22617 else
22618 ac_cpp_err=
22619 fi
22620 else
22621 ac_cpp_err=yes
22622 fi
22623 if test -z "$ac_cpp_err"; then
22624 ac_header_preproc=yes
22625 else
22626 echo "$as_me: failed program was:" >&5
22627 sed 's/^/| /' conftest.$ac_ext >&5
22628
22629 ac_header_preproc=no
22630 fi
22631 rm -f conftest.err conftest.$ac_ext
22632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22633 echo "${ECHO_T}$ac_header_preproc" >&6
22634
22635 # So? What about this header?
22636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22637 yes:no: )
22638 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22639 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22640 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22641 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22642 ac_header_preproc=yes
22643 ;;
22644 no:yes:* )
22645 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22646 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22647 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22648 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22649 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22650 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22651 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22652 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22653 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22654 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22655 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22656 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22657 (
22658 cat <<\_ASBOX
22659 ## ----------------------------------------- ##
22660 ## Report this to wx-dev@lists.wxwidgets.org ##
22661 ## ----------------------------------------- ##
22662 _ASBOX
22663 ) |
22664 sed "s/^/$as_me: WARNING: /" >&2
22665 ;;
22666 esac
22667 echo "$as_me:$LINENO: checking for png.h" >&5
22668 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22669 if test "${ac_cv_header_png_h+set}" = set; then
22670 echo $ECHO_N "(cached) $ECHO_C" >&6
22671 else
22672 ac_cv_header_png_h=$ac_header_preproc
22673 fi
22674 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22675 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22676
22677 fi
22678
22679
22680
22681 if test "$ac_cv_header_png_h" = "yes"; then
22682 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22683 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22684 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22685 echo $ECHO_N "(cached) $ECHO_C" >&6
22686 else
22687 ac_check_lib_save_LIBS=$LIBS
22688 LIBS="-lpng -lz -lm $LIBS"
22689 cat >conftest.$ac_ext <<_ACEOF
22690 /* confdefs.h. */
22691 _ACEOF
22692 cat confdefs.h >>conftest.$ac_ext
22693 cat >>conftest.$ac_ext <<_ACEOF
22694 /* end confdefs.h. */
22695
22696 /* Override any gcc2 internal prototype to avoid an error. */
22697 #ifdef __cplusplus
22698 extern "C"
22699 #endif
22700 /* We use char because int might match the return type of a gcc2
22701 builtin and then its argument prototype would still apply. */
22702 char png_check_sig ();
22703 int
22704 main ()
22705 {
22706 png_check_sig ();
22707 ;
22708 return 0;
22709 }
22710 _ACEOF
22711 rm -f conftest.$ac_objext conftest$ac_exeext
22712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22713 (eval $ac_link) 2>conftest.er1
22714 ac_status=$?
22715 grep -v '^ *+' conftest.er1 >conftest.err
22716 rm -f conftest.er1
22717 cat conftest.err >&5
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); } &&
22720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22722 (eval $ac_try) 2>&5
22723 ac_status=$?
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); }; } &&
22726 { ac_try='test -s conftest$ac_exeext'
22727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22728 (eval $ac_try) 2>&5
22729 ac_status=$?
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); }; }; then
22732 ac_cv_lib_png_png_check_sig=yes
22733 else
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.$ac_ext >&5
22736
22737 ac_cv_lib_png_png_check_sig=no
22738 fi
22739 rm -f conftest.err conftest.$ac_objext \
22740 conftest$ac_exeext conftest.$ac_ext
22741 LIBS=$ac_check_lib_save_LIBS
22742 fi
22743 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22744 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22745 if test $ac_cv_lib_png_png_check_sig = yes; then
22746 PNG_LINK=" -lpng -lz"
22747 fi
22748
22749 fi
22750
22751 if test "x$PNG_LINK" = "x" ; then
22752 if test "$wxUSE_LIBPNG" = "sys" ; then
22753 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22754 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22755 { (exit 1); exit 1; }; }
22756 else
22757 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22758 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22759 wxUSE_LIBPNG=builtin
22760 fi
22761 else
22762 wxUSE_LIBPNG=sys
22763 fi
22764 fi
22765 fi
22766
22767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
22768 fi
22769
22770
22771 JPEG_LINK=
22772 if test "$wxUSE_LIBJPEG" != "no" ; then
22773 cat >>confdefs.h <<\_ACEOF
22774 #define wxUSE_LIBJPEG 1
22775 _ACEOF
22776
22777
22778 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
22779 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
22780 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
22781 wxUSE_LIBJPEG=sys
22782 fi
22783
22784 if test "$wxUSE_MGL" != 1 ; then
22785 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22786 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
22787 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
22788 if test "${ac_cv_header_jpeglib_h+set}" = set; then
22789 echo $ECHO_N "(cached) $ECHO_C" >&6
22790 else
22791 cat >conftest.$ac_ext <<_ACEOF
22792 /* confdefs.h. */
22793 _ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22797
22798 #undef HAVE_STDLIB_H
22799 #include <stdio.h>
22800 #include <jpeglib.h>
22801
22802 int
22803 main ()
22804 {
22805
22806
22807 ;
22808 return 0;
22809 }
22810 _ACEOF
22811 rm -f conftest.$ac_objext
22812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22813 (eval $ac_compile) 2>conftest.er1
22814 ac_status=$?
22815 grep -v '^ *+' conftest.er1 >conftest.err
22816 rm -f conftest.er1
22817 cat conftest.err >&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } &&
22820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22822 (eval $ac_try) 2>&5
22823 ac_status=$?
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); }; } &&
22826 { ac_try='test -s conftest.$ac_objext'
22827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22828 (eval $ac_try) 2>&5
22829 ac_status=$?
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); }; }; then
22832 ac_cv_header_jpeglib_h=yes
22833 else
22834 echo "$as_me: failed program was:" >&5
22835 sed 's/^/| /' conftest.$ac_ext >&5
22836
22837 ac_cv_header_jpeglib_h=no
22838
22839 fi
22840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22841
22842 fi
22843
22844 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
22845 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
22846
22847 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22848 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
22849 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
22850 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
22851 echo $ECHO_N "(cached) $ECHO_C" >&6
22852 else
22853 ac_check_lib_save_LIBS=$LIBS
22854 LIBS="-ljpeg $LIBS"
22855 cat >conftest.$ac_ext <<_ACEOF
22856 /* confdefs.h. */
22857 _ACEOF
22858 cat confdefs.h >>conftest.$ac_ext
22859 cat >>conftest.$ac_ext <<_ACEOF
22860 /* end confdefs.h. */
22861
22862 /* Override any gcc2 internal prototype to avoid an error. */
22863 #ifdef __cplusplus
22864 extern "C"
22865 #endif
22866 /* We use char because int might match the return type of a gcc2
22867 builtin and then its argument prototype would still apply. */
22868 char jpeg_read_header ();
22869 int
22870 main ()
22871 {
22872 jpeg_read_header ();
22873 ;
22874 return 0;
22875 }
22876 _ACEOF
22877 rm -f conftest.$ac_objext conftest$ac_exeext
22878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22879 (eval $ac_link) 2>conftest.er1
22880 ac_status=$?
22881 grep -v '^ *+' conftest.er1 >conftest.err
22882 rm -f conftest.er1
22883 cat conftest.err >&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); } &&
22886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888 (eval $ac_try) 2>&5
22889 ac_status=$?
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; } &&
22892 { ac_try='test -s conftest$ac_exeext'
22893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22894 (eval $ac_try) 2>&5
22895 ac_status=$?
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); }; }; then
22898 ac_cv_lib_jpeg_jpeg_read_header=yes
22899 else
22900 echo "$as_me: failed program was:" >&5
22901 sed 's/^/| /' conftest.$ac_ext >&5
22902
22903 ac_cv_lib_jpeg_jpeg_read_header=no
22904 fi
22905 rm -f conftest.err conftest.$ac_objext \
22906 conftest$ac_exeext conftest.$ac_ext
22907 LIBS=$ac_check_lib_save_LIBS
22908 fi
22909 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22910 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
22911 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
22912 JPEG_LINK=" -ljpeg"
22913 fi
22914
22915 fi
22916
22917 if test "x$JPEG_LINK" = "x" ; then
22918 if test "$wxUSE_LIBJPEG" = "sys" ; then
22919 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
22920 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
22921 { (exit 1); exit 1; }; }
22922 else
22923 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
22924 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22925 wxUSE_LIBJPEG=builtin
22926 fi
22927 else
22928 wxUSE_LIBJPEG=sys
22929 fi
22930 fi
22931 fi
22932 fi
22933
22934
22935 TIFF_LINK=
22936 TIFF_PREREQ_LINKS=-lm
22937 if test "$wxUSE_LIBTIFF" != "no" ; then
22938 cat >>confdefs.h <<\_ACEOF
22939 #define wxUSE_LIBTIFF 1
22940 _ACEOF
22941
22942
22943 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22944 if test "$wxUSE_LIBJPEG" = "sys"; then
22945 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22946 fi
22947 if test "$wxUSE_ZLIB" = "sys"; then
22948 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22949 fi
22950 if test "${ac_cv_header_tiffio_h+set}" = set; then
22951 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22952 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22953 if test "${ac_cv_header_tiffio_h+set}" = set; then
22954 echo $ECHO_N "(cached) $ECHO_C" >&6
22955 fi
22956 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22957 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22958 else
22959 # Is the header compilable?
22960 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
22961 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
22962 cat >conftest.$ac_ext <<_ACEOF
22963 /* confdefs.h. */
22964 _ACEOF
22965 cat confdefs.h >>conftest.$ac_ext
22966 cat >>conftest.$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22968 $ac_includes_default
22969 #include <tiffio.h>
22970 _ACEOF
22971 rm -f conftest.$ac_objext
22972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22973 (eval $ac_compile) 2>conftest.er1
22974 ac_status=$?
22975 grep -v '^ *+' conftest.er1 >conftest.err
22976 rm -f conftest.er1
22977 cat conftest.err >&5
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); } &&
22980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982 (eval $ac_try) 2>&5
22983 ac_status=$?
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); }; } &&
22986 { ac_try='test -s conftest.$ac_objext'
22987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22988 (eval $ac_try) 2>&5
22989 ac_status=$?
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); }; }; then
22992 ac_header_compiler=yes
22993 else
22994 echo "$as_me: failed program was:" >&5
22995 sed 's/^/| /' conftest.$ac_ext >&5
22996
22997 ac_header_compiler=no
22998 fi
22999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23000 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23001 echo "${ECHO_T}$ac_header_compiler" >&6
23002
23003 # Is the header present?
23004 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23005 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23006 cat >conftest.$ac_ext <<_ACEOF
23007 /* confdefs.h. */
23008 _ACEOF
23009 cat confdefs.h >>conftest.$ac_ext
23010 cat >>conftest.$ac_ext <<_ACEOF
23011 /* end confdefs.h. */
23012 #include <tiffio.h>
23013 _ACEOF
23014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23015 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23016 ac_status=$?
23017 grep -v '^ *+' conftest.er1 >conftest.err
23018 rm -f conftest.er1
23019 cat conftest.err >&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); } >/dev/null; then
23022 if test -s conftest.err; then
23023 ac_cpp_err=$ac_c_preproc_warn_flag
23024 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23025 else
23026 ac_cpp_err=
23027 fi
23028 else
23029 ac_cpp_err=yes
23030 fi
23031 if test -z "$ac_cpp_err"; then
23032 ac_header_preproc=yes
23033 else
23034 echo "$as_me: failed program was:" >&5
23035 sed 's/^/| /' conftest.$ac_ext >&5
23036
23037 ac_header_preproc=no
23038 fi
23039 rm -f conftest.err conftest.$ac_ext
23040 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23041 echo "${ECHO_T}$ac_header_preproc" >&6
23042
23043 # So? What about this header?
23044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23045 yes:no: )
23046 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23047 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23048 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23049 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23050 ac_header_preproc=yes
23051 ;;
23052 no:yes:* )
23053 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23054 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23055 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23056 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23057 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23058 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23059 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23060 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23061 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23062 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23063 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23064 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23065 (
23066 cat <<\_ASBOX
23067 ## ----------------------------------------- ##
23068 ## Report this to wx-dev@lists.wxwidgets.org ##
23069 ## ----------------------------------------- ##
23070 _ASBOX
23071 ) |
23072 sed "s/^/$as_me: WARNING: /" >&2
23073 ;;
23074 esac
23075 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23076 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23077 if test "${ac_cv_header_tiffio_h+set}" = set; then
23078 echo $ECHO_N "(cached) $ECHO_C" >&6
23079 else
23080 ac_cv_header_tiffio_h=$ac_header_preproc
23081 fi
23082 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23083 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23084
23085 fi
23086 if test $ac_cv_header_tiffio_h = yes; then
23087
23088 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23089 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23090 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23091 echo $ECHO_N "(cached) $ECHO_C" >&6
23092 else
23093 ac_check_lib_save_LIBS=$LIBS
23094 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23095 cat >conftest.$ac_ext <<_ACEOF
23096 /* confdefs.h. */
23097 _ACEOF
23098 cat confdefs.h >>conftest.$ac_ext
23099 cat >>conftest.$ac_ext <<_ACEOF
23100 /* end confdefs.h. */
23101
23102 /* Override any gcc2 internal prototype to avoid an error. */
23103 #ifdef __cplusplus
23104 extern "C"
23105 #endif
23106 /* We use char because int might match the return type of a gcc2
23107 builtin and then its argument prototype would still apply. */
23108 char TIFFError ();
23109 int
23110 main ()
23111 {
23112 TIFFError ();
23113 ;
23114 return 0;
23115 }
23116 _ACEOF
23117 rm -f conftest.$ac_objext conftest$ac_exeext
23118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23119 (eval $ac_link) 2>conftest.er1
23120 ac_status=$?
23121 grep -v '^ *+' conftest.er1 >conftest.err
23122 rm -f conftest.er1
23123 cat conftest.err >&5
23124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125 (exit $ac_status); } &&
23126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23128 (eval $ac_try) 2>&5
23129 ac_status=$?
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); }; } &&
23132 { ac_try='test -s conftest$ac_exeext'
23133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23134 (eval $ac_try) 2>&5
23135 ac_status=$?
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); }; }; then
23138 ac_cv_lib_tiff_TIFFError=yes
23139 else
23140 echo "$as_me: failed program was:" >&5
23141 sed 's/^/| /' conftest.$ac_ext >&5
23142
23143 ac_cv_lib_tiff_TIFFError=no
23144 fi
23145 rm -f conftest.err conftest.$ac_objext \
23146 conftest$ac_exeext conftest.$ac_ext
23147 LIBS=$ac_check_lib_save_LIBS
23148 fi
23149 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23150 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23151 if test $ac_cv_lib_tiff_TIFFError = yes; then
23152 TIFF_LINK=" -ltiff"
23153 fi
23154
23155
23156
23157 fi
23158
23159
23160
23161 if test "x$TIFF_LINK" = "x" ; then
23162 if test "$wxUSE_LIBTIFF" = "sys" ; then
23163 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23164 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23165 { (exit 1); exit 1; }; }
23166 else
23167 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23168 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23169 wxUSE_LIBTIFF=builtin
23170 fi
23171 else
23172 wxUSE_LIBTIFF=sys
23173 fi
23174 fi
23175 fi
23176
23177
23178 if test "$wxUSE_EXPAT" != "no"; then
23179 wxUSE_XML=yes
23180 cat >>confdefs.h <<\_ACEOF
23181 #define wxUSE_EXPAT 1
23182 _ACEOF
23183
23184 cat >>confdefs.h <<\_ACEOF
23185 #define wxUSE_XML 1
23186 _ACEOF
23187
23188
23189 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23190 if test "${ac_cv_header_expat_h+set}" = set; then
23191 echo "$as_me:$LINENO: checking for expat.h" >&5
23192 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23193 if test "${ac_cv_header_expat_h+set}" = set; then
23194 echo $ECHO_N "(cached) $ECHO_C" >&6
23195 fi
23196 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23197 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23198 else
23199 # Is the header compilable?
23200 echo "$as_me:$LINENO: checking expat.h usability" >&5
23201 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23202 cat >conftest.$ac_ext <<_ACEOF
23203 /* confdefs.h. */
23204 _ACEOF
23205 cat confdefs.h >>conftest.$ac_ext
23206 cat >>conftest.$ac_ext <<_ACEOF
23207 /* end confdefs.h. */
23208 $ac_includes_default
23209 #include <expat.h>
23210 _ACEOF
23211 rm -f conftest.$ac_objext
23212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23213 (eval $ac_compile) 2>conftest.er1
23214 ac_status=$?
23215 grep -v '^ *+' conftest.er1 >conftest.err
23216 rm -f conftest.er1
23217 cat conftest.err >&5
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); } &&
23220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23222 (eval $ac_try) 2>&5
23223 ac_status=$?
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); }; } &&
23226 { ac_try='test -s conftest.$ac_objext'
23227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23228 (eval $ac_try) 2>&5
23229 ac_status=$?
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); }; }; then
23232 ac_header_compiler=yes
23233 else
23234 echo "$as_me: failed program was:" >&5
23235 sed 's/^/| /' conftest.$ac_ext >&5
23236
23237 ac_header_compiler=no
23238 fi
23239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23240 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23241 echo "${ECHO_T}$ac_header_compiler" >&6
23242
23243 # Is the header present?
23244 echo "$as_me:$LINENO: checking expat.h presence" >&5
23245 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23246 cat >conftest.$ac_ext <<_ACEOF
23247 /* confdefs.h. */
23248 _ACEOF
23249 cat confdefs.h >>conftest.$ac_ext
23250 cat >>conftest.$ac_ext <<_ACEOF
23251 /* end confdefs.h. */
23252 #include <expat.h>
23253 _ACEOF
23254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23255 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23256 ac_status=$?
23257 grep -v '^ *+' conftest.er1 >conftest.err
23258 rm -f conftest.er1
23259 cat conftest.err >&5
23260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23261 (exit $ac_status); } >/dev/null; then
23262 if test -s conftest.err; then
23263 ac_cpp_err=$ac_c_preproc_warn_flag
23264 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23265 else
23266 ac_cpp_err=
23267 fi
23268 else
23269 ac_cpp_err=yes
23270 fi
23271 if test -z "$ac_cpp_err"; then
23272 ac_header_preproc=yes
23273 else
23274 echo "$as_me: failed program was:" >&5
23275 sed 's/^/| /' conftest.$ac_ext >&5
23276
23277 ac_header_preproc=no
23278 fi
23279 rm -f conftest.err conftest.$ac_ext
23280 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23281 echo "${ECHO_T}$ac_header_preproc" >&6
23282
23283 # So? What about this header?
23284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23285 yes:no: )
23286 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23287 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23288 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23289 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23290 ac_header_preproc=yes
23291 ;;
23292 no:yes:* )
23293 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23294 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23295 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23296 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23297 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23298 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23299 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23300 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23301 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23302 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23303 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23304 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23305 (
23306 cat <<\_ASBOX
23307 ## ----------------------------------------- ##
23308 ## Report this to wx-dev@lists.wxwidgets.org ##
23309 ## ----------------------------------------- ##
23310 _ASBOX
23311 ) |
23312 sed "s/^/$as_me: WARNING: /" >&2
23313 ;;
23314 esac
23315 echo "$as_me:$LINENO: checking for expat.h" >&5
23316 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23317 if test "${ac_cv_header_expat_h+set}" = set; then
23318 echo $ECHO_N "(cached) $ECHO_C" >&6
23319 else
23320 ac_cv_header_expat_h=$ac_header_preproc
23321 fi
23322 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23323 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23324
23325 fi
23326 if test $ac_cv_header_expat_h = yes; then
23327 found_expat_h=1
23328 fi
23329
23330
23331 if test "x$found_expat_h" = "x1"; then
23332 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23333 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23334 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23335 echo $ECHO_N "(cached) $ECHO_C" >&6
23336 else
23337
23338
23339
23340 ac_ext=cc
23341 ac_cpp='$CXXCPP $CPPFLAGS'
23342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23345
23346 cat >conftest.$ac_ext <<_ACEOF
23347 /* confdefs.h. */
23348 _ACEOF
23349 cat confdefs.h >>conftest.$ac_ext
23350 cat >>conftest.$ac_ext <<_ACEOF
23351 /* end confdefs.h. */
23352 #include <expat.h>
23353 int
23354 main ()
23355 {
23356
23357 ;
23358 return 0;
23359 }
23360 _ACEOF
23361 rm -f conftest.$ac_objext
23362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23363 (eval $ac_compile) 2>conftest.er1
23364 ac_status=$?
23365 grep -v '^ *+' conftest.er1 >conftest.err
23366 rm -f conftest.er1
23367 cat conftest.err >&5
23368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369 (exit $ac_status); } &&
23370 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23372 (eval $ac_try) 2>&5
23373 ac_status=$?
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); }; } &&
23376 { ac_try='test -s conftest.$ac_objext'
23377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23378 (eval $ac_try) 2>&5
23379 ac_status=$?
23380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23381 (exit $ac_status); }; }; then
23382 wx_cv_expat_is_not_broken=yes
23383 else
23384 echo "$as_me: failed program was:" >&5
23385 sed 's/^/| /' conftest.$ac_ext >&5
23386
23387 wx_cv_expat_is_not_broken=no
23388
23389 fi
23390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23391 ac_ext=c
23392 ac_cpp='$CPP $CPPFLAGS'
23393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23396
23397
23398
23399 fi
23400 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23401 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23402 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23403 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23404 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23405 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23406 echo $ECHO_N "(cached) $ECHO_C" >&6
23407 else
23408 ac_check_lib_save_LIBS=$LIBS
23409 LIBS="-lexpat $LIBS"
23410 cat >conftest.$ac_ext <<_ACEOF
23411 /* confdefs.h. */
23412 _ACEOF
23413 cat confdefs.h >>conftest.$ac_ext
23414 cat >>conftest.$ac_ext <<_ACEOF
23415 /* end confdefs.h. */
23416
23417 /* Override any gcc2 internal prototype to avoid an error. */
23418 #ifdef __cplusplus
23419 extern "C"
23420 #endif
23421 /* We use char because int might match the return type of a gcc2
23422 builtin and then its argument prototype would still apply. */
23423 char XML_ParserCreate ();
23424 int
23425 main ()
23426 {
23427 XML_ParserCreate ();
23428 ;
23429 return 0;
23430 }
23431 _ACEOF
23432 rm -f conftest.$ac_objext conftest$ac_exeext
23433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23434 (eval $ac_link) 2>conftest.er1
23435 ac_status=$?
23436 grep -v '^ *+' conftest.er1 >conftest.err
23437 rm -f conftest.er1
23438 cat conftest.err >&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); } &&
23441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23443 (eval $ac_try) 2>&5
23444 ac_status=$?
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); }; } &&
23447 { ac_try='test -s conftest$ac_exeext'
23448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23449 (eval $ac_try) 2>&5
23450 ac_status=$?
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); }; }; then
23453 ac_cv_lib_expat_XML_ParserCreate=yes
23454 else
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.$ac_ext >&5
23457
23458 ac_cv_lib_expat_XML_ParserCreate=no
23459 fi
23460 rm -f conftest.err conftest.$ac_objext \
23461 conftest$ac_exeext conftest.$ac_ext
23462 LIBS=$ac_check_lib_save_LIBS
23463 fi
23464 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23465 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23466 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23467 EXPAT_LINK=" -lexpat"
23468 fi
23469
23470 fi
23471 fi
23472 if test "x$EXPAT_LINK" = "x" ; then
23473 if test "$wxUSE_EXPAT" = "sys" ; then
23474 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23475 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23476 { (exit 1); exit 1; }; }
23477 else
23478 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23479 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23480 wxUSE_EXPAT=builtin
23481 fi
23482 else
23483 wxUSE_EXPAT=sys
23484 fi
23485 fi
23486 if test "$wxUSE_EXPAT" = "builtin" ; then
23487
23488
23489 subdirs="$subdirs src/expat"
23490
23491 fi
23492 fi
23493
23494
23495
23496 if test "$wxUSE_LIBMSPACK" != "no"; then
23497 if test "${ac_cv_header_mspack_h+set}" = set; then
23498 echo "$as_me:$LINENO: checking for mspack.h" >&5
23499 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23500 if test "${ac_cv_header_mspack_h+set}" = set; then
23501 echo $ECHO_N "(cached) $ECHO_C" >&6
23502 fi
23503 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23504 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23505 else
23506 # Is the header compilable?
23507 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23508 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23509 cat >conftest.$ac_ext <<_ACEOF
23510 /* confdefs.h. */
23511 _ACEOF
23512 cat confdefs.h >>conftest.$ac_ext
23513 cat >>conftest.$ac_ext <<_ACEOF
23514 /* end confdefs.h. */
23515 $ac_includes_default
23516 #include <mspack.h>
23517 _ACEOF
23518 rm -f conftest.$ac_objext
23519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23520 (eval $ac_compile) 2>conftest.er1
23521 ac_status=$?
23522 grep -v '^ *+' conftest.er1 >conftest.err
23523 rm -f conftest.er1
23524 cat conftest.err >&5
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); } &&
23527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23529 (eval $ac_try) 2>&5
23530 ac_status=$?
23531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532 (exit $ac_status); }; } &&
23533 { ac_try='test -s conftest.$ac_objext'
23534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23535 (eval $ac_try) 2>&5
23536 ac_status=$?
23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538 (exit $ac_status); }; }; then
23539 ac_header_compiler=yes
23540 else
23541 echo "$as_me: failed program was:" >&5
23542 sed 's/^/| /' conftest.$ac_ext >&5
23543
23544 ac_header_compiler=no
23545 fi
23546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23548 echo "${ECHO_T}$ac_header_compiler" >&6
23549
23550 # Is the header present?
23551 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23552 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23553 cat >conftest.$ac_ext <<_ACEOF
23554 /* confdefs.h. */
23555 _ACEOF
23556 cat confdefs.h >>conftest.$ac_ext
23557 cat >>conftest.$ac_ext <<_ACEOF
23558 /* end confdefs.h. */
23559 #include <mspack.h>
23560 _ACEOF
23561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23563 ac_status=$?
23564 grep -v '^ *+' conftest.er1 >conftest.err
23565 rm -f conftest.er1
23566 cat conftest.err >&5
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); } >/dev/null; then
23569 if test -s conftest.err; then
23570 ac_cpp_err=$ac_c_preproc_warn_flag
23571 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23572 else
23573 ac_cpp_err=
23574 fi
23575 else
23576 ac_cpp_err=yes
23577 fi
23578 if test -z "$ac_cpp_err"; then
23579 ac_header_preproc=yes
23580 else
23581 echo "$as_me: failed program was:" >&5
23582 sed 's/^/| /' conftest.$ac_ext >&5
23583
23584 ac_header_preproc=no
23585 fi
23586 rm -f conftest.err conftest.$ac_ext
23587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23588 echo "${ECHO_T}$ac_header_preproc" >&6
23589
23590 # So? What about this header?
23591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23592 yes:no: )
23593 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23594 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23595 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23596 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23597 ac_header_preproc=yes
23598 ;;
23599 no:yes:* )
23600 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23601 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23602 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23603 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23604 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23605 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23606 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23607 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23608 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23609 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23610 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23611 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23612 (
23613 cat <<\_ASBOX
23614 ## ----------------------------------------- ##
23615 ## Report this to wx-dev@lists.wxwidgets.org ##
23616 ## ----------------------------------------- ##
23617 _ASBOX
23618 ) |
23619 sed "s/^/$as_me: WARNING: /" >&2
23620 ;;
23621 esac
23622 echo "$as_me:$LINENO: checking for mspack.h" >&5
23623 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23624 if test "${ac_cv_header_mspack_h+set}" = set; then
23625 echo $ECHO_N "(cached) $ECHO_C" >&6
23626 else
23627 ac_cv_header_mspack_h=$ac_header_preproc
23628 fi
23629 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23630 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23631
23632 fi
23633 if test $ac_cv_header_mspack_h = yes; then
23634 found_mspack_h=1
23635 fi
23636
23637
23638 if test "x$found_mspack_h" = "x1"; then
23639 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23640 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23641 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23642 echo $ECHO_N "(cached) $ECHO_C" >&6
23643 else
23644 ac_check_lib_save_LIBS=$LIBS
23645 LIBS="-lmspack $LIBS"
23646 cat >conftest.$ac_ext <<_ACEOF
23647 /* confdefs.h. */
23648 _ACEOF
23649 cat confdefs.h >>conftest.$ac_ext
23650 cat >>conftest.$ac_ext <<_ACEOF
23651 /* end confdefs.h. */
23652
23653 /* Override any gcc2 internal prototype to avoid an error. */
23654 #ifdef __cplusplus
23655 extern "C"
23656 #endif
23657 /* We use char because int might match the return type of a gcc2
23658 builtin and then its argument prototype would still apply. */
23659 char mspack_create_chm_decompressor ();
23660 int
23661 main ()
23662 {
23663 mspack_create_chm_decompressor ();
23664 ;
23665 return 0;
23666 }
23667 _ACEOF
23668 rm -f conftest.$ac_objext conftest$ac_exeext
23669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23670 (eval $ac_link) 2>conftest.er1
23671 ac_status=$?
23672 grep -v '^ *+' conftest.er1 >conftest.err
23673 rm -f conftest.er1
23674 cat conftest.err >&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); } &&
23677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23680 ac_status=$?
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; } &&
23683 { ac_try='test -s conftest$ac_exeext'
23684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23685 (eval $ac_try) 2>&5
23686 ac_status=$?
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); }; }; then
23689 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23690 else
23691 echo "$as_me: failed program was:" >&5
23692 sed 's/^/| /' conftest.$ac_ext >&5
23693
23694 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23695 fi
23696 rm -f conftest.err conftest.$ac_objext \
23697 conftest$ac_exeext conftest.$ac_ext
23698 LIBS=$ac_check_lib_save_LIBS
23699 fi
23700 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23701 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23702 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23703 MSPACK_LINK=" -lmspack"
23704 fi
23705
23706 fi
23707 if test "x$MSPACK_LINK" = "x" ; then
23708 wxUSE_LIBMSPACK=no
23709 fi
23710 fi
23711
23712 if test "$wxUSE_LIBMSPACK" != "no"; then
23713 cat >>confdefs.h <<\_ACEOF
23714 #define wxUSE_LIBMSPACK 1
23715 _ACEOF
23716
23717 fi
23718
23719
23720
23721 AFMINSTALL=
23722 WIN32INSTALL=
23723
23724 TOOLKIT=
23725 TOOLKIT_INCLUDE=
23726 WIDGET_SET=
23727
23728 if test "$USE_WIN32" = 1 ; then
23729
23730 for ac_header in w32api.h
23731 do
23732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23734 echo "$as_me:$LINENO: checking for $ac_header" >&5
23735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23737 echo $ECHO_N "(cached) $ECHO_C" >&6
23738 fi
23739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23741 else
23742 # Is the header compilable?
23743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23745 cat >conftest.$ac_ext <<_ACEOF
23746 /* confdefs.h. */
23747 _ACEOF
23748 cat confdefs.h >>conftest.$ac_ext
23749 cat >>conftest.$ac_ext <<_ACEOF
23750 /* end confdefs.h. */
23751 $ac_includes_default
23752 #include <$ac_header>
23753 _ACEOF
23754 rm -f conftest.$ac_objext
23755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23756 (eval $ac_compile) 2>conftest.er1
23757 ac_status=$?
23758 grep -v '^ *+' conftest.er1 >conftest.err
23759 rm -f conftest.er1
23760 cat conftest.err >&5
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); } &&
23763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23765 (eval $ac_try) 2>&5
23766 ac_status=$?
23767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768 (exit $ac_status); }; } &&
23769 { ac_try='test -s conftest.$ac_objext'
23770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23771 (eval $ac_try) 2>&5
23772 ac_status=$?
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); }; }; then
23775 ac_header_compiler=yes
23776 else
23777 echo "$as_me: failed program was:" >&5
23778 sed 's/^/| /' conftest.$ac_ext >&5
23779
23780 ac_header_compiler=no
23781 fi
23782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23784 echo "${ECHO_T}$ac_header_compiler" >&6
23785
23786 # Is the header present?
23787 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23788 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23789 cat >conftest.$ac_ext <<_ACEOF
23790 /* confdefs.h. */
23791 _ACEOF
23792 cat confdefs.h >>conftest.$ac_ext
23793 cat >>conftest.$ac_ext <<_ACEOF
23794 /* end confdefs.h. */
23795 #include <$ac_header>
23796 _ACEOF
23797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23798 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23799 ac_status=$?
23800 grep -v '^ *+' conftest.er1 >conftest.err
23801 rm -f conftest.er1
23802 cat conftest.err >&5
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); } >/dev/null; then
23805 if test -s conftest.err; then
23806 ac_cpp_err=$ac_c_preproc_warn_flag
23807 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23808 else
23809 ac_cpp_err=
23810 fi
23811 else
23812 ac_cpp_err=yes
23813 fi
23814 if test -z "$ac_cpp_err"; then
23815 ac_header_preproc=yes
23816 else
23817 echo "$as_me: failed program was:" >&5
23818 sed 's/^/| /' conftest.$ac_ext >&5
23819
23820 ac_header_preproc=no
23821 fi
23822 rm -f conftest.err conftest.$ac_ext
23823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23824 echo "${ECHO_T}$ac_header_preproc" >&6
23825
23826 # So? What about this header?
23827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23828 yes:no: )
23829 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23830 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23832 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23833 ac_header_preproc=yes
23834 ;;
23835 no:yes:* )
23836 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23837 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23838 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23839 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23840 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23841 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23842 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23843 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23846 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23848 (
23849 cat <<\_ASBOX
23850 ## ----------------------------------------- ##
23851 ## Report this to wx-dev@lists.wxwidgets.org ##
23852 ## ----------------------------------------- ##
23853 _ASBOX
23854 ) |
23855 sed "s/^/$as_me: WARNING: /" >&2
23856 ;;
23857 esac
23858 echo "$as_me:$LINENO: checking for $ac_header" >&5
23859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23861 echo $ECHO_N "(cached) $ECHO_C" >&6
23862 else
23863 eval "$as_ac_Header=\$ac_header_preproc"
23864 fi
23865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23867
23868 fi
23869 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23870 cat >>confdefs.h <<_ACEOF
23871 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23872 _ACEOF
23873
23874 fi
23875
23876 done
23877
23878 if test "${ac_cv_header_windows_h+set}" = set; then
23879 echo "$as_me:$LINENO: checking for windows.h" >&5
23880 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23881 if test "${ac_cv_header_windows_h+set}" = set; then
23882 echo $ECHO_N "(cached) $ECHO_C" >&6
23883 fi
23884 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23885 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23886 else
23887 # Is the header compilable?
23888 echo "$as_me:$LINENO: checking windows.h usability" >&5
23889 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
23890 cat >conftest.$ac_ext <<_ACEOF
23891 /* confdefs.h. */
23892 _ACEOF
23893 cat confdefs.h >>conftest.$ac_ext
23894 cat >>conftest.$ac_ext <<_ACEOF
23895 /* end confdefs.h. */
23896 $ac_includes_default
23897 #include <windows.h>
23898 _ACEOF
23899 rm -f conftest.$ac_objext
23900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23901 (eval $ac_compile) 2>conftest.er1
23902 ac_status=$?
23903 grep -v '^ *+' conftest.er1 >conftest.err
23904 rm -f conftest.er1
23905 cat conftest.err >&5
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); } &&
23908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23910 (eval $ac_try) 2>&5
23911 ac_status=$?
23912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913 (exit $ac_status); }; } &&
23914 { ac_try='test -s conftest.$ac_objext'
23915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23916 (eval $ac_try) 2>&5
23917 ac_status=$?
23918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919 (exit $ac_status); }; }; then
23920 ac_header_compiler=yes
23921 else
23922 echo "$as_me: failed program was:" >&5
23923 sed 's/^/| /' conftest.$ac_ext >&5
23924
23925 ac_header_compiler=no
23926 fi
23927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23929 echo "${ECHO_T}$ac_header_compiler" >&6
23930
23931 # Is the header present?
23932 echo "$as_me:$LINENO: checking windows.h presence" >&5
23933 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
23934 cat >conftest.$ac_ext <<_ACEOF
23935 /* confdefs.h. */
23936 _ACEOF
23937 cat confdefs.h >>conftest.$ac_ext
23938 cat >>conftest.$ac_ext <<_ACEOF
23939 /* end confdefs.h. */
23940 #include <windows.h>
23941 _ACEOF
23942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23944 ac_status=$?
23945 grep -v '^ *+' conftest.er1 >conftest.err
23946 rm -f conftest.er1
23947 cat conftest.err >&5
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); } >/dev/null; then
23950 if test -s conftest.err; then
23951 ac_cpp_err=$ac_c_preproc_warn_flag
23952 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23953 else
23954 ac_cpp_err=
23955 fi
23956 else
23957 ac_cpp_err=yes
23958 fi
23959 if test -z "$ac_cpp_err"; then
23960 ac_header_preproc=yes
23961 else
23962 echo "$as_me: failed program was:" >&5
23963 sed 's/^/| /' conftest.$ac_ext >&5
23964
23965 ac_header_preproc=no
23966 fi
23967 rm -f conftest.err conftest.$ac_ext
23968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23969 echo "${ECHO_T}$ac_header_preproc" >&6
23970
23971 # So? What about this header?
23972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23973 yes:no: )
23974 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
23975 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23976 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
23977 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
23978 ac_header_preproc=yes
23979 ;;
23980 no:yes:* )
23981 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
23982 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
23983 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
23984 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
23985 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
23986 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
23987 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
23988 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
23989 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
23990 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
23991 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
23992 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
23993 (
23994 cat <<\_ASBOX
23995 ## ----------------------------------------- ##
23996 ## Report this to wx-dev@lists.wxwidgets.org ##
23997 ## ----------------------------------------- ##
23998 _ASBOX
23999 ) |
24000 sed "s/^/$as_me: WARNING: /" >&2
24001 ;;
24002 esac
24003 echo "$as_me:$LINENO: checking for windows.h" >&5
24004 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24005 if test "${ac_cv_header_windows_h+set}" = set; then
24006 echo $ECHO_N "(cached) $ECHO_C" >&6
24007 else
24008 ac_cv_header_windows_h=$ac_header_preproc
24009 fi
24010 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24011 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24012
24013 fi
24014 if test $ac_cv_header_windows_h = yes; then
24015 :
24016 else
24017
24018 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24019 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24020 { (exit 1); exit 1; }; }
24021
24022 fi
24023
24024
24025
24026 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24027
24028 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24029 LIBS="$LIBS -loleacc"
24030 fi
24031
24032 case "${host}" in
24033 *-*-cygwin* )
24034 LIBS="$LIBS -lkernel32 -luser32"
24035 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
24036 esac
24037
24038 if test "$wxUSE_ODBC" = "sys" ; then
24039 wxUSE_ODBC = "yes"
24040 fi
24041 if test "$wxUSE_ODBC" = "yes" ; then
24042 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
24043 cat >>confdefs.h <<\_ACEOF
24044 #define wxUSE_ODBC 1
24045 _ACEOF
24046
24047 fi
24048
24049 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24050 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
24051
24052 WIN32INSTALL=win32install
24053 fi
24054
24055 if test "$wxUSE_GUI" = "yes"; then
24056 USE_GUI=1
24057
24058 GUI_TK_LIBRARY=
24059
24060 WXGTK12=
24061 WXGTK127=
24062 WXGTK20=
24063 WXGPE=
24064
24065 if test "$wxUSE_COCOA" = 1 ; then
24066 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24067 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24068 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24069 wxUSE_PRINTING_ARCHITECTURE=no
24070 fi
24071 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24072 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24073 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24074 wxUSE_DRAG_AND_DROP=no
24075 fi
24076 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24077 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24078 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24079 wxUSE_DRAGIMAGE=no
24080 fi
24081 fi
24082
24083 if test "$wxUSE_MSW" = 1 ; then
24084 TOOLKIT=MSW
24085 GUIDIST=MSW_DIST
24086
24087 case "${host}" in
24088 *-*-mingw32* )
24089 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24090 esac
24091 fi
24092
24093 if test "$wxUSE_GTK" = 1; then
24094 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24095 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24096
24097 gtk_version_cached=1
24098 if test "${wx_cv_lib_gtk+set}" = set; then
24099 echo $ECHO_N "(cached) $ECHO_C" >&6
24100 else
24101
24102 gtk_version_cached=0
24103 echo "$as_me:$LINENO: result: " >&5
24104 echo "${ECHO_T}" >&6
24105
24106 GTK_MODULES=
24107 if test "$wxUSE_THREADS" = "yes"; then
24108 GTK_MODULES=gthread
24109 fi
24110
24111 wx_cv_lib_gtk=
24112 if test "x$wxUSE_GTK2" = "xyes"; then
24113 # Check whether --enable-gtktest or --disable-gtktest was given.
24114 if test "${enable_gtktest+set}" = set; then
24115 enableval="$enable_gtktest"
24116
24117 else
24118 enable_gtktest=yes
24119 fi;
24120
24121 pkg_config_args=gtk+-2.0
24122 for module in . $GTK_MODULES
24123 do
24124 case "$module" in
24125 gthread)
24126 pkg_config_args="$pkg_config_args gthread-2.0"
24127 ;;
24128 esac
24129 done
24130
24131 no_gtk=""
24132
24133 # Extract the first word of "pkg-config", so it can be a program name with args.
24134 set dummy pkg-config; ac_word=$2
24135 echo "$as_me:$LINENO: checking for $ac_word" >&5
24136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24137 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24138 echo $ECHO_N "(cached) $ECHO_C" >&6
24139 else
24140 case $PKG_CONFIG in
24141 [\\/]* | ?:[\\/]*)
24142 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24143 ;;
24144 *)
24145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24146 for as_dir in $PATH
24147 do
24148 IFS=$as_save_IFS
24149 test -z "$as_dir" && as_dir=.
24150 for ac_exec_ext in '' $ac_executable_extensions; do
24151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24152 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24154 break 2
24155 fi
24156 done
24157 done
24158
24159 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24160 ;;
24161 esac
24162 fi
24163 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24164
24165 if test -n "$PKG_CONFIG"; then
24166 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24167 echo "${ECHO_T}$PKG_CONFIG" >&6
24168 else
24169 echo "$as_me:$LINENO: result: no" >&5
24170 echo "${ECHO_T}no" >&6
24171 fi
24172
24173
24174 if test x$PKG_CONFIG != xno ; then
24175 if pkg-config --atleast-pkgconfig-version 0.7 ; then
24176 :
24177 else
24178 echo "*** pkg-config too old; version 0.7 or better required."
24179 no_gtk=yes
24180 PKG_CONFIG=no
24181 fi
24182 else
24183 no_gtk=yes
24184 fi
24185
24186 min_gtk_version=2.0.0
24187 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24188 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24189
24190 if test x$PKG_CONFIG != xno ; then
24191 ## don't try to run the test against uninstalled libtool libs
24192 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24193 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24194 enable_gtktest=no
24195 fi
24196
24197 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24198 :
24199 else
24200 no_gtk=yes
24201 fi
24202 fi
24203
24204 if test x"$no_gtk" = x ; then
24205 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
24206 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
24207 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24208 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24209 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24211 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24212 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24213 if test "x$enable_gtktest" = "xyes" ; then
24214 ac_save_CFLAGS="$CFLAGS"
24215 ac_save_LIBS="$LIBS"
24216 CFLAGS="$CFLAGS $GTK_CFLAGS"
24217 LIBS="$GTK_LIBS $LIBS"
24218 rm -f conf.gtktest
24219 if test "$cross_compiling" = yes; then
24220 echo $ac_n "cross compiling; assumed OK... $ac_c"
24221 else
24222 cat >conftest.$ac_ext <<_ACEOF
24223 /* confdefs.h. */
24224 _ACEOF
24225 cat confdefs.h >>conftest.$ac_ext
24226 cat >>conftest.$ac_ext <<_ACEOF
24227 /* end confdefs.h. */
24228
24229 #include <gtk/gtk.h>
24230 #include <stdio.h>
24231 #include <stdlib.h>
24232
24233 int
24234 main ()
24235 {
24236 int major, minor, micro;
24237 char *tmp_version;
24238
24239 system ("touch conf.gtktest");
24240
24241 /* HP/UX 9 (%@#!) writes to sscanf strings */
24242 tmp_version = g_strdup("$min_gtk_version");
24243 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24244 printf("%s, bad version string\n", "$min_gtk_version");
24245 exit(1);
24246 }
24247
24248 if ((gtk_major_version != $gtk_config_major_version) ||
24249 (gtk_minor_version != $gtk_config_minor_version) ||
24250 (gtk_micro_version != $gtk_config_micro_version))
24251 {
24252 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24253 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24254 gtk_major_version, gtk_minor_version, gtk_micro_version);
24255 printf ("*** was found! If pkg-config was correct, then it is best\n");
24256 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24257 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24258 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24259 printf("*** required on your system.\n");
24260 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24261 printf("*** to point to the correct configuration files\n");
24262 }
24263 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24264 (gtk_minor_version != GTK_MINOR_VERSION) ||
24265 (gtk_micro_version != GTK_MICRO_VERSION))
24266 {
24267 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24268 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24269 printf("*** library (version %d.%d.%d)\n",
24270 gtk_major_version, gtk_minor_version, gtk_micro_version);
24271 }
24272 else
24273 {
24274 if ((gtk_major_version > major) ||
24275 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24276 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24277 {
24278 return 0;
24279 }
24280 else
24281 {
24282 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24283 gtk_major_version, gtk_minor_version, gtk_micro_version);
24284 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24285 major, minor, micro);
24286 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24287 printf("***\n");
24288 printf("*** If you have already installed a sufficiently new version, this error\n");
24289 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24290 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24291 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24292 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24293 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24294 printf("*** so that the correct libraries are found at run-time))\n");
24295 }
24296 }
24297 return 1;
24298 }
24299
24300 _ACEOF
24301 rm -f conftest$ac_exeext
24302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24303 (eval $ac_link) 2>&5
24304 ac_status=$?
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24308 (eval $ac_try) 2>&5
24309 ac_status=$?
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); }; }; then
24312 :
24313 else
24314 echo "$as_me: program exited with status $ac_status" >&5
24315 echo "$as_me: failed program was:" >&5
24316 sed 's/^/| /' conftest.$ac_ext >&5
24317
24318 ( exit $ac_status )
24319 no_gtk=yes
24320 fi
24321 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24322 fi
24323 CFLAGS="$ac_save_CFLAGS"
24324 LIBS="$ac_save_LIBS"
24325 fi
24326 fi
24327 if test "x$no_gtk" = x ; then
24328 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24329 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24330 wx_cv_lib_gtk=2.0
24331 else
24332 echo "$as_me:$LINENO: result: no" >&5
24333 echo "${ECHO_T}no" >&6
24334 if test "$PKG_CONFIG" = "no" ; then
24335 echo "*** A new enough version of pkg-config was not found."
24336 echo "*** See http://pkgconfig.sourceforge.net"
24337 else
24338 if test -f conf.gtktest ; then
24339 :
24340 else
24341 echo "*** Could not run GTK+ test program, checking why..."
24342 ac_save_CFLAGS="$CFLAGS"
24343 ac_save_LIBS="$LIBS"
24344 CFLAGS="$CFLAGS $GTK_CFLAGS"
24345 LIBS="$LIBS $GTK_LIBS"
24346 cat >conftest.$ac_ext <<_ACEOF
24347 /* confdefs.h. */
24348 _ACEOF
24349 cat confdefs.h >>conftest.$ac_ext
24350 cat >>conftest.$ac_ext <<_ACEOF
24351 /* end confdefs.h. */
24352
24353 #include <gtk/gtk.h>
24354 #include <stdio.h>
24355
24356 int
24357 main ()
24358 {
24359 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24360 ;
24361 return 0;
24362 }
24363 _ACEOF
24364 rm -f conftest.$ac_objext conftest$ac_exeext
24365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24366 (eval $ac_link) 2>conftest.er1
24367 ac_status=$?
24368 grep -v '^ *+' conftest.er1 >conftest.err
24369 rm -f conftest.er1
24370 cat conftest.err >&5
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); } &&
24373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24375 (eval $ac_try) 2>&5
24376 ac_status=$?
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); }; } &&
24379 { ac_try='test -s conftest$ac_exeext'
24380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24381 (eval $ac_try) 2>&5
24382 ac_status=$?
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); }; }; then
24385 echo "*** The test program compiled, but did not run. This usually means"
24386 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24387 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24388 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24389 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24390 echo "*** is required on your system"
24391 echo "***"
24392 echo "*** If you have an old version installed, it is best to remove it, although"
24393 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24394 else
24395 echo "$as_me: failed program was:" >&5
24396 sed 's/^/| /' conftest.$ac_ext >&5
24397
24398 echo "*** The test program failed to compile or link. See the file config.log for the"
24399 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24400 fi
24401 rm -f conftest.err conftest.$ac_objext \
24402 conftest$ac_exeext conftest.$ac_ext
24403 CFLAGS="$ac_save_CFLAGS"
24404 LIBS="$ac_save_LIBS"
24405 fi
24406 fi
24407 GTK_CFLAGS=""
24408 GTK_LIBS=""
24409 :
24410 fi
24411
24412
24413 rm -f conf.gtktest
24414
24415 else
24416
24417 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24418 if test "${with_gtk_prefix+set}" = set; then
24419 withval="$with_gtk_prefix"
24420 gtk_config_prefix="$withval"
24421 else
24422 gtk_config_prefix=""
24423 fi;
24424
24425 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24426 if test "${with_gtk_exec_prefix+set}" = set; then
24427 withval="$with_gtk_exec_prefix"
24428 gtk_config_exec_prefix="$withval"
24429 else
24430 gtk_config_exec_prefix=""
24431 fi;
24432 # Check whether --enable-gtktest or --disable-gtktest was given.
24433 if test "${enable_gtktest+set}" = set; then
24434 enableval="$enable_gtktest"
24435
24436 else
24437 enable_gtktest=yes
24438 fi;
24439
24440 for module in . $GTK_MODULES
24441 do
24442 case "$module" in
24443 gthread)
24444 gtk_config_args="$gtk_config_args gthread"
24445 ;;
24446 esac
24447 done
24448
24449 if test x$gtk_config_exec_prefix != x ; then
24450 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24451 if test x${GTK_CONFIG+set} != xset ; then
24452 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24453 fi
24454 fi
24455 if test x$gtk_config_prefix != x ; then
24456 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24457 if test x${GTK_CONFIG+set} != xset ; then
24458 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24459 fi
24460 fi
24461
24462 # Extract the first word of "gtk-config", so it can be a program name with args.
24463 set dummy gtk-config; ac_word=$2
24464 echo "$as_me:$LINENO: checking for $ac_word" >&5
24465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24466 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24467 echo $ECHO_N "(cached) $ECHO_C" >&6
24468 else
24469 case $GTK_CONFIG in
24470 [\\/]* | ?:[\\/]*)
24471 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24472 ;;
24473 *)
24474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24475 for as_dir in $PATH
24476 do
24477 IFS=$as_save_IFS
24478 test -z "$as_dir" && as_dir=.
24479 for ac_exec_ext in '' $ac_executable_extensions; do
24480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24481 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24483 break 2
24484 fi
24485 done
24486 done
24487
24488 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24489 ;;
24490 esac
24491 fi
24492 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24493
24494 if test -n "$GTK_CONFIG"; then
24495 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24496 echo "${ECHO_T}$GTK_CONFIG" >&6
24497 else
24498 echo "$as_me:$LINENO: result: no" >&5
24499 echo "${ECHO_T}no" >&6
24500 fi
24501
24502 min_gtk_version=1.2.7
24503 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24504 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24505 no_gtk=""
24506 if test "$GTK_CONFIG" = "no" ; then
24507 no_gtk=yes
24508 else
24509 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24510 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24511 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24512 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24513 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24514 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24515 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24517 if test "x$enable_gtktest" = "xyes" ; then
24518 ac_save_CFLAGS="$CFLAGS"
24519 ac_save_LIBS="$LIBS"
24520 CFLAGS="$CFLAGS $GTK_CFLAGS"
24521 LIBS="$GTK_LIBS $LIBS"
24522 rm -f conf.gtktest
24523 if test "$cross_compiling" = yes; then
24524 echo $ac_n "cross compiling; assumed OK... $ac_c"
24525 else
24526 cat >conftest.$ac_ext <<_ACEOF
24527 /* confdefs.h. */
24528 _ACEOF
24529 cat confdefs.h >>conftest.$ac_ext
24530 cat >>conftest.$ac_ext <<_ACEOF
24531 /* end confdefs.h. */
24532
24533 #include <gtk/gtk.h>
24534 #include <stdio.h>
24535 #include <stdlib.h>
24536
24537 int
24538 main ()
24539 {
24540 int major, minor, micro;
24541 char *tmp_version;
24542
24543 system ("touch conf.gtktest");
24544
24545 /* HP/UX 9 (%@#!) writes to sscanf strings */
24546 tmp_version = g_strdup("$min_gtk_version");
24547 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24548 printf("%s, bad version string\n", "$min_gtk_version");
24549 exit(1);
24550 }
24551
24552 if ((gtk_major_version != $gtk_config_major_version) ||
24553 (gtk_minor_version != $gtk_config_minor_version) ||
24554 (gtk_micro_version != $gtk_config_micro_version))
24555 {
24556 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24557 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24558 gtk_major_version, gtk_minor_version, gtk_micro_version);
24559 printf ("*** was found! If gtk-config was correct, then it is best\n");
24560 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24561 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24562 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24563 printf("*** required on your system.\n");
24564 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24565 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24566 printf("*** before re-running configure\n");
24567 }
24568 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24569 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24570 (gtk_minor_version != GTK_MINOR_VERSION) ||
24571 (gtk_micro_version != GTK_MICRO_VERSION))
24572 {
24573 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24574 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24575 printf("*** library (version %d.%d.%d)\n",
24576 gtk_major_version, gtk_minor_version, gtk_micro_version);
24577 }
24578 #endif /* defined (GTK_MAJOR_VERSION) ... */
24579 else
24580 {
24581 if ((gtk_major_version > major) ||
24582 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24583 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24584 {
24585 return 0;
24586 }
24587 else
24588 {
24589 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24590 gtk_major_version, gtk_minor_version, gtk_micro_version);
24591 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24592 major, minor, micro);
24593 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24594 printf("***\n");
24595 printf("*** If you have already installed a sufficiently new version, this error\n");
24596 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24597 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24598 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24599 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24600 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24601 printf("*** so that the correct libraries are found at run-time))\n");
24602 }
24603 }
24604 return 1;
24605 }
24606
24607 _ACEOF
24608 rm -f conftest$ac_exeext
24609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24610 (eval $ac_link) 2>&5
24611 ac_status=$?
24612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24615 (eval $ac_try) 2>&5
24616 ac_status=$?
24617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618 (exit $ac_status); }; }; then
24619 :
24620 else
24621 echo "$as_me: program exited with status $ac_status" >&5
24622 echo "$as_me: failed program was:" >&5
24623 sed 's/^/| /' conftest.$ac_ext >&5
24624
24625 ( exit $ac_status )
24626 no_gtk=yes
24627 fi
24628 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24629 fi
24630 CFLAGS="$ac_save_CFLAGS"
24631 LIBS="$ac_save_LIBS"
24632 fi
24633 fi
24634 if test "x$no_gtk" = x ; then
24635 echo "$as_me:$LINENO: result: yes" >&5
24636 echo "${ECHO_T}yes" >&6
24637 wx_cv_lib_gtk=1.2.7
24638 else
24639 echo "$as_me:$LINENO: result: no" >&5
24640 echo "${ECHO_T}no" >&6
24641 if test "$GTK_CONFIG" = "no" ; then
24642 echo "*** The gtk-config script installed by GTK could not be found"
24643 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24644 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24645 echo "*** full path to gtk-config."
24646 else
24647 if test -f conf.gtktest ; then
24648 :
24649 else
24650 echo "*** Could not run GTK test program, checking why..."
24651 CFLAGS="$CFLAGS $GTK_CFLAGS"
24652 LIBS="$LIBS $GTK_LIBS"
24653 cat >conftest.$ac_ext <<_ACEOF
24654 /* confdefs.h. */
24655 _ACEOF
24656 cat confdefs.h >>conftest.$ac_ext
24657 cat >>conftest.$ac_ext <<_ACEOF
24658 /* end confdefs.h. */
24659
24660 #include <gtk/gtk.h>
24661 #include <stdio.h>
24662
24663 int
24664 main ()
24665 {
24666 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24667 ;
24668 return 0;
24669 }
24670 _ACEOF
24671 rm -f conftest.$ac_objext conftest$ac_exeext
24672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24673 (eval $ac_link) 2>conftest.er1
24674 ac_status=$?
24675 grep -v '^ *+' conftest.er1 >conftest.err
24676 rm -f conftest.er1
24677 cat conftest.err >&5
24678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24679 (exit $ac_status); } &&
24680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24682 (eval $ac_try) 2>&5
24683 ac_status=$?
24684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24685 (exit $ac_status); }; } &&
24686 { ac_try='test -s conftest$ac_exeext'
24687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24688 (eval $ac_try) 2>&5
24689 ac_status=$?
24690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24691 (exit $ac_status); }; }; then
24692 echo "*** The test program compiled, but did not run. This usually means"
24693 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24694 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24695 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24696 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24697 echo "*** is required on your system"
24698 echo "***"
24699 echo "*** If you have an old version installed, it is best to remove it, although"
24700 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24701 echo "***"
24702 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24703 echo "*** came with the system with the command"
24704 echo "***"
24705 echo "*** rpm --erase --nodeps gtk gtk-devel"
24706 else
24707 echo "$as_me: failed program was:" >&5
24708 sed 's/^/| /' conftest.$ac_ext >&5
24709
24710 echo "*** The test program failed to compile or link. See the file config.log for the"
24711 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24712 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24713 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24714 fi
24715 rm -f conftest.err conftest.$ac_objext \
24716 conftest$ac_exeext conftest.$ac_ext
24717 CFLAGS="$ac_save_CFLAGS"
24718 LIBS="$ac_save_LIBS"
24719 fi
24720 fi
24721 GTK_CFLAGS=""
24722 GTK_LIBS=""
24723 :
24724 fi
24725
24726
24727 rm -f conf.gtktest
24728
24729
24730 if test -z "$wx_cv_lib_gtk"; then
24731
24732 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24733 if test "${with_gtk_prefix+set}" = set; then
24734 withval="$with_gtk_prefix"
24735 gtk_config_prefix="$withval"
24736 else
24737 gtk_config_prefix=""
24738 fi;
24739
24740 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24741 if test "${with_gtk_exec_prefix+set}" = set; then
24742 withval="$with_gtk_exec_prefix"
24743 gtk_config_exec_prefix="$withval"
24744 else
24745 gtk_config_exec_prefix=""
24746 fi;
24747 # Check whether --enable-gtktest or --disable-gtktest was given.
24748 if test "${enable_gtktest+set}" = set; then
24749 enableval="$enable_gtktest"
24750
24751 else
24752 enable_gtktest=yes
24753 fi;
24754
24755 for module in . $GTK_MODULES
24756 do
24757 case "$module" in
24758 gthread)
24759 gtk_config_args="$gtk_config_args gthread"
24760 ;;
24761 esac
24762 done
24763
24764 if test x$gtk_config_exec_prefix != x ; then
24765 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24766 if test x${GTK_CONFIG+set} != xset ; then
24767 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24768 fi
24769 fi
24770 if test x$gtk_config_prefix != x ; then
24771 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24772 if test x${GTK_CONFIG+set} != xset ; then
24773 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24774 fi
24775 fi
24776
24777 # Extract the first word of "gtk-config", so it can be a program name with args.
24778 set dummy gtk-config; ac_word=$2
24779 echo "$as_me:$LINENO: checking for $ac_word" >&5
24780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24781 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24782 echo $ECHO_N "(cached) $ECHO_C" >&6
24783 else
24784 case $GTK_CONFIG in
24785 [\\/]* | ?:[\\/]*)
24786 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24787 ;;
24788 *)
24789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24790 for as_dir in $PATH
24791 do
24792 IFS=$as_save_IFS
24793 test -z "$as_dir" && as_dir=.
24794 for ac_exec_ext in '' $ac_executable_extensions; do
24795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24796 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24798 break 2
24799 fi
24800 done
24801 done
24802
24803 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24804 ;;
24805 esac
24806 fi
24807 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24808
24809 if test -n "$GTK_CONFIG"; then
24810 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24811 echo "${ECHO_T}$GTK_CONFIG" >&6
24812 else
24813 echo "$as_me:$LINENO: result: no" >&5
24814 echo "${ECHO_T}no" >&6
24815 fi
24816
24817 min_gtk_version=1.2.3
24818 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24819 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24820 no_gtk=""
24821 if test "$GTK_CONFIG" = "no" ; then
24822 no_gtk=yes
24823 else
24824 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24825 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24826 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24827 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24828 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24829 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24830 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24832 if test "x$enable_gtktest" = "xyes" ; then
24833 ac_save_CFLAGS="$CFLAGS"
24834 ac_save_LIBS="$LIBS"
24835 CFLAGS="$CFLAGS $GTK_CFLAGS"
24836 LIBS="$GTK_LIBS $LIBS"
24837 rm -f conf.gtktest
24838 if test "$cross_compiling" = yes; then
24839 echo $ac_n "cross compiling; assumed OK... $ac_c"
24840 else
24841 cat >conftest.$ac_ext <<_ACEOF
24842 /* confdefs.h. */
24843 _ACEOF
24844 cat confdefs.h >>conftest.$ac_ext
24845 cat >>conftest.$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24847
24848 #include <gtk/gtk.h>
24849 #include <stdio.h>
24850 #include <stdlib.h>
24851
24852 int
24853 main ()
24854 {
24855 int major, minor, micro;
24856 char *tmp_version;
24857
24858 system ("touch conf.gtktest");
24859
24860 /* HP/UX 9 (%@#!) writes to sscanf strings */
24861 tmp_version = g_strdup("$min_gtk_version");
24862 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24863 printf("%s, bad version string\n", "$min_gtk_version");
24864 exit(1);
24865 }
24866
24867 if ((gtk_major_version != $gtk_config_major_version) ||
24868 (gtk_minor_version != $gtk_config_minor_version) ||
24869 (gtk_micro_version != $gtk_config_micro_version))
24870 {
24871 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24872 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24873 gtk_major_version, gtk_minor_version, gtk_micro_version);
24874 printf ("*** was found! If gtk-config was correct, then it is best\n");
24875 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24876 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24877 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24878 printf("*** required on your system.\n");
24879 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24880 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24881 printf("*** before re-running configure\n");
24882 }
24883 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24884 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24885 (gtk_minor_version != GTK_MINOR_VERSION) ||
24886 (gtk_micro_version != GTK_MICRO_VERSION))
24887 {
24888 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24889 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24890 printf("*** library (version %d.%d.%d)\n",
24891 gtk_major_version, gtk_minor_version, gtk_micro_version);
24892 }
24893 #endif /* defined (GTK_MAJOR_VERSION) ... */
24894 else
24895 {
24896 if ((gtk_major_version > major) ||
24897 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24898 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24899 {
24900 return 0;
24901 }
24902 else
24903 {
24904 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24905 gtk_major_version, gtk_minor_version, gtk_micro_version);
24906 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24907 major, minor, micro);
24908 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24909 printf("***\n");
24910 printf("*** If you have already installed a sufficiently new version, this error\n");
24911 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24912 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24913 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24914 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24915 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24916 printf("*** so that the correct libraries are found at run-time))\n");
24917 }
24918 }
24919 return 1;
24920 }
24921
24922 _ACEOF
24923 rm -f conftest$ac_exeext
24924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24925 (eval $ac_link) 2>&5
24926 ac_status=$?
24927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24930 (eval $ac_try) 2>&5
24931 ac_status=$?
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); }; }; then
24934 :
24935 else
24936 echo "$as_me: program exited with status $ac_status" >&5
24937 echo "$as_me: failed program was:" >&5
24938 sed 's/^/| /' conftest.$ac_ext >&5
24939
24940 ( exit $ac_status )
24941 no_gtk=yes
24942 fi
24943 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24944 fi
24945 CFLAGS="$ac_save_CFLAGS"
24946 LIBS="$ac_save_LIBS"
24947 fi
24948 fi
24949 if test "x$no_gtk" = x ; then
24950 echo "$as_me:$LINENO: result: yes" >&5
24951 echo "${ECHO_T}yes" >&6
24952 wx_cv_lib_gtk=1.2.3
24953 else
24954 echo "$as_me:$LINENO: result: no" >&5
24955 echo "${ECHO_T}no" >&6
24956 if test "$GTK_CONFIG" = "no" ; then
24957 echo "*** The gtk-config script installed by GTK could not be found"
24958 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24959 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24960 echo "*** full path to gtk-config."
24961 else
24962 if test -f conf.gtktest ; then
24963 :
24964 else
24965 echo "*** Could not run GTK test program, checking why..."
24966 CFLAGS="$CFLAGS $GTK_CFLAGS"
24967 LIBS="$LIBS $GTK_LIBS"
24968 cat >conftest.$ac_ext <<_ACEOF
24969 /* confdefs.h. */
24970 _ACEOF
24971 cat confdefs.h >>conftest.$ac_ext
24972 cat >>conftest.$ac_ext <<_ACEOF
24973 /* end confdefs.h. */
24974
24975 #include <gtk/gtk.h>
24976 #include <stdio.h>
24977
24978 int
24979 main ()
24980 {
24981 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24982 ;
24983 return 0;
24984 }
24985 _ACEOF
24986 rm -f conftest.$ac_objext conftest$ac_exeext
24987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24988 (eval $ac_link) 2>conftest.er1
24989 ac_status=$?
24990 grep -v '^ *+' conftest.er1 >conftest.err
24991 rm -f conftest.er1
24992 cat conftest.err >&5
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); } &&
24995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24997 (eval $ac_try) 2>&5
24998 ac_status=$?
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); }; } &&
25001 { ac_try='test -s conftest$ac_exeext'
25002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25003 (eval $ac_try) 2>&5
25004 ac_status=$?
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); }; }; then
25007 echo "*** The test program compiled, but did not run. This usually means"
25008 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25009 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25010 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25011 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25012 echo "*** is required on your system"
25013 echo "***"
25014 echo "*** If you have an old version installed, it is best to remove it, although"
25015 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25016 echo "***"
25017 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25018 echo "*** came with the system with the command"
25019 echo "***"
25020 echo "*** rpm --erase --nodeps gtk gtk-devel"
25021 else
25022 echo "$as_me: failed program was:" >&5
25023 sed 's/^/| /' conftest.$ac_ext >&5
25024
25025 echo "*** The test program failed to compile or link. See the file config.log for the"
25026 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25027 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25028 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25029 fi
25030 rm -f conftest.err conftest.$ac_objext \
25031 conftest$ac_exeext conftest.$ac_ext
25032 CFLAGS="$ac_save_CFLAGS"
25033 LIBS="$ac_save_LIBS"
25034 fi
25035 fi
25036 GTK_CFLAGS=""
25037 GTK_LIBS=""
25038 :
25039 fi
25040
25041
25042 rm -f conf.gtktest
25043
25044 fi
25045 fi
25046
25047 if test -z "$wx_cv_lib_gtk"; then
25048 wx_cv_lib_gtk=none
25049 else
25050 wx_cv_cflags_gtk=$GTK_CFLAGS
25051 wx_cv_libs_gtk=$GTK_LIBS
25052 fi
25053
25054
25055 fi
25056
25057
25058 if test "$gtk_version_cached" = 1; then
25059 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25060 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25061 fi
25062
25063 case "$wx_cv_lib_gtk" in
25064 2.0) WXGTK20=1
25065 TOOLKIT_VERSION=2
25066 ;;
25067 1.2.7) WXGTK127=1
25068 WXGTK12=1
25069 ;;
25070 1.2.3) WXGTK12=1
25071 ;;
25072 *) { { echo "$as_me:$LINENO: error:
25073 Please check that gtk-config is in path, the directory
25074 where GTK+ libraries are installed (returned by
25075 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25076 equivalent variable and GTK+ is version 1.2.3 or above.
25077 " >&5
25078 echo "$as_me: error:
25079 Please check that gtk-config is in path, the directory
25080 where GTK+ libraries are installed (returned by
25081 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25082 equivalent variable and GTK+ is version 1.2.3 or above.
25083 " >&2;}
25084 { (exit 1); exit 1; }; }
25085 ;;
25086 esac
25087
25088 if test "$WXGTK20" = 1; then
25089 save_CFLAGS="$CFLAGS"
25090 save_LIBS="$LIBS"
25091 CFLAGS="$CFLAGS $GTK_CFLAGS"
25092 LIBS="$LIBS $GTK_LIBS"
25093
25094
25095 for ac_func in pango_font_family_is_monospace
25096 do
25097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25098 echo "$as_me:$LINENO: checking for $ac_func" >&5
25099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25100 if eval "test \"\${$as_ac_var+set}\" = set"; then
25101 echo $ECHO_N "(cached) $ECHO_C" >&6
25102 else
25103 cat >conftest.$ac_ext <<_ACEOF
25104 /* confdefs.h. */
25105 _ACEOF
25106 cat confdefs.h >>conftest.$ac_ext
25107 cat >>conftest.$ac_ext <<_ACEOF
25108 /* end confdefs.h. */
25109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25111 #define $ac_func innocuous_$ac_func
25112
25113 /* System header to define __stub macros and hopefully few prototypes,
25114 which can conflict with char $ac_func (); below.
25115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25116 <limits.h> exists even on freestanding compilers. */
25117
25118 #ifdef __STDC__
25119 # include <limits.h>
25120 #else
25121 # include <assert.h>
25122 #endif
25123
25124 #undef $ac_func
25125
25126 /* Override any gcc2 internal prototype to avoid an error. */
25127 #ifdef __cplusplus
25128 extern "C"
25129 {
25130 #endif
25131 /* We use char because int might match the return type of a gcc2
25132 builtin and then its argument prototype would still apply. */
25133 char $ac_func ();
25134 /* The GNU C library defines this for functions which it implements
25135 to always fail with ENOSYS. Some functions are actually named
25136 something starting with __ and the normal name is an alias. */
25137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25138 choke me
25139 #else
25140 char (*f) () = $ac_func;
25141 #endif
25142 #ifdef __cplusplus
25143 }
25144 #endif
25145
25146 int
25147 main ()
25148 {
25149 return f != $ac_func;
25150 ;
25151 return 0;
25152 }
25153 _ACEOF
25154 rm -f conftest.$ac_objext conftest$ac_exeext
25155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25156 (eval $ac_link) 2>conftest.er1
25157 ac_status=$?
25158 grep -v '^ *+' conftest.er1 >conftest.err
25159 rm -f conftest.er1
25160 cat conftest.err >&5
25161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25162 (exit $ac_status); } &&
25163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25165 (eval $ac_try) 2>&5
25166 ac_status=$?
25167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25168 (exit $ac_status); }; } &&
25169 { ac_try='test -s conftest$ac_exeext'
25170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25171 (eval $ac_try) 2>&5
25172 ac_status=$?
25173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25174 (exit $ac_status); }; }; then
25175 eval "$as_ac_var=yes"
25176 else
25177 echo "$as_me: failed program was:" >&5
25178 sed 's/^/| /' conftest.$ac_ext >&5
25179
25180 eval "$as_ac_var=no"
25181 fi
25182 rm -f conftest.err conftest.$ac_objext \
25183 conftest$ac_exeext conftest.$ac_ext
25184 fi
25185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25187 if test `eval echo '${'$as_ac_var'}'` = yes; then
25188 cat >>confdefs.h <<_ACEOF
25189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25190 _ACEOF
25191
25192 fi
25193 done
25194
25195
25196 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25197 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
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
25207 int
25208 main ()
25209 {
25210
25211 #if !GTK_CHECK_VERSION(2,4,0)
25212 #error "Not GTK+ 2.4"
25213 #endif
25214
25215 ;
25216 return 0;
25217 }
25218 _ACEOF
25219 rm -f conftest.$ac_objext
25220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25221 (eval $ac_compile) 2>conftest.er1
25222 ac_status=$?
25223 grep -v '^ *+' conftest.er1 >conftest.err
25224 rm -f conftest.er1
25225 cat conftest.err >&5
25226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227 (exit $ac_status); } &&
25228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25230 (eval $ac_try) 2>&5
25231 ac_status=$?
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); }; } &&
25234 { ac_try='test -s conftest.$ac_objext'
25235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25236 (eval $ac_try) 2>&5
25237 ac_status=$?
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); }; }; then
25240
25241 cat >>confdefs.h <<\_ACEOF
25242 #define __WXGTK24__ 1
25243 _ACEOF
25244
25245 echo "$as_me:$LINENO: result: yes" >&5
25246 echo "${ECHO_T}yes" >&6
25247
25248 else
25249 echo "$as_me: failed program was:" >&5
25250 sed 's/^/| /' conftest.$ac_ext >&5
25251
25252
25253 echo "$as_me:$LINENO: result: no" >&5
25254 echo "${ECHO_T}no" >&6
25255
25256 fi
25257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25258
25259 CFLAGS="$save_CFLAGS"
25260 LIBS="$save_LIBS"
25261 else
25262 if test "$wxUSE_UNICODE" = "yes"; then
25263 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25264 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25265 wxUSE_UNICODE=no
25266 fi
25267 fi
25268
25269 if test "$USE_DARWIN" != 1; then
25270
25271 for ac_func in poll
25272 do
25273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25274 echo "$as_me:$LINENO: checking for $ac_func" >&5
25275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25276 if eval "test \"\${$as_ac_var+set}\" = set"; then
25277 echo $ECHO_N "(cached) $ECHO_C" >&6
25278 else
25279 cat >conftest.$ac_ext <<_ACEOF
25280 /* confdefs.h. */
25281 _ACEOF
25282 cat confdefs.h >>conftest.$ac_ext
25283 cat >>conftest.$ac_ext <<_ACEOF
25284 /* end confdefs.h. */
25285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25287 #define $ac_func innocuous_$ac_func
25288
25289 /* System header to define __stub macros and hopefully few prototypes,
25290 which can conflict with char $ac_func (); below.
25291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25292 <limits.h> exists even on freestanding compilers. */
25293
25294 #ifdef __STDC__
25295 # include <limits.h>
25296 #else
25297 # include <assert.h>
25298 #endif
25299
25300 #undef $ac_func
25301
25302 /* Override any gcc2 internal prototype to avoid an error. */
25303 #ifdef __cplusplus
25304 extern "C"
25305 {
25306 #endif
25307 /* We use char because int might match the return type of a gcc2
25308 builtin and then its argument prototype would still apply. */
25309 char $ac_func ();
25310 /* The GNU C library defines this for functions which it implements
25311 to always fail with ENOSYS. Some functions are actually named
25312 something starting with __ and the normal name is an alias. */
25313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25314 choke me
25315 #else
25316 char (*f) () = $ac_func;
25317 #endif
25318 #ifdef __cplusplus
25319 }
25320 #endif
25321
25322 int
25323 main ()
25324 {
25325 return f != $ac_func;
25326 ;
25327 return 0;
25328 }
25329 _ACEOF
25330 rm -f conftest.$ac_objext conftest$ac_exeext
25331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25332 (eval $ac_link) 2>conftest.er1
25333 ac_status=$?
25334 grep -v '^ *+' conftest.er1 >conftest.err
25335 rm -f conftest.er1
25336 cat conftest.err >&5
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); } &&
25339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25341 (eval $ac_try) 2>&5
25342 ac_status=$?
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); }; } &&
25345 { ac_try='test -s conftest$ac_exeext'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25348 ac_status=$?
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; }; then
25351 eval "$as_ac_var=yes"
25352 else
25353 echo "$as_me: failed program was:" >&5
25354 sed 's/^/| /' conftest.$ac_ext >&5
25355
25356 eval "$as_ac_var=no"
25357 fi
25358 rm -f conftest.err conftest.$ac_objext \
25359 conftest$ac_exeext conftest.$ac_ext
25360 fi
25361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25363 if test `eval echo '${'$as_ac_var'}'` = yes; then
25364 cat >>confdefs.h <<_ACEOF
25365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25366 _ACEOF
25367
25368 fi
25369 done
25370
25371 fi
25372
25373 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
25374 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25375
25376 AFMINSTALL=afminstall
25377 TOOLKIT=GTK
25378 GUIDIST=GTK_DIST
25379
25380 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25381 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25382 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25384 else
25385 ac_check_lib_save_LIBS=$LIBS
25386 LIBS="-lgdk $LIBS"
25387 cat >conftest.$ac_ext <<_ACEOF
25388 /* confdefs.h. */
25389 _ACEOF
25390 cat confdefs.h >>conftest.$ac_ext
25391 cat >>conftest.$ac_ext <<_ACEOF
25392 /* end confdefs.h. */
25393
25394 /* Override any gcc2 internal prototype to avoid an error. */
25395 #ifdef __cplusplus
25396 extern "C"
25397 #endif
25398 /* We use char because int might match the return type of a gcc2
25399 builtin and then its argument prototype would still apply. */
25400 char gdk_im_open ();
25401 int
25402 main ()
25403 {
25404 gdk_im_open ();
25405 ;
25406 return 0;
25407 }
25408 _ACEOF
25409 rm -f conftest.$ac_objext conftest$ac_exeext
25410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25411 (eval $ac_link) 2>conftest.er1
25412 ac_status=$?
25413 grep -v '^ *+' conftest.er1 >conftest.err
25414 rm -f conftest.er1
25415 cat conftest.err >&5
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); } &&
25418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25420 (eval $ac_try) 2>&5
25421 ac_status=$?
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); }; } &&
25424 { ac_try='test -s conftest$ac_exeext'
25425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25426 (eval $ac_try) 2>&5
25427 ac_status=$?
25428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25429 (exit $ac_status); }; }; then
25430 ac_cv_lib_gdk_gdk_im_open=yes
25431 else
25432 echo "$as_me: failed program was:" >&5
25433 sed 's/^/| /' conftest.$ac_ext >&5
25434
25435 ac_cv_lib_gdk_gdk_im_open=no
25436 fi
25437 rm -f conftest.err conftest.$ac_objext \
25438 conftest$ac_exeext conftest.$ac_ext
25439 LIBS=$ac_check_lib_save_LIBS
25440 fi
25441 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25442 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25443 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25444 cat >>confdefs.h <<\_ACEOF
25445 #define HAVE_XIM 1
25446 _ACEOF
25447
25448 fi
25449
25450
25451
25452 if test "$wxUSE_GPE" = "yes"; then
25453 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25454 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25455
25456 ac_find_libraries=
25457 for ac_dir in $SEARCH_LIB /usr/lib;
25458 do
25459 for ac_extension in a so sl dylib; do
25460 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25461 ac_find_libraries=$ac_dir
25462 break 2
25463 fi
25464 done
25465 done
25466
25467 if test "$ac_find_libraries" != "" ; then
25468
25469 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25470 result=$?
25471 if test $result = 0; then
25472 ac_path_to_link=""
25473 else
25474 ac_path_to_link=" -L$ac_find_libraries"
25475 fi
25476
25477 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25478 WXGPE=1
25479 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25480 echo "${ECHO_T}found at $ac_find_libraries" >&6
25481 else
25482 echo "$as_me:$LINENO: result: not found" >&5
25483 echo "${ECHO_T}not found" >&6
25484 fi
25485
25486 fi
25487 fi
25488
25489 if test "$wxUSE_MGL" = 1; then
25490 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25491 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25492 if test "x$MGL_ROOT" = x ; then
25493 echo "$as_me:$LINENO: result: not found" >&5
25494 echo "${ECHO_T}not found" >&6
25495 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25496 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25497 { (exit 1); exit 1; }; }
25498 else
25499 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25500 echo "${ECHO_T}$MGL_ROOT" >&6
25501 fi
25502
25503 echo "$as_me:$LINENO: checking for libmgl location" >&5
25504 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25505 case "${host}" in
25506 *-*-linux* )
25507 if test "x$wxUSE_SHARED" = xyes ; then
25508 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25509 else
25510 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25511 fi
25512 ;;
25513 *-pc-msdosdjgpp )
25514 mgl_os_candidates="dos32/dj2"
25515 ;;
25516 *)
25517 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25518 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25519 { (exit 1); exit 1; }; }
25520 esac
25521
25522 mgl_lib_type=""
25523 mgl_os=""
25524
25525 for mgl_os_i in $mgl_os_candidates ; do
25526 if test "x$mgl_os" = x ; then
25527 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25528 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
25529 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
25530 mgl_lib_type=debug
25531 mgl_os=$mgl_os_i
25532 fi
25533 fi
25534 if test "x$mgl_lib_type" = x ; then
25535 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
25536 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
25537 mgl_lib_type=release
25538 mgl_os=$mgl_os_i
25539 fi
25540 fi
25541 fi
25542 done
25543
25544 if test "x$mgl_os" = x ; then
25545 echo "$as_me:$LINENO: result: not found" >&5
25546 echo "${ECHO_T}not found" >&6
25547 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25548 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25549 { (exit 1); exit 1; }; }
25550 fi
25551 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25552 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25553
25554 wxUSE_UNIVERSAL="yes"
25555
25556 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
25557 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25558
25559 AFMINSTALL=afminstall
25560 TOOLKIT=MGL
25561 GUIDIST=MGL_DIST
25562 fi
25563
25564 if test "$wxUSE_MICROWIN" = 1; then
25565 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25566 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25567 if test "x$MICROWINDOWS" = x ; then
25568 echo "$as_me:$LINENO: result: not found" >&5
25569 echo "${ECHO_T}not found" >&6
25570 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25571 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25572 { (exit 1); exit 1; }; }
25573 else
25574 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25575 echo "${ECHO_T}$MICROWINDOWS" >&6
25576 fi
25577
25578 if test -f $MICROWINDOWS/lib/libmwin.a; then
25579 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25580 echo "${ECHO_T}MicroWindows' libraries found." >&6
25581 else
25582 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25583 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25584 { (exit 1); exit 1; }; }
25585 fi
25586
25587 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
25588 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25589
25590 wxUSE_UNIVERSAL="yes"
25591
25592 AFMINSTALL=afminstall
25593 TOOLKIT=MICROWIN
25594 GUIDIST=MICROWIN_DIST
25595
25596 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25597 fi
25598
25599 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25600
25601 if test "x$ac_path_x_has_been_run" != xyes; then
25602 echo "$as_me:$LINENO: checking for X" >&5
25603 echo $ECHO_N "checking for X... $ECHO_C" >&6
25604
25605 ac_path_x_has_been_run=yes
25606
25607 # Check whether --with-x or --without-x was given.
25608 if test "${with_x+set}" = set; then
25609 withval="$with_x"
25610
25611 fi;
25612 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25613 if test "x$with_x" = xno; then
25614 # The user explicitly disabled X.
25615 have_x=disabled
25616 else
25617 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
25618 # Both variables are already set.
25619 have_x=yes
25620 else
25621 if test "${ac_cv_have_x+set}" = set; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25623 else
25624 # One or both of the vars are not set, and there is no cached value.
25625 ac_x_includes=no ac_x_libraries=no
25626 rm -fr conftest.dir
25627 if mkdir conftest.dir; then
25628 cd conftest.dir
25629 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25630 cat >Imakefile <<'_ACEOF'
25631 acfindx:
25632 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25633 _ACEOF
25634 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
25635 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25636 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25637 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25638 for ac_extension in a so sl; do
25639 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
25640 test -f $ac_im_libdir/libX11.$ac_extension; then
25641 ac_im_usrlibdir=$ac_im_libdir; break
25642 fi
25643 done
25644 # Screen out bogus values from the imake configuration. They are
25645 # bogus both because they are the default anyway, and because
25646 # using them would break gcc on systems where it needs fixed includes.
25647 case $ac_im_incroot in
25648 /usr/include) ;;
25649 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25650 esac
25651 case $ac_im_usrlibdir in
25652 /usr/lib | /lib) ;;
25653 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25654 esac
25655 fi
25656 cd ..
25657 rm -fr conftest.dir
25658 fi
25659
25660 # Standard set of common directories for X headers.
25661 # Check X11 before X11Rn because it is often a symlink to the current release.
25662 ac_x_header_dirs='
25663 /usr/X11/include
25664 /usr/X11R6/include
25665 /usr/X11R5/include
25666 /usr/X11R4/include
25667
25668 /usr/include/X11
25669 /usr/include/X11R6
25670 /usr/include/X11R5
25671 /usr/include/X11R4
25672
25673 /usr/local/X11/include
25674 /usr/local/X11R6/include
25675 /usr/local/X11R5/include
25676 /usr/local/X11R4/include
25677
25678 /usr/local/include/X11
25679 /usr/local/include/X11R6
25680 /usr/local/include/X11R5
25681 /usr/local/include/X11R4
25682
25683 /usr/X386/include
25684 /usr/x386/include
25685 /usr/XFree86/include/X11
25686
25687 /usr/include
25688 /usr/local/include
25689 /usr/unsupported/include
25690 /usr/athena/include
25691 /usr/local/x11r5/include
25692 /usr/lpp/Xamples/include
25693
25694 /usr/openwin/include
25695 /usr/openwin/share/include'
25696
25697 if test "$ac_x_includes" = no; then
25698 # Guess where to find include files, by looking for a specified header file.
25699 # First, try using that file with no special directory specified.
25700 cat >conftest.$ac_ext <<_ACEOF
25701 /* confdefs.h. */
25702 _ACEOF
25703 cat confdefs.h >>conftest.$ac_ext
25704 cat >>conftest.$ac_ext <<_ACEOF
25705 /* end confdefs.h. */
25706 #include <X11/Intrinsic.h>
25707 _ACEOF
25708 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25709 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25710 ac_status=$?
25711 grep -v '^ *+' conftest.er1 >conftest.err
25712 rm -f conftest.er1
25713 cat conftest.err >&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); } >/dev/null; then
25716 if test -s conftest.err; then
25717 ac_cpp_err=$ac_c_preproc_warn_flag
25718 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25719 else
25720 ac_cpp_err=
25721 fi
25722 else
25723 ac_cpp_err=yes
25724 fi
25725 if test -z "$ac_cpp_err"; then
25726 # We can compile using X headers with no special include directory.
25727 ac_x_includes=
25728 else
25729 echo "$as_me: failed program was:" >&5
25730 sed 's/^/| /' conftest.$ac_ext >&5
25731
25732 for ac_dir in $ac_x_header_dirs; do
25733 if test -r "$ac_dir/X11/Intrinsic.h"; then
25734 ac_x_includes=$ac_dir
25735 break
25736 fi
25737 done
25738 fi
25739 rm -f conftest.err conftest.$ac_ext
25740 fi # $ac_x_includes = no
25741
25742 if test "$ac_x_libraries" = no; then
25743 # Check for the libraries.
25744 # See if we find them without any special options.
25745 # Don't add to $LIBS permanently.
25746 ac_save_LIBS=$LIBS
25747 LIBS="-lXt $LIBS"
25748 cat >conftest.$ac_ext <<_ACEOF
25749 /* confdefs.h. */
25750 _ACEOF
25751 cat confdefs.h >>conftest.$ac_ext
25752 cat >>conftest.$ac_ext <<_ACEOF
25753 /* end confdefs.h. */
25754 #include <X11/Intrinsic.h>
25755 int
25756 main ()
25757 {
25758 XtMalloc (0)
25759 ;
25760 return 0;
25761 }
25762 _ACEOF
25763 rm -f conftest.$ac_objext conftest$ac_exeext
25764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25765 (eval $ac_link) 2>conftest.er1
25766 ac_status=$?
25767 grep -v '^ *+' conftest.er1 >conftest.err
25768 rm -f conftest.er1
25769 cat conftest.err >&5
25770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771 (exit $ac_status); } &&
25772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25774 (eval $ac_try) 2>&5
25775 ac_status=$?
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); }; } &&
25778 { ac_try='test -s conftest$ac_exeext'
25779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780 (eval $ac_try) 2>&5
25781 ac_status=$?
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); }; }; then
25784 LIBS=$ac_save_LIBS
25785 # We can link X programs with no special library path.
25786 ac_x_libraries=
25787 else
25788 echo "$as_me: failed program was:" >&5
25789 sed 's/^/| /' conftest.$ac_ext >&5
25790
25791 LIBS=$ac_save_LIBS
25792 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25793 do
25794 # Don't even attempt the hair of trying to link an X program!
25795 for ac_extension in a so sl; do
25796 if test -r $ac_dir/libXt.$ac_extension; then
25797 ac_x_libraries=$ac_dir
25798 break 2
25799 fi
25800 done
25801 done
25802 fi
25803 rm -f conftest.err conftest.$ac_objext \
25804 conftest$ac_exeext conftest.$ac_ext
25805 fi # $ac_x_libraries = no
25806
25807 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
25808 # Didn't find X anywhere. Cache the known absence of X.
25809 ac_cv_have_x="have_x=no"
25810 else
25811 # Record where we found X for the cache.
25812 ac_cv_have_x="have_x=yes \
25813 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25814 fi
25815 fi
25816
25817 fi
25818 eval "$ac_cv_have_x"
25819 fi # $with_x != no
25820
25821 if test "$have_x" != yes; then
25822 echo "$as_me:$LINENO: result: $have_x" >&5
25823 echo "${ECHO_T}$have_x" >&6
25824 no_x=yes
25825 else
25826 # If each of the values was on the command line, it overrides each guess.
25827 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25828 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25829 # Update the cache value to reflect the command line values.
25830 ac_cv_have_x="have_x=yes \
25831 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25832 # It might be that x_includes is empty (headers are found in the
25833 # standard search path. Then output the corresponding message
25834 ac_out_x_includes=$x_includes
25835 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
25836 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
25837 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
25838 fi
25839
25840 fi
25841 if test "$no_x" = yes; then
25842 # Not all programs may use this symbol, but it does not hurt to define it.
25843
25844 cat >>confdefs.h <<\_ACEOF
25845 #define X_DISPLAY_MISSING 1
25846 _ACEOF
25847
25848 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25849 else
25850 if test -n "$x_includes"; then
25851 X_CFLAGS="$X_CFLAGS -I$x_includes"
25852 fi
25853
25854 # It would also be nice to do this for all -L options, not just this one.
25855 if test -n "$x_libraries"; then
25856 X_LIBS="$X_LIBS -L$x_libraries"
25857 # For Solaris; some versions of Sun CC require a space after -R and
25858 # others require no space. Words are not sufficient . . . .
25859 case `(uname -sr) 2>/dev/null` in
25860 "SunOS 5"*)
25861 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25862 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25863 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25864 cat >conftest.$ac_ext <<_ACEOF
25865 /* confdefs.h. */
25866 _ACEOF
25867 cat confdefs.h >>conftest.$ac_ext
25868 cat >>conftest.$ac_ext <<_ACEOF
25869 /* end confdefs.h. */
25870
25871 int
25872 main ()
25873 {
25874
25875 ;
25876 return 0;
25877 }
25878 _ACEOF
25879 rm -f conftest.$ac_objext conftest$ac_exeext
25880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25881 (eval $ac_link) 2>conftest.er1
25882 ac_status=$?
25883 grep -v '^ *+' conftest.er1 >conftest.err
25884 rm -f conftest.er1
25885 cat conftest.err >&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); } &&
25888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890 (eval $ac_try) 2>&5
25891 ac_status=$?
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); }; } &&
25894 { ac_try='test -s conftest$ac_exeext'
25895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25896 (eval $ac_try) 2>&5
25897 ac_status=$?
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); }; }; then
25900 ac_R_nospace=yes
25901 else
25902 echo "$as_me: failed program was:" >&5
25903 sed 's/^/| /' conftest.$ac_ext >&5
25904
25905 ac_R_nospace=no
25906 fi
25907 rm -f conftest.err conftest.$ac_objext \
25908 conftest$ac_exeext conftest.$ac_ext
25909 if test $ac_R_nospace = yes; then
25910 echo "$as_me:$LINENO: result: no" >&5
25911 echo "${ECHO_T}no" >&6
25912 X_LIBS="$X_LIBS -R$x_libraries"
25913 else
25914 LIBS="$ac_xsave_LIBS -R $x_libraries"
25915 cat >conftest.$ac_ext <<_ACEOF
25916 /* confdefs.h. */
25917 _ACEOF
25918 cat confdefs.h >>conftest.$ac_ext
25919 cat >>conftest.$ac_ext <<_ACEOF
25920 /* end confdefs.h. */
25921
25922 int
25923 main ()
25924 {
25925
25926 ;
25927 return 0;
25928 }
25929 _ACEOF
25930 rm -f conftest.$ac_objext conftest$ac_exeext
25931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25932 (eval $ac_link) 2>conftest.er1
25933 ac_status=$?
25934 grep -v '^ *+' conftest.er1 >conftest.err
25935 rm -f conftest.er1
25936 cat conftest.err >&5
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); } &&
25939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25941 (eval $ac_try) 2>&5
25942 ac_status=$?
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); }; } &&
25945 { ac_try='test -s conftest$ac_exeext'
25946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25947 (eval $ac_try) 2>&5
25948 ac_status=$?
25949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950 (exit $ac_status); }; }; then
25951 ac_R_space=yes
25952 else
25953 echo "$as_me: failed program was:" >&5
25954 sed 's/^/| /' conftest.$ac_ext >&5
25955
25956 ac_R_space=no
25957 fi
25958 rm -f conftest.err conftest.$ac_objext \
25959 conftest$ac_exeext conftest.$ac_ext
25960 if test $ac_R_space = yes; then
25961 echo "$as_me:$LINENO: result: yes" >&5
25962 echo "${ECHO_T}yes" >&6
25963 X_LIBS="$X_LIBS -R $x_libraries"
25964 else
25965 echo "$as_me:$LINENO: result: neither works" >&5
25966 echo "${ECHO_T}neither works" >&6
25967 fi
25968 fi
25969 LIBS=$ac_xsave_LIBS
25970 esac
25971 fi
25972
25973 # Check for system-dependent libraries X programs must link with.
25974 # Do this before checking for the system-independent R6 libraries
25975 # (-lICE), since we may need -lsocket or whatever for X linking.
25976
25977 if test "$ISC" = yes; then
25978 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25979 else
25980 # Martyn Johnson says this is needed for Ultrix, if the X
25981 # libraries were built with DECnet support. And Karl Berry says
25982 # the Alpha needs dnet_stub (dnet does not exist).
25983 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25984 cat >conftest.$ac_ext <<_ACEOF
25985 /* confdefs.h. */
25986 _ACEOF
25987 cat confdefs.h >>conftest.$ac_ext
25988 cat >>conftest.$ac_ext <<_ACEOF
25989 /* end confdefs.h. */
25990
25991 /* Override any gcc2 internal prototype to avoid an error. */
25992 #ifdef __cplusplus
25993 extern "C"
25994 #endif
25995 /* We use char because int might match the return type of a gcc2
25996 builtin and then its argument prototype would still apply. */
25997 char XOpenDisplay ();
25998 int
25999 main ()
26000 {
26001 XOpenDisplay ();
26002 ;
26003 return 0;
26004 }
26005 _ACEOF
26006 rm -f conftest.$ac_objext conftest$ac_exeext
26007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26008 (eval $ac_link) 2>conftest.er1
26009 ac_status=$?
26010 grep -v '^ *+' conftest.er1 >conftest.err
26011 rm -f conftest.er1
26012 cat conftest.err >&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } &&
26015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26017 (eval $ac_try) 2>&5
26018 ac_status=$?
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); }; } &&
26021 { ac_try='test -s conftest$ac_exeext'
26022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26023 (eval $ac_try) 2>&5
26024 ac_status=$?
26025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26026 (exit $ac_status); }; }; then
26027 :
26028 else
26029 echo "$as_me: failed program was:" >&5
26030 sed 's/^/| /' conftest.$ac_ext >&5
26031
26032 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26033 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26034 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26035 echo $ECHO_N "(cached) $ECHO_C" >&6
26036 else
26037 ac_check_lib_save_LIBS=$LIBS
26038 LIBS="-ldnet $LIBS"
26039 cat >conftest.$ac_ext <<_ACEOF
26040 /* confdefs.h. */
26041 _ACEOF
26042 cat confdefs.h >>conftest.$ac_ext
26043 cat >>conftest.$ac_ext <<_ACEOF
26044 /* end confdefs.h. */
26045
26046 /* Override any gcc2 internal prototype to avoid an error. */
26047 #ifdef __cplusplus
26048 extern "C"
26049 #endif
26050 /* We use char because int might match the return type of a gcc2
26051 builtin and then its argument prototype would still apply. */
26052 char dnet_ntoa ();
26053 int
26054 main ()
26055 {
26056 dnet_ntoa ();
26057 ;
26058 return 0;
26059 }
26060 _ACEOF
26061 rm -f conftest.$ac_objext conftest$ac_exeext
26062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26063 (eval $ac_link) 2>conftest.er1
26064 ac_status=$?
26065 grep -v '^ *+' conftest.er1 >conftest.err
26066 rm -f conftest.er1
26067 cat conftest.err >&5
26068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069 (exit $ac_status); } &&
26070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26072 (eval $ac_try) 2>&5
26073 ac_status=$?
26074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26075 (exit $ac_status); }; } &&
26076 { ac_try='test -s conftest$ac_exeext'
26077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26078 (eval $ac_try) 2>&5
26079 ac_status=$?
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); }; }; then
26082 ac_cv_lib_dnet_dnet_ntoa=yes
26083 else
26084 echo "$as_me: failed program was:" >&5
26085 sed 's/^/| /' conftest.$ac_ext >&5
26086
26087 ac_cv_lib_dnet_dnet_ntoa=no
26088 fi
26089 rm -f conftest.err conftest.$ac_objext \
26090 conftest$ac_exeext conftest.$ac_ext
26091 LIBS=$ac_check_lib_save_LIBS
26092 fi
26093 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26094 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26095 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26096 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26097 fi
26098
26099 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26100 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26101 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26102 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26103 echo $ECHO_N "(cached) $ECHO_C" >&6
26104 else
26105 ac_check_lib_save_LIBS=$LIBS
26106 LIBS="-ldnet_stub $LIBS"
26107 cat >conftest.$ac_ext <<_ACEOF
26108 /* confdefs.h. */
26109 _ACEOF
26110 cat confdefs.h >>conftest.$ac_ext
26111 cat >>conftest.$ac_ext <<_ACEOF
26112 /* end confdefs.h. */
26113
26114 /* Override any gcc2 internal prototype to avoid an error. */
26115 #ifdef __cplusplus
26116 extern "C"
26117 #endif
26118 /* We use char because int might match the return type of a gcc2
26119 builtin and then its argument prototype would still apply. */
26120 char dnet_ntoa ();
26121 int
26122 main ()
26123 {
26124 dnet_ntoa ();
26125 ;
26126 return 0;
26127 }
26128 _ACEOF
26129 rm -f conftest.$ac_objext conftest$ac_exeext
26130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26131 (eval $ac_link) 2>conftest.er1
26132 ac_status=$?
26133 grep -v '^ *+' conftest.er1 >conftest.err
26134 rm -f conftest.er1
26135 cat conftest.err >&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); } &&
26138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26140 (eval $ac_try) 2>&5
26141 ac_status=$?
26142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26143 (exit $ac_status); }; } &&
26144 { ac_try='test -s conftest$ac_exeext'
26145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26146 (eval $ac_try) 2>&5
26147 ac_status=$?
26148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26149 (exit $ac_status); }; }; then
26150 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26151 else
26152 echo "$as_me: failed program was:" >&5
26153 sed 's/^/| /' conftest.$ac_ext >&5
26154
26155 ac_cv_lib_dnet_stub_dnet_ntoa=no
26156 fi
26157 rm -f conftest.err conftest.$ac_objext \
26158 conftest$ac_exeext conftest.$ac_ext
26159 LIBS=$ac_check_lib_save_LIBS
26160 fi
26161 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26162 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26163 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26164 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26165 fi
26166
26167 fi
26168 fi
26169 rm -f conftest.err conftest.$ac_objext \
26170 conftest$ac_exeext conftest.$ac_ext
26171 LIBS="$ac_xsave_LIBS"
26172
26173 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26174 # to get the SysV transport functions.
26175 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26176 # needs -lnsl.
26177 # The nsl library prevents programs from opening the X display
26178 # on Irix 5.2, according to T.E. Dickey.
26179 # The functions gethostbyname, getservbyname, and inet_addr are
26180 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26181 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26182 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26183 if test "${ac_cv_func_gethostbyname+set}" = set; then
26184 echo $ECHO_N "(cached) $ECHO_C" >&6
26185 else
26186 cat >conftest.$ac_ext <<_ACEOF
26187 /* confdefs.h. */
26188 _ACEOF
26189 cat confdefs.h >>conftest.$ac_ext
26190 cat >>conftest.$ac_ext <<_ACEOF
26191 /* end confdefs.h. */
26192 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26194 #define gethostbyname innocuous_gethostbyname
26195
26196 /* System header to define __stub macros and hopefully few prototypes,
26197 which can conflict with char gethostbyname (); below.
26198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26199 <limits.h> exists even on freestanding compilers. */
26200
26201 #ifdef __STDC__
26202 # include <limits.h>
26203 #else
26204 # include <assert.h>
26205 #endif
26206
26207 #undef gethostbyname
26208
26209 /* Override any gcc2 internal prototype to avoid an error. */
26210 #ifdef __cplusplus
26211 extern "C"
26212 {
26213 #endif
26214 /* We use char because int might match the return type of a gcc2
26215 builtin and then its argument prototype would still apply. */
26216 char gethostbyname ();
26217 /* The GNU C library defines this for functions which it implements
26218 to always fail with ENOSYS. Some functions are actually named
26219 something starting with __ and the normal name is an alias. */
26220 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26221 choke me
26222 #else
26223 char (*f) () = gethostbyname;
26224 #endif
26225 #ifdef __cplusplus
26226 }
26227 #endif
26228
26229 int
26230 main ()
26231 {
26232 return f != gethostbyname;
26233 ;
26234 return 0;
26235 }
26236 _ACEOF
26237 rm -f conftest.$ac_objext conftest$ac_exeext
26238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26239 (eval $ac_link) 2>conftest.er1
26240 ac_status=$?
26241 grep -v '^ *+' conftest.er1 >conftest.err
26242 rm -f conftest.er1
26243 cat conftest.err >&5
26244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245 (exit $ac_status); } &&
26246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26248 (eval $ac_try) 2>&5
26249 ac_status=$?
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); }; } &&
26252 { ac_try='test -s conftest$ac_exeext'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26255 ac_status=$?
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; }; then
26258 ac_cv_func_gethostbyname=yes
26259 else
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.$ac_ext >&5
26262
26263 ac_cv_func_gethostbyname=no
26264 fi
26265 rm -f conftest.err conftest.$ac_objext \
26266 conftest$ac_exeext conftest.$ac_ext
26267 fi
26268 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26269 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26270
26271 if test $ac_cv_func_gethostbyname = no; then
26272 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26273 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26274 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26275 echo $ECHO_N "(cached) $ECHO_C" >&6
26276 else
26277 ac_check_lib_save_LIBS=$LIBS
26278 LIBS="-lnsl $LIBS"
26279 cat >conftest.$ac_ext <<_ACEOF
26280 /* confdefs.h. */
26281 _ACEOF
26282 cat confdefs.h >>conftest.$ac_ext
26283 cat >>conftest.$ac_ext <<_ACEOF
26284 /* end confdefs.h. */
26285
26286 /* Override any gcc2 internal prototype to avoid an error. */
26287 #ifdef __cplusplus
26288 extern "C"
26289 #endif
26290 /* We use char because int might match the return type of a gcc2
26291 builtin and then its argument prototype would still apply. */
26292 char gethostbyname ();
26293 int
26294 main ()
26295 {
26296 gethostbyname ();
26297 ;
26298 return 0;
26299 }
26300 _ACEOF
26301 rm -f conftest.$ac_objext conftest$ac_exeext
26302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26303 (eval $ac_link) 2>conftest.er1
26304 ac_status=$?
26305 grep -v '^ *+' conftest.er1 >conftest.err
26306 rm -f conftest.er1
26307 cat conftest.err >&5
26308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26309 (exit $ac_status); } &&
26310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
26316 { ac_try='test -s conftest$ac_exeext'
26317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26318 (eval $ac_try) 2>&5
26319 ac_status=$?
26320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321 (exit $ac_status); }; }; then
26322 ac_cv_lib_nsl_gethostbyname=yes
26323 else
26324 echo "$as_me: failed program was:" >&5
26325 sed 's/^/| /' conftest.$ac_ext >&5
26326
26327 ac_cv_lib_nsl_gethostbyname=no
26328 fi
26329 rm -f conftest.err conftest.$ac_objext \
26330 conftest$ac_exeext conftest.$ac_ext
26331 LIBS=$ac_check_lib_save_LIBS
26332 fi
26333 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26334 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26335 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26336 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26337 fi
26338
26339 if test $ac_cv_lib_nsl_gethostbyname = no; then
26340 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26341 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26342 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26343 echo $ECHO_N "(cached) $ECHO_C" >&6
26344 else
26345 ac_check_lib_save_LIBS=$LIBS
26346 LIBS="-lbsd $LIBS"
26347 cat >conftest.$ac_ext <<_ACEOF
26348 /* confdefs.h. */
26349 _ACEOF
26350 cat confdefs.h >>conftest.$ac_ext
26351 cat >>conftest.$ac_ext <<_ACEOF
26352 /* end confdefs.h. */
26353
26354 /* Override any gcc2 internal prototype to avoid an error. */
26355 #ifdef __cplusplus
26356 extern "C"
26357 #endif
26358 /* We use char because int might match the return type of a gcc2
26359 builtin and then its argument prototype would still apply. */
26360 char gethostbyname ();
26361 int
26362 main ()
26363 {
26364 gethostbyname ();
26365 ;
26366 return 0;
26367 }
26368 _ACEOF
26369 rm -f conftest.$ac_objext conftest$ac_exeext
26370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26371 (eval $ac_link) 2>conftest.er1
26372 ac_status=$?
26373 grep -v '^ *+' conftest.er1 >conftest.err
26374 rm -f conftest.er1
26375 cat conftest.err >&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); } &&
26378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
26384 { ac_try='test -s conftest$ac_exeext'
26385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26386 (eval $ac_try) 2>&5
26387 ac_status=$?
26388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26389 (exit $ac_status); }; }; then
26390 ac_cv_lib_bsd_gethostbyname=yes
26391 else
26392 echo "$as_me: failed program was:" >&5
26393 sed 's/^/| /' conftest.$ac_ext >&5
26394
26395 ac_cv_lib_bsd_gethostbyname=no
26396 fi
26397 rm -f conftest.err conftest.$ac_objext \
26398 conftest$ac_exeext conftest.$ac_ext
26399 LIBS=$ac_check_lib_save_LIBS
26400 fi
26401 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26402 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26403 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26404 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26405 fi
26406
26407 fi
26408 fi
26409
26410 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26411 # socket/setsockopt and other routines are undefined under SCO ODT
26412 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26413 # on later versions), says Simon Leinen: it contains gethostby*
26414 # variants that don't use the name server (or something). -lsocket
26415 # must be given before -lnsl if both are needed. We assume that
26416 # if connect needs -lnsl, so does gethostbyname.
26417 echo "$as_me:$LINENO: checking for connect" >&5
26418 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26419 if test "${ac_cv_func_connect+set}" = set; then
26420 echo $ECHO_N "(cached) $ECHO_C" >&6
26421 else
26422 cat >conftest.$ac_ext <<_ACEOF
26423 /* confdefs.h. */
26424 _ACEOF
26425 cat confdefs.h >>conftest.$ac_ext
26426 cat >>conftest.$ac_ext <<_ACEOF
26427 /* end confdefs.h. */
26428 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26430 #define connect innocuous_connect
26431
26432 /* System header to define __stub macros and hopefully few prototypes,
26433 which can conflict with char connect (); below.
26434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26435 <limits.h> exists even on freestanding compilers. */
26436
26437 #ifdef __STDC__
26438 # include <limits.h>
26439 #else
26440 # include <assert.h>
26441 #endif
26442
26443 #undef connect
26444
26445 /* Override any gcc2 internal prototype to avoid an error. */
26446 #ifdef __cplusplus
26447 extern "C"
26448 {
26449 #endif
26450 /* We use char because int might match the return type of a gcc2
26451 builtin and then its argument prototype would still apply. */
26452 char connect ();
26453 /* The GNU C library defines this for functions which it implements
26454 to always fail with ENOSYS. Some functions are actually named
26455 something starting with __ and the normal name is an alias. */
26456 #if defined (__stub_connect) || defined (__stub___connect)
26457 choke me
26458 #else
26459 char (*f) () = connect;
26460 #endif
26461 #ifdef __cplusplus
26462 }
26463 #endif
26464
26465 int
26466 main ()
26467 {
26468 return f != connect;
26469 ;
26470 return 0;
26471 }
26472 _ACEOF
26473 rm -f conftest.$ac_objext conftest$ac_exeext
26474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26475 (eval $ac_link) 2>conftest.er1
26476 ac_status=$?
26477 grep -v '^ *+' conftest.er1 >conftest.err
26478 rm -f conftest.er1
26479 cat conftest.err >&5
26480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 (exit $ac_status); } &&
26482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26484 (eval $ac_try) 2>&5
26485 ac_status=$?
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); }; } &&
26488 { ac_try='test -s conftest$ac_exeext'
26489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26490 (eval $ac_try) 2>&5
26491 ac_status=$?
26492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 (exit $ac_status); }; }; then
26494 ac_cv_func_connect=yes
26495 else
26496 echo "$as_me: failed program was:" >&5
26497 sed 's/^/| /' conftest.$ac_ext >&5
26498
26499 ac_cv_func_connect=no
26500 fi
26501 rm -f conftest.err conftest.$ac_objext \
26502 conftest$ac_exeext conftest.$ac_ext
26503 fi
26504 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26505 echo "${ECHO_T}$ac_cv_func_connect" >&6
26506
26507 if test $ac_cv_func_connect = no; then
26508 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26509 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26510 if test "${ac_cv_lib_socket_connect+set}" = set; then
26511 echo $ECHO_N "(cached) $ECHO_C" >&6
26512 else
26513 ac_check_lib_save_LIBS=$LIBS
26514 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26515 cat >conftest.$ac_ext <<_ACEOF
26516 /* confdefs.h. */
26517 _ACEOF
26518 cat confdefs.h >>conftest.$ac_ext
26519 cat >>conftest.$ac_ext <<_ACEOF
26520 /* end confdefs.h. */
26521
26522 /* Override any gcc2 internal prototype to avoid an error. */
26523 #ifdef __cplusplus
26524 extern "C"
26525 #endif
26526 /* We use char because int might match the return type of a gcc2
26527 builtin and then its argument prototype would still apply. */
26528 char connect ();
26529 int
26530 main ()
26531 {
26532 connect ();
26533 ;
26534 return 0;
26535 }
26536 _ACEOF
26537 rm -f conftest.$ac_objext conftest$ac_exeext
26538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26539 (eval $ac_link) 2>conftest.er1
26540 ac_status=$?
26541 grep -v '^ *+' conftest.er1 >conftest.err
26542 rm -f conftest.er1
26543 cat conftest.err >&5
26544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26545 (exit $ac_status); } &&
26546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26548 (eval $ac_try) 2>&5
26549 ac_status=$?
26550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551 (exit $ac_status); }; } &&
26552 { ac_try='test -s conftest$ac_exeext'
26553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26554 (eval $ac_try) 2>&5
26555 ac_status=$?
26556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26557 (exit $ac_status); }; }; then
26558 ac_cv_lib_socket_connect=yes
26559 else
26560 echo "$as_me: failed program was:" >&5
26561 sed 's/^/| /' conftest.$ac_ext >&5
26562
26563 ac_cv_lib_socket_connect=no
26564 fi
26565 rm -f conftest.err conftest.$ac_objext \
26566 conftest$ac_exeext conftest.$ac_ext
26567 LIBS=$ac_check_lib_save_LIBS
26568 fi
26569 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26570 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26571 if test $ac_cv_lib_socket_connect = yes; then
26572 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26573 fi
26574
26575 fi
26576
26577 # Guillermo Gomez says -lposix is necessary on A/UX.
26578 echo "$as_me:$LINENO: checking for remove" >&5
26579 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26580 if test "${ac_cv_func_remove+set}" = set; then
26581 echo $ECHO_N "(cached) $ECHO_C" >&6
26582 else
26583 cat >conftest.$ac_ext <<_ACEOF
26584 /* confdefs.h. */
26585 _ACEOF
26586 cat confdefs.h >>conftest.$ac_ext
26587 cat >>conftest.$ac_ext <<_ACEOF
26588 /* end confdefs.h. */
26589 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26591 #define remove innocuous_remove
26592
26593 /* System header to define __stub macros and hopefully few prototypes,
26594 which can conflict with char remove (); below.
26595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26596 <limits.h> exists even on freestanding compilers. */
26597
26598 #ifdef __STDC__
26599 # include <limits.h>
26600 #else
26601 # include <assert.h>
26602 #endif
26603
26604 #undef remove
26605
26606 /* Override any gcc2 internal prototype to avoid an error. */
26607 #ifdef __cplusplus
26608 extern "C"
26609 {
26610 #endif
26611 /* We use char because int might match the return type of a gcc2
26612 builtin and then its argument prototype would still apply. */
26613 char remove ();
26614 /* The GNU C library defines this for functions which it implements
26615 to always fail with ENOSYS. Some functions are actually named
26616 something starting with __ and the normal name is an alias. */
26617 #if defined (__stub_remove) || defined (__stub___remove)
26618 choke me
26619 #else
26620 char (*f) () = remove;
26621 #endif
26622 #ifdef __cplusplus
26623 }
26624 #endif
26625
26626 int
26627 main ()
26628 {
26629 return f != remove;
26630 ;
26631 return 0;
26632 }
26633 _ACEOF
26634 rm -f conftest.$ac_objext conftest$ac_exeext
26635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26636 (eval $ac_link) 2>conftest.er1
26637 ac_status=$?
26638 grep -v '^ *+' conftest.er1 >conftest.err
26639 rm -f conftest.er1
26640 cat conftest.err >&5
26641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26642 (exit $ac_status); } &&
26643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26645 (eval $ac_try) 2>&5
26646 ac_status=$?
26647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26648 (exit $ac_status); }; } &&
26649 { ac_try='test -s conftest$ac_exeext'
26650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26651 (eval $ac_try) 2>&5
26652 ac_status=$?
26653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26654 (exit $ac_status); }; }; then
26655 ac_cv_func_remove=yes
26656 else
26657 echo "$as_me: failed program was:" >&5
26658 sed 's/^/| /' conftest.$ac_ext >&5
26659
26660 ac_cv_func_remove=no
26661 fi
26662 rm -f conftest.err conftest.$ac_objext \
26663 conftest$ac_exeext conftest.$ac_ext
26664 fi
26665 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26666 echo "${ECHO_T}$ac_cv_func_remove" >&6
26667
26668 if test $ac_cv_func_remove = no; then
26669 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26670 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26671 if test "${ac_cv_lib_posix_remove+set}" = set; then
26672 echo $ECHO_N "(cached) $ECHO_C" >&6
26673 else
26674 ac_check_lib_save_LIBS=$LIBS
26675 LIBS="-lposix $LIBS"
26676 cat >conftest.$ac_ext <<_ACEOF
26677 /* confdefs.h. */
26678 _ACEOF
26679 cat confdefs.h >>conftest.$ac_ext
26680 cat >>conftest.$ac_ext <<_ACEOF
26681 /* end confdefs.h. */
26682
26683 /* Override any gcc2 internal prototype to avoid an error. */
26684 #ifdef __cplusplus
26685 extern "C"
26686 #endif
26687 /* We use char because int might match the return type of a gcc2
26688 builtin and then its argument prototype would still apply. */
26689 char remove ();
26690 int
26691 main ()
26692 {
26693 remove ();
26694 ;
26695 return 0;
26696 }
26697 _ACEOF
26698 rm -f conftest.$ac_objext conftest$ac_exeext
26699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26700 (eval $ac_link) 2>conftest.er1
26701 ac_status=$?
26702 grep -v '^ *+' conftest.er1 >conftest.err
26703 rm -f conftest.er1
26704 cat conftest.err >&5
26705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26706 (exit $ac_status); } &&
26707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26709 (eval $ac_try) 2>&5
26710 ac_status=$?
26711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26712 (exit $ac_status); }; } &&
26713 { ac_try='test -s conftest$ac_exeext'
26714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26715 (eval $ac_try) 2>&5
26716 ac_status=$?
26717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26718 (exit $ac_status); }; }; then
26719 ac_cv_lib_posix_remove=yes
26720 else
26721 echo "$as_me: failed program was:" >&5
26722 sed 's/^/| /' conftest.$ac_ext >&5
26723
26724 ac_cv_lib_posix_remove=no
26725 fi
26726 rm -f conftest.err conftest.$ac_objext \
26727 conftest$ac_exeext conftest.$ac_ext
26728 LIBS=$ac_check_lib_save_LIBS
26729 fi
26730 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26731 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26732 if test $ac_cv_lib_posix_remove = yes; then
26733 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26734 fi
26735
26736 fi
26737
26738 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26739 echo "$as_me:$LINENO: checking for shmat" >&5
26740 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26741 if test "${ac_cv_func_shmat+set}" = set; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 else
26744 cat >conftest.$ac_ext <<_ACEOF
26745 /* confdefs.h. */
26746 _ACEOF
26747 cat confdefs.h >>conftest.$ac_ext
26748 cat >>conftest.$ac_ext <<_ACEOF
26749 /* end confdefs.h. */
26750 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26752 #define shmat innocuous_shmat
26753
26754 /* System header to define __stub macros and hopefully few prototypes,
26755 which can conflict with char shmat (); below.
26756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26757 <limits.h> exists even on freestanding compilers. */
26758
26759 #ifdef __STDC__
26760 # include <limits.h>
26761 #else
26762 # include <assert.h>
26763 #endif
26764
26765 #undef shmat
26766
26767 /* Override any gcc2 internal prototype to avoid an error. */
26768 #ifdef __cplusplus
26769 extern "C"
26770 {
26771 #endif
26772 /* We use char because int might match the return type of a gcc2
26773 builtin and then its argument prototype would still apply. */
26774 char shmat ();
26775 /* The GNU C library defines this for functions which it implements
26776 to always fail with ENOSYS. Some functions are actually named
26777 something starting with __ and the normal name is an alias. */
26778 #if defined (__stub_shmat) || defined (__stub___shmat)
26779 choke me
26780 #else
26781 char (*f) () = shmat;
26782 #endif
26783 #ifdef __cplusplus
26784 }
26785 #endif
26786
26787 int
26788 main ()
26789 {
26790 return f != shmat;
26791 ;
26792 return 0;
26793 }
26794 _ACEOF
26795 rm -f conftest.$ac_objext conftest$ac_exeext
26796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26797 (eval $ac_link) 2>conftest.er1
26798 ac_status=$?
26799 grep -v '^ *+' conftest.er1 >conftest.err
26800 rm -f conftest.er1
26801 cat conftest.err >&5
26802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26803 (exit $ac_status); } &&
26804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26806 (eval $ac_try) 2>&5
26807 ac_status=$?
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); }; } &&
26810 { ac_try='test -s conftest$ac_exeext'
26811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812 (eval $ac_try) 2>&5
26813 ac_status=$?
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); }; }; then
26816 ac_cv_func_shmat=yes
26817 else
26818 echo "$as_me: failed program was:" >&5
26819 sed 's/^/| /' conftest.$ac_ext >&5
26820
26821 ac_cv_func_shmat=no
26822 fi
26823 rm -f conftest.err conftest.$ac_objext \
26824 conftest$ac_exeext conftest.$ac_ext
26825 fi
26826 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26827 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26828
26829 if test $ac_cv_func_shmat = no; then
26830 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26831 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26832 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26833 echo $ECHO_N "(cached) $ECHO_C" >&6
26834 else
26835 ac_check_lib_save_LIBS=$LIBS
26836 LIBS="-lipc $LIBS"
26837 cat >conftest.$ac_ext <<_ACEOF
26838 /* confdefs.h. */
26839 _ACEOF
26840 cat confdefs.h >>conftest.$ac_ext
26841 cat >>conftest.$ac_ext <<_ACEOF
26842 /* end confdefs.h. */
26843
26844 /* Override any gcc2 internal prototype to avoid an error. */
26845 #ifdef __cplusplus
26846 extern "C"
26847 #endif
26848 /* We use char because int might match the return type of a gcc2
26849 builtin and then its argument prototype would still apply. */
26850 char shmat ();
26851 int
26852 main ()
26853 {
26854 shmat ();
26855 ;
26856 return 0;
26857 }
26858 _ACEOF
26859 rm -f conftest.$ac_objext conftest$ac_exeext
26860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26861 (eval $ac_link) 2>conftest.er1
26862 ac_status=$?
26863 grep -v '^ *+' conftest.er1 >conftest.err
26864 rm -f conftest.er1
26865 cat conftest.err >&5
26866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26867 (exit $ac_status); } &&
26868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26870 (eval $ac_try) 2>&5
26871 ac_status=$?
26872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26873 (exit $ac_status); }; } &&
26874 { ac_try='test -s conftest$ac_exeext'
26875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26876 (eval $ac_try) 2>&5
26877 ac_status=$?
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); }; }; then
26880 ac_cv_lib_ipc_shmat=yes
26881 else
26882 echo "$as_me: failed program was:" >&5
26883 sed 's/^/| /' conftest.$ac_ext >&5
26884
26885 ac_cv_lib_ipc_shmat=no
26886 fi
26887 rm -f conftest.err conftest.$ac_objext \
26888 conftest$ac_exeext conftest.$ac_ext
26889 LIBS=$ac_check_lib_save_LIBS
26890 fi
26891 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26892 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26893 if test $ac_cv_lib_ipc_shmat = yes; then
26894 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26895 fi
26896
26897 fi
26898 fi
26899
26900 # Check for libraries that X11R6 Xt/Xaw programs need.
26901 ac_save_LDFLAGS=$LDFLAGS
26902 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26903 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26904 # check for ICE first), but we must link in the order -lSM -lICE or
26905 # we get undefined symbols. So assume we have SM if we have ICE.
26906 # These have to be linked with before -lX11, unlike the other
26907 # libraries we check for below, so use a different variable.
26908 # John Interrante, Karl Berry
26909 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26910 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26911 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26912 echo $ECHO_N "(cached) $ECHO_C" >&6
26913 else
26914 ac_check_lib_save_LIBS=$LIBS
26915 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26916 cat >conftest.$ac_ext <<_ACEOF
26917 /* confdefs.h. */
26918 _ACEOF
26919 cat confdefs.h >>conftest.$ac_ext
26920 cat >>conftest.$ac_ext <<_ACEOF
26921 /* end confdefs.h. */
26922
26923 /* Override any gcc2 internal prototype to avoid an error. */
26924 #ifdef __cplusplus
26925 extern "C"
26926 #endif
26927 /* We use char because int might match the return type of a gcc2
26928 builtin and then its argument prototype would still apply. */
26929 char IceConnectionNumber ();
26930 int
26931 main ()
26932 {
26933 IceConnectionNumber ();
26934 ;
26935 return 0;
26936 }
26937 _ACEOF
26938 rm -f conftest.$ac_objext conftest$ac_exeext
26939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26940 (eval $ac_link) 2>conftest.er1
26941 ac_status=$?
26942 grep -v '^ *+' conftest.er1 >conftest.err
26943 rm -f conftest.er1
26944 cat conftest.err >&5
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); } &&
26947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
26953 { ac_try='test -s conftest$ac_exeext'
26954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26955 (eval $ac_try) 2>&5
26956 ac_status=$?
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); }; }; then
26959 ac_cv_lib_ICE_IceConnectionNumber=yes
26960 else
26961 echo "$as_me: failed program was:" >&5
26962 sed 's/^/| /' conftest.$ac_ext >&5
26963
26964 ac_cv_lib_ICE_IceConnectionNumber=no
26965 fi
26966 rm -f conftest.err conftest.$ac_objext \
26967 conftest$ac_exeext conftest.$ac_ext
26968 LIBS=$ac_check_lib_save_LIBS
26969 fi
26970 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26971 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26972 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26973 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26974 fi
26975
26976 LDFLAGS=$ac_save_LDFLAGS
26977
26978 fi
26979
26980
26981 if test "$no_x" = "yes"; then
26982 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26983 echo "$as_me: error: X11 not found" >&2;}
26984 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
26985 fi
26986
26987 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
26988 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
26989 AFMINSTALL=afminstall
26990 COMPILED_X_PROGRAM=0
26991
26992 fi
26993
26994 if test "$wxUSE_X11" = 1; then
26995 if test "$wxUSE_NANOX" = "yes"; then
26996 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
26997 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
26998 if test "x$MICROWIN" = x ; then
26999 echo "$as_me:$LINENO: result: not found" >&5
27000 echo "${ECHO_T}not found" >&6
27001 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27002 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27003 { (exit 1); exit 1; }; }
27004 else
27005 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27006 echo "${ECHO_T}$MICROWIN" >&6
27007 cat >>confdefs.h <<\_ACEOF
27008 #define wxUSE_NANOX 1
27009 _ACEOF
27010
27011 fi
27012 fi
27013
27014 if test "$wxUSE_UNICODE" = "yes"; then
27015
27016 succeeded=no
27017
27018 if test -z "$PKG_CONFIG"; then
27019 # Extract the first word of "pkg-config", so it can be a program name with args.
27020 set dummy pkg-config; ac_word=$2
27021 echo "$as_me:$LINENO: checking for $ac_word" >&5
27022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27023 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27024 echo $ECHO_N "(cached) $ECHO_C" >&6
27025 else
27026 case $PKG_CONFIG in
27027 [\\/]* | ?:[\\/]*)
27028 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27029 ;;
27030 *)
27031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27032 for as_dir in $PATH
27033 do
27034 IFS=$as_save_IFS
27035 test -z "$as_dir" && as_dir=.
27036 for ac_exec_ext in '' $ac_executable_extensions; do
27037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27038 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27040 break 2
27041 fi
27042 done
27043 done
27044
27045 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27046 ;;
27047 esac
27048 fi
27049 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27050
27051 if test -n "$PKG_CONFIG"; then
27052 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27053 echo "${ECHO_T}$PKG_CONFIG" >&6
27054 else
27055 echo "$as_me:$LINENO: result: no" >&5
27056 echo "${ECHO_T}no" >&6
27057 fi
27058
27059 fi
27060
27061 if test "$PKG_CONFIG" = "no" ; then
27062 echo "*** The pkg-config script could not be found. Make sure it is"
27063 echo "*** in your path, or set the PKG_CONFIG environment variable"
27064 echo "*** to the full path to pkg-config."
27065 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27066 else
27067 PKG_CONFIG_MIN_VERSION=0.9.0
27068 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27069 echo "$as_me:$LINENO: checking for pangox" >&5
27070 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27071
27072 if $PKG_CONFIG --exists "pangox" ; then
27073 echo "$as_me:$LINENO: result: yes" >&5
27074 echo "${ECHO_T}yes" >&6
27075 succeeded=yes
27076
27077 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27078 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27079 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
27080 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27081 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27082
27083 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27084 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27085 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
27086 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27087 echo "${ECHO_T}$PANGOX_LIBS" >&6
27088 else
27089 PANGOX_CFLAGS=""
27090 PANGOX_LIBS=""
27091 ## If we have a custom action on failure, don't print errors, but
27092 ## do set a variable so people can do so.
27093 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27094
27095 fi
27096
27097
27098
27099 else
27100 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27101 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27102 fi
27103 fi
27104
27105 if test $succeeded = yes; then
27106
27107 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
27108 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
27109
27110 else
27111
27112 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27113 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27114 { (exit 1); exit 1; }; }
27115
27116
27117 fi
27118
27119
27120 succeeded=no
27121
27122 if test -z "$PKG_CONFIG"; then
27123 # Extract the first word of "pkg-config", so it can be a program name with args.
27124 set dummy pkg-config; ac_word=$2
27125 echo "$as_me:$LINENO: checking for $ac_word" >&5
27126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27127 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27128 echo $ECHO_N "(cached) $ECHO_C" >&6
27129 else
27130 case $PKG_CONFIG in
27131 [\\/]* | ?:[\\/]*)
27132 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27133 ;;
27134 *)
27135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27136 for as_dir in $PATH
27137 do
27138 IFS=$as_save_IFS
27139 test -z "$as_dir" && as_dir=.
27140 for ac_exec_ext in '' $ac_executable_extensions; do
27141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27142 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27144 break 2
27145 fi
27146 done
27147 done
27148
27149 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27150 ;;
27151 esac
27152 fi
27153 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27154
27155 if test -n "$PKG_CONFIG"; then
27156 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27157 echo "${ECHO_T}$PKG_CONFIG" >&6
27158 else
27159 echo "$as_me:$LINENO: result: no" >&5
27160 echo "${ECHO_T}no" >&6
27161 fi
27162
27163 fi
27164
27165 if test "$PKG_CONFIG" = "no" ; then
27166 echo "*** The pkg-config script could not be found. Make sure it is"
27167 echo "*** in your path, or set the PKG_CONFIG environment variable"
27168 echo "*** to the full path to pkg-config."
27169 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27170 else
27171 PKG_CONFIG_MIN_VERSION=0.9.0
27172 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27173 echo "$as_me:$LINENO: checking for pangoft2" >&5
27174 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27175
27176 if $PKG_CONFIG --exists "pangoft2" ; then
27177 echo "$as_me:$LINENO: result: yes" >&5
27178 echo "${ECHO_T}yes" >&6
27179 succeeded=yes
27180
27181 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27182 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27183 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
27184 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27185 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27186
27187 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27188 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27189 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
27190 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27191 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27192 else
27193 PANGOFT2_CFLAGS=""
27194 PANGOFT2_LIBS=""
27195 ## If we have a custom action on failure, don't print errors, but
27196 ## do set a variable so people can do so.
27197 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27198
27199 fi
27200
27201
27202
27203 else
27204 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27205 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27206 fi
27207 fi
27208
27209 if test $succeeded = yes; then
27210
27211 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
27212 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27213
27214 else
27215
27216 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27217 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27218 wxUSE_PRINTING_ARCHITECTURE="no"
27219
27220
27221 fi
27222
27223
27224 succeeded=no
27225
27226 if test -z "$PKG_CONFIG"; then
27227 # Extract the first word of "pkg-config", so it can be a program name with args.
27228 set dummy pkg-config; ac_word=$2
27229 echo "$as_me:$LINENO: checking for $ac_word" >&5
27230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27231 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27232 echo $ECHO_N "(cached) $ECHO_C" >&6
27233 else
27234 case $PKG_CONFIG in
27235 [\\/]* | ?:[\\/]*)
27236 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27237 ;;
27238 *)
27239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27240 for as_dir in $PATH
27241 do
27242 IFS=$as_save_IFS
27243 test -z "$as_dir" && as_dir=.
27244 for ac_exec_ext in '' $ac_executable_extensions; do
27245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27246 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27248 break 2
27249 fi
27250 done
27251 done
27252
27253 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27254 ;;
27255 esac
27256 fi
27257 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27258
27259 if test -n "$PKG_CONFIG"; then
27260 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27261 echo "${ECHO_T}$PKG_CONFIG" >&6
27262 else
27263 echo "$as_me:$LINENO: result: no" >&5
27264 echo "${ECHO_T}no" >&6
27265 fi
27266
27267 fi
27268
27269 if test "$PKG_CONFIG" = "no" ; then
27270 echo "*** The pkg-config script could not be found. Make sure it is"
27271 echo "*** in your path, or set the PKG_CONFIG environment variable"
27272 echo "*** to the full path to pkg-config."
27273 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27274 else
27275 PKG_CONFIG_MIN_VERSION=0.9.0
27276 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27277 echo "$as_me:$LINENO: checking for pangoxft" >&5
27278 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27279
27280 if $PKG_CONFIG --exists "pangoxft" ; then
27281 echo "$as_me:$LINENO: result: yes" >&5
27282 echo "${ECHO_T}yes" >&6
27283 succeeded=yes
27284
27285 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27286 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27287 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
27288 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27289 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27290
27291 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27292 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27293 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
27294 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27295 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27296 else
27297 PANGOXFT_CFLAGS=""
27298 PANGOXFT_LIBS=""
27299 ## If we have a custom action on failure, don't print errors, but
27300 ## do set a variable so people can do so.
27301 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27302
27303 fi
27304
27305
27306
27307 else
27308 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27309 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27310 fi
27311 fi
27312
27313 if test $succeeded = yes; then
27314
27315 cat >>confdefs.h <<\_ACEOF
27316 #define HAVE_PANGO_XFT 1
27317 _ACEOF
27318
27319 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
27320 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27321
27322 else
27323
27324 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27325 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27326
27327
27328 fi
27329
27330 save_CFLAGS="$CFLAGS"
27331 save_LIBS="$LIBS"
27332 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
27333 LIBS="$LIBS $PANGOX_LIBS"
27334
27335 for ac_func in pango_font_family_is_monospace
27336 do
27337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27338 echo "$as_me:$LINENO: checking for $ac_func" >&5
27339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27340 if eval "test \"\${$as_ac_var+set}\" = set"; then
27341 echo $ECHO_N "(cached) $ECHO_C" >&6
27342 else
27343 cat >conftest.$ac_ext <<_ACEOF
27344 /* confdefs.h. */
27345 _ACEOF
27346 cat confdefs.h >>conftest.$ac_ext
27347 cat >>conftest.$ac_ext <<_ACEOF
27348 /* end confdefs.h. */
27349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27351 #define $ac_func innocuous_$ac_func
27352
27353 /* System header to define __stub macros and hopefully few prototypes,
27354 which can conflict with char $ac_func (); below.
27355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27356 <limits.h> exists even on freestanding compilers. */
27357
27358 #ifdef __STDC__
27359 # include <limits.h>
27360 #else
27361 # include <assert.h>
27362 #endif
27363
27364 #undef $ac_func
27365
27366 /* Override any gcc2 internal prototype to avoid an error. */
27367 #ifdef __cplusplus
27368 extern "C"
27369 {
27370 #endif
27371 /* We use char because int might match the return type of a gcc2
27372 builtin and then its argument prototype would still apply. */
27373 char $ac_func ();
27374 /* The GNU C library defines this for functions which it implements
27375 to always fail with ENOSYS. Some functions are actually named
27376 something starting with __ and the normal name is an alias. */
27377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27378 choke me
27379 #else
27380 char (*f) () = $ac_func;
27381 #endif
27382 #ifdef __cplusplus
27383 }
27384 #endif
27385
27386 int
27387 main ()
27388 {
27389 return f != $ac_func;
27390 ;
27391 return 0;
27392 }
27393 _ACEOF
27394 rm -f conftest.$ac_objext conftest$ac_exeext
27395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27396 (eval $ac_link) 2>conftest.er1
27397 ac_status=$?
27398 grep -v '^ *+' conftest.er1 >conftest.err
27399 rm -f conftest.er1
27400 cat conftest.err >&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); } &&
27403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27405 (eval $ac_try) 2>&5
27406 ac_status=$?
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); }; } &&
27409 { ac_try='test -s conftest$ac_exeext'
27410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27411 (eval $ac_try) 2>&5
27412 ac_status=$?
27413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27414 (exit $ac_status); }; }; then
27415 eval "$as_ac_var=yes"
27416 else
27417 echo "$as_me: failed program was:" >&5
27418 sed 's/^/| /' conftest.$ac_ext >&5
27419
27420 eval "$as_ac_var=no"
27421 fi
27422 rm -f conftest.err conftest.$ac_objext \
27423 conftest$ac_exeext conftest.$ac_ext
27424 fi
27425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27427 if test `eval echo '${'$as_ac_var'}'` = yes; then
27428 cat >>confdefs.h <<_ACEOF
27429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27430 _ACEOF
27431
27432 fi
27433 done
27434
27435 CFLAGS="$save_CFLAGS"
27436 LIBS="$save_LIBS"
27437 fi
27438
27439 wxUSE_UNIVERSAL="yes"
27440
27441 if test "$wxUSE_NANOX" = "yes"; then
27442 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27443 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"
27444 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27445 else
27446 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
27447 fi
27448
27449 TOOLKIT=X11
27450 GUIDIST=X11_DIST
27451 fi
27452
27453 if test "$wxUSE_MOTIF" = 1; then
27454 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27455 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27456
27457 ac_find_includes=
27458 for ac_dir in $SEARCH_INCLUDE /usr/include;
27459 do
27460 if test -f "$ac_dir/Xm/Xm.h"; then
27461 ac_find_includes=$ac_dir
27462 break
27463 fi
27464 done
27465
27466 if test "$ac_find_includes" != "" ; then
27467 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27468 echo "${ECHO_T}found in $ac_find_includes" >&6
27469
27470 if test "x$ac_find_includes" = "x/usr/include"; then
27471 ac_path_to_include=""
27472 else
27473 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
27474 result=$?
27475 if test $result = 0; then
27476 ac_path_to_include=""
27477 else
27478 ac_path_to_include=" -I$ac_find_includes"
27479 fi
27480 fi
27481
27482 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
27483 else
27484 cat >conftest.$ac_ext <<_ACEOF
27485 /* confdefs.h. */
27486 _ACEOF
27487 cat confdefs.h >>conftest.$ac_ext
27488 cat >>conftest.$ac_ext <<_ACEOF
27489 /* end confdefs.h. */
27490
27491 #include <Xm/Xm.h>
27492
27493 int
27494 main ()
27495 {
27496
27497 int version;
27498 version = xmUseVersion;
27499
27500 ;
27501 return 0;
27502 }
27503 _ACEOF
27504 rm -f conftest.$ac_objext
27505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27506 (eval $ac_compile) 2>conftest.er1
27507 ac_status=$?
27508 grep -v '^ *+' conftest.er1 >conftest.err
27509 rm -f conftest.er1
27510 cat conftest.err >&5
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); } &&
27513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27515 (eval $ac_try) 2>&5
27516 ac_status=$?
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); }; } &&
27519 { ac_try='test -s conftest.$ac_objext'
27520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27521 (eval $ac_try) 2>&5
27522 ac_status=$?
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); }; }; then
27525
27526 echo "$as_me:$LINENO: result: found in default search path" >&5
27527 echo "${ECHO_T}found in default search path" >&6
27528 COMPILED_X_PROGRAM=1
27529
27530 else
27531 echo "$as_me: failed program was:" >&5
27532 sed 's/^/| /' conftest.$ac_ext >&5
27533
27534
27535 echo "$as_me:$LINENO: result: no" >&5
27536 echo "${ECHO_T}no" >&6
27537 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27538 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27539 { (exit 1); exit 1; }; }
27540
27541
27542 fi
27543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27544 fi
27545
27546 if test "$COMPILED_X_PROGRAM" = 0; then
27547 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27548 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27549
27550 ac_find_libraries=
27551 for ac_dir in $SEARCH_LIB /usr/lib;
27552 do
27553 for ac_extension in a so sl dylib; do
27554 if test -f "$ac_dir/libXm.$ac_extension"; then
27555 ac_find_libraries=$ac_dir
27556 break 2
27557 fi
27558 done
27559 done
27560
27561 if test "$ac_find_libraries" != "" ; then
27562 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27563 echo "${ECHO_T}found at $ac_find_libraries" >&6
27564
27565
27566 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27567 result=$?
27568 if test $result = 0; then
27569 ac_path_to_link=""
27570 else
27571 ac_path_to_link=" -L$ac_find_libraries"
27572 fi
27573
27574 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
27575 else
27576 save_CFLAGS=$CFLAGS
27577 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27578
27579 cat >conftest.$ac_ext <<_ACEOF
27580 /* confdefs.h. */
27581 _ACEOF
27582 cat confdefs.h >>conftest.$ac_ext
27583 cat >>conftest.$ac_ext <<_ACEOF
27584 /* end confdefs.h. */
27585
27586 #include <Xm/Xm.h>
27587
27588 int
27589 main ()
27590 {
27591
27592 int version;
27593 version = xmUseVersion;
27594
27595 ;
27596 return 0;
27597 }
27598 _ACEOF
27599 rm -f conftest.$ac_objext
27600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27601 (eval $ac_compile) 2>conftest.er1
27602 ac_status=$?
27603 grep -v '^ *+' conftest.er1 >conftest.err
27604 rm -f conftest.er1
27605 cat conftest.err >&5
27606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27607 (exit $ac_status); } &&
27608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27610 (eval $ac_try) 2>&5
27611 ac_status=$?
27612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27613 (exit $ac_status); }; } &&
27614 { ac_try='test -s conftest.$ac_objext'
27615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27616 (eval $ac_try) 2>&5
27617 ac_status=$?
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); }; }; then
27620
27621 echo "$as_me:$LINENO: result: found in default search path" >&5
27622 echo "${ECHO_T}found in default search path" >&6
27623 COMPILED_X_PROGRAM=1
27624
27625 else
27626 echo "$as_me: failed program was:" >&5
27627 sed 's/^/| /' conftest.$ac_ext >&5
27628
27629
27630 echo "$as_me:$LINENO: result: no" >&5
27631 echo "${ECHO_T}no" >&6
27632 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27633 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27634 { (exit 1); exit 1; }; }
27635
27636
27637 fi
27638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27639
27640 CFLAGS=$save_CFLAGS
27641 fi
27642 fi
27643
27644 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27645 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27646 libp_link=""
27647 libsm_ice_link=""
27648 libs_found=0
27649 for libp in "" " -lXp"; do
27650 if test "$libs_found" = "0"; then
27651 for libsm_ice in "" " -lSM -lICE"; do
27652 if test "$libs_found" = "0"; then
27653 save_LIBS="$LIBS"
27654 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27655 save_CFLAGS=$CFLAGS
27656 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27657
27658 cat >conftest.$ac_ext <<_ACEOF
27659 /* confdefs.h. */
27660 _ACEOF
27661 cat confdefs.h >>conftest.$ac_ext
27662 cat >>conftest.$ac_ext <<_ACEOF
27663 /* end confdefs.h. */
27664
27665 #include <Xm/Xm.h>
27666 #include <Xm/List.h>
27667
27668 int
27669 main ()
27670 {
27671
27672 XmString string = NULL;
27673 Widget w = NULL;
27674 int position = 0;
27675 XmListAddItem(w, string, position);
27676
27677 ;
27678 return 0;
27679 }
27680 _ACEOF
27681 rm -f conftest.$ac_objext conftest$ac_exeext
27682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27683 (eval $ac_link) 2>conftest.er1
27684 ac_status=$?
27685 grep -v '^ *+' conftest.er1 >conftest.err
27686 rm -f conftest.er1
27687 cat conftest.err >&5
27688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27689 (exit $ac_status); } &&
27690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27692 (eval $ac_try) 2>&5
27693 ac_status=$?
27694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27695 (exit $ac_status); }; } &&
27696 { ac_try='test -s conftest$ac_exeext'
27697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27698 (eval $ac_try) 2>&5
27699 ac_status=$?
27700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27701 (exit $ac_status); }; }; then
27702
27703 libp_link="$libp"
27704 libsm_ice_link="$libsm_ice"
27705 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27706 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27707 libs_found=1
27708
27709 else
27710 echo "$as_me: failed program was:" >&5
27711 sed 's/^/| /' conftest.$ac_ext >&5
27712
27713
27714
27715 fi
27716 rm -f conftest.err conftest.$ac_objext \
27717 conftest$ac_exeext conftest.$ac_ext
27718
27719 LIBS="$save_LIBS"
27720 CFLAGS=$save_CFLAGS
27721 fi
27722 done
27723 fi
27724 done
27725
27726 if test "$libs_found" = "0"; then
27727 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27728 echo "${ECHO_T}can't find the right libraries" >&6
27729 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27730 echo "$as_me: error: can't link a simple motif program" >&2;}
27731 { (exit 1); exit 1; }; }
27732 fi
27733
27734 save_CFLAGS=$CFLAGS
27735 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27736 echo "$as_me:$LINENO: checking for Motif 2" >&5
27737 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27738 cat >conftest.$ac_ext <<_ACEOF
27739 /* confdefs.h. */
27740 _ACEOF
27741 cat confdefs.h >>conftest.$ac_ext
27742 cat >>conftest.$ac_ext <<_ACEOF
27743 /* end confdefs.h. */
27744
27745 #include <Xm/Xm.h>
27746
27747 int
27748 main ()
27749 {
27750
27751 #if XmVersion < 2000
27752 #error "Not Motif 2"
27753 #endif
27754
27755 ;
27756 return 0;
27757 }
27758 _ACEOF
27759 rm -f conftest.$ac_objext
27760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27761 (eval $ac_compile) 2>conftest.er1
27762 ac_status=$?
27763 grep -v '^ *+' conftest.er1 >conftest.err
27764 rm -f conftest.er1
27765 cat conftest.err >&5
27766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767 (exit $ac_status); } &&
27768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27770 (eval $ac_try) 2>&5
27771 ac_status=$?
27772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773 (exit $ac_status); }; } &&
27774 { ac_try='test -s conftest.$ac_objext'
27775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27776 (eval $ac_try) 2>&5
27777 ac_status=$?
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); }; }; then
27780
27781 cat >>confdefs.h <<\_ACEOF
27782 #define __WXMOTIF20__ 1
27783 _ACEOF
27784
27785 echo "$as_me:$LINENO: result: found" >&5
27786 echo "${ECHO_T}found" >&6
27787
27788 else
27789 echo "$as_me: failed program was:" >&5
27790 sed 's/^/| /' conftest.$ac_ext >&5
27791
27792
27793 cat >>confdefs.h <<\_ACEOF
27794 #define __WXMOTIF20__ 0
27795 _ACEOF
27796
27797 echo "$as_me:$LINENO: result: not found" >&5
27798 echo "${ECHO_T}not found" >&6
27799
27800 fi
27801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27802 CFLAGS=$save_CFLAGS
27803
27804 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27805 TOOLKIT=MOTIF
27806 GUIDIST=MOTIF_DIST
27807 fi
27808
27809 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27810 if test "$wxUSE_LIBXPM" = "sys"; then
27811 echo "$as_me:$LINENO: checking for Xpm library" >&5
27812 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27813
27814 ac_find_libraries=
27815 for ac_dir in $SEARCH_LIB /usr/lib;
27816 do
27817 for ac_extension in a so sl dylib; do
27818 if test -f "$ac_dir/libXpm.$ac_extension"; then
27819 ac_find_libraries=$ac_dir
27820 break 2
27821 fi
27822 done
27823 done
27824
27825 if test "$ac_find_libraries" != "" ; then
27826
27827 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27828 result=$?
27829 if test $result = 0; then
27830 ac_path_to_link=""
27831 else
27832 ac_path_to_link=" -L$ac_find_libraries"
27833 fi
27834
27835 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
27836 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27837 echo "${ECHO_T}found at $ac_find_libraries" >&6
27838
27839 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27840 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27841 if test "${wx_cv_x11_xpm_h+set}" = set; then
27842 echo $ECHO_N "(cached) $ECHO_C" >&6
27843 else
27844
27845 save_CFLAGS=$CFLAGS
27846 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27847
27848 cat >conftest.$ac_ext <<_ACEOF
27849 /* confdefs.h. */
27850 _ACEOF
27851 cat confdefs.h >>conftest.$ac_ext
27852 cat >>conftest.$ac_ext <<_ACEOF
27853 /* end confdefs.h. */
27854
27855 #include <X11/xpm.h>
27856
27857 int
27858 main ()
27859 {
27860
27861 int version;
27862 version = XpmLibraryVersion();
27863
27864 ;
27865 return 0;
27866 }
27867 _ACEOF
27868 rm -f conftest.$ac_objext
27869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27870 (eval $ac_compile) 2>conftest.er1
27871 ac_status=$?
27872 grep -v '^ *+' conftest.er1 >conftest.err
27873 rm -f conftest.er1
27874 cat conftest.err >&5
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); } &&
27877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27879 (eval $ac_try) 2>&5
27880 ac_status=$?
27881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27882 (exit $ac_status); }; } &&
27883 { ac_try='test -s conftest.$ac_objext'
27884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27885 (eval $ac_try) 2>&5
27886 ac_status=$?
27887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27888 (exit $ac_status); }; }; then
27889 wx_cv_x11_xpm_h=yes
27890 else
27891 echo "$as_me: failed program was:" >&5
27892 sed 's/^/| /' conftest.$ac_ext >&5
27893
27894 wx_cv_x11_xpm_h=no
27895
27896 fi
27897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27898
27899 CFLAGS=$save_CFLAGS
27900
27901
27902 fi
27903 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27904 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27905
27906 if test $wx_cv_x11_xpm_h = "yes"; then
27907 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
27908 cat >>confdefs.h <<\_ACEOF
27909 #define wxHAVE_LIB_XPM 1
27910 _ACEOF
27911
27912 else
27913 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27914 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27915 fi
27916 fi
27917
27918 fi
27919
27920 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27921 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27922 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27923 echo $ECHO_N "(cached) $ECHO_C" >&6
27924 else
27925 ac_check_lib_save_LIBS=$LIBS
27926 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27927 cat >conftest.$ac_ext <<_ACEOF
27928 /* confdefs.h. */
27929 _ACEOF
27930 cat confdefs.h >>conftest.$ac_ext
27931 cat >>conftest.$ac_ext <<_ACEOF
27932 /* end confdefs.h. */
27933
27934 /* Override any gcc2 internal prototype to avoid an error. */
27935 #ifdef __cplusplus
27936 extern "C"
27937 #endif
27938 /* We use char because int might match the return type of a gcc2
27939 builtin and then its argument prototype would still apply. */
27940 char XShapeQueryExtension ();
27941 int
27942 main ()
27943 {
27944 XShapeQueryExtension ();
27945 ;
27946 return 0;
27947 }
27948 _ACEOF
27949 rm -f conftest.$ac_objext conftest$ac_exeext
27950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27951 (eval $ac_link) 2>conftest.er1
27952 ac_status=$?
27953 grep -v '^ *+' conftest.er1 >conftest.err
27954 rm -f conftest.er1
27955 cat conftest.err >&5
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); } &&
27958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27960 (eval $ac_try) 2>&5
27961 ac_status=$?
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); }; } &&
27964 { ac_try='test -s conftest$ac_exeext'
27965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966 (eval $ac_try) 2>&5
27967 ac_status=$?
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; }; then
27970 ac_cv_lib_Xext_XShapeQueryExtension=yes
27971 else
27972 echo "$as_me: failed program was:" >&5
27973 sed 's/^/| /' conftest.$ac_ext >&5
27974
27975 ac_cv_lib_Xext_XShapeQueryExtension=no
27976 fi
27977 rm -f conftest.err conftest.$ac_objext \
27978 conftest$ac_exeext conftest.$ac_ext
27979 LIBS=$ac_check_lib_save_LIBS
27980 fi
27981 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27982 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27983 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27984
27985 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
27986 wxHAVE_XEXT_LIB=1
27987
27988 fi
27989
27990
27991 if test "$wxHAVE_XEXT_LIB" = 1; then
27992 save_CFLAGS="$CFLAGS"
27993 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27994
27995 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27996 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27997 cat >conftest.$ac_ext <<_ACEOF
27998 /* confdefs.h. */
27999 _ACEOF
28000 cat confdefs.h >>conftest.$ac_ext
28001 cat >>conftest.$ac_ext <<_ACEOF
28002 /* end confdefs.h. */
28003
28004 #include <X11/Xlib.h>
28005 #include <X11/extensions/shape.h>
28006
28007 int
28008 main ()
28009 {
28010
28011 int dummy1, dummy2;
28012 XShapeQueryExtension((Display*)NULL,
28013 (int*)NULL, (int*)NULL);
28014
28015 ;
28016 return 0;
28017 }
28018 _ACEOF
28019 rm -f conftest.$ac_objext
28020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28021 (eval $ac_compile) 2>conftest.er1
28022 ac_status=$?
28023 grep -v '^ *+' conftest.er1 >conftest.err
28024 rm -f conftest.er1
28025 cat conftest.err >&5
28026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28027 (exit $ac_status); } &&
28028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28030 (eval $ac_try) 2>&5
28031 ac_status=$?
28032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28033 (exit $ac_status); }; } &&
28034 { ac_try='test -s conftest.$ac_objext'
28035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28036 (eval $ac_try) 2>&5
28037 ac_status=$?
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); }; }; then
28040
28041 cat >>confdefs.h <<\_ACEOF
28042 #define HAVE_XSHAPE 1
28043 _ACEOF
28044
28045 echo "$as_me:$LINENO: result: found" >&5
28046 echo "${ECHO_T}found" >&6
28047
28048 else
28049 echo "$as_me: failed program was:" >&5
28050 sed 's/^/| /' conftest.$ac_ext >&5
28051
28052
28053 echo "$as_me:$LINENO: result: not found" >&5
28054 echo "${ECHO_T}not found" >&6
28055
28056 fi
28057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28058 CFLAGS="$save_CFLAGS"
28059
28060 fi
28061 fi
28062
28063 if test "$wxUSE_MAC" = 1; then
28064 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28065 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28066 if test "$GCC" = yes; then
28067 echo "$as_me:$LINENO: result: gcc" >&5
28068 echo "${ECHO_T}gcc" >&6
28069 CPPFLAGS_PASCAL="-fpascal-strings"
28070 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28071 echo "$as_me:$LINENO: result: xlc" >&5
28072 echo "${ECHO_T}xlc" >&6
28073 CPPFLAGS_PASCAL="-qmacpstr"
28074 else
28075 echo "$as_me:$LINENO: result: none" >&5
28076 echo "${ECHO_T}none" >&6
28077 fi
28078
28079 if test "x$wxUSE_UNIX" = "xyes"; then
28080 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28081 else
28082 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28083 fi
28084
28085 TOOLKIT=MAC
28086 GUIDIST=MACX_DIST
28087 WXBASEPORT="_carbon"
28088 fi
28089
28090 if test "$wxUSE_COCOA" = 1; then
28091 TOOLKIT=COCOA
28092 GUIDIST=COCOA_DIST
28093 fi
28094
28095 if test "$wxUSE_PM" = 1; then
28096 TOOLKIT=PM
28097 GUIDIST=PM_DIST
28098 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28099 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28100 if test "${wx_cv_spbcdata+set}" = set; then
28101 echo $ECHO_N "(cached) $ECHO_C" >&6
28102 else
28103
28104 cat >conftest.$ac_ext <<_ACEOF
28105 /* confdefs.h. */
28106 _ACEOF
28107 cat confdefs.h >>conftest.$ac_ext
28108 cat >>conftest.$ac_ext <<_ACEOF
28109 /* end confdefs.h. */
28110
28111 #define INCL_PM
28112 #include <os2.h>
28113
28114 int
28115 main ()
28116 {
28117
28118 SPBCDATA test;
28119
28120 ;
28121 return 0;
28122 }
28123 _ACEOF
28124 rm -f conftest.$ac_objext
28125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28126 (eval $ac_compile) 2>conftest.er1
28127 ac_status=$?
28128 grep -v '^ *+' conftest.er1 >conftest.err
28129 rm -f conftest.er1
28130 cat conftest.err >&5
28131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132 (exit $ac_status); } &&
28133 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28135 (eval $ac_try) 2>&5
28136 ac_status=$?
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); }; } &&
28139 { ac_try='test -s conftest.$ac_objext'
28140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28141 (eval $ac_try) 2>&5
28142 ac_status=$?
28143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144 (exit $ac_status); }; }; then
28145 wx_cv_spbcdata=yes
28146 else
28147 echo "$as_me: failed program was:" >&5
28148 sed 's/^/| /' conftest.$ac_ext >&5
28149
28150 wx_cv_spbcdata=no
28151
28152 fi
28153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28154
28155
28156 fi
28157 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28158 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28159
28160 if test $wx_cv_spbcdata = "yes"; then
28161 cat >>confdefs.h <<\_ACEOF
28162 #define HAVE_SPBCDATA 1
28163 _ACEOF
28164
28165 fi
28166 fi
28167
28168 if test "$TOOLKIT" = "PM" ; then
28169 TOOLKIT_DIR="os2"
28170 else
28171 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28172 fi
28173
28174 if test "$wxUSE_UNIVERSAL" = "yes"; then
28175 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28176 WIDGET_SET=univ
28177 fi
28178
28179 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28180 DISTDIR="wx\$(TOOLKIT)"
28181 else
28182 USE_GUI=0
28183
28184 TOOLKIT_DIR="base"
28185
28186 if test "$USE_WIN32" = 1 ; then
28187 TOOLKIT="MSW"
28188 fi
28189
28190 GUIDIST="BASE_DIST"
28191 DISTDIR="wxBase"
28192 fi
28193
28194
28195
28196
28197 IODBC_C_SRC=""
28198
28199
28200 if test "$TOOLKIT" != "MSW" ; then
28201
28202 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28203
28204 if test "${ac_cv_header_sql_h+set}" = set; then
28205 echo "$as_me:$LINENO: checking for sql.h" >&5
28206 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28207 if test "${ac_cv_header_sql_h+set}" = set; then
28208 echo $ECHO_N "(cached) $ECHO_C" >&6
28209 fi
28210 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28211 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28212 else
28213 # Is the header compilable?
28214 echo "$as_me:$LINENO: checking sql.h usability" >&5
28215 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28216 cat >conftest.$ac_ext <<_ACEOF
28217 /* confdefs.h. */
28218 _ACEOF
28219 cat confdefs.h >>conftest.$ac_ext
28220 cat >>conftest.$ac_ext <<_ACEOF
28221 /* end confdefs.h. */
28222 $ac_includes_default
28223 #include <sql.h>
28224 _ACEOF
28225 rm -f conftest.$ac_objext
28226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28227 (eval $ac_compile) 2>conftest.er1
28228 ac_status=$?
28229 grep -v '^ *+' conftest.er1 >conftest.err
28230 rm -f conftest.er1
28231 cat conftest.err >&5
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); } &&
28234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28236 (eval $ac_try) 2>&5
28237 ac_status=$?
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; } &&
28240 { ac_try='test -s conftest.$ac_objext'
28241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28242 (eval $ac_try) 2>&5
28243 ac_status=$?
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); }; }; then
28246 ac_header_compiler=yes
28247 else
28248 echo "$as_me: failed program was:" >&5
28249 sed 's/^/| /' conftest.$ac_ext >&5
28250
28251 ac_header_compiler=no
28252 fi
28253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28254 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28255 echo "${ECHO_T}$ac_header_compiler" >&6
28256
28257 # Is the header present?
28258 echo "$as_me:$LINENO: checking sql.h presence" >&5
28259 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28260 cat >conftest.$ac_ext <<_ACEOF
28261 /* confdefs.h. */
28262 _ACEOF
28263 cat confdefs.h >>conftest.$ac_ext
28264 cat >>conftest.$ac_ext <<_ACEOF
28265 /* end confdefs.h. */
28266 #include <sql.h>
28267 _ACEOF
28268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28270 ac_status=$?
28271 grep -v '^ *+' conftest.er1 >conftest.err
28272 rm -f conftest.er1
28273 cat conftest.err >&5
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); } >/dev/null; then
28276 if test -s conftest.err; then
28277 ac_cpp_err=$ac_c_preproc_warn_flag
28278 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28279 else
28280 ac_cpp_err=
28281 fi
28282 else
28283 ac_cpp_err=yes
28284 fi
28285 if test -z "$ac_cpp_err"; then
28286 ac_header_preproc=yes
28287 else
28288 echo "$as_me: failed program was:" >&5
28289 sed 's/^/| /' conftest.$ac_ext >&5
28290
28291 ac_header_preproc=no
28292 fi
28293 rm -f conftest.err conftest.$ac_ext
28294 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28295 echo "${ECHO_T}$ac_header_preproc" >&6
28296
28297 # So? What about this header?
28298 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28299 yes:no: )
28300 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28301 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28302 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28303 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28304 ac_header_preproc=yes
28305 ;;
28306 no:yes:* )
28307 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28308 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28309 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28310 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28311 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28312 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28313 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28314 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28315 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28316 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28317 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28318 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28319 (
28320 cat <<\_ASBOX
28321 ## ----------------------------------------- ##
28322 ## Report this to wx-dev@lists.wxwidgets.org ##
28323 ## ----------------------------------------- ##
28324 _ASBOX
28325 ) |
28326 sed "s/^/$as_me: WARNING: /" >&2
28327 ;;
28328 esac
28329 echo "$as_me:$LINENO: checking for sql.h" >&5
28330 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28331 if test "${ac_cv_header_sql_h+set}" = set; then
28332 echo $ECHO_N "(cached) $ECHO_C" >&6
28333 else
28334 ac_cv_header_sql_h=$ac_header_preproc
28335 fi
28336 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28337 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28338
28339 fi
28340 if test $ac_cv_header_sql_h = yes; then
28341 found_sql_h=1
28342 fi
28343
28344
28345 if test "x$found_sql_h" = "x1" ; then
28346 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28347 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28348 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28349 echo $ECHO_N "(cached) $ECHO_C" >&6
28350 else
28351 ac_check_lib_save_LIBS=$LIBS
28352 LIBS="-liodbc $LIBS"
28353 cat >conftest.$ac_ext <<_ACEOF
28354 /* confdefs.h. */
28355 _ACEOF
28356 cat confdefs.h >>conftest.$ac_ext
28357 cat >>conftest.$ac_ext <<_ACEOF
28358 /* end confdefs.h. */
28359
28360 /* Override any gcc2 internal prototype to avoid an error. */
28361 #ifdef __cplusplus
28362 extern "C"
28363 #endif
28364 /* We use char because int might match the return type of a gcc2
28365 builtin and then its argument prototype would still apply. */
28366 char SQLAllocEnv ();
28367 int
28368 main ()
28369 {
28370 SQLAllocEnv ();
28371 ;
28372 return 0;
28373 }
28374 _ACEOF
28375 rm -f conftest.$ac_objext conftest$ac_exeext
28376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28377 (eval $ac_link) 2>conftest.er1
28378 ac_status=$?
28379 grep -v '^ *+' conftest.er1 >conftest.err
28380 rm -f conftest.er1
28381 cat conftest.err >&5
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); } &&
28384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28386 (eval $ac_try) 2>&5
28387 ac_status=$?
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); }; } &&
28390 { ac_try='test -s conftest$ac_exeext'
28391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28392 (eval $ac_try) 2>&5
28393 ac_status=$?
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); }; }; then
28396 ac_cv_lib_iodbc_SQLAllocEnv=yes
28397 else
28398 echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.$ac_ext >&5
28400
28401 ac_cv_lib_iodbc_SQLAllocEnv=no
28402 fi
28403 rm -f conftest.err conftest.$ac_objext \
28404 conftest$ac_exeext conftest.$ac_ext
28405 LIBS=$ac_check_lib_save_LIBS
28406 fi
28407 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28408 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28409 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28410 ODBC_LINK=" -liodbc"
28411 else
28412
28413 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28414 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28415 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28416 echo $ECHO_N "(cached) $ECHO_C" >&6
28417 else
28418 ac_check_lib_save_LIBS=$LIBS
28419 LIBS="-lunixodbc $LIBS"
28420 cat >conftest.$ac_ext <<_ACEOF
28421 /* confdefs.h. */
28422 _ACEOF
28423 cat confdefs.h >>conftest.$ac_ext
28424 cat >>conftest.$ac_ext <<_ACEOF
28425 /* end confdefs.h. */
28426
28427 /* Override any gcc2 internal prototype to avoid an error. */
28428 #ifdef __cplusplus
28429 extern "C"
28430 #endif
28431 /* We use char because int might match the return type of a gcc2
28432 builtin and then its argument prototype would still apply. */
28433 char SQLAllocEnv ();
28434 int
28435 main ()
28436 {
28437 SQLAllocEnv ();
28438 ;
28439 return 0;
28440 }
28441 _ACEOF
28442 rm -f conftest.$ac_objext conftest$ac_exeext
28443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28444 (eval $ac_link) 2>conftest.er1
28445 ac_status=$?
28446 grep -v '^ *+' conftest.er1 >conftest.err
28447 rm -f conftest.er1
28448 cat conftest.err >&5
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); } &&
28451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28453 (eval $ac_try) 2>&5
28454 ac_status=$?
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); }; } &&
28457 { ac_try='test -s conftest$ac_exeext'
28458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28459 (eval $ac_try) 2>&5
28460 ac_status=$?
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); }; }; then
28463 ac_cv_lib_unixodbc_SQLAllocEnv=yes
28464 else
28465 echo "$as_me: failed program was:" >&5
28466 sed 's/^/| /' conftest.$ac_ext >&5
28467
28468 ac_cv_lib_unixodbc_SQLAllocEnv=no
28469 fi
28470 rm -f conftest.err conftest.$ac_objext \
28471 conftest$ac_exeext conftest.$ac_ext
28472 LIBS=$ac_check_lib_save_LIBS
28473 fi
28474 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28475 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28476 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28477 ODBC_LINK=" -lunixodbc"
28478 else
28479
28480 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28481 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28482 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28483 echo $ECHO_N "(cached) $ECHO_C" >&6
28484 else
28485 ac_check_lib_save_LIBS=$LIBS
28486 LIBS="-lodbc $LIBS"
28487 cat >conftest.$ac_ext <<_ACEOF
28488 /* confdefs.h. */
28489 _ACEOF
28490 cat confdefs.h >>conftest.$ac_ext
28491 cat >>conftest.$ac_ext <<_ACEOF
28492 /* end confdefs.h. */
28493
28494 /* Override any gcc2 internal prototype to avoid an error. */
28495 #ifdef __cplusplus
28496 extern "C"
28497 #endif
28498 /* We use char because int might match the return type of a gcc2
28499 builtin and then its argument prototype would still apply. */
28500 char SQLAllocEnv ();
28501 int
28502 main ()
28503 {
28504 SQLAllocEnv ();
28505 ;
28506 return 0;
28507 }
28508 _ACEOF
28509 rm -f conftest.$ac_objext conftest$ac_exeext
28510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28511 (eval $ac_link) 2>conftest.er1
28512 ac_status=$?
28513 grep -v '^ *+' conftest.er1 >conftest.err
28514 rm -f conftest.er1
28515 cat conftest.err >&5
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); } &&
28518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28520 (eval $ac_try) 2>&5
28521 ac_status=$?
28522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523 (exit $ac_status); }; } &&
28524 { ac_try='test -s conftest$ac_exeext'
28525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28526 (eval $ac_try) 2>&5
28527 ac_status=$?
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); }; }; then
28530 ac_cv_lib_odbc_SQLAllocEnv=yes
28531 else
28532 echo "$as_me: failed program was:" >&5
28533 sed 's/^/| /' conftest.$ac_ext >&5
28534
28535 ac_cv_lib_odbc_SQLAllocEnv=no
28536 fi
28537 rm -f conftest.err conftest.$ac_objext \
28538 conftest$ac_exeext conftest.$ac_ext
28539 LIBS=$ac_check_lib_save_LIBS
28540 fi
28541 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28542 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28543 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28544 ODBC_LINK=" -lodbc"
28545 fi
28546
28547
28548 fi
28549
28550
28551 fi
28552
28553 fi
28554 if test "x$ODBC_LINK" = "x" ; then
28555 if test "$wxUSE_ODBC" = "sys" ; then
28556 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28557 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28558 { (exit 1); exit 1; }; }
28559 else
28560 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28561 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28562 wxUSE_ODBC=builtin
28563 fi
28564 else
28565 wxUSE_ODBC=sys
28566 fi
28567 fi
28568
28569 if test "$wxUSE_ODBC" = "builtin" ; then
28570 cat >>confdefs.h <<\_ACEOF
28571 #define wxUSE_BUILTIN_IODBC 1
28572 _ACEOF
28573
28574 fi
28575 fi
28576
28577 if test "$wxUSE_ODBC" != "no" ; then
28578 cat >>confdefs.h <<\_ACEOF
28579 #define wxUSE_ODBC 1
28580 _ACEOF
28581
28582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
28583
28584 WXODBCFLAG="-D_IODBC_"
28585 fi
28586
28587
28588 if test "$wxUSE_DISPLAY" = "yes"; then
28589 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28590 echo "$as_me:$LINENO: checking for Xinerama" >&5
28591 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28592
28593 ac_find_libraries=
28594 for ac_dir in $SEARCH_LIB /usr/lib;
28595 do
28596 for ac_extension in a so sl dylib; do
28597 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28598 ac_find_libraries=$ac_dir
28599 break 2
28600 fi
28601 done
28602 done
28603
28604 if test "$ac_find_libraries" != "" ; then
28605
28606 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28607 result=$?
28608 if test $result = 0; then
28609 ac_path_to_link=""
28610 else
28611 ac_path_to_link=" -L$ac_find_libraries"
28612 fi
28613
28614 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28615 LDFLAGS="$LDFLAGS $ac_path_to_link"
28616 fi
28617 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
28618 echo "$as_me:$LINENO: result: yes" >&5
28619 echo "${ECHO_T}yes" >&6
28620
28621 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28622 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28623
28624 ac_find_libraries=
28625 for ac_dir in $SEARCH_LIB /usr/lib;
28626 do
28627 for ac_extension in a so sl dylib; do
28628 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28629 ac_find_libraries=$ac_dir
28630 break 2
28631 fi
28632 done
28633 done
28634
28635 if test "$ac_find_libraries" != "" ; then
28636 echo "$as_me:$LINENO: result: yes" >&5
28637 echo "${ECHO_T}yes" >&6
28638
28639 for ac_header in X11/extensions/xf86vmode.h
28640 do
28641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28642 echo "$as_me:$LINENO: checking for $ac_header" >&5
28643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28645 echo $ECHO_N "(cached) $ECHO_C" >&6
28646 else
28647 cat >conftest.$ac_ext <<_ACEOF
28648 /* confdefs.h. */
28649 _ACEOF
28650 cat confdefs.h >>conftest.$ac_ext
28651 cat >>conftest.$ac_ext <<_ACEOF
28652 /* end confdefs.h. */
28653
28654 #if HAVE_X11_XLIB_H
28655 #include <X11/Xlib.h>
28656 #endif
28657
28658
28659 #include <$ac_header>
28660 _ACEOF
28661 rm -f conftest.$ac_objext
28662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28663 (eval $ac_compile) 2>conftest.er1
28664 ac_status=$?
28665 grep -v '^ *+' conftest.er1 >conftest.err
28666 rm -f conftest.er1
28667 cat conftest.err >&5
28668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669 (exit $ac_status); } &&
28670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28672 (eval $ac_try) 2>&5
28673 ac_status=$?
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); }; } &&
28676 { ac_try='test -s conftest.$ac_objext'
28677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28678 (eval $ac_try) 2>&5
28679 ac_status=$?
28680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681 (exit $ac_status); }; }; then
28682 eval "$as_ac_Header=yes"
28683 else
28684 echo "$as_me: failed program was:" >&5
28685 sed 's/^/| /' conftest.$ac_ext >&5
28686
28687 eval "$as_ac_Header=no"
28688 fi
28689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28690 fi
28691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28694 cat >>confdefs.h <<_ACEOF
28695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28696 _ACEOF
28697
28698 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
28699
28700 fi
28701
28702 done
28703
28704 else
28705 echo "$as_me:$LINENO: result: no" >&5
28706 echo "${ECHO_T}no" >&6
28707 fi
28708
28709 else
28710 echo "$as_me:$LINENO: result: no" >&5
28711 echo "${ECHO_T}no" >&6
28712 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28713 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28714 wxUSE_DISPLAY="no"
28715 fi
28716 elif test "$wxUSE_MSW" = 1; then
28717
28718
28719 for ac_header in multimon.h ddraw.h
28720 do
28721 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28722 echo "$as_me:$LINENO: checking for $ac_header" >&5
28723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28725 echo $ECHO_N "(cached) $ECHO_C" >&6
28726 else
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 #include <windows.h>
28734
28735 #include <$ac_header>
28736 _ACEOF
28737 rm -f conftest.$ac_objext
28738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28739 (eval $ac_compile) 2>conftest.er1
28740 ac_status=$?
28741 grep -v '^ *+' conftest.er1 >conftest.err
28742 rm -f conftest.er1
28743 cat conftest.err >&5
28744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745 (exit $ac_status); } &&
28746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28748 (eval $ac_try) 2>&5
28749 ac_status=$?
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); }; } &&
28752 { ac_try='test -s conftest.$ac_objext'
28753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28754 (eval $ac_try) 2>&5
28755 ac_status=$?
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); }; }; then
28758 eval "$as_ac_Header=yes"
28759 else
28760 echo "$as_me: failed program was:" >&5
28761 sed 's/^/| /' conftest.$ac_ext >&5
28762
28763 eval "$as_ac_Header=no"
28764 fi
28765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28766 fi
28767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28770 cat >>confdefs.h <<_ACEOF
28771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28772 _ACEOF
28773
28774 else
28775
28776 wxUSE_DISPLAY="no"
28777 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28778 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28779
28780 fi
28781
28782 done
28783
28784 fi
28785 fi
28786
28787
28788 USE_OPENGL=0
28789 if test "$wxUSE_OPENGL" = "yes"; then
28790 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28791 OPENGL_LIBS="-framework OpenGL -framework AGL"
28792 elif test "$wxUSE_MSW" = 1; then
28793 OPENGL_LIBS="-lopengl32 -lglu32"
28794 else
28795
28796
28797 ac_find_includes=
28798 for ac_dir in $SEARCH_INCLUDE /usr/include;
28799 do
28800 if test -f "$ac_dir/GL/gl.h"; then
28801 ac_find_includes=$ac_dir
28802 break
28803 fi
28804 done
28805
28806 if test "$ac_find_includes" != "" ; then
28807 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28808 echo "${ECHO_T}found in $ac_find_includes" >&6
28809
28810 if test "x$ac_find_includes" = "x/usr/include"; then
28811 ac_path_to_include=""
28812 else
28813 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
28814 result=$?
28815 if test $result = 0; then
28816 ac_path_to_include=""
28817 else
28818 ac_path_to_include=" -I$ac_find_includes"
28819 fi
28820 fi
28821
28822 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
28823 fi
28824
28825 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28826 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28827 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28828 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28829 echo $ECHO_N "(cached) $ECHO_C" >&6
28830 fi
28831 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28832 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28833 else
28834 # Is the header compilable?
28835 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28836 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28837 cat >conftest.$ac_ext <<_ACEOF
28838 /* confdefs.h. */
28839 _ACEOF
28840 cat confdefs.h >>conftest.$ac_ext
28841 cat >>conftest.$ac_ext <<_ACEOF
28842 /* end confdefs.h. */
28843 $ac_includes_default
28844 #include <GL/gl.h>
28845 _ACEOF
28846 rm -f conftest.$ac_objext
28847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28848 (eval $ac_compile) 2>conftest.er1
28849 ac_status=$?
28850 grep -v '^ *+' conftest.er1 >conftest.err
28851 rm -f conftest.er1
28852 cat conftest.err >&5
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); } &&
28855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28857 (eval $ac_try) 2>&5
28858 ac_status=$?
28859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28860 (exit $ac_status); }; } &&
28861 { ac_try='test -s conftest.$ac_objext'
28862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28863 (eval $ac_try) 2>&5
28864 ac_status=$?
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); }; }; then
28867 ac_header_compiler=yes
28868 else
28869 echo "$as_me: failed program was:" >&5
28870 sed 's/^/| /' conftest.$ac_ext >&5
28871
28872 ac_header_compiler=no
28873 fi
28874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28876 echo "${ECHO_T}$ac_header_compiler" >&6
28877
28878 # Is the header present?
28879 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28880 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28881 cat >conftest.$ac_ext <<_ACEOF
28882 /* confdefs.h. */
28883 _ACEOF
28884 cat confdefs.h >>conftest.$ac_ext
28885 cat >>conftest.$ac_ext <<_ACEOF
28886 /* end confdefs.h. */
28887 #include <GL/gl.h>
28888 _ACEOF
28889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28891 ac_status=$?
28892 grep -v '^ *+' conftest.er1 >conftest.err
28893 rm -f conftest.er1
28894 cat conftest.err >&5
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); } >/dev/null; then
28897 if test -s conftest.err; then
28898 ac_cpp_err=$ac_c_preproc_warn_flag
28899 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28900 else
28901 ac_cpp_err=
28902 fi
28903 else
28904 ac_cpp_err=yes
28905 fi
28906 if test -z "$ac_cpp_err"; then
28907 ac_header_preproc=yes
28908 else
28909 echo "$as_me: failed program was:" >&5
28910 sed 's/^/| /' conftest.$ac_ext >&5
28911
28912 ac_header_preproc=no
28913 fi
28914 rm -f conftest.err conftest.$ac_ext
28915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28916 echo "${ECHO_T}$ac_header_preproc" >&6
28917
28918 # So? What about this header?
28919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28920 yes:no: )
28921 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28922 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28923 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28924 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28925 ac_header_preproc=yes
28926 ;;
28927 no:yes:* )
28928 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28929 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28930 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28931 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28932 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28933 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28934 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28935 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28936 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28937 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28938 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28939 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28940 (
28941 cat <<\_ASBOX
28942 ## ----------------------------------------- ##
28943 ## Report this to wx-dev@lists.wxwidgets.org ##
28944 ## ----------------------------------------- ##
28945 _ASBOX
28946 ) |
28947 sed "s/^/$as_me: WARNING: /" >&2
28948 ;;
28949 esac
28950 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28951 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28952 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28953 echo $ECHO_N "(cached) $ECHO_C" >&6
28954 else
28955 ac_cv_header_GL_gl_h=$ac_header_preproc
28956 fi
28957 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28958 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28959
28960 fi
28961 if test $ac_cv_header_GL_gl_h = yes; then
28962
28963 found_gl=0
28964
28965 echo "$as_me:$LINENO: checking for -lGL" >&5
28966 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28967
28968 ac_find_libraries=
28969 for ac_dir in $SEARCH_LIB /usr/lib;
28970 do
28971 for ac_extension in a so sl dylib; do
28972 if test -f "$ac_dir/libGL.$ac_extension"; then
28973 ac_find_libraries=$ac_dir
28974 break 2
28975 fi
28976 done
28977 done
28978
28979 if test "$ac_find_libraries" != "" ; then
28980
28981 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28982 result=$?
28983 if test $result = 0; then
28984 ac_path_to_link=""
28985 else
28986 ac_path_to_link=" -L$ac_find_libraries"
28987 fi
28988
28989 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28990 LDFLAGS_GL="$ac_path_to_link"
28991 fi
28992
28993
28994 ac_find_libraries=
28995 for ac_dir in $SEARCH_LIB /usr/lib;
28996 do
28997 for ac_extension in a so sl dylib; do
28998 if test -f "$ac_dir/libGLU.$ac_extension"; then
28999 ac_find_libraries=$ac_dir
29000 break 2
29001 fi
29002 done
29003 done
29004
29005 if test "$ac_find_libraries" != "" ; then
29006
29007 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29008 result=$?
29009 if test $result = 0; then
29010 ac_path_to_link=""
29011 else
29012 ac_path_to_link=" -L$ac_find_libraries"
29013 fi
29014
29015 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29016 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29017 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
29018 fi
29019
29020 found_gl=1
29021 OPENGL_LIBS="-lGL -lGLU"
29022 echo "$as_me:$LINENO: result: yes" >&5
29023 echo "${ECHO_T}yes" >&6
29024 fi
29025 fi
29026
29027 if test "$found_gl" != 1; then
29028 echo "$as_me:$LINENO: result: no" >&5
29029 echo "${ECHO_T}no" >&6
29030 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29031 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29032
29033 ac_find_libraries=
29034 for ac_dir in $SEARCH_LIB /usr/lib;
29035 do
29036 for ac_extension in a so sl dylib; do
29037 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29038 ac_find_libraries=$ac_dir
29039 break 2
29040 fi
29041 done
29042 done
29043
29044 if test "$ac_find_libraries" != "" ; then
29045
29046 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29047 result=$?
29048 if test $result = 0; then
29049 ac_path_to_link=""
29050 else
29051 ac_path_to_link=" -L$ac_find_libraries"
29052 fi
29053
29054 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
29055 OPENGL_LIBS="-lMesaGL -lMesaGLU"
29056 echo "$as_me:$LINENO: result: yes" >&5
29057 echo "${ECHO_T}yes" >&6
29058 else
29059 echo "$as_me:$LINENO: result: no" >&5
29060 echo "${ECHO_T}no" >&6
29061 fi
29062 fi
29063
29064 fi
29065
29066
29067
29068 if test "x$OPENGL_LIBS" = "x"; then
29069 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29070 echo "$as_me: error: OpenGL libraries not available" >&2;}
29071 { (exit 1); exit 1; }; }
29072 fi
29073 fi
29074
29075 if test "$wxUSE_OPENGL" = "yes"; then
29076 USE_OPENGL=1
29077 cat >>confdefs.h <<\_ACEOF
29078 #define wxUSE_OPENGL 1
29079 _ACEOF
29080
29081 cat >>confdefs.h <<\_ACEOF
29082 #define wxUSE_GLCANVAS 1
29083 _ACEOF
29084
29085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29086 fi
29087 fi
29088
29089
29090 if test -n "$TOOLKIT" ; then
29091 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29092 fi
29093
29094
29095
29096 if test "$wxUSE_SHARED" = "yes"; then
29097 case "${host}" in
29098 *-pc-msdosdjgpp )
29099 wxUSE_SHARED=no
29100 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29101 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29102 ;;
29103 esac
29104 fi
29105
29106 if test "$wxUSE_SHARED" = "yes"; then
29107
29108
29109 found_versioning=no
29110
29111
29112 if test $found_versioning = no ; then
29113 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29114 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29115 if test "${wx_cv_version_script+set}" = set; then
29116 echo $ECHO_N "(cached) $ECHO_C" >&6
29117 else
29118
29119 echo "VER_1 { *; };" >conftest.sym
29120 echo "int main() { return 0; }" >conftest.cpp
29121
29122 if { ac_try='
29123 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29124 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29126 (eval $ac_try) 2>&5
29127 ac_status=$?
29128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29129 (exit $ac_status); }; } ; then
29130 if test -s conftest.stderr ; then
29131 wx_cv_version_script=no
29132 else
29133 wx_cv_version_script=yes
29134 fi
29135 else
29136 wx_cv_version_script=no
29137 fi
29138 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29139
29140 fi
29141 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29142 echo "${ECHO_T}$wx_cv_version_script" >&6
29143 if test $wx_cv_version_script = yes ; then
29144 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
29145 fi
29146 fi
29147
29148
29149 case "${host}" in
29150 *-*-linux* | *-*-gnu* )
29151 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29152 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29153 ;;
29154
29155 *-*-solaris2* )
29156 if test "$GCC" = yes ; then
29157 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
29158
29159 saveLdflags="$LDFLAGS"
29160 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29161 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29162 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29163 cat >conftest.$ac_ext <<_ACEOF
29164 /* confdefs.h. */
29165 _ACEOF
29166 cat confdefs.h >>conftest.$ac_ext
29167 cat >>conftest.$ac_ext <<_ACEOF
29168 /* end confdefs.h. */
29169
29170 int
29171 main ()
29172 {
29173
29174 ;
29175 return 0;
29176 }
29177 _ACEOF
29178 rm -f conftest.$ac_objext conftest$ac_exeext
29179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29180 (eval $ac_link) 2>conftest.er1
29181 ac_status=$?
29182 grep -v '^ *+' conftest.er1 >conftest.err
29183 rm -f conftest.er1
29184 cat conftest.err >&5
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); } &&
29187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29189 (eval $ac_try) 2>&5
29190 ac_status=$?
29191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192 (exit $ac_status); }; } &&
29193 { ac_try='test -s conftest$ac_exeext'
29194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29195 (eval $ac_try) 2>&5
29196 ac_status=$?
29197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29198 (exit $ac_status); }; }; then
29199
29200 echo "$as_me:$LINENO: result: yes" >&5
29201 echo "${ECHO_T}yes" >&6
29202 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29203 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29204
29205 else
29206 echo "$as_me: failed program was:" >&5
29207 sed 's/^/| /' conftest.$ac_ext >&5
29208
29209
29210 echo "$as_me:$LINENO: result: no" >&5
29211 echo "${ECHO_T}no" >&6
29212 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29213 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29214 LDFLAGS="$saveLdflags -Wl,-R,/"
29215 cat >conftest.$ac_ext <<_ACEOF
29216 /* confdefs.h. */
29217 _ACEOF
29218 cat confdefs.h >>conftest.$ac_ext
29219 cat >>conftest.$ac_ext <<_ACEOF
29220 /* end confdefs.h. */
29221
29222 int
29223 main ()
29224 {
29225
29226 ;
29227 return 0;
29228 }
29229 _ACEOF
29230 rm -f conftest.$ac_objext conftest$ac_exeext
29231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29232 (eval $ac_link) 2>conftest.er1
29233 ac_status=$?
29234 grep -v '^ *+' conftest.er1 >conftest.err
29235 rm -f conftest.er1
29236 cat conftest.err >&5
29237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29238 (exit $ac_status); } &&
29239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29241 (eval $ac_try) 2>&5
29242 ac_status=$?
29243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 (exit $ac_status); }; } &&
29245 { ac_try='test -s conftest$ac_exeext'
29246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29247 (eval $ac_try) 2>&5
29248 ac_status=$?
29249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29250 (exit $ac_status); }; }; then
29251
29252 echo "$as_me:$LINENO: result: yes" >&5
29253 echo "${ECHO_T}yes" >&6
29254 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
29255 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29256
29257 else
29258 echo "$as_me: failed program was:" >&5
29259 sed 's/^/| /' conftest.$ac_ext >&5
29260
29261
29262 echo "$as_me:$LINENO: result: no" >&5
29263 echo "${ECHO_T}no" >&6
29264
29265 fi
29266 rm -f conftest.err conftest.$ac_objext \
29267 conftest$ac_exeext conftest.$ac_ext
29268
29269 fi
29270 rm -f conftest.err conftest.$ac_objext \
29271 conftest$ac_exeext conftest.$ac_ext
29272 LDFLAGS="$saveLdflags"
29273 else
29274 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
29275 WXCONFIG_RPATH="-R\$libdir"
29276 fi
29277 ;;
29278
29279 powerpc-*-darwin* )
29280 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29281 cat <<EOF >change-install-names
29282 #!/bin/sh
29283 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29284 inst_cmd="install_name_tool "
29285 for i in \${libnames} ; do
29286 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29287 done
29288 \${inst_cmd} \${3}
29289 EOF
29290 chmod +x change-install-names
29291 ;;
29292
29293 *-*-cygwin* | *-*-mingw32* )
29294 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29295 ;;
29296
29297 *-*-hpux* )
29298 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
29299 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29300 ;;
29301
29302 esac
29303
29304 if test $wxUSE_RPATH = "no"; then
29305 SAMPLES_RPATH_FLAG=''
29306 SAMPLES_RPATH_POSTLINK=''
29307 WXCONFIG_RPATH=''
29308 fi
29309
29310 SHARED=1
29311
29312 else
29313
29314 config_linkage_component="-static"
29315 SHARED=0
29316
29317 fi
29318
29319
29320 UNICODE=0
29321 lib_unicode_suffix=
29322 WX_CHARTYPE="ansi"
29323 if test "$wxUSE_UNICODE" = "yes"; then
29324 lib_unicode_suffix=u
29325 WX_CHARTYPE="unicode"
29326 UNICODE=1
29327 fi
29328
29329 lib_debug_suffix=
29330 WX_DEBUGTYPE="release"
29331 DEBUG_FLAG=0
29332 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29333 lib_debug_suffix=d
29334 WX_DEBUGTYPE="debug"
29335 DEBUG_FLAG=1
29336 fi
29337
29338 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29339 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29340
29341 DEBUG_INFO=0
29342 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29343 DEBUG_INFO=1
29344 fi
29345
29346 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29347
29348 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29349
29350 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29351
29352 if test "$cross_compiling" = "yes"; then
29353 HOST_SUFFIX="-$host_alias"
29354 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
29355 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
29356 fi
29357
29358 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29359 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29360
29361
29362
29363 if test "$wxUSE_COCOA" = 1; then
29364
29365
29366 ac_ext=c
29367 ac_cpp='$CPP $CPPFLAGS'
29368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29371
29372 ac_ext=m
29373
29374 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29375 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
29376 cat >conftest.$ac_ext <<_ACEOF
29377 /* confdefs.h. */
29378 _ACEOF
29379 cat confdefs.h >>conftest.$ac_ext
29380 cat >>conftest.$ac_ext <<_ACEOF
29381 /* end confdefs.h. */
29382 #include <AppKit/NSEvent.h>
29383 #include <CoreFoundation/CoreFoundation.h>
29384
29385 int
29386 main ()
29387 {
29388
29389 ;
29390 return 0;
29391 }
29392 _ACEOF
29393 rm -f conftest.$ac_objext
29394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29395 (eval $ac_compile) 2>conftest.er1
29396 ac_status=$?
29397 grep -v '^ *+' conftest.er1 >conftest.err
29398 rm -f conftest.er1
29399 cat conftest.err >&5
29400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401 (exit $ac_status); } &&
29402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29404 (eval $ac_try) 2>&5
29405 ac_status=$?
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); }; } &&
29408 { ac_try='test -s conftest.$ac_objext'
29409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29410 (eval $ac_try) 2>&5
29411 ac_status=$?
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); }; }; then
29414 echo "$as_me:$LINENO: result: no" >&5
29415 echo "${ECHO_T}no" >&6
29416 else
29417 echo "$as_me: failed program was:" >&5
29418 sed 's/^/| /' conftest.$ac_ext >&5
29419
29420 echo "$as_me:$LINENO: result: yes" >&5
29421 echo "${ECHO_T}yes" >&6
29422 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
29423 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
29424 cat >conftest.$ac_ext <<_ACEOF
29425 /* confdefs.h. */
29426 _ACEOF
29427 cat confdefs.h >>conftest.$ac_ext
29428 cat >>conftest.$ac_ext <<_ACEOF
29429 /* end confdefs.h. */
29430 #define __Point__ 1
29431 #include <AppKit/NSEvent.h>
29432 #include <CoreFoundation/CoreFoundation.h>
29433
29434 int
29435 main ()
29436 {
29437
29438 ;
29439 return 0;
29440 }
29441 _ACEOF
29442 rm -f conftest.$ac_objext
29443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29444 (eval $ac_compile) 2>conftest.er1
29445 ac_status=$?
29446 grep -v '^ *+' conftest.er1 >conftest.err
29447 rm -f conftest.er1
29448 cat conftest.err >&5
29449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29450 (exit $ac_status); } &&
29451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29453 (eval $ac_try) 2>&5
29454 ac_status=$?
29455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29456 (exit $ac_status); }; } &&
29457 { ac_try='test -s conftest.$ac_objext'
29458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29459 (eval $ac_try) 2>&5
29460 ac_status=$?
29461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29462 (exit $ac_status); }; }; then
29463 echo "$as_me:$LINENO: result: yes" >&5
29464 echo "${ECHO_T}yes" >&6
29465 cat >>confdefs.h <<\_ACEOF
29466 #define __Point__ 1
29467 _ACEOF
29468
29469
29470 else
29471 echo "$as_me: failed program was:" >&5
29472 sed 's/^/| /' conftest.$ac_ext >&5
29473
29474 { { echo "$as_me:$LINENO: error: no
29475 See \`config.log' for more details." >&5
29476 echo "$as_me: error: no
29477 See \`config.log' for more details." >&2;}
29478 { (exit 1); exit 1; }; }
29479
29480 fi
29481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29482
29483 fi
29484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29485 ac_ext=c
29486 ac_cpp='$CPP $CPPFLAGS'
29487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29490
29491 fi
29492
29493 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29494 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29495 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29496
29497 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29498
29499 # Extract the first word of "Rez", so it can be a program name with args.
29500 set dummy Rez; ac_word=$2
29501 echo "$as_me:$LINENO: checking for $ac_word" >&5
29502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29503 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29504 echo $ECHO_N "(cached) $ECHO_C" >&6
29505 else
29506 if test -n "$RESCOMP"; then
29507 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
29508 else
29509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29510 for as_dir in $PATH
29511 do
29512 IFS=$as_save_IFS
29513 test -z "$as_dir" && as_dir=.
29514 for ac_exec_ext in '' $ac_executable_extensions; do
29515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29516 ac_cv_prog_RESCOMP="Rez"
29517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29518 break 2
29519 fi
29520 done
29521 done
29522
29523 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
29524 fi
29525 fi
29526 RESCOMP=$ac_cv_prog_RESCOMP
29527 if test -n "$RESCOMP"; then
29528 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29529 echo "${ECHO_T}$RESCOMP" >&6
29530 else
29531 echo "$as_me:$LINENO: result: no" >&5
29532 echo "${ECHO_T}no" >&6
29533 fi
29534
29535 # Extract the first word of "DeRez", so it can be a program name with args.
29536 set dummy DeRez; ac_word=$2
29537 echo "$as_me:$LINENO: checking for $ac_word" >&5
29538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29539 if test "${ac_cv_prog_DEREZ+set}" = set; then
29540 echo $ECHO_N "(cached) $ECHO_C" >&6
29541 else
29542 if test -n "$DEREZ"; then
29543 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
29544 else
29545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29546 for as_dir in $PATH
29547 do
29548 IFS=$as_save_IFS
29549 test -z "$as_dir" && as_dir=.
29550 for ac_exec_ext in '' $ac_executable_extensions; do
29551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29552 ac_cv_prog_DEREZ="DeRez"
29553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29554 break 2
29555 fi
29556 done
29557 done
29558
29559 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
29560 fi
29561 fi
29562 DEREZ=$ac_cv_prog_DEREZ
29563 if test -n "$DEREZ"; then
29564 echo "$as_me:$LINENO: result: $DEREZ" >&5
29565 echo "${ECHO_T}$DEREZ" >&6
29566 else
29567 echo "$as_me:$LINENO: result: no" >&5
29568 echo "${ECHO_T}no" >&6
29569 fi
29570
29571 # Extract the first word of "SetFile", so it can be a program name with args.
29572 set dummy SetFile; ac_word=$2
29573 echo "$as_me:$LINENO: checking for $ac_word" >&5
29574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29575 if test "${ac_cv_prog_SETFILE+set}" = set; then
29576 echo $ECHO_N "(cached) $ECHO_C" >&6
29577 else
29578 if test -n "$SETFILE"; then
29579 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
29580 else
29581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29582 for as_dir in $PATH
29583 do
29584 IFS=$as_save_IFS
29585 test -z "$as_dir" && as_dir=.
29586 for ac_exec_ext in '' $ac_executable_extensions; do
29587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29588 ac_cv_prog_SETFILE="SetFile"
29589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29590 break 2
29591 fi
29592 done
29593 done
29594
29595 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
29596 fi
29597 fi
29598 SETFILE=$ac_cv_prog_SETFILE
29599 if test -n "$SETFILE"; then
29600 echo "$as_me:$LINENO: result: $SETFILE" >&5
29601 echo "${ECHO_T}$SETFILE" >&6
29602 else
29603 echo "$as_me:$LINENO: result: no" >&5
29604 echo "${ECHO_T}no" >&6
29605 fi
29606
29607
29608 MACSETFILE="\$(SETFILE)"
29609
29610 if test "$wxUSE_MAC" = 1; then
29611 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29612
29613 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29614 else
29615 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29616 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29617 fi
29618 else
29619 MACSETFILE="@true"
29620 MACRESWXCONFIG="@true"
29621
29622 if test "$wxUSE_PM" = 1; then
29623 MACRESCOMP="emxbind -ep"
29624 else
29625 MACRESCOMP="@true"
29626 fi
29627 fi
29628
29629
29630
29631 echo "$as_me:$LINENO: checking for mode_t" >&5
29632 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29633 if test "${ac_cv_type_mode_t+set}" = set; then
29634 echo $ECHO_N "(cached) $ECHO_C" >&6
29635 else
29636 cat >conftest.$ac_ext <<_ACEOF
29637 /* confdefs.h. */
29638 _ACEOF
29639 cat confdefs.h >>conftest.$ac_ext
29640 cat >>conftest.$ac_ext <<_ACEOF
29641 /* end confdefs.h. */
29642 $ac_includes_default
29643 int
29644 main ()
29645 {
29646 if ((mode_t *) 0)
29647 return 0;
29648 if (sizeof (mode_t))
29649 return 0;
29650 ;
29651 return 0;
29652 }
29653 _ACEOF
29654 rm -f conftest.$ac_objext
29655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29656 (eval $ac_compile) 2>conftest.er1
29657 ac_status=$?
29658 grep -v '^ *+' conftest.er1 >conftest.err
29659 rm -f conftest.er1
29660 cat conftest.err >&5
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); } &&
29663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29665 (eval $ac_try) 2>&5
29666 ac_status=$?
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); }; } &&
29669 { ac_try='test -s conftest.$ac_objext'
29670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29671 (eval $ac_try) 2>&5
29672 ac_status=$?
29673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29674 (exit $ac_status); }; }; then
29675 ac_cv_type_mode_t=yes
29676 else
29677 echo "$as_me: failed program was:" >&5
29678 sed 's/^/| /' conftest.$ac_ext >&5
29679
29680 ac_cv_type_mode_t=no
29681 fi
29682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29683 fi
29684 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29685 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29686 if test $ac_cv_type_mode_t = yes; then
29687 :
29688 else
29689
29690 cat >>confdefs.h <<_ACEOF
29691 #define mode_t int
29692 _ACEOF
29693
29694 fi
29695
29696 echo "$as_me:$LINENO: checking for off_t" >&5
29697 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29698 if test "${ac_cv_type_off_t+set}" = set; then
29699 echo $ECHO_N "(cached) $ECHO_C" >&6
29700 else
29701 cat >conftest.$ac_ext <<_ACEOF
29702 /* confdefs.h. */
29703 _ACEOF
29704 cat confdefs.h >>conftest.$ac_ext
29705 cat >>conftest.$ac_ext <<_ACEOF
29706 /* end confdefs.h. */
29707 $ac_includes_default
29708 int
29709 main ()
29710 {
29711 if ((off_t *) 0)
29712 return 0;
29713 if (sizeof (off_t))
29714 return 0;
29715 ;
29716 return 0;
29717 }
29718 _ACEOF
29719 rm -f conftest.$ac_objext
29720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29721 (eval $ac_compile) 2>conftest.er1
29722 ac_status=$?
29723 grep -v '^ *+' conftest.er1 >conftest.err
29724 rm -f conftest.er1
29725 cat conftest.err >&5
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); } &&
29728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29730 (eval $ac_try) 2>&5
29731 ac_status=$?
29732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29733 (exit $ac_status); }; } &&
29734 { ac_try='test -s conftest.$ac_objext'
29735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29736 (eval $ac_try) 2>&5
29737 ac_status=$?
29738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29739 (exit $ac_status); }; }; then
29740 ac_cv_type_off_t=yes
29741 else
29742 echo "$as_me: failed program was:" >&5
29743 sed 's/^/| /' conftest.$ac_ext >&5
29744
29745 ac_cv_type_off_t=no
29746 fi
29747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29748 fi
29749 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29750 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29751 if test $ac_cv_type_off_t = yes; then
29752 :
29753 else
29754
29755 cat >>confdefs.h <<_ACEOF
29756 #define off_t long
29757 _ACEOF
29758
29759 fi
29760
29761 echo "$as_me:$LINENO: checking for pid_t" >&5
29762 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29763 if test "${ac_cv_type_pid_t+set}" = set; then
29764 echo $ECHO_N "(cached) $ECHO_C" >&6
29765 else
29766 cat >conftest.$ac_ext <<_ACEOF
29767 /* confdefs.h. */
29768 _ACEOF
29769 cat confdefs.h >>conftest.$ac_ext
29770 cat >>conftest.$ac_ext <<_ACEOF
29771 /* end confdefs.h. */
29772 $ac_includes_default
29773 int
29774 main ()
29775 {
29776 if ((pid_t *) 0)
29777 return 0;
29778 if (sizeof (pid_t))
29779 return 0;
29780 ;
29781 return 0;
29782 }
29783 _ACEOF
29784 rm -f conftest.$ac_objext
29785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29786 (eval $ac_compile) 2>conftest.er1
29787 ac_status=$?
29788 grep -v '^ *+' conftest.er1 >conftest.err
29789 rm -f conftest.er1
29790 cat conftest.err >&5
29791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29792 (exit $ac_status); } &&
29793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29795 (eval $ac_try) 2>&5
29796 ac_status=$?
29797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29798 (exit $ac_status); }; } &&
29799 { ac_try='test -s conftest.$ac_objext'
29800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29801 (eval $ac_try) 2>&5
29802 ac_status=$?
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); }; }; then
29805 ac_cv_type_pid_t=yes
29806 else
29807 echo "$as_me: failed program was:" >&5
29808 sed 's/^/| /' conftest.$ac_ext >&5
29809
29810 ac_cv_type_pid_t=no
29811 fi
29812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29813 fi
29814 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29815 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
29816 if test $ac_cv_type_pid_t = yes; then
29817 :
29818 else
29819
29820 cat >>confdefs.h <<_ACEOF
29821 #define pid_t int
29822 _ACEOF
29823
29824 fi
29825
29826 echo "$as_me:$LINENO: checking for size_t" >&5
29827 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29828 if test "${ac_cv_type_size_t+set}" = set; then
29829 echo $ECHO_N "(cached) $ECHO_C" >&6
29830 else
29831 cat >conftest.$ac_ext <<_ACEOF
29832 /* confdefs.h. */
29833 _ACEOF
29834 cat confdefs.h >>conftest.$ac_ext
29835 cat >>conftest.$ac_ext <<_ACEOF
29836 /* end confdefs.h. */
29837 $ac_includes_default
29838 int
29839 main ()
29840 {
29841 if ((size_t *) 0)
29842 return 0;
29843 if (sizeof (size_t))
29844 return 0;
29845 ;
29846 return 0;
29847 }
29848 _ACEOF
29849 rm -f conftest.$ac_objext
29850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29851 (eval $ac_compile) 2>conftest.er1
29852 ac_status=$?
29853 grep -v '^ *+' conftest.er1 >conftest.err
29854 rm -f conftest.er1
29855 cat conftest.err >&5
29856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29857 (exit $ac_status); } &&
29858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29860 (eval $ac_try) 2>&5
29861 ac_status=$?
29862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29863 (exit $ac_status); }; } &&
29864 { ac_try='test -s conftest.$ac_objext'
29865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29866 (eval $ac_try) 2>&5
29867 ac_status=$?
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); }; }; then
29870 ac_cv_type_size_t=yes
29871 else
29872 echo "$as_me: failed program was:" >&5
29873 sed 's/^/| /' conftest.$ac_ext >&5
29874
29875 ac_cv_type_size_t=no
29876 fi
29877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29878 fi
29879 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29880 echo "${ECHO_T}$ac_cv_type_size_t" >&6
29881 if test $ac_cv_type_size_t = yes; then
29882 :
29883 else
29884
29885 cat >>confdefs.h <<_ACEOF
29886 #define size_t unsigned
29887 _ACEOF
29888
29889 fi
29890
29891 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29892 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29893 if test "${ac_cv_type_uid_t+set}" = set; then
29894 echo $ECHO_N "(cached) $ECHO_C" >&6
29895 else
29896 cat >conftest.$ac_ext <<_ACEOF
29897 /* confdefs.h. */
29898 _ACEOF
29899 cat confdefs.h >>conftest.$ac_ext
29900 cat >>conftest.$ac_ext <<_ACEOF
29901 /* end confdefs.h. */
29902 #include <sys/types.h>
29903
29904 _ACEOF
29905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29906 $EGREP "uid_t" >/dev/null 2>&1; then
29907 ac_cv_type_uid_t=yes
29908 else
29909 ac_cv_type_uid_t=no
29910 fi
29911 rm -f conftest*
29912
29913 fi
29914 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29915 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29916 if test $ac_cv_type_uid_t = no; then
29917
29918 cat >>confdefs.h <<\_ACEOF
29919 #define uid_t int
29920 _ACEOF
29921
29922
29923 cat >>confdefs.h <<\_ACEOF
29924 #define gid_t int
29925 _ACEOF
29926
29927 fi
29928
29929
29930 echo "$as_me:$LINENO: checking for ssize_t" >&5
29931 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
29932 if test "${ac_cv_type_ssize_t+set}" = set; then
29933 echo $ECHO_N "(cached) $ECHO_C" >&6
29934 else
29935 cat >conftest.$ac_ext <<_ACEOF
29936 /* confdefs.h. */
29937 _ACEOF
29938 cat confdefs.h >>conftest.$ac_ext
29939 cat >>conftest.$ac_ext <<_ACEOF
29940 /* end confdefs.h. */
29941 $ac_includes_default
29942 int
29943 main ()
29944 {
29945 if ((ssize_t *) 0)
29946 return 0;
29947 if (sizeof (ssize_t))
29948 return 0;
29949 ;
29950 return 0;
29951 }
29952 _ACEOF
29953 rm -f conftest.$ac_objext
29954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29955 (eval $ac_compile) 2>conftest.er1
29956 ac_status=$?
29957 grep -v '^ *+' conftest.er1 >conftest.err
29958 rm -f conftest.er1
29959 cat conftest.err >&5
29960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29961 (exit $ac_status); } &&
29962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29964 (eval $ac_try) 2>&5
29965 ac_status=$?
29966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29967 (exit $ac_status); }; } &&
29968 { ac_try='test -s conftest.$ac_objext'
29969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29970 (eval $ac_try) 2>&5
29971 ac_status=$?
29972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29973 (exit $ac_status); }; }; then
29974 ac_cv_type_ssize_t=yes
29975 else
29976 echo "$as_me: failed program was:" >&5
29977 sed 's/^/| /' conftest.$ac_ext >&5
29978
29979 ac_cv_type_ssize_t=no
29980 fi
29981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29982 fi
29983 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
29984 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
29985 if test $ac_cv_type_ssize_t = yes; then
29986
29987 cat >>confdefs.h <<_ACEOF
29988 #define HAVE_SSIZE_T 1
29989 _ACEOF
29990
29991
29992 fi
29993
29994
29995
29996
29997 ac_ext=cc
29998 ac_cpp='$CXXCPP $CPPFLAGS'
29999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30002
30003 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30004 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30005 if test "${wx_cv_size_t_is_uint+set}" = set; then
30006 echo $ECHO_N "(cached) $ECHO_C" >&6
30007 else
30008
30009 cat >conftest.$ac_ext <<_ACEOF
30010 /* confdefs.h. */
30011 _ACEOF
30012 cat confdefs.h >>conftest.$ac_ext
30013 cat >>conftest.$ac_ext <<_ACEOF
30014 /* end confdefs.h. */
30015 #include <stddef.h>
30016 int
30017 main ()
30018 {
30019
30020 return 0; }
30021
30022 struct Foo { void foo(size_t); void foo(unsigned int); };
30023
30024 int bar() {
30025
30026 ;
30027 return 0;
30028 }
30029 _ACEOF
30030 rm -f conftest.$ac_objext
30031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30032 (eval $ac_compile) 2>conftest.er1
30033 ac_status=$?
30034 grep -v '^ *+' conftest.er1 >conftest.err
30035 rm -f conftest.er1
30036 cat conftest.err >&5
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); } &&
30039 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30041 (eval $ac_try) 2>&5
30042 ac_status=$?
30043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); }; } &&
30045 { ac_try='test -s conftest.$ac_objext'
30046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30047 (eval $ac_try) 2>&5
30048 ac_status=$?
30049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050 (exit $ac_status); }; }; then
30051 wx_cv_size_t_is_uint=no
30052 else
30053 echo "$as_me: failed program was:" >&5
30054 sed 's/^/| /' conftest.$ac_ext >&5
30055
30056 wx_cv_size_t_is_uint=yes
30057
30058 fi
30059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30060
30061
30062 fi
30063 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30064 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30065
30066 if test "$wx_cv_size_t_is_uint" = "yes"; then
30067 cat >>confdefs.h <<\_ACEOF
30068 #define wxSIZE_T_IS_UINT 1
30069 _ACEOF
30070
30071 else
30072 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30073 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30074 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30075 echo $ECHO_N "(cached) $ECHO_C" >&6
30076 else
30077 cat >conftest.$ac_ext <<_ACEOF
30078 /* confdefs.h. */
30079 _ACEOF
30080 cat confdefs.h >>conftest.$ac_ext
30081 cat >>conftest.$ac_ext <<_ACEOF
30082 /* end confdefs.h. */
30083 #include <stddef.h>
30084 int
30085 main ()
30086 {
30087
30088 return 0; }
30089
30090 struct Foo { void foo(size_t); void foo(unsigned long); };
30091
30092 int bar() {
30093
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_cxx_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 wx_cv_size_t_is_ulong=no
30120 else
30121 echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.$ac_ext >&5
30123
30124 wx_cv_size_t_is_ulong=yes
30125
30126 fi
30127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30128
30129 fi
30130 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30131 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30132
30133 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30134 cat >>confdefs.h <<\_ACEOF
30135 #define wxSIZE_T_IS_ULONG 1
30136 _ACEOF
30137
30138 fi
30139 fi
30140
30141 ac_ext=c
30142 ac_cpp='$CPP $CPPFLAGS'
30143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30146
30147
30148
30149 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30150 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30151 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30152 echo $ECHO_N "(cached) $ECHO_C" >&6
30153 else
30154
30155 cat >conftest.$ac_ext <<_ACEOF
30156 /* confdefs.h. */
30157 _ACEOF
30158 cat confdefs.h >>conftest.$ac_ext
30159 cat >>conftest.$ac_ext <<_ACEOF
30160 /* end confdefs.h. */
30161 #include <pwd.h>
30162 int
30163 main ()
30164 {
30165
30166 char *p;
30167 struct passwd *pw;
30168 p = pw->pw_gecos;
30169
30170 ;
30171 return 0;
30172 }
30173 _ACEOF
30174 rm -f conftest.$ac_objext
30175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30176 (eval $ac_compile) 2>conftest.er1
30177 ac_status=$?
30178 grep -v '^ *+' conftest.er1 >conftest.err
30179 rm -f conftest.er1
30180 cat conftest.err >&5
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); } &&
30183 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30185 (eval $ac_try) 2>&5
30186 ac_status=$?
30187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188 (exit $ac_status); }; } &&
30189 { ac_try='test -s conftest.$ac_objext'
30190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30191 (eval $ac_try) 2>&5
30192 ac_status=$?
30193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30194 (exit $ac_status); }; }; then
30195
30196 wx_cv_struct_pw_gecos=yes
30197
30198 else
30199 echo "$as_me: failed program was:" >&5
30200 sed 's/^/| /' conftest.$ac_ext >&5
30201
30202
30203 wx_cv_struct_pw_gecos=no
30204
30205
30206 fi
30207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30208
30209
30210 fi
30211 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30212 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30213
30214 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30215 cat >>confdefs.h <<\_ACEOF
30216 #define HAVE_PW_GECOS 1
30217 _ACEOF
30218
30219 fi
30220
30221
30222 if test "$ac_cv_sizeof_wchar_t" != "0"; then
30223 cat >>confdefs.h <<\_ACEOF
30224 #define wxUSE_WCHAR_T 1
30225 _ACEOF
30226
30227
30228 WCSLEN_FOUND=0
30229 WCHAR_LINK=
30230
30231 for ac_func in wcslen
30232 do
30233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30234 echo "$as_me:$LINENO: checking for $ac_func" >&5
30235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30236 if eval "test \"\${$as_ac_var+set}\" = set"; then
30237 echo $ECHO_N "(cached) $ECHO_C" >&6
30238 else
30239 cat >conftest.$ac_ext <<_ACEOF
30240 /* confdefs.h. */
30241 _ACEOF
30242 cat confdefs.h >>conftest.$ac_ext
30243 cat >>conftest.$ac_ext <<_ACEOF
30244 /* end confdefs.h. */
30245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30247 #define $ac_func innocuous_$ac_func
30248
30249 /* System header to define __stub macros and hopefully few prototypes,
30250 which can conflict with char $ac_func (); below.
30251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30252 <limits.h> exists even on freestanding compilers. */
30253
30254 #ifdef __STDC__
30255 # include <limits.h>
30256 #else
30257 # include <assert.h>
30258 #endif
30259
30260 #undef $ac_func
30261
30262 /* Override any gcc2 internal prototype to avoid an error. */
30263 #ifdef __cplusplus
30264 extern "C"
30265 {
30266 #endif
30267 /* We use char because int might match the return type of a gcc2
30268 builtin and then its argument prototype would still apply. */
30269 char $ac_func ();
30270 /* The GNU C library defines this for functions which it implements
30271 to always fail with ENOSYS. Some functions are actually named
30272 something starting with __ and the normal name is an alias. */
30273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30274 choke me
30275 #else
30276 char (*f) () = $ac_func;
30277 #endif
30278 #ifdef __cplusplus
30279 }
30280 #endif
30281
30282 int
30283 main ()
30284 {
30285 return f != $ac_func;
30286 ;
30287 return 0;
30288 }
30289 _ACEOF
30290 rm -f conftest.$ac_objext conftest$ac_exeext
30291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30292 (eval $ac_link) 2>conftest.er1
30293 ac_status=$?
30294 grep -v '^ *+' conftest.er1 >conftest.err
30295 rm -f conftest.er1
30296 cat conftest.err >&5
30297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30298 (exit $ac_status); } &&
30299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30301 (eval $ac_try) 2>&5
30302 ac_status=$?
30303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304 (exit $ac_status); }; } &&
30305 { ac_try='test -s conftest$ac_exeext'
30306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30307 (eval $ac_try) 2>&5
30308 ac_status=$?
30309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30310 (exit $ac_status); }; }; then
30311 eval "$as_ac_var=yes"
30312 else
30313 echo "$as_me: failed program was:" >&5
30314 sed 's/^/| /' conftest.$ac_ext >&5
30315
30316 eval "$as_ac_var=no"
30317 fi
30318 rm -f conftest.err conftest.$ac_objext \
30319 conftest$ac_exeext conftest.$ac_ext
30320 fi
30321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30323 if test `eval echo '${'$as_ac_var'}'` = yes; then
30324 cat >>confdefs.h <<_ACEOF
30325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30326 _ACEOF
30327 WCSLEN_FOUND=1
30328 fi
30329 done
30330
30331
30332 if test "$WCSLEN_FOUND" = 0; then
30333 if test "$TOOLKIT" = "MSW"; then
30334 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30335 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30336 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30337 echo $ECHO_N "(cached) $ECHO_C" >&6
30338 else
30339 ac_check_lib_save_LIBS=$LIBS
30340 LIBS="-lmsvcrt $LIBS"
30341 cat >conftest.$ac_ext <<_ACEOF
30342 /* confdefs.h. */
30343 _ACEOF
30344 cat confdefs.h >>conftest.$ac_ext
30345 cat >>conftest.$ac_ext <<_ACEOF
30346 /* end confdefs.h. */
30347
30348 /* Override any gcc2 internal prototype to avoid an error. */
30349 #ifdef __cplusplus
30350 extern "C"
30351 #endif
30352 /* We use char because int might match the return type of a gcc2
30353 builtin and then its argument prototype would still apply. */
30354 char wcslen ();
30355 int
30356 main ()
30357 {
30358 wcslen ();
30359 ;
30360 return 0;
30361 }
30362 _ACEOF
30363 rm -f conftest.$ac_objext conftest$ac_exeext
30364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30365 (eval $ac_link) 2>conftest.er1
30366 ac_status=$?
30367 grep -v '^ *+' conftest.er1 >conftest.err
30368 rm -f conftest.er1
30369 cat conftest.err >&5
30370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30371 (exit $ac_status); } &&
30372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30374 (eval $ac_try) 2>&5
30375 ac_status=$?
30376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377 (exit $ac_status); }; } &&
30378 { ac_try='test -s conftest$ac_exeext'
30379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30380 (eval $ac_try) 2>&5
30381 ac_status=$?
30382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30383 (exit $ac_status); }; }; then
30384 ac_cv_lib_msvcrt_wcslen=yes
30385 else
30386 echo "$as_me: failed program was:" >&5
30387 sed 's/^/| /' conftest.$ac_ext >&5
30388
30389 ac_cv_lib_msvcrt_wcslen=no
30390 fi
30391 rm -f conftest.err conftest.$ac_objext \
30392 conftest$ac_exeext conftest.$ac_ext
30393 LIBS=$ac_check_lib_save_LIBS
30394 fi
30395 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30396 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30397 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30398 WCHAR_OK=1
30399 fi
30400
30401 else
30402 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30403 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30404 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30405 echo $ECHO_N "(cached) $ECHO_C" >&6
30406 else
30407 ac_check_lib_save_LIBS=$LIBS
30408 LIBS="-lw $LIBS"
30409 cat >conftest.$ac_ext <<_ACEOF
30410 /* confdefs.h. */
30411 _ACEOF
30412 cat confdefs.h >>conftest.$ac_ext
30413 cat >>conftest.$ac_ext <<_ACEOF
30414 /* end confdefs.h. */
30415
30416 /* Override any gcc2 internal prototype to avoid an error. */
30417 #ifdef __cplusplus
30418 extern "C"
30419 #endif
30420 /* We use char because int might match the return type of a gcc2
30421 builtin and then its argument prototype would still apply. */
30422 char wcslen ();
30423 int
30424 main ()
30425 {
30426 wcslen ();
30427 ;
30428 return 0;
30429 }
30430 _ACEOF
30431 rm -f conftest.$ac_objext conftest$ac_exeext
30432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30433 (eval $ac_link) 2>conftest.er1
30434 ac_status=$?
30435 grep -v '^ *+' conftest.er1 >conftest.err
30436 rm -f conftest.er1
30437 cat conftest.err >&5
30438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439 (exit $ac_status); } &&
30440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30442 (eval $ac_try) 2>&5
30443 ac_status=$?
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); }; } &&
30446 { ac_try='test -s conftest$ac_exeext'
30447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30448 (eval $ac_try) 2>&5
30449 ac_status=$?
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); }; }; then
30452 ac_cv_lib_w_wcslen=yes
30453 else
30454 echo "$as_me: failed program was:" >&5
30455 sed 's/^/| /' conftest.$ac_ext >&5
30456
30457 ac_cv_lib_w_wcslen=no
30458 fi
30459 rm -f conftest.err conftest.$ac_objext \
30460 conftest$ac_exeext conftest.$ac_ext
30461 LIBS=$ac_check_lib_save_LIBS
30462 fi
30463 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30464 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30465 if test $ac_cv_lib_w_wcslen = yes; then
30466
30467 WCHAR_LINK=" -lw"
30468 WCSLEN_FOUND=1
30469
30470 fi
30471
30472 fi
30473 fi
30474
30475 if test "$WCSLEN_FOUND" = 1; then
30476 cat >>confdefs.h <<\_ACEOF
30477 #define HAVE_WCSLEN 1
30478 _ACEOF
30479
30480 fi
30481
30482 if test "$USE_HPUX" = 1; then
30483 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30484 fi
30485
30486
30487 for ac_func in wcsrtombs
30488 do
30489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30490 echo "$as_me:$LINENO: checking for $ac_func" >&5
30491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30492 if eval "test \"\${$as_ac_var+set}\" = set"; then
30493 echo $ECHO_N "(cached) $ECHO_C" >&6
30494 else
30495 cat >conftest.$ac_ext <<_ACEOF
30496 /* confdefs.h. */
30497 _ACEOF
30498 cat confdefs.h >>conftest.$ac_ext
30499 cat >>conftest.$ac_ext <<_ACEOF
30500 /* end confdefs.h. */
30501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30503 #define $ac_func innocuous_$ac_func
30504
30505 /* System header to define __stub macros and hopefully few prototypes,
30506 which can conflict with char $ac_func (); below.
30507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30508 <limits.h> exists even on freestanding compilers. */
30509
30510 #ifdef __STDC__
30511 # include <limits.h>
30512 #else
30513 # include <assert.h>
30514 #endif
30515
30516 #undef $ac_func
30517
30518 /* Override any gcc2 internal prototype to avoid an error. */
30519 #ifdef __cplusplus
30520 extern "C"
30521 {
30522 #endif
30523 /* We use char because int might match the return type of a gcc2
30524 builtin and then its argument prototype would still apply. */
30525 char $ac_func ();
30526 /* The GNU C library defines this for functions which it implements
30527 to always fail with ENOSYS. Some functions are actually named
30528 something starting with __ and the normal name is an alias. */
30529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30530 choke me
30531 #else
30532 char (*f) () = $ac_func;
30533 #endif
30534 #ifdef __cplusplus
30535 }
30536 #endif
30537
30538 int
30539 main ()
30540 {
30541 return f != $ac_func;
30542 ;
30543 return 0;
30544 }
30545 _ACEOF
30546 rm -f conftest.$ac_objext conftest$ac_exeext
30547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30548 (eval $ac_link) 2>conftest.er1
30549 ac_status=$?
30550 grep -v '^ *+' conftest.er1 >conftest.err
30551 rm -f conftest.er1
30552 cat conftest.err >&5
30553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30554 (exit $ac_status); } &&
30555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30557 (eval $ac_try) 2>&5
30558 ac_status=$?
30559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30560 (exit $ac_status); }; } &&
30561 { ac_try='test -s conftest$ac_exeext'
30562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30563 (eval $ac_try) 2>&5
30564 ac_status=$?
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); }; }; then
30567 eval "$as_ac_var=yes"
30568 else
30569 echo "$as_me: failed program was:" >&5
30570 sed 's/^/| /' conftest.$ac_ext >&5
30571
30572 eval "$as_ac_var=no"
30573 fi
30574 rm -f conftest.err conftest.$ac_objext \
30575 conftest$ac_exeext conftest.$ac_ext
30576 fi
30577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30579 if test `eval echo '${'$as_ac_var'}'` = yes; then
30580 cat >>confdefs.h <<_ACEOF
30581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30582 _ACEOF
30583
30584 fi
30585 done
30586
30587 else
30588 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30589 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30590 fi
30591
30592
30593
30594 ac_ext=cc
30595 ac_cpp='$CXXCPP $CPPFLAGS'
30596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30599
30600
30601
30602 for ac_func in vsnprintf
30603 do
30604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30605 echo "$as_me:$LINENO: checking for $ac_func" >&5
30606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30607 if eval "test \"\${$as_ac_var+set}\" = set"; then
30608 echo $ECHO_N "(cached) $ECHO_C" >&6
30609 else
30610 cat >conftest.$ac_ext <<_ACEOF
30611 /* confdefs.h. */
30612 _ACEOF
30613 cat confdefs.h >>conftest.$ac_ext
30614 cat >>conftest.$ac_ext <<_ACEOF
30615 /* end confdefs.h. */
30616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30618 #define $ac_func innocuous_$ac_func
30619
30620 /* System header to define __stub macros and hopefully few prototypes,
30621 which can conflict with char $ac_func (); below.
30622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30623 <limits.h> exists even on freestanding compilers. */
30624
30625 #ifdef __STDC__
30626 # include <limits.h>
30627 #else
30628 # include <assert.h>
30629 #endif
30630
30631 #undef $ac_func
30632
30633 /* Override any gcc2 internal prototype to avoid an error. */
30634 #ifdef __cplusplus
30635 extern "C"
30636 {
30637 #endif
30638 /* We use char because int might match the return type of a gcc2
30639 builtin and then its argument prototype would still apply. */
30640 char $ac_func ();
30641 /* The GNU C library defines this for functions which it implements
30642 to always fail with ENOSYS. Some functions are actually named
30643 something starting with __ and the normal name is an alias. */
30644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30645 choke me
30646 #else
30647 char (*f) () = $ac_func;
30648 #endif
30649 #ifdef __cplusplus
30650 }
30651 #endif
30652
30653 int
30654 main ()
30655 {
30656 return f != $ac_func;
30657 ;
30658 return 0;
30659 }
30660 _ACEOF
30661 rm -f conftest.$ac_objext conftest$ac_exeext
30662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30663 (eval $ac_link) 2>conftest.er1
30664 ac_status=$?
30665 grep -v '^ *+' conftest.er1 >conftest.err
30666 rm -f conftest.er1
30667 cat conftest.err >&5
30668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669 (exit $ac_status); } &&
30670 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30672 (eval $ac_try) 2>&5
30673 ac_status=$?
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); }; } &&
30676 { ac_try='test -s conftest$ac_exeext'
30677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30678 (eval $ac_try) 2>&5
30679 ac_status=$?
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); }; }; then
30682 eval "$as_ac_var=yes"
30683 else
30684 echo "$as_me: failed program was:" >&5
30685 sed 's/^/| /' conftest.$ac_ext >&5
30686
30687 eval "$as_ac_var=no"
30688 fi
30689 rm -f conftest.err conftest.$ac_objext \
30690 conftest$ac_exeext conftest.$ac_ext
30691 fi
30692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30694 if test `eval echo '${'$as_ac_var'}'` = yes; then
30695 cat >>confdefs.h <<_ACEOF
30696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30697 _ACEOF
30698
30699 fi
30700 done
30701
30702
30703 if test "$ac_cv_func_vsnprintf" = "yes"; then
30704 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30705 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30706 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30707 echo $ECHO_N "(cached) $ECHO_C" >&6
30708 else
30709
30710 cat >conftest.$ac_ext <<_ACEOF
30711 /* confdefs.h. */
30712 _ACEOF
30713 cat confdefs.h >>conftest.$ac_ext
30714 cat >>conftest.$ac_ext <<_ACEOF
30715 /* end confdefs.h. */
30716
30717 #include <stdio.h>
30718 #include <stdarg.h>
30719
30720 int
30721 main ()
30722 {
30723
30724 char *buf;
30725 va_list ap;
30726 vsnprintf(buf, 10u, "%s", ap);
30727
30728 ;
30729 return 0;
30730 }
30731 _ACEOF
30732 rm -f conftest.$ac_objext
30733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30734 (eval $ac_compile) 2>conftest.er1
30735 ac_status=$?
30736 grep -v '^ *+' conftest.er1 >conftest.err
30737 rm -f conftest.er1
30738 cat conftest.err >&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); } &&
30741 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30743 (eval $ac_try) 2>&5
30744 ac_status=$?
30745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30746 (exit $ac_status); }; } &&
30747 { ac_try='test -s conftest.$ac_objext'
30748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30749 (eval $ac_try) 2>&5
30750 ac_status=$?
30751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30752 (exit $ac_status); }; }; then
30753 wx_cv_func_vsnprintf_decl=yes
30754 else
30755 echo "$as_me: failed program was:" >&5
30756 sed 's/^/| /' conftest.$ac_ext >&5
30757
30758
30759 cat >conftest.$ac_ext <<_ACEOF
30760 /* confdefs.h. */
30761 _ACEOF
30762 cat confdefs.h >>conftest.$ac_ext
30763 cat >>conftest.$ac_ext <<_ACEOF
30764 /* end confdefs.h. */
30765
30766 #include <stdio.h>
30767 #include <stdarg.h>
30768 using namespace std;
30769
30770 int
30771 main ()
30772 {
30773
30774 char *buf;
30775 va_list ap;
30776 vsnprintf(buf, 10u, "%s", ap);
30777
30778 ;
30779 return 0;
30780 }
30781 _ACEOF
30782 rm -f conftest.$ac_objext
30783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30784 (eval $ac_compile) 2>conftest.er1
30785 ac_status=$?
30786 grep -v '^ *+' conftest.er1 >conftest.err
30787 rm -f conftest.er1
30788 cat conftest.err >&5
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); } &&
30791 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30793 (eval $ac_try) 2>&5
30794 ac_status=$?
30795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30796 (exit $ac_status); }; } &&
30797 { ac_try='test -s conftest.$ac_objext'
30798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30799 (eval $ac_try) 2>&5
30800 ac_status=$?
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); }; }; then
30803 wx_cv_func_vsnprintf_decl=yes
30804 else
30805 echo "$as_me: failed program was:" >&5
30806 sed 's/^/| /' conftest.$ac_ext >&5
30807
30808 wx_cv_func_vsnprintf_decl=no
30809
30810 fi
30811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30812
30813
30814 fi
30815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30816
30817
30818 fi
30819 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
30820 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
30821
30822 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30823 cat >>confdefs.h <<\_ACEOF
30824 #define HAVE_VSNPRINTF_DECL 1
30825 _ACEOF
30826
30827 fi
30828 fi
30829
30830 if test "$wxUSE_UNICODE" = yes; then
30831
30832
30833
30834
30835
30836
30837 for ac_func in wputc wputchar putws fputws wprintf vswprintf
30838 do
30839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30840 echo "$as_me:$LINENO: checking for $ac_func" >&5
30841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30842 if eval "test \"\${$as_ac_var+set}\" = set"; then
30843 echo $ECHO_N "(cached) $ECHO_C" >&6
30844 else
30845 cat >conftest.$ac_ext <<_ACEOF
30846 /* confdefs.h. */
30847 _ACEOF
30848 cat confdefs.h >>conftest.$ac_ext
30849 cat >>conftest.$ac_ext <<_ACEOF
30850 /* end confdefs.h. */
30851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30853 #define $ac_func innocuous_$ac_func
30854
30855 /* System header to define __stub macros and hopefully few prototypes,
30856 which can conflict with char $ac_func (); below.
30857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30858 <limits.h> exists even on freestanding compilers. */
30859
30860 #ifdef __STDC__
30861 # include <limits.h>
30862 #else
30863 # include <assert.h>
30864 #endif
30865
30866 #undef $ac_func
30867
30868 /* Override any gcc2 internal prototype to avoid an error. */
30869 #ifdef __cplusplus
30870 extern "C"
30871 {
30872 #endif
30873 /* We use char because int might match the return type of a gcc2
30874 builtin and then its argument prototype would still apply. */
30875 char $ac_func ();
30876 /* The GNU C library defines this for functions which it implements
30877 to always fail with ENOSYS. Some functions are actually named
30878 something starting with __ and the normal name is an alias. */
30879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30880 choke me
30881 #else
30882 char (*f) () = $ac_func;
30883 #endif
30884 #ifdef __cplusplus
30885 }
30886 #endif
30887
30888 int
30889 main ()
30890 {
30891 return f != $ac_func;
30892 ;
30893 return 0;
30894 }
30895 _ACEOF
30896 rm -f conftest.$ac_objext conftest$ac_exeext
30897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30898 (eval $ac_link) 2>conftest.er1
30899 ac_status=$?
30900 grep -v '^ *+' conftest.er1 >conftest.err
30901 rm -f conftest.er1
30902 cat conftest.err >&5
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); } &&
30905 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30907 (eval $ac_try) 2>&5
30908 ac_status=$?
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; } &&
30911 { ac_try='test -s conftest$ac_exeext'
30912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30913 (eval $ac_try) 2>&5
30914 ac_status=$?
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); }; }; then
30917 eval "$as_ac_var=yes"
30918 else
30919 echo "$as_me: failed program was:" >&5
30920 sed 's/^/| /' conftest.$ac_ext >&5
30921
30922 eval "$as_ac_var=no"
30923 fi
30924 rm -f conftest.err conftest.$ac_objext \
30925 conftest$ac_exeext conftest.$ac_ext
30926 fi
30927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30929 if test `eval echo '${'$as_ac_var'}'` = yes; then
30930 cat >>confdefs.h <<_ACEOF
30931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30932 _ACEOF
30933
30934 fi
30935 done
30936
30937
30938 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30939 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30940 cat >conftest.$ac_ext <<_ACEOF
30941 /* confdefs.h. */
30942 _ACEOF
30943 cat confdefs.h >>conftest.$ac_ext
30944 cat >>conftest.$ac_ext <<_ACEOF
30945 /* end confdefs.h. */
30946 #include <wchar.h>
30947 int
30948 main ()
30949 {
30950 &_vsnwprintf;
30951 ;
30952 return 0;
30953 }
30954 _ACEOF
30955 rm -f conftest.$ac_objext
30956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30957 (eval $ac_compile) 2>conftest.er1
30958 ac_status=$?
30959 grep -v '^ *+' conftest.er1 >conftest.err
30960 rm -f conftest.er1
30961 cat conftest.err >&5
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); } &&
30964 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30966 (eval $ac_try) 2>&5
30967 ac_status=$?
30968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30969 (exit $ac_status); }; } &&
30970 { ac_try='test -s conftest.$ac_objext'
30971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30972 (eval $ac_try) 2>&5
30973 ac_status=$?
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); }; }; then
30976 echo "$as_me:$LINENO: result: yes" >&5
30977 echo "${ECHO_T}yes" >&6
30978 cat >>confdefs.h <<\_ACEOF
30979 #define HAVE__VSNWPRINTF 1
30980 _ACEOF
30981
30982 else
30983 echo "$as_me: failed program was:" >&5
30984 sed 's/^/| /' conftest.$ac_ext >&5
30985
30986 echo "$as_me:$LINENO: result: no" >&5
30987 echo "${ECHO_T}no" >&6
30988 fi
30989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
30990 fi
30991
30992 ac_ext=c
30993 ac_cpp='$CPP $CPPFLAGS'
30994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30997
30998
30999
31000
31001 if test "$TOOLKIT" != "MSW"; then
31002
31003
31004
31005
31006 ac_ext=cc
31007 ac_cpp='$CXXCPP $CPPFLAGS'
31008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31011
31012
31013
31014
31015 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31016 if test "${with_libiconv_prefix+set}" = set; then
31017 withval="$with_libiconv_prefix"
31018
31019 for dir in `echo "$withval" | tr : ' '`; do
31020 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
31021 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
31022 done
31023
31024 fi;
31025
31026 echo "$as_me:$LINENO: checking for iconv" >&5
31027 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31028 if test "${am_cv_func_iconv+set}" = set; then
31029 echo $ECHO_N "(cached) $ECHO_C" >&6
31030 else
31031
31032 am_cv_func_iconv="no, consider installing GNU libiconv"
31033 am_cv_lib_iconv=no
31034 cat >conftest.$ac_ext <<_ACEOF
31035 /* confdefs.h. */
31036 _ACEOF
31037 cat confdefs.h >>conftest.$ac_ext
31038 cat >>conftest.$ac_ext <<_ACEOF
31039 /* end confdefs.h. */
31040 #include <stdlib.h>
31041 #include <iconv.h>
31042 int
31043 main ()
31044 {
31045 iconv_t cd = iconv_open("","");
31046 iconv(cd,NULL,NULL,NULL,NULL);
31047 iconv_close(cd);
31048 ;
31049 return 0;
31050 }
31051 _ACEOF
31052 rm -f conftest.$ac_objext conftest$ac_exeext
31053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31054 (eval $ac_link) 2>conftest.er1
31055 ac_status=$?
31056 grep -v '^ *+' conftest.er1 >conftest.err
31057 rm -f conftest.er1
31058 cat conftest.err >&5
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); } &&
31061 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31063 (eval $ac_try) 2>&5
31064 ac_status=$?
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); }; } &&
31067 { ac_try='test -s conftest$ac_exeext'
31068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31069 (eval $ac_try) 2>&5
31070 ac_status=$?
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); }; }; then
31073 am_cv_func_iconv=yes
31074 else
31075 echo "$as_me: failed program was:" >&5
31076 sed 's/^/| /' conftest.$ac_ext >&5
31077
31078 fi
31079 rm -f conftest.err conftest.$ac_objext \
31080 conftest$ac_exeext conftest.$ac_ext
31081 if test "$am_cv_func_iconv" != yes; then
31082 am_save_LIBS="$LIBS"
31083 LIBS="$LIBS -liconv"
31084 cat >conftest.$ac_ext <<_ACEOF
31085 /* confdefs.h. */
31086 _ACEOF
31087 cat confdefs.h >>conftest.$ac_ext
31088 cat >>conftest.$ac_ext <<_ACEOF
31089 /* end confdefs.h. */
31090 #include <stdlib.h>
31091 #include <iconv.h>
31092 int
31093 main ()
31094 {
31095 iconv_t cd = iconv_open("","");
31096 iconv(cd,NULL,NULL,NULL,NULL);
31097 iconv_close(cd);
31098 ;
31099 return 0;
31100 }
31101 _ACEOF
31102 rm -f conftest.$ac_objext conftest$ac_exeext
31103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31104 (eval $ac_link) 2>conftest.er1
31105 ac_status=$?
31106 grep -v '^ *+' conftest.er1 >conftest.err
31107 rm -f conftest.er1
31108 cat conftest.err >&5
31109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31110 (exit $ac_status); } &&
31111 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31113 (eval $ac_try) 2>&5
31114 ac_status=$?
31115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116 (exit $ac_status); }; } &&
31117 { ac_try='test -s conftest$ac_exeext'
31118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31119 (eval $ac_try) 2>&5
31120 ac_status=$?
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); }; }; then
31123 am_cv_lib_iconv=yes
31124 am_cv_func_iconv=yes
31125 else
31126 echo "$as_me: failed program was:" >&5
31127 sed 's/^/| /' conftest.$ac_ext >&5
31128
31129 fi
31130 rm -f conftest.err conftest.$ac_objext \
31131 conftest$ac_exeext conftest.$ac_ext
31132 LIBS="$am_save_LIBS"
31133 fi
31134
31135 fi
31136 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31137 echo "${ECHO_T}$am_cv_func_iconv" >&6
31138 if test "$am_cv_func_iconv" = yes; then
31139
31140 cat >>confdefs.h <<\_ACEOF
31141 #define HAVE_ICONV 1
31142 _ACEOF
31143
31144 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31145 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31146 if test "${wx_cv_func_iconv_const+set}" = set; then
31147 echo $ECHO_N "(cached) $ECHO_C" >&6
31148 else
31149 cat >conftest.$ac_ext <<_ACEOF
31150 /* confdefs.h. */
31151 _ACEOF
31152 cat confdefs.h >>conftest.$ac_ext
31153 cat >>conftest.$ac_ext <<_ACEOF
31154 /* end confdefs.h. */
31155
31156 #include <stdlib.h>
31157 #include <iconv.h>
31158 extern
31159 #ifdef __cplusplus
31160 "C"
31161 #endif
31162 #if defined(__STDC__) || defined(__cplusplus)
31163 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31164 #else
31165 size_t iconv();
31166 #endif
31167
31168 int
31169 main ()
31170 {
31171
31172 ;
31173 return 0;
31174 }
31175 _ACEOF
31176 rm -f conftest.$ac_objext
31177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31178 (eval $ac_compile) 2>conftest.er1
31179 ac_status=$?
31180 grep -v '^ *+' conftest.er1 >conftest.err
31181 rm -f conftest.er1
31182 cat conftest.err >&5
31183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31184 (exit $ac_status); } &&
31185 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31187 (eval $ac_try) 2>&5
31188 ac_status=$?
31189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190 (exit $ac_status); }; } &&
31191 { ac_try='test -s conftest.$ac_objext'
31192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31193 (eval $ac_try) 2>&5
31194 ac_status=$?
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); }; }; then
31197 wx_cv_func_iconv_const="no"
31198 else
31199 echo "$as_me: failed program was:" >&5
31200 sed 's/^/| /' conftest.$ac_ext >&5
31201
31202 wx_cv_func_iconv_const="yes"
31203
31204 fi
31205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31206
31207 fi
31208 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31209 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31210
31211 iconv_const=
31212 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31213 iconv_const="const"
31214 fi
31215
31216
31217 cat >>confdefs.h <<_ACEOF
31218 #define ICONV_CONST $iconv_const
31219 _ACEOF
31220
31221 fi
31222 LIBICONV=
31223 if test "$am_cv_lib_iconv" = yes; then
31224 LIBICONV="-liconv"
31225 fi
31226
31227
31228 LIBS="$LIBICONV $LIBS"
31229 ac_ext=c
31230 ac_cpp='$CPP $CPPFLAGS'
31231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31234
31235
31236 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31237
31238 for ac_func in sigaction
31239 do
31240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31241 echo "$as_me:$LINENO: checking for $ac_func" >&5
31242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31243 if eval "test \"\${$as_ac_var+set}\" = set"; then
31244 echo $ECHO_N "(cached) $ECHO_C" >&6
31245 else
31246 cat >conftest.$ac_ext <<_ACEOF
31247 /* confdefs.h. */
31248 _ACEOF
31249 cat confdefs.h >>conftest.$ac_ext
31250 cat >>conftest.$ac_ext <<_ACEOF
31251 /* end confdefs.h. */
31252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31254 #define $ac_func innocuous_$ac_func
31255
31256 /* System header to define __stub macros and hopefully few prototypes,
31257 which can conflict with char $ac_func (); below.
31258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31259 <limits.h> exists even on freestanding compilers. */
31260
31261 #ifdef __STDC__
31262 # include <limits.h>
31263 #else
31264 # include <assert.h>
31265 #endif
31266
31267 #undef $ac_func
31268
31269 /* Override any gcc2 internal prototype to avoid an error. */
31270 #ifdef __cplusplus
31271 extern "C"
31272 {
31273 #endif
31274 /* We use char because int might match the return type of a gcc2
31275 builtin and then its argument prototype would still apply. */
31276 char $ac_func ();
31277 /* The GNU C library defines this for functions which it implements
31278 to always fail with ENOSYS. Some functions are actually named
31279 something starting with __ and the normal name is an alias. */
31280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31281 choke me
31282 #else
31283 char (*f) () = $ac_func;
31284 #endif
31285 #ifdef __cplusplus
31286 }
31287 #endif
31288
31289 int
31290 main ()
31291 {
31292 return f != $ac_func;
31293 ;
31294 return 0;
31295 }
31296 _ACEOF
31297 rm -f conftest.$ac_objext conftest$ac_exeext
31298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31299 (eval $ac_link) 2>conftest.er1
31300 ac_status=$?
31301 grep -v '^ *+' conftest.er1 >conftest.err
31302 rm -f conftest.er1
31303 cat conftest.err >&5
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); } &&
31306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31308 (eval $ac_try) 2>&5
31309 ac_status=$?
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); }; } &&
31312 { ac_try='test -s conftest$ac_exeext'
31313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31314 (eval $ac_try) 2>&5
31315 ac_status=$?
31316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31317 (exit $ac_status); }; }; then
31318 eval "$as_ac_var=yes"
31319 else
31320 echo "$as_me: failed program was:" >&5
31321 sed 's/^/| /' conftest.$ac_ext >&5
31322
31323 eval "$as_ac_var=no"
31324 fi
31325 rm -f conftest.err conftest.$ac_objext \
31326 conftest$ac_exeext conftest.$ac_ext
31327 fi
31328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31330 if test `eval echo '${'$as_ac_var'}'` = yes; then
31331 cat >>confdefs.h <<_ACEOF
31332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31333 _ACEOF
31334
31335 fi
31336 done
31337
31338
31339 if test "$ac_cv_func_sigaction" = "no"; then
31340 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31341 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31342 wxUSE_ON_FATAL_EXCEPTION=no
31343 fi
31344
31345 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31346
31347
31348 ac_ext=cc
31349 ac_cpp='$CXXCPP $CPPFLAGS'
31350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31353
31354
31355 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31356 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31357 if test "${wx_cv_type_sa_handler+set}" = set; then
31358 echo $ECHO_N "(cached) $ECHO_C" >&6
31359 else
31360
31361 cat >conftest.$ac_ext <<_ACEOF
31362 /* confdefs.h. */
31363 _ACEOF
31364 cat confdefs.h >>conftest.$ac_ext
31365 cat >>conftest.$ac_ext <<_ACEOF
31366 /* end confdefs.h. */
31367 #include <signal.h>
31368 int
31369 main ()
31370 {
31371
31372 extern void testSigHandler(int);
31373
31374 struct sigaction sa;
31375 sa.sa_handler = testSigHandler;
31376
31377 ;
31378 return 0;
31379 }
31380 _ACEOF
31381 rm -f conftest.$ac_objext
31382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31383 (eval $ac_compile) 2>conftest.er1
31384 ac_status=$?
31385 grep -v '^ *+' conftest.er1 >conftest.err
31386 rm -f conftest.er1
31387 cat conftest.err >&5
31388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31389 (exit $ac_status); } &&
31390 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31392 (eval $ac_try) 2>&5
31393 ac_status=$?
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); }; } &&
31396 { ac_try='test -s conftest.$ac_objext'
31397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31398 (eval $ac_try) 2>&5
31399 ac_status=$?
31400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401 (exit $ac_status); }; }; then
31402
31403 wx_cv_type_sa_handler=int
31404
31405 else
31406 echo "$as_me: failed program was:" >&5
31407 sed 's/^/| /' conftest.$ac_ext >&5
31408
31409
31410 wx_cv_type_sa_handler=void
31411
31412 fi
31413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31414
31415 fi
31416 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31417 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31418
31419 ac_ext=c
31420 ac_cpp='$CPP $CPPFLAGS'
31421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31424
31425
31426 cat >>confdefs.h <<_ACEOF
31427 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31428 _ACEOF
31429
31430 fi
31431 fi
31432
31433 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31434
31435
31436 ac_ext=cc
31437 ac_cpp='$CXXCPP $CPPFLAGS'
31438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31441
31442
31443 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31444 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31445 if test "${wx_cv_func_backtrace+set}" = set; then
31446 echo $ECHO_N "(cached) $ECHO_C" >&6
31447 else
31448
31449 cat >conftest.$ac_ext <<_ACEOF
31450 /* confdefs.h. */
31451 _ACEOF
31452 cat confdefs.h >>conftest.$ac_ext
31453 cat >>conftest.$ac_ext <<_ACEOF
31454 /* end confdefs.h. */
31455 #include <execinfo.h>
31456 int
31457 main ()
31458 {
31459
31460 void *trace[1];
31461 char **messages;
31462
31463 backtrace(trace, 1);
31464 messages = backtrace_symbols(trace, 1);
31465
31466 ;
31467 return 0;
31468 }
31469 _ACEOF
31470 rm -f conftest.$ac_objext
31471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31472 (eval $ac_compile) 2>conftest.er1
31473 ac_status=$?
31474 grep -v '^ *+' conftest.er1 >conftest.err
31475 rm -f conftest.er1
31476 cat conftest.err >&5
31477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478 (exit $ac_status); } &&
31479 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31481 (eval $ac_try) 2>&5
31482 ac_status=$?
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); }; } &&
31485 { ac_try='test -s conftest.$ac_objext'
31486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31487 (eval $ac_try) 2>&5
31488 ac_status=$?
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); }; }; then
31491 wx_cv_func_backtrace=yes
31492 else
31493 echo "$as_me: failed program was:" >&5
31494 sed 's/^/| /' conftest.$ac_ext >&5
31495
31496 wx_cv_func_backtrace=no
31497
31498 fi
31499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31500
31501
31502 fi
31503 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31504 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31505
31506
31507 if test "$wx_cv_func_backtrace" = "no"; then
31508 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31509 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31510 wxUSE_STACKWALKER=no
31511 else
31512 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31513 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31514 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31515 echo $ECHO_N "(cached) $ECHO_C" >&6
31516 else
31517
31518 cat >conftest.$ac_ext <<_ACEOF
31519 /* confdefs.h. */
31520 _ACEOF
31521 cat confdefs.h >>conftest.$ac_ext
31522 cat >>conftest.$ac_ext <<_ACEOF
31523 /* end confdefs.h. */
31524 #include <cxxabi.h>
31525 int
31526 main ()
31527 {
31528
31529 int rc;
31530 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31531
31532 ;
31533 return 0;
31534 }
31535 _ACEOF
31536 rm -f conftest.$ac_objext
31537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31538 (eval $ac_compile) 2>conftest.er1
31539 ac_status=$?
31540 grep -v '^ *+' conftest.er1 >conftest.err
31541 rm -f conftest.er1
31542 cat conftest.err >&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); } &&
31545 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31547 (eval $ac_try) 2>&5
31548 ac_status=$?
31549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31550 (exit $ac_status); }; } &&
31551 { ac_try='test -s conftest.$ac_objext'
31552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31553 (eval $ac_try) 2>&5
31554 ac_status=$?
31555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31556 (exit $ac_status); }; }; then
31557 wx_cv_func_cxa_demangle=yes
31558 else
31559 echo "$as_me: failed program was:" >&5
31560 sed 's/^/| /' conftest.$ac_ext >&5
31561
31562 wx_cv_func_cxa_demangle=no
31563
31564 fi
31565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31566
31567
31568 fi
31569 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31570 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31571
31572 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31573 cat >>confdefs.h <<\_ACEOF
31574 #define HAVE_CXA_DEMANGLE 1
31575 _ACEOF
31576
31577 fi
31578 fi
31579
31580 ac_ext=c
31581 ac_cpp='$CPP $CPPFLAGS'
31582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31585
31586 fi
31587
31588
31589
31590 for ac_func in mkstemp mktemp
31591 do
31592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31593 echo "$as_me:$LINENO: checking for $ac_func" >&5
31594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31595 if eval "test \"\${$as_ac_var+set}\" = set"; then
31596 echo $ECHO_N "(cached) $ECHO_C" >&6
31597 else
31598 cat >conftest.$ac_ext <<_ACEOF
31599 /* confdefs.h. */
31600 _ACEOF
31601 cat confdefs.h >>conftest.$ac_ext
31602 cat >>conftest.$ac_ext <<_ACEOF
31603 /* end confdefs.h. */
31604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31606 #define $ac_func innocuous_$ac_func
31607
31608 /* System header to define __stub macros and hopefully few prototypes,
31609 which can conflict with char $ac_func (); below.
31610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31611 <limits.h> exists even on freestanding compilers. */
31612
31613 #ifdef __STDC__
31614 # include <limits.h>
31615 #else
31616 # include <assert.h>
31617 #endif
31618
31619 #undef $ac_func
31620
31621 /* Override any gcc2 internal prototype to avoid an error. */
31622 #ifdef __cplusplus
31623 extern "C"
31624 {
31625 #endif
31626 /* We use char because int might match the return type of a gcc2
31627 builtin and then its argument prototype would still apply. */
31628 char $ac_func ();
31629 /* The GNU C library defines this for functions which it implements
31630 to always fail with ENOSYS. Some functions are actually named
31631 something starting with __ and the normal name is an alias. */
31632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31633 choke me
31634 #else
31635 char (*f) () = $ac_func;
31636 #endif
31637 #ifdef __cplusplus
31638 }
31639 #endif
31640
31641 int
31642 main ()
31643 {
31644 return f != $ac_func;
31645 ;
31646 return 0;
31647 }
31648 _ACEOF
31649 rm -f conftest.$ac_objext conftest$ac_exeext
31650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31651 (eval $ac_link) 2>conftest.er1
31652 ac_status=$?
31653 grep -v '^ *+' conftest.er1 >conftest.err
31654 rm -f conftest.er1
31655 cat conftest.err >&5
31656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31657 (exit $ac_status); } &&
31658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31660 (eval $ac_try) 2>&5
31661 ac_status=$?
31662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31663 (exit $ac_status); }; } &&
31664 { ac_try='test -s conftest$ac_exeext'
31665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31666 (eval $ac_try) 2>&5
31667 ac_status=$?
31668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31669 (exit $ac_status); }; }; then
31670 eval "$as_ac_var=yes"
31671 else
31672 echo "$as_me: failed program was:" >&5
31673 sed 's/^/| /' conftest.$ac_ext >&5
31674
31675 eval "$as_ac_var=no"
31676 fi
31677 rm -f conftest.err conftest.$ac_objext \
31678 conftest$ac_exeext conftest.$ac_ext
31679 fi
31680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31682 if test `eval echo '${'$as_ac_var'}'` = yes; then
31683 cat >>confdefs.h <<_ACEOF
31684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31685 _ACEOF
31686 break
31687 fi
31688 done
31689
31690
31691 echo "$as_me:$LINENO: checking for statfs" >&5
31692 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31693 if test "${wx_cv_func_statfs+set}" = set; then
31694 echo $ECHO_N "(cached) $ECHO_C" >&6
31695 else
31696 cat >conftest.$ac_ext <<_ACEOF
31697 /* confdefs.h. */
31698 _ACEOF
31699 cat confdefs.h >>conftest.$ac_ext
31700 cat >>conftest.$ac_ext <<_ACEOF
31701 /* end confdefs.h. */
31702
31703 #if defined(__BSD__)
31704 #include <sys/param.h>
31705 #include <sys/mount.h>
31706 #else
31707 #include <sys/vfs.h>
31708 #endif
31709
31710 int
31711 main ()
31712 {
31713
31714 long l;
31715 struct statfs fs;
31716 statfs("/", &fs);
31717 l = fs.f_bsize;
31718 l += fs.f_blocks;
31719 l += fs.f_bavail;
31720
31721 ;
31722 return 0;
31723 }
31724 _ACEOF
31725 rm -f conftest.$ac_objext
31726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31727 (eval $ac_compile) 2>conftest.er1
31728 ac_status=$?
31729 grep -v '^ *+' conftest.er1 >conftest.err
31730 rm -f conftest.er1
31731 cat conftest.err >&5
31732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733 (exit $ac_status); } &&
31734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31736 (eval $ac_try) 2>&5
31737 ac_status=$?
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); }; } &&
31740 { ac_try='test -s conftest.$ac_objext'
31741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31742 (eval $ac_try) 2>&5
31743 ac_status=$?
31744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745 (exit $ac_status); }; }; then
31746
31747 wx_cv_func_statfs=yes
31748
31749 else
31750 echo "$as_me: failed program was:" >&5
31751 sed 's/^/| /' conftest.$ac_ext >&5
31752
31753
31754 wx_cv_func_statfs=no
31755
31756
31757 fi
31758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31759
31760 fi
31761 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
31762 echo "${ECHO_T}$wx_cv_func_statfs" >&6
31763
31764 if test "$wx_cv_func_statfs" = "yes"; then
31765 wx_cv_type_statvfs_t="struct statfs"
31766 cat >>confdefs.h <<\_ACEOF
31767 #define HAVE_STATFS 1
31768 _ACEOF
31769
31770 else
31771 echo "$as_me:$LINENO: checking for statvfs" >&5
31772 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
31773 if test "${wx_cv_func_statvfs+set}" = set; then
31774 echo $ECHO_N "(cached) $ECHO_C" >&6
31775 else
31776 cat >conftest.$ac_ext <<_ACEOF
31777 /* confdefs.h. */
31778 _ACEOF
31779 cat confdefs.h >>conftest.$ac_ext
31780 cat >>conftest.$ac_ext <<_ACEOF
31781 /* end confdefs.h. */
31782
31783 #include <stddef.h>
31784 #include <sys/statvfs.h>
31785
31786 int
31787 main ()
31788 {
31789
31790 statvfs("/", NULL);
31791
31792 ;
31793 return 0;
31794 }
31795 _ACEOF
31796 rm -f conftest.$ac_objext
31797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31798 (eval $ac_compile) 2>conftest.er1
31799 ac_status=$?
31800 grep -v '^ *+' conftest.er1 >conftest.err
31801 rm -f conftest.er1
31802 cat conftest.err >&5
31803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31804 (exit $ac_status); } &&
31805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31807 (eval $ac_try) 2>&5
31808 ac_status=$?
31809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31810 (exit $ac_status); }; } &&
31811 { ac_try='test -s conftest.$ac_objext'
31812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31813 (eval $ac_try) 2>&5
31814 ac_status=$?
31815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31816 (exit $ac_status); }; }; then
31817 wx_cv_func_statvfs=yes
31818 else
31819 echo "$as_me: failed program was:" >&5
31820 sed 's/^/| /' conftest.$ac_ext >&5
31821
31822 wx_cv_func_statvfs=no
31823
31824 fi
31825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31826
31827 fi
31828 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
31829 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
31830
31831 if test "$wx_cv_func_statvfs" = "yes"; then
31832
31833
31834 ac_ext=cc
31835 ac_cpp='$CXXCPP $CPPFLAGS'
31836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31839
31840
31841 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
31842 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
31843 if test "${wx_cv_type_statvfs_t+set}" = set; then
31844 echo $ECHO_N "(cached) $ECHO_C" >&6
31845 else
31846 cat >conftest.$ac_ext <<_ACEOF
31847 /* confdefs.h. */
31848 _ACEOF
31849 cat confdefs.h >>conftest.$ac_ext
31850 cat >>conftest.$ac_ext <<_ACEOF
31851 /* end confdefs.h. */
31852
31853 #include <sys/statvfs.h>
31854
31855 int
31856 main ()
31857 {
31858
31859 long l;
31860 statvfs_t fs;
31861 statvfs("/", &fs);
31862 l = fs.f_bsize;
31863 l += fs.f_blocks;
31864 l += fs.f_bavail;
31865
31866 ;
31867 return 0;
31868 }
31869 _ACEOF
31870 rm -f conftest.$ac_objext
31871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31872 (eval $ac_compile) 2>conftest.er1
31873 ac_status=$?
31874 grep -v '^ *+' conftest.er1 >conftest.err
31875 rm -f conftest.er1
31876 cat conftest.err >&5
31877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31878 (exit $ac_status); } &&
31879 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31881 (eval $ac_try) 2>&5
31882 ac_status=$?
31883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31884 (exit $ac_status); }; } &&
31885 { ac_try='test -s conftest.$ac_objext'
31886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31887 (eval $ac_try) 2>&5
31888 ac_status=$?
31889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31890 (exit $ac_status); }; }; then
31891 wx_cv_type_statvfs_t=statvfs_t
31892 else
31893 echo "$as_me: failed program was:" >&5
31894 sed 's/^/| /' conftest.$ac_ext >&5
31895
31896
31897 cat >conftest.$ac_ext <<_ACEOF
31898 /* confdefs.h. */
31899 _ACEOF
31900 cat confdefs.h >>conftest.$ac_ext
31901 cat >>conftest.$ac_ext <<_ACEOF
31902 /* end confdefs.h. */
31903
31904 #include <sys/statvfs.h>
31905
31906 int
31907 main ()
31908 {
31909
31910 long l;
31911 struct statvfs fs;
31912 statvfs("/", &fs);
31913 l = fs.f_bsize;
31914 l += fs.f_blocks;
31915 l += fs.f_bavail;
31916
31917 ;
31918 return 0;
31919 }
31920 _ACEOF
31921 rm -f conftest.$ac_objext
31922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31923 (eval $ac_compile) 2>conftest.er1
31924 ac_status=$?
31925 grep -v '^ *+' conftest.er1 >conftest.err
31926 rm -f conftest.er1
31927 cat conftest.err >&5
31928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31929 (exit $ac_status); } &&
31930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31932 (eval $ac_try) 2>&5
31933 ac_status=$?
31934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31935 (exit $ac_status); }; } &&
31936 { ac_try='test -s conftest.$ac_objext'
31937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31938 (eval $ac_try) 2>&5
31939 ac_status=$?
31940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941 (exit $ac_status); }; }; then
31942 wx_cv_type_statvfs_t="struct statvfs"
31943 else
31944 echo "$as_me: failed program was:" >&5
31945 sed 's/^/| /' conftest.$ac_ext >&5
31946
31947 wx_cv_type_statvfs_t="unknown"
31948
31949 fi
31950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31951
31952
31953 fi
31954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31955
31956 fi
31957 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31958 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31959
31960 ac_ext=c
31961 ac_cpp='$CPP $CPPFLAGS'
31962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31965
31966
31967 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31968 cat >>confdefs.h <<\_ACEOF
31969 #define HAVE_STATVFS 1
31970 _ACEOF
31971
31972 fi
31973 else
31974 wx_cv_type_statvfs_t="unknown"
31975 fi
31976 fi
31977
31978 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31979 cat >>confdefs.h <<_ACEOF
31980 #define WX_STATFS_T $wx_cv_type_statvfs_t
31981 _ACEOF
31982
31983 else
31984 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31985 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31986 fi
31987
31988 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31989
31990
31991 for ac_func in fcntl flock
31992 do
31993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31994 echo "$as_me:$LINENO: checking for $ac_func" >&5
31995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31996 if eval "test \"\${$as_ac_var+set}\" = set"; then
31997 echo $ECHO_N "(cached) $ECHO_C" >&6
31998 else
31999 cat >conftest.$ac_ext <<_ACEOF
32000 /* confdefs.h. */
32001 _ACEOF
32002 cat confdefs.h >>conftest.$ac_ext
32003 cat >>conftest.$ac_ext <<_ACEOF
32004 /* end confdefs.h. */
32005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32007 #define $ac_func innocuous_$ac_func
32008
32009 /* System header to define __stub macros and hopefully few prototypes,
32010 which can conflict with char $ac_func (); below.
32011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32012 <limits.h> exists even on freestanding compilers. */
32013
32014 #ifdef __STDC__
32015 # include <limits.h>
32016 #else
32017 # include <assert.h>
32018 #endif
32019
32020 #undef $ac_func
32021
32022 /* Override any gcc2 internal prototype to avoid an error. */
32023 #ifdef __cplusplus
32024 extern "C"
32025 {
32026 #endif
32027 /* We use char because int might match the return type of a gcc2
32028 builtin and then its argument prototype would still apply. */
32029 char $ac_func ();
32030 /* The GNU C library defines this for functions which it implements
32031 to always fail with ENOSYS. Some functions are actually named
32032 something starting with __ and the normal name is an alias. */
32033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32034 choke me
32035 #else
32036 char (*f) () = $ac_func;
32037 #endif
32038 #ifdef __cplusplus
32039 }
32040 #endif
32041
32042 int
32043 main ()
32044 {
32045 return f != $ac_func;
32046 ;
32047 return 0;
32048 }
32049 _ACEOF
32050 rm -f conftest.$ac_objext conftest$ac_exeext
32051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32052 (eval $ac_link) 2>conftest.er1
32053 ac_status=$?
32054 grep -v '^ *+' conftest.er1 >conftest.err
32055 rm -f conftest.er1
32056 cat conftest.err >&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); } &&
32059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32061 (eval $ac_try) 2>&5
32062 ac_status=$?
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); }; } &&
32065 { ac_try='test -s conftest$ac_exeext'
32066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32067 (eval $ac_try) 2>&5
32068 ac_status=$?
32069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32070 (exit $ac_status); }; }; then
32071 eval "$as_ac_var=yes"
32072 else
32073 echo "$as_me: failed program was:" >&5
32074 sed 's/^/| /' conftest.$ac_ext >&5
32075
32076 eval "$as_ac_var=no"
32077 fi
32078 rm -f conftest.err conftest.$ac_objext \
32079 conftest$ac_exeext conftest.$ac_ext
32080 fi
32081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32083 if test `eval echo '${'$as_ac_var'}'` = yes; then
32084 cat >>confdefs.h <<_ACEOF
32085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32086 _ACEOF
32087 break
32088 fi
32089 done
32090
32091
32092 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32093 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32094 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32095 wxUSE_SNGLINST_CHECKER=no
32096 fi
32097 fi
32098
32099
32100 for ac_func in timegm
32101 do
32102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32103 echo "$as_me:$LINENO: checking for $ac_func" >&5
32104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32105 if eval "test \"\${$as_ac_var+set}\" = set"; then
32106 echo $ECHO_N "(cached) $ECHO_C" >&6
32107 else
32108 cat >conftest.$ac_ext <<_ACEOF
32109 /* confdefs.h. */
32110 _ACEOF
32111 cat confdefs.h >>conftest.$ac_ext
32112 cat >>conftest.$ac_ext <<_ACEOF
32113 /* end confdefs.h. */
32114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32116 #define $ac_func innocuous_$ac_func
32117
32118 /* System header to define __stub macros and hopefully few prototypes,
32119 which can conflict with char $ac_func (); below.
32120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32121 <limits.h> exists even on freestanding compilers. */
32122
32123 #ifdef __STDC__
32124 # include <limits.h>
32125 #else
32126 # include <assert.h>
32127 #endif
32128
32129 #undef $ac_func
32130
32131 /* Override any gcc2 internal prototype to avoid an error. */
32132 #ifdef __cplusplus
32133 extern "C"
32134 {
32135 #endif
32136 /* We use char because int might match the return type of a gcc2
32137 builtin and then its argument prototype would still apply. */
32138 char $ac_func ();
32139 /* The GNU C library defines this for functions which it implements
32140 to always fail with ENOSYS. Some functions are actually named
32141 something starting with __ and the normal name is an alias. */
32142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32143 choke me
32144 #else
32145 char (*f) () = $ac_func;
32146 #endif
32147 #ifdef __cplusplus
32148 }
32149 #endif
32150
32151 int
32152 main ()
32153 {
32154 return f != $ac_func;
32155 ;
32156 return 0;
32157 }
32158 _ACEOF
32159 rm -f conftest.$ac_objext conftest$ac_exeext
32160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32161 (eval $ac_link) 2>conftest.er1
32162 ac_status=$?
32163 grep -v '^ *+' conftest.er1 >conftest.err
32164 rm -f conftest.er1
32165 cat conftest.err >&5
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); } &&
32168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32170 (eval $ac_try) 2>&5
32171 ac_status=$?
32172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32173 (exit $ac_status); }; } &&
32174 { ac_try='test -s conftest$ac_exeext'
32175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32176 (eval $ac_try) 2>&5
32177 ac_status=$?
32178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32179 (exit $ac_status); }; }; then
32180 eval "$as_ac_var=yes"
32181 else
32182 echo "$as_me: failed program was:" >&5
32183 sed 's/^/| /' conftest.$ac_ext >&5
32184
32185 eval "$as_ac_var=no"
32186 fi
32187 rm -f conftest.err conftest.$ac_objext \
32188 conftest$ac_exeext conftest.$ac_ext
32189 fi
32190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32192 if test `eval echo '${'$as_ac_var'}'` = yes; then
32193 cat >>confdefs.h <<_ACEOF
32194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32195 _ACEOF
32196
32197 fi
32198 done
32199
32200
32201
32202
32203 for ac_func in putenv setenv
32204 do
32205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32206 echo "$as_me:$LINENO: checking for $ac_func" >&5
32207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32208 if eval "test \"\${$as_ac_var+set}\" = set"; then
32209 echo $ECHO_N "(cached) $ECHO_C" >&6
32210 else
32211 cat >conftest.$ac_ext <<_ACEOF
32212 /* confdefs.h. */
32213 _ACEOF
32214 cat confdefs.h >>conftest.$ac_ext
32215 cat >>conftest.$ac_ext <<_ACEOF
32216 /* end confdefs.h. */
32217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32219 #define $ac_func innocuous_$ac_func
32220
32221 /* System header to define __stub macros and hopefully few prototypes,
32222 which can conflict with char $ac_func (); below.
32223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32224 <limits.h> exists even on freestanding compilers. */
32225
32226 #ifdef __STDC__
32227 # include <limits.h>
32228 #else
32229 # include <assert.h>
32230 #endif
32231
32232 #undef $ac_func
32233
32234 /* Override any gcc2 internal prototype to avoid an error. */
32235 #ifdef __cplusplus
32236 extern "C"
32237 {
32238 #endif
32239 /* We use char because int might match the return type of a gcc2
32240 builtin and then its argument prototype would still apply. */
32241 char $ac_func ();
32242 /* The GNU C library defines this for functions which it implements
32243 to always fail with ENOSYS. Some functions are actually named
32244 something starting with __ and the normal name is an alias. */
32245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32246 choke me
32247 #else
32248 char (*f) () = $ac_func;
32249 #endif
32250 #ifdef __cplusplus
32251 }
32252 #endif
32253
32254 int
32255 main ()
32256 {
32257 return f != $ac_func;
32258 ;
32259 return 0;
32260 }
32261 _ACEOF
32262 rm -f conftest.$ac_objext conftest$ac_exeext
32263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32264 (eval $ac_link) 2>conftest.er1
32265 ac_status=$?
32266 grep -v '^ *+' conftest.er1 >conftest.err
32267 rm -f conftest.er1
32268 cat conftest.err >&5
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); } &&
32271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32273 (eval $ac_try) 2>&5
32274 ac_status=$?
32275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32276 (exit $ac_status); }; } &&
32277 { ac_try='test -s conftest$ac_exeext'
32278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32279 (eval $ac_try) 2>&5
32280 ac_status=$?
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); }; }; then
32283 eval "$as_ac_var=yes"
32284 else
32285 echo "$as_me: failed program was:" >&5
32286 sed 's/^/| /' conftest.$ac_ext >&5
32287
32288 eval "$as_ac_var=no"
32289 fi
32290 rm -f conftest.err conftest.$ac_objext \
32291 conftest$ac_exeext conftest.$ac_ext
32292 fi
32293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32295 if test `eval echo '${'$as_ac_var'}'` = yes; then
32296 cat >>confdefs.h <<_ACEOF
32297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32298 _ACEOF
32299 break
32300 fi
32301 done
32302
32303
32304 HAVE_SOME_SLEEP_FUNC=0
32305 if test "$USE_BEOS" = 1; then
32306 cat >>confdefs.h <<\_ACEOF
32307 #define HAVE_SLEEP 1
32308 _ACEOF
32309
32310 HAVE_SOME_SLEEP_FUNC=1
32311 fi
32312
32313 if test "$USE_DARWIN" = 1; then
32314 cat >>confdefs.h <<\_ACEOF
32315 #define HAVE_USLEEP 1
32316 _ACEOF
32317
32318 HAVE_SOME_SLEEP_FUNC=1
32319 fi
32320
32321 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32322 POSIX4_LINK=
32323
32324 for ac_func in nanosleep
32325 do
32326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32327 echo "$as_me:$LINENO: checking for $ac_func" >&5
32328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32329 if eval "test \"\${$as_ac_var+set}\" = set"; then
32330 echo $ECHO_N "(cached) $ECHO_C" >&6
32331 else
32332 cat >conftest.$ac_ext <<_ACEOF
32333 /* confdefs.h. */
32334 _ACEOF
32335 cat confdefs.h >>conftest.$ac_ext
32336 cat >>conftest.$ac_ext <<_ACEOF
32337 /* end confdefs.h. */
32338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32340 #define $ac_func innocuous_$ac_func
32341
32342 /* System header to define __stub macros and hopefully few prototypes,
32343 which can conflict with char $ac_func (); below.
32344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32345 <limits.h> exists even on freestanding compilers. */
32346
32347 #ifdef __STDC__
32348 # include <limits.h>
32349 #else
32350 # include <assert.h>
32351 #endif
32352
32353 #undef $ac_func
32354
32355 /* Override any gcc2 internal prototype to avoid an error. */
32356 #ifdef __cplusplus
32357 extern "C"
32358 {
32359 #endif
32360 /* We use char because int might match the return type of a gcc2
32361 builtin and then its argument prototype would still apply. */
32362 char $ac_func ();
32363 /* The GNU C library defines this for functions which it implements
32364 to always fail with ENOSYS. Some functions are actually named
32365 something starting with __ and the normal name is an alias. */
32366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32367 choke me
32368 #else
32369 char (*f) () = $ac_func;
32370 #endif
32371 #ifdef __cplusplus
32372 }
32373 #endif
32374
32375 int
32376 main ()
32377 {
32378 return f != $ac_func;
32379 ;
32380 return 0;
32381 }
32382 _ACEOF
32383 rm -f conftest.$ac_objext conftest$ac_exeext
32384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32385 (eval $ac_link) 2>conftest.er1
32386 ac_status=$?
32387 grep -v '^ *+' conftest.er1 >conftest.err
32388 rm -f conftest.er1
32389 cat conftest.err >&5
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); } &&
32392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32394 (eval $ac_try) 2>&5
32395 ac_status=$?
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); }; } &&
32398 { ac_try='test -s conftest$ac_exeext'
32399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32400 (eval $ac_try) 2>&5
32401 ac_status=$?
32402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32403 (exit $ac_status); }; }; then
32404 eval "$as_ac_var=yes"
32405 else
32406 echo "$as_me: failed program was:" >&5
32407 sed 's/^/| /' conftest.$ac_ext >&5
32408
32409 eval "$as_ac_var=no"
32410 fi
32411 rm -f conftest.err conftest.$ac_objext \
32412 conftest$ac_exeext conftest.$ac_ext
32413 fi
32414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32416 if test `eval echo '${'$as_ac_var'}'` = yes; then
32417 cat >>confdefs.h <<_ACEOF
32418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32419 _ACEOF
32420 cat >>confdefs.h <<\_ACEOF
32421 #define HAVE_NANOSLEEP 1
32422 _ACEOF
32423
32424 else
32425
32426 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32427 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32428 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32429 echo $ECHO_N "(cached) $ECHO_C" >&6
32430 else
32431 ac_check_lib_save_LIBS=$LIBS
32432 LIBS="-lposix4 $LIBS"
32433 cat >conftest.$ac_ext <<_ACEOF
32434 /* confdefs.h. */
32435 _ACEOF
32436 cat confdefs.h >>conftest.$ac_ext
32437 cat >>conftest.$ac_ext <<_ACEOF
32438 /* end confdefs.h. */
32439
32440 /* Override any gcc2 internal prototype to avoid an error. */
32441 #ifdef __cplusplus
32442 extern "C"
32443 #endif
32444 /* We use char because int might match the return type of a gcc2
32445 builtin and then its argument prototype would still apply. */
32446 char nanosleep ();
32447 int
32448 main ()
32449 {
32450 nanosleep ();
32451 ;
32452 return 0;
32453 }
32454 _ACEOF
32455 rm -f conftest.$ac_objext conftest$ac_exeext
32456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32457 (eval $ac_link) 2>conftest.er1
32458 ac_status=$?
32459 grep -v '^ *+' conftest.er1 >conftest.err
32460 rm -f conftest.er1
32461 cat conftest.err >&5
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); } &&
32464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32466 (eval $ac_try) 2>&5
32467 ac_status=$?
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); }; } &&
32470 { ac_try='test -s conftest$ac_exeext'
32471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32472 (eval $ac_try) 2>&5
32473 ac_status=$?
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); }; }; then
32476 ac_cv_lib_posix4_nanosleep=yes
32477 else
32478 echo "$as_me: failed program was:" >&5
32479 sed 's/^/| /' conftest.$ac_ext >&5
32480
32481 ac_cv_lib_posix4_nanosleep=no
32482 fi
32483 rm -f conftest.err conftest.$ac_objext \
32484 conftest$ac_exeext conftest.$ac_ext
32485 LIBS=$ac_check_lib_save_LIBS
32486 fi
32487 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32488 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32489 if test $ac_cv_lib_posix4_nanosleep = yes; then
32490
32491 cat >>confdefs.h <<\_ACEOF
32492 #define HAVE_NANOSLEEP 1
32493 _ACEOF
32494
32495 POSIX4_LINK=" -lposix4"
32496
32497 else
32498
32499
32500 for ac_func in usleep
32501 do
32502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32503 echo "$as_me:$LINENO: checking for $ac_func" >&5
32504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32505 if eval "test \"\${$as_ac_var+set}\" = set"; then
32506 echo $ECHO_N "(cached) $ECHO_C" >&6
32507 else
32508 cat >conftest.$ac_ext <<_ACEOF
32509 /* confdefs.h. */
32510 _ACEOF
32511 cat confdefs.h >>conftest.$ac_ext
32512 cat >>conftest.$ac_ext <<_ACEOF
32513 /* end confdefs.h. */
32514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32516 #define $ac_func innocuous_$ac_func
32517
32518 /* System header to define __stub macros and hopefully few prototypes,
32519 which can conflict with char $ac_func (); below.
32520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32521 <limits.h> exists even on freestanding compilers. */
32522
32523 #ifdef __STDC__
32524 # include <limits.h>
32525 #else
32526 # include <assert.h>
32527 #endif
32528
32529 #undef $ac_func
32530
32531 /* Override any gcc2 internal prototype to avoid an error. */
32532 #ifdef __cplusplus
32533 extern "C"
32534 {
32535 #endif
32536 /* We use char because int might match the return type of a gcc2
32537 builtin and then its argument prototype would still apply. */
32538 char $ac_func ();
32539 /* The GNU C library defines this for functions which it implements
32540 to always fail with ENOSYS. Some functions are actually named
32541 something starting with __ and the normal name is an alias. */
32542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32543 choke me
32544 #else
32545 char (*f) () = $ac_func;
32546 #endif
32547 #ifdef __cplusplus
32548 }
32549 #endif
32550
32551 int
32552 main ()
32553 {
32554 return f != $ac_func;
32555 ;
32556 return 0;
32557 }
32558 _ACEOF
32559 rm -f conftest.$ac_objext conftest$ac_exeext
32560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32561 (eval $ac_link) 2>conftest.er1
32562 ac_status=$?
32563 grep -v '^ *+' conftest.er1 >conftest.err
32564 rm -f conftest.er1
32565 cat conftest.err >&5
32566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32567 (exit $ac_status); } &&
32568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32570 (eval $ac_try) 2>&5
32571 ac_status=$?
32572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32573 (exit $ac_status); }; } &&
32574 { ac_try='test -s conftest$ac_exeext'
32575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32576 (eval $ac_try) 2>&5
32577 ac_status=$?
32578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32579 (exit $ac_status); }; }; then
32580 eval "$as_ac_var=yes"
32581 else
32582 echo "$as_me: failed program was:" >&5
32583 sed 's/^/| /' conftest.$ac_ext >&5
32584
32585 eval "$as_ac_var=no"
32586 fi
32587 rm -f conftest.err conftest.$ac_objext \
32588 conftest$ac_exeext conftest.$ac_ext
32589 fi
32590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32592 if test `eval echo '${'$as_ac_var'}'` = yes; then
32593 cat >>confdefs.h <<_ACEOF
32594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32595 _ACEOF
32596 cat >>confdefs.h <<\_ACEOF
32597 #define HAVE_USLEEP 1
32598 _ACEOF
32599
32600 else
32601 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32602 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32603
32604 fi
32605 done
32606
32607
32608
32609 fi
32610
32611
32612
32613 fi
32614 done
32615
32616 fi
32617
32618
32619
32620 for ac_func in uname gethostname
32621 do
32622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32623 echo "$as_me:$LINENO: checking for $ac_func" >&5
32624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32625 if eval "test \"\${$as_ac_var+set}\" = set"; then
32626 echo $ECHO_N "(cached) $ECHO_C" >&6
32627 else
32628 cat >conftest.$ac_ext <<_ACEOF
32629 /* confdefs.h. */
32630 _ACEOF
32631 cat confdefs.h >>conftest.$ac_ext
32632 cat >>conftest.$ac_ext <<_ACEOF
32633 /* end confdefs.h. */
32634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32636 #define $ac_func innocuous_$ac_func
32637
32638 /* System header to define __stub macros and hopefully few prototypes,
32639 which can conflict with char $ac_func (); below.
32640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32641 <limits.h> exists even on freestanding compilers. */
32642
32643 #ifdef __STDC__
32644 # include <limits.h>
32645 #else
32646 # include <assert.h>
32647 #endif
32648
32649 #undef $ac_func
32650
32651 /* Override any gcc2 internal prototype to avoid an error. */
32652 #ifdef __cplusplus
32653 extern "C"
32654 {
32655 #endif
32656 /* We use char because int might match the return type of a gcc2
32657 builtin and then its argument prototype would still apply. */
32658 char $ac_func ();
32659 /* The GNU C library defines this for functions which it implements
32660 to always fail with ENOSYS. Some functions are actually named
32661 something starting with __ and the normal name is an alias. */
32662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32663 choke me
32664 #else
32665 char (*f) () = $ac_func;
32666 #endif
32667 #ifdef __cplusplus
32668 }
32669 #endif
32670
32671 int
32672 main ()
32673 {
32674 return f != $ac_func;
32675 ;
32676 return 0;
32677 }
32678 _ACEOF
32679 rm -f conftest.$ac_objext conftest$ac_exeext
32680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32681 (eval $ac_link) 2>conftest.er1
32682 ac_status=$?
32683 grep -v '^ *+' conftest.er1 >conftest.err
32684 rm -f conftest.er1
32685 cat conftest.err >&5
32686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32687 (exit $ac_status); } &&
32688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32690 (eval $ac_try) 2>&5
32691 ac_status=$?
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); }; } &&
32694 { ac_try='test -s conftest$ac_exeext'
32695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32696 (eval $ac_try) 2>&5
32697 ac_status=$?
32698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699 (exit $ac_status); }; }; then
32700 eval "$as_ac_var=yes"
32701 else
32702 echo "$as_me: failed program was:" >&5
32703 sed 's/^/| /' conftest.$ac_ext >&5
32704
32705 eval "$as_ac_var=no"
32706 fi
32707 rm -f conftest.err conftest.$ac_objext \
32708 conftest$ac_exeext conftest.$ac_ext
32709 fi
32710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32712 if test `eval echo '${'$as_ac_var'}'` = yes; then
32713 cat >>confdefs.h <<_ACEOF
32714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32715 _ACEOF
32716 break
32717 fi
32718 done
32719
32720
32721
32722
32723 ac_ext=cc
32724 ac_cpp='$CXXCPP $CPPFLAGS'
32725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32728
32729
32730
32731 for ac_func in strtok_r
32732 do
32733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32734 echo "$as_me:$LINENO: checking for $ac_func" >&5
32735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32736 if eval "test \"\${$as_ac_var+set}\" = set"; then
32737 echo $ECHO_N "(cached) $ECHO_C" >&6
32738 else
32739 cat >conftest.$ac_ext <<_ACEOF
32740 /* confdefs.h. */
32741 _ACEOF
32742 cat confdefs.h >>conftest.$ac_ext
32743 cat >>conftest.$ac_ext <<_ACEOF
32744 /* end confdefs.h. */
32745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32747 #define $ac_func innocuous_$ac_func
32748
32749 /* System header to define __stub macros and hopefully few prototypes,
32750 which can conflict with char $ac_func (); below.
32751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32752 <limits.h> exists even on freestanding compilers. */
32753
32754 #ifdef __STDC__
32755 # include <limits.h>
32756 #else
32757 # include <assert.h>
32758 #endif
32759
32760 #undef $ac_func
32761
32762 /* Override any gcc2 internal prototype to avoid an error. */
32763 #ifdef __cplusplus
32764 extern "C"
32765 {
32766 #endif
32767 /* We use char because int might match the return type of a gcc2
32768 builtin and then its argument prototype would still apply. */
32769 char $ac_func ();
32770 /* The GNU C library defines this for functions which it implements
32771 to always fail with ENOSYS. Some functions are actually named
32772 something starting with __ and the normal name is an alias. */
32773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32774 choke me
32775 #else
32776 char (*f) () = $ac_func;
32777 #endif
32778 #ifdef __cplusplus
32779 }
32780 #endif
32781
32782 int
32783 main ()
32784 {
32785 return f != $ac_func;
32786 ;
32787 return 0;
32788 }
32789 _ACEOF
32790 rm -f conftest.$ac_objext conftest$ac_exeext
32791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32792 (eval $ac_link) 2>conftest.er1
32793 ac_status=$?
32794 grep -v '^ *+' conftest.er1 >conftest.err
32795 rm -f conftest.er1
32796 cat conftest.err >&5
32797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32798 (exit $ac_status); } &&
32799 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32801 (eval $ac_try) 2>&5
32802 ac_status=$?
32803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804 (exit $ac_status); }; } &&
32805 { ac_try='test -s conftest$ac_exeext'
32806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32807 (eval $ac_try) 2>&5
32808 ac_status=$?
32809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32810 (exit $ac_status); }; }; then
32811 eval "$as_ac_var=yes"
32812 else
32813 echo "$as_me: failed program was:" >&5
32814 sed 's/^/| /' conftest.$ac_ext >&5
32815
32816 eval "$as_ac_var=no"
32817 fi
32818 rm -f conftest.err conftest.$ac_objext \
32819 conftest$ac_exeext conftest.$ac_ext
32820 fi
32821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32823 if test `eval echo '${'$as_ac_var'}'` = yes; then
32824 cat >>confdefs.h <<_ACEOF
32825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32826 _ACEOF
32827
32828 fi
32829 done
32830
32831
32832 ac_ext=c
32833 ac_cpp='$CPP $CPPFLAGS'
32834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32837
32838
32839 INET_LINK=
32840
32841 for ac_func in inet_addr
32842 do
32843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32844 echo "$as_me:$LINENO: checking for $ac_func" >&5
32845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32846 if eval "test \"\${$as_ac_var+set}\" = set"; then
32847 echo $ECHO_N "(cached) $ECHO_C" >&6
32848 else
32849 cat >conftest.$ac_ext <<_ACEOF
32850 /* confdefs.h. */
32851 _ACEOF
32852 cat confdefs.h >>conftest.$ac_ext
32853 cat >>conftest.$ac_ext <<_ACEOF
32854 /* end confdefs.h. */
32855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32857 #define $ac_func innocuous_$ac_func
32858
32859 /* System header to define __stub macros and hopefully few prototypes,
32860 which can conflict with char $ac_func (); below.
32861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32862 <limits.h> exists even on freestanding compilers. */
32863
32864 #ifdef __STDC__
32865 # include <limits.h>
32866 #else
32867 # include <assert.h>
32868 #endif
32869
32870 #undef $ac_func
32871
32872 /* Override any gcc2 internal prototype to avoid an error. */
32873 #ifdef __cplusplus
32874 extern "C"
32875 {
32876 #endif
32877 /* We use char because int might match the return type of a gcc2
32878 builtin and then its argument prototype would still apply. */
32879 char $ac_func ();
32880 /* The GNU C library defines this for functions which it implements
32881 to always fail with ENOSYS. Some functions are actually named
32882 something starting with __ and the normal name is an alias. */
32883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32884 choke me
32885 #else
32886 char (*f) () = $ac_func;
32887 #endif
32888 #ifdef __cplusplus
32889 }
32890 #endif
32891
32892 int
32893 main ()
32894 {
32895 return f != $ac_func;
32896 ;
32897 return 0;
32898 }
32899 _ACEOF
32900 rm -f conftest.$ac_objext conftest$ac_exeext
32901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32902 (eval $ac_link) 2>conftest.er1
32903 ac_status=$?
32904 grep -v '^ *+' conftest.er1 >conftest.err
32905 rm -f conftest.er1
32906 cat conftest.err >&5
32907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32908 (exit $ac_status); } &&
32909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32911 (eval $ac_try) 2>&5
32912 ac_status=$?
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); }; } &&
32915 { ac_try='test -s conftest$ac_exeext'
32916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32917 (eval $ac_try) 2>&5
32918 ac_status=$?
32919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32920 (exit $ac_status); }; }; then
32921 eval "$as_ac_var=yes"
32922 else
32923 echo "$as_me: failed program was:" >&5
32924 sed 's/^/| /' conftest.$ac_ext >&5
32925
32926 eval "$as_ac_var=no"
32927 fi
32928 rm -f conftest.err conftest.$ac_objext \
32929 conftest$ac_exeext conftest.$ac_ext
32930 fi
32931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32933 if test `eval echo '${'$as_ac_var'}'` = yes; then
32934 cat >>confdefs.h <<_ACEOF
32935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32936 _ACEOF
32937 cat >>confdefs.h <<\_ACEOF
32938 #define HAVE_INET_ADDR 1
32939 _ACEOF
32940
32941 else
32942
32943 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32944 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32945 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32946 echo $ECHO_N "(cached) $ECHO_C" >&6
32947 else
32948 ac_check_lib_save_LIBS=$LIBS
32949 LIBS="-lnsl $LIBS"
32950 cat >conftest.$ac_ext <<_ACEOF
32951 /* confdefs.h. */
32952 _ACEOF
32953 cat confdefs.h >>conftest.$ac_ext
32954 cat >>conftest.$ac_ext <<_ACEOF
32955 /* end confdefs.h. */
32956
32957 /* Override any gcc2 internal prototype to avoid an error. */
32958 #ifdef __cplusplus
32959 extern "C"
32960 #endif
32961 /* We use char because int might match the return type of a gcc2
32962 builtin and then its argument prototype would still apply. */
32963 char inet_addr ();
32964 int
32965 main ()
32966 {
32967 inet_addr ();
32968 ;
32969 return 0;
32970 }
32971 _ACEOF
32972 rm -f conftest.$ac_objext conftest$ac_exeext
32973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32974 (eval $ac_link) 2>conftest.er1
32975 ac_status=$?
32976 grep -v '^ *+' conftest.er1 >conftest.err
32977 rm -f conftest.er1
32978 cat conftest.err >&5
32979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980 (exit $ac_status); } &&
32981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32983 (eval $ac_try) 2>&5
32984 ac_status=$?
32985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32986 (exit $ac_status); }; } &&
32987 { ac_try='test -s conftest$ac_exeext'
32988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32989 (eval $ac_try) 2>&5
32990 ac_status=$?
32991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32992 (exit $ac_status); }; }; then
32993 ac_cv_lib_nsl_inet_addr=yes
32994 else
32995 echo "$as_me: failed program was:" >&5
32996 sed 's/^/| /' conftest.$ac_ext >&5
32997
32998 ac_cv_lib_nsl_inet_addr=no
32999 fi
33000 rm -f conftest.err conftest.$ac_objext \
33001 conftest$ac_exeext conftest.$ac_ext
33002 LIBS=$ac_check_lib_save_LIBS
33003 fi
33004 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33005 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33006 if test $ac_cv_lib_nsl_inet_addr = yes; then
33007 INET_LINK="nsl"
33008 else
33009
33010 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33011 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33012 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33013 echo $ECHO_N "(cached) $ECHO_C" >&6
33014 else
33015 ac_check_lib_save_LIBS=$LIBS
33016 LIBS="-lresolv $LIBS"
33017 cat >conftest.$ac_ext <<_ACEOF
33018 /* confdefs.h. */
33019 _ACEOF
33020 cat confdefs.h >>conftest.$ac_ext
33021 cat >>conftest.$ac_ext <<_ACEOF
33022 /* end confdefs.h. */
33023
33024 /* Override any gcc2 internal prototype to avoid an error. */
33025 #ifdef __cplusplus
33026 extern "C"
33027 #endif
33028 /* We use char because int might match the return type of a gcc2
33029 builtin and then its argument prototype would still apply. */
33030 char inet_addr ();
33031 int
33032 main ()
33033 {
33034 inet_addr ();
33035 ;
33036 return 0;
33037 }
33038 _ACEOF
33039 rm -f conftest.$ac_objext conftest$ac_exeext
33040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33041 (eval $ac_link) 2>conftest.er1
33042 ac_status=$?
33043 grep -v '^ *+' conftest.er1 >conftest.err
33044 rm -f conftest.er1
33045 cat conftest.err >&5
33046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33047 (exit $ac_status); } &&
33048 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33050 (eval $ac_try) 2>&5
33051 ac_status=$?
33052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053 (exit $ac_status); }; } &&
33054 { ac_try='test -s conftest$ac_exeext'
33055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33056 (eval $ac_try) 2>&5
33057 ac_status=$?
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); }; }; then
33060 ac_cv_lib_resolv_inet_addr=yes
33061 else
33062 echo "$as_me: failed program was:" >&5
33063 sed 's/^/| /' conftest.$ac_ext >&5
33064
33065 ac_cv_lib_resolv_inet_addr=no
33066 fi
33067 rm -f conftest.err conftest.$ac_objext \
33068 conftest$ac_exeext conftest.$ac_ext
33069 LIBS=$ac_check_lib_save_LIBS
33070 fi
33071 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33072 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33073 if test $ac_cv_lib_resolv_inet_addr = yes; then
33074 INET_LINK="resolv"
33075 else
33076
33077 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33078 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33079 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33080 echo $ECHO_N "(cached) $ECHO_C" >&6
33081 else
33082 ac_check_lib_save_LIBS=$LIBS
33083 LIBS="-lsocket $LIBS"
33084 cat >conftest.$ac_ext <<_ACEOF
33085 /* confdefs.h. */
33086 _ACEOF
33087 cat confdefs.h >>conftest.$ac_ext
33088 cat >>conftest.$ac_ext <<_ACEOF
33089 /* end confdefs.h. */
33090
33091 /* Override any gcc2 internal prototype to avoid an error. */
33092 #ifdef __cplusplus
33093 extern "C"
33094 #endif
33095 /* We use char because int might match the return type of a gcc2
33096 builtin and then its argument prototype would still apply. */
33097 char inet_addr ();
33098 int
33099 main ()
33100 {
33101 inet_addr ();
33102 ;
33103 return 0;
33104 }
33105 _ACEOF
33106 rm -f conftest.$ac_objext conftest$ac_exeext
33107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33108 (eval $ac_link) 2>conftest.er1
33109 ac_status=$?
33110 grep -v '^ *+' conftest.er1 >conftest.err
33111 rm -f conftest.er1
33112 cat conftest.err >&5
33113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33114 (exit $ac_status); } &&
33115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33117 (eval $ac_try) 2>&5
33118 ac_status=$?
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); }; } &&
33121 { ac_try='test -s conftest$ac_exeext'
33122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33123 (eval $ac_try) 2>&5
33124 ac_status=$?
33125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33126 (exit $ac_status); }; }; then
33127 ac_cv_lib_socket_inet_addr=yes
33128 else
33129 echo "$as_me: failed program was:" >&5
33130 sed 's/^/| /' conftest.$ac_ext >&5
33131
33132 ac_cv_lib_socket_inet_addr=no
33133 fi
33134 rm -f conftest.err conftest.$ac_objext \
33135 conftest$ac_exeext conftest.$ac_ext
33136 LIBS=$ac_check_lib_save_LIBS
33137 fi
33138 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33139 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33140 if test $ac_cv_lib_socket_inet_addr = yes; then
33141 INET_LINK="socket"
33142
33143 fi
33144
33145
33146
33147 fi
33148
33149
33150
33151 fi
33152
33153
33154
33155 fi
33156 done
33157
33158
33159
33160 for ac_func in inet_aton
33161 do
33162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33163 echo "$as_me:$LINENO: checking for $ac_func" >&5
33164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33165 if eval "test \"\${$as_ac_var+set}\" = set"; then
33166 echo $ECHO_N "(cached) $ECHO_C" >&6
33167 else
33168 cat >conftest.$ac_ext <<_ACEOF
33169 /* confdefs.h. */
33170 _ACEOF
33171 cat confdefs.h >>conftest.$ac_ext
33172 cat >>conftest.$ac_ext <<_ACEOF
33173 /* end confdefs.h. */
33174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33176 #define $ac_func innocuous_$ac_func
33177
33178 /* System header to define __stub macros and hopefully few prototypes,
33179 which can conflict with char $ac_func (); below.
33180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33181 <limits.h> exists even on freestanding compilers. */
33182
33183 #ifdef __STDC__
33184 # include <limits.h>
33185 #else
33186 # include <assert.h>
33187 #endif
33188
33189 #undef $ac_func
33190
33191 /* Override any gcc2 internal prototype to avoid an error. */
33192 #ifdef __cplusplus
33193 extern "C"
33194 {
33195 #endif
33196 /* We use char because int might match the return type of a gcc2
33197 builtin and then its argument prototype would still apply. */
33198 char $ac_func ();
33199 /* The GNU C library defines this for functions which it implements
33200 to always fail with ENOSYS. Some functions are actually named
33201 something starting with __ and the normal name is an alias. */
33202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33203 choke me
33204 #else
33205 char (*f) () = $ac_func;
33206 #endif
33207 #ifdef __cplusplus
33208 }
33209 #endif
33210
33211 int
33212 main ()
33213 {
33214 return f != $ac_func;
33215 ;
33216 return 0;
33217 }
33218 _ACEOF
33219 rm -f conftest.$ac_objext conftest$ac_exeext
33220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33221 (eval $ac_link) 2>conftest.er1
33222 ac_status=$?
33223 grep -v '^ *+' conftest.er1 >conftest.err
33224 rm -f conftest.er1
33225 cat conftest.err >&5
33226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33227 (exit $ac_status); } &&
33228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33230 (eval $ac_try) 2>&5
33231 ac_status=$?
33232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33233 (exit $ac_status); }; } &&
33234 { ac_try='test -s conftest$ac_exeext'
33235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33236 (eval $ac_try) 2>&5
33237 ac_status=$?
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); }; }; then
33240 eval "$as_ac_var=yes"
33241 else
33242 echo "$as_me: failed program was:" >&5
33243 sed 's/^/| /' conftest.$ac_ext >&5
33244
33245 eval "$as_ac_var=no"
33246 fi
33247 rm -f conftest.err conftest.$ac_objext \
33248 conftest$ac_exeext conftest.$ac_ext
33249 fi
33250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33252 if test `eval echo '${'$as_ac_var'}'` = yes; then
33253 cat >>confdefs.h <<_ACEOF
33254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33255 _ACEOF
33256 cat >>confdefs.h <<\_ACEOF
33257 #define HAVE_INET_ATON 1
33258 _ACEOF
33259
33260 else
33261
33262 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33263 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33264 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33265 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33266 echo $ECHO_N "(cached) $ECHO_C" >&6
33267 else
33268 ac_check_lib_save_LIBS=$LIBS
33269 LIBS="-l$INET_LINK $LIBS"
33270 cat >conftest.$ac_ext <<_ACEOF
33271 /* confdefs.h. */
33272 _ACEOF
33273 cat confdefs.h >>conftest.$ac_ext
33274 cat >>conftest.$ac_ext <<_ACEOF
33275 /* end confdefs.h. */
33276
33277 /* Override any gcc2 internal prototype to avoid an error. */
33278 #ifdef __cplusplus
33279 extern "C"
33280 #endif
33281 /* We use char because int might match the return type of a gcc2
33282 builtin and then its argument prototype would still apply. */
33283 char inet_aton ();
33284 int
33285 main ()
33286 {
33287 inet_aton ();
33288 ;
33289 return 0;
33290 }
33291 _ACEOF
33292 rm -f conftest.$ac_objext conftest$ac_exeext
33293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33294 (eval $ac_link) 2>conftest.er1
33295 ac_status=$?
33296 grep -v '^ *+' conftest.er1 >conftest.err
33297 rm -f conftest.er1
33298 cat conftest.err >&5
33299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300 (exit $ac_status); } &&
33301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33303 (eval $ac_try) 2>&5
33304 ac_status=$?
33305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33306 (exit $ac_status); }; } &&
33307 { ac_try='test -s conftest$ac_exeext'
33308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33309 (eval $ac_try) 2>&5
33310 ac_status=$?
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); }; }; then
33313 eval "$as_ac_Lib=yes"
33314 else
33315 echo "$as_me: failed program was:" >&5
33316 sed 's/^/| /' conftest.$ac_ext >&5
33317
33318 eval "$as_ac_Lib=no"
33319 fi
33320 rm -f conftest.err conftest.$ac_objext \
33321 conftest$ac_exeext conftest.$ac_ext
33322 LIBS=$ac_check_lib_save_LIBS
33323 fi
33324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33325 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33326 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33327 cat >>confdefs.h <<\_ACEOF
33328 #define HAVE_INET_ATON 1
33329 _ACEOF
33330
33331 fi
33332
33333
33334 fi
33335 done
33336
33337
33338 if test "x$INET_LINK" != "x"; then
33339 cat >>confdefs.h <<\_ACEOF
33340 #define HAVE_INET_ADDR 1
33341 _ACEOF
33342
33343 INET_LINK=" -l$INET_LINK"
33344 fi
33345
33346 fi
33347
33348
33349
33350 EXTRALIBS_ESD=
33351 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33352 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33353 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33354 echo $ECHO_N "(cached) $ECHO_C" >&6
33355 else
33356 ac_check_lib_save_LIBS=$LIBS
33357 LIBS="-lesd $LIBS"
33358 cat >conftest.$ac_ext <<_ACEOF
33359 /* confdefs.h. */
33360 _ACEOF
33361 cat confdefs.h >>conftest.$ac_ext
33362 cat >>conftest.$ac_ext <<_ACEOF
33363 /* end confdefs.h. */
33364
33365 /* Override any gcc2 internal prototype to avoid an error. */
33366 #ifdef __cplusplus
33367 extern "C"
33368 #endif
33369 /* We use char because int might match the return type of a gcc2
33370 builtin and then its argument prototype would still apply. */
33371 char esd_close ();
33372 int
33373 main ()
33374 {
33375 esd_close ();
33376 ;
33377 return 0;
33378 }
33379 _ACEOF
33380 rm -f conftest.$ac_objext conftest$ac_exeext
33381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33382 (eval $ac_link) 2>conftest.er1
33383 ac_status=$?
33384 grep -v '^ *+' conftest.er1 >conftest.err
33385 rm -f conftest.er1
33386 cat conftest.err >&5
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); } &&
33389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33391 (eval $ac_try) 2>&5
33392 ac_status=$?
33393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33394 (exit $ac_status); }; } &&
33395 { ac_try='test -s conftest$ac_exeext'
33396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33397 (eval $ac_try) 2>&5
33398 ac_status=$?
33399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400 (exit $ac_status); }; }; then
33401 ac_cv_lib_esd_esd_close=yes
33402 else
33403 echo "$as_me: failed program was:" >&5
33404 sed 's/^/| /' conftest.$ac_ext >&5
33405
33406 ac_cv_lib_esd_esd_close=no
33407 fi
33408 rm -f conftest.err conftest.$ac_objext \
33409 conftest$ac_exeext conftest.$ac_ext
33410 LIBS=$ac_check_lib_save_LIBS
33411 fi
33412 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33413 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33414 if test $ac_cv_lib_esd_esd_close = yes; then
33415
33416
33417 for ac_header in esd.h
33418 do
33419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33421 echo "$as_me:$LINENO: checking for $ac_header" >&5
33422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33424 echo $ECHO_N "(cached) $ECHO_C" >&6
33425 fi
33426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33428 else
33429 # Is the header compilable?
33430 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33432 cat >conftest.$ac_ext <<_ACEOF
33433 /* confdefs.h. */
33434 _ACEOF
33435 cat confdefs.h >>conftest.$ac_ext
33436 cat >>conftest.$ac_ext <<_ACEOF
33437 /* end confdefs.h. */
33438 $ac_includes_default
33439 #include <$ac_header>
33440 _ACEOF
33441 rm -f conftest.$ac_objext
33442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33443 (eval $ac_compile) 2>conftest.er1
33444 ac_status=$?
33445 grep -v '^ *+' conftest.er1 >conftest.err
33446 rm -f conftest.er1
33447 cat conftest.err >&5
33448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33449 (exit $ac_status); } &&
33450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33452 (eval $ac_try) 2>&5
33453 ac_status=$?
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); }; } &&
33456 { ac_try='test -s conftest.$ac_objext'
33457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33458 (eval $ac_try) 2>&5
33459 ac_status=$?
33460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461 (exit $ac_status); }; }; then
33462 ac_header_compiler=yes
33463 else
33464 echo "$as_me: failed program was:" >&5
33465 sed 's/^/| /' conftest.$ac_ext >&5
33466
33467 ac_header_compiler=no
33468 fi
33469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33471 echo "${ECHO_T}$ac_header_compiler" >&6
33472
33473 # Is the header present?
33474 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33475 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33476 cat >conftest.$ac_ext <<_ACEOF
33477 /* confdefs.h. */
33478 _ACEOF
33479 cat confdefs.h >>conftest.$ac_ext
33480 cat >>conftest.$ac_ext <<_ACEOF
33481 /* end confdefs.h. */
33482 #include <$ac_header>
33483 _ACEOF
33484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33486 ac_status=$?
33487 grep -v '^ *+' conftest.er1 >conftest.err
33488 rm -f conftest.er1
33489 cat conftest.err >&5
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); } >/dev/null; then
33492 if test -s conftest.err; then
33493 ac_cpp_err=$ac_c_preproc_warn_flag
33494 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33495 else
33496 ac_cpp_err=
33497 fi
33498 else
33499 ac_cpp_err=yes
33500 fi
33501 if test -z "$ac_cpp_err"; then
33502 ac_header_preproc=yes
33503 else
33504 echo "$as_me: failed program was:" >&5
33505 sed 's/^/| /' conftest.$ac_ext >&5
33506
33507 ac_header_preproc=no
33508 fi
33509 rm -f conftest.err conftest.$ac_ext
33510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33511 echo "${ECHO_T}$ac_header_preproc" >&6
33512
33513 # So? What about this header?
33514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33515 yes:no: )
33516 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33517 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33519 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33520 ac_header_preproc=yes
33521 ;;
33522 no:yes:* )
33523 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33524 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33525 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33526 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33527 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33528 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33529 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33530 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33535 (
33536 cat <<\_ASBOX
33537 ## ----------------------------------------- ##
33538 ## Report this to wx-dev@lists.wxwidgets.org ##
33539 ## ----------------------------------------- ##
33540 _ASBOX
33541 ) |
33542 sed "s/^/$as_me: WARNING: /" >&2
33543 ;;
33544 esac
33545 echo "$as_me:$LINENO: checking for $ac_header" >&5
33546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33548 echo $ECHO_N "(cached) $ECHO_C" >&6
33549 else
33550 eval "$as_ac_Header=\$ac_header_preproc"
33551 fi
33552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33554
33555 fi
33556 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33557 cat >>confdefs.h <<_ACEOF
33558 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33559 _ACEOF
33560
33561 EXTRALIBS_ESD="-lesd"
33562
33563 fi
33564
33565 done
33566
33567
33568 fi
33569
33570
33571
33572 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33573 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33574 cat >conftest.$ac_ext <<_ACEOF
33575 /* confdefs.h. */
33576 _ACEOF
33577 cat confdefs.h >>conftest.$ac_ext
33578 cat >>conftest.$ac_ext <<_ACEOF
33579 /* end confdefs.h. */
33580 #ifdef __linux__
33581 #include <linux/cdrom.h>
33582 #else
33583 /* For Solaris */
33584 #include <sys/cdio.h>
33585 #endif
33586
33587 int
33588 main ()
33589 {
33590 struct cdrom_tocentry entry, old_entry;
33591 ;
33592 return 0;
33593 }
33594 _ACEOF
33595 rm -f conftest.$ac_objext
33596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33597 (eval $ac_compile) 2>conftest.er1
33598 ac_status=$?
33599 grep -v '^ *+' conftest.er1 >conftest.err
33600 rm -f conftest.er1
33601 cat conftest.err >&5
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); } &&
33604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33606 (eval $ac_try) 2>&5
33607 ac_status=$?
33608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33609 (exit $ac_status); }; } &&
33610 { ac_try='test -s conftest.$ac_objext'
33611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33612 (eval $ac_try) 2>&5
33613 ac_status=$?
33614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615 (exit $ac_status); }; }; then
33616 echo "$as_me:$LINENO: result: yes" >&5
33617 echo "${ECHO_T}yes" >&6
33618 cat >>confdefs.h <<\_ACEOF
33619 #define HAVE_KNOWN_CDROM_INTERFACE 1
33620 _ACEOF
33621
33622 else
33623 echo "$as_me: failed program was:" >&5
33624 sed 's/^/| /' conftest.$ac_ext >&5
33625
33626 echo "$as_me:$LINENO: result: no" >&5
33627 echo "${ECHO_T}no" >&6
33628 fi
33629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33630
33631
33632 cat >confcache <<\_ACEOF
33633 # This file is a shell script that caches the results of configure
33634 # tests run on this system so they can be shared between configure
33635 # scripts and configure runs, see configure's option --config-cache.
33636 # It is not useful on other systems. If it contains results you don't
33637 # want to keep, you may remove or edit it.
33638 #
33639 # config.status only pays attention to the cache file if you give it
33640 # the --recheck option to rerun configure.
33641 #
33642 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33643 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33644 # following values.
33645
33646 _ACEOF
33647
33648 # The following way of writing the cache mishandles newlines in values,
33649 # but we know of no workaround that is simple, portable, and efficient.
33650 # So, don't put newlines in cache variables' values.
33651 # Ultrix sh set writes to stderr and can't be redirected directly,
33652 # and sets the high bit in the cache file unless we assign to the vars.
33653 {
33654 (set) 2>&1 |
33655 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33656 *ac_space=\ *)
33657 # `set' does not quote correctly, so add quotes (double-quote
33658 # substitution turns \\\\ into \\, and sed turns \\ into \).
33659 sed -n \
33660 "s/'/'\\\\''/g;
33661 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33662 ;;
33663 *)
33664 # `set' quotes correctly as required by POSIX, so do not add quotes.
33665 sed -n \
33666 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33667 ;;
33668 esac;
33669 } |
33670 sed '
33671 t clear
33672 : clear
33673 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33674 t end
33675 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33676 : end' >>confcache
33677 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33678 if test -w $cache_file; then
33679 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33680 cat confcache >$cache_file
33681 else
33682 echo "not updating unwritable cache $cache_file"
33683 fi
33684 fi
33685 rm -f confcache
33686
33687
33688 CPP_MT_FLAG=
33689 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33690
33691
33692 THREADS_LINK=
33693 THREADS_CFLAGS=
33694
33695 if test "$wxUSE_THREADS" = "yes" ; then
33696 if test "$USE_BEOS" = 1; then
33697 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33698 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33699 wxUSE_THREADS="no"
33700 fi
33701 fi
33702
33703 if test "$wxUSE_THREADS" = "yes" ; then
33704
33705
33706 THREAD_OPTS="-pthread"
33707 case "${host}" in
33708 *-*-solaris2* | *-*-sunos4* )
33709 if test "x$GCC" = "xyes"; then
33710 THREAD_OPTS="-pthreads $THREAD_OPTS"
33711 else
33712 THREAD_OPTS="-mt $THREAD_OPTS"
33713 fi
33714 ;;
33715 *-*-freebsd*)
33716 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
33717 ;;
33718 *-*-darwin* | *-*-cygwin* )
33719 THREAD_OPTS=""
33720 ;;
33721 *-*-aix*)
33722 THREAD_OPTS="pthreads"
33723 ;;
33724 *-hp-hpux* )
33725 if test "x$GCC" != "xyes"; then
33726 THREAD_OPTS=""
33727 fi
33728 ;;
33729
33730 *-*-irix* )
33731 if test "x$GCC" = "xyes"; then
33732 THREAD_OPTS=""
33733 fi
33734 ;;
33735
33736 *-*-*UnixWare*)
33737 if test "x$GCC" != "xyes"; then
33738 THREAD_OPTS="-Ethread"
33739 fi
33740 ;;
33741 esac
33742
33743 THREAD_OPTS="$THREAD_OPTS pthread none"
33744
33745 THREADS_OK=no
33746 for flag in $THREAD_OPTS; do
33747 case $flag in
33748 none)
33749 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
33750 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
33751 ;;
33752
33753 -*)
33754 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
33755 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
33756 THREADS_CFLAGS="$flag"
33757 ;;
33758
33759 *)
33760 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
33761 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
33762 THREADS_LINK="-l$flag"
33763 ;;
33764 esac
33765
33766 save_LIBS="$LIBS"
33767 save_CFLAGS="$CFLAGS"
33768 LIBS="$THREADS_LINK $LIBS"
33769 CFLAGS="$THREADS_CFLAGS $CFLAGS"
33770
33771 cat >conftest.$ac_ext <<_ACEOF
33772 /* confdefs.h. */
33773 _ACEOF
33774 cat confdefs.h >>conftest.$ac_ext
33775 cat >>conftest.$ac_ext <<_ACEOF
33776 /* end confdefs.h. */
33777 #include <pthread.h>
33778 int
33779 main ()
33780 {
33781 pthread_create(0,0,0,0);
33782 ;
33783 return 0;
33784 }
33785 _ACEOF
33786 rm -f conftest.$ac_objext conftest$ac_exeext
33787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33788 (eval $ac_link) 2>conftest.er1
33789 ac_status=$?
33790 grep -v '^ *+' conftest.er1 >conftest.err
33791 rm -f conftest.er1
33792 cat conftest.err >&5
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); } &&
33795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33797 (eval $ac_try) 2>&5
33798 ac_status=$?
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); }; } &&
33801 { ac_try='test -s conftest$ac_exeext'
33802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33803 (eval $ac_try) 2>&5
33804 ac_status=$?
33805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33806 (exit $ac_status); }; }; then
33807 THREADS_OK=yes
33808 else
33809 echo "$as_me: failed program was:" >&5
33810 sed 's/^/| /' conftest.$ac_ext >&5
33811
33812 fi
33813 rm -f conftest.err conftest.$ac_objext \
33814 conftest$ac_exeext conftest.$ac_ext
33815
33816 LIBS="$save_LIBS"
33817 CFLAGS="$save_CFLAGS"
33818
33819 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
33820 echo "${ECHO_T}$THREADS_OK" >&6
33821 if test "x$THREADS_OK" = "xyes"; then
33822 break;
33823 fi
33824
33825 THREADS_LINK=""
33826 THREADS_CFLAGS=""
33827 done
33828
33829 if test "x$THREADS_OK" != "xyes"; then
33830 wxUSE_THREADS=no
33831 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
33832 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
33833 else
33834 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
33835 LIBS="$THREADS_LINK $LIBS"
33836
33837 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
33838 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
33839 flag=no
33840 case "${host}" in
33841 *-aix*)
33842 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
33843 flag="-D_THREAD_SAFE"
33844 ;;
33845 *-freebsd*)
33846 flag="-D_THREAD_SAFE"
33847 ;;
33848 *-hp-hpux* )
33849 flag="-D_REENTRANT"
33850 if test "x$GCC" != "xyes"; then
33851 flag="$flag -D_RWSTD_MULTI_THREAD"
33852 fi
33853 ;;
33854 *solaris* | alpha*-osf*)
33855 flag="-D_REENTRANT"
33856 ;;
33857 esac
33858 echo "$as_me:$LINENO: result: ${flag}" >&5
33859 echo "${ECHO_T}${flag}" >&6
33860 if test "x$flag" != xno; then
33861 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
33862 fi
33863
33864 if test "x$THREADS_CFLAGS" != "x"; then
33865 CFLAGS="$CFLAGS $THREADS_CFLAGS"
33866 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
33867 fi
33868 fi
33869 fi
33870
33871 if test "$wxUSE_THREADS" = "yes" ; then
33872
33873 for ac_func in thr_setconcurrency
33874 do
33875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33876 echo "$as_me:$LINENO: checking for $ac_func" >&5
33877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33878 if eval "test \"\${$as_ac_var+set}\" = set"; then
33879 echo $ECHO_N "(cached) $ECHO_C" >&6
33880 else
33881 cat >conftest.$ac_ext <<_ACEOF
33882 /* confdefs.h. */
33883 _ACEOF
33884 cat confdefs.h >>conftest.$ac_ext
33885 cat >>conftest.$ac_ext <<_ACEOF
33886 /* end confdefs.h. */
33887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33889 #define $ac_func innocuous_$ac_func
33890
33891 /* System header to define __stub macros and hopefully few prototypes,
33892 which can conflict with char $ac_func (); below.
33893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33894 <limits.h> exists even on freestanding compilers. */
33895
33896 #ifdef __STDC__
33897 # include <limits.h>
33898 #else
33899 # include <assert.h>
33900 #endif
33901
33902 #undef $ac_func
33903
33904 /* Override any gcc2 internal prototype to avoid an error. */
33905 #ifdef __cplusplus
33906 extern "C"
33907 {
33908 #endif
33909 /* We use char because int might match the return type of a gcc2
33910 builtin and then its argument prototype would still apply. */
33911 char $ac_func ();
33912 /* The GNU C library defines this for functions which it implements
33913 to always fail with ENOSYS. Some functions are actually named
33914 something starting with __ and the normal name is an alias. */
33915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33916 choke me
33917 #else
33918 char (*f) () = $ac_func;
33919 #endif
33920 #ifdef __cplusplus
33921 }
33922 #endif
33923
33924 int
33925 main ()
33926 {
33927 return f != $ac_func;
33928 ;
33929 return 0;
33930 }
33931 _ACEOF
33932 rm -f conftest.$ac_objext conftest$ac_exeext
33933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33934 (eval $ac_link) 2>conftest.er1
33935 ac_status=$?
33936 grep -v '^ *+' conftest.er1 >conftest.err
33937 rm -f conftest.er1
33938 cat conftest.err >&5
33939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33940 (exit $ac_status); } &&
33941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33943 (eval $ac_try) 2>&5
33944 ac_status=$?
33945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33946 (exit $ac_status); }; } &&
33947 { ac_try='test -s conftest$ac_exeext'
33948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33949 (eval $ac_try) 2>&5
33950 ac_status=$?
33951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33952 (exit $ac_status); }; }; then
33953 eval "$as_ac_var=yes"
33954 else
33955 echo "$as_me: failed program was:" >&5
33956 sed 's/^/| /' conftest.$ac_ext >&5
33957
33958 eval "$as_ac_var=no"
33959 fi
33960 rm -f conftest.err conftest.$ac_objext \
33961 conftest$ac_exeext conftest.$ac_ext
33962 fi
33963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33965 if test `eval echo '${'$as_ac_var'}'` = yes; then
33966 cat >>confdefs.h <<_ACEOF
33967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33968 _ACEOF
33969
33970 fi
33971 done
33972
33973
33974
33975 for ac_header in sched.h
33976 do
33977 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33979 echo "$as_me:$LINENO: checking for $ac_header" >&5
33980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33982 echo $ECHO_N "(cached) $ECHO_C" >&6
33983 fi
33984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33986 else
33987 # Is the header compilable?
33988 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33989 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33990 cat >conftest.$ac_ext <<_ACEOF
33991 /* confdefs.h. */
33992 _ACEOF
33993 cat confdefs.h >>conftest.$ac_ext
33994 cat >>conftest.$ac_ext <<_ACEOF
33995 /* end confdefs.h. */
33996 $ac_includes_default
33997 #include <$ac_header>
33998 _ACEOF
33999 rm -f conftest.$ac_objext
34000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34001 (eval $ac_compile) 2>conftest.er1
34002 ac_status=$?
34003 grep -v '^ *+' conftest.er1 >conftest.err
34004 rm -f conftest.er1
34005 cat conftest.err >&5
34006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34007 (exit $ac_status); } &&
34008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34010 (eval $ac_try) 2>&5
34011 ac_status=$?
34012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34013 (exit $ac_status); }; } &&
34014 { ac_try='test -s conftest.$ac_objext'
34015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34016 (eval $ac_try) 2>&5
34017 ac_status=$?
34018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34019 (exit $ac_status); }; }; then
34020 ac_header_compiler=yes
34021 else
34022 echo "$as_me: failed program was:" >&5
34023 sed 's/^/| /' conftest.$ac_ext >&5
34024
34025 ac_header_compiler=no
34026 fi
34027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34028 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34029 echo "${ECHO_T}$ac_header_compiler" >&6
34030
34031 # Is the header present?
34032 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34033 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34034 cat >conftest.$ac_ext <<_ACEOF
34035 /* confdefs.h. */
34036 _ACEOF
34037 cat confdefs.h >>conftest.$ac_ext
34038 cat >>conftest.$ac_ext <<_ACEOF
34039 /* end confdefs.h. */
34040 #include <$ac_header>
34041 _ACEOF
34042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34043 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34044 ac_status=$?
34045 grep -v '^ *+' conftest.er1 >conftest.err
34046 rm -f conftest.er1
34047 cat conftest.err >&5
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); } >/dev/null; then
34050 if test -s conftest.err; then
34051 ac_cpp_err=$ac_c_preproc_warn_flag
34052 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34053 else
34054 ac_cpp_err=
34055 fi
34056 else
34057 ac_cpp_err=yes
34058 fi
34059 if test -z "$ac_cpp_err"; then
34060 ac_header_preproc=yes
34061 else
34062 echo "$as_me: failed program was:" >&5
34063 sed 's/^/| /' conftest.$ac_ext >&5
34064
34065 ac_header_preproc=no
34066 fi
34067 rm -f conftest.err conftest.$ac_ext
34068 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34069 echo "${ECHO_T}$ac_header_preproc" >&6
34070
34071 # So? What about this header?
34072 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34073 yes:no: )
34074 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34075 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34077 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34078 ac_header_preproc=yes
34079 ;;
34080 no:yes:* )
34081 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34082 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34083 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34084 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34085 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34086 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34087 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34088 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34090 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34091 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34092 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34093 (
34094 cat <<\_ASBOX
34095 ## ----------------------------------------- ##
34096 ## Report this to wx-dev@lists.wxwidgets.org ##
34097 ## ----------------------------------------- ##
34098 _ASBOX
34099 ) |
34100 sed "s/^/$as_me: WARNING: /" >&2
34101 ;;
34102 esac
34103 echo "$as_me:$LINENO: checking for $ac_header" >&5
34104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34106 echo $ECHO_N "(cached) $ECHO_C" >&6
34107 else
34108 eval "$as_ac_Header=\$ac_header_preproc"
34109 fi
34110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34112
34113 fi
34114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34115 cat >>confdefs.h <<_ACEOF
34116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34117 _ACEOF
34118
34119 fi
34120
34121 done
34122
34123 if test "$ac_cv_header_sched_h" = "yes"; then
34124 echo "$as_me:$LINENO: checking for sched_yield" >&5
34125 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34126 if test "${ac_cv_func_sched_yield+set}" = set; then
34127 echo $ECHO_N "(cached) $ECHO_C" >&6
34128 else
34129 cat >conftest.$ac_ext <<_ACEOF
34130 /* confdefs.h. */
34131 _ACEOF
34132 cat confdefs.h >>conftest.$ac_ext
34133 cat >>conftest.$ac_ext <<_ACEOF
34134 /* end confdefs.h. */
34135 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34137 #define sched_yield innocuous_sched_yield
34138
34139 /* System header to define __stub macros and hopefully few prototypes,
34140 which can conflict with char sched_yield (); below.
34141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34142 <limits.h> exists even on freestanding compilers. */
34143
34144 #ifdef __STDC__
34145 # include <limits.h>
34146 #else
34147 # include <assert.h>
34148 #endif
34149
34150 #undef sched_yield
34151
34152 /* Override any gcc2 internal prototype to avoid an error. */
34153 #ifdef __cplusplus
34154 extern "C"
34155 {
34156 #endif
34157 /* We use char because int might match the return type of a gcc2
34158 builtin and then its argument prototype would still apply. */
34159 char sched_yield ();
34160 /* The GNU C library defines this for functions which it implements
34161 to always fail with ENOSYS. Some functions are actually named
34162 something starting with __ and the normal name is an alias. */
34163 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34164 choke me
34165 #else
34166 char (*f) () = sched_yield;
34167 #endif
34168 #ifdef __cplusplus
34169 }
34170 #endif
34171
34172 int
34173 main ()
34174 {
34175 return f != sched_yield;
34176 ;
34177 return 0;
34178 }
34179 _ACEOF
34180 rm -f conftest.$ac_objext conftest$ac_exeext
34181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34182 (eval $ac_link) 2>conftest.er1
34183 ac_status=$?
34184 grep -v '^ *+' conftest.er1 >conftest.err
34185 rm -f conftest.er1
34186 cat conftest.err >&5
34187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34188 (exit $ac_status); } &&
34189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34191 (eval $ac_try) 2>&5
34192 ac_status=$?
34193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34194 (exit $ac_status); }; } &&
34195 { ac_try='test -s conftest$ac_exeext'
34196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34197 (eval $ac_try) 2>&5
34198 ac_status=$?
34199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34200 (exit $ac_status); }; }; then
34201 ac_cv_func_sched_yield=yes
34202 else
34203 echo "$as_me: failed program was:" >&5
34204 sed 's/^/| /' conftest.$ac_ext >&5
34205
34206 ac_cv_func_sched_yield=no
34207 fi
34208 rm -f conftest.err conftest.$ac_objext \
34209 conftest$ac_exeext conftest.$ac_ext
34210 fi
34211 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34212 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34213 if test $ac_cv_func_sched_yield = yes; then
34214 cat >>confdefs.h <<\_ACEOF
34215 #define HAVE_SCHED_YIELD 1
34216 _ACEOF
34217
34218 else
34219
34220 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34221 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34222 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34223 echo $ECHO_N "(cached) $ECHO_C" >&6
34224 else
34225 ac_check_lib_save_LIBS=$LIBS
34226 LIBS="-lposix4 $LIBS"
34227 cat >conftest.$ac_ext <<_ACEOF
34228 /* confdefs.h. */
34229 _ACEOF
34230 cat confdefs.h >>conftest.$ac_ext
34231 cat >>conftest.$ac_ext <<_ACEOF
34232 /* end confdefs.h. */
34233
34234 /* Override any gcc2 internal prototype to avoid an error. */
34235 #ifdef __cplusplus
34236 extern "C"
34237 #endif
34238 /* We use char because int might match the return type of a gcc2
34239 builtin and then its argument prototype would still apply. */
34240 char sched_yield ();
34241 int
34242 main ()
34243 {
34244 sched_yield ();
34245 ;
34246 return 0;
34247 }
34248 _ACEOF
34249 rm -f conftest.$ac_objext conftest$ac_exeext
34250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34251 (eval $ac_link) 2>conftest.er1
34252 ac_status=$?
34253 grep -v '^ *+' conftest.er1 >conftest.err
34254 rm -f conftest.er1
34255 cat conftest.err >&5
34256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34257 (exit $ac_status); } &&
34258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34260 (eval $ac_try) 2>&5
34261 ac_status=$?
34262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263 (exit $ac_status); }; } &&
34264 { ac_try='test -s conftest$ac_exeext'
34265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34266 (eval $ac_try) 2>&5
34267 ac_status=$?
34268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34269 (exit $ac_status); }; }; then
34270 ac_cv_lib_posix4_sched_yield=yes
34271 else
34272 echo "$as_me: failed program was:" >&5
34273 sed 's/^/| /' conftest.$ac_ext >&5
34274
34275 ac_cv_lib_posix4_sched_yield=no
34276 fi
34277 rm -f conftest.err conftest.$ac_objext \
34278 conftest$ac_exeext conftest.$ac_ext
34279 LIBS=$ac_check_lib_save_LIBS
34280 fi
34281 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34282 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34283 if test $ac_cv_lib_posix4_sched_yield = yes; then
34284 cat >>confdefs.h <<\_ACEOF
34285 #define HAVE_SCHED_YIELD 1
34286 _ACEOF
34287 POSIX4_LINK=" -lposix4"
34288 else
34289 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34290 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34291
34292 fi
34293
34294
34295
34296 fi
34297
34298 fi
34299
34300 HAVE_PRIOR_FUNCS=0
34301 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34302 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34303 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34304 echo $ECHO_N "(cached) $ECHO_C" >&6
34305 else
34306 cat >conftest.$ac_ext <<_ACEOF
34307 /* confdefs.h. */
34308 _ACEOF
34309 cat confdefs.h >>conftest.$ac_ext
34310 cat >>conftest.$ac_ext <<_ACEOF
34311 /* end confdefs.h. */
34312 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34314 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34315
34316 /* System header to define __stub macros and hopefully few prototypes,
34317 which can conflict with char pthread_attr_getschedpolicy (); below.
34318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34319 <limits.h> exists even on freestanding compilers. */
34320
34321 #ifdef __STDC__
34322 # include <limits.h>
34323 #else
34324 # include <assert.h>
34325 #endif
34326
34327 #undef pthread_attr_getschedpolicy
34328
34329 /* Override any gcc2 internal prototype to avoid an error. */
34330 #ifdef __cplusplus
34331 extern "C"
34332 {
34333 #endif
34334 /* We use char because int might match the return type of a gcc2
34335 builtin and then its argument prototype would still apply. */
34336 char pthread_attr_getschedpolicy ();
34337 /* The GNU C library defines this for functions which it implements
34338 to always fail with ENOSYS. Some functions are actually named
34339 something starting with __ and the normal name is an alias. */
34340 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34341 choke me
34342 #else
34343 char (*f) () = pthread_attr_getschedpolicy;
34344 #endif
34345 #ifdef __cplusplus
34346 }
34347 #endif
34348
34349 int
34350 main ()
34351 {
34352 return f != pthread_attr_getschedpolicy;
34353 ;
34354 return 0;
34355 }
34356 _ACEOF
34357 rm -f conftest.$ac_objext conftest$ac_exeext
34358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34359 (eval $ac_link) 2>conftest.er1
34360 ac_status=$?
34361 grep -v '^ *+' conftest.er1 >conftest.err
34362 rm -f conftest.er1
34363 cat conftest.err >&5
34364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34365 (exit $ac_status); } &&
34366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34368 (eval $ac_try) 2>&5
34369 ac_status=$?
34370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34371 (exit $ac_status); }; } &&
34372 { ac_try='test -s conftest$ac_exeext'
34373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34374 (eval $ac_try) 2>&5
34375 ac_status=$?
34376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34377 (exit $ac_status); }; }; then
34378 ac_cv_func_pthread_attr_getschedpolicy=yes
34379 else
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.$ac_ext >&5
34382
34383 ac_cv_func_pthread_attr_getschedpolicy=no
34384 fi
34385 rm -f conftest.err conftest.$ac_objext \
34386 conftest$ac_exeext conftest.$ac_ext
34387 fi
34388 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34389 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34390 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34391 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34392 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34393 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34394 echo $ECHO_N "(cached) $ECHO_C" >&6
34395 else
34396 cat >conftest.$ac_ext <<_ACEOF
34397 /* confdefs.h. */
34398 _ACEOF
34399 cat confdefs.h >>conftest.$ac_ext
34400 cat >>conftest.$ac_ext <<_ACEOF
34401 /* end confdefs.h. */
34402 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34404 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34405
34406 /* System header to define __stub macros and hopefully few prototypes,
34407 which can conflict with char pthread_attr_setschedparam (); below.
34408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34409 <limits.h> exists even on freestanding compilers. */
34410
34411 #ifdef __STDC__
34412 # include <limits.h>
34413 #else
34414 # include <assert.h>
34415 #endif
34416
34417 #undef pthread_attr_setschedparam
34418
34419 /* Override any gcc2 internal prototype to avoid an error. */
34420 #ifdef __cplusplus
34421 extern "C"
34422 {
34423 #endif
34424 /* We use char because int might match the return type of a gcc2
34425 builtin and then its argument prototype would still apply. */
34426 char pthread_attr_setschedparam ();
34427 /* The GNU C library defines this for functions which it implements
34428 to always fail with ENOSYS. Some functions are actually named
34429 something starting with __ and the normal name is an alias. */
34430 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34431 choke me
34432 #else
34433 char (*f) () = pthread_attr_setschedparam;
34434 #endif
34435 #ifdef __cplusplus
34436 }
34437 #endif
34438
34439 int
34440 main ()
34441 {
34442 return f != pthread_attr_setschedparam;
34443 ;
34444 return 0;
34445 }
34446 _ACEOF
34447 rm -f conftest.$ac_objext conftest$ac_exeext
34448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34449 (eval $ac_link) 2>conftest.er1
34450 ac_status=$?
34451 grep -v '^ *+' conftest.er1 >conftest.err
34452 rm -f conftest.er1
34453 cat conftest.err >&5
34454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34455 (exit $ac_status); } &&
34456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34458 (eval $ac_try) 2>&5
34459 ac_status=$?
34460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34461 (exit $ac_status); }; } &&
34462 { ac_try='test -s conftest$ac_exeext'
34463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34464 (eval $ac_try) 2>&5
34465 ac_status=$?
34466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34467 (exit $ac_status); }; }; then
34468 ac_cv_func_pthread_attr_setschedparam=yes
34469 else
34470 echo "$as_me: failed program was:" >&5
34471 sed 's/^/| /' conftest.$ac_ext >&5
34472
34473 ac_cv_func_pthread_attr_setschedparam=no
34474 fi
34475 rm -f conftest.err conftest.$ac_objext \
34476 conftest$ac_exeext conftest.$ac_ext
34477 fi
34478 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34479 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34480 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34481 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34482 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34483 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34484 echo $ECHO_N "(cached) $ECHO_C" >&6
34485 else
34486 cat >conftest.$ac_ext <<_ACEOF
34487 /* confdefs.h. */
34488 _ACEOF
34489 cat confdefs.h >>conftest.$ac_ext
34490 cat >>conftest.$ac_ext <<_ACEOF
34491 /* end confdefs.h. */
34492 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34494 #define sched_get_priority_max innocuous_sched_get_priority_max
34495
34496 /* System header to define __stub macros and hopefully few prototypes,
34497 which can conflict with char sched_get_priority_max (); below.
34498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34499 <limits.h> exists even on freestanding compilers. */
34500
34501 #ifdef __STDC__
34502 # include <limits.h>
34503 #else
34504 # include <assert.h>
34505 #endif
34506
34507 #undef sched_get_priority_max
34508
34509 /* Override any gcc2 internal prototype to avoid an error. */
34510 #ifdef __cplusplus
34511 extern "C"
34512 {
34513 #endif
34514 /* We use char because int might match the return type of a gcc2
34515 builtin and then its argument prototype would still apply. */
34516 char sched_get_priority_max ();
34517 /* The GNU C library defines this for functions which it implements
34518 to always fail with ENOSYS. Some functions are actually named
34519 something starting with __ and the normal name is an alias. */
34520 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34521 choke me
34522 #else
34523 char (*f) () = sched_get_priority_max;
34524 #endif
34525 #ifdef __cplusplus
34526 }
34527 #endif
34528
34529 int
34530 main ()
34531 {
34532 return f != sched_get_priority_max;
34533 ;
34534 return 0;
34535 }
34536 _ACEOF
34537 rm -f conftest.$ac_objext conftest$ac_exeext
34538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34539 (eval $ac_link) 2>conftest.er1
34540 ac_status=$?
34541 grep -v '^ *+' conftest.er1 >conftest.err
34542 rm -f conftest.er1
34543 cat conftest.err >&5
34544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34545 (exit $ac_status); } &&
34546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34548 (eval $ac_try) 2>&5
34549 ac_status=$?
34550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34551 (exit $ac_status); }; } &&
34552 { ac_try='test -s conftest$ac_exeext'
34553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34554 (eval $ac_try) 2>&5
34555 ac_status=$?
34556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34557 (exit $ac_status); }; }; then
34558 ac_cv_func_sched_get_priority_max=yes
34559 else
34560 echo "$as_me: failed program was:" >&5
34561 sed 's/^/| /' conftest.$ac_ext >&5
34562
34563 ac_cv_func_sched_get_priority_max=no
34564 fi
34565 rm -f conftest.err conftest.$ac_objext \
34566 conftest$ac_exeext conftest.$ac_ext
34567 fi
34568 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34569 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34570 if test $ac_cv_func_sched_get_priority_max = yes; then
34571 HAVE_PRIOR_FUNCS=1
34572 else
34573 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34574 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34575 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34576 echo $ECHO_N "(cached) $ECHO_C" >&6
34577 else
34578 ac_check_lib_save_LIBS=$LIBS
34579 LIBS="-lposix4 $LIBS"
34580 cat >conftest.$ac_ext <<_ACEOF
34581 /* confdefs.h. */
34582 _ACEOF
34583 cat confdefs.h >>conftest.$ac_ext
34584 cat >>conftest.$ac_ext <<_ACEOF
34585 /* end confdefs.h. */
34586
34587 /* Override any gcc2 internal prototype to avoid an error. */
34588 #ifdef __cplusplus
34589 extern "C"
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 sched_get_priority_max ();
34594 int
34595 main ()
34596 {
34597 sched_get_priority_max ();
34598 ;
34599 return 0;
34600 }
34601 _ACEOF
34602 rm -f conftest.$ac_objext conftest$ac_exeext
34603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34604 (eval $ac_link) 2>conftest.er1
34605 ac_status=$?
34606 grep -v '^ *+' conftest.er1 >conftest.err
34607 rm -f conftest.er1
34608 cat conftest.err >&5
34609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34610 (exit $ac_status); } &&
34611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34613 (eval $ac_try) 2>&5
34614 ac_status=$?
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); }; } &&
34617 { ac_try='test -s conftest$ac_exeext'
34618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34619 (eval $ac_try) 2>&5
34620 ac_status=$?
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); }; }; then
34623 ac_cv_lib_posix4_sched_get_priority_max=yes
34624 else
34625 echo "$as_me: failed program was:" >&5
34626 sed 's/^/| /' conftest.$ac_ext >&5
34627
34628 ac_cv_lib_posix4_sched_get_priority_max=no
34629 fi
34630 rm -f conftest.err conftest.$ac_objext \
34631 conftest$ac_exeext conftest.$ac_ext
34632 LIBS=$ac_check_lib_save_LIBS
34633 fi
34634 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34635 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34636 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34637
34638 HAVE_PRIOR_FUNCS=1
34639 POSIX4_LINK=" -lposix4"
34640
34641 fi
34642
34643
34644 fi
34645
34646
34647 fi
34648
34649
34650 fi
34651
34652
34653 if test "$HAVE_PRIOR_FUNCS" = 1; then
34654 cat >>confdefs.h <<\_ACEOF
34655 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34656 _ACEOF
34657
34658 else
34659 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34660 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34661 fi
34662
34663 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34664 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34665 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34666 echo $ECHO_N "(cached) $ECHO_C" >&6
34667 else
34668 cat >conftest.$ac_ext <<_ACEOF
34669 /* confdefs.h. */
34670 _ACEOF
34671 cat confdefs.h >>conftest.$ac_ext
34672 cat >>conftest.$ac_ext <<_ACEOF
34673 /* end confdefs.h. */
34674 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34676 #define pthread_cancel innocuous_pthread_cancel
34677
34678 /* System header to define __stub macros and hopefully few prototypes,
34679 which can conflict with char pthread_cancel (); below.
34680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34681 <limits.h> exists even on freestanding compilers. */
34682
34683 #ifdef __STDC__
34684 # include <limits.h>
34685 #else
34686 # include <assert.h>
34687 #endif
34688
34689 #undef pthread_cancel
34690
34691 /* Override any gcc2 internal prototype to avoid an error. */
34692 #ifdef __cplusplus
34693 extern "C"
34694 {
34695 #endif
34696 /* We use char because int might match the return type of a gcc2
34697 builtin and then its argument prototype would still apply. */
34698 char pthread_cancel ();
34699 /* The GNU C library defines this for functions which it implements
34700 to always fail with ENOSYS. Some functions are actually named
34701 something starting with __ and the normal name is an alias. */
34702 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34703 choke me
34704 #else
34705 char (*f) () = pthread_cancel;
34706 #endif
34707 #ifdef __cplusplus
34708 }
34709 #endif
34710
34711 int
34712 main ()
34713 {
34714 return f != pthread_cancel;
34715 ;
34716 return 0;
34717 }
34718 _ACEOF
34719 rm -f conftest.$ac_objext conftest$ac_exeext
34720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34721 (eval $ac_link) 2>conftest.er1
34722 ac_status=$?
34723 grep -v '^ *+' conftest.er1 >conftest.err
34724 rm -f conftest.er1
34725 cat conftest.err >&5
34726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34727 (exit $ac_status); } &&
34728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34730 (eval $ac_try) 2>&5
34731 ac_status=$?
34732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34733 (exit $ac_status); }; } &&
34734 { ac_try='test -s conftest$ac_exeext'
34735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34736 (eval $ac_try) 2>&5
34737 ac_status=$?
34738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34739 (exit $ac_status); }; }; then
34740 ac_cv_func_pthread_cancel=yes
34741 else
34742 echo "$as_me: failed program was:" >&5
34743 sed 's/^/| /' conftest.$ac_ext >&5
34744
34745 ac_cv_func_pthread_cancel=no
34746 fi
34747 rm -f conftest.err conftest.$ac_objext \
34748 conftest$ac_exeext conftest.$ac_ext
34749 fi
34750 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
34751 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
34752 if test $ac_cv_func_pthread_cancel = yes; then
34753 cat >>confdefs.h <<\_ACEOF
34754 #define HAVE_PTHREAD_CANCEL 1
34755 _ACEOF
34756
34757 else
34758 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
34759 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
34760 fi
34761
34762
34763
34764
34765 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
34766 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
34767 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
34768 echo $ECHO_N "(cached) $ECHO_C" >&6
34769 else
34770
34771 cat >conftest.$ac_ext <<_ACEOF
34772 /* confdefs.h. */
34773 _ACEOF
34774 cat confdefs.h >>conftest.$ac_ext
34775 cat >>conftest.$ac_ext <<_ACEOF
34776 /* end confdefs.h. */
34777 #include <pthread.h>
34778 int
34779 main ()
34780 {
34781
34782 pthread_mutexattr_t attr;
34783 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34784
34785 ;
34786 return 0;
34787 }
34788 _ACEOF
34789 rm -f conftest.$ac_objext
34790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34791 (eval $ac_compile) 2>conftest.er1
34792 ac_status=$?
34793 grep -v '^ *+' conftest.er1 >conftest.err
34794 rm -f conftest.er1
34795 cat conftest.err >&5
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); } &&
34798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34800 (eval $ac_try) 2>&5
34801 ac_status=$?
34802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34803 (exit $ac_status); }; } &&
34804 { ac_try='test -s conftest.$ac_objext'
34805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34806 (eval $ac_try) 2>&5
34807 ac_status=$?
34808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34809 (exit $ac_status); }; }; then
34810
34811 wx_cv_type_pthread_mutexattr_t=yes
34812
34813 else
34814 echo "$as_me: failed program was:" >&5
34815 sed 's/^/| /' conftest.$ac_ext >&5
34816
34817
34818 wx_cv_type_pthread_mutexattr_t=no
34819
34820
34821 fi
34822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34823
34824 fi
34825 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
34826 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
34827
34828 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
34829 cat >>confdefs.h <<\_ACEOF
34830 #define HAVE_PTHREAD_MUTEXATTR_T 1
34831 _ACEOF
34832
34833 else
34834 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
34835 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
34836 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
34837 echo $ECHO_N "(cached) $ECHO_C" >&6
34838 else
34839
34840 cat >conftest.$ac_ext <<_ACEOF
34841 /* confdefs.h. */
34842 _ACEOF
34843 cat confdefs.h >>conftest.$ac_ext
34844 cat >>conftest.$ac_ext <<_ACEOF
34845 /* end confdefs.h. */
34846 #include <pthread.h>
34847 int
34848 main ()
34849 {
34850
34851 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34852
34853 ;
34854 return 0;
34855 }
34856 _ACEOF
34857 rm -f conftest.$ac_objext
34858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34859 (eval $ac_compile) 2>conftest.er1
34860 ac_status=$?
34861 grep -v '^ *+' conftest.er1 >conftest.err
34862 rm -f conftest.er1
34863 cat conftest.err >&5
34864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34865 (exit $ac_status); } &&
34866 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34868 (eval $ac_try) 2>&5
34869 ac_status=$?
34870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34871 (exit $ac_status); }; } &&
34872 { ac_try='test -s conftest.$ac_objext'
34873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34874 (eval $ac_try) 2>&5
34875 ac_status=$?
34876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34877 (exit $ac_status); }; }; then
34878
34879 wx_cv_type_pthread_rec_mutex_init=yes
34880
34881 else
34882 echo "$as_me: failed program was:" >&5
34883 sed 's/^/| /' conftest.$ac_ext >&5
34884
34885
34886 wx_cv_type_pthread_rec_mutex_init=no
34887
34888
34889 fi
34890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34891
34892 fi
34893 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34894 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34895 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34896 cat >>confdefs.h <<\_ACEOF
34897 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34898 _ACEOF
34899
34900 else
34901 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34902 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34903 fi
34904 fi
34905 fi
34906
34907 else
34908 if test "$wxUSE_THREADS" = "yes" ; then
34909 case "${host}" in
34910 *-*-mingw32* )
34911 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34912 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34913 if test "${wx_cv_cflags_mthread+set}" = set; then
34914 echo $ECHO_N "(cached) $ECHO_C" >&6
34915 else
34916
34917 CFLAGS_OLD="$CFLAGS"
34918 CFLAGS="$CFLAGS -mthreads"
34919 cat >conftest.$ac_ext <<_ACEOF
34920 /* confdefs.h. */
34921 _ACEOF
34922 cat confdefs.h >>conftest.$ac_ext
34923 cat >>conftest.$ac_ext <<_ACEOF
34924 /* end confdefs.h. */
34925
34926 int
34927 main ()
34928 {
34929
34930 ;
34931 return 0;
34932 }
34933 _ACEOF
34934 rm -f conftest.$ac_objext
34935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34936 (eval $ac_compile) 2>conftest.er1
34937 ac_status=$?
34938 grep -v '^ *+' conftest.er1 >conftest.err
34939 rm -f conftest.er1
34940 cat conftest.err >&5
34941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34942 (exit $ac_status); } &&
34943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34945 (eval $ac_try) 2>&5
34946 ac_status=$?
34947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34948 (exit $ac_status); }; } &&
34949 { ac_try='test -s conftest.$ac_objext'
34950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34951 (eval $ac_try) 2>&5
34952 ac_status=$?
34953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34954 (exit $ac_status); }; }; then
34955 wx_cv_cflags_mthread=yes
34956 else
34957 echo "$as_me: failed program was:" >&5
34958 sed 's/^/| /' conftest.$ac_ext >&5
34959
34960 wx_cv_cflags_mthread=no
34961
34962 fi
34963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34964
34965
34966 fi
34967 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34968 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34969
34970 if test "$wx_cv_cflags_mthread" = "yes"; then
34971 CXXFLAGS="$CXXFLAGS -mthreads"
34972 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
34973 LDFLAGS="$LDFLAGS -mthreads"
34974 else
34975 CFLAGS="$CFLAGS_OLD"
34976 fi
34977 ;;
34978 *-pc-os2*emx )
34979 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34980 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34981 LDFLAGS="$LDFLAGS -Zmt"
34982 ;;
34983 esac
34984 fi
34985 fi
34986
34987 if test "$wxUSE_THREADS" = "yes"; then
34988 cat >>confdefs.h <<\_ACEOF
34989 #define wxUSE_THREADS 1
34990 _ACEOF
34991
34992
34993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
34994 else
34995 if test "$ac_cv_func_strtok_r" = "yes"; then
34996 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
34997 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
34998 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
34999 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
35000 echo "$as_me:$LINENO: result: yes" >&5
35001 echo "${ECHO_T}yes" >&6
35002 else
35003 echo "$as_me:$LINENO: result: no" >&5
35004 echo "${ECHO_T}no" >&6
35005 fi
35006 fi
35007 fi
35008
35009 if test "$WXGTK20" = 1 ; then
35010 cat >>confdefs.h <<_ACEOF
35011 #define __WXGTK20__ $WXGTK20
35012 _ACEOF
35013
35014 WXGTK12=1
35015 fi
35016
35017 if test "$WXGTK12" = 1 ; then
35018 cat >>confdefs.h <<_ACEOF
35019 #define __WXGTK12__ $WXGTK12
35020 _ACEOF
35021
35022 fi
35023
35024 if test "$WXGTK127" = 1 ; then
35025 cat >>confdefs.h <<_ACEOF
35026 #define __WXGTK127__ $WXGTK127
35027 _ACEOF
35028
35029 fi
35030
35031 if test "$WXGPE" = 1 ; then
35032 cat >>confdefs.h <<_ACEOF
35033 #define __WXGPE__ $WXGPE
35034 _ACEOF
35035
35036 fi
35037
35038 WXDEBUG=
35039
35040 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35041 WXDEBUG="-g"
35042 wxUSE_OPTIMISE=no
35043 fi
35044
35045 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35046 wxUSE_DEBUG_INFO=yes
35047 WXDEBUG="-ggdb"
35048 fi
35049
35050 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35051 cat >>confdefs.h <<\_ACEOF
35052 #define WXDEBUG 1
35053 _ACEOF
35054
35055 WXDEBUG_DEFINE="-D__WXDEBUG__"
35056 else
35057 if test "$wxUSE_GTK" = 1 ; then
35058 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
35059 fi
35060 fi
35061
35062 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35063 cat >>confdefs.h <<\_ACEOF
35064 #define wxUSE_MEMORY_TRACING 1
35065 _ACEOF
35066
35067 cat >>confdefs.h <<\_ACEOF
35068 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35069 _ACEOF
35070
35071 cat >>confdefs.h <<\_ACEOF
35072 #define wxUSE_DEBUG_NEW_ALWAYS 1
35073 _ACEOF
35074
35075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
35076 fi
35077
35078 if test "$wxUSE_DMALLOC" = "yes" ; then
35079 DMALLOC_LIBS="-ldmalloc"
35080 fi
35081
35082 PROFILE=
35083 if test "$wxUSE_PROFILE" = "yes" ; then
35084 PROFILE=" -pg"
35085 fi
35086
35087 CODE_GEN_FLAGS=
35088 CODE_GEN_FLAGS_CXX=
35089 if test "$GCC" = "yes" ; then
35090 if test "$wxUSE_NO_RTTI" = "yes" ; then
35091 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
35092 fi
35093 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35094 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35095 fi
35096 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35097 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
35098 fi
35099
35100 case "${host}" in
35101 powerpc*-*-aix* )
35102 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
35103 ;;
35104 *-hppa* )
35105 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
35106 ;;
35107 esac
35108 fi
35109
35110 OPTIMISE=
35111 if test "$wxUSE_OPTIMISE" = "no" ; then
35112 if test "$GCC" = yes ; then
35113 OPTIMISE="-O0"
35114 fi
35115 else
35116 if test "$GCC" = yes ; then
35117 OPTIMISE="-O2"
35118
35119 case "${host}" in
35120 i586-*-*|i686-*-* )
35121 OPTIMISE="${OPTIMISE} "
35122 ;;
35123 esac
35124 else
35125 OPTIMISE="-O"
35126 fi
35127 fi
35128
35129
35130 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35131 cat >>confdefs.h <<\_ACEOF
35132 #define WXWIN_COMPATIBILITY_2_2 1
35133 _ACEOF
35134
35135
35136 WXWIN_COMPATIBILITY_2_4="yes"
35137 fi
35138
35139 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35140 cat >>confdefs.h <<\_ACEOF
35141 #define WXWIN_COMPATIBILITY_2_4 1
35142 _ACEOF
35143
35144 fi
35145
35146
35147 if test "$wxUSE_GUI" = "yes"; then
35148 cat >>confdefs.h <<\_ACEOF
35149 #define wxUSE_GUI 1
35150 _ACEOF
35151
35152
35153 fi
35154
35155
35156 if test "$wxUSE_UNIX" = "yes"; then
35157 cat >>confdefs.h <<\_ACEOF
35158 #define wxUSE_UNIX 1
35159 _ACEOF
35160
35161 fi
35162
35163
35164 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35165
35166 HAVE_DL_FUNCS=0
35167 HAVE_SHL_FUNCS=0
35168 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35169 if test "$USE_DARWIN" = 1; then
35170 HAVE_DL_FUNCS=1
35171 else
35172
35173 for ac_func in dlopen
35174 do
35175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35176 echo "$as_me:$LINENO: checking for $ac_func" >&5
35177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35178 if eval "test \"\${$as_ac_var+set}\" = set"; then
35179 echo $ECHO_N "(cached) $ECHO_C" >&6
35180 else
35181 cat >conftest.$ac_ext <<_ACEOF
35182 /* confdefs.h. */
35183 _ACEOF
35184 cat confdefs.h >>conftest.$ac_ext
35185 cat >>conftest.$ac_ext <<_ACEOF
35186 /* end confdefs.h. */
35187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35189 #define $ac_func innocuous_$ac_func
35190
35191 /* System header to define __stub macros and hopefully few prototypes,
35192 which can conflict with char $ac_func (); below.
35193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35194 <limits.h> exists even on freestanding compilers. */
35195
35196 #ifdef __STDC__
35197 # include <limits.h>
35198 #else
35199 # include <assert.h>
35200 #endif
35201
35202 #undef $ac_func
35203
35204 /* Override any gcc2 internal prototype to avoid an error. */
35205 #ifdef __cplusplus
35206 extern "C"
35207 {
35208 #endif
35209 /* We use char because int might match the return type of a gcc2
35210 builtin and then its argument prototype would still apply. */
35211 char $ac_func ();
35212 /* The GNU C library defines this for functions which it implements
35213 to always fail with ENOSYS. Some functions are actually named
35214 something starting with __ and the normal name is an alias. */
35215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35216 choke me
35217 #else
35218 char (*f) () = $ac_func;
35219 #endif
35220 #ifdef __cplusplus
35221 }
35222 #endif
35223
35224 int
35225 main ()
35226 {
35227 return f != $ac_func;
35228 ;
35229 return 0;
35230 }
35231 _ACEOF
35232 rm -f conftest.$ac_objext conftest$ac_exeext
35233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35234 (eval $ac_link) 2>conftest.er1
35235 ac_status=$?
35236 grep -v '^ *+' conftest.er1 >conftest.err
35237 rm -f conftest.er1
35238 cat conftest.err >&5
35239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240 (exit $ac_status); } &&
35241 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35243 (eval $ac_try) 2>&5
35244 ac_status=$?
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); }; } &&
35247 { ac_try='test -s conftest$ac_exeext'
35248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35249 (eval $ac_try) 2>&5
35250 ac_status=$?
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); }; }; then
35253 eval "$as_ac_var=yes"
35254 else
35255 echo "$as_me: failed program was:" >&5
35256 sed 's/^/| /' conftest.$ac_ext >&5
35257
35258 eval "$as_ac_var=no"
35259 fi
35260 rm -f conftest.err conftest.$ac_objext \
35261 conftest$ac_exeext conftest.$ac_ext
35262 fi
35263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35265 if test `eval echo '${'$as_ac_var'}'` = yes; then
35266 cat >>confdefs.h <<_ACEOF
35267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35268 _ACEOF
35269
35270 cat >>confdefs.h <<\_ACEOF
35271 #define HAVE_DLOPEN 1
35272 _ACEOF
35273
35274 HAVE_DL_FUNCS=1
35275
35276 else
35277
35278 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35279 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35280 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35281 echo $ECHO_N "(cached) $ECHO_C" >&6
35282 else
35283 ac_check_lib_save_LIBS=$LIBS
35284 LIBS="-ldl $LIBS"
35285 cat >conftest.$ac_ext <<_ACEOF
35286 /* confdefs.h. */
35287 _ACEOF
35288 cat confdefs.h >>conftest.$ac_ext
35289 cat >>conftest.$ac_ext <<_ACEOF
35290 /* end confdefs.h. */
35291
35292 /* Override any gcc2 internal prototype to avoid an error. */
35293 #ifdef __cplusplus
35294 extern "C"
35295 #endif
35296 /* We use char because int might match the return type of a gcc2
35297 builtin and then its argument prototype would still apply. */
35298 char dlopen ();
35299 int
35300 main ()
35301 {
35302 dlopen ();
35303 ;
35304 return 0;
35305 }
35306 _ACEOF
35307 rm -f conftest.$ac_objext conftest$ac_exeext
35308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35309 (eval $ac_link) 2>conftest.er1
35310 ac_status=$?
35311 grep -v '^ *+' conftest.er1 >conftest.err
35312 rm -f conftest.er1
35313 cat conftest.err >&5
35314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35315 (exit $ac_status); } &&
35316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35318 (eval $ac_try) 2>&5
35319 ac_status=$?
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); }; } &&
35322 { ac_try='test -s conftest$ac_exeext'
35323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35324 (eval $ac_try) 2>&5
35325 ac_status=$?
35326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35327 (exit $ac_status); }; }; then
35328 ac_cv_lib_dl_dlopen=yes
35329 else
35330 echo "$as_me: failed program was:" >&5
35331 sed 's/^/| /' conftest.$ac_ext >&5
35332
35333 ac_cv_lib_dl_dlopen=no
35334 fi
35335 rm -f conftest.err conftest.$ac_objext \
35336 conftest$ac_exeext conftest.$ac_ext
35337 LIBS=$ac_check_lib_save_LIBS
35338 fi
35339 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
35340 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35341 if test $ac_cv_lib_dl_dlopen = yes; then
35342
35343 cat >>confdefs.h <<\_ACEOF
35344 #define HAVE_DLOPEN 1
35345 _ACEOF
35346
35347 HAVE_DL_FUNCS=1
35348 DL_LINK=" -ldl$DL_LINK"
35349
35350 else
35351
35352
35353 for ac_func in shl_load
35354 do
35355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35356 echo "$as_me:$LINENO: checking for $ac_func" >&5
35357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35358 if eval "test \"\${$as_ac_var+set}\" = set"; then
35359 echo $ECHO_N "(cached) $ECHO_C" >&6
35360 else
35361 cat >conftest.$ac_ext <<_ACEOF
35362 /* confdefs.h. */
35363 _ACEOF
35364 cat confdefs.h >>conftest.$ac_ext
35365 cat >>conftest.$ac_ext <<_ACEOF
35366 /* end confdefs.h. */
35367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35369 #define $ac_func innocuous_$ac_func
35370
35371 /* System header to define __stub macros and hopefully few prototypes,
35372 which can conflict with char $ac_func (); below.
35373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35374 <limits.h> exists even on freestanding compilers. */
35375
35376 #ifdef __STDC__
35377 # include <limits.h>
35378 #else
35379 # include <assert.h>
35380 #endif
35381
35382 #undef $ac_func
35383
35384 /* Override any gcc2 internal prototype to avoid an error. */
35385 #ifdef __cplusplus
35386 extern "C"
35387 {
35388 #endif
35389 /* We use char because int might match the return type of a gcc2
35390 builtin and then its argument prototype would still apply. */
35391 char $ac_func ();
35392 /* The GNU C library defines this for functions which it implements
35393 to always fail with ENOSYS. Some functions are actually named
35394 something starting with __ and the normal name is an alias. */
35395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35396 choke me
35397 #else
35398 char (*f) () = $ac_func;
35399 #endif
35400 #ifdef __cplusplus
35401 }
35402 #endif
35403
35404 int
35405 main ()
35406 {
35407 return f != $ac_func;
35408 ;
35409 return 0;
35410 }
35411 _ACEOF
35412 rm -f conftest.$ac_objext conftest$ac_exeext
35413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35414 (eval $ac_link) 2>conftest.er1
35415 ac_status=$?
35416 grep -v '^ *+' conftest.er1 >conftest.err
35417 rm -f conftest.er1
35418 cat conftest.err >&5
35419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35420 (exit $ac_status); } &&
35421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35423 (eval $ac_try) 2>&5
35424 ac_status=$?
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); }; } &&
35427 { ac_try='test -s conftest$ac_exeext'
35428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35429 (eval $ac_try) 2>&5
35430 ac_status=$?
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); }; }; then
35433 eval "$as_ac_var=yes"
35434 else
35435 echo "$as_me: failed program was:" >&5
35436 sed 's/^/| /' conftest.$ac_ext >&5
35437
35438 eval "$as_ac_var=no"
35439 fi
35440 rm -f conftest.err conftest.$ac_objext \
35441 conftest$ac_exeext conftest.$ac_ext
35442 fi
35443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35445 if test `eval echo '${'$as_ac_var'}'` = yes; then
35446 cat >>confdefs.h <<_ACEOF
35447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35448 _ACEOF
35449
35450 cat >>confdefs.h <<\_ACEOF
35451 #define HAVE_SHL_LOAD 1
35452 _ACEOF
35453
35454 HAVE_SHL_FUNCS=1
35455
35456 else
35457
35458 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35459 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35460 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35461 echo $ECHO_N "(cached) $ECHO_C" >&6
35462 else
35463 ac_check_lib_save_LIBS=$LIBS
35464 LIBS="-lshl_load $LIBS"
35465 cat >conftest.$ac_ext <<_ACEOF
35466 /* confdefs.h. */
35467 _ACEOF
35468 cat confdefs.h >>conftest.$ac_ext
35469 cat >>conftest.$ac_ext <<_ACEOF
35470 /* end confdefs.h. */
35471
35472 /* Override any gcc2 internal prototype to avoid an error. */
35473 #ifdef __cplusplus
35474 extern "C"
35475 #endif
35476 /* We use char because int might match the return type of a gcc2
35477 builtin and then its argument prototype would still apply. */
35478 char dld ();
35479 int
35480 main ()
35481 {
35482 dld ();
35483 ;
35484 return 0;
35485 }
35486 _ACEOF
35487 rm -f conftest.$ac_objext conftest$ac_exeext
35488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35489 (eval $ac_link) 2>conftest.er1
35490 ac_status=$?
35491 grep -v '^ *+' conftest.er1 >conftest.err
35492 rm -f conftest.er1
35493 cat conftest.err >&5
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); } &&
35496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35498 (eval $ac_try) 2>&5
35499 ac_status=$?
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); }; } &&
35502 { ac_try='test -s conftest$ac_exeext'
35503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35504 (eval $ac_try) 2>&5
35505 ac_status=$?
35506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35507 (exit $ac_status); }; }; then
35508 ac_cv_lib_shl_load_dld=yes
35509 else
35510 echo "$as_me: failed program was:" >&5
35511 sed 's/^/| /' conftest.$ac_ext >&5
35512
35513 ac_cv_lib_shl_load_dld=no
35514 fi
35515 rm -f conftest.err conftest.$ac_objext \
35516 conftest$ac_exeext conftest.$ac_ext
35517 LIBS=$ac_check_lib_save_LIBS
35518 fi
35519 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35520 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35521 if test $ac_cv_lib_shl_load_dld = yes; then
35522
35523 HAVE_SHL_FUNCS=1
35524 DL_LINK=" -ldld$DL_LINK"
35525
35526 fi
35527
35528
35529 fi
35530 done
35531
35532
35533 fi
35534
35535
35536 fi
35537 done
35538
35539
35540 if test "$HAVE_DL_FUNCS" = 1; then
35541
35542 for ac_func in dlerror
35543 do
35544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35545 echo "$as_me:$LINENO: checking for $ac_func" >&5
35546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35547 if eval "test \"\${$as_ac_var+set}\" = set"; then
35548 echo $ECHO_N "(cached) $ECHO_C" >&6
35549 else
35550 cat >conftest.$ac_ext <<_ACEOF
35551 /* confdefs.h. */
35552 _ACEOF
35553 cat confdefs.h >>conftest.$ac_ext
35554 cat >>conftest.$ac_ext <<_ACEOF
35555 /* end confdefs.h. */
35556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35558 #define $ac_func innocuous_$ac_func
35559
35560 /* System header to define __stub macros and hopefully few prototypes,
35561 which can conflict with char $ac_func (); below.
35562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35563 <limits.h> exists even on freestanding compilers. */
35564
35565 #ifdef __STDC__
35566 # include <limits.h>
35567 #else
35568 # include <assert.h>
35569 #endif
35570
35571 #undef $ac_func
35572
35573 /* Override any gcc2 internal prototype to avoid an error. */
35574 #ifdef __cplusplus
35575 extern "C"
35576 {
35577 #endif
35578 /* We use char because int might match the return type of a gcc2
35579 builtin and then its argument prototype would still apply. */
35580 char $ac_func ();
35581 /* The GNU C library defines this for functions which it implements
35582 to always fail with ENOSYS. Some functions are actually named
35583 something starting with __ and the normal name is an alias. */
35584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35585 choke me
35586 #else
35587 char (*f) () = $ac_func;
35588 #endif
35589 #ifdef __cplusplus
35590 }
35591 #endif
35592
35593 int
35594 main ()
35595 {
35596 return f != $ac_func;
35597 ;
35598 return 0;
35599 }
35600 _ACEOF
35601 rm -f conftest.$ac_objext conftest$ac_exeext
35602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35603 (eval $ac_link) 2>conftest.er1
35604 ac_status=$?
35605 grep -v '^ *+' conftest.er1 >conftest.err
35606 rm -f conftest.er1
35607 cat conftest.err >&5
35608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609 (exit $ac_status); } &&
35610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35612 (eval $ac_try) 2>&5
35613 ac_status=$?
35614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35615 (exit $ac_status); }; } &&
35616 { ac_try='test -s conftest$ac_exeext'
35617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35618 (eval $ac_try) 2>&5
35619 ac_status=$?
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); }; }; then
35622 eval "$as_ac_var=yes"
35623 else
35624 echo "$as_me: failed program was:" >&5
35625 sed 's/^/| /' conftest.$ac_ext >&5
35626
35627 eval "$as_ac_var=no"
35628 fi
35629 rm -f conftest.err conftest.$ac_objext \
35630 conftest$ac_exeext conftest.$ac_ext
35631 fi
35632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35634 if test `eval echo '${'$as_ac_var'}'` = yes; then
35635 cat >>confdefs.h <<_ACEOF
35636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35637 _ACEOF
35638 cat >>confdefs.h <<\_ACEOF
35639 #define HAVE_DLERROR 1
35640 _ACEOF
35641
35642 else
35643
35644 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35645 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35646 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35647 echo $ECHO_N "(cached) $ECHO_C" >&6
35648 else
35649 ac_check_lib_save_LIBS=$LIBS
35650 LIBS="-ldl $LIBS"
35651 cat >conftest.$ac_ext <<_ACEOF
35652 /* confdefs.h. */
35653 _ACEOF
35654 cat confdefs.h >>conftest.$ac_ext
35655 cat >>conftest.$ac_ext <<_ACEOF
35656 /* end confdefs.h. */
35657
35658 /* Override any gcc2 internal prototype to avoid an error. */
35659 #ifdef __cplusplus
35660 extern "C"
35661 #endif
35662 /* We use char because int might match the return type of a gcc2
35663 builtin and then its argument prototype would still apply. */
35664 char dlerror ();
35665 int
35666 main ()
35667 {
35668 dlerror ();
35669 ;
35670 return 0;
35671 }
35672 _ACEOF
35673 rm -f conftest.$ac_objext conftest$ac_exeext
35674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35675 (eval $ac_link) 2>conftest.er1
35676 ac_status=$?
35677 grep -v '^ *+' conftest.er1 >conftest.err
35678 rm -f conftest.er1
35679 cat conftest.err >&5
35680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35681 (exit $ac_status); } &&
35682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35684 (eval $ac_try) 2>&5
35685 ac_status=$?
35686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35687 (exit $ac_status); }; } &&
35688 { ac_try='test -s conftest$ac_exeext'
35689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35690 (eval $ac_try) 2>&5
35691 ac_status=$?
35692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35693 (exit $ac_status); }; }; then
35694 ac_cv_lib_dl_dlerror=yes
35695 else
35696 echo "$as_me: failed program was:" >&5
35697 sed 's/^/| /' conftest.$ac_ext >&5
35698
35699 ac_cv_lib_dl_dlerror=no
35700 fi
35701 rm -f conftest.err conftest.$ac_objext \
35702 conftest$ac_exeext conftest.$ac_ext
35703 LIBS=$ac_check_lib_save_LIBS
35704 fi
35705 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35706 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35707 if test $ac_cv_lib_dl_dlerror = yes; then
35708 cat >>confdefs.h <<\_ACEOF
35709 #define HAVE_DLERROR 1
35710 _ACEOF
35711
35712 fi
35713
35714
35715
35716 fi
35717 done
35718
35719 fi
35720 fi
35721
35722 if test "$HAVE_DL_FUNCS" = 0; then
35723 if test "$HAVE_SHL_FUNCS" = 0; then
35724 if test "$USE_UNIX" = 1; then
35725 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35726 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35727 wxUSE_DYNAMIC_LOADER=no
35728 wxUSE_DYNLIB_CLASS=no
35729 else
35730 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35731 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35732 fi
35733 fi
35734 fi
35735 fi
35736 fi
35737
35738 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35739 cat >>confdefs.h <<\_ACEOF
35740 #define wxUSE_DYNAMIC_LOADER 1
35741 _ACEOF
35742
35743 fi
35744 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35745 cat >>confdefs.h <<\_ACEOF
35746 #define wxUSE_DYNLIB_CLASS 1
35747 _ACEOF
35748
35749 fi
35750
35751
35752
35753 if test "$wxUSE_PLUGINS" = "yes" ; then
35754 if test "$wxUSE_SHARED" = "no" ; then
35755 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
35756 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
35757 wxUSE_PLUGINS=no
35758 fi
35759 if test "$wxUSE_MONOLITHIC" = "yes" ; then
35760 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
35761 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35762 wxUSE_PLUGINS=no
35763 fi
35764 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35765 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35766 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35767 wxUSE_PLUGINS=no
35768 fi
35769 if test "$wxUSE_PLUGINS" = "yes" ; then
35770 cat >>confdefs.h <<\_ACEOF
35771 #define wxUSE_PLUGINS 1
35772 _ACEOF
35773
35774 fi
35775 fi
35776
35777
35778 if test "$wxUSE_STL" = "yes"; then
35779 cat >>confdefs.h <<\_ACEOF
35780 #define wxUSE_STL 1
35781 _ACEOF
35782
35783 fi
35784
35785 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35786 cat >>confdefs.h <<\_ACEOF
35787 #define wxUSE_APPLE_IEEE 1
35788 _ACEOF
35789
35790 fi
35791
35792 if test "$wxUSE_TIMER" = "yes"; then
35793 cat >>confdefs.h <<\_ACEOF
35794 #define wxUSE_TIMER 1
35795 _ACEOF
35796
35797 fi
35798
35799 WITH_PLUGIN_SDL=0
35800 if test "$wxUSE_SOUND" = "yes"; then
35801 if test "$USE_UNIX" = "1" ; then
35802
35803 for ac_header in sys/soundcard.h
35804 do
35805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35807 echo "$as_me:$LINENO: checking for $ac_header" >&5
35808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35810 echo $ECHO_N "(cached) $ECHO_C" >&6
35811 fi
35812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35814 else
35815 # Is the header compilable?
35816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35818 cat >conftest.$ac_ext <<_ACEOF
35819 /* confdefs.h. */
35820 _ACEOF
35821 cat confdefs.h >>conftest.$ac_ext
35822 cat >>conftest.$ac_ext <<_ACEOF
35823 /* end confdefs.h. */
35824 $ac_includes_default
35825 #include <$ac_header>
35826 _ACEOF
35827 rm -f conftest.$ac_objext
35828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35829 (eval $ac_compile) 2>conftest.er1
35830 ac_status=$?
35831 grep -v '^ *+' conftest.er1 >conftest.err
35832 rm -f conftest.er1
35833 cat conftest.err >&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); } &&
35836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35839 ac_status=$?
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; } &&
35842 { ac_try='test -s conftest.$ac_objext'
35843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35844 (eval $ac_try) 2>&5
35845 ac_status=$?
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); }; }; then
35848 ac_header_compiler=yes
35849 else
35850 echo "$as_me: failed program was:" >&5
35851 sed 's/^/| /' conftest.$ac_ext >&5
35852
35853 ac_header_compiler=no
35854 fi
35855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35856 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35857 echo "${ECHO_T}$ac_header_compiler" >&6
35858
35859 # Is the header present?
35860 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35861 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35862 cat >conftest.$ac_ext <<_ACEOF
35863 /* confdefs.h. */
35864 _ACEOF
35865 cat confdefs.h >>conftest.$ac_ext
35866 cat >>conftest.$ac_ext <<_ACEOF
35867 /* end confdefs.h. */
35868 #include <$ac_header>
35869 _ACEOF
35870 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35871 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35872 ac_status=$?
35873 grep -v '^ *+' conftest.er1 >conftest.err
35874 rm -f conftest.er1
35875 cat conftest.err >&5
35876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35877 (exit $ac_status); } >/dev/null; then
35878 if test -s conftest.err; then
35879 ac_cpp_err=$ac_c_preproc_warn_flag
35880 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35881 else
35882 ac_cpp_err=
35883 fi
35884 else
35885 ac_cpp_err=yes
35886 fi
35887 if test -z "$ac_cpp_err"; then
35888 ac_header_preproc=yes
35889 else
35890 echo "$as_me: failed program was:" >&5
35891 sed 's/^/| /' conftest.$ac_ext >&5
35892
35893 ac_header_preproc=no
35894 fi
35895 rm -f conftest.err conftest.$ac_ext
35896 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35897 echo "${ECHO_T}$ac_header_preproc" >&6
35898
35899 # So? What about this header?
35900 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35901 yes:no: )
35902 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35903 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35905 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35906 ac_header_preproc=yes
35907 ;;
35908 no:yes:* )
35909 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35910 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35911 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35912 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35913 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35914 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35915 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35916 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35918 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35919 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35920 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35921 (
35922 cat <<\_ASBOX
35923 ## ----------------------------------------- ##
35924 ## Report this to wx-dev@lists.wxwidgets.org ##
35925 ## ----------------------------------------- ##
35926 _ASBOX
35927 ) |
35928 sed "s/^/$as_me: WARNING: /" >&2
35929 ;;
35930 esac
35931 echo "$as_me:$LINENO: checking for $ac_header" >&5
35932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35934 echo $ECHO_N "(cached) $ECHO_C" >&6
35935 else
35936 eval "$as_ac_Header=\$ac_header_preproc"
35937 fi
35938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35940
35941 fi
35942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35943 cat >>confdefs.h <<_ACEOF
35944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35945 _ACEOF
35946
35947 fi
35948
35949 done
35950
35951
35952 if test "$wxUSE_LIBSDL" != "no"; then
35953
35954 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35955 if test "${with_sdl_prefix+set}" = set; then
35956 withval="$with_sdl_prefix"
35957 sdl_prefix="$withval"
35958 else
35959 sdl_prefix=""
35960 fi;
35961
35962 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35963 if test "${with_sdl_exec_prefix+set}" = set; then
35964 withval="$with_sdl_exec_prefix"
35965 sdl_exec_prefix="$withval"
35966 else
35967 sdl_exec_prefix=""
35968 fi;
35969 # Check whether --enable-sdltest or --disable-sdltest was given.
35970 if test "${enable_sdltest+set}" = set; then
35971 enableval="$enable_sdltest"
35972
35973 else
35974 enable_sdltest=yes
35975 fi;
35976
35977 if test x$sdl_exec_prefix != x ; then
35978 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
35979 if test x${SDL_CONFIG+set} != xset ; then
35980 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
35981 fi
35982 fi
35983 if test x$sdl_prefix != x ; then
35984 sdl_args="$sdl_args --prefix=$sdl_prefix"
35985 if test x${SDL_CONFIG+set} != xset ; then
35986 SDL_CONFIG=$sdl_prefix/bin/sdl-config
35987 fi
35988 fi
35989
35990
35991 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
35992 # Extract the first word of "sdl-config", so it can be a program name with args.
35993 set dummy sdl-config; ac_word=$2
35994 echo "$as_me:$LINENO: checking for $ac_word" >&5
35995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35996 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
35997 echo $ECHO_N "(cached) $ECHO_C" >&6
35998 else
35999 case $SDL_CONFIG in
36000 [\\/]* | ?:[\\/]*)
36001 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
36002 ;;
36003 *)
36004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36005 for as_dir in $PATH
36006 do
36007 IFS=$as_save_IFS
36008 test -z "$as_dir" && as_dir=.
36009 for ac_exec_ext in '' $ac_executable_extensions; do
36010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36011 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36013 break 2
36014 fi
36015 done
36016 done
36017
36018 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
36019 ;;
36020 esac
36021 fi
36022 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
36023
36024 if test -n "$SDL_CONFIG"; then
36025 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36026 echo "${ECHO_T}$SDL_CONFIG" >&6
36027 else
36028 echo "$as_me:$LINENO: result: no" >&5
36029 echo "${ECHO_T}no" >&6
36030 fi
36031
36032 min_sdl_version=1.2.0
36033 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36034 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36035 no_sdl=""
36036 if test "$SDL_CONFIG" = "no" ; then
36037 no_sdl=yes
36038 else
36039 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
36040 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
36041
36042 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
36043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36044 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
36045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36046 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
36047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36048 if test "x$enable_sdltest" = "xyes" ; then
36049 ac_save_CFLAGS="$CFLAGS"
36050 ac_save_CXXFLAGS="$CXXFLAGS"
36051 ac_save_LIBS="$LIBS"
36052 CFLAGS="$CFLAGS $SDL_CFLAGS"
36053 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36054 LIBS="$LIBS $SDL_LIBS"
36055 rm -f conf.sdltest
36056 if test "$cross_compiling" = yes; then
36057 echo $ac_n "cross compiling; assumed OK... $ac_c"
36058 else
36059 cat >conftest.$ac_ext <<_ACEOF
36060 /* confdefs.h. */
36061 _ACEOF
36062 cat confdefs.h >>conftest.$ac_ext
36063 cat >>conftest.$ac_ext <<_ACEOF
36064 /* end confdefs.h. */
36065
36066 #include <stdio.h>
36067 #include <stdlib.h>
36068 #include <string.h>
36069 #include "SDL.h"
36070
36071 char*
36072 my_strdup (char *str)
36073 {
36074 char *new_str;
36075
36076 if (str)
36077 {
36078 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36079 strcpy (new_str, str);
36080 }
36081 else
36082 new_str = NULL;
36083
36084 return new_str;
36085 }
36086
36087 int main (int argc, char *argv[])
36088 {
36089 int major, minor, micro;
36090 char *tmp_version;
36091
36092 /* This hangs on some systems (?)
36093 system ("touch conf.sdltest");
36094 */
36095 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36096
36097 /* HP/UX 9 (%@#!) writes to sscanf strings */
36098 tmp_version = my_strdup("$min_sdl_version");
36099 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
36100 printf("%s, bad version string\n", "$min_sdl_version");
36101 exit(1);
36102 }
36103
36104 if (($sdl_major_version > major) ||
36105 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36106 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36107 {
36108 return 0;
36109 }
36110 else
36111 {
36112 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36113 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36114 printf("*** best to upgrade to the required version.\n");
36115 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36116 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36117 printf("*** config.cache before re-running configure\n");
36118 return 1;
36119 }
36120 }
36121
36122
36123 _ACEOF
36124 rm -f conftest$ac_exeext
36125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36126 (eval $ac_link) 2>&5
36127 ac_status=$?
36128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36129 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36131 (eval $ac_try) 2>&5
36132 ac_status=$?
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); }; }; then
36135 :
36136 else
36137 echo "$as_me: program exited with status $ac_status" >&5
36138 echo "$as_me: failed program was:" >&5
36139 sed 's/^/| /' conftest.$ac_ext >&5
36140
36141 ( exit $ac_status )
36142 no_sdl=yes
36143 fi
36144 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36145 fi
36146 CFLAGS="$ac_save_CFLAGS"
36147 CXXFLAGS="$ac_save_CXXFLAGS"
36148 LIBS="$ac_save_LIBS"
36149 fi
36150 fi
36151 if test "x$no_sdl" = x ; then
36152 echo "$as_me:$LINENO: result: yes" >&5
36153 echo "${ECHO_T}yes" >&6
36154
36155 EXTRALIBS_SDL="$SDL_LIBS"
36156 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36157 cat >>confdefs.h <<\_ACEOF
36158 #define wxUSE_LIBSDL 1
36159 _ACEOF
36160
36161
36162 else
36163 echo "$as_me:$LINENO: result: no" >&5
36164 echo "${ECHO_T}no" >&6
36165 if test "$SDL_CONFIG" = "no" ; then
36166 echo "*** The sdl-config script installed by SDL could not be found"
36167 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36168 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36169 echo "*** full path to sdl-config."
36170 else
36171 if test -f conf.sdltest ; then
36172 :
36173 else
36174 echo "*** Could not run SDL test program, checking why..."
36175 CFLAGS="$CFLAGS $SDL_CFLAGS"
36176 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36177 LIBS="$LIBS $SDL_LIBS"
36178 cat >conftest.$ac_ext <<_ACEOF
36179 /* confdefs.h. */
36180 _ACEOF
36181 cat confdefs.h >>conftest.$ac_ext
36182 cat >>conftest.$ac_ext <<_ACEOF
36183 /* end confdefs.h. */
36184
36185 #include <stdio.h>
36186 #include "SDL.h"
36187
36188 int main(int argc, char *argv[])
36189 { return 0; }
36190 #undef main
36191 #define main K_and_R_C_main
36192
36193 int
36194 main ()
36195 {
36196 return 0;
36197 ;
36198 return 0;
36199 }
36200 _ACEOF
36201 rm -f conftest.$ac_objext conftest$ac_exeext
36202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36203 (eval $ac_link) 2>conftest.er1
36204 ac_status=$?
36205 grep -v '^ *+' conftest.er1 >conftest.err
36206 rm -f conftest.er1
36207 cat conftest.err >&5
36208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36209 (exit $ac_status); } &&
36210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36212 (eval $ac_try) 2>&5
36213 ac_status=$?
36214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36215 (exit $ac_status); }; } &&
36216 { ac_try='test -s conftest$ac_exeext'
36217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36218 (eval $ac_try) 2>&5
36219 ac_status=$?
36220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36221 (exit $ac_status); }; }; then
36222 echo "*** The test program compiled, but did not run. This usually means"
36223 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36224 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36225 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36226 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36227 echo "*** is required on your system"
36228 echo "***"
36229 echo "*** If you have an old version installed, it is best to remove it, although"
36230 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36231 else
36232 echo "$as_me: failed program was:" >&5
36233 sed 's/^/| /' conftest.$ac_ext >&5
36234
36235 echo "*** The test program failed to compile or link. See the file config.log for the"
36236 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36237 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36238 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36239 fi
36240 rm -f conftest.err conftest.$ac_objext \
36241 conftest$ac_exeext conftest.$ac_ext
36242 CFLAGS="$ac_save_CFLAGS"
36243 CXXFLAGS="$ac_save_CXXFLAGS"
36244 LIBS="$ac_save_LIBS"
36245 fi
36246 fi
36247 SDL_CFLAGS=""
36248 SDL_LIBS=""
36249 wxUSE_LIBSDL="no"
36250 fi
36251
36252
36253 rm -f conf.sdltest
36254
36255 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36256 WITH_PLUGIN_SDL=1
36257 fi
36258 fi
36259 fi
36260
36261 cat >>confdefs.h <<\_ACEOF
36262 #define wxUSE_SOUND 1
36263 _ACEOF
36264
36265 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
36266 fi
36267
36268 if test "$WXGTK20" = 1; then
36269 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36270 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36271
36272
36273 succeeded=no
36274
36275 if test -z "$PKG_CONFIG"; then
36276 # Extract the first word of "pkg-config", so it can be a program name with args.
36277 set dummy pkg-config; ac_word=$2
36278 echo "$as_me:$LINENO: checking for $ac_word" >&5
36279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36280 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36281 echo $ECHO_N "(cached) $ECHO_C" >&6
36282 else
36283 case $PKG_CONFIG in
36284 [\\/]* | ?:[\\/]*)
36285 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36286 ;;
36287 *)
36288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36289 for as_dir in $PATH
36290 do
36291 IFS=$as_save_IFS
36292 test -z "$as_dir" && as_dir=.
36293 for ac_exec_ext in '' $ac_executable_extensions; do
36294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36295 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36297 break 2
36298 fi
36299 done
36300 done
36301
36302 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
36303 ;;
36304 esac
36305 fi
36306 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36307
36308 if test -n "$PKG_CONFIG"; then
36309 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36310 echo "${ECHO_T}$PKG_CONFIG" >&6
36311 else
36312 echo "$as_me:$LINENO: result: no" >&5
36313 echo "${ECHO_T}no" >&6
36314 fi
36315
36316 fi
36317
36318 if test "$PKG_CONFIG" = "no" ; then
36319 echo "*** The pkg-config script could not be found. Make sure it is"
36320 echo "*** in your path, or set the PKG_CONFIG environment variable"
36321 echo "*** to the full path to pkg-config."
36322 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36323 else
36324 PKG_CONFIG_MIN_VERSION=0.9.0
36325 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36326 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36327 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36328
36329 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36330 echo "$as_me:$LINENO: result: yes" >&5
36331 echo "${ECHO_T}yes" >&6
36332 succeeded=yes
36333
36334 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36335 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36336 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36337 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36338 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36339
36340 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36341 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36342 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36343 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36344 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36345 else
36346 LIBGNOMEPRINTUI_CFLAGS=""
36347 LIBGNOMEPRINTUI_LIBS=""
36348 ## If we have a custom action on failure, don't print errors, but
36349 ## do set a variable so people can do so.
36350 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36351
36352 fi
36353
36354
36355
36356 else
36357 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36358 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36359 fi
36360 fi
36361
36362 if test $succeeded = yes; then
36363
36364 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36365 cat >>confdefs.h <<\_ACEOF
36366 #define wxUSE_LIBGNOMEPRINT 1
36367 _ACEOF
36368
36369
36370 else
36371
36372 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36373 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36374 wxUSE_LIBGNOMEPRINT="no"
36375
36376
36377 fi
36378
36379 fi
36380 fi
36381 fi
36382
36383
36384 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36385 cat >>confdefs.h <<\_ACEOF
36386 #define wxUSE_CMDLINE_PARSER 1
36387 _ACEOF
36388
36389 fi
36390
36391 if test "$wxUSE_STOPWATCH" = "yes"; then
36392 cat >>confdefs.h <<\_ACEOF
36393 #define wxUSE_STOPWATCH 1
36394 _ACEOF
36395
36396 fi
36397
36398 if test "$wxUSE_DATETIME" = "yes"; then
36399 cat >>confdefs.h <<\_ACEOF
36400 #define wxUSE_DATETIME 1
36401 _ACEOF
36402
36403 fi
36404
36405 if test "$wxUSE_FILE" = "yes"; then
36406 cat >>confdefs.h <<\_ACEOF
36407 #define wxUSE_FILE 1
36408 _ACEOF
36409
36410 fi
36411
36412 if test "$wxUSE_FFILE" = "yes"; then
36413 cat >>confdefs.h <<\_ACEOF
36414 #define wxUSE_FFILE 1
36415 _ACEOF
36416
36417 fi
36418
36419 if test "$wxUSE_FILESYSTEM" = "yes"; then
36420 cat >>confdefs.h <<\_ACEOF
36421 #define wxUSE_FILESYSTEM 1
36422 _ACEOF
36423
36424 fi
36425
36426 if test "$wxUSE_FS_ZIP" = "yes"; then
36427 cat >>confdefs.h <<\_ACEOF
36428 #define wxUSE_FS_ZIP 1
36429 _ACEOF
36430
36431 fi
36432
36433 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36434 cat >>confdefs.h <<\_ACEOF
36435 #define wxUSE_ARCHIVE_STREAMS 1
36436 _ACEOF
36437
36438 fi
36439
36440 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36441 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36442 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36443 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36444 elif test "$wxUSE_ZLIB" = "no"; then
36445 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36446 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36447 else
36448 cat >>confdefs.h <<\_ACEOF
36449 #define wxUSE_ZIPSTREAM 1
36450 _ACEOF
36451
36452 fi
36453 fi
36454
36455 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36456 cat >>confdefs.h <<\_ACEOF
36457 #define wxUSE_ON_FATAL_EXCEPTION 1
36458 _ACEOF
36459
36460 fi
36461
36462 if test "$wxUSE_STACKWALKER" = "yes"; then
36463 cat >>confdefs.h <<\_ACEOF
36464 #define wxUSE_STACKWALKER 1
36465 _ACEOF
36466
36467 fi
36468
36469 if test "$wxUSE_DEBUGREPORT" = "yes"; then
36470 cat >>confdefs.h <<\_ACEOF
36471 #define wxUSE_DEBUGREPORT 1
36472 _ACEOF
36473
36474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
36475 fi
36476
36477 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36478 cat >>confdefs.h <<\_ACEOF
36479 #define wxUSE_SNGLINST_CHECKER 1
36480 _ACEOF
36481
36482 fi
36483
36484 if test "$wxUSE_BUSYINFO" = "yes"; then
36485 cat >>confdefs.h <<\_ACEOF
36486 #define wxUSE_BUSYINFO 1
36487 _ACEOF
36488
36489 fi
36490
36491 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36492 cat >>confdefs.h <<\_ACEOF
36493 #define wxUSE_STD_IOSTREAM 1
36494 _ACEOF
36495
36496 fi
36497
36498 if test "$wxUSE_STDPATHS" = "yes"; then
36499 cat >>confdefs.h <<\_ACEOF
36500 #define wxUSE_STDPATHS 1
36501 _ACEOF
36502
36503 fi
36504
36505 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36506 cat >>confdefs.h <<\_ACEOF
36507 #define wxUSE_TEXTBUFFER 1
36508 _ACEOF
36509
36510 fi
36511
36512 if test "$wxUSE_TEXTFILE" = "yes"; then
36513 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36514 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36515 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36516 else
36517 cat >>confdefs.h <<\_ACEOF
36518 #define wxUSE_TEXTFILE 1
36519 _ACEOF
36520
36521 fi
36522 fi
36523
36524 if test "$wxUSE_CONFIG" = "yes" ; then
36525 if test "$wxUSE_TEXTFILE" != "yes"; then
36526 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36527 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36528 else
36529 cat >>confdefs.h <<\_ACEOF
36530 #define wxUSE_CONFIG 1
36531 _ACEOF
36532
36533 cat >>confdefs.h <<\_ACEOF
36534 #define wxUSE_CONFIG_NATIVE 1
36535 _ACEOF
36536
36537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
36538 fi
36539 fi
36540
36541 if test "$wxUSE_INTL" = "yes" ; then
36542 if test "$wxUSE_FILE" != "yes"; then
36543 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36544 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36545 else
36546 cat >>confdefs.h <<\_ACEOF
36547 #define wxUSE_INTL 1
36548 _ACEOF
36549
36550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
36551 GUIDIST="$GUIDIST INTL_DIST"
36552 fi
36553 fi
36554
36555 if test "$wxUSE_LOG" = "yes"; then
36556 cat >>confdefs.h <<\_ACEOF
36557 #define wxUSE_LOG 1
36558 _ACEOF
36559
36560
36561 if test "$wxUSE_LOGGUI" = "yes"; then
36562 cat >>confdefs.h <<\_ACEOF
36563 #define wxUSE_LOGGUI 1
36564 _ACEOF
36565
36566 fi
36567
36568 if test "$wxUSE_LOGWINDOW" = "yes"; then
36569 cat >>confdefs.h <<\_ACEOF
36570 #define wxUSE_LOGWINDOW 1
36571 _ACEOF
36572
36573 fi
36574
36575 if test "$wxUSE_LOGDIALOG" = "yes"; then
36576 cat >>confdefs.h <<\_ACEOF
36577 #define wxUSE_LOG_DIALOG 1
36578 _ACEOF
36579
36580 fi
36581
36582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
36583 fi
36584
36585 if test "$wxUSE_LONGLONG" = "yes"; then
36586 cat >>confdefs.h <<\_ACEOF
36587 #define wxUSE_LONGLONG 1
36588 _ACEOF
36589
36590 fi
36591
36592 if test "$wxUSE_GEOMETRY" = "yes"; then
36593 cat >>confdefs.h <<\_ACEOF
36594 #define wxUSE_GEOMETRY 1
36595 _ACEOF
36596
36597 fi
36598
36599 if test "$wxUSE_STREAMS" = "yes" ; then
36600 cat >>confdefs.h <<\_ACEOF
36601 #define wxUSE_STREAMS 1
36602 _ACEOF
36603
36604 fi
36605
36606
36607 if test "$wxUSE_DATETIME" = "yes"; then
36608
36609 for ac_func in strptime
36610 do
36611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36612 echo "$as_me:$LINENO: checking for $ac_func" >&5
36613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36614 if eval "test \"\${$as_ac_var+set}\" = set"; then
36615 echo $ECHO_N "(cached) $ECHO_C" >&6
36616 else
36617 cat >conftest.$ac_ext <<_ACEOF
36618 /* confdefs.h. */
36619 _ACEOF
36620 cat confdefs.h >>conftest.$ac_ext
36621 cat >>conftest.$ac_ext <<_ACEOF
36622 /* end confdefs.h. */
36623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36625 #define $ac_func innocuous_$ac_func
36626
36627 /* System header to define __stub macros and hopefully few prototypes,
36628 which can conflict with char $ac_func (); below.
36629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36630 <limits.h> exists even on freestanding compilers. */
36631
36632 #ifdef __STDC__
36633 # include <limits.h>
36634 #else
36635 # include <assert.h>
36636 #endif
36637
36638 #undef $ac_func
36639
36640 /* Override any gcc2 internal prototype to avoid an error. */
36641 #ifdef __cplusplus
36642 extern "C"
36643 {
36644 #endif
36645 /* We use char because int might match the return type of a gcc2
36646 builtin and then its argument prototype would still apply. */
36647 char $ac_func ();
36648 /* The GNU C library defines this for functions which it implements
36649 to always fail with ENOSYS. Some functions are actually named
36650 something starting with __ and the normal name is an alias. */
36651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36652 choke me
36653 #else
36654 char (*f) () = $ac_func;
36655 #endif
36656 #ifdef __cplusplus
36657 }
36658 #endif
36659
36660 int
36661 main ()
36662 {
36663 return f != $ac_func;
36664 ;
36665 return 0;
36666 }
36667 _ACEOF
36668 rm -f conftest.$ac_objext conftest$ac_exeext
36669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36670 (eval $ac_link) 2>conftest.er1
36671 ac_status=$?
36672 grep -v '^ *+' conftest.er1 >conftest.err
36673 rm -f conftest.er1
36674 cat conftest.err >&5
36675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36676 (exit $ac_status); } &&
36677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36679 (eval $ac_try) 2>&5
36680 ac_status=$?
36681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36682 (exit $ac_status); }; } &&
36683 { ac_try='test -s conftest$ac_exeext'
36684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36685 (eval $ac_try) 2>&5
36686 ac_status=$?
36687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36688 (exit $ac_status); }; }; then
36689 eval "$as_ac_var=yes"
36690 else
36691 echo "$as_me: failed program was:" >&5
36692 sed 's/^/| /' conftest.$ac_ext >&5
36693
36694 eval "$as_ac_var=no"
36695 fi
36696 rm -f conftest.err conftest.$ac_objext \
36697 conftest$ac_exeext conftest.$ac_ext
36698 fi
36699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36701 if test `eval echo '${'$as_ac_var'}'` = yes; then
36702 cat >>confdefs.h <<_ACEOF
36703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36704 _ACEOF
36705
36706 fi
36707 done
36708
36709
36710 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36711 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36712 if test "${wx_cv_var_timezone+set}" = set; then
36713 echo $ECHO_N "(cached) $ECHO_C" >&6
36714 else
36715
36716 cat >conftest.$ac_ext <<_ACEOF
36717 /* confdefs.h. */
36718 _ACEOF
36719 cat confdefs.h >>conftest.$ac_ext
36720 cat >>conftest.$ac_ext <<_ACEOF
36721 /* end confdefs.h. */
36722
36723 #include <time.h>
36724
36725 int
36726 main ()
36727 {
36728
36729 int tz;
36730 tz = timezone;
36731
36732 ;
36733 return 0;
36734 }
36735 _ACEOF
36736 rm -f conftest.$ac_objext
36737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36738 (eval $ac_compile) 2>conftest.er1
36739 ac_status=$?
36740 grep -v '^ *+' conftest.er1 >conftest.err
36741 rm -f conftest.er1
36742 cat conftest.err >&5
36743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36744 (exit $ac_status); } &&
36745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36747 (eval $ac_try) 2>&5
36748 ac_status=$?
36749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36750 (exit $ac_status); }; } &&
36751 { ac_try='test -s conftest.$ac_objext'
36752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36753 (eval $ac_try) 2>&5
36754 ac_status=$?
36755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36756 (exit $ac_status); }; }; then
36757
36758 wx_cv_var_timezone=timezone
36759
36760 else
36761 echo "$as_me: failed program was:" >&5
36762 sed 's/^/| /' conftest.$ac_ext >&5
36763
36764
36765 cat >conftest.$ac_ext <<_ACEOF
36766 /* confdefs.h. */
36767 _ACEOF
36768 cat confdefs.h >>conftest.$ac_ext
36769 cat >>conftest.$ac_ext <<_ACEOF
36770 /* end confdefs.h. */
36771
36772 #include <time.h>
36773
36774 int
36775 main ()
36776 {
36777
36778 int tz;
36779 tz = _timezone;
36780
36781 ;
36782 return 0;
36783 }
36784 _ACEOF
36785 rm -f conftest.$ac_objext
36786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36787 (eval $ac_compile) 2>conftest.er1
36788 ac_status=$?
36789 grep -v '^ *+' conftest.er1 >conftest.err
36790 rm -f conftest.er1
36791 cat conftest.err >&5
36792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36793 (exit $ac_status); } &&
36794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36796 (eval $ac_try) 2>&5
36797 ac_status=$?
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); }; } &&
36800 { ac_try='test -s conftest.$ac_objext'
36801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36802 (eval $ac_try) 2>&5
36803 ac_status=$?
36804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805 (exit $ac_status); }; }; then
36806
36807 wx_cv_var_timezone=_timezone
36808
36809 else
36810 echo "$as_me: failed program was:" >&5
36811 sed 's/^/| /' conftest.$ac_ext >&5
36812
36813
36814 cat >conftest.$ac_ext <<_ACEOF
36815 /* confdefs.h. */
36816 _ACEOF
36817 cat confdefs.h >>conftest.$ac_ext
36818 cat >>conftest.$ac_ext <<_ACEOF
36819 /* end confdefs.h. */
36820
36821 #include <time.h>
36822
36823 int
36824 main ()
36825 {
36826
36827 int tz;
36828 tz = __timezone;
36829
36830 ;
36831 return 0;
36832 }
36833 _ACEOF
36834 rm -f conftest.$ac_objext
36835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36836 (eval $ac_compile) 2>conftest.er1
36837 ac_status=$?
36838 grep -v '^ *+' conftest.er1 >conftest.err
36839 rm -f conftest.er1
36840 cat conftest.err >&5
36841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36842 (exit $ac_status); } &&
36843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36845 (eval $ac_try) 2>&5
36846 ac_status=$?
36847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36848 (exit $ac_status); }; } &&
36849 { ac_try='test -s conftest.$ac_objext'
36850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36851 (eval $ac_try) 2>&5
36852 ac_status=$?
36853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36854 (exit $ac_status); }; }; then
36855
36856 wx_cv_var_timezone=__timezone
36857
36858 else
36859 echo "$as_me: failed program was:" >&5
36860 sed 's/^/| /' conftest.$ac_ext >&5
36861
36862
36863 if test "$USE_DOS" = 0 ; then
36864 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
36865 echo "$as_me: WARNING: no timezone variable" >&2;}
36866 fi
36867
36868
36869 fi
36870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36871
36872
36873 fi
36874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36875
36876
36877 fi
36878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36879
36880
36881 fi
36882 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36883 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36884
36885 if test "x$wx_cv_var_timezone" != x ; then
36886 cat >>confdefs.h <<_ACEOF
36887 #define WX_TIMEZONE $wx_cv_var_timezone
36888 _ACEOF
36889
36890 fi
36891
36892
36893 for ac_func in localtime
36894 do
36895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36896 echo "$as_me:$LINENO: checking for $ac_func" >&5
36897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36898 if eval "test \"\${$as_ac_var+set}\" = set"; then
36899 echo $ECHO_N "(cached) $ECHO_C" >&6
36900 else
36901 cat >conftest.$ac_ext <<_ACEOF
36902 /* confdefs.h. */
36903 _ACEOF
36904 cat confdefs.h >>conftest.$ac_ext
36905 cat >>conftest.$ac_ext <<_ACEOF
36906 /* end confdefs.h. */
36907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36909 #define $ac_func innocuous_$ac_func
36910
36911 /* System header to define __stub macros and hopefully few prototypes,
36912 which can conflict with char $ac_func (); below.
36913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36914 <limits.h> exists even on freestanding compilers. */
36915
36916 #ifdef __STDC__
36917 # include <limits.h>
36918 #else
36919 # include <assert.h>
36920 #endif
36921
36922 #undef $ac_func
36923
36924 /* Override any gcc2 internal prototype to avoid an error. */
36925 #ifdef __cplusplus
36926 extern "C"
36927 {
36928 #endif
36929 /* We use char because int might match the return type of a gcc2
36930 builtin and then its argument prototype would still apply. */
36931 char $ac_func ();
36932 /* The GNU C library defines this for functions which it implements
36933 to always fail with ENOSYS. Some functions are actually named
36934 something starting with __ and the normal name is an alias. */
36935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36936 choke me
36937 #else
36938 char (*f) () = $ac_func;
36939 #endif
36940 #ifdef __cplusplus
36941 }
36942 #endif
36943
36944 int
36945 main ()
36946 {
36947 return f != $ac_func;
36948 ;
36949 return 0;
36950 }
36951 _ACEOF
36952 rm -f conftest.$ac_objext conftest$ac_exeext
36953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36954 (eval $ac_link) 2>conftest.er1
36955 ac_status=$?
36956 grep -v '^ *+' conftest.er1 >conftest.err
36957 rm -f conftest.er1
36958 cat conftest.err >&5
36959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36960 (exit $ac_status); } &&
36961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36963 (eval $ac_try) 2>&5
36964 ac_status=$?
36965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36966 (exit $ac_status); }; } &&
36967 { ac_try='test -s conftest$ac_exeext'
36968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36969 (eval $ac_try) 2>&5
36970 ac_status=$?
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); }; }; then
36973 eval "$as_ac_var=yes"
36974 else
36975 echo "$as_me: failed program was:" >&5
36976 sed 's/^/| /' conftest.$ac_ext >&5
36977
36978 eval "$as_ac_var=no"
36979 fi
36980 rm -f conftest.err conftest.$ac_objext \
36981 conftest$ac_exeext conftest.$ac_ext
36982 fi
36983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36985 if test `eval echo '${'$as_ac_var'}'` = yes; then
36986 cat >>confdefs.h <<_ACEOF
36987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36988 _ACEOF
36989
36990 fi
36991 done
36992
36993
36994 if test "$ac_cv_func_localtime" = "yes"; then
36995 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
36996 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
36997 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
36998 echo $ECHO_N "(cached) $ECHO_C" >&6
36999 else
37000
37001 cat >conftest.$ac_ext <<_ACEOF
37002 /* confdefs.h. */
37003 _ACEOF
37004 cat confdefs.h >>conftest.$ac_ext
37005 cat >>conftest.$ac_ext <<_ACEOF
37006 /* end confdefs.h. */
37007
37008 #include <time.h>
37009
37010 int
37011 main ()
37012 {
37013
37014 struct tm tm;
37015 tm.tm_gmtoff++;
37016
37017 ;
37018 return 0;
37019 }
37020 _ACEOF
37021 rm -f conftest.$ac_objext
37022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37023 (eval $ac_compile) 2>conftest.er1
37024 ac_status=$?
37025 grep -v '^ *+' conftest.er1 >conftest.err
37026 rm -f conftest.er1
37027 cat conftest.err >&5
37028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37029 (exit $ac_status); } &&
37030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37032 (eval $ac_try) 2>&5
37033 ac_status=$?
37034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37035 (exit $ac_status); }; } &&
37036 { ac_try='test -s conftest.$ac_objext'
37037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37038 (eval $ac_try) 2>&5
37039 ac_status=$?
37040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37041 (exit $ac_status); }; }; then
37042
37043 wx_cv_struct_tm_has_gmtoff=yes
37044
37045 else
37046 echo "$as_me: failed program was:" >&5
37047 sed 's/^/| /' conftest.$ac_ext >&5
37048
37049 wx_cv_struct_tm_has_gmtoff=no
37050
37051 fi
37052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37053
37054 fi
37055 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37056 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37057 fi
37058
37059 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37060 cat >>confdefs.h <<\_ACEOF
37061 #define WX_GMTOFF_IN_TM 1
37062 _ACEOF
37063
37064 fi
37065
37066
37067
37068 for ac_func in gettimeofday ftime
37069 do
37070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37071 echo "$as_me:$LINENO: checking for $ac_func" >&5
37072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37073 if eval "test \"\${$as_ac_var+set}\" = set"; then
37074 echo $ECHO_N "(cached) $ECHO_C" >&6
37075 else
37076 cat >conftest.$ac_ext <<_ACEOF
37077 /* confdefs.h. */
37078 _ACEOF
37079 cat confdefs.h >>conftest.$ac_ext
37080 cat >>conftest.$ac_ext <<_ACEOF
37081 /* end confdefs.h. */
37082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37084 #define $ac_func innocuous_$ac_func
37085
37086 /* System header to define __stub macros and hopefully few prototypes,
37087 which can conflict with char $ac_func (); below.
37088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37089 <limits.h> exists even on freestanding compilers. */
37090
37091 #ifdef __STDC__
37092 # include <limits.h>
37093 #else
37094 # include <assert.h>
37095 #endif
37096
37097 #undef $ac_func
37098
37099 /* Override any gcc2 internal prototype to avoid an error. */
37100 #ifdef __cplusplus
37101 extern "C"
37102 {
37103 #endif
37104 /* We use char because int might match the return type of a gcc2
37105 builtin and then its argument prototype would still apply. */
37106 char $ac_func ();
37107 /* The GNU C library defines this for functions which it implements
37108 to always fail with ENOSYS. Some functions are actually named
37109 something starting with __ and the normal name is an alias. */
37110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37111 choke me
37112 #else
37113 char (*f) () = $ac_func;
37114 #endif
37115 #ifdef __cplusplus
37116 }
37117 #endif
37118
37119 int
37120 main ()
37121 {
37122 return f != $ac_func;
37123 ;
37124 return 0;
37125 }
37126 _ACEOF
37127 rm -f conftest.$ac_objext conftest$ac_exeext
37128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37129 (eval $ac_link) 2>conftest.er1
37130 ac_status=$?
37131 grep -v '^ *+' conftest.er1 >conftest.err
37132 rm -f conftest.er1
37133 cat conftest.err >&5
37134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37135 (exit $ac_status); } &&
37136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37138 (eval $ac_try) 2>&5
37139 ac_status=$?
37140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141 (exit $ac_status); }; } &&
37142 { ac_try='test -s conftest$ac_exeext'
37143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37144 (eval $ac_try) 2>&5
37145 ac_status=$?
37146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37147 (exit $ac_status); }; }; then
37148 eval "$as_ac_var=yes"
37149 else
37150 echo "$as_me: failed program was:" >&5
37151 sed 's/^/| /' conftest.$ac_ext >&5
37152
37153 eval "$as_ac_var=no"
37154 fi
37155 rm -f conftest.err conftest.$ac_objext \
37156 conftest$ac_exeext conftest.$ac_ext
37157 fi
37158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37160 if test `eval echo '${'$as_ac_var'}'` = yes; then
37161 cat >>confdefs.h <<_ACEOF
37162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37163 _ACEOF
37164 break
37165 fi
37166 done
37167
37168
37169 if test "$ac_cv_func_gettimeofday" = "yes"; then
37170 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37171 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37172 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37173 echo $ECHO_N "(cached) $ECHO_C" >&6
37174 else
37175
37176
37177
37178 ac_ext=cc
37179 ac_cpp='$CXXCPP $CPPFLAGS'
37180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37183
37184
37185 cat >conftest.$ac_ext <<_ACEOF
37186 /* confdefs.h. */
37187 _ACEOF
37188 cat confdefs.h >>conftest.$ac_ext
37189 cat >>conftest.$ac_ext <<_ACEOF
37190 /* end confdefs.h. */
37191
37192 #include <sys/time.h>
37193 #include <unistd.h>
37194
37195 int
37196 main ()
37197 {
37198
37199 struct timeval tv;
37200 gettimeofday(&tv, NULL);
37201
37202 ;
37203 return 0;
37204 }
37205 _ACEOF
37206 rm -f conftest.$ac_objext
37207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37208 (eval $ac_compile) 2>conftest.er1
37209 ac_status=$?
37210 grep -v '^ *+' conftest.er1 >conftest.err
37211 rm -f conftest.er1
37212 cat conftest.err >&5
37213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37214 (exit $ac_status); } &&
37215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37217 (eval $ac_try) 2>&5
37218 ac_status=$?
37219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37220 (exit $ac_status); }; } &&
37221 { ac_try='test -s conftest.$ac_objext'
37222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37223 (eval $ac_try) 2>&5
37224 ac_status=$?
37225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37226 (exit $ac_status); }; }; then
37227 wx_cv_func_gettimeofday_has_2_args=yes
37228 else
37229 echo "$as_me: failed program was:" >&5
37230 sed 's/^/| /' conftest.$ac_ext >&5
37231
37232 cat >conftest.$ac_ext <<_ACEOF
37233 /* confdefs.h. */
37234 _ACEOF
37235 cat confdefs.h >>conftest.$ac_ext
37236 cat >>conftest.$ac_ext <<_ACEOF
37237 /* end confdefs.h. */
37238
37239 #include <sys/time.h>
37240 #include <unistd.h>
37241
37242 int
37243 main ()
37244 {
37245
37246 struct timeval tv;
37247 gettimeofday(&tv);
37248
37249 ;
37250 return 0;
37251 }
37252 _ACEOF
37253 rm -f conftest.$ac_objext
37254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37255 (eval $ac_compile) 2>conftest.er1
37256 ac_status=$?
37257 grep -v '^ *+' conftest.er1 >conftest.err
37258 rm -f conftest.er1
37259 cat conftest.err >&5
37260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37261 (exit $ac_status); } &&
37262 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37264 (eval $ac_try) 2>&5
37265 ac_status=$?
37266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37267 (exit $ac_status); }; } &&
37268 { ac_try='test -s conftest.$ac_objext'
37269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37270 (eval $ac_try) 2>&5
37271 ac_status=$?
37272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37273 (exit $ac_status); }; }; then
37274 wx_cv_func_gettimeofday_has_2_args=no
37275 else
37276 echo "$as_me: failed program was:" >&5
37277 sed 's/^/| /' conftest.$ac_ext >&5
37278
37279
37280 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37281 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37282 wx_cv_func_gettimeofday_has_2_args=unknown
37283
37284
37285 fi
37286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37287
37288 fi
37289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37290 ac_ext=c
37291 ac_cpp='$CPP $CPPFLAGS'
37292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37295
37296
37297 fi
37298 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37299 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37300
37301 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37302 cat >>confdefs.h <<\_ACEOF
37303 #define WX_GETTIMEOFDAY_NO_TZ 1
37304 _ACEOF
37305
37306 fi
37307 fi
37308
37309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
37310 fi
37311
37312
37313 if test "$wxUSE_SOCKETS" = "yes"; then
37314 if test "$wxUSE_MGL" = "1"; then
37315 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37316 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37317 wxUSE_SOCKETS="no"
37318 fi
37319 fi
37320
37321 if test "$wxUSE_SOCKETS" = "yes"; then
37322 if test "$TOOLKIT" != "MSW"; then
37323 echo "$as_me:$LINENO: checking for socket" >&5
37324 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37325 if test "${ac_cv_func_socket+set}" = set; then
37326 echo $ECHO_N "(cached) $ECHO_C" >&6
37327 else
37328 cat >conftest.$ac_ext <<_ACEOF
37329 /* confdefs.h. */
37330 _ACEOF
37331 cat confdefs.h >>conftest.$ac_ext
37332 cat >>conftest.$ac_ext <<_ACEOF
37333 /* end confdefs.h. */
37334 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37336 #define socket innocuous_socket
37337
37338 /* System header to define __stub macros and hopefully few prototypes,
37339 which can conflict with char socket (); below.
37340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37341 <limits.h> exists even on freestanding compilers. */
37342
37343 #ifdef __STDC__
37344 # include <limits.h>
37345 #else
37346 # include <assert.h>
37347 #endif
37348
37349 #undef socket
37350
37351 /* Override any gcc2 internal prototype to avoid an error. */
37352 #ifdef __cplusplus
37353 extern "C"
37354 {
37355 #endif
37356 /* We use char because int might match the return type of a gcc2
37357 builtin and then its argument prototype would still apply. */
37358 char socket ();
37359 /* The GNU C library defines this for functions which it implements
37360 to always fail with ENOSYS. Some functions are actually named
37361 something starting with __ and the normal name is an alias. */
37362 #if defined (__stub_socket) || defined (__stub___socket)
37363 choke me
37364 #else
37365 char (*f) () = socket;
37366 #endif
37367 #ifdef __cplusplus
37368 }
37369 #endif
37370
37371 int
37372 main ()
37373 {
37374 return f != socket;
37375 ;
37376 return 0;
37377 }
37378 _ACEOF
37379 rm -f conftest.$ac_objext conftest$ac_exeext
37380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37381 (eval $ac_link) 2>conftest.er1
37382 ac_status=$?
37383 grep -v '^ *+' conftest.er1 >conftest.err
37384 rm -f conftest.er1
37385 cat conftest.err >&5
37386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37387 (exit $ac_status); } &&
37388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37390 (eval $ac_try) 2>&5
37391 ac_status=$?
37392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37393 (exit $ac_status); }; } &&
37394 { ac_try='test -s conftest$ac_exeext'
37395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37396 (eval $ac_try) 2>&5
37397 ac_status=$?
37398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37399 (exit $ac_status); }; }; then
37400 ac_cv_func_socket=yes
37401 else
37402 echo "$as_me: failed program was:" >&5
37403 sed 's/^/| /' conftest.$ac_ext >&5
37404
37405 ac_cv_func_socket=no
37406 fi
37407 rm -f conftest.err conftest.$ac_objext \
37408 conftest$ac_exeext conftest.$ac_ext
37409 fi
37410 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37411 echo "${ECHO_T}$ac_cv_func_socket" >&6
37412 if test $ac_cv_func_socket = yes; then
37413 :
37414 else
37415
37416 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37417 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37418 if test "${ac_cv_lib_socket_socket+set}" = set; then
37419 echo $ECHO_N "(cached) $ECHO_C" >&6
37420 else
37421 ac_check_lib_save_LIBS=$LIBS
37422 LIBS="-lsocket $LIBS"
37423 cat >conftest.$ac_ext <<_ACEOF
37424 /* confdefs.h. */
37425 _ACEOF
37426 cat confdefs.h >>conftest.$ac_ext
37427 cat >>conftest.$ac_ext <<_ACEOF
37428 /* end confdefs.h. */
37429
37430 /* Override any gcc2 internal prototype to avoid an error. */
37431 #ifdef __cplusplus
37432 extern "C"
37433 #endif
37434 /* We use char because int might match the return type of a gcc2
37435 builtin and then its argument prototype would still apply. */
37436 char socket ();
37437 int
37438 main ()
37439 {
37440 socket ();
37441 ;
37442 return 0;
37443 }
37444 _ACEOF
37445 rm -f conftest.$ac_objext conftest$ac_exeext
37446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37447 (eval $ac_link) 2>conftest.er1
37448 ac_status=$?
37449 grep -v '^ *+' conftest.er1 >conftest.err
37450 rm -f conftest.er1
37451 cat conftest.err >&5
37452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37453 (exit $ac_status); } &&
37454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37456 (eval $ac_try) 2>&5
37457 ac_status=$?
37458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459 (exit $ac_status); }; } &&
37460 { ac_try='test -s conftest$ac_exeext'
37461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37462 (eval $ac_try) 2>&5
37463 ac_status=$?
37464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37465 (exit $ac_status); }; }; then
37466 ac_cv_lib_socket_socket=yes
37467 else
37468 echo "$as_me: failed program was:" >&5
37469 sed 's/^/| /' conftest.$ac_ext >&5
37470
37471 ac_cv_lib_socket_socket=no
37472 fi
37473 rm -f conftest.err conftest.$ac_objext \
37474 conftest$ac_exeext conftest.$ac_ext
37475 LIBS=$ac_check_lib_save_LIBS
37476 fi
37477 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37478 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37479 if test $ac_cv_lib_socket_socket = yes; then
37480 if test "$INET_LINK" != " -lsocket"; then
37481 INET_LINK="$INET_LINK -lsocket"
37482 fi
37483 else
37484
37485 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37486 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37487 wxUSE_SOCKETS=no
37488
37489
37490 fi
37491
37492
37493
37494 fi
37495
37496 fi
37497 fi
37498
37499 if test "$wxUSE_SOCKETS" = "yes" ; then
37500 if test "$TOOLKIT" != "MSW"; then
37501 ac_ext=cc
37502 ac_cpp='$CXXCPP $CPPFLAGS'
37503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37506
37507 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37508 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37509 if test "${wx_cv_type_getsockname3+set}" = set; then
37510 echo $ECHO_N "(cached) $ECHO_C" >&6
37511 else
37512
37513 cat >conftest.$ac_ext <<_ACEOF
37514 /* confdefs.h. */
37515 _ACEOF
37516 cat confdefs.h >>conftest.$ac_ext
37517 cat >>conftest.$ac_ext <<_ACEOF
37518 /* end confdefs.h. */
37519
37520 #include <sys/types.h>
37521 #include <sys/socket.h>
37522
37523 int
37524 main ()
37525 {
37526
37527 socklen_t len;
37528 getsockname(0, 0, &len);
37529
37530 ;
37531 return 0;
37532 }
37533 _ACEOF
37534 rm -f conftest.$ac_objext
37535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37536 (eval $ac_compile) 2>conftest.er1
37537 ac_status=$?
37538 grep -v '^ *+' conftest.er1 >conftest.err
37539 rm -f conftest.er1
37540 cat conftest.err >&5
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); } &&
37543 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37545 (eval $ac_try) 2>&5
37546 ac_status=$?
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); }; } &&
37549 { ac_try='test -s conftest.$ac_objext'
37550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37551 (eval $ac_try) 2>&5
37552 ac_status=$?
37553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37554 (exit $ac_status); }; }; then
37555 wx_cv_type_getsockname3=socklen_t
37556 else
37557 echo "$as_me: failed program was:" >&5
37558 sed 's/^/| /' conftest.$ac_ext >&5
37559
37560
37561 CFLAGS_OLD="$CFLAGS"
37562 if test "$GCC" = yes ; then
37563 CFLAGS="$CFLAGS -Werror"
37564 fi
37565
37566 cat >conftest.$ac_ext <<_ACEOF
37567 /* confdefs.h. */
37568 _ACEOF
37569 cat confdefs.h >>conftest.$ac_ext
37570 cat >>conftest.$ac_ext <<_ACEOF
37571 /* end confdefs.h. */
37572
37573 #include <sys/types.h>
37574 #include <sys/socket.h>
37575
37576 int
37577 main ()
37578 {
37579
37580 size_t len;
37581 getsockname(0, 0, &len);
37582
37583 ;
37584 return 0;
37585 }
37586 _ACEOF
37587 rm -f conftest.$ac_objext
37588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37589 (eval $ac_compile) 2>conftest.er1
37590 ac_status=$?
37591 grep -v '^ *+' conftest.er1 >conftest.err
37592 rm -f conftest.er1
37593 cat conftest.err >&5
37594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37595 (exit $ac_status); } &&
37596 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37598 (eval $ac_try) 2>&5
37599 ac_status=$?
37600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37601 (exit $ac_status); }; } &&
37602 { ac_try='test -s conftest.$ac_objext'
37603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37604 (eval $ac_try) 2>&5
37605 ac_status=$?
37606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37607 (exit $ac_status); }; }; then
37608 wx_cv_type_getsockname3=size_t
37609 else
37610 echo "$as_me: failed program was:" >&5
37611 sed 's/^/| /' conftest.$ac_ext >&5
37612
37613 cat >conftest.$ac_ext <<_ACEOF
37614 /* confdefs.h. */
37615 _ACEOF
37616 cat confdefs.h >>conftest.$ac_ext
37617 cat >>conftest.$ac_ext <<_ACEOF
37618 /* end confdefs.h. */
37619
37620 #include <sys/types.h>
37621 #include <sys/socket.h>
37622
37623 int
37624 main ()
37625 {
37626
37627 int len;
37628 getsockname(0, 0, &len);
37629
37630 ;
37631 return 0;
37632 }
37633 _ACEOF
37634 rm -f conftest.$ac_objext
37635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37636 (eval $ac_compile) 2>conftest.er1
37637 ac_status=$?
37638 grep -v '^ *+' conftest.er1 >conftest.err
37639 rm -f conftest.er1
37640 cat conftest.err >&5
37641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37642 (exit $ac_status); } &&
37643 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37645 (eval $ac_try) 2>&5
37646 ac_status=$?
37647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37648 (exit $ac_status); }; } &&
37649 { ac_try='test -s conftest.$ac_objext'
37650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37651 (eval $ac_try) 2>&5
37652 ac_status=$?
37653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37654 (exit $ac_status); }; }; then
37655 wx_cv_type_getsockname3=int
37656 else
37657 echo "$as_me: failed program was:" >&5
37658 sed 's/^/| /' conftest.$ac_ext >&5
37659
37660 wx_cv_type_getsockname3=unknown
37661
37662 fi
37663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37664
37665 fi
37666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37667
37668 CFLAGS="$CFLAGS_OLD"
37669
37670
37671 fi
37672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37673
37674 fi
37675 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37676 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37677
37678 if test "$wx_cv_type_getsockname3" = "unknown"; then
37679 wxUSE_SOCKETS=no
37680 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37681 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37682 else
37683 cat >>confdefs.h <<_ACEOF
37684 #define SOCKLEN_T $wx_cv_type_getsockname3
37685 _ACEOF
37686
37687 fi
37688 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37689 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37690 if test "${wx_cv_type_getsockopt5+set}" = set; then
37691 echo $ECHO_N "(cached) $ECHO_C" >&6
37692 else
37693
37694 cat >conftest.$ac_ext <<_ACEOF
37695 /* confdefs.h. */
37696 _ACEOF
37697 cat confdefs.h >>conftest.$ac_ext
37698 cat >>conftest.$ac_ext <<_ACEOF
37699 /* end confdefs.h. */
37700
37701 #include <sys/types.h>
37702 #include <sys/socket.h>
37703
37704 int
37705 main ()
37706 {
37707
37708 socklen_t len;
37709 getsockopt(0, 0, 0, 0, &len);
37710
37711 ;
37712 return 0;
37713 }
37714 _ACEOF
37715 rm -f conftest.$ac_objext
37716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37717 (eval $ac_compile) 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_cxx_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_objext'
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 wx_cv_type_getsockopt5=socklen_t
37737 else
37738 echo "$as_me: failed program was:" >&5
37739 sed 's/^/| /' conftest.$ac_ext >&5
37740
37741
37742 CFLAGS_OLD="$CFLAGS"
37743 if test "$GCC" = yes ; then
37744 CFLAGS="$CFLAGS -Werror"
37745 fi
37746
37747 cat >conftest.$ac_ext <<_ACEOF
37748 /* confdefs.h. */
37749 _ACEOF
37750 cat confdefs.h >>conftest.$ac_ext
37751 cat >>conftest.$ac_ext <<_ACEOF
37752 /* end confdefs.h. */
37753
37754 #include <sys/types.h>
37755 #include <sys/socket.h>
37756
37757 int
37758 main ()
37759 {
37760
37761 size_t len;
37762 getsockopt(0, 0, 0, 0, &len);
37763
37764 ;
37765 return 0;
37766 }
37767 _ACEOF
37768 rm -f conftest.$ac_objext
37769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37770 (eval $ac_compile) 2>conftest.er1
37771 ac_status=$?
37772 grep -v '^ *+' conftest.er1 >conftest.err
37773 rm -f conftest.er1
37774 cat conftest.err >&5
37775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37776 (exit $ac_status); } &&
37777 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37779 (eval $ac_try) 2>&5
37780 ac_status=$?
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); }; } &&
37783 { ac_try='test -s conftest.$ac_objext'
37784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37785 (eval $ac_try) 2>&5
37786 ac_status=$?
37787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37788 (exit $ac_status); }; }; then
37789 wx_cv_type_getsockopt5=size_t
37790 else
37791 echo "$as_me: failed program was:" >&5
37792 sed 's/^/| /' conftest.$ac_ext >&5
37793
37794 cat >conftest.$ac_ext <<_ACEOF
37795 /* confdefs.h. */
37796 _ACEOF
37797 cat confdefs.h >>conftest.$ac_ext
37798 cat >>conftest.$ac_ext <<_ACEOF
37799 /* end confdefs.h. */
37800
37801 #include <sys/types.h>
37802 #include <sys/socket.h>
37803
37804 int
37805 main ()
37806 {
37807
37808 int len;
37809 getsockopt(0, 0, 0, 0, &len);
37810
37811 ;
37812 return 0;
37813 }
37814 _ACEOF
37815 rm -f conftest.$ac_objext
37816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37817 (eval $ac_compile) 2>conftest.er1
37818 ac_status=$?
37819 grep -v '^ *+' conftest.er1 >conftest.err
37820 rm -f conftest.er1
37821 cat conftest.err >&5
37822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37823 (exit $ac_status); } &&
37824 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37826 (eval $ac_try) 2>&5
37827 ac_status=$?
37828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37829 (exit $ac_status); }; } &&
37830 { ac_try='test -s conftest.$ac_objext'
37831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37832 (eval $ac_try) 2>&5
37833 ac_status=$?
37834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37835 (exit $ac_status); }; }; then
37836 wx_cv_type_getsockopt5=int
37837 else
37838 echo "$as_me: failed program was:" >&5
37839 sed 's/^/| /' conftest.$ac_ext >&5
37840
37841 wx_cv_type_getsockopt5=unknown
37842
37843 fi
37844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37845
37846 fi
37847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37848
37849 CFLAGS="$CFLAGS_OLD"
37850
37851
37852 fi
37853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37854
37855 fi
37856 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
37857 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
37858
37859 if test "$wx_cv_type_getsockopt5" = "unknown"; then
37860 wxUSE_SOCKETS=no
37861 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37862 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37863 else
37864 cat >>confdefs.h <<_ACEOF
37865 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
37866 _ACEOF
37867
37868 fi
37869 ac_ext=c
37870 ac_cpp='$CPP $CPPFLAGS'
37871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37874
37875 fi
37876 fi
37877
37878 if test "$wxUSE_SOCKETS" = "yes" ; then
37879 cat >>confdefs.h <<\_ACEOF
37880 #define wxUSE_SOCKETS 1
37881 _ACEOF
37882
37883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37884 fi
37885
37886 if test "$wxUSE_PROTOCOL" = "yes"; then
37887 if test "$wxUSE_SOCKETS" != "yes"; then
37888 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
37889 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
37890 wxUSE_PROTOCOL=no
37891 fi
37892 fi
37893
37894 if test "$wxUSE_PROTOCOL" = "yes"; then
37895 cat >>confdefs.h <<\_ACEOF
37896 #define wxUSE_PROTOCOL 1
37897 _ACEOF
37898
37899
37900 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
37901 cat >>confdefs.h <<\_ACEOF
37902 #define wxUSE_PROTOCOL_HTTP 1
37903 _ACEOF
37904
37905 fi
37906 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
37907 cat >>confdefs.h <<\_ACEOF
37908 #define wxUSE_PROTOCOL_FTP 1
37909 _ACEOF
37910
37911 fi
37912 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
37913 cat >>confdefs.h <<\_ACEOF
37914 #define wxUSE_PROTOCOL_FILE 1
37915 _ACEOF
37916
37917 fi
37918 else
37919 if test "$wxUSE_FS_INET" = "yes"; then
37920 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
37921 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
37922 wxUSE_FS_INET="no"
37923 fi
37924 fi
37925
37926 if test "$wxUSE_URL" = "yes"; then
37927 if test "$wxUSE_PROTOCOL" != "yes"; then
37928 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
37929 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
37930 wxUSE_URL=no
37931 fi
37932 if test "$wxUSE_URL" = "yes"; then
37933 cat >>confdefs.h <<\_ACEOF
37934 #define wxUSE_URL 1
37935 _ACEOF
37936
37937 fi
37938 fi
37939
37940 if test "$wxUSE_FS_INET" = "yes"; then
37941 cat >>confdefs.h <<\_ACEOF
37942 #define wxUSE_FS_INET 1
37943 _ACEOF
37944
37945 fi
37946
37947
37948 if test "$wxUSE_GUI" = "yes"; then
37949 if test "$wxUSE_JOYSTICK" = "yes"; then
37950
37951 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
37952
37953 for ac_header in linux/joystick.h
37954 do
37955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37957 echo "$as_me:$LINENO: checking for $ac_header" >&5
37958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37960 echo $ECHO_N "(cached) $ECHO_C" >&6
37961 fi
37962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37964 else
37965 # Is the header compilable?
37966 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37968 cat >conftest.$ac_ext <<_ACEOF
37969 /* confdefs.h. */
37970 _ACEOF
37971 cat confdefs.h >>conftest.$ac_ext
37972 cat >>conftest.$ac_ext <<_ACEOF
37973 /* end confdefs.h. */
37974 $ac_includes_default
37975 #include <$ac_header>
37976 _ACEOF
37977 rm -f conftest.$ac_objext
37978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37979 (eval $ac_compile) 2>conftest.er1
37980 ac_status=$?
37981 grep -v '^ *+' conftest.er1 >conftest.err
37982 rm -f conftest.er1
37983 cat conftest.err >&5
37984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37985 (exit $ac_status); } &&
37986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37988 (eval $ac_try) 2>&5
37989 ac_status=$?
37990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37991 (exit $ac_status); }; } &&
37992 { ac_try='test -s conftest.$ac_objext'
37993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37994 (eval $ac_try) 2>&5
37995 ac_status=$?
37996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37997 (exit $ac_status); }; }; then
37998 ac_header_compiler=yes
37999 else
38000 echo "$as_me: failed program was:" >&5
38001 sed 's/^/| /' conftest.$ac_ext >&5
38002
38003 ac_header_compiler=no
38004 fi
38005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38007 echo "${ECHO_T}$ac_header_compiler" >&6
38008
38009 # Is the header present?
38010 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38011 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38012 cat >conftest.$ac_ext <<_ACEOF
38013 /* confdefs.h. */
38014 _ACEOF
38015 cat confdefs.h >>conftest.$ac_ext
38016 cat >>conftest.$ac_ext <<_ACEOF
38017 /* end confdefs.h. */
38018 #include <$ac_header>
38019 _ACEOF
38020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38021 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38022 ac_status=$?
38023 grep -v '^ *+' conftest.er1 >conftest.err
38024 rm -f conftest.er1
38025 cat conftest.err >&5
38026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38027 (exit $ac_status); } >/dev/null; then
38028 if test -s conftest.err; then
38029 ac_cpp_err=$ac_c_preproc_warn_flag
38030 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38031 else
38032 ac_cpp_err=
38033 fi
38034 else
38035 ac_cpp_err=yes
38036 fi
38037 if test -z "$ac_cpp_err"; then
38038 ac_header_preproc=yes
38039 else
38040 echo "$as_me: failed program was:" >&5
38041 sed 's/^/| /' conftest.$ac_ext >&5
38042
38043 ac_header_preproc=no
38044 fi
38045 rm -f conftest.err conftest.$ac_ext
38046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38047 echo "${ECHO_T}$ac_header_preproc" >&6
38048
38049 # So? What about this header?
38050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38051 yes:no: )
38052 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38053 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38055 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38056 ac_header_preproc=yes
38057 ;;
38058 no:yes:* )
38059 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38060 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38061 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38062 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38063 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38064 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38065 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38066 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38069 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38070 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38071 (
38072 cat <<\_ASBOX
38073 ## ----------------------------------------- ##
38074 ## Report this to wx-dev@lists.wxwidgets.org ##
38075 ## ----------------------------------------- ##
38076 _ASBOX
38077 ) |
38078 sed "s/^/$as_me: WARNING: /" >&2
38079 ;;
38080 esac
38081 echo "$as_me:$LINENO: checking for $ac_header" >&5
38082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38084 echo $ECHO_N "(cached) $ECHO_C" >&6
38085 else
38086 eval "$as_ac_Header=\$ac_header_preproc"
38087 fi
38088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38090
38091 fi
38092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38093 cat >>confdefs.h <<_ACEOF
38094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38095 _ACEOF
38096
38097 fi
38098
38099 done
38100
38101 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
38102 wxUSE_JOYSTICK=no
38103 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38104 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38105 fi
38106 else
38107 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
38108 wxUSE_JOYSTICK=no
38109 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38110 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38111 fi
38112 fi
38113
38114
38115 if test "$wxUSE_JOYSTICK" = "yes"; then
38116 cat >>confdefs.h <<\_ACEOF
38117 #define wxUSE_JOYSTICK 1
38118 _ACEOF
38119
38120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
38121 fi
38122 fi
38123 fi
38124
38125
38126
38127 if test "$wxUSE_FONTMAP" = "yes" ; then
38128 cat >>confdefs.h <<\_ACEOF
38129 #define wxUSE_FONTMAP 1
38130 _ACEOF
38131
38132 fi
38133
38134 if test "$wxUSE_UNICODE" = "yes" ; then
38135 cat >>confdefs.h <<\_ACEOF
38136 #define wxUSE_UNICODE 1
38137 _ACEOF
38138
38139
38140 if test "$USE_WIN32" != 1; then
38141 wxUSE_UNICODE_MSLU=no
38142 fi
38143
38144 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38145 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38146 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38147 if test "${ac_cv_lib_unicows_main+set}" = set; then
38148 echo $ECHO_N "(cached) $ECHO_C" >&6
38149 else
38150 ac_check_lib_save_LIBS=$LIBS
38151 LIBS="-lunicows $LIBS"
38152 cat >conftest.$ac_ext <<_ACEOF
38153 /* confdefs.h. */
38154 _ACEOF
38155 cat confdefs.h >>conftest.$ac_ext
38156 cat >>conftest.$ac_ext <<_ACEOF
38157 /* end confdefs.h. */
38158
38159
38160 int
38161 main ()
38162 {
38163 main ();
38164 ;
38165 return 0;
38166 }
38167 _ACEOF
38168 rm -f conftest.$ac_objext conftest$ac_exeext
38169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38170 (eval $ac_link) 2>conftest.er1
38171 ac_status=$?
38172 grep -v '^ *+' conftest.er1 >conftest.err
38173 rm -f conftest.er1
38174 cat conftest.err >&5
38175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38176 (exit $ac_status); } &&
38177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38179 (eval $ac_try) 2>&5
38180 ac_status=$?
38181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38182 (exit $ac_status); }; } &&
38183 { ac_try='test -s conftest$ac_exeext'
38184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38185 (eval $ac_try) 2>&5
38186 ac_status=$?
38187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38188 (exit $ac_status); }; }; then
38189 ac_cv_lib_unicows_main=yes
38190 else
38191 echo "$as_me: failed program was:" >&5
38192 sed 's/^/| /' conftest.$ac_ext >&5
38193
38194 ac_cv_lib_unicows_main=no
38195 fi
38196 rm -f conftest.err conftest.$ac_objext \
38197 conftest$ac_exeext conftest.$ac_ext
38198 LIBS=$ac_check_lib_save_LIBS
38199 fi
38200 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38201 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38202 if test $ac_cv_lib_unicows_main = yes; then
38203
38204 cat >>confdefs.h <<\_ACEOF
38205 #define wxUSE_UNICODE_MSLU 1
38206 _ACEOF
38207
38208
38209 else
38210
38211 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38212 Applications will only run on Windows NT/2000/XP!" >&5
38213 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38214 Applications will only run on Windows NT/2000/XP!" >&2;}
38215 wxUSE_UNICODE_MSLU=no
38216
38217 fi
38218
38219 fi
38220 fi
38221
38222 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38223 cat >>confdefs.h <<\_ACEOF
38224 #define wxUSE_EXPERIMENTAL_PRINTF 1
38225 _ACEOF
38226
38227 fi
38228
38229
38230 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38231 cat >>confdefs.h <<\_ACEOF
38232 #define wxUSE_POSTSCRIPT 1
38233 _ACEOF
38234
38235 fi
38236
38237 cat >>confdefs.h <<\_ACEOF
38238 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38239 _ACEOF
38240
38241
38242 cat >>confdefs.h <<\_ACEOF
38243 #define wxUSE_NORMALIZED_PS_FONTS 1
38244 _ACEOF
38245
38246
38247
38248 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38249 cat >>confdefs.h <<\_ACEOF
38250 #define wxUSE_CONSTRAINTS 1
38251 _ACEOF
38252
38253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
38254 fi
38255
38256 if test "$wxUSE_MDI" = "yes"; then
38257 cat >>confdefs.h <<\_ACEOF
38258 #define wxUSE_MDI 1
38259 _ACEOF
38260
38261
38262 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38263 cat >>confdefs.h <<\_ACEOF
38264 #define wxUSE_MDI_ARCHITECTURE 1
38265 _ACEOF
38266
38267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
38268 fi
38269 fi
38270
38271 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38272 cat >>confdefs.h <<\_ACEOF
38273 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38274 _ACEOF
38275
38276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
38277 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
38279 fi
38280 fi
38281
38282 if test "$wxUSE_HELP" = "yes"; then
38283 cat >>confdefs.h <<\_ACEOF
38284 #define wxUSE_HELP 1
38285 _ACEOF
38286
38287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
38288
38289 if test "$wxUSE_MSW" = 1; then
38290 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38291 cat >>confdefs.h <<\_ACEOF
38292 #define wxUSE_MS_HTML_HELP 1
38293 _ACEOF
38294
38295 fi
38296 fi
38297
38298 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38299 if test "$wxUSE_HTML" = "yes"; then
38300 cat >>confdefs.h <<\_ACEOF
38301 #define wxUSE_WXHTML_HELP 1
38302 _ACEOF
38303
38304 else
38305 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38306 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38307 wxUSE_WXHTML_HELP=no
38308 fi
38309 fi
38310 fi
38311
38312 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38313 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38314 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38315 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38316 else
38317 cat >>confdefs.h <<\_ACEOF
38318 #define wxUSE_PRINTING_ARCHITECTURE 1
38319 _ACEOF
38320
38321 fi
38322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
38323 fi
38324
38325 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38326 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38327 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38328 { (exit 1); exit 1; }; }
38329 fi
38330
38331
38332 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
38333 -o "$wxUSE_CLIPBOARD" = "yes" \
38334 -o "$wxUSE_OLE" = "yes" \
38335 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
38336
38337 for ac_header in ole2.h
38338 do
38339 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38341 echo "$as_me:$LINENO: checking for $ac_header" >&5
38342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38344 echo $ECHO_N "(cached) $ECHO_C" >&6
38345 fi
38346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38348 else
38349 # Is the header compilable?
38350 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38351 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38352 cat >conftest.$ac_ext <<_ACEOF
38353 /* confdefs.h. */
38354 _ACEOF
38355 cat confdefs.h >>conftest.$ac_ext
38356 cat >>conftest.$ac_ext <<_ACEOF
38357 /* end confdefs.h. */
38358 $ac_includes_default
38359 #include <$ac_header>
38360 _ACEOF
38361 rm -f conftest.$ac_objext
38362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38363 (eval $ac_compile) 2>conftest.er1
38364 ac_status=$?
38365 grep -v '^ *+' conftest.er1 >conftest.err
38366 rm -f conftest.er1
38367 cat conftest.err >&5
38368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38369 (exit $ac_status); } &&
38370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38372 (eval $ac_try) 2>&5
38373 ac_status=$?
38374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38375 (exit $ac_status); }; } &&
38376 { ac_try='test -s conftest.$ac_objext'
38377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38378 (eval $ac_try) 2>&5
38379 ac_status=$?
38380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38381 (exit $ac_status); }; }; then
38382 ac_header_compiler=yes
38383 else
38384 echo "$as_me: failed program was:" >&5
38385 sed 's/^/| /' conftest.$ac_ext >&5
38386
38387 ac_header_compiler=no
38388 fi
38389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38391 echo "${ECHO_T}$ac_header_compiler" >&6
38392
38393 # Is the header present?
38394 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38395 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38396 cat >conftest.$ac_ext <<_ACEOF
38397 /* confdefs.h. */
38398 _ACEOF
38399 cat confdefs.h >>conftest.$ac_ext
38400 cat >>conftest.$ac_ext <<_ACEOF
38401 /* end confdefs.h. */
38402 #include <$ac_header>
38403 _ACEOF
38404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38405 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38406 ac_status=$?
38407 grep -v '^ *+' conftest.er1 >conftest.err
38408 rm -f conftest.er1
38409 cat conftest.err >&5
38410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38411 (exit $ac_status); } >/dev/null; then
38412 if test -s conftest.err; then
38413 ac_cpp_err=$ac_c_preproc_warn_flag
38414 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38415 else
38416 ac_cpp_err=
38417 fi
38418 else
38419 ac_cpp_err=yes
38420 fi
38421 if test -z "$ac_cpp_err"; then
38422 ac_header_preproc=yes
38423 else
38424 echo "$as_me: failed program was:" >&5
38425 sed 's/^/| /' conftest.$ac_ext >&5
38426
38427 ac_header_preproc=no
38428 fi
38429 rm -f conftest.err conftest.$ac_ext
38430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38431 echo "${ECHO_T}$ac_header_preproc" >&6
38432
38433 # So? What about this header?
38434 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38435 yes:no: )
38436 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38437 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38439 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38440 ac_header_preproc=yes
38441 ;;
38442 no:yes:* )
38443 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38444 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38445 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38446 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38447 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38448 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38449 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38450 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38452 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38453 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38454 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38455 (
38456 cat <<\_ASBOX
38457 ## ----------------------------------------- ##
38458 ## Report this to wx-dev@lists.wxwidgets.org ##
38459 ## ----------------------------------------- ##
38460 _ASBOX
38461 ) |
38462 sed "s/^/$as_me: WARNING: /" >&2
38463 ;;
38464 esac
38465 echo "$as_me:$LINENO: checking for $ac_header" >&5
38466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38468 echo $ECHO_N "(cached) $ECHO_C" >&6
38469 else
38470 eval "$as_ac_Header=\$ac_header_preproc"
38471 fi
38472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38474
38475 fi
38476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38477 cat >>confdefs.h <<_ACEOF
38478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38479 _ACEOF
38480
38481 fi
38482
38483 done
38484
38485
38486 if test "$ac_cv_header_ole2_h" = "yes" ; then
38487 if test "$GCC" = yes ; then
38488
38489
38490 ac_ext=cc
38491 ac_cpp='$CXXCPP $CPPFLAGS'
38492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38495
38496
38497 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38498 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38499 cat >conftest.$ac_ext <<_ACEOF
38500 /* confdefs.h. */
38501 _ACEOF
38502 cat confdefs.h >>conftest.$ac_ext
38503 cat >>conftest.$ac_ext <<_ACEOF
38504 /* end confdefs.h. */
38505 #include <windows.h>
38506 #include <ole2.h>
38507 int
38508 main ()
38509 {
38510
38511 ;
38512 return 0;
38513 }
38514 _ACEOF
38515 rm -f conftest.$ac_objext
38516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38517 (eval $ac_compile) 2>conftest.er1
38518 ac_status=$?
38519 grep -v '^ *+' conftest.er1 >conftest.err
38520 rm -f conftest.er1
38521 cat conftest.err >&5
38522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38523 (exit $ac_status); } &&
38524 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38526 (eval $ac_try) 2>&5
38527 ac_status=$?
38528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38529 (exit $ac_status); }; } &&
38530 { ac_try='test -s conftest.$ac_objext'
38531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38532 (eval $ac_try) 2>&5
38533 ac_status=$?
38534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38535 (exit $ac_status); }; }; then
38536 echo "$as_me:$LINENO: result: no" >&5
38537 echo "${ECHO_T}no" >&6
38538 else
38539 echo "$as_me: failed program was:" >&5
38540 sed 's/^/| /' conftest.$ac_ext >&5
38541
38542 echo "$as_me:$LINENO: result: yes" >&5
38543 echo "${ECHO_T}yes" >&6
38544 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38545 fi
38546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38547 ac_ext=c
38548 ac_cpp='$CPP $CPPFLAGS'
38549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38552
38553 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38554 if test "$wxUSE_OLE" = "yes" ; then
38555 cat >>confdefs.h <<\_ACEOF
38556 #define wxUSE_OLE 1
38557 _ACEOF
38558
38559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
38560 fi
38561 fi
38562
38563 if test "$wxUSE_DATAOBJ" = "yes" ; then
38564 cat >>confdefs.h <<\_ACEOF
38565 #define wxUSE_DATAOBJ 1
38566 _ACEOF
38567
38568 fi
38569 else
38570 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38571 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38572
38573 wxUSE_CLIPBOARD=no
38574 wxUSE_DRAG_AND_DROP=no
38575 wxUSE_DATAOBJ=no
38576 wxUSE_OLE=no
38577 fi
38578
38579 if test "$wxUSE_METAFILE" = "yes"; then
38580 cat >>confdefs.h <<\_ACEOF
38581 #define wxUSE_METAFILE 1
38582 _ACEOF
38583
38584
38585 cat >>confdefs.h <<\_ACEOF
38586 #define wxUSE_ENH_METAFILE 1
38587 _ACEOF
38588
38589 fi
38590 fi
38591
38592 if test "$wxUSE_IPC" = "yes"; then
38593 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38594 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38595 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38596 wxUSE_IPC=no
38597 fi
38598
38599 if test "$wxUSE_IPC" = "yes"; then
38600 cat >>confdefs.h <<\_ACEOF
38601 #define wxUSE_IPC 1
38602 _ACEOF
38603
38604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
38605 fi
38606 fi
38607
38608 if test "$wxUSE_CLIPBOARD" = "yes"; then
38609 if test "$wxUSE_MGL" = 1; then
38610 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38611 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38612 wxUSE_CLIPBOARD=no
38613 fi
38614
38615 if test "$wxUSE_CLIPBOARD" = "yes"; then
38616 cat >>confdefs.h <<\_ACEOF
38617 #define wxUSE_CLIPBOARD 1
38618 _ACEOF
38619
38620
38621 cat >>confdefs.h <<\_ACEOF
38622 #define wxUSE_DATAOBJ 1
38623 _ACEOF
38624
38625 fi
38626 fi
38627
38628 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38629 if test "$wxUSE_GTK" = 1; then
38630 if test "$WXGTK12" != 1; then
38631 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38632 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38633 wxUSE_DRAG_AND_DROP=no
38634 fi
38635 fi
38636
38637 if test "$wxUSE_MOTIF" = 1; then
38638 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38639 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38640 wxUSE_DRAG_AND_DROP=no
38641 fi
38642
38643 if test "$wxUSE_X11" = 1; then
38644 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38645 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38646 wxUSE_DRAG_AND_DROP=no
38647 fi
38648
38649 if test "$wxUSE_MGL" = 1; then
38650 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38651 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38652 wxUSE_DRAG_AND_DROP=no
38653 fi
38654
38655 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38656 cat >>confdefs.h <<\_ACEOF
38657 #define wxUSE_DRAG_AND_DROP 1
38658 _ACEOF
38659
38660 fi
38661
38662 fi
38663
38664 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
38666 fi
38667
38668 if test "$wxUSE_SPLINES" = "yes" ; then
38669 cat >>confdefs.h <<\_ACEOF
38670 #define wxUSE_SPLINES 1
38671 _ACEOF
38672
38673 fi
38674
38675
38676 USES_CONTROLS=0
38677 if test "$wxUSE_CONTROLS" = "yes"; then
38678 USES_CONTROLS=1
38679 fi
38680
38681 if test "$wxUSE_ACCEL" = "yes"; then
38682 cat >>confdefs.h <<\_ACEOF
38683 #define wxUSE_ACCEL 1
38684 _ACEOF
38685
38686 USES_CONTROLS=1
38687 fi
38688
38689 if test "$wxUSE_BUTTON" = "yes"; then
38690 cat >>confdefs.h <<\_ACEOF
38691 #define wxUSE_BUTTON 1
38692 _ACEOF
38693
38694 USES_CONTROLS=1
38695 fi
38696
38697 if test "$wxUSE_BMPBUTTON" = "yes"; then
38698 cat >>confdefs.h <<\_ACEOF
38699 #define wxUSE_BMPBUTTON 1
38700 _ACEOF
38701
38702 USES_CONTROLS=1
38703 fi
38704
38705 if test "$wxUSE_CALCTRL" = "yes"; then
38706 cat >>confdefs.h <<\_ACEOF
38707 #define wxUSE_CALENDARCTRL 1
38708 _ACEOF
38709
38710 USES_CONTROLS=1
38711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
38712 fi
38713
38714 if test "$wxUSE_CARET" = "yes"; then
38715 cat >>confdefs.h <<\_ACEOF
38716 #define wxUSE_CARET 1
38717 _ACEOF
38718
38719 USES_CONTROLS=1
38720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
38721 fi
38722
38723 if test "$wxUSE_COMBOBOX" = "yes"; then
38724 cat >>confdefs.h <<\_ACEOF
38725 #define wxUSE_COMBOBOX 1
38726 _ACEOF
38727
38728 USES_CONTROLS=1
38729 fi
38730
38731 if test "$wxUSE_CHOICE" = "yes"; then
38732 cat >>confdefs.h <<\_ACEOF
38733 #define wxUSE_CHOICE 1
38734 _ACEOF
38735
38736 USES_CONTROLS=1
38737 fi
38738
38739 if test "$wxUSE_CHOICEBOOK" = "yes"; then
38740 cat >>confdefs.h <<\_ACEOF
38741 #define wxUSE_CHOICEBOOK 1
38742 _ACEOF
38743
38744 USES_CONTROLS=1
38745 fi
38746
38747 if test "$wxUSE_CHECKBOX" = "yes"; then
38748 cat >>confdefs.h <<\_ACEOF
38749 #define wxUSE_CHECKBOX 1
38750 _ACEOF
38751
38752 USES_CONTROLS=1
38753 fi
38754
38755 if test "$wxUSE_CHECKLST" = "yes"; then
38756 cat >>confdefs.h <<\_ACEOF
38757 #define wxUSE_CHECKLISTBOX 1
38758 _ACEOF
38759
38760 USES_CONTROLS=1
38761 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
38762 fi
38763
38764 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
38765 cat >>confdefs.h <<\_ACEOF
38766 #define wxUSE_DATEPICKCTRL 1
38767 _ACEOF
38768
38769 USES_CONTROLS=1
38770 fi
38771
38772 if test "$wxUSE_DISPLAY" = "yes"; then
38773 cat >>confdefs.h <<\_ACEOF
38774 #define wxUSE_DISPLAY 1
38775 _ACEOF
38776
38777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
38778 fi
38779
38780 if test "$wxUSE_GAUGE" = "yes"; then
38781 cat >>confdefs.h <<\_ACEOF
38782 #define wxUSE_GAUGE 1
38783 _ACEOF
38784
38785 USES_CONTROLS=1
38786 fi
38787
38788 if test "$wxUSE_GRID" = "yes"; then
38789 cat >>confdefs.h <<\_ACEOF
38790 #define wxUSE_GRID 1
38791 _ACEOF
38792
38793 USES_CONTROLS=1
38794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
38795 fi
38796
38797 if test "$wxUSE_IMAGLIST" = "yes"; then
38798 cat >>confdefs.h <<\_ACEOF
38799 #define wxUSE_IMAGLIST 1
38800 _ACEOF
38801
38802 fi
38803
38804 if test "$wxUSE_LISTBOOK" = "yes"; then
38805 cat >>confdefs.h <<\_ACEOF
38806 #define wxUSE_LISTBOOK 1
38807 _ACEOF
38808
38809 USES_CONTROLS=1
38810 fi
38811
38812 if test "$wxUSE_LISTBOX" = "yes"; then
38813 cat >>confdefs.h <<\_ACEOF
38814 #define wxUSE_LISTBOX 1
38815 _ACEOF
38816
38817 USES_CONTROLS=1
38818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
38819 fi
38820
38821 if test "$wxUSE_LISTCTRL" = "yes"; then
38822 if test "$wxUSE_IMAGLIST" = "yes"; then
38823 cat >>confdefs.h <<\_ACEOF
38824 #define wxUSE_LISTCTRL 1
38825 _ACEOF
38826
38827 USES_CONTROLS=1
38828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
38829 else
38830 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
38831 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
38832 fi
38833 fi
38834
38835 if test "$wxUSE_NOTEBOOK" = "yes"; then
38836 cat >>confdefs.h <<\_ACEOF
38837 #define wxUSE_NOTEBOOK 1
38838 _ACEOF
38839
38840 USES_CONTROLS=1
38841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
38842 fi
38843
38844
38845 if test "$wxUSE_RADIOBOX" = "yes"; then
38846 cat >>confdefs.h <<\_ACEOF
38847 #define wxUSE_RADIOBOX 1
38848 _ACEOF
38849
38850 USES_CONTROLS=1
38851 fi
38852
38853 if test "$wxUSE_RADIOBTN" = "yes"; then
38854 cat >>confdefs.h <<\_ACEOF
38855 #define wxUSE_RADIOBTN 1
38856 _ACEOF
38857
38858 USES_CONTROLS=1
38859 fi
38860
38861 if test "$wxUSE_SASH" = "yes"; then
38862 cat >>confdefs.h <<\_ACEOF
38863 #define wxUSE_SASH 1
38864 _ACEOF
38865
38866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
38867 fi
38868
38869 if test "$wxUSE_SCROLLBAR" = "yes"; then
38870 cat >>confdefs.h <<\_ACEOF
38871 #define wxUSE_SCROLLBAR 1
38872 _ACEOF
38873
38874 USES_CONTROLS=1
38875 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
38876 fi
38877
38878 if test "$wxUSE_SLIDER" = "yes"; then
38879 cat >>confdefs.h <<\_ACEOF
38880 #define wxUSE_SLIDER 1
38881 _ACEOF
38882
38883 USES_CONTROLS=1
38884 fi
38885
38886 if test "$wxUSE_SPINBTN" = "yes"; then
38887 cat >>confdefs.h <<\_ACEOF
38888 #define wxUSE_SPINBTN 1
38889 _ACEOF
38890
38891 USES_CONTROLS=1
38892 fi
38893
38894 if test "$wxUSE_SPINCTRL" = "yes"; then
38895 cat >>confdefs.h <<\_ACEOF
38896 #define wxUSE_SPINCTRL 1
38897 _ACEOF
38898
38899 USES_CONTROLS=1
38900 fi
38901
38902 if test "$wxUSE_SPLITTER" = "yes"; then
38903 cat >>confdefs.h <<\_ACEOF
38904 #define wxUSE_SPLITTER 1
38905 _ACEOF
38906
38907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
38908 fi
38909
38910 if test "$wxUSE_STATBMP" = "yes"; then
38911 cat >>confdefs.h <<\_ACEOF
38912 #define wxUSE_STATBMP 1
38913 _ACEOF
38914
38915 USES_CONTROLS=1
38916 fi
38917
38918 if test "$wxUSE_STATBOX" = "yes"; then
38919 cat >>confdefs.h <<\_ACEOF
38920 #define wxUSE_STATBOX 1
38921 _ACEOF
38922
38923 USES_CONTROLS=1
38924 fi
38925
38926 if test "$wxUSE_STATTEXT" = "yes"; then
38927 cat >>confdefs.h <<\_ACEOF
38928 #define wxUSE_STATTEXT 1
38929 _ACEOF
38930
38931 USES_CONTROLS=1
38932 fi
38933
38934 if test "$wxUSE_STATLINE" = "yes"; then
38935 cat >>confdefs.h <<\_ACEOF
38936 #define wxUSE_STATLINE 1
38937 _ACEOF
38938
38939 USES_CONTROLS=1
38940 fi
38941
38942 if test "$wxUSE_STATUSBAR" = "yes"; then
38943 cat >>confdefs.h <<\_ACEOF
38944 #define wxUSE_NATIVE_STATUSBAR 1
38945 _ACEOF
38946
38947 cat >>confdefs.h <<\_ACEOF
38948 #define wxUSE_STATUSBAR 1
38949 _ACEOF
38950
38951 USES_CONTROLS=1
38952
38953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
38954 fi
38955
38956 if test "$wxUSE_TABDIALOG" = "yes"; then
38957 cat >>confdefs.h <<\_ACEOF
38958 #define wxUSE_TAB_DIALOG 1
38959 _ACEOF
38960
38961 fi
38962
38963 if test "$wxUSE_TEXTCTRL" = "yes"; then
38964 cat >>confdefs.h <<\_ACEOF
38965 #define wxUSE_TEXTCTRL 1
38966 _ACEOF
38967
38968 USES_CONTROLS=1
38969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
38970 fi
38971
38972 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38973 if test "$wxUSE_COCOA" = 1 ; then
38974 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
38975 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
38976 wxUSE_TOGGLEBTN=no
38977 else
38978 if test "$wxUSE_PM" = 1; then
38979 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
38980 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
38981 wxUSE_TOGGLEBTN=no
38982 fi
38983 fi
38984 if test "$wxUSE_UNIVERSAL" = "yes"; then
38985 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
38986 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
38987 wxUSE_TOGGLEBTN=no
38988 fi
38989
38990 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38991 cat >>confdefs.h <<\_ACEOF
38992 #define wxUSE_TOGGLEBTN 1
38993 _ACEOF
38994
38995 USES_CONTROLS=1
38996 fi
38997 fi
38998
38999 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39000 cat >>confdefs.h <<\_ACEOF
39001 #define wxUSE_TOOLBAR_SIMPLE 1
39002 _ACEOF
39003
39004 wxUSE_TOOLBAR="yes"
39005 USES_CONTROLS=1
39006 fi
39007
39008 if test "$wxUSE_TOOLBAR" = "yes"; then
39009 cat >>confdefs.h <<\_ACEOF
39010 #define wxUSE_TOOLBAR 1
39011 _ACEOF
39012
39013 USES_CONTROLS=1
39014
39015 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39016 wxUSE_TOOLBAR_NATIVE="yes"
39017 fi
39018
39019 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39020 cat >>confdefs.h <<\_ACEOF
39021 #define wxUSE_TOOLBAR_NATIVE 1
39022 _ACEOF
39023
39024 USES_CONTROLS=1
39025 fi
39026
39027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
39028 fi
39029
39030 if test "$wxUSE_TOOLTIPS" = "yes"; then
39031 if test "$wxUSE_MOTIF" = 1; then
39032 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39033 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39034 else
39035 if test "$wxUSE_UNIVERSAL" = "yes"; then
39036 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39037 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39038 else
39039 cat >>confdefs.h <<\_ACEOF
39040 #define wxUSE_TOOLTIPS 1
39041 _ACEOF
39042
39043 fi
39044 fi
39045 fi
39046
39047 if test "$wxUSE_TREECTRL" = "yes"; then
39048 if test "$wxUSE_IMAGLIST" = "yes"; then
39049 cat >>confdefs.h <<\_ACEOF
39050 #define wxUSE_TREECTRL 1
39051 _ACEOF
39052
39053 USES_CONTROLS=1
39054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
39055 else
39056 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39057 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39058 fi
39059 fi
39060
39061 if test "$wxUSE_POPUPWIN" = "yes"; then
39062 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39063 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39064 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39065 else
39066 if test "$wxUSE_PM" = 1; then
39067 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39068 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39069 else
39070 cat >>confdefs.h <<\_ACEOF
39071 #define wxUSE_POPUPWIN 1
39072 _ACEOF
39073
39074 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
39075
39076 USES_CONTROLS=1
39077 fi
39078 fi
39079 fi
39080
39081 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39082 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39083 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39084 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39085 else
39086 cat >>confdefs.h <<\_ACEOF
39087 #define wxUSE_DIALUP_MANAGER 1
39088 _ACEOF
39089
39090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
39091 fi
39092 fi
39093
39094 if test "$wxUSE_TIPWINDOW" = "yes"; then
39095 if test "$wxUSE_PM" = 1; then
39096 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39097 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39098 else
39099 cat >>confdefs.h <<\_ACEOF
39100 #define wxUSE_TIPWINDOW 1
39101 _ACEOF
39102
39103 fi
39104 fi
39105
39106 if test "$USES_CONTROLS" = 1; then
39107 cat >>confdefs.h <<\_ACEOF
39108 #define wxUSE_CONTROLS 1
39109 _ACEOF
39110
39111 fi
39112
39113
39114 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39115 cat >>confdefs.h <<\_ACEOF
39116 #define wxUSE_ACCESSIBILITY 1
39117 _ACEOF
39118
39119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
39120 fi
39121
39122 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39123 cat >>confdefs.h <<\_ACEOF
39124 #define wxUSE_DRAGIMAGE 1
39125 _ACEOF
39126
39127 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
39128 fi
39129
39130 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39131 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39132 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39133 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39134 else
39135 cat >>confdefs.h <<\_ACEOF
39136 #define wxUSE_EXCEPTIONS 1
39137 _ACEOF
39138
39139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
39140 fi
39141 fi
39142
39143 USE_HTML=0
39144 if test "$wxUSE_HTML" = "yes"; then
39145 cat >>confdefs.h <<\_ACEOF
39146 #define wxUSE_HTML 1
39147 _ACEOF
39148
39149 USE_HTML=1
39150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39151 if test "$wxUSE_MAC" = 1; then
39152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
39153 fi
39154 fi
39155 if test "$wxUSE_WEBKIT" = "yes"; then
39156 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39157 old_CPPFLAGS="$CPPFLAGS"
39158 CPPFLAGS="$CPPFLAGS -x objective-c++"
39159 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39160 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39161 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39162 echo $ECHO_N "(cached) $ECHO_C" >&6
39163 else
39164 cat >conftest.$ac_ext <<_ACEOF
39165 /* confdefs.h. */
39166 _ACEOF
39167 cat confdefs.h >>conftest.$ac_ext
39168 cat >>conftest.$ac_ext <<_ACEOF
39169 /* end confdefs.h. */
39170 #include <Carbon/Carbon.h>
39171
39172 #include <WebKit/HIWebView.h>
39173 _ACEOF
39174 rm -f conftest.$ac_objext
39175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39176 (eval $ac_compile) 2>conftest.er1
39177 ac_status=$?
39178 grep -v '^ *+' conftest.er1 >conftest.err
39179 rm -f conftest.er1
39180 cat conftest.err >&5
39181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39182 (exit $ac_status); } &&
39183 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39185 (eval $ac_try) 2>&5
39186 ac_status=$?
39187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39188 (exit $ac_status); }; } &&
39189 { ac_try='test -s conftest.$ac_objext'
39190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39191 (eval $ac_try) 2>&5
39192 ac_status=$?
39193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39194 (exit $ac_status); }; }; then
39195 ac_cv_header_WebKit_HIWebView_h=yes
39196 else
39197 echo "$as_me: failed program was:" >&5
39198 sed 's/^/| /' conftest.$ac_ext >&5
39199
39200 ac_cv_header_WebKit_HIWebView_h=no
39201 fi
39202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39203 fi
39204 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39205 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39206 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39207
39208 cat >>confdefs.h <<\_ACEOF
39209 #define wxUSE_WEBKIT 1
39210 _ACEOF
39211
39212 WEBKIT_LINK="-framework WebKit"
39213
39214 else
39215
39216 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39217 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39218 wxUSE_WEBKIT=no
39219
39220 fi
39221
39222
39223 CPPFLAGS="$old_CPPFLAGS"
39224 elif test "$wxUSE_COCOA" = 1; then
39225 cat >>confdefs.h <<\_ACEOF
39226 #define wxUSE_WEBKIT 1
39227 _ACEOF
39228
39229 else
39230 wxUSE_WEBKIT=no
39231 fi
39232 fi
39233
39234 USE_XRC=0
39235 if test "$wxUSE_XRC" = "yes"; then
39236 if test "$wxUSE_XML" != "yes"; then
39237 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39238 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39239 wxUSE_XRC=no
39240 else
39241 cat >>confdefs.h <<\_ACEOF
39242 #define wxUSE_XRC 1
39243 _ACEOF
39244
39245 USE_XRC=1
39246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
39247 fi
39248 fi
39249
39250 if test "$wxUSE_MENUS" = "yes"; then
39251 cat >>confdefs.h <<\_ACEOF
39252 #define wxUSE_MENUS 1
39253 _ACEOF
39254
39255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
39256 fi
39257
39258 if test "$wxUSE_METAFILE" = "yes"; then
39259 cat >>confdefs.h <<\_ACEOF
39260 #define wxUSE_METAFILE 1
39261 _ACEOF
39262
39263 fi
39264
39265 if test "$wxUSE_MIMETYPE" = "yes"; then
39266 cat >>confdefs.h <<\_ACEOF
39267 #define wxUSE_MIMETYPE 1
39268 _ACEOF
39269
39270 fi
39271
39272 if test "$wxUSE_MINIFRAME" = "yes"; then
39273 cat >>confdefs.h <<\_ACEOF
39274 #define wxUSE_MINIFRAME 1
39275 _ACEOF
39276
39277 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
39278 fi
39279
39280 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39281 cat >>confdefs.h <<\_ACEOF
39282 #define wxUSE_SYSTEM_OPTIONS 1
39283 _ACEOF
39284
39285 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39286 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
39288 fi
39289 fi
39290
39291
39292 if test "$wxUSE_VALIDATORS" = "yes"; then
39293 cat >>confdefs.h <<\_ACEOF
39294 #define wxUSE_VALIDATORS 1
39295 _ACEOF
39296
39297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
39298 fi
39299
39300 if test "$wxUSE_PALETTE" = "yes" ; then
39301 cat >>confdefs.h <<\_ACEOF
39302 #define wxUSE_PALETTE 1
39303 _ACEOF
39304
39305 fi
39306
39307 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39308 LIBS=" -lunicows $LIBS"
39309 fi
39310
39311
39312 if test "$wxUSE_IMAGE" = "yes" ; then
39313 cat >>confdefs.h <<\_ACEOF
39314 #define wxUSE_IMAGE 1
39315 _ACEOF
39316
39317
39318 if test "$wxUSE_GIF" = "yes" ; then
39319 cat >>confdefs.h <<\_ACEOF
39320 #define wxUSE_GIF 1
39321 _ACEOF
39322
39323 fi
39324
39325 if test "$wxUSE_PCX" = "yes" ; then
39326 cat >>confdefs.h <<\_ACEOF
39327 #define wxUSE_PCX 1
39328 _ACEOF
39329
39330 fi
39331
39332 if test "$wxUSE_IFF" = "yes" ; then
39333 cat >>confdefs.h <<\_ACEOF
39334 #define wxUSE_IFF 1
39335 _ACEOF
39336
39337 fi
39338
39339 if test "$wxUSE_PNM" = "yes" ; then
39340 cat >>confdefs.h <<\_ACEOF
39341 #define wxUSE_PNM 1
39342 _ACEOF
39343
39344 fi
39345
39346 if test "$wxUSE_XPM" = "yes" ; then
39347 cat >>confdefs.h <<\_ACEOF
39348 #define wxUSE_XPM 1
39349 _ACEOF
39350
39351 fi
39352
39353 if test "$wxUSE_ICO_CUR" = "yes" ; then
39354 cat >>confdefs.h <<\_ACEOF
39355 #define wxUSE_ICO_CUR 1
39356 _ACEOF
39357
39358 fi
39359 fi
39360
39361
39362 if test "$wxUSE_CHOICEDLG" = "yes"; then
39363 cat >>confdefs.h <<\_ACEOF
39364 #define wxUSE_CHOICEDLG 1
39365 _ACEOF
39366
39367 fi
39368
39369 if test "$wxUSE_COLOURDLG" = "yes"; then
39370 cat >>confdefs.h <<\_ACEOF
39371 #define wxUSE_COLOURDLG 1
39372 _ACEOF
39373
39374 fi
39375
39376 if test "$wxUSE_FILEDLG" = "yes"; then
39377 cat >>confdefs.h <<\_ACEOF
39378 #define wxUSE_FILEDLG 1
39379 _ACEOF
39380
39381 fi
39382
39383 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39384 cat >>confdefs.h <<\_ACEOF
39385 #define wxUSE_FINDREPLDLG 1
39386 _ACEOF
39387
39388 fi
39389
39390 if test "$wxUSE_FONTDLG" = "yes"; then
39391 cat >>confdefs.h <<\_ACEOF
39392 #define wxUSE_FONTDLG 1
39393 _ACEOF
39394
39395 fi
39396
39397 if test "$wxUSE_DIRDLG" = "yes"; then
39398 if test "$wxUSE_TREECTRL" != "yes"; then
39399 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39400 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39401 else
39402 cat >>confdefs.h <<\_ACEOF
39403 #define wxUSE_DIRDLG 1
39404 _ACEOF
39405
39406 fi
39407 fi
39408
39409 if test "$wxUSE_MSGDLG" = "yes"; then
39410 cat >>confdefs.h <<\_ACEOF
39411 #define wxUSE_MSGDLG 1
39412 _ACEOF
39413
39414 fi
39415
39416 if test "$wxUSE_NUMBERDLG" = "yes"; then
39417 cat >>confdefs.h <<\_ACEOF
39418 #define wxUSE_NUMBERDLG 1
39419 _ACEOF
39420
39421 fi
39422
39423 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39424 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39425 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39426 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39427 else
39428 cat >>confdefs.h <<\_ACEOF
39429 #define wxUSE_PROGRESSDLG 1
39430 _ACEOF
39431
39432 fi
39433 fi
39434
39435 if test "$wxUSE_SPLASH" = "yes"; then
39436 cat >>confdefs.h <<\_ACEOF
39437 #define wxUSE_SPLASH 1
39438 _ACEOF
39439
39440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
39441 fi
39442
39443 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39444 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39445 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39446 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39447 else
39448 cat >>confdefs.h <<\_ACEOF
39449 #define wxUSE_STARTUP_TIPS 1
39450 _ACEOF
39451
39452 fi
39453 fi
39454
39455 if test "$wxUSE_TEXTDLG" = "yes"; then
39456 cat >>confdefs.h <<\_ACEOF
39457 #define wxUSE_TEXTDLG 1
39458 _ACEOF
39459
39460 fi
39461
39462 if test "$wxUSE_WIZARDDLG" = "yes"; then
39463 cat >>confdefs.h <<\_ACEOF
39464 #define wxUSE_WIZARDDLG 1
39465 _ACEOF
39466
39467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
39468 fi
39469
39470
39471 if test "$wxUSE_MEDIACTRL" = "yes"; then
39472 if test "$wxUSE_MSW" = 1; then
39473 wxUSE_DIRECTSHOW="yes"
39474
39475 for ac_header in dshow.h
39476 do
39477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39478 echo "$as_me:$LINENO: checking for $ac_header" >&5
39479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39481 echo $ECHO_N "(cached) $ECHO_C" >&6
39482 else
39483 cat >conftest.$ac_ext <<_ACEOF
39484 /* confdefs.h. */
39485 _ACEOF
39486 cat confdefs.h >>conftest.$ac_ext
39487 cat >>conftest.$ac_ext <<_ACEOF
39488 /* end confdefs.h. */
39489 #include <windows.h>
39490
39491 #include <$ac_header>
39492 _ACEOF
39493 rm -f conftest.$ac_objext
39494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39495 (eval $ac_compile) 2>conftest.er1
39496 ac_status=$?
39497 grep -v '^ *+' conftest.er1 >conftest.err
39498 rm -f conftest.er1
39499 cat conftest.err >&5
39500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39501 (exit $ac_status); } &&
39502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39504 (eval $ac_try) 2>&5
39505 ac_status=$?
39506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39507 (exit $ac_status); }; } &&
39508 { ac_try='test -s conftest.$ac_objext'
39509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39510 (eval $ac_try) 2>&5
39511 ac_status=$?
39512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39513 (exit $ac_status); }; }; then
39514 eval "$as_ac_Header=yes"
39515 else
39516 echo "$as_me: failed program was:" >&5
39517 sed 's/^/| /' conftest.$ac_ext >&5
39518
39519 eval "$as_ac_Header=no"
39520 fi
39521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39522 fi
39523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39526 cat >>confdefs.h <<_ACEOF
39527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39528 _ACEOF
39529
39530 else
39531
39532 wxUSE_DIRECTSHOW="no"
39533 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39534 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39535
39536 fi
39537
39538 done
39539
39540
39541 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39542 cat >>confdefs.h <<\_ACEOF
39543 #define wxUSE_DIRECTSHOW 1
39544 _ACEOF
39545
39546 LIBS="$LIBS -lstrmiids"
39547 fi
39548 fi
39549
39550 if test "$wxUSE_GTK" = 1; then
39551 wxUSE_GSTREAMER="yes"
39552
39553
39554 succeeded=no
39555
39556 if test -z "$PKG_CONFIG"; then
39557 # Extract the first word of "pkg-config", so it can be a program name with args.
39558 set dummy pkg-config; ac_word=$2
39559 echo "$as_me:$LINENO: checking for $ac_word" >&5
39560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39561 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39562 echo $ECHO_N "(cached) $ECHO_C" >&6
39563 else
39564 case $PKG_CONFIG in
39565 [\\/]* | ?:[\\/]*)
39566 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
39567 ;;
39568 *)
39569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39570 for as_dir in $PATH
39571 do
39572 IFS=$as_save_IFS
39573 test -z "$as_dir" && as_dir=.
39574 for ac_exec_ext in '' $ac_executable_extensions; do
39575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39576 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
39577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39578 break 2
39579 fi
39580 done
39581 done
39582
39583 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
39584 ;;
39585 esac
39586 fi
39587 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
39588
39589 if test -n "$PKG_CONFIG"; then
39590 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39591 echo "${ECHO_T}$PKG_CONFIG" >&6
39592 else
39593 echo "$as_me:$LINENO: result: no" >&5
39594 echo "${ECHO_T}no" >&6
39595 fi
39596
39597 fi
39598
39599 if test "$PKG_CONFIG" = "no" ; then
39600 echo "*** The pkg-config script could not be found. Make sure it is"
39601 echo "*** in your path, or set the PKG_CONFIG environment variable"
39602 echo "*** to the full path to pkg-config."
39603 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39604 else
39605 PKG_CONFIG_MIN_VERSION=0.9.0
39606 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39607 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39608 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39609
39610 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39611 echo "$as_me:$LINENO: result: yes" >&5
39612 echo "${ECHO_T}yes" >&6
39613 succeeded=yes
39614
39615 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39616 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39617 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39618 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39619 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39620
39621 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39622 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39623 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
39624 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39625 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39626 else
39627 GSTREAMER_CFLAGS=""
39628 GSTREAMER_LIBS=""
39629 ## If we have a custom action on failure, don't print errors, but
39630 ## do set a variable so people can do so.
39631 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39632
39633 fi
39634
39635
39636
39637 else
39638 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39639 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39640 fi
39641 fi
39642
39643 if test $succeeded = yes; then
39644
39645 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
39646 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39647
39648 else
39649
39650 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39651 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39652 wxUSE_GSTREAMER="no"
39653
39654 fi
39655
39656
39657
39658
39659
39660 if test "x$GST_INSPECT" == "x"; then
39661 # Extract the first word of "gst-inspect", so it can be a program name with args.
39662 set dummy gst-inspect; ac_word=$2
39663 echo "$as_me:$LINENO: checking for $ac_word" >&5
39664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39665 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39666 echo $ECHO_N "(cached) $ECHO_C" >&6
39667 else
39668 if test -n "$GST_INSPECT"; then
39669 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
39670 else
39671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39672 for as_dir in $PATH
39673 do
39674 IFS=$as_save_IFS
39675 test -z "$as_dir" && as_dir=.
39676 for ac_exec_ext in '' $ac_executable_extensions; do
39677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39678 ac_cv_prog_GST_INSPECT="gst-inspect"
39679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39680 break 2
39681 fi
39682 done
39683 done
39684
39685 fi
39686 fi
39687 GST_INSPECT=$ac_cv_prog_GST_INSPECT
39688 if test -n "$GST_INSPECT"; then
39689 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39690 echo "${ECHO_T}$GST_INSPECT" >&6
39691 else
39692 echo "$as_me:$LINENO: result: no" >&5
39693 echo "${ECHO_T}no" >&6
39694 fi
39695
39696 fi
39697
39698 if test "x$GST_INSPECT" != "x"; then
39699 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
39700 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
39701 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
39702 echo "$as_me:$LINENO: result: found." >&5
39703 echo "${ECHO_T}found." >&6
39704
39705 else
39706 echo "$as_me:$LINENO: result: not found." >&5
39707 echo "${ECHO_T}not found." >&6
39708
39709 wxUSE_GSTREAMER="no"
39710 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
39711 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
39712
39713 fi
39714 fi
39715
39716
39717 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
39718 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
39719 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
39720 echo $ECHO_N "(cached) $ECHO_C" >&6
39721 else
39722 cat >conftest.$ac_ext <<_ACEOF
39723 /* confdefs.h. */
39724 _ACEOF
39725 cat confdefs.h >>conftest.$ac_ext
39726 cat >>conftest.$ac_ext <<_ACEOF
39727 /* end confdefs.h. */
39728 #include <gst/gst.h>
39729
39730 #include <gst/xoverlay/xoverlay.h>
39731 _ACEOF
39732 rm -f conftest.$ac_objext
39733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39734 (eval $ac_compile) 2>conftest.er1
39735 ac_status=$?
39736 grep -v '^ *+' conftest.er1 >conftest.err
39737 rm -f conftest.er1
39738 cat conftest.err >&5
39739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39740 (exit $ac_status); } &&
39741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39743 (eval $ac_try) 2>&5
39744 ac_status=$?
39745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39746 (exit $ac_status); }; } &&
39747 { ac_try='test -s conftest.$ac_objext'
39748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39749 (eval $ac_try) 2>&5
39750 ac_status=$?
39751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39752 (exit $ac_status); }; }; then
39753 ac_cv_header_gst_xoverlay_xoverlay_h=yes
39754 else
39755 echo "$as_me: failed program was:" >&5
39756 sed 's/^/| /' conftest.$ac_ext >&5
39757
39758 ac_cv_header_gst_xoverlay_xoverlay_h=no
39759 fi
39760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39761 fi
39762 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
39763 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
39764 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
39765 :
39766 else
39767
39768 wxUSE_GSTREAMER="no"
39769 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
39770 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
39771
39772 fi
39773
39774
39775
39776 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
39777 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
39778
39779 ac_find_libraries=
39780 for ac_dir in $SEARCH_LIB /usr/lib;
39781 do
39782 for ac_extension in a so sl dylib; do
39783 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
39784 ac_find_libraries=$ac_dir
39785 break 2
39786 fi
39787 done
39788 done
39789
39790
39791 if test "$ac_find_libraries" = "" ; then
39792 echo "$as_me:$LINENO: result: no" >&5
39793 echo "${ECHO_T}no" >&6
39794 wxUSE_GSTREAMER="no"
39795 else
39796 echo "$as_me:$LINENO: result: yes" >&5
39797 echo "${ECHO_T}yes" >&6
39798 fi
39799
39800 if test "$wxUSE_GSTREAMER" = "yes"; then
39801 cat >>confdefs.h <<\_ACEOF
39802 #define wxUSE_GSTREAMER 1
39803 _ACEOF
39804
39805 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
39806 echo "${ECHO_T}GStreamer detection successful" >&6
39807 fi
39808 fi
39809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
39810 cat >>confdefs.h <<\_ACEOF
39811 #define wxUSE_MEDIACTRL 1
39812 _ACEOF
39813
39814 fi
39815
39816
39817 if test "$cross_compiling" = "yes"; then
39818 OSINFO="\"$host\""
39819 else
39820 OSINFO=`uname -s -r -m`
39821 OSINFO="\"$OSINFO\""
39822 fi
39823
39824 cat >>confdefs.h <<_ACEOF
39825 #define WXWIN_OS_DESCRIPTION $OSINFO
39826 _ACEOF
39827
39828
39829
39830 if test "x$prefix" != "xNONE"; then
39831 wxPREFIX=$prefix
39832 else
39833 wxPREFIX=$ac_default_prefix
39834 fi
39835
39836 cat >>confdefs.h <<_ACEOF
39837 #define wxINSTALL_PREFIX "$wxPREFIX"
39838 _ACEOF
39839
39840
39841
39842
39843 CORE_BASE_LIBS="net base"
39844 CORE_GUI_LIBS="adv core"
39845
39846 if test "$wxUSE_XML" = "yes" ; then
39847 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
39848 fi
39849 if test "$wxUSE_ODBC" != "no" ; then
39850 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
39851 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
39852 fi
39853 if test "$wxUSE_HTML" = "yes" ; then
39854 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
39855 fi
39856 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
39857 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
39858 fi
39859 if test "$wxUSE_XRC" = "yes" ; then
39860 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
39861 fi
39862
39863 if test "$wxUSE_GUI" != "yes"; then
39864 CORE_GUI_LIBS=""
39865 fi
39866
39867
39868
39869
39870
39871
39872
39873
39874 if test "$wxUSE_MAC" = 1 ; then
39875 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
39876 if test "$USE_DARWIN" = 1; then
39877 LDFLAGS="$LDFLAGS -framework QuickTime"
39878 else
39879 LDFLAGS="$LDFLAGS -lQuickTimeLib"
39880 fi
39881 fi
39882 if test "$USE_DARWIN" = 1; then
39883 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
39884 else
39885 LDFLAGS="$LDFLAGS -lCarbonLib"
39886 fi
39887 fi
39888 if test "$wxUSE_COCOA" = 1 ; then
39889 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
39890 if test "$wxUSE_MEDIACTRL" = "yes"; then
39891 LDFLAGS="$LDFLAGS -framework QuickTime"
39892 fi
39893 fi
39894
39895
39896 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
39897
39898 have_cos=0
39899 have_floor=0
39900
39901 for ac_func in cos
39902 do
39903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39904 echo "$as_me:$LINENO: checking for $ac_func" >&5
39905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39906 if eval "test \"\${$as_ac_var+set}\" = set"; then
39907 echo $ECHO_N "(cached) $ECHO_C" >&6
39908 else
39909 cat >conftest.$ac_ext <<_ACEOF
39910 /* confdefs.h. */
39911 _ACEOF
39912 cat confdefs.h >>conftest.$ac_ext
39913 cat >>conftest.$ac_ext <<_ACEOF
39914 /* end confdefs.h. */
39915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39917 #define $ac_func innocuous_$ac_func
39918
39919 /* System header to define __stub macros and hopefully few prototypes,
39920 which can conflict with char $ac_func (); below.
39921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39922 <limits.h> exists even on freestanding compilers. */
39923
39924 #ifdef __STDC__
39925 # include <limits.h>
39926 #else
39927 # include <assert.h>
39928 #endif
39929
39930 #undef $ac_func
39931
39932 /* Override any gcc2 internal prototype to avoid an error. */
39933 #ifdef __cplusplus
39934 extern "C"
39935 {
39936 #endif
39937 /* We use char because int might match the return type of a gcc2
39938 builtin and then its argument prototype would still apply. */
39939 char $ac_func ();
39940 /* The GNU C library defines this for functions which it implements
39941 to always fail with ENOSYS. Some functions are actually named
39942 something starting with __ and the normal name is an alias. */
39943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39944 choke me
39945 #else
39946 char (*f) () = $ac_func;
39947 #endif
39948 #ifdef __cplusplus
39949 }
39950 #endif
39951
39952 int
39953 main ()
39954 {
39955 return f != $ac_func;
39956 ;
39957 return 0;
39958 }
39959 _ACEOF
39960 rm -f conftest.$ac_objext conftest$ac_exeext
39961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39962 (eval $ac_link) 2>conftest.er1
39963 ac_status=$?
39964 grep -v '^ *+' conftest.er1 >conftest.err
39965 rm -f conftest.er1
39966 cat conftest.err >&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); } &&
39969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39971 (eval $ac_try) 2>&5
39972 ac_status=$?
39973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39974 (exit $ac_status); }; } &&
39975 { ac_try='test -s conftest$ac_exeext'
39976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39977 (eval $ac_try) 2>&5
39978 ac_status=$?
39979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39980 (exit $ac_status); }; }; then
39981 eval "$as_ac_var=yes"
39982 else
39983 echo "$as_me: failed program was:" >&5
39984 sed 's/^/| /' conftest.$ac_ext >&5
39985
39986 eval "$as_ac_var=no"
39987 fi
39988 rm -f conftest.err conftest.$ac_objext \
39989 conftest$ac_exeext conftest.$ac_ext
39990 fi
39991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39993 if test `eval echo '${'$as_ac_var'}'` = yes; then
39994 cat >>confdefs.h <<_ACEOF
39995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39996 _ACEOF
39997 have_cos=1
39998 fi
39999 done
40000
40001
40002 for ac_func in floor
40003 do
40004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40005 echo "$as_me:$LINENO: checking for $ac_func" >&5
40006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40007 if eval "test \"\${$as_ac_var+set}\" = set"; then
40008 echo $ECHO_N "(cached) $ECHO_C" >&6
40009 else
40010 cat >conftest.$ac_ext <<_ACEOF
40011 /* confdefs.h. */
40012 _ACEOF
40013 cat confdefs.h >>conftest.$ac_ext
40014 cat >>conftest.$ac_ext <<_ACEOF
40015 /* end confdefs.h. */
40016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40018 #define $ac_func innocuous_$ac_func
40019
40020 /* System header to define __stub macros and hopefully few prototypes,
40021 which can conflict with char $ac_func (); below.
40022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40023 <limits.h> exists even on freestanding compilers. */
40024
40025 #ifdef __STDC__
40026 # include <limits.h>
40027 #else
40028 # include <assert.h>
40029 #endif
40030
40031 #undef $ac_func
40032
40033 /* Override any gcc2 internal prototype to avoid an error. */
40034 #ifdef __cplusplus
40035 extern "C"
40036 {
40037 #endif
40038 /* We use char because int might match the return type of a gcc2
40039 builtin and then its argument prototype would still apply. */
40040 char $ac_func ();
40041 /* The GNU C library defines this for functions which it implements
40042 to always fail with ENOSYS. Some functions are actually named
40043 something starting with __ and the normal name is an alias. */
40044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40045 choke me
40046 #else
40047 char (*f) () = $ac_func;
40048 #endif
40049 #ifdef __cplusplus
40050 }
40051 #endif
40052
40053 int
40054 main ()
40055 {
40056 return f != $ac_func;
40057 ;
40058 return 0;
40059 }
40060 _ACEOF
40061 rm -f conftest.$ac_objext conftest$ac_exeext
40062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40063 (eval $ac_link) 2>conftest.er1
40064 ac_status=$?
40065 grep -v '^ *+' conftest.er1 >conftest.err
40066 rm -f conftest.er1
40067 cat conftest.err >&5
40068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40069 (exit $ac_status); } &&
40070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40072 (eval $ac_try) 2>&5
40073 ac_status=$?
40074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40075 (exit $ac_status); }; } &&
40076 { ac_try='test -s conftest$ac_exeext'
40077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40078 (eval $ac_try) 2>&5
40079 ac_status=$?
40080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40081 (exit $ac_status); }; }; then
40082 eval "$as_ac_var=yes"
40083 else
40084 echo "$as_me: failed program was:" >&5
40085 sed 's/^/| /' conftest.$ac_ext >&5
40086
40087 eval "$as_ac_var=no"
40088 fi
40089 rm -f conftest.err conftest.$ac_objext \
40090 conftest$ac_exeext conftest.$ac_ext
40091 fi
40092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40094 if test `eval echo '${'$as_ac_var'}'` = yes; then
40095 cat >>confdefs.h <<_ACEOF
40096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40097 _ACEOF
40098 have_floor=1
40099 fi
40100 done
40101
40102 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40103 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40104 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40105 echo "$as_me:$LINENO: result: yes" >&5
40106 echo "${ECHO_T}yes" >&6
40107 else
40108 echo "$as_me:$LINENO: result: no" >&5
40109 echo "${ECHO_T}no" >&6
40110 LIBS="$LIBS -lm"
40111 # use different functions to avoid configure caching
40112 have_sin=0
40113 have_ceil=0
40114
40115 for ac_func in sin
40116 do
40117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40118 echo "$as_me:$LINENO: checking for $ac_func" >&5
40119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40120 if eval "test \"\${$as_ac_var+set}\" = set"; then
40121 echo $ECHO_N "(cached) $ECHO_C" >&6
40122 else
40123 cat >conftest.$ac_ext <<_ACEOF
40124 /* confdefs.h. */
40125 _ACEOF
40126 cat confdefs.h >>conftest.$ac_ext
40127 cat >>conftest.$ac_ext <<_ACEOF
40128 /* end confdefs.h. */
40129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40131 #define $ac_func innocuous_$ac_func
40132
40133 /* System header to define __stub macros and hopefully few prototypes,
40134 which can conflict with char $ac_func (); below.
40135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40136 <limits.h> exists even on freestanding compilers. */
40137
40138 #ifdef __STDC__
40139 # include <limits.h>
40140 #else
40141 # include <assert.h>
40142 #endif
40143
40144 #undef $ac_func
40145
40146 /* Override any gcc2 internal prototype to avoid an error. */
40147 #ifdef __cplusplus
40148 extern "C"
40149 {
40150 #endif
40151 /* We use char because int might match the return type of a gcc2
40152 builtin and then its argument prototype would still apply. */
40153 char $ac_func ();
40154 /* The GNU C library defines this for functions which it implements
40155 to always fail with ENOSYS. Some functions are actually named
40156 something starting with __ and the normal name is an alias. */
40157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40158 choke me
40159 #else
40160 char (*f) () = $ac_func;
40161 #endif
40162 #ifdef __cplusplus
40163 }
40164 #endif
40165
40166 int
40167 main ()
40168 {
40169 return f != $ac_func;
40170 ;
40171 return 0;
40172 }
40173 _ACEOF
40174 rm -f conftest.$ac_objext conftest$ac_exeext
40175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40176 (eval $ac_link) 2>conftest.er1
40177 ac_status=$?
40178 grep -v '^ *+' conftest.er1 >conftest.err
40179 rm -f conftest.er1
40180 cat conftest.err >&5
40181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40182 (exit $ac_status); } &&
40183 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40185 (eval $ac_try) 2>&5
40186 ac_status=$?
40187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40188 (exit $ac_status); }; } &&
40189 { ac_try='test -s conftest$ac_exeext'
40190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40191 (eval $ac_try) 2>&5
40192 ac_status=$?
40193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40194 (exit $ac_status); }; }; then
40195 eval "$as_ac_var=yes"
40196 else
40197 echo "$as_me: failed program was:" >&5
40198 sed 's/^/| /' conftest.$ac_ext >&5
40199
40200 eval "$as_ac_var=no"
40201 fi
40202 rm -f conftest.err conftest.$ac_objext \
40203 conftest$ac_exeext conftest.$ac_ext
40204 fi
40205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40207 if test `eval echo '${'$as_ac_var'}'` = yes; then
40208 cat >>confdefs.h <<_ACEOF
40209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40210 _ACEOF
40211 have_sin=1
40212 fi
40213 done
40214
40215
40216 for ac_func in ceil
40217 do
40218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40219 echo "$as_me:$LINENO: checking for $ac_func" >&5
40220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40221 if eval "test \"\${$as_ac_var+set}\" = set"; then
40222 echo $ECHO_N "(cached) $ECHO_C" >&6
40223 else
40224 cat >conftest.$ac_ext <<_ACEOF
40225 /* confdefs.h. */
40226 _ACEOF
40227 cat confdefs.h >>conftest.$ac_ext
40228 cat >>conftest.$ac_ext <<_ACEOF
40229 /* end confdefs.h. */
40230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40232 #define $ac_func innocuous_$ac_func
40233
40234 /* System header to define __stub macros and hopefully few prototypes,
40235 which can conflict with char $ac_func (); below.
40236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40237 <limits.h> exists even on freestanding compilers. */
40238
40239 #ifdef __STDC__
40240 # include <limits.h>
40241 #else
40242 # include <assert.h>
40243 #endif
40244
40245 #undef $ac_func
40246
40247 /* Override any gcc2 internal prototype to avoid an error. */
40248 #ifdef __cplusplus
40249 extern "C"
40250 {
40251 #endif
40252 /* We use char because int might match the return type of a gcc2
40253 builtin and then its argument prototype would still apply. */
40254 char $ac_func ();
40255 /* The GNU C library defines this for functions which it implements
40256 to always fail with ENOSYS. Some functions are actually named
40257 something starting with __ and the normal name is an alias. */
40258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40259 choke me
40260 #else
40261 char (*f) () = $ac_func;
40262 #endif
40263 #ifdef __cplusplus
40264 }
40265 #endif
40266
40267 int
40268 main ()
40269 {
40270 return f != $ac_func;
40271 ;
40272 return 0;
40273 }
40274 _ACEOF
40275 rm -f conftest.$ac_objext conftest$ac_exeext
40276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40277 (eval $ac_link) 2>conftest.er1
40278 ac_status=$?
40279 grep -v '^ *+' conftest.er1 >conftest.err
40280 rm -f conftest.er1
40281 cat conftest.err >&5
40282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40283 (exit $ac_status); } &&
40284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40286 (eval $ac_try) 2>&5
40287 ac_status=$?
40288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40289 (exit $ac_status); }; } &&
40290 { ac_try='test -s conftest$ac_exeext'
40291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40292 (eval $ac_try) 2>&5
40293 ac_status=$?
40294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40295 (exit $ac_status); }; }; then
40296 eval "$as_ac_var=yes"
40297 else
40298 echo "$as_me: failed program was:" >&5
40299 sed 's/^/| /' conftest.$ac_ext >&5
40300
40301 eval "$as_ac_var=no"
40302 fi
40303 rm -f conftest.err conftest.$ac_objext \
40304 conftest$ac_exeext conftest.$ac_ext
40305 fi
40306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40308 if test `eval echo '${'$as_ac_var'}'` = yes; then
40309 cat >>confdefs.h <<_ACEOF
40310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40311 _ACEOF
40312 have_ceil=1
40313 fi
40314 done
40315
40316 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40317 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40318 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40319 echo "$as_me:$LINENO: result: yes" >&5
40320 echo "${ECHO_T}yes" >&6
40321 else
40322 echo "$as_me:$LINENO: result: no" >&5
40323 echo "${ECHO_T}no" >&6
40324 # not sure we should warn the user, crash, etc.
40325 fi
40326 fi
40327
40328 if test "$wxUSE_GUI" = "yes"; then
40329
40330
40331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
40332 dynamic erase event exec font image minimal mobile \
40333 mobile/wxedit mobile/styles propsize render \
40334 richedit rotate shaped vscroll widgets"
40335
40336 if test "$wxUSE_MONOLITHIC" != "yes"; then
40337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
40338 fi
40339 if test "$TOOLKIT" = "MSW"; then
40340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
40341 if test "$wxUSE_UNIVERSAL" != "yes"; then
40342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
40343 fi
40344 fi
40345 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
40346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
40347 fi
40348 else
40349 SAMPLES_SUBDIRS="console"
40350 fi
40351
40352
40353 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40354 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40355
40356 if test "$GXX" = yes ; then
40357 CWARNINGS="-Wall"
40358 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
40359 fi
40360
40361 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40362
40363 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40364 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40365 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40366
40367 if test "x$MWCC" = "xyes"; then
40368
40369 CC="$CC -cwd source -I-"
40370 CXX="$CXX -cwd source -I-"
40371 fi
40372
40373
40374 LIBS=`echo $LIBS`
40375 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40376 EXTRALIBS_XML="$EXPAT_LINK"
40377 EXTRALIBS_HTML="$MSPACK_LINK"
40378 EXTRALIBS_ODBC="$ODBC_LINK"
40379 if test "$wxUSE_GUI" = "yes"; then
40380 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40381 fi
40382 if test "$wxUSE_OPENGL" = "yes"; then
40383 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
40384 fi
40385
40386 LDFLAGS="$LDFLAGS $PROFILE"
40387
40388 if test "$wxUSE_GTK" = 1; then
40389 WXCONFIG_INCLUDE=
40390 else
40391 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
40392 fi
40393
40394 WXCONFIG_EXTRALIBS="$LIBS"
40395
40396 if test "$wxUSE_REGEX" = "builtin" ; then
40397 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
40398 fi
40399 if test "$wxUSE_EXPAT" = "builtin" ; then
40400 wxconfig_3rdparty="$wxconfig_3rdparty expat"
40401 fi
40402 if test "$wxUSE_ODBC" = "builtin" ; then
40403 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
40404 fi
40405 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40406 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
40407 fi
40408 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40409 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
40410 fi
40411 if test "$wxUSE_LIBPNG" = "builtin" ; then
40412 wxconfig_3rdparty="$wxconfig_3rdparty png"
40413 fi
40414 if test "$wxUSE_ZLIB" = "builtin" ; then
40415 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
40416 fi
40417 if test "$wxUSE_ODBC" = "builtin" ; then
40418 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
40419 fi
40420
40421 for i in $wxconfig_3rdparty ; do
40422 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
40423 done
40424
40425
40426 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40427 WXUNIV=1
40428 else
40429 WXUNIV=0
40430 fi
40431
40432
40433
40434
40435
40436
40437
40438
40439
40440 if test $wxUSE_MONOLITHIC = "yes" ; then
40441 MONOLITHIC=1
40442 else
40443 MONOLITHIC=0
40444 fi
40445
40446 if test $wxUSE_PLUGINS = "yes" ; then
40447 USE_PLUGINS=1
40448 else
40449 USE_PLUGINS=0
40450 fi
40451
40452 if test $wxUSE_ODBC != "no" ; then
40453 USE_ODBC=1
40454 else
40455 USE_ODBC=0
40456 fi
40457
40458 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40459 USE_QA=1
40460 else
40461 USE_QA=0
40462 fi
40463
40464 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40465 OFFICIAL_BUILD=1
40466 else
40467 OFFICIAL_BUILD=0
40468 fi
40469
40470
40471
40472
40473
40474
40475
40476
40477
40478
40479
40480
40481
40482
40483
40484
40485
40486
40487
40488
40489
40490
40491
40492 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40493
40494
40495
40496
40497
40498
40499
40500
40501 case "$TOOLKIT" in
40502 GTK)
40503 TOOLKIT_USER="GTK+"
40504 if test "$WXGTK20" = 1; then
40505 TOOLKIT_USER="$TOOLKIT_USER 2"
40506 fi
40507 ;;
40508
40509 *)
40510 TOOLKIT_USER=$TOOLKIT_LOWERCASE
40511 ;;
40512 esac
40513
40514
40515
40516
40517 if test "x$BAKEFILE_HOST" = "x"; then
40518 BAKEFILE_HOST="${host}"
40519 fi
40520
40521 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40522
40523 if test -n "$ac_tool_prefix"; then
40524 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40525 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
40526 echo "$as_me:$LINENO: checking for $ac_word" >&5
40527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40528 if test "${ac_cv_prog_RANLIB+set}" = set; then
40529 echo $ECHO_N "(cached) $ECHO_C" >&6
40530 else
40531 if test -n "$RANLIB"; then
40532 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
40533 else
40534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40535 for as_dir in $PATH
40536 do
40537 IFS=$as_save_IFS
40538 test -z "$as_dir" && as_dir=.
40539 for ac_exec_ext in '' $ac_executable_extensions; do
40540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40541 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
40542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40543 break 2
40544 fi
40545 done
40546 done
40547
40548 fi
40549 fi
40550 RANLIB=$ac_cv_prog_RANLIB
40551 if test -n "$RANLIB"; then
40552 echo "$as_me:$LINENO: result: $RANLIB" >&5
40553 echo "${ECHO_T}$RANLIB" >&6
40554 else
40555 echo "$as_me:$LINENO: result: no" >&5
40556 echo "${ECHO_T}no" >&6
40557 fi
40558
40559 fi
40560 if test -z "$ac_cv_prog_RANLIB"; then
40561 ac_ct_RANLIB=$RANLIB
40562 # Extract the first word of "ranlib", so it can be a program name with args.
40563 set dummy ranlib; ac_word=$2
40564 echo "$as_me:$LINENO: checking for $ac_word" >&5
40565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40566 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40567 echo $ECHO_N "(cached) $ECHO_C" >&6
40568 else
40569 if test -n "$ac_ct_RANLIB"; then
40570 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
40571 else
40572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40573 for as_dir in $PATH
40574 do
40575 IFS=$as_save_IFS
40576 test -z "$as_dir" && as_dir=.
40577 for ac_exec_ext in '' $ac_executable_extensions; do
40578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40579 ac_cv_prog_ac_ct_RANLIB="ranlib"
40580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40581 break 2
40582 fi
40583 done
40584 done
40585
40586 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
40587 fi
40588 fi
40589 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
40590 if test -n "$ac_ct_RANLIB"; then
40591 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40592 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40593 else
40594 echo "$as_me:$LINENO: result: no" >&5
40595 echo "${ECHO_T}no" >&6
40596 fi
40597
40598 RANLIB=$ac_ct_RANLIB
40599 else
40600 RANLIB="$ac_cv_prog_RANLIB"
40601 fi
40602
40603 # Find a good install program. We prefer a C program (faster),
40604 # so one script is as good as another. But avoid the broken or
40605 # incompatible versions:
40606 # SysV /etc/install, /usr/sbin/install
40607 # SunOS /usr/etc/install
40608 # IRIX /sbin/install
40609 # AIX /bin/install
40610 # AmigaOS /C/install, which installs bootblocks on floppy discs
40611 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40612 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40613 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40614 # OS/2's system install, which has a completely different semantic
40615 # ./install, which can be erroneously created by make from ./install.sh.
40616 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40617 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40618 if test -z "$INSTALL"; then
40619 if test "${ac_cv_path_install+set}" = set; then
40620 echo $ECHO_N "(cached) $ECHO_C" >&6
40621 else
40622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40623 for as_dir in $PATH
40624 do
40625 IFS=$as_save_IFS
40626 test -z "$as_dir" && as_dir=.
40627 # Account for people who put trailing slashes in PATH elements.
40628 case $as_dir/ in
40629 ./ | .// | /cC/* | \
40630 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
40631 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
40632 /usr/ucb/* ) ;;
40633 *)
40634 # OSF1 and SCO ODT 3.0 have their own names for install.
40635 # Don't use installbsd from OSF since it installs stuff as root
40636 # by default.
40637 for ac_prog in ginstall scoinst install; do
40638 for ac_exec_ext in '' $ac_executable_extensions; do
40639 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40640 if test $ac_prog = install &&
40641 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40642 # AIX install. It has an incompatible calling convention.
40643 :
40644 elif test $ac_prog = install &&
40645 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40646 # program-specific install script used by HP pwplus--don't use.
40647 :
40648 else
40649 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
40650 break 3
40651 fi
40652 fi
40653 done
40654 done
40655 ;;
40656 esac
40657 done
40658
40659
40660 fi
40661 if test "${ac_cv_path_install+set}" = set; then
40662 INSTALL=$ac_cv_path_install
40663 else
40664 # As a last resort, use the slow shell script. We don't cache a
40665 # path for INSTALL within a source directory, because that will
40666 # break other packages using the cache if that directory is
40667 # removed, or if the path is relative.
40668 INSTALL=$ac_install_sh
40669 fi
40670 fi
40671 echo "$as_me:$LINENO: result: $INSTALL" >&5
40672 echo "${ECHO_T}$INSTALL" >&6
40673
40674 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40675 # It thinks the first close brace ends the variable substitution.
40676 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
40677
40678 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
40679
40680 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
40681
40682 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40683 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40684 LN_S=$as_ln_s
40685 if test "$LN_S" = "ln -s"; then
40686 echo "$as_me:$LINENO: result: yes" >&5
40687 echo "${ECHO_T}yes" >&6
40688 else
40689 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
40690 echo "${ECHO_T}no, using $LN_S" >&6
40691 fi
40692
40693
40694 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40695 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40696 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
40697 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40698 echo $ECHO_N "(cached) $ECHO_C" >&6
40699 else
40700 cat >conftest.make <<\_ACEOF
40701 all:
40702 @echo 'ac_maketemp="$(MAKE)"'
40703 _ACEOF
40704 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40705 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40706 if test -n "$ac_maketemp"; then
40707 eval ac_cv_prog_make_${ac_make}_set=yes
40708 else
40709 eval ac_cv_prog_make_${ac_make}_set=no
40710 fi
40711 rm -f conftest.make
40712 fi
40713 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40714 echo "$as_me:$LINENO: result: yes" >&5
40715 echo "${ECHO_T}yes" >&6
40716 SET_MAKE=
40717 else
40718 echo "$as_me:$LINENO: result: no" >&5
40719 echo "${ECHO_T}no" >&6
40720 SET_MAKE="MAKE=${MAKE-make}"
40721 fi
40722
40723
40724
40725 if test -n "$ac_tool_prefix"; then
40726 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
40727 set dummy ${ac_tool_prefix}ar; ac_word=$2
40728 echo "$as_me:$LINENO: checking for $ac_word" >&5
40729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40730 if test "${ac_cv_prog_AR+set}" = set; then
40731 echo $ECHO_N "(cached) $ECHO_C" >&6
40732 else
40733 if test -n "$AR"; then
40734 ac_cv_prog_AR="$AR" # Let the user override the test.
40735 else
40736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40737 for as_dir in $PATH
40738 do
40739 IFS=$as_save_IFS
40740 test -z "$as_dir" && as_dir=.
40741 for ac_exec_ext in '' $ac_executable_extensions; do
40742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40743 ac_cv_prog_AR="${ac_tool_prefix}ar"
40744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40745 break 2
40746 fi
40747 done
40748 done
40749
40750 fi
40751 fi
40752 AR=$ac_cv_prog_AR
40753 if test -n "$AR"; then
40754 echo "$as_me:$LINENO: result: $AR" >&5
40755 echo "${ECHO_T}$AR" >&6
40756 else
40757 echo "$as_me:$LINENO: result: no" >&5
40758 echo "${ECHO_T}no" >&6
40759 fi
40760
40761 fi
40762 if test -z "$ac_cv_prog_AR"; then
40763 ac_ct_AR=$AR
40764 # Extract the first word of "ar", so it can be a program name with args.
40765 set dummy ar; ac_word=$2
40766 echo "$as_me:$LINENO: checking for $ac_word" >&5
40767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40768 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
40769 echo $ECHO_N "(cached) $ECHO_C" >&6
40770 else
40771 if test -n "$ac_ct_AR"; then
40772 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
40773 else
40774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40775 for as_dir in $PATH
40776 do
40777 IFS=$as_save_IFS
40778 test -z "$as_dir" && as_dir=.
40779 for ac_exec_ext in '' $ac_executable_extensions; do
40780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40781 ac_cv_prog_ac_ct_AR="ar"
40782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40783 break 2
40784 fi
40785 done
40786 done
40787
40788 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
40789 fi
40790 fi
40791 ac_ct_AR=$ac_cv_prog_ac_ct_AR
40792 if test -n "$ac_ct_AR"; then
40793 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
40794 echo "${ECHO_T}$ac_ct_AR" >&6
40795 else
40796 echo "$as_me:$LINENO: result: no" >&5
40797 echo "${ECHO_T}no" >&6
40798 fi
40799
40800 AR=$ac_ct_AR
40801 else
40802 AR="$ac_cv_prog_AR"
40803 fi
40804
40805 if test -n "$ac_tool_prefix"; then
40806 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
40807 set dummy ${ac_tool_prefix}strip; ac_word=$2
40808 echo "$as_me:$LINENO: checking for $ac_word" >&5
40809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40810 if test "${ac_cv_prog_STRIP+set}" = set; then
40811 echo $ECHO_N "(cached) $ECHO_C" >&6
40812 else
40813 if test -n "$STRIP"; then
40814 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
40815 else
40816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40817 for as_dir in $PATH
40818 do
40819 IFS=$as_save_IFS
40820 test -z "$as_dir" && as_dir=.
40821 for ac_exec_ext in '' $ac_executable_extensions; do
40822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40823 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
40824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40825 break 2
40826 fi
40827 done
40828 done
40829
40830 fi
40831 fi
40832 STRIP=$ac_cv_prog_STRIP
40833 if test -n "$STRIP"; then
40834 echo "$as_me:$LINENO: result: $STRIP" >&5
40835 echo "${ECHO_T}$STRIP" >&6
40836 else
40837 echo "$as_me:$LINENO: result: no" >&5
40838 echo "${ECHO_T}no" >&6
40839 fi
40840
40841 fi
40842 if test -z "$ac_cv_prog_STRIP"; then
40843 ac_ct_STRIP=$STRIP
40844 # Extract the first word of "strip", so it can be a program name with args.
40845 set dummy strip; ac_word=$2
40846 echo "$as_me:$LINENO: checking for $ac_word" >&5
40847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40848 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
40849 echo $ECHO_N "(cached) $ECHO_C" >&6
40850 else
40851 if test -n "$ac_ct_STRIP"; then
40852 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
40853 else
40854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40855 for as_dir in $PATH
40856 do
40857 IFS=$as_save_IFS
40858 test -z "$as_dir" && as_dir=.
40859 for ac_exec_ext in '' $ac_executable_extensions; do
40860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40861 ac_cv_prog_ac_ct_STRIP="strip"
40862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40863 break 2
40864 fi
40865 done
40866 done
40867
40868 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
40869 fi
40870 fi
40871 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
40872 if test -n "$ac_ct_STRIP"; then
40873 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
40874 echo "${ECHO_T}$ac_ct_STRIP" >&6
40875 else
40876 echo "$as_me:$LINENO: result: no" >&5
40877 echo "${ECHO_T}no" >&6
40878 fi
40879
40880 STRIP=$ac_ct_STRIP
40881 else
40882 STRIP="$ac_cv_prog_STRIP"
40883 fi
40884
40885 if test -n "$ac_tool_prefix"; then
40886 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
40887 set dummy ${ac_tool_prefix}nm; ac_word=$2
40888 echo "$as_me:$LINENO: checking for $ac_word" >&5
40889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40890 if test "${ac_cv_prog_NM+set}" = set; then
40891 echo $ECHO_N "(cached) $ECHO_C" >&6
40892 else
40893 if test -n "$NM"; then
40894 ac_cv_prog_NM="$NM" # Let the user override the test.
40895 else
40896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40897 for as_dir in $PATH
40898 do
40899 IFS=$as_save_IFS
40900 test -z "$as_dir" && as_dir=.
40901 for ac_exec_ext in '' $ac_executable_extensions; do
40902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40903 ac_cv_prog_NM="${ac_tool_prefix}nm"
40904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40905 break 2
40906 fi
40907 done
40908 done
40909
40910 fi
40911 fi
40912 NM=$ac_cv_prog_NM
40913 if test -n "$NM"; then
40914 echo "$as_me:$LINENO: result: $NM" >&5
40915 echo "${ECHO_T}$NM" >&6
40916 else
40917 echo "$as_me:$LINENO: result: no" >&5
40918 echo "${ECHO_T}no" >&6
40919 fi
40920
40921 fi
40922 if test -z "$ac_cv_prog_NM"; then
40923 ac_ct_NM=$NM
40924 # Extract the first word of "nm", so it can be a program name with args.
40925 set dummy nm; ac_word=$2
40926 echo "$as_me:$LINENO: checking for $ac_word" >&5
40927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40928 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
40929 echo $ECHO_N "(cached) $ECHO_C" >&6
40930 else
40931 if test -n "$ac_ct_NM"; then
40932 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
40933 else
40934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40935 for as_dir in $PATH
40936 do
40937 IFS=$as_save_IFS
40938 test -z "$as_dir" && as_dir=.
40939 for ac_exec_ext in '' $ac_executable_extensions; do
40940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40941 ac_cv_prog_ac_ct_NM="nm"
40942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40943 break 2
40944 fi
40945 done
40946 done
40947
40948 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
40949 fi
40950 fi
40951 ac_ct_NM=$ac_cv_prog_ac_ct_NM
40952 if test -n "$ac_ct_NM"; then
40953 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
40954 echo "${ECHO_T}$ac_ct_NM" >&6
40955 else
40956 echo "$as_me:$LINENO: result: no" >&5
40957 echo "${ECHO_T}no" >&6
40958 fi
40959
40960 NM=$ac_ct_NM
40961 else
40962 NM="$ac_cv_prog_NM"
40963 fi
40964
40965
40966 case ${BAKEFILE_HOST} in
40967 *-hp-hpux* )
40968 INSTALL_DIR="mkdir -p"
40969 ;;
40970 *) INSTALL_DIR="$INSTALL -d"
40971 ;;
40972 esac
40973
40974
40975 LDFLAGS_GUI=
40976 case ${BAKEFILE_HOST} in
40977 *-*-cygwin* | *-*-mingw32* )
40978 LDFLAGS_GUI="-mwindows"
40979 esac
40980
40981
40982 fi
40983
40984 echo "$as_me:$LINENO: checking if make is GNU make" >&5
40985 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
40986 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
40987 echo $ECHO_N "(cached) $ECHO_C" >&6
40988 else
40989
40990 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
40991 egrep -s GNU > /dev/null); then
40992 bakefile_cv_prog_makeisgnu="yes"
40993 else
40994 bakefile_cv_prog_makeisgnu="no"
40995 fi
40996
40997 fi
40998 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
40999 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41000
41001 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41002 IF_GNU_MAKE=""
41003 else
41004 IF_GNU_MAKE="#"
41005 fi
41006
41007
41008
41009 PLATFORM_UNIX=0
41010 PLATFORM_WIN32=0
41011 PLATFORM_MSDOS=0
41012 PLATFORM_MAC=0
41013 PLATFORM_MACOS=0
41014 PLATFORM_MACOSX=0
41015 PLATFORM_OS2=0
41016 PLATFORM_BEOS=0
41017
41018 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41019 case "${BAKEFILE_HOST}" in
41020 *-*-cygwin* | *-*-mingw32* )
41021 PLATFORM_WIN32=1
41022 ;;
41023 *-pc-msdosdjgpp )
41024 PLATFORM_MSDOS=1
41025 ;;
41026 *-pc-os2_emx | *-pc-os2-emx )
41027 PLATFORM_OS2=1
41028 ;;
41029 powerpc-*-darwin* )
41030 PLATFORM_MAC=1
41031 PLATFORM_MACOSX=1
41032 ;;
41033 *-*-beos* )
41034 PLATFORM_BEOS=1
41035 ;;
41036 powerpc-apple-macos* )
41037 PLATFORM_MAC=1
41038 PLATFORM_MACOS=1
41039 ;;
41040 * )
41041 PLATFORM_UNIX=1
41042 ;;
41043 esac
41044 else
41045 case "$BAKEFILE_FORCE_PLATFORM" in
41046 win32 )
41047 PLATFORM_WIN32=1
41048 ;;
41049 msdos )
41050 PLATFORM_MSDOS=1
41051 ;;
41052 os2 )
41053 PLATFORM_OS2=1
41054 ;;
41055 darwin )
41056 PLATFORM_MAC=1
41057 PLATFORM_MACOSX=1
41058 ;;
41059 unix )
41060 PLATFORM_UNIX=1
41061 ;;
41062 beos )
41063 PLATFORM_BEOS=1
41064 ;;
41065 * )
41066 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41067 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41068 { (exit 1); exit 1; }; }
41069 ;;
41070 esac
41071 fi
41072
41073
41074
41075
41076
41077
41078
41079
41080
41081
41082
41083 # Check whether --enable-omf or --disable-omf was given.
41084 if test "${enable_omf+set}" = set; then
41085 enableval="$enable_omf"
41086 bk_os2_use_omf="$enableval"
41087 fi;
41088
41089 case "${BAKEFILE_HOST}" in
41090 *-*-darwin* )
41091 CFLAGS="$CFLAGS -fno-common"
41092 CXXFLAGS="$CXXFLAGS -fno-common"
41093 ;;
41094
41095 *-pc-os2_emx | *-pc-os2-emx )
41096 if test "x$bk_os2_use_omf" = "xyes" ; then
41097 AR=emxomfar
41098 RANLIB=:
41099 LDFLAGS="-Zomf $LDFLAGS"
41100 CFLAGS="-Zomf $CFLAGS"
41101 CXXFLAGS="-Zomf $CXXFLAGS"
41102 OS2_LIBEXT="lib"
41103 else
41104 OS2_LIBEXT="a"
41105 fi
41106 ;;
41107
41108 i*86-*-beos* )
41109 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
41110 ;;
41111 esac
41112
41113
41114 SO_SUFFIX="so"
41115 SO_SUFFIX_MODULE="so"
41116 EXEEXT=""
41117 LIBPREFIX="lib"
41118 LIBEXT=".a"
41119 DLLPREFIX="lib"
41120 DLLPREFIX_MODULE=""
41121 DLLIMP_SUFFIX=""
41122
41123 case "${BAKEFILE_HOST}" in
41124 *-hp-hpux* )
41125 SO_SUFFIX="sl"
41126 SO_SUFFIX_MODULE="sl"
41127 ;;
41128 *-*-aix* )
41129 SO_SUFFIX="a"
41130 SO_SUFFIX_MODULE="a"
41131 ;;
41132 *-*-cygwin* | *-*-mingw32* )
41133 SO_SUFFIX="dll"
41134 SO_SUFFIX_MODULE="dll"
41135 DLLIMP_SUFFIX="dll.a"
41136 EXEEXT=".exe"
41137 DLLPREFIX=""
41138 ;;
41139 *-pc-msdosdjgpp )
41140 EXEEXT=".exe"
41141 DLLPREFIX=""
41142 ;;
41143 *-pc-os2_emx | *-pc-os2-emx )
41144 SO_SUFFIX="dll"
41145 SO_SUFFIX_MODULE="dll"
41146 DLLIMP_SUFFIX=$OS2_LIBEXT
41147 EXEEXT=".exe"
41148 DLLPREFIX=""
41149 LIBPREFIX=""
41150 LIBEXT=".$OS2_LIBEXT"
41151 ;;
41152 powerpc-*-darwin* )
41153 SO_SUFFIX="dylib"
41154 SO_SUFFIX_MODULE="bundle"
41155 ;;
41156 esac
41157
41158 if test "x$DLLIMP_SUFFIX" = "x" ; then
41159 DLLIMP_SUFFIX="$SO_SUFFIX"
41160 fi
41161
41162
41163
41164
41165
41166
41167
41168
41169
41170
41171
41172 PIC_FLAG=""
41173 if test "x$GCC" = "xyes"; then
41174 PIC_FLAG="-fPIC"
41175 fi
41176
41177 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
41178 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
41179
41180 case "${BAKEFILE_HOST}" in
41181 *-hp-hpux* )
41182 if test "x$GCC" != "xyes"; then
41183 LDFLAGS="$LDFLAGS -L/usr/lib"
41184
41185 SHARED_LD_CC="${CC} -b -o"
41186 SHARED_LD_CXX="${CXX} -b -o"
41187 PIC_FLAG="+Z"
41188 fi
41189 ;;
41190
41191 *-*-linux* )
41192 if test "x$GCC" != "xyes"; then
41193 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41194 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41195 if test "${bakefile_cv_prog_icc+set}" = set; then
41196 echo $ECHO_N "(cached) $ECHO_C" >&6
41197 else
41198
41199 cat >conftest.$ac_ext <<_ACEOF
41200 /* confdefs.h. */
41201 _ACEOF
41202 cat confdefs.h >>conftest.$ac_ext
41203 cat >>conftest.$ac_ext <<_ACEOF
41204 /* end confdefs.h. */
41205
41206 int
41207 main ()
41208 {
41209
41210 #ifndef __INTEL_COMPILER
41211 #error Not icc
41212 #endif
41213
41214 ;
41215 return 0;
41216 }
41217 _ACEOF
41218 rm -f conftest.$ac_objext
41219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41220 (eval $ac_compile) 2>conftest.er1
41221 ac_status=$?
41222 grep -v '^ *+' conftest.er1 >conftest.err
41223 rm -f conftest.er1
41224 cat conftest.err >&5
41225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41226 (exit $ac_status); } &&
41227 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41229 (eval $ac_try) 2>&5
41230 ac_status=$?
41231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232 (exit $ac_status); }; } &&
41233 { ac_try='test -s conftest.$ac_objext'
41234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41235 (eval $ac_try) 2>&5
41236 ac_status=$?
41237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41238 (exit $ac_status); }; }; then
41239 bakefile_cv_prog_icc=yes
41240 else
41241 echo "$as_me: failed program was:" >&5
41242 sed 's/^/| /' conftest.$ac_ext >&5
41243
41244 bakefile_cv_prog_icc=no
41245
41246 fi
41247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41248
41249 fi
41250 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41251 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41252 if test "$bakefile_cv_prog_icc" = "yes"; then
41253 PIC_FLAG="-KPIC"
41254 fi
41255 fi
41256 ;;
41257
41258 *-*-solaris2* )
41259 if test "x$GCC" != xyes ; then
41260 SHARED_LD_CC="${CC} -G -o"
41261 SHARED_LD_CXX="${CXX} -G -o"
41262 PIC_FLAG="-KPIC"
41263 fi
41264 ;;
41265
41266 *-*-darwin* )
41267
41268 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41269 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41270 if test "${wx_cv_gcc31+set}" = set; then
41271 echo $ECHO_N "(cached) $ECHO_C" >&6
41272 else
41273
41274 cat >conftest.$ac_ext <<_ACEOF
41275 /* confdefs.h. */
41276 _ACEOF
41277 cat confdefs.h >>conftest.$ac_ext
41278 cat >>conftest.$ac_ext <<_ACEOF
41279 /* end confdefs.h. */
41280
41281 int
41282 main ()
41283 {
41284
41285 #if (__GNUC__ < 3) || \
41286 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41287 #error old gcc
41288 #endif
41289
41290 ;
41291 return 0;
41292 }
41293 _ACEOF
41294 rm -f conftest.$ac_objext
41295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41296 (eval $ac_compile) 2>conftest.er1
41297 ac_status=$?
41298 grep -v '^ *+' conftest.er1 >conftest.err
41299 rm -f conftest.er1
41300 cat conftest.err >&5
41301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41302 (exit $ac_status); } &&
41303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41305 (eval $ac_try) 2>&5
41306 ac_status=$?
41307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41308 (exit $ac_status); }; } &&
41309 { ac_try='test -s conftest.$ac_objext'
41310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41311 (eval $ac_try) 2>&5
41312 ac_status=$?
41313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41314 (exit $ac_status); }; }; then
41315
41316 wx_cv_gcc31=yes
41317
41318 else
41319 echo "$as_me: failed program was:" >&5
41320 sed 's/^/| /' conftest.$ac_ext >&5
41321
41322
41323 wx_cv_gcc31=no
41324
41325
41326 fi
41327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41328
41329 fi
41330 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41331 echo "${ECHO_T}$wx_cv_gcc31" >&6
41332 if test "$wx_cv_gcc31" = "no"; then
41333
41334 D='$'
41335 cat <<EOF >shared-ld-sh
41336 #!/bin/sh
41337 #-----------------------------------------------------------------------------
41338 #-- Name: distrib/mac/shared-ld-sh
41339 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41340 #-- Author: Gilles Depeyrot
41341 #-- Copyright: (c) 2002 Gilles Depeyrot
41342 #-- Licence: any use permitted
41343 #-----------------------------------------------------------------------------
41344
41345 verbose=0
41346 args=""
41347 objects=""
41348 linking_flag="-dynamiclib"
41349
41350 while test ${D}# -gt 0; do
41351 case ${D}1 in
41352
41353 -v)
41354 verbose=1
41355 ;;
41356
41357 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41358 # collect these options and values
41359 args="${D}{args} ${D}1 ${D}2"
41360 shift
41361 ;;
41362
41363 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41364 # collect these options
41365 args="${D}{args} ${D}1"
41366 ;;
41367
41368 -dynamiclib|-bundle)
41369 linking_flag="${D}1"
41370 ;;
41371
41372 -*)
41373 echo "shared-ld: unhandled option '${D}1'"
41374 exit 1
41375 ;;
41376
41377 *.o | *.a | *.dylib)
41378 # collect object files
41379 objects="${D}{objects} ${D}1"
41380 ;;
41381
41382 *)
41383 echo "shared-ld: unhandled argument '${D}1'"
41384 exit 1
41385 ;;
41386
41387 esac
41388 shift
41389 done
41390
41391 #
41392 # Link one module containing all the others
41393 #
41394 if test ${D}{verbose} = 1; then
41395 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41396 fi
41397 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41398 status=${D}?
41399 if test ${D}{status} != 0; then
41400 exit ${D}{status}
41401 fi
41402
41403 #
41404 # Link the shared library from the single module created
41405 #
41406 if test ${D}{verbose} = 1; then
41407 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41408 fi
41409 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41410 status=${D}?
41411 if test ${D}{status} != 0; then
41412 exit ${D}{status}
41413 fi
41414
41415 #
41416 # Remove intermediate module
41417 #
41418 rm -f master.${D}${D}.o
41419
41420 exit 0
41421 EOF
41422
41423 chmod +x shared-ld-sh
41424
41425 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41426 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41427 SHARED_LD_CXX="$SHARED_LD_CC"
41428 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
41429 else
41430 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41431 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41432 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41433 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41434 fi
41435
41436 PIC_FLAG="-dynamic -fPIC"
41437 ;;
41438
41439 *-*-aix* )
41440 if test "x$GCC" != "xyes"; then
41441 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41442 set dummy makeC++SharedLib; ac_word=$2
41443 echo "$as_me:$LINENO: checking for $ac_word" >&5
41444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41445 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41446 echo $ECHO_N "(cached) $ECHO_C" >&6
41447 else
41448 if test -n "$AIX_CXX_LD"; then
41449 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
41450 else
41451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41452 for as_dir in $PATH
41453 do
41454 IFS=$as_save_IFS
41455 test -z "$as_dir" && as_dir=.
41456 for ac_exec_ext in '' $ac_executable_extensions; do
41457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41458 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
41459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41460 break 2
41461 fi
41462 done
41463 done
41464
41465 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
41466 fi
41467 fi
41468 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
41469 if test -n "$AIX_CXX_LD"; then
41470 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41471 echo "${ECHO_T}$AIX_CXX_LD" >&6
41472 else
41473 echo "$as_me:$LINENO: result: no" >&5
41474 echo "${ECHO_T}no" >&6
41475 fi
41476
41477 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
41478 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
41479 fi
41480 ;;
41481
41482 *-*-beos* )
41483 SHARED_LD_CC="${LD} -nostart -o"
41484 SHARED_LD_CXX="${LD} -nostart -o"
41485 ;;
41486
41487 *-*-irix* )
41488 if test "x$GCC" != "xyes"; then
41489 PIC_FLAG="-KPIC"
41490 fi
41491 ;;
41492
41493 *-*-cygwin* | *-*-mingw32* )
41494 PIC_FLAG=""
41495 SHARED_LD_CC="\$(CC) -shared -o"
41496 SHARED_LD_CXX="\$(CXX) -shared -o"
41497 ;;
41498
41499 *-pc-os2_emx | *-pc-os2-emx )
41500 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41501 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41502 PIC_FLAG=""
41503
41504 D='$'
41505 cat <<EOF >dllar.sh
41506 #!/bin/sh
41507 #
41508 # dllar - a tool to build both a .dll and an .a file
41509 # from a set of object (.o) files for EMX/OS2.
41510 #
41511 # Written by Andrew Zabolotny, bit@freya.etu.ru
41512 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41513 #
41514 # This script will accept a set of files on the command line.
41515 # All the public symbols from the .o files will be exported into
41516 # a .DEF file, then linker will be run (through gcc) against them to
41517 # build a shared library consisting of all given .o files. All libraries
41518 # (.a) will be first decompressed into component .o files then act as
41519 # described above. You can optionally give a description (-d "description")
41520 # which will be put into .DLL. To see the list of accepted options (as well
41521 # as command-line format) simply run this program without options. The .DLL
41522 # is built to be imported by name (there is no guarantee that new versions
41523 # of the library you build will have same ordinals for same symbols).
41524 #
41525 # dllar is free software; you can redistribute it and/or modify
41526 # it under the terms of the GNU General Public License as published by
41527 # the Free Software Foundation; either version 2, or (at your option)
41528 # any later version.
41529 #
41530 # dllar is distributed in the hope that it will be useful,
41531 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41532 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41533 # GNU General Public License for more details.
41534 #
41535 # You should have received a copy of the GNU General Public License
41536 # along with dllar; see the file COPYING. If not, write to the Free
41537 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41538 # 02111-1307, USA.
41539
41540 # To successfuly run this program you will need:
41541 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41542 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41543 # - gcc
41544 # (used to build the .dll)
41545 # - emxexp
41546 # (used to create .def file from .o files)
41547 # - emximp
41548 # (used to create .a file from .def file)
41549 # - GNU text utilites (cat, sort, uniq)
41550 # used to process emxexp output
41551 # - GNU file utilities (mv, rm)
41552 # - GNU sed
41553 # - lxlite (optional, see flag below)
41554 # (used for general .dll cleanup)
41555 #
41556
41557 flag_USE_LXLITE=1;
41558
41559 #
41560 # helper functions
41561 # basnam, variant of basename, which does _not_ remove the path, _iff_
41562 # second argument (suffix to remove) is given
41563 basnam(){
41564 case ${D}# in
41565 1)
41566 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41567 ;;
41568 2)
41569 echo ${D}1 | sed 's/'${D}2'${D}//'
41570 ;;
41571 *)
41572 echo "error in basnam ${D}*"
41573 exit 8
41574 ;;
41575 esac
41576 }
41577
41578 # Cleanup temporary files and output
41579 CleanUp() {
41580 cd ${D}curDir
41581 for i in ${D}inputFiles ; do
41582 case ${D}i in
41583 *!)
41584 rm -rf \`basnam ${D}i !\`
41585 ;;
41586 *)
41587 ;;
41588 esac
41589 done
41590
41591 # Kill result in case of failure as there is just to many stupid make/nmake
41592 # things out there which doesn't do this.
41593 if [ ${D}# -eq 0 ]; then
41594 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41595 fi
41596 }
41597
41598 # Print usage and exit script with rc=1.
41599 PrintHelp() {
41600 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41601 echo ' [-name-mangler-script script.sh]'
41602 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41603 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41604 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41605 echo ' [*.o] [*.a]'
41606 echo '*> "output_file" should have no extension.'
41607 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41608 echo ' The import library name is derived from this and is set to "name".a,'
41609 echo ' unless overridden by -import'
41610 echo '*> "importlib_name" should have no extension.'
41611 echo ' If it has the .o, or .a extension, it is automatically removed.'
41612 echo ' This name is used as the import library name and may be longer and'
41613 echo ' more descriptive than the DLL name which has to follow the old '
41614 echo ' 8.3 convention of FAT.'
41615 echo '*> "script.sh may be given to override the output_file name by a'
41616 echo ' different name. It is mainly useful if the regular make process'
41617 echo ' of some package does not take into account OS/2 restriction of'
41618 echo ' DLL name lengths. It takes the importlib name as input and is'
41619 echo ' supposed to procude a shorter name as output. The script should'
41620 echo ' expect to get importlib_name without extension and should produce'
41621 echo ' a (max.) 8 letter name without extension.'
41622 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41623 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41624 echo ' These flags will be put at the start of GCC command line.'
41625 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41626 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41627 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41628 echo ' If the last character of a symbol is "*", all symbols beginning'
41629 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41630 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41631 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41632 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41633 echo ' C runtime DLLs.'
41634 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41635 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41636 echo ' unchanged to GCC at the end of command line.'
41637 echo '*> If you create a DLL from a library and you do not specify -o,'
41638 echo ' the basename for DLL and import library will be set to library name,'
41639 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41640 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41641 echo ' library will be renamed into gcc_s.a.'
41642 echo '--------'
41643 echo 'Example:'
41644 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41645 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41646 CleanUp
41647 exit 1
41648 }
41649
41650 # Execute a command.
41651 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41652 # @Uses Whatever CleanUp() uses.
41653 doCommand() {
41654 echo "${D}*"
41655 eval ${D}*
41656 rcCmd=${D}?
41657
41658 if [ ${D}rcCmd -ne 0 ]; then
41659 echo "command failed, exit code="${D}rcCmd
41660 CleanUp
41661 exit ${D}rcCmd
41662 fi
41663 }
41664
41665 # main routine
41666 # setup globals
41667 cmdLine=${D}*
41668 outFile=""
41669 outimpFile=""
41670 inputFiles=""
41671 renameScript=""
41672 description=""
41673 CC=gcc.exe
41674 CFLAGS="-s -Zcrtdll"
41675 EXTRA_CFLAGS=""
41676 EXPORT_BY_ORDINALS=0
41677 exclude_symbols=""
41678 library_flags=""
41679 curDir=\`pwd\`
41680 curDirS=curDir
41681 case ${D}curDirS in
41682 */)
41683 ;;
41684 *)
41685 curDirS=${D}{curDirS}"/"
41686 ;;
41687 esac
41688 # Parse commandline
41689 libsToLink=0
41690 omfLinking=0
41691 while [ ${D}1 ]; do
41692 case ${D}1 in
41693 -ord*)
41694 EXPORT_BY_ORDINALS=1;
41695 ;;
41696 -o*)
41697 shift
41698 outFile=${D}1
41699 ;;
41700 -i*)
41701 shift
41702 outimpFile=${D}1
41703 ;;
41704 -name-mangler-script)
41705 shift
41706 renameScript=${D}1
41707 ;;
41708 -d*)
41709 shift
41710 description=${D}1
41711 ;;
41712 -f*)
41713 shift
41714 CFLAGS=${D}1
41715 ;;
41716 -c*)
41717 shift
41718 CC=${D}1
41719 ;;
41720 -h*)
41721 PrintHelp
41722 ;;
41723 -ex*)
41724 shift
41725 exclude_symbols=${D}{exclude_symbols}${D}1" "
41726 ;;
41727 -libf*)
41728 shift
41729 library_flags=${D}{library_flags}${D}1" "
41730 ;;
41731 -nocrt*)
41732 CFLAGS="-s"
41733 ;;
41734 -nolxl*)
41735 flag_USE_LXLITE=0
41736 ;;
41737 -* | /*)
41738 case ${D}1 in
41739 -L* | -l*)
41740 libsToLink=1
41741 ;;
41742 -Zomf)
41743 omfLinking=1
41744 ;;
41745 *)
41746 ;;
41747 esac
41748 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41749 ;;
41750 *.dll)
41751 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
41752 if [ ${D}omfLinking -eq 1 ]; then
41753 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
41754 else
41755 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
41756 fi
41757 ;;
41758 *)
41759 found=0;
41760 if [ ${D}libsToLink -ne 0 ]; then
41761 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41762 else
41763 for file in ${D}1 ; do
41764 if [ -f ${D}file ]; then
41765 inputFiles="${D}{inputFiles} ${D}file"
41766 found=1
41767 fi
41768 done
41769 if [ ${D}found -eq 0 ]; then
41770 echo "ERROR: No file(s) found: "${D}1
41771 exit 8
41772 fi
41773 fi
41774 ;;
41775 esac
41776 shift
41777 done # iterate cmdline words
41778
41779 #
41780 if [ -z "${D}inputFiles" ]; then
41781 echo "dllar: no input files"
41782 PrintHelp
41783 fi
41784
41785 # Now extract all .o files from .a files
41786 newInputFiles=""
41787 for file in ${D}inputFiles ; do
41788 case ${D}file in
41789 *.a | *.lib)
41790 case ${D}file in
41791 *.a)
41792 suffix=".a"
41793 AR="ar"
41794 ;;
41795 *.lib)
41796 suffix=".lib"
41797 AR="emxomfar"
41798 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
41799 ;;
41800 *)
41801 ;;
41802 esac
41803 dirname=\`basnam ${D}file ${D}suffix\`"_%"
41804 mkdir ${D}dirname
41805 if [ ${D}? -ne 0 ]; then
41806 echo "Failed to create subdirectory ./${D}dirname"
41807 CleanUp
41808 exit 8;
41809 fi
41810 # Append '!' to indicate archive
41811 newInputFiles="${D}newInputFiles ${D}{dirname}!"
41812 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
41813 cd ${D}curDir
41814 found=0;
41815 for subfile in ${D}dirname/*.o* ; do
41816 if [ -f ${D}subfile ]; then
41817 found=1
41818 if [ -s ${D}subfile ]; then
41819 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
41820 newInputFiles="${D}newInputFiles ${D}subfile"
41821 fi
41822 fi
41823 done
41824 if [ ${D}found -eq 0 ]; then
41825 echo "WARNING: there are no files in archive \\'${D}file\\'"
41826 fi
41827 ;;
41828 *)
41829 newInputFiles="${D}{newInputFiles} ${D}file"
41830 ;;
41831 esac
41832 done
41833 inputFiles="${D}newInputFiles"
41834
41835 # Output filename(s).
41836 do_backup=0;
41837 if [ -z ${D}outFile ]; then
41838 do_backup=1;
41839 set outFile ${D}inputFiles; outFile=${D}2
41840 fi
41841
41842 # If it is an archive, remove the '!' and the '_%' suffixes
41843 case ${D}outFile in
41844 *_%!)
41845 outFile=\`basnam ${D}outFile _%!\`
41846 ;;
41847 *)
41848 ;;
41849 esac
41850 case ${D}outFile in
41851 *.dll)
41852 outFile=\`basnam ${D}outFile .dll\`
41853 ;;
41854 *.DLL)
41855 outFile=\`basnam ${D}outFile .DLL\`
41856 ;;
41857 *.o)
41858 outFile=\`basnam ${D}outFile .o\`
41859 ;;
41860 *.obj)
41861 outFile=\`basnam ${D}outFile .obj\`
41862 ;;
41863 *.a)
41864 outFile=\`basnam ${D}outFile .a\`
41865 ;;
41866 *.lib)
41867 outFile=\`basnam ${D}outFile .lib\`
41868 ;;
41869 *)
41870 ;;
41871 esac
41872 case ${D}outimpFile in
41873 *.a)
41874 outimpFile=\`basnam ${D}outimpFile .a\`
41875 ;;
41876 *.lib)
41877 outimpFile=\`basnam ${D}outimpFile .lib\`
41878 ;;
41879 *)
41880 ;;
41881 esac
41882 if [ -z ${D}outimpFile ]; then
41883 outimpFile=${D}outFile
41884 fi
41885 defFile="${D}{outFile}.def"
41886 arcFile="${D}{outimpFile}.a"
41887 arcFile2="${D}{outimpFile}.lib"
41888
41889 #create ${D}dllFile as something matching 8.3 restrictions,
41890 if [ -z ${D}renameScript ] ; then
41891 dllFile="${D}outFile"
41892 else
41893 dllFile=\`${D}renameScript ${D}outimpFile\`
41894 fi
41895
41896 if [ ${D}do_backup -ne 0 ] ; then
41897 if [ -f ${D}arcFile ] ; then
41898 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
41899 fi
41900 if [ -f ${D}arcFile2 ] ; then
41901 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
41902 fi
41903 fi
41904
41905 # Extract public symbols from all the object files.
41906 tmpdefFile=${D}{defFile}_%
41907 rm -f ${D}tmpdefFile
41908 for file in ${D}inputFiles ; do
41909 case ${D}file in
41910 *!)
41911 ;;
41912 *)
41913 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
41914 ;;
41915 esac
41916 done
41917
41918 # Create the def file.
41919 rm -f ${D}defFile
41920 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
41921 dllFile="${D}{dllFile}.dll"
41922 if [ ! -z ${D}description ]; then
41923 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
41924 fi
41925 echo "EXPORTS" >> ${D}defFile
41926
41927 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
41928 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
41929
41930 # Checks if the export is ok or not.
41931 for word in ${D}exclude_symbols; do
41932 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
41933 mv ${D}{tmpdefFile}% ${D}tmpdefFile
41934 done
41935
41936
41937 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41938 sed "=" < ${D}tmpdefFile | \\
41939 sed '
41940 N
41941 : loop
41942 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
41943 t loop
41944 ' > ${D}{tmpdefFile}%
41945 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
41946 else
41947 rm -f ${D}{tmpdefFile}%
41948 fi
41949 cat ${D}tmpdefFile >> ${D}defFile
41950 rm -f ${D}tmpdefFile
41951
41952 # Do linking, create implib, and apply lxlite.
41953 gccCmdl="";
41954 for file in ${D}inputFiles ; do
41955 case ${D}file in
41956 *!)
41957 ;;
41958 *)
41959 gccCmdl="${D}gccCmdl ${D}file"
41960 ;;
41961 esac
41962 done
41963 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
41964 touch "${D}{outFile}.dll"
41965
41966 doCommand "emximp -o ${D}arcFile ${D}defFile"
41967 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
41968 add_flags="";
41969 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41970 add_flags="-ynd"
41971 fi
41972 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
41973 fi
41974 doCommand "emxomf -s -l ${D}arcFile"
41975
41976 # Successful exit.
41977 CleanUp 1
41978 exit 0
41979 EOF
41980
41981 chmod +x dllar.sh
41982 ;;
41983
41984 powerpc-apple-macos* | \
41985 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
41986 *-*-sunos4* | \
41987 *-*-osf* | \
41988 *-*-dgux5* | \
41989 *-*-sysv5* )
41990 ;;
41991
41992 *)
41993 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
41994 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
41995 { (exit 1); exit 1; }; }
41996 esac
41997
41998 if test "x$PIC_FLAG" != "x" ; then
41999 PIC_FLAG="$PIC_FLAG -DPIC"
42000 fi
42001
42002 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42003 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
42004 fi
42005 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42006 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
42007 fi
42008
42009
42010
42011
42012
42013
42014
42015
42016 USE_SOVERSION=0
42017 USE_SOVERLINUX=0
42018 USE_SOVERSOLARIS=0
42019 USE_SOSYMLINKS=0
42020 USE_MACVERSION=0
42021 SONAME_FLAG=
42022
42023 case "${BAKEFILE_HOST}" in
42024 *-*-linux* | *-*-freebsd* )
42025 SONAME_FLAG="-Wl,-soname,"
42026 USE_SOVERSION=1
42027 USE_SOVERLINUX=1
42028 USE_SOSYMLINKS=1
42029 ;;
42030
42031 *-*-solaris2* )
42032 SONAME_FLAG="-h "
42033 USE_SOVERSION=1
42034 USE_SOVERSOLARIS=1
42035 USE_SOSYMLINKS=1
42036 ;;
42037
42038 *-*-darwin* )
42039 USE_MACVERSION=1
42040 USE_SOVERSION=1
42041 USE_SOSYMLINKS=1
42042 ;;
42043 esac
42044
42045
42046
42047
42048
42049
42050
42051
42052
42053 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42054 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42055 DEPS_TRACKING=0
42056
42057 if test "x$GCC" = "xyes"; then
42058 DEPSMODE=gcc
42059 DEPS_TRACKING=1
42060 case "${BAKEFILE_HOST}" in
42061 powerpc-*-darwin* )
42062 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
42063 ;;
42064 * )
42065 DEPSFLAG_GCC="-MMD"
42066 ;;
42067 esac
42068 echo "$as_me:$LINENO: result: gcc" >&5
42069 echo "${ECHO_T}gcc" >&6
42070 elif test "x$MWCC" = "xyes"; then
42071 DEPSMODE=mwcc
42072 DEPS_TRACKING=1
42073 DEPSFLAG_MWCC="-MM"
42074 echo "$as_me:$LINENO: result: mwcc" >&5
42075 echo "${ECHO_T}mwcc" >&6
42076 else
42077 echo "$as_me:$LINENO: result: none" >&5
42078 echo "${ECHO_T}none" >&6
42079 fi
42080
42081 if test $DEPS_TRACKING = 1 ; then
42082
42083 D='$'
42084 cat <<EOF >bk-deps
42085 #!/bin/sh
42086
42087 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42088 # script. It is used to track C/C++ files dependencies in portable way.
42089 #
42090 # Permission is given to use this file in any way.
42091
42092 DEPSMODE=${DEPSMODE}
42093 DEPSDIR=.deps
42094 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42095 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42096
42097 mkdir -p ${D}DEPSDIR
42098
42099 if test ${D}DEPSMODE = gcc ; then
42100 ${D}* ${D}{DEPSFLAG_GCC}
42101 status=${D}?
42102 if test ${D}{status} != 0 ; then
42103 exit ${D}{status}
42104 fi
42105 # move created file to the location we want it in:
42106 while test ${D}# -gt 0; do
42107 case "${D}1" in
42108 -o )
42109 shift
42110 objfile=${D}1
42111 ;;
42112 -* )
42113 ;;
42114 * )
42115 srcfile=${D}1
42116 ;;
42117 esac
42118 shift
42119 done
42120 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42121 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42122 if test -f ${D}depfile ; then
42123 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42124 rm -f ${D}depfile
42125 else
42126 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42127 if test -f ${D}depfile ; then
42128 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42129 rm -f ${D}depfile
42130 fi
42131 fi
42132 exit 0
42133 elif test ${D}DEPSMODE = mwcc ; then
42134 ${D}*
42135 status=${D}?
42136 if test ${D}{status} != 0 ; then
42137 exit ${D}{status}
42138 fi
42139 # Run mwcc again with -MM and redirect into the dep file we want
42140 # NOTE: We can't use shift here because we need ${D}* to be valid
42141 prevarg=
42142 for arg in ${D}* ; do
42143 if test "${D}prevarg" = "-o"; then
42144 objfile=${D}arg
42145 else
42146 case "${D}arg" in
42147 -* )
42148 ;;
42149 * )
42150 srcfile=${D}arg
42151 ;;
42152 esac
42153 fi
42154 prevarg="${D}arg"
42155 done
42156 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42157 exit 0
42158 else
42159 ${D}*
42160 exit ${D}?
42161 fi
42162 EOF
42163
42164 chmod +x bk-deps
42165 fi
42166
42167
42168
42169
42170 RESCOMP=
42171 SETFILE=
42172
42173 case ${BAKEFILE_HOST} in
42174 *-*-cygwin* | *-*-mingw32* )
42175 if test "$build" != "$host" ; then
42176 RESCOMP=$host_alias-windres
42177 else
42178 # Extract the first word of "windres", so it can be a program name with args.
42179 set dummy windres; ac_word=$2
42180 echo "$as_me:$LINENO: checking for $ac_word" >&5
42181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42182 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42183 echo $ECHO_N "(cached) $ECHO_C" >&6
42184 else
42185 if test -n "$RESCOMP"; then
42186 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
42187 else
42188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42189 for as_dir in $PATH
42190 do
42191 IFS=$as_save_IFS
42192 test -z "$as_dir" && as_dir=.
42193 for ac_exec_ext in '' $ac_executable_extensions; do
42194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42195 ac_cv_prog_RESCOMP="windres"
42196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42197 break 2
42198 fi
42199 done
42200 done
42201
42202 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
42203 fi
42204 fi
42205 RESCOMP=$ac_cv_prog_RESCOMP
42206 if test -n "$RESCOMP"; then
42207 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42208 echo "${ECHO_T}$RESCOMP" >&6
42209 else
42210 echo "$as_me:$LINENO: result: no" >&5
42211 echo "${ECHO_T}no" >&6
42212 fi
42213
42214 fi
42215 ;;
42216
42217 *-*-darwin* | powerpc-apple-macos* )
42218 # Extract the first word of "Rez", so it can be a program name with args.
42219 set dummy Rez; ac_word=$2
42220 echo "$as_me:$LINENO: checking for $ac_word" >&5
42221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42222 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42223 echo $ECHO_N "(cached) $ECHO_C" >&6
42224 else
42225 if test -n "$RESCOMP"; then
42226 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
42227 else
42228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42229 for as_dir in $PATH
42230 do
42231 IFS=$as_save_IFS
42232 test -z "$as_dir" && as_dir=.
42233 for ac_exec_ext in '' $ac_executable_extensions; do
42234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42235 ac_cv_prog_RESCOMP="Rez"
42236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42237 break 2
42238 fi
42239 done
42240 done
42241
42242 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
42243 fi
42244 fi
42245 RESCOMP=$ac_cv_prog_RESCOMP
42246 if test -n "$RESCOMP"; then
42247 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42248 echo "${ECHO_T}$RESCOMP" >&6
42249 else
42250 echo "$as_me:$LINENO: result: no" >&5
42251 echo "${ECHO_T}no" >&6
42252 fi
42253
42254 # Extract the first word of "SetFile", so it can be a program name with args.
42255 set dummy SetFile; ac_word=$2
42256 echo "$as_me:$LINENO: checking for $ac_word" >&5
42257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42258 if test "${ac_cv_prog_SETFILE+set}" = set; then
42259 echo $ECHO_N "(cached) $ECHO_C" >&6
42260 else
42261 if test -n "$SETFILE"; then
42262 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
42263 else
42264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42265 for as_dir in $PATH
42266 do
42267 IFS=$as_save_IFS
42268 test -z "$as_dir" && as_dir=.
42269 for ac_exec_ext in '' $ac_executable_extensions; do
42270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42271 ac_cv_prog_SETFILE="SetFile"
42272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42273 break 2
42274 fi
42275 done
42276 done
42277
42278 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
42279 fi
42280 fi
42281 SETFILE=$ac_cv_prog_SETFILE
42282 if test -n "$SETFILE"; then
42283 echo "$as_me:$LINENO: result: $SETFILE" >&5
42284 echo "${ECHO_T}$SETFILE" >&6
42285 else
42286 echo "$as_me:$LINENO: result: no" >&5
42287 echo "${ECHO_T}no" >&6
42288 fi
42289
42290 ;;
42291 esac
42292
42293
42294
42295
42296
42297 BAKEFILE_BAKEFILE_M4_VERSION="0.1.8"
42298
42299
42300 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.8"
42301
42302
42303
42304 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42305 if test "${enable_precomp_headers+set}" = set; then
42306 enableval="$enable_precomp_headers"
42307 bk_use_pch="$enableval"
42308 fi;
42309
42310 GCC_PCH=0
42311
42312 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42313 if test "x$GCC" = "xyes"; then
42314 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42315 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42316 cat >conftest.$ac_ext <<_ACEOF
42317 /* confdefs.h. */
42318 _ACEOF
42319 cat confdefs.h >>conftest.$ac_ext
42320 cat >>conftest.$ac_ext <<_ACEOF
42321 /* end confdefs.h. */
42322
42323 int
42324 main ()
42325 {
42326
42327 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42328 #error "no pch support"
42329 #endif
42330 #if (__GNUC__ < 3)
42331 #error "no pch support"
42332 #endif
42333 #if (__GNUC__ == 3) && \
42334 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42335 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42336 #error "no pch support"
42337 #endif
42338
42339 ;
42340 return 0;
42341 }
42342 _ACEOF
42343 rm -f conftest.$ac_objext
42344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42345 (eval $ac_compile) 2>conftest.er1
42346 ac_status=$?
42347 grep -v '^ *+' conftest.er1 >conftest.err
42348 rm -f conftest.er1
42349 cat conftest.err >&5
42350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42351 (exit $ac_status); } &&
42352 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42354 (eval $ac_try) 2>&5
42355 ac_status=$?
42356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42357 (exit $ac_status); }; } &&
42358 { ac_try='test -s conftest.$ac_objext'
42359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42360 (eval $ac_try) 2>&5
42361 ac_status=$?
42362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42363 (exit $ac_status); }; }; then
42364
42365 echo "$as_me:$LINENO: result: yes" >&5
42366 echo "${ECHO_T}yes" >&6
42367 GCC_PCH=1
42368
42369 else
42370 echo "$as_me: failed program was:" >&5
42371 sed 's/^/| /' conftest.$ac_ext >&5
42372
42373
42374 echo "$as_me:$LINENO: result: no" >&5
42375 echo "${ECHO_T}no" >&6
42376
42377 fi
42378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42379 if test $GCC_PCH = 1 ; then
42380
42381 D='$'
42382 cat <<EOF >bk-make-pch
42383 #!/bin/sh
42384
42385 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42386 # script. It is used to generated precompiled headers.
42387 #
42388 # Permission is given to use this file in any way.
42389
42390 outfile="${D}{1}"
42391 header="${D}{2}"
42392 shift
42393 shift
42394
42395 compiler=
42396 headerfile=
42397 while test ${D}{#} -gt 0; do
42398 case "${D}{1}" in
42399 -I* )
42400 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42401 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42402 headerfile="${D}{incdir}/${D}{header}"
42403 fi
42404 ;;
42405 esac
42406 compiler="${D}{compiler} ${D}{1}"
42407 shift
42408 done
42409
42410 if test "x${D}{headerfile}" = "x" ; then
42411 echo "error: can't find header ${D}{header} in include paths" >2
42412 else
42413 if test -f ${D}{outfile} ; then
42414 rm -f ${D}{outfile}
42415 else
42416 mkdir -p \`dirname ${D}{outfile}\`
42417 fi
42418 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42419 mkdir -p .deps
42420 # can do this because gcc is >= 3.4:
42421 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42422 exit ${D}{?}
42423 fi
42424 EOF
42425
42426 chmod +x bk-make-pch
42427 fi
42428 fi
42429 fi
42430
42431
42432
42433 COND_BUILD_DEBUG="#"
42434 if test "x$BUILD" = "xdebug" ; then
42435 COND_BUILD_DEBUG=""
42436 fi
42437
42438 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
42439 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42440 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
42441 fi
42442
42443 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
42444 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42445 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
42446 fi
42447
42448 COND_BUILD_DEBUG_UNICODE_0="#"
42449 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42450 COND_BUILD_DEBUG_UNICODE_0=""
42451 fi
42452
42453 COND_BUILD_DEBUG_UNICODE_1="#"
42454 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42455 COND_BUILD_DEBUG_UNICODE_1=""
42456 fi
42457
42458 COND_BUILD_RELEASE="#"
42459 if test "x$BUILD" = "xrelease" ; then
42460 COND_BUILD_RELEASE=""
42461 fi
42462
42463 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
42464 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42465 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
42466 fi
42467
42468 COND_BUILD_RELEASE_UNICODE_0="#"
42469 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42470 COND_BUILD_RELEASE_UNICODE_0=""
42471 fi
42472
42473 COND_BUILD_RELEASE_UNICODE_1="#"
42474 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42475 COND_BUILD_RELEASE_UNICODE_1=""
42476 fi
42477
42478 COND_DEBUG_FLAG_1="#"
42479 if test "x$DEBUG_FLAG" = "x1" ; then
42480 COND_DEBUG_FLAG_1=""
42481 fi
42482
42483 COND_DEBUG_INFO_0="#"
42484 if test "x$DEBUG_INFO" = "x0" ; then
42485 COND_DEBUG_INFO_0=""
42486 fi
42487
42488 COND_DEBUG_INFO_1="#"
42489 if test "x$DEBUG_INFO" = "x1" ; then
42490 COND_DEBUG_INFO_1=""
42491 fi
42492
42493 COND_DEPS_TRACKING_0="#"
42494 if test "x$DEPS_TRACKING" = "x0" ; then
42495 COND_DEPS_TRACKING_0=""
42496 fi
42497
42498 COND_DEPS_TRACKING_1="#"
42499 if test "x$DEPS_TRACKING" = "x1" ; then
42500 COND_DEPS_TRACKING_1=""
42501 fi
42502
42503 COND_GCC_PCH_1="#"
42504 if test "x$GCC_PCH" = "x1" ; then
42505 COND_GCC_PCH_1=""
42506 fi
42507
42508 COND_MONOLITHIC_0="#"
42509 if test "x$MONOLITHIC" = "x0" ; then
42510 COND_MONOLITHIC_0=""
42511 fi
42512
42513 COND_MONOLITHIC_0_SHARED_0="#"
42514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42515 COND_MONOLITHIC_0_SHARED_0=""
42516 fi
42517
42518 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
42519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42520 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
42521 fi
42522
42523 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
42524 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42525 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
42526 fi
42527
42528 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
42529 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42530 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
42531 fi
42532
42533 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
42534 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42535 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
42536 fi
42537
42538 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
42539 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42540 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
42541 fi
42542
42543 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
42544 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42545 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
42546 fi
42547
42548 COND_MONOLITHIC_0_SHARED_1="#"
42549 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42550 COND_MONOLITHIC_0_SHARED_1=""
42551 fi
42552
42553 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
42554 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42555 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
42556 fi
42557
42558 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
42559 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42560 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
42561 fi
42562
42563 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
42564 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42565 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
42566 fi
42567
42568 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
42569 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42570 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
42571 fi
42572
42573 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
42574 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42575 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
42576 fi
42577
42578 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
42579 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42580 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
42581 fi
42582
42583 COND_MONOLITHIC_0_USE_ODBC_1="#"
42584 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42585 COND_MONOLITHIC_0_USE_ODBC_1=""
42586 fi
42587
42588 COND_MONOLITHIC_1="#"
42589 if test "x$MONOLITHIC" = "x1" ; then
42590 COND_MONOLITHIC_1=""
42591 fi
42592
42593 COND_MONOLITHIC_1_SHARED_0="#"
42594 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42595 COND_MONOLITHIC_1_SHARED_0=""
42596 fi
42597
42598 COND_MONOLITHIC_1_SHARED_1="#"
42599 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42600 COND_MONOLITHIC_1_SHARED_1=""
42601 fi
42602
42603 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
42604 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42605 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
42606 fi
42607
42608 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
42609 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42610 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
42611 fi
42612
42613 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
42614 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42615 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
42616 fi
42617
42618 COND_PLATFORM_MACOSX_1="#"
42619 if test "x$PLATFORM_MACOSX" = "x1" ; then
42620 COND_PLATFORM_MACOSX_1=""
42621 fi
42622
42623 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
42624 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42625 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
42626 fi
42627
42628 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
42629 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42630 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
42631 fi
42632
42633 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
42634 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42635 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
42636 fi
42637
42638 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
42639 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42640 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
42641 fi
42642
42643 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
42644 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42645 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
42646 fi
42647
42648 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
42649 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42650 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
42651 fi
42652
42653 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
42654 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42655 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
42656 fi
42657
42658 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
42659 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42660 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
42661 fi
42662
42663 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
42664 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42665 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
42666 fi
42667
42668 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
42669 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42670 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
42671 fi
42672
42673 COND_PLATFORM_MACOS_1="#"
42674 if test "x$PLATFORM_MACOS" = "x1" ; then
42675 COND_PLATFORM_MACOS_1=""
42676 fi
42677
42678 COND_PLATFORM_MAC_1="#"
42679 if test "x$PLATFORM_MAC" = "x1" ; then
42680 COND_PLATFORM_MAC_1=""
42681 fi
42682
42683 COND_PLATFORM_OS2_1="#"
42684 if test "x$PLATFORM_OS2" = "x1" ; then
42685 COND_PLATFORM_OS2_1=""
42686 fi
42687
42688 COND_PLATFORM_UNIX_0="#"
42689 if test "x$PLATFORM_UNIX" = "x0" ; then
42690 COND_PLATFORM_UNIX_0=""
42691 fi
42692
42693 COND_PLATFORM_UNIX_1="#"
42694 if test "x$PLATFORM_UNIX" = "x1" ; then
42695 COND_PLATFORM_UNIX_1=""
42696 fi
42697
42698 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
42699 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
42700 COND_PLATFORM_UNIX_1_USE_GUI_1=""
42701 fi
42702
42703 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
42704 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
42705 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
42706 fi
42707
42708 COND_PLATFORM_WIN32_0="#"
42709 if test "x$PLATFORM_WIN32" = "x0" ; then
42710 COND_PLATFORM_WIN32_0=""
42711 fi
42712
42713 COND_PLATFORM_WIN32_1="#"
42714 if test "x$PLATFORM_WIN32" = "x1" ; then
42715 COND_PLATFORM_WIN32_1=""
42716 fi
42717
42718 COND_SHARED_0="#"
42719 if test "x$SHARED" = "x0" ; then
42720 COND_SHARED_0=""
42721 fi
42722
42723 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
42724 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
42725 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
42726 fi
42727
42728 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
42729 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
42730 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
42731 fi
42732
42733 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
42734 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
42735 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
42736 fi
42737
42738 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
42739 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42740 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
42741 fi
42742
42743 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
42744 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42745 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
42746 fi
42747
42748 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
42749 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42750 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
42751 fi
42752
42753 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
42754 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42755 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
42756 fi
42757
42758 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
42759 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
42760 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
42761 fi
42762
42763 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
42764 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
42765 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
42766 fi
42767
42768 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
42769 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
42770 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
42771 fi
42772
42773 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
42774 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
42775 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
42776 fi
42777
42778 COND_SHARED_1="#"
42779 if test "x$SHARED" = "x1" ; then
42780 COND_SHARED_1=""
42781 fi
42782
42783 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
42784 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42785 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
42786 fi
42787
42788 COND_TOOLKIT_="#"
42789 if test "x$TOOLKIT" = "x" ; then
42790 COND_TOOLKIT_=""
42791 fi
42792
42793 COND_TOOLKIT_COCOA="#"
42794 if test "x$TOOLKIT" = "xCOCOA" ; then
42795 COND_TOOLKIT_COCOA=""
42796 fi
42797
42798 COND_TOOLKIT_COCOA_USE_GUI_1="#"
42799 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
42800 COND_TOOLKIT_COCOA_USE_GUI_1=""
42801 fi
42802
42803 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
42804 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42805 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
42806 fi
42807
42808 COND_TOOLKIT_GTK="#"
42809 if test "x$TOOLKIT" = "xGTK" ; then
42810 COND_TOOLKIT_GTK=""
42811 fi
42812
42813 COND_TOOLKIT_GTK_USE_GUI_1="#"
42814 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
42815 COND_TOOLKIT_GTK_USE_GUI_1=""
42816 fi
42817
42818 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
42819 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42820 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
42821 fi
42822
42823 COND_TOOLKIT_MAC="#"
42824 if test "x$TOOLKIT" = "xMAC" ; then
42825 COND_TOOLKIT_MAC=""
42826 fi
42827
42828 COND_TOOLKIT_MAC_USE_GUI_1="#"
42829 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42830 COND_TOOLKIT_MAC_USE_GUI_1=""
42831 fi
42832
42833 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
42834 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42835 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
42836 fi
42837
42838 COND_TOOLKIT_MGL="#"
42839 if test "x$TOOLKIT" = "xMGL" ; then
42840 COND_TOOLKIT_MGL=""
42841 fi
42842
42843 COND_TOOLKIT_MGL_USE_GUI_1="#"
42844 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
42845 COND_TOOLKIT_MGL_USE_GUI_1=""
42846 fi
42847
42848 COND_TOOLKIT_MOTIF="#"
42849 if test "x$TOOLKIT" = "xMOTIF" ; then
42850 COND_TOOLKIT_MOTIF=""
42851 fi
42852
42853 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
42854 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
42855 COND_TOOLKIT_MOTIF_USE_GUI_1=""
42856 fi
42857
42858 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
42859 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42860 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
42861 fi
42862
42863 COND_TOOLKIT_MSW="#"
42864 if test "x$TOOLKIT" = "xMSW" ; then
42865 COND_TOOLKIT_MSW=""
42866 fi
42867
42868 COND_TOOLKIT_MSW_USE_GUI_1="#"
42869 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
42870 COND_TOOLKIT_MSW_USE_GUI_1=""
42871 fi
42872
42873 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
42874 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42875 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
42876 fi
42877
42878 COND_TOOLKIT_PM="#"
42879 if test "x$TOOLKIT" = "xPM" ; then
42880 COND_TOOLKIT_PM=""
42881 fi
42882
42883 COND_TOOLKIT_PM_USE_GUI_1="#"
42884 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
42885 COND_TOOLKIT_PM_USE_GUI_1=""
42886 fi
42887
42888 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
42889 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42890 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
42891 fi
42892
42893 COND_TOOLKIT_WINCE="#"
42894 if test "x$TOOLKIT" = "xWINCE" ; then
42895 COND_TOOLKIT_WINCE=""
42896 fi
42897
42898 COND_TOOLKIT_WINCE_USE_GUI_1="#"
42899 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
42900 COND_TOOLKIT_WINCE_USE_GUI_1=""
42901 fi
42902
42903 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
42904 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42905 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
42906 fi
42907
42908 COND_TOOLKIT_X11="#"
42909 if test "x$TOOLKIT" = "xX11" ; then
42910 COND_TOOLKIT_X11=""
42911 fi
42912
42913 COND_TOOLKIT_X11_USE_GUI_1="#"
42914 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
42915 COND_TOOLKIT_X11_USE_GUI_1=""
42916 fi
42917
42918 COND_UNICODE_1="#"
42919 if test "x$UNICODE" = "x1" ; then
42920 COND_UNICODE_1=""
42921 fi
42922
42923 COND_USE_EXCEPTIONS_0="#"
42924 if test "x$USE_EXCEPTIONS" = "x0" ; then
42925 COND_USE_EXCEPTIONS_0=""
42926 fi
42927
42928 COND_USE_EXCEPTIONS_1="#"
42929 if test "x$USE_EXCEPTIONS" = "x1" ; then
42930 COND_USE_EXCEPTIONS_1=""
42931 fi
42932
42933 COND_USE_GUI_0="#"
42934 if test "x$USE_GUI" = "x0" ; then
42935 COND_USE_GUI_0=""
42936 fi
42937
42938 COND_USE_GUI_1="#"
42939 if test "x$USE_GUI" = "x1" ; then
42940 COND_USE_GUI_1=""
42941 fi
42942
42943 COND_USE_GUI_1_WXUNIV_0="#"
42944 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42945 COND_USE_GUI_1_WXUNIV_0=""
42946 fi
42947
42948 COND_USE_GUI_1_WXUNIV_1="#"
42949 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
42950 COND_USE_GUI_1_WXUNIV_1=""
42951 fi
42952
42953 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
42954 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42955 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
42956 fi
42957
42958 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
42959 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42960 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
42961 fi
42962
42963 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
42964 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42965 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
42966 fi
42967
42968 COND_USE_ODBC_1="#"
42969 if test "x$USE_ODBC" = "x1" ; then
42970 COND_USE_ODBC_1=""
42971 fi
42972
42973 COND_USE_OPENGL_1="#"
42974 if test "x$USE_OPENGL" = "x1" ; then
42975 COND_USE_OPENGL_1=""
42976 fi
42977
42978 COND_USE_PLUGINS_0="#"
42979 if test "x$USE_PLUGINS" = "x0" ; then
42980 COND_USE_PLUGINS_0=""
42981 fi
42982
42983 COND_USE_RTTI_0="#"
42984 if test "x$USE_RTTI" = "x0" ; then
42985 COND_USE_RTTI_0=""
42986 fi
42987
42988 COND_USE_RTTI_1="#"
42989 if test "x$USE_RTTI" = "x1" ; then
42990 COND_USE_RTTI_1=""
42991 fi
42992
42993 COND_USE_SOSYMLINKS_1="#"
42994 if test "x$USE_SOSYMLINKS" = "x1" ; then
42995 COND_USE_SOSYMLINKS_1=""
42996 fi
42997
42998 COND_USE_SOVERLINUX_1="#"
42999 if test "x$USE_SOVERLINUX" = "x1" ; then
43000 COND_USE_SOVERLINUX_1=""
43001 fi
43002
43003 COND_USE_SOVERSION_0="#"
43004 if test "x$USE_SOVERSION" = "x0" ; then
43005 COND_USE_SOVERSION_0=""
43006 fi
43007
43008 COND_USE_SOVERSOLARIS_1="#"
43009 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43010 COND_USE_SOVERSOLARIS_1=""
43011 fi
43012
43013 COND_USE_THREADS_0="#"
43014 if test "x$USE_THREADS" = "x0" ; then
43015 COND_USE_THREADS_0=""
43016 fi
43017
43018 COND_USE_THREADS_1="#"
43019 if test "x$USE_THREADS" = "x1" ; then
43020 COND_USE_THREADS_1=""
43021 fi
43022
43023 COND_USE_XRC_1="#"
43024 if test "x$USE_XRC" = "x1" ; then
43025 COND_USE_XRC_1=""
43026 fi
43027
43028 COND_WITH_PLUGIN_SDL_1="#"
43029 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43030 COND_WITH_PLUGIN_SDL_1=""
43031 fi
43032
43033 COND_WXUNIV_0="#"
43034 if test "x$WXUNIV" = "x0" ; then
43035 COND_WXUNIV_0=""
43036 fi
43037
43038 COND_WXUNIV_1="#"
43039 if test "x$WXUNIV" = "x1" ; then
43040 COND_WXUNIV_1=""
43041 fi
43042
43043 COND_WXUSE_EXPAT_BUILTIN="#"
43044 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43045 COND_WXUSE_EXPAT_BUILTIN=""
43046 fi
43047
43048 COND_WXUSE_LIBJPEG_BUILTIN="#"
43049 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43050 COND_WXUSE_LIBJPEG_BUILTIN=""
43051 fi
43052
43053 COND_WXUSE_LIBPNG_BUILTIN="#"
43054 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43055 COND_WXUSE_LIBPNG_BUILTIN=""
43056 fi
43057
43058 COND_WXUSE_LIBTIFF_BUILTIN="#"
43059 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43060 COND_WXUSE_LIBTIFF_BUILTIN=""
43061 fi
43062
43063 COND_WXUSE_ODBC_BUILTIN="#"
43064 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43065 COND_WXUSE_ODBC_BUILTIN=""
43066 fi
43067
43068 COND_WXUSE_REGEX_BUILTIN="#"
43069 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43070 COND_WXUSE_REGEX_BUILTIN=""
43071 fi
43072
43073 COND_WXUSE_ZLIB_BUILTIN="#"
43074 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43075 COND_WXUSE_ZLIB_BUILTIN=""
43076 fi
43077
43078
43079
43080 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43081 { { 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
43082 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;}
43083 { (exit 1); exit 1; }; }
43084 fi
43085
43086
43087 if test "$wxUSE_SHARED" = "yes"; then
43088
43089 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
43090 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
43091
43092 case "${host}" in
43093 *-pc-os2_emx | *-pc-os2-emx )
43094 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43095 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43096 cp -p ${srcdir}/src/os2/dllnames.sh .
43097 cp -p ${srcdir}/src/os2/dllar.sh .
43098 ;;
43099 esac
43100 else
43101
43102 EXE_LINKER="$CXX -o"
43103
43104 fi
43105
43106 GCC_PRAGMA_FLAGS=""
43107 PCH_FLAGS=""
43108 if test $GCC_PCH = 1 ; then
43109 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43110 PCH_FLAGS="-DWX_PRECOMP"
43111 else
43112 case "${host}" in
43113 powerpc-*-darwin* )
43114 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43115 ;;
43116 *-*-mingw32* )
43117 if test "$wxUSE_STL" = "yes" -o \
43118 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43119 "$wxUSE_NO_RTTI" != "yes"; then
43120 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43121 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43122 cat >conftest.$ac_ext <<_ACEOF
43123 /* confdefs.h. */
43124 _ACEOF
43125 cat confdefs.h >>conftest.$ac_ext
43126 cat >>conftest.$ac_ext <<_ACEOF
43127 /* end confdefs.h. */
43128
43129 int
43130 main ()
43131 {
43132 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43133 #error "Not GCC 3.2 or greater"
43134 #endif
43135
43136 ;
43137 return 0;
43138 }
43139 _ACEOF
43140 rm -f conftest.$ac_objext
43141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43142 (eval $ac_compile) 2>conftest.er1
43143 ac_status=$?
43144 grep -v '^ *+' conftest.er1 >conftest.err
43145 rm -f conftest.er1
43146 cat conftest.err >&5
43147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43148 (exit $ac_status); } &&
43149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43151 (eval $ac_try) 2>&5
43152 ac_status=$?
43153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43154 (exit $ac_status); }; } &&
43155 { ac_try='test -s conftest.$ac_objext'
43156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43157 (eval $ac_try) 2>&5
43158 ac_status=$?
43159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43160 (exit $ac_status); }; }; then
43161 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43162 echo "$as_me:$LINENO: result: yes" >&5
43163 echo "${ECHO_T}yes" >&6
43164 else
43165 echo "$as_me: failed program was:" >&5
43166 sed 's/^/| /' conftest.$ac_ext >&5
43167
43168 echo "$as_me:$LINENO: result: no" >&5
43169 echo "${ECHO_T}no" >&6
43170 fi
43171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43172 fi
43173 ;;
43174 *-pc-os2_emx | *-pc-os2-emx )
43175 if test "$wxUSE_STL" = "yes"; then
43176 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43177 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43178 cat >conftest.$ac_ext <<_ACEOF
43179 /* confdefs.h. */
43180 _ACEOF
43181 cat confdefs.h >>conftest.$ac_ext
43182 cat >>conftest.$ac_ext <<_ACEOF
43183 /* end confdefs.h. */
43184
43185 int
43186 main ()
43187 {
43188 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43189 #error "Not GCC 3.2 or greater"
43190 #endif
43191
43192 ;
43193 return 0;
43194 }
43195 _ACEOF
43196 rm -f conftest.$ac_objext
43197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43198 (eval $ac_compile) 2>conftest.er1
43199 ac_status=$?
43200 grep -v '^ *+' conftest.er1 >conftest.err
43201 rm -f conftest.er1
43202 cat conftest.err >&5
43203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43204 (exit $ac_status); } &&
43205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43207 (eval $ac_try) 2>&5
43208 ac_status=$?
43209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43210 (exit $ac_status); }; } &&
43211 { ac_try='test -s conftest.$ac_objext'
43212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43213 (eval $ac_try) 2>&5
43214 ac_status=$?
43215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43216 (exit $ac_status); }; }; then
43217 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43218 echo "$as_me:$LINENO: result: yes" >&5
43219 echo "${ECHO_T}yes" >&6
43220 else
43221 echo "$as_me: failed program was:" >&5
43222 sed 's/^/| /' conftest.$ac_ext >&5
43223
43224 echo "$as_me:$LINENO: result: no" >&5
43225 echo "${ECHO_T}no" >&6
43226 fi
43227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43228 fi
43229 ;;
43230 esac
43231 fi
43232 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43233
43234
43235 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43236
43237
43238
43239
43240
43241
43242
43243
43244
43245
43246
43247
43248
43249
43250
43251
43252
43253
43254
43255
43256
43257
43258
43259
43260
43261
43262
43263
43264
43265
43266
43267
43268
43269
43270
43271
43272
43273
43274
43275
43276
43277
43278
43279
43280
43281
43282
43283
43284
43285
43286
43287
43288
43289
43290
43291
43292
43293
43294
43295
43296
43297
43298
43299 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43300 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43301 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
43302 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43303 echo $ECHO_N "(cached) $ECHO_C" >&6
43304 else
43305 cat >conftest.make <<\_ACEOF
43306 all:
43307 @echo 'ac_maketemp="$(MAKE)"'
43308 _ACEOF
43309 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43310 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43311 if test -n "$ac_maketemp"; then
43312 eval ac_cv_prog_make_${ac_make}_set=yes
43313 else
43314 eval ac_cv_prog_make_${ac_make}_set=no
43315 fi
43316 rm -f conftest.make
43317 fi
43318 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43319 echo "$as_me:$LINENO: result: yes" >&5
43320 echo "${ECHO_T}yes" >&6
43321 SET_MAKE=
43322 else
43323 echo "$as_me:$LINENO: result: no" >&5
43324 echo "${ECHO_T}no" >&6
43325 SET_MAKE="MAKE=${MAKE-make}"
43326 fi
43327
43328
43329
43330 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43331
43332
43333 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43334
43335
43336 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43337
43338
43339 ac_config_files="$ac_config_files version-script Makefile"
43340
43341
43342 ac_config_commands="$ac_config_commands wx-config
43343 "
43344
43345
43346
43347
43348 if test "$wxUSE_GUI" = "yes"; then
43349 SUBDIRS="samples demos utils contrib"
43350 else SUBDIRS="samples utils"
43351 fi
43352
43353
43354
43355 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43356 if test "${with_cppunit_prefix+set}" = set; then
43357 withval="$with_cppunit_prefix"
43358 cppunit_config_prefix="$withval"
43359 else
43360 cppunit_config_prefix=""
43361 fi;
43362
43363 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43364 if test "${with_cppunit_exec_prefix+set}" = set; then
43365 withval="$with_cppunit_exec_prefix"
43366 cppunit_config_exec_prefix="$withval"
43367 else
43368 cppunit_config_exec_prefix=""
43369 fi;
43370
43371 if test x$cppunit_config_exec_prefix != x ; then
43372 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43373 if test x${CPPUNIT_CONFIG+set} != xset ; then
43374 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
43375 fi
43376 fi
43377 if test x$cppunit_config_prefix != x ; then
43378 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
43379 if test x${CPPUNIT_CONFIG+set} != xset ; then
43380 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
43381 fi
43382 fi
43383
43384 # Extract the first word of "cppunit-config", so it can be a program name with args.
43385 set dummy cppunit-config; ac_word=$2
43386 echo "$as_me:$LINENO: checking for $ac_word" >&5
43387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43388 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43389 echo $ECHO_N "(cached) $ECHO_C" >&6
43390 else
43391 case $CPPUNIT_CONFIG in
43392 [\\/]* | ?:[\\/]*)
43393 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43394 ;;
43395 *)
43396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43397 for as_dir in $PATH
43398 do
43399 IFS=$as_save_IFS
43400 test -z "$as_dir" && as_dir=.
43401 for ac_exec_ext in '' $ac_executable_extensions; do
43402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43403 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43405 break 2
43406 fi
43407 done
43408 done
43409
43410 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
43411 ;;
43412 esac
43413 fi
43414 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
43415
43416 if test -n "$CPPUNIT_CONFIG"; then
43417 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43418 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43419 else
43420 echo "$as_me:$LINENO: result: no" >&5
43421 echo "${ECHO_T}no" >&6
43422 fi
43423
43424 cppunit_version_min=1.8.0
43425
43426 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43427 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43428 no_cppunit=""
43429 if test "$CPPUNIT_CONFIG" = "no" ; then
43430 no_cppunit=yes
43431 else
43432 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
43433 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
43434 cppunit_version=`$CPPUNIT_CONFIG --version`
43435
43436 cppunit_major_version=`echo $cppunit_version | \
43437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43438 cppunit_minor_version=`echo $cppunit_version | \
43439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43440 cppunit_micro_version=`echo $cppunit_version | \
43441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43442
43443 cppunit_major_min=`echo $cppunit_version_min | \
43444 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43445 cppunit_minor_min=`echo $cppunit_version_min | \
43446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43447 cppunit_micro_min=`echo $cppunit_version_min | \
43448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43449
43450 cppunit_version_proper=`expr \
43451 $cppunit_major_version \> $cppunit_major_min \| \
43452 $cppunit_major_version \= $cppunit_major_min \& \
43453 $cppunit_minor_version \> $cppunit_minor_min \| \
43454 $cppunit_major_version \= $cppunit_major_min \& \
43455 $cppunit_minor_version \= $cppunit_minor_min \& \
43456 $cppunit_micro_version \>= $cppunit_micro_min `
43457
43458 if test "$cppunit_version_proper" = "1" ; then
43459 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43460 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43461 else
43462 echo "$as_me:$LINENO: result: no" >&5
43463 echo "${ECHO_T}no" >&6
43464 no_cppunit=yes
43465 fi
43466 fi
43467
43468 if test "x$no_cppunit" = x ; then
43469 SUBDIRS="$SUBDIRS tests"
43470 else
43471 CPPUNIT_CFLAGS=""
43472 CPPUNIT_LIBS=""
43473 :
43474 fi
43475
43476
43477
43478
43479
43480 for subdir in `echo $SUBDIRS`; do
43481 if test -d ${srcdir}/${subdir} ; then
43482 if test "$wxUSE_GUI" = "yes"; then
43483 if test ${subdir} = "samples"; then
43484 makefiles="samples/Makefile.in $makefiles"
43485 for sample in `echo $SAMPLES_SUBDIRS`; do
43486 if test -d $srcdir/samples/$sample; then
43487 makefiles="samples/$sample/Makefile.in $makefiles"
43488 fi
43489 done
43490 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
43491 fi
43492 else if test ${subdir} = "samples"; then
43493 makefiles="samples/Makefile.in samples/console/Makefile.in"
43494 elif test ${subdir} = "utils"; then
43495 makefiles=""
43496 for util in HelpGen tex2rtf ; do
43497 if test -d $srcdir/utils/$util ; then
43498 makefiles="utils/$util/Makefile.in \
43499 utils/$util/src/Makefile.in \
43500 $makefiles"
43501 fi
43502 done
43503 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
43504 fi
43505 fi
43506
43507 for mkin in $makefiles ; do
43508 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43509 ac_config_files="$ac_config_files $mk"
43510
43511 done
43512 fi
43513 done
43514
43515
43516 cat >confcache <<\_ACEOF
43517 # This file is a shell script that caches the results of configure
43518 # tests run on this system so they can be shared between configure
43519 # scripts and configure runs, see configure's option --config-cache.
43520 # It is not useful on other systems. If it contains results you don't
43521 # want to keep, you may remove or edit it.
43522 #
43523 # config.status only pays attention to the cache file if you give it
43524 # the --recheck option to rerun configure.
43525 #
43526 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43527 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43528 # following values.
43529
43530 _ACEOF
43531
43532 # The following way of writing the cache mishandles newlines in values,
43533 # but we know of no workaround that is simple, portable, and efficient.
43534 # So, don't put newlines in cache variables' values.
43535 # Ultrix sh set writes to stderr and can't be redirected directly,
43536 # and sets the high bit in the cache file unless we assign to the vars.
43537 {
43538 (set) 2>&1 |
43539 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43540 *ac_space=\ *)
43541 # `set' does not quote correctly, so add quotes (double-quote
43542 # substitution turns \\\\ into \\, and sed turns \\ into \).
43543 sed -n \
43544 "s/'/'\\\\''/g;
43545 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43546 ;;
43547 *)
43548 # `set' quotes correctly as required by POSIX, so do not add quotes.
43549 sed -n \
43550 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43551 ;;
43552 esac;
43553 } |
43554 sed '
43555 t clear
43556 : clear
43557 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43558 t end
43559 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43560 : end' >>confcache
43561 if diff $cache_file confcache >/dev/null 2>&1; then :; else
43562 if test -w $cache_file; then
43563 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43564 cat confcache >$cache_file
43565 else
43566 echo "not updating unwritable cache $cache_file"
43567 fi
43568 fi
43569 rm -f confcache
43570
43571 test "x$prefix" = xNONE && prefix=$ac_default_prefix
43572 # Let make expand exec_prefix.
43573 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
43574
43575 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43576 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43577 # trailing colons and then remove the whole line if VPATH becomes empty
43578 # (actually we leave an empty line to preserve line numbers).
43579 if test "x$srcdir" = x.; then
43580 ac_vpsub='/^[ ]*VPATH[ ]*=/{
43581 s/:*\$(srcdir):*/:/;
43582 s/:*\${srcdir}:*/:/;
43583 s/:*@srcdir@:*/:/;
43584 s/^\([^=]*=[ ]*\):*/\1/;
43585 s/:*$//;
43586 s/^[^=]*=[ ]*$//;
43587 }'
43588 fi
43589
43590 DEFS=-DHAVE_CONFIG_H
43591
43592 ac_libobjs=
43593 ac_ltlibobjs=
43594 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
43595 # 1. Remove the extension, and $U if already installed.
43596 ac_i=`echo "$ac_i" |
43597 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43598 # 2. Add them.
43599 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
43600 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
43601 done
43602 LIBOBJS=$ac_libobjs
43603
43604 LTLIBOBJS=$ac_ltlibobjs
43605
43606
43607
43608 : ${CONFIG_STATUS=./config.status}
43609 ac_clean_files_save=$ac_clean_files
43610 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
43611 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43612 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43613 cat >$CONFIG_STATUS <<_ACEOF
43614 #! $SHELL
43615 # Generated by $as_me.
43616 # Run this file to recreate the current configuration.
43617 # Compiler output produced by configure, useful for debugging
43618 # configure, is in config.log if it exists.
43619
43620 debug=false
43621 ac_cs_recheck=false
43622 ac_cs_silent=false
43623 SHELL=\${CONFIG_SHELL-$SHELL}
43624 _ACEOF
43625
43626 cat >>$CONFIG_STATUS <<\_ACEOF
43627 ## --------------------- ##
43628 ## M4sh Initialization. ##
43629 ## --------------------- ##
43630
43631 # Be Bourne compatible
43632 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
43633 emulate sh
43634 NULLCMD=:
43635 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43636 # is contrary to our usage. Disable this feature.
43637 alias -g '${1+"$@"}'='"$@"'
43638 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
43639 set -o posix
43640 fi
43641 DUALCASE=1; export DUALCASE # for MKS sh
43642
43643 # Support unset when possible.
43644 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
43645 as_unset=unset
43646 else
43647 as_unset=false
43648 fi
43649
43650
43651 # Work around bugs in pre-3.0 UWIN ksh.
43652 $as_unset ENV MAIL MAILPATH
43653 PS1='$ '
43654 PS2='> '
43655 PS4='+ '
43656
43657 # NLS nuisances.
43658 for as_var in \
43659 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43660 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43661 LC_TELEPHONE LC_TIME
43662 do
43663 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43664 eval $as_var=C; export $as_var
43665 else
43666 $as_unset $as_var
43667 fi
43668 done
43669
43670 # Required to use basename.
43671 if expr a : '\(a\)' >/dev/null 2>&1; then
43672 as_expr=expr
43673 else
43674 as_expr=false
43675 fi
43676
43677 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
43678 as_basename=basename
43679 else
43680 as_basename=false
43681 fi
43682
43683
43684 # Name of the executable.
43685 as_me=`$as_basename "$0" ||
43686 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43687 X"$0" : 'X\(//\)$' \| \
43688 X"$0" : 'X\(/\)$' \| \
43689 . : '\(.\)' 2>/dev/null ||
43690 echo X/"$0" |
43691 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
43692 /^X\/\(\/\/\)$/{ s//\1/; q; }
43693 /^X\/\(\/\).*/{ s//\1/; q; }
43694 s/.*/./; q'`
43695
43696
43697 # PATH needs CR, and LINENO needs CR and PATH.
43698 # Avoid depending upon Character Ranges.
43699 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
43700 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43701 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
43702 as_cr_digits='0123456789'
43703 as_cr_alnum=$as_cr_Letters$as_cr_digits
43704
43705 # The user is always right.
43706 if test "${PATH_SEPARATOR+set}" != set; then
43707 echo "#! /bin/sh" >conf$$.sh
43708 echo "exit 0" >>conf$$.sh
43709 chmod +x conf$$.sh
43710 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
43711 PATH_SEPARATOR=';'
43712 else
43713 PATH_SEPARATOR=:
43714 fi
43715 rm -f conf$$.sh
43716 fi
43717
43718
43719 as_lineno_1=$LINENO
43720 as_lineno_2=$LINENO
43721 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43722 test "x$as_lineno_1" != "x$as_lineno_2" &&
43723 test "x$as_lineno_3" = "x$as_lineno_2" || {
43724 # Find who we are. Look in the path if we contain no path at all
43725 # relative or not.
43726 case $0 in
43727 *[\\/]* ) as_myself=$0 ;;
43728 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43729 for as_dir in $PATH
43730 do
43731 IFS=$as_save_IFS
43732 test -z "$as_dir" && as_dir=.
43733 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
43734 done
43735
43736 ;;
43737 esac
43738 # We did not find ourselves, most probably we were run as `sh COMMAND'
43739 # in which case we are not to be found in the path.
43740 if test "x$as_myself" = x; then
43741 as_myself=$0
43742 fi
43743 if test ! -f "$as_myself"; then
43744 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
43745 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
43746 { (exit 1); exit 1; }; }
43747 fi
43748 case $CONFIG_SHELL in
43749 '')
43750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43751 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
43752 do
43753 IFS=$as_save_IFS
43754 test -z "$as_dir" && as_dir=.
43755 for as_base in sh bash ksh sh5; do
43756 case $as_dir in
43757 /*)
43758 if ("$as_dir/$as_base" -c '
43759 as_lineno_1=$LINENO
43760 as_lineno_2=$LINENO
43761 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43762 test "x$as_lineno_1" != "x$as_lineno_2" &&
43763 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
43764 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
43765 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
43766 CONFIG_SHELL=$as_dir/$as_base
43767 export CONFIG_SHELL
43768 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
43769 fi;;
43770 esac
43771 done
43772 done
43773 ;;
43774 esac
43775
43776 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
43777 # uniformly replaced by the line number. The first 'sed' inserts a
43778 # line-number line before each line; the second 'sed' does the real
43779 # work. The second script uses 'N' to pair each line-number line
43780 # with the numbered line, and appends trailing '-' during
43781 # substitution so that $LINENO is not a special case at line end.
43782 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
43783 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
43784 sed '=' <$as_myself |
43785 sed '
43786 N
43787 s,$,-,
43788 : loop
43789 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
43790 t loop
43791 s,-$,,
43792 s,^['$as_cr_digits']*\n,,
43793 ' >$as_me.lineno &&
43794 chmod +x $as_me.lineno ||
43795 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
43796 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
43797 { (exit 1); exit 1; }; }
43798
43799 # Don't try to exec as it changes $[0], causing all sort of problems
43800 # (the dirname of $[0] is not the place where we might find the
43801 # original and so on. Autoconf is especially sensible to this).
43802 . ./$as_me.lineno
43803 # Exit status is that of the last command.
43804 exit
43805 }
43806
43807
43808 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
43809 *c*,-n*) ECHO_N= ECHO_C='
43810 ' ECHO_T=' ' ;;
43811 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
43812 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
43813 esac
43814
43815 if expr a : '\(a\)' >/dev/null 2>&1; then
43816 as_expr=expr
43817 else
43818 as_expr=false
43819 fi
43820
43821 rm -f conf$$ conf$$.exe conf$$.file
43822 echo >conf$$.file
43823 if ln -s conf$$.file conf$$ 2>/dev/null; then
43824 # We could just check for DJGPP; but this test a) works b) is more generic
43825 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
43826 if test -f conf$$.exe; then
43827 # Don't use ln at all; we don't have any links
43828 as_ln_s='cp -p'
43829 else
43830 as_ln_s='ln -s'
43831 fi
43832 elif ln conf$$.file conf$$ 2>/dev/null; then
43833 as_ln_s=ln
43834 else
43835 as_ln_s='cp -p'
43836 fi
43837 rm -f conf$$ conf$$.exe conf$$.file
43838
43839 if mkdir -p . 2>/dev/null; then
43840 as_mkdir_p=:
43841 else
43842 test -d ./-p && rmdir ./-p
43843 as_mkdir_p=false
43844 fi
43845
43846 as_executable_p="test -f"
43847
43848 # Sed expression to map a string onto a valid CPP name.
43849 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
43850
43851 # Sed expression to map a string onto a valid variable name.
43852 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
43853
43854
43855 # IFS
43856 # We need space, tab and new line, in precisely that order.
43857 as_nl='
43858 '
43859 IFS=" $as_nl"
43860
43861 # CDPATH.
43862 $as_unset CDPATH
43863
43864 exec 6>&1
43865
43866 # Open the log real soon, to keep \$[0] and so on meaningful, and to
43867 # report actual input values of CONFIG_FILES etc. instead of their
43868 # values after options handling. Logging --version etc. is OK.
43869 exec 5>>config.log
43870 {
43871 echo
43872 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43873 ## Running $as_me. ##
43874 _ASBOX
43875 } >&5
43876 cat >&5 <<_CSEOF
43877
43878 This file was extended by wxWidgets $as_me 2.5.4, which was
43879 generated by GNU Autoconf 2.59. Invocation command line was
43880
43881 CONFIG_FILES = $CONFIG_FILES
43882 CONFIG_HEADERS = $CONFIG_HEADERS
43883 CONFIG_LINKS = $CONFIG_LINKS
43884 CONFIG_COMMANDS = $CONFIG_COMMANDS
43885 $ $0 $@
43886
43887 _CSEOF
43888 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
43889 echo >&5
43890 _ACEOF
43891
43892 # Files that config.status was made for.
43893 if test -n "$ac_config_files"; then
43894 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
43895 fi
43896
43897 if test -n "$ac_config_headers"; then
43898 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
43899 fi
43900
43901 if test -n "$ac_config_links"; then
43902 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
43903 fi
43904
43905 if test -n "$ac_config_commands"; then
43906 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
43907 fi
43908
43909 cat >>$CONFIG_STATUS <<\_ACEOF
43910
43911 ac_cs_usage="\
43912 \`$as_me' instantiates files from templates according to the
43913 current configuration.
43914
43915 Usage: $0 [OPTIONS] [FILE]...
43916
43917 -h, --help print this help, then exit
43918 -V, --version print version number, then exit
43919 -q, --quiet do not print progress messages
43920 -d, --debug don't remove temporary files
43921 --recheck update $as_me by reconfiguring in the same conditions
43922 --file=FILE[:TEMPLATE]
43923 instantiate the configuration file FILE
43924 --header=FILE[:TEMPLATE]
43925 instantiate the configuration header FILE
43926
43927 Configuration files:
43928 $config_files
43929
43930 Configuration headers:
43931 $config_headers
43932
43933 Configuration commands:
43934 $config_commands
43935
43936 Report bugs to <bug-autoconf@gnu.org>."
43937 _ACEOF
43938
43939 cat >>$CONFIG_STATUS <<_ACEOF
43940 ac_cs_version="\\
43941 wxWidgets config.status 2.5.4
43942 configured by $0, generated by GNU Autoconf 2.59,
43943 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
43944
43945 Copyright (C) 2003 Free Software Foundation, Inc.
43946 This config.status script is free software; the Free Software Foundation
43947 gives unlimited permission to copy, distribute and modify it."
43948 srcdir=$srcdir
43949 INSTALL="$INSTALL"
43950 _ACEOF
43951
43952 cat >>$CONFIG_STATUS <<\_ACEOF
43953 # If no file are specified by the user, then we need to provide default
43954 # value. By we need to know if files were specified by the user.
43955 ac_need_defaults=:
43956 while test $# != 0
43957 do
43958 case $1 in
43959 --*=*)
43960 ac_option=`expr "x$1" : 'x\([^=]*\)='`
43961 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
43962 ac_shift=:
43963 ;;
43964 -*)
43965 ac_option=$1
43966 ac_optarg=$2
43967 ac_shift=shift
43968 ;;
43969 *) # This is not an option, so the user has probably given explicit
43970 # arguments.
43971 ac_option=$1
43972 ac_need_defaults=false;;
43973 esac
43974
43975 case $ac_option in
43976 # Handling of the options.
43977 _ACEOF
43978 cat >>$CONFIG_STATUS <<\_ACEOF
43979 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
43980 ac_cs_recheck=: ;;
43981 --version | --vers* | -V )
43982 echo "$ac_cs_version"; exit 0 ;;
43983 --he | --h)
43984 # Conflict between --help and --header
43985 { { echo "$as_me:$LINENO: error: ambiguous option: $1
43986 Try \`$0 --help' for more information." >&5
43987 echo "$as_me: error: ambiguous option: $1
43988 Try \`$0 --help' for more information." >&2;}
43989 { (exit 1); exit 1; }; };;
43990 --help | --hel | -h )
43991 echo "$ac_cs_usage"; exit 0 ;;
43992 --debug | --d* | -d )
43993 debug=: ;;
43994 --file | --fil | --fi | --f )
43995 $ac_shift
43996 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
43997 ac_need_defaults=false;;
43998 --header | --heade | --head | --hea )
43999 $ac_shift
44000 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
44001 ac_need_defaults=false;;
44002 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44003 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44004 ac_cs_silent=: ;;
44005
44006 # This is an error.
44007 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44008 Try \`$0 --help' for more information." >&5
44009 echo "$as_me: error: unrecognized option: $1
44010 Try \`$0 --help' for more information." >&2;}
44011 { (exit 1); exit 1; }; } ;;
44012
44013 *) ac_config_targets="$ac_config_targets $1" ;;
44014
44015 esac
44016 shift
44017 done
44018
44019 ac_configure_extra_args=
44020
44021 if $ac_cs_silent; then
44022 exec 6>/dev/null
44023 ac_configure_extra_args="$ac_configure_extra_args --silent"
44024 fi
44025
44026 _ACEOF
44027 cat >>$CONFIG_STATUS <<_ACEOF
44028 if \$ac_cs_recheck; then
44029 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44030 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44031 fi
44032
44033 _ACEOF
44034
44035 cat >>$CONFIG_STATUS <<_ACEOF
44036 #
44037 # INIT-COMMANDS section.
44038 #
44039
44040 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44041 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44042 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44043 LN_S="${LN_S}"
44044
44045
44046 _ACEOF
44047
44048
44049
44050 cat >>$CONFIG_STATUS <<\_ACEOF
44051 for ac_config_target in $ac_config_targets
44052 do
44053 case "$ac_config_target" in
44054 # Handling of arguments.
44055 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44056 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44057 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
44058 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
44059 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
44060 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
44061 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44062 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44063 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44064 { (exit 1); exit 1; }; };;
44065 esac
44066 done
44067
44068 # If the user did not use the arguments to specify the items to instantiate,
44069 # then the envvar interface is used. Set only those that are not.
44070 # We use the long form for the default assignment because of an extremely
44071 # bizarre bug on SunOS 4.1.3.
44072 if $ac_need_defaults; then
44073 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
44074 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
44075 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
44076 fi
44077
44078 # Have a temporary directory for convenience. Make it in the build tree
44079 # simply because there is no reason to put it here, and in addition,
44080 # creating and moving files from /tmp can sometimes cause problems.
44081 # Create a temporary directory, and hook for its removal unless debugging.
44082 $debug ||
44083 {
44084 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44085 trap '{ (exit 1); exit 1; }' 1 2 13 15
44086 }
44087
44088 # Create a (secure) tmp directory for tmp files.
44089
44090 {
44091 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44092 test -n "$tmp" && test -d "$tmp"
44093 } ||
44094 {
44095 tmp=./confstat$$-$RANDOM
44096 (umask 077 && mkdir $tmp)
44097 } ||
44098 {
44099 echo "$me: cannot create a temporary directory in ." >&2
44100 { (exit 1); exit 1; }
44101 }
44102
44103 _ACEOF
44104
44105 cat >>$CONFIG_STATUS <<_ACEOF
44106
44107 #
44108 # CONFIG_FILES section.
44109 #
44110
44111 # No need to generate the scripts if there are no CONFIG_FILES.
44112 # This happens for instance when ./config.status config.h
44113 if test -n "\$CONFIG_FILES"; then
44114 # Protect against being on the right side of a sed subst in config.status.
44115 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44116 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44117 s,@SHELL@,$SHELL,;t t
44118 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44119 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44120 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44121 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44122 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44123 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44124 s,@exec_prefix@,$exec_prefix,;t t
44125 s,@prefix@,$prefix,;t t
44126 s,@program_transform_name@,$program_transform_name,;t t
44127 s,@bindir@,$bindir,;t t
44128 s,@sbindir@,$sbindir,;t t
44129 s,@libexecdir@,$libexecdir,;t t
44130 s,@datadir@,$datadir,;t t
44131 s,@sysconfdir@,$sysconfdir,;t t
44132 s,@sharedstatedir@,$sharedstatedir,;t t
44133 s,@localstatedir@,$localstatedir,;t t
44134 s,@libdir@,$libdir,;t t
44135 s,@includedir@,$includedir,;t t
44136 s,@oldincludedir@,$oldincludedir,;t t
44137 s,@infodir@,$infodir,;t t
44138 s,@mandir@,$mandir,;t t
44139 s,@build_alias@,$build_alias,;t t
44140 s,@host_alias@,$host_alias,;t t
44141 s,@target_alias@,$target_alias,;t t
44142 s,@DEFS@,$DEFS,;t t
44143 s,@ECHO_C@,$ECHO_C,;t t
44144 s,@ECHO_N@,$ECHO_N,;t t
44145 s,@ECHO_T@,$ECHO_T,;t t
44146 s,@LIBS@,$LIBS,;t t
44147 s,@build@,$build,;t t
44148 s,@build_cpu@,$build_cpu,;t t
44149 s,@build_vendor@,$build_vendor,;t t
44150 s,@build_os@,$build_os,;t t
44151 s,@host@,$host,;t t
44152 s,@host_cpu@,$host_cpu,;t t
44153 s,@host_vendor@,$host_vendor,;t t
44154 s,@host_os@,$host_os,;t t
44155 s,@target@,$target,;t t
44156 s,@target_cpu@,$target_cpu,;t t
44157 s,@target_vendor@,$target_vendor,;t t
44158 s,@target_os@,$target_os,;t t
44159 s,@CC@,$CC,;t t
44160 s,@CFLAGS@,$CFLAGS,;t t
44161 s,@LDFLAGS@,$LDFLAGS,;t t
44162 s,@CPPFLAGS@,$CPPFLAGS,;t t
44163 s,@ac_ct_CC@,$ac_ct_CC,;t t
44164 s,@EXEEXT@,$EXEEXT,;t t
44165 s,@OBJEXT@,$OBJEXT,;t t
44166 s,@CPP@,$CPP,;t t
44167 s,@EGREP@,$EGREP,;t t
44168 s,@CXX@,$CXX,;t t
44169 s,@CXXFLAGS@,$CXXFLAGS,;t t
44170 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44171 s,@RANLIB@,$RANLIB,;t t
44172 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44173 s,@AR@,$AR,;t t
44174 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44175 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44176 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44177 s,@STRIP@,$STRIP,;t t
44178 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44179 s,@LN_S@,$LN_S,;t t
44180 s,@CXXCPP@,$CXXCPP,;t t
44181 s,@subdirs@,$subdirs,;t t
44182 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44183 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44184 s,@GTK_LIBS@,$GTK_LIBS,;t t
44185 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44186 s,@X_CFLAGS@,$X_CFLAGS,;t t
44187 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44188 s,@X_LIBS@,$X_LIBS,;t t
44189 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44190 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44191 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44192 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44193 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44194 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44195 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44196 s,@RESCOMP@,$RESCOMP,;t t
44197 s,@DEREZ@,$DEREZ,;t t
44198 s,@SETFILE@,$SETFILE,;t t
44199 s,@LIBICONV@,$LIBICONV,;t t
44200 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44201 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44202 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44203 s,@SDL_LIBS@,$SDL_LIBS,;t t
44204 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44205 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44206 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44207 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44208 s,@GST_INSPECT@,$GST_INSPECT,;t t
44209 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44210 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44211 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44212 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44213 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44214 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44215 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44216 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44217 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44218 s,@VENDOR@,$VENDOR,;t t
44219 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44220 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44221 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44222 s,@WXUNIV@,$WXUNIV,;t t
44223 s,@MONOLITHIC@,$MONOLITHIC,;t t
44224 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44225 s,@EXTRALIBS@,$EXTRALIBS,;t t
44226 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44227 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44228 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44229 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44230 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44231 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44232 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44233 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44234 s,@UNICODE@,$UNICODE,;t t
44235 s,@BUILD@,$BUILD,;t t
44236 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44237 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44238 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44239 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44240 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44241 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44242 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44243 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44244 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44245 s,@SET_MAKE@,$SET_MAKE,;t t
44246 s,@MAKE_SET@,$MAKE_SET,;t t
44247 s,@ac_ct_AR@,$ac_ct_AR,;t t
44248 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44249 s,@NM@,$NM,;t t
44250 s,@ac_ct_NM@,$ac_ct_NM,;t t
44251 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44252 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44253 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44254 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44255 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44256 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44257 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44258 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44259 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44260 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44261 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44262 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44263 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44264 s,@LIBPREFIX@,$LIBPREFIX,;t t
44265 s,@LIBEXT@,$LIBEXT,;t t
44266 s,@DLLPREFIX@,$DLLPREFIX,;t t
44267 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44268 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44269 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44270 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44271 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44272 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44273 s,@PIC_FLAG@,$PIC_FLAG,;t t
44274 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44275 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44276 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44277 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44278 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44279 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44280 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44281 s,@GCC_PCH@,$GCC_PCH,;t t
44282 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44283 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44284 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44285 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44286 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44287 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44288 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44289 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44290 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44291 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44292 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44293 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44294 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44295 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44296 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44297 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44298 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44299 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44300 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
44301 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
44302 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
44303 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44304 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44305 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44306 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44307 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
44308 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
44309 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
44310 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44311 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44312 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44313 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44314 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44315 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44316 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44317 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44318 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44319 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44320 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44321 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44322 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44323 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44324 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44325 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
44326 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44327 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44328 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44329 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44330 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44331 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44332 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44333 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44334 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44335 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44336 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44337 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44338 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44339 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44340 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44341 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44342 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44343 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44344 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44345 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44346 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44347 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44348 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44349 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44350 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44351 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44352 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44353 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44354 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44355 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44356 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44357 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44358 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44359 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44360 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44361 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44362 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44363 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44364 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44365 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44366 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44367 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44368 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44369 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44370 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44371 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44372 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44373 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44374 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44375 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44376 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44377 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44378 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44379 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44380 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44381 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44382 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44383 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44384 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44385 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44386 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44387 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44388 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44389 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44390 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44391 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44392 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44393 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44394 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44395 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44396 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44397 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44398 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44399 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44400 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44401 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44402 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44403 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44404 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44405 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44406 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44407 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44408 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44409 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44410 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44411 s,@SHARED@,$SHARED,;t t
44412 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44413 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44414 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44415 s,@USE_GUI@,$USE_GUI,;t t
44416 s,@AFMINSTALL@,$AFMINSTALL,;t t
44417 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44418 s,@TOOLKIT@,$TOOLKIT,;t t
44419 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44420 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44421 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44422 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44423 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44424 s,@cross_compiling@,$cross_compiling,;t t
44425 s,@WIDGET_SET@,$WIDGET_SET,;t t
44426 s,@WX_RELEASE@,$WX_RELEASE,;t t
44427 s,@WX_VERSION@,$WX_VERSION,;t t
44428 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44429 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44430 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44431 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44432 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44433 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44434 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44435 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44436 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44437 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44438 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44439 s,@EXE_LINKER@,$EXE_LINKER,;t t
44440 s,@GUIDIST@,$GUIDIST,;t t
44441 s,@DISTDIR@,$DISTDIR,;t t
44442 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44443 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44444 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44445 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44446 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44447 s,@RESFLAGS@,$RESFLAGS,;t t
44448 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44449 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44450 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44451 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44452 s,@MACRESCOMP@,$MACRESCOMP,;t t
44453 s,@MACSETFILE@,$MACSETFILE,;t t
44454 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44455 s,@GCC@,$GCC,;t t
44456 s,@DLLTOOL@,$DLLTOOL,;t t
44457 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44458 s,@LIBOBJS@,$LIBOBJS,;t t
44459 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44460 CEOF
44461
44462 _ACEOF
44463
44464 cat >>$CONFIG_STATUS <<\_ACEOF
44465 # Split the substitutions into bite-sized pieces for seds with
44466 # small command number limits, like on Digital OSF/1 and HP-UX.
44467 ac_max_sed_lines=48
44468 ac_sed_frag=1 # Number of current file.
44469 ac_beg=1 # First line for current file.
44470 ac_end=$ac_max_sed_lines # Line after last line for current file.
44471 ac_more_lines=:
44472 ac_sed_cmds=
44473 while $ac_more_lines; do
44474 if test $ac_beg -gt 1; then
44475 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
44476 else
44477 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
44478 fi
44479 if test ! -s $tmp/subs.frag; then
44480 ac_more_lines=false
44481 else
44482 # The purpose of the label and of the branching condition is to
44483 # speed up the sed processing (if there are no `@' at all, there
44484 # is no need to browse any of the substitutions).
44485 # These are the two extra sed commands mentioned above.
44486 (echo ':t
44487 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
44488 if test -z "$ac_sed_cmds"; then
44489 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
44490 else
44491 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44492 fi
44493 ac_sed_frag=`expr $ac_sed_frag + 1`
44494 ac_beg=$ac_end
44495 ac_end=`expr $ac_end + $ac_max_sed_lines`
44496 fi
44497 done
44498 if test -z "$ac_sed_cmds"; then
44499 ac_sed_cmds=cat
44500 fi
44501 fi # test -n "$CONFIG_FILES"
44502
44503 _ACEOF
44504 cat >>$CONFIG_STATUS <<\_ACEOF
44505 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
44506 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44507 case $ac_file in
44508 - | *:- | *:-:* ) # input from stdin
44509 cat >$tmp/stdin
44510 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44511 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44512 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44513 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44514 * ) ac_file_in=$ac_file.in ;;
44515 esac
44516
44517 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44518 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
44519 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44520 X"$ac_file" : 'X\(//\)[^/]' \| \
44521 X"$ac_file" : 'X\(//\)$' \| \
44522 X"$ac_file" : 'X\(/\)' \| \
44523 . : '\(.\)' 2>/dev/null ||
44524 echo X"$ac_file" |
44525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44526 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44527 /^X\(\/\/\)$/{ s//\1/; q; }
44528 /^X\(\/\).*/{ s//\1/; q; }
44529 s/.*/./; q'`
44530 { if $as_mkdir_p; then
44531 mkdir -p "$ac_dir"
44532 else
44533 as_dir="$ac_dir"
44534 as_dirs=
44535 while test ! -d "$as_dir"; do
44536 as_dirs="$as_dir $as_dirs"
44537 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44538 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44539 X"$as_dir" : 'X\(//\)[^/]' \| \
44540 X"$as_dir" : 'X\(//\)$' \| \
44541 X"$as_dir" : 'X\(/\)' \| \
44542 . : '\(.\)' 2>/dev/null ||
44543 echo X"$as_dir" |
44544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44545 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44546 /^X\(\/\/\)$/{ s//\1/; q; }
44547 /^X\(\/\).*/{ s//\1/; q; }
44548 s/.*/./; q'`
44549 done
44550 test ! -n "$as_dirs" || mkdir $as_dirs
44551 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44552 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44553 { (exit 1); exit 1; }; }; }
44554
44555 ac_builddir=.
44556
44557 if test "$ac_dir" != .; then
44558 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44559 # A "../" for each directory in $ac_dir_suffix.
44560 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44561 else
44562 ac_dir_suffix= ac_top_builddir=
44563 fi
44564
44565 case $srcdir in
44566 .) # No --srcdir option. We are building in place.
44567 ac_srcdir=.
44568 if test -z "$ac_top_builddir"; then
44569 ac_top_srcdir=.
44570 else
44571 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44572 fi ;;
44573 [\\/]* | ?:[\\/]* ) # Absolute path.
44574 ac_srcdir=$srcdir$ac_dir_suffix;
44575 ac_top_srcdir=$srcdir ;;
44576 *) # Relative path.
44577 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
44578 ac_top_srcdir=$ac_top_builddir$srcdir ;;
44579 esac
44580
44581 # Do not use `cd foo && pwd` to compute absolute paths, because
44582 # the directories may not exist.
44583 case `pwd` in
44584 .) ac_abs_builddir="$ac_dir";;
44585 *)
44586 case "$ac_dir" in
44587 .) ac_abs_builddir=`pwd`;;
44588 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
44589 *) ac_abs_builddir=`pwd`/"$ac_dir";;
44590 esac;;
44591 esac
44592 case $ac_abs_builddir in
44593 .) ac_abs_top_builddir=${ac_top_builddir}.;;
44594 *)
44595 case ${ac_top_builddir}. in
44596 .) ac_abs_top_builddir=$ac_abs_builddir;;
44597 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
44598 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
44599 esac;;
44600 esac
44601 case $ac_abs_builddir in
44602 .) ac_abs_srcdir=$ac_srcdir;;
44603 *)
44604 case $ac_srcdir in
44605 .) ac_abs_srcdir=$ac_abs_builddir;;
44606 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
44607 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
44608 esac;;
44609 esac
44610 case $ac_abs_builddir in
44611 .) ac_abs_top_srcdir=$ac_top_srcdir;;
44612 *)
44613 case $ac_top_srcdir in
44614 .) ac_abs_top_srcdir=$ac_abs_builddir;;
44615 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
44616 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
44617 esac;;
44618 esac
44619
44620
44621 case $INSTALL in
44622 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
44623 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
44624 esac
44625
44626 # Let's still pretend it is `configure' which instantiates (i.e., don't
44627 # use $as_me), people would be surprised to read:
44628 # /* config.h. Generated by config.status. */
44629 if test x"$ac_file" = x-; then
44630 configure_input=
44631 else
44632 configure_input="$ac_file. "
44633 fi
44634 configure_input=$configure_input"Generated from `echo $ac_file_in |
44635 sed 's,.*/,,'` by configure."
44636
44637 # First look for the input files in the build tree, otherwise in the
44638 # src tree.
44639 ac_file_inputs=`IFS=:
44640 for f in $ac_file_in; do
44641 case $f in
44642 -) echo $tmp/stdin ;;
44643 [\\/$]*)
44644 # Absolute (can't be DOS-style, as IFS=:)
44645 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44646 echo "$as_me: error: cannot find input file: $f" >&2;}
44647 { (exit 1); exit 1; }; }
44648 echo "$f";;
44649 *) # Relative
44650 if test -f "$f"; then
44651 # Build tree
44652 echo "$f"
44653 elif test -f "$srcdir/$f"; then
44654 # Source tree
44655 echo "$srcdir/$f"
44656 else
44657 # /dev/null tree
44658 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44659 echo "$as_me: error: cannot find input file: $f" >&2;}
44660 { (exit 1); exit 1; }; }
44661 fi;;
44662 esac
44663 done` || { (exit 1); exit 1; }
44664
44665 if test x"$ac_file" != x-; then
44666 { echo "$as_me:$LINENO: creating $ac_file" >&5
44667 echo "$as_me: creating $ac_file" >&6;}
44668 rm -f "$ac_file"
44669 fi
44670 _ACEOF
44671 cat >>$CONFIG_STATUS <<_ACEOF
44672 sed "$ac_vpsub
44673 $extrasub
44674 _ACEOF
44675 cat >>$CONFIG_STATUS <<\_ACEOF
44676 :t
44677 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
44678 s,@configure_input@,$configure_input,;t t
44679 s,@srcdir@,$ac_srcdir,;t t
44680 s,@abs_srcdir@,$ac_abs_srcdir,;t t
44681 s,@top_srcdir@,$ac_top_srcdir,;t t
44682 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
44683 s,@builddir@,$ac_builddir,;t t
44684 s,@abs_builddir@,$ac_abs_builddir,;t t
44685 s,@top_builddir@,$ac_top_builddir,;t t
44686 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
44687 s,@INSTALL@,$ac_INSTALL,;t t
44688 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
44689 rm -f $tmp/stdin
44690 if test x"$ac_file" != x-; then
44691 mv $tmp/out $ac_file
44692 else
44693 cat $tmp/out
44694 rm -f $tmp/out
44695 fi
44696
44697 # Run the commands associated with the file.
44698 case $ac_file in
44699 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
44700 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
44701 esac
44702 done
44703 _ACEOF
44704 cat >>$CONFIG_STATUS <<\_ACEOF
44705
44706 #
44707 # CONFIG_HEADER section.
44708 #
44709
44710 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
44711 # NAME is the cpp macro being defined and VALUE is the value it is being given.
44712 #
44713 # ac_d sets the value in "#define NAME VALUE" lines.
44714 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
44715 ac_dB='[ ].*$,\1#\2'
44716 ac_dC=' '
44717 ac_dD=',;t'
44718 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
44719 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
44720 ac_uB='$,\1#\2define\3'
44721 ac_uC=' '
44722 ac_uD=',;t'
44723
44724 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
44725 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44726 case $ac_file in
44727 - | *:- | *:-:* ) # input from stdin
44728 cat >$tmp/stdin
44729 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44730 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44731 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44732 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44733 * ) ac_file_in=$ac_file.in ;;
44734 esac
44735
44736 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
44737 echo "$as_me: creating $ac_file" >&6;}
44738
44739 # First look for the input files in the build tree, otherwise in the
44740 # src tree.
44741 ac_file_inputs=`IFS=:
44742 for f in $ac_file_in; do
44743 case $f in
44744 -) echo $tmp/stdin ;;
44745 [\\/$]*)
44746 # Absolute (can't be DOS-style, as IFS=:)
44747 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44748 echo "$as_me: error: cannot find input file: $f" >&2;}
44749 { (exit 1); exit 1; }; }
44750 # Do quote $f, to prevent DOS paths from being IFS'd.
44751 echo "$f";;
44752 *) # Relative
44753 if test -f "$f"; then
44754 # Build tree
44755 echo "$f"
44756 elif test -f "$srcdir/$f"; then
44757 # Source tree
44758 echo "$srcdir/$f"
44759 else
44760 # /dev/null tree
44761 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44762 echo "$as_me: error: cannot find input file: $f" >&2;}
44763 { (exit 1); exit 1; }; }
44764 fi;;
44765 esac
44766 done` || { (exit 1); exit 1; }
44767 # Remove the trailing spaces.
44768 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
44769
44770 _ACEOF
44771
44772 # Transform confdefs.h into two sed scripts, `conftest.defines' and
44773 # `conftest.undefs', that substitutes the proper values into
44774 # config.h.in to produce config.h. The first handles `#define'
44775 # templates, and the second `#undef' templates.
44776 # And first: Protect against being on the right side of a sed subst in
44777 # config.status. Protect against being in an unquoted here document
44778 # in config.status.
44779 rm -f conftest.defines conftest.undefs
44780 # Using a here document instead of a string reduces the quoting nightmare.
44781 # Putting comments in sed scripts is not portable.
44782 #
44783 # `end' is used to avoid that the second main sed command (meant for
44784 # 0-ary CPP macros) applies to n-ary macro definitions.
44785 # See the Autoconf documentation for `clear'.
44786 cat >confdef2sed.sed <<\_ACEOF
44787 s/[\\&,]/\\&/g
44788 s,[\\$`],\\&,g
44789 t clear
44790 : clear
44791 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
44792 t end
44793 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
44794 : end
44795 _ACEOF
44796 # If some macros were called several times there might be several times
44797 # the same #defines, which is useless. Nevertheless, we may not want to
44798 # sort them, since we want the *last* AC-DEFINE to be honored.
44799 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
44800 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
44801 rm -f confdef2sed.sed
44802
44803 # This sed command replaces #undef with comments. This is necessary, for
44804 # example, in the case of _POSIX_SOURCE, which is predefined and required
44805 # on some systems where configure will not decide to define it.
44806 cat >>conftest.undefs <<\_ACEOF
44807 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
44808 _ACEOF
44809
44810 # Break up conftest.defines because some shells have a limit on the size
44811 # of here documents, and old seds have small limits too (100 cmds).
44812 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
44813 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
44814 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
44815 echo ' :' >>$CONFIG_STATUS
44816 rm -f conftest.tail
44817 while grep . conftest.defines >/dev/null
44818 do
44819 # Write a limited-size here document to $tmp/defines.sed.
44820 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
44821 # Speed up: don't consider the non `#define' lines.
44822 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
44823 # Work around the forget-to-reset-the-flag bug.
44824 echo 't clr' >>$CONFIG_STATUS
44825 echo ': clr' >>$CONFIG_STATUS
44826 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
44827 echo 'CEOF
44828 sed -f $tmp/defines.sed $tmp/in >$tmp/out
44829 rm -f $tmp/in
44830 mv $tmp/out $tmp/in
44831 ' >>$CONFIG_STATUS
44832 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
44833 rm -f conftest.defines
44834 mv conftest.tail conftest.defines
44835 done
44836 rm -f conftest.defines
44837 echo ' fi # grep' >>$CONFIG_STATUS
44838 echo >>$CONFIG_STATUS
44839
44840 # Break up conftest.undefs because some shells have a limit on the size
44841 # of here documents, and old seds have small limits too (100 cmds).
44842 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
44843 rm -f conftest.tail
44844 while grep . conftest.undefs >/dev/null
44845 do
44846 # Write a limited-size here document to $tmp/undefs.sed.
44847 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
44848 # Speed up: don't consider the non `#undef'
44849 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
44850 # Work around the forget-to-reset-the-flag bug.
44851 echo 't clr' >>$CONFIG_STATUS
44852 echo ': clr' >>$CONFIG_STATUS
44853 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
44854 echo 'CEOF
44855 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
44856 rm -f $tmp/in
44857 mv $tmp/out $tmp/in
44858 ' >>$CONFIG_STATUS
44859 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
44860 rm -f conftest.undefs
44861 mv conftest.tail conftest.undefs
44862 done
44863 rm -f conftest.undefs
44864
44865 cat >>$CONFIG_STATUS <<\_ACEOF
44866 # Let's still pretend it is `configure' which instantiates (i.e., don't
44867 # use $as_me), people would be surprised to read:
44868 # /* config.h. Generated by config.status. */
44869 if test x"$ac_file" = x-; then
44870 echo "/* Generated by configure. */" >$tmp/config.h
44871 else
44872 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
44873 fi
44874 cat $tmp/in >>$tmp/config.h
44875 rm -f $tmp/in
44876 if test x"$ac_file" != x-; then
44877 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
44878 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
44879 echo "$as_me: $ac_file is unchanged" >&6;}
44880 else
44881 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
44882 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44883 X"$ac_file" : 'X\(//\)[^/]' \| \
44884 X"$ac_file" : 'X\(//\)$' \| \
44885 X"$ac_file" : 'X\(/\)' \| \
44886 . : '\(.\)' 2>/dev/null ||
44887 echo X"$ac_file" |
44888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44889 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44890 /^X\(\/\/\)$/{ s//\1/; q; }
44891 /^X\(\/\).*/{ s//\1/; q; }
44892 s/.*/./; q'`
44893 { if $as_mkdir_p; then
44894 mkdir -p "$ac_dir"
44895 else
44896 as_dir="$ac_dir"
44897 as_dirs=
44898 while test ! -d "$as_dir"; do
44899 as_dirs="$as_dir $as_dirs"
44900 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44901 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44902 X"$as_dir" : 'X\(//\)[^/]' \| \
44903 X"$as_dir" : 'X\(//\)$' \| \
44904 X"$as_dir" : 'X\(/\)' \| \
44905 . : '\(.\)' 2>/dev/null ||
44906 echo X"$as_dir" |
44907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44908 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44909 /^X\(\/\/\)$/{ s//\1/; q; }
44910 /^X\(\/\).*/{ s//\1/; q; }
44911 s/.*/./; q'`
44912 done
44913 test ! -n "$as_dirs" || mkdir $as_dirs
44914 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44915 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44916 { (exit 1); exit 1; }; }; }
44917
44918 rm -f $ac_file
44919 mv $tmp/config.h $ac_file
44920 fi
44921 else
44922 cat $tmp/config.h
44923 rm -f $tmp/config.h
44924 fi
44925 done
44926 _ACEOF
44927 cat >>$CONFIG_STATUS <<\_ACEOF
44928
44929 #
44930 # CONFIG_COMMANDS section.
44931 #
44932 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
44933 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
44934 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
44935 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
44936 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44937 X"$ac_dest" : 'X\(//\)[^/]' \| \
44938 X"$ac_dest" : 'X\(//\)$' \| \
44939 X"$ac_dest" : 'X\(/\)' \| \
44940 . : '\(.\)' 2>/dev/null ||
44941 echo X"$ac_dest" |
44942 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44943 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44944 /^X\(\/\/\)$/{ s//\1/; q; }
44945 /^X\(\/\).*/{ s//\1/; q; }
44946 s/.*/./; q'`
44947 { if $as_mkdir_p; then
44948 mkdir -p "$ac_dir"
44949 else
44950 as_dir="$ac_dir"
44951 as_dirs=
44952 while test ! -d "$as_dir"; do
44953 as_dirs="$as_dir $as_dirs"
44954 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44955 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44956 X"$as_dir" : 'X\(//\)[^/]' \| \
44957 X"$as_dir" : 'X\(//\)$' \| \
44958 X"$as_dir" : 'X\(/\)' \| \
44959 . : '\(.\)' 2>/dev/null ||
44960 echo X"$as_dir" |
44961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44962 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44963 /^X\(\/\/\)$/{ s//\1/; q; }
44964 /^X\(\/\).*/{ s//\1/; q; }
44965 s/.*/./; q'`
44966 done
44967 test ! -n "$as_dirs" || mkdir $as_dirs
44968 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44969 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44970 { (exit 1); exit 1; }; }; }
44971
44972 ac_builddir=.
44973
44974 if test "$ac_dir" != .; then
44975 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44976 # A "../" for each directory in $ac_dir_suffix.
44977 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44978 else
44979 ac_dir_suffix= ac_top_builddir=
44980 fi
44981
44982 case $srcdir in
44983 .) # No --srcdir option. We are building in place.
44984 ac_srcdir=.
44985 if test -z "$ac_top_builddir"; then
44986 ac_top_srcdir=.
44987 else
44988 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44989 fi ;;
44990 [\\/]* | ?:[\\/]* ) # Absolute path.
44991 ac_srcdir=$srcdir$ac_dir_suffix;
44992 ac_top_srcdir=$srcdir ;;
44993 *) # Relative path.
44994 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
44995 ac_top_srcdir=$ac_top_builddir$srcdir ;;
44996 esac
44997
44998 # Do not use `cd foo && pwd` to compute absolute paths, because
44999 # the directories may not exist.
45000 case `pwd` in
45001 .) ac_abs_builddir="$ac_dir";;
45002 *)
45003 case "$ac_dir" in
45004 .) ac_abs_builddir=`pwd`;;
45005 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45006 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45007 esac;;
45008 esac
45009 case $ac_abs_builddir in
45010 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45011 *)
45012 case ${ac_top_builddir}. in
45013 .) ac_abs_top_builddir=$ac_abs_builddir;;
45014 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45015 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45016 esac;;
45017 esac
45018 case $ac_abs_builddir in
45019 .) ac_abs_srcdir=$ac_srcdir;;
45020 *)
45021 case $ac_srcdir in
45022 .) ac_abs_srcdir=$ac_abs_builddir;;
45023 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45024 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45025 esac;;
45026 esac
45027 case $ac_abs_builddir in
45028 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45029 *)
45030 case $ac_top_srcdir in
45031 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45032 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45033 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45034 esac;;
45035 esac
45036
45037
45038 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45039 echo "$as_me: executing $ac_dest commands" >&6;}
45040 case $ac_dest in
45041 wx-config ) rm -f wx-config
45042 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
45043 ;;
45044 esac
45045 done
45046 _ACEOF
45047
45048 cat >>$CONFIG_STATUS <<\_ACEOF
45049
45050 { (exit 0); exit 0; }
45051 _ACEOF
45052 chmod +x $CONFIG_STATUS
45053 ac_clean_files=$ac_clean_files_save
45054
45055
45056 # configure is writing to config.log, and then calls config.status.
45057 # config.status does its own redirection, appending to config.log.
45058 # Unfortunately, on DOS this fails, as config.log is still kept open
45059 # by configure, so config.status won't be able to write to it; its
45060 # output is simply discarded. So we exec the FD to /dev/null,
45061 # effectively closing config.log, so it can be properly (re)opened and
45062 # appended to by config.status. When coming back to configure, we
45063 # need to make the FD available again.
45064 if test "$no_create" != yes; then
45065 ac_cs_success=:
45066 ac_config_status_args=
45067 test "$silent" = yes &&
45068 ac_config_status_args="$ac_config_status_args --quiet"
45069 exec 5>/dev/null
45070 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
45071 exec 5>>config.log
45072 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45073 # would make configure fail if this is the last instruction.
45074 $ac_cs_success || { (exit 1); exit 1; }
45075 fi
45076
45077 #
45078 # CONFIG_SUBDIRS section.
45079 #
45080 if test "$no_recursion" != yes; then
45081
45082 # Remove --cache-file and --srcdir arguments so they do not pile up.
45083 ac_sub_configure_args=
45084 ac_prev=
45085 for ac_arg in $ac_configure_args; do
45086 if test -n "$ac_prev"; then
45087 ac_prev=
45088 continue
45089 fi
45090 case $ac_arg in
45091 -cache-file | --cache-file | --cache-fil | --cache-fi \
45092 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45093 ac_prev=cache_file ;;
45094 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45095 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45096 | --c=*)
45097 ;;
45098 --config-cache | -C)
45099 ;;
45100 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45101 ac_prev=srcdir ;;
45102 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45103 ;;
45104 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45105 ac_prev=prefix ;;
45106 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45107 ;;
45108 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
45109 esac
45110 done
45111
45112 # Always prepend --prefix to ensure using the same prefix
45113 # in subdir configurations.
45114 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
45115
45116 ac_popdir=`pwd`
45117 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
45118
45119 # Do not complain, so a configure script can configure whichever
45120 # parts of a large source tree are present.
45121 test -d $srcdir/$ac_dir || continue
45122
45123 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45124 echo "$as_me: configuring in $ac_dir" >&6;}
45125 { if $as_mkdir_p; then
45126 mkdir -p "$ac_dir"
45127 else
45128 as_dir="$ac_dir"
45129 as_dirs=
45130 while test ! -d "$as_dir"; do
45131 as_dirs="$as_dir $as_dirs"
45132 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45133 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45134 X"$as_dir" : 'X\(//\)[^/]' \| \
45135 X"$as_dir" : 'X\(//\)$' \| \
45136 X"$as_dir" : 'X\(/\)' \| \
45137 . : '\(.\)' 2>/dev/null ||
45138 echo X"$as_dir" |
45139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45140 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45141 /^X\(\/\/\)$/{ s//\1/; q; }
45142 /^X\(\/\).*/{ s//\1/; q; }
45143 s/.*/./; q'`
45144 done
45145 test ! -n "$as_dirs" || mkdir $as_dirs
45146 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45147 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45148 { (exit 1); exit 1; }; }; }
45149
45150 ac_builddir=.
45151
45152 if test "$ac_dir" != .; then
45153 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45154 # A "../" for each directory in $ac_dir_suffix.
45155 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45156 else
45157 ac_dir_suffix= ac_top_builddir=
45158 fi
45159
45160 case $srcdir in
45161 .) # No --srcdir option. We are building in place.
45162 ac_srcdir=.
45163 if test -z "$ac_top_builddir"; then
45164 ac_top_srcdir=.
45165 else
45166 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45167 fi ;;
45168 [\\/]* | ?:[\\/]* ) # Absolute path.
45169 ac_srcdir=$srcdir$ac_dir_suffix;
45170 ac_top_srcdir=$srcdir ;;
45171 *) # Relative path.
45172 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45173 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45174 esac
45175
45176 # Do not use `cd foo && pwd` to compute absolute paths, because
45177 # the directories may not exist.
45178 case `pwd` in
45179 .) ac_abs_builddir="$ac_dir";;
45180 *)
45181 case "$ac_dir" in
45182 .) ac_abs_builddir=`pwd`;;
45183 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45184 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45185 esac;;
45186 esac
45187 case $ac_abs_builddir in
45188 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45189 *)
45190 case ${ac_top_builddir}. in
45191 .) ac_abs_top_builddir=$ac_abs_builddir;;
45192 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45193 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45194 esac;;
45195 esac
45196 case $ac_abs_builddir in
45197 .) ac_abs_srcdir=$ac_srcdir;;
45198 *)
45199 case $ac_srcdir in
45200 .) ac_abs_srcdir=$ac_abs_builddir;;
45201 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45202 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45203 esac;;
45204 esac
45205 case $ac_abs_builddir in
45206 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45207 *)
45208 case $ac_top_srcdir in
45209 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45210 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45211 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45212 esac;;
45213 esac
45214
45215
45216 cd $ac_dir
45217
45218 # Check for guested configure; otherwise get Cygnus style configure.
45219 if test -f $ac_srcdir/configure.gnu; then
45220 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
45221 elif test -f $ac_srcdir/configure; then
45222 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
45223 elif test -f $ac_srcdir/configure.in; then
45224 ac_sub_configure=$ac_configure
45225 else
45226 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45227 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45228 ac_sub_configure=
45229 fi
45230
45231 # The recursion is here.
45232 if test -n "$ac_sub_configure"; then
45233 # Make the cache file name correct relative to the subdirectory.
45234 case $cache_file in
45235 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
45236 *) # Relative path.
45237 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
45238 esac
45239
45240 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45241 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45242 # The eval makes quoting arguments work.
45243 eval $ac_sub_configure $ac_sub_configure_args \
45244 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45245 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45246 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45247 { (exit 1); exit 1; }; }
45248 fi
45249
45250 cd "$ac_popdir"
45251 done
45252 fi
45253
45254
45255 echo
45256 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45257 echo ""
45258 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45259 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45260
45261 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45262 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45263 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45264
45265 echo " What level of wxWidgets compatibility should be enabled?"
45266 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45267 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45268
45269 echo " Which libraries should wxWidgets use?"
45270 echo " jpeg ${wxUSE_LIBJPEG-none}"
45271 echo " png ${wxUSE_LIBPNG-none}"
45272 echo " regex ${wxUSE_REGEX}"
45273 echo " tiff ${wxUSE_LIBTIFF-none}"
45274 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45275 echo " xpm ${wxUSE_LIBXPM-none}"
45276 fi
45277 echo " zlib ${wxUSE_ZLIB}"
45278 echo " odbc ${wxUSE_ODBC}"
45279 echo " expat ${wxUSE_EXPAT}"
45280 echo " libmspack ${wxUSE_LIBMSPACK}"
45281 echo " sdl ${wxUSE_LIBSDL}"
45282 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
45283
45284 echo ""
45285