]> git.saurik.com Git - wxWidgets.git/blob - configure
Add support for Metrowerks compilers.
[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.3.
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.3'
274 PACKAGE_STRING='wxWidgets 2.5.3'
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 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_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_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_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_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.3 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.3:";;
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-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
907 --enable-backtrace use wxStackWalker class for getting backtraces
908 --enable-cmdline use wxCmdLineParser class
909 --enable-datetime use wxDateTime class
910 --enable-dialupman use dialup network classes
911 --enable-dynlib use wxLibrary class for DLL loading
912 --enable-dynamicloader use (new) wxDynamicLibrary class
913 --enable-exceptions build exception-safe library
914 --enable-ffile use wxFFile class
915 --enable-file use wxFile class
916 --enable-filesystem use virtual file systems classes
917 --enable-fontmap use font encodings conversion classes
918 --enable-fs_inet use virtual HTTP/FTP filesystems
919 --enable-fs_zip use virtual ZIP filesystems
920 --enable-geometry use geometry class
921 --enable-log use logging system
922 --enable-longlong use wxLongLong class
923 --enable-mimetype use wxMimeTypesManager
924 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
925 --enable-snglinst use wxSingleInstanceChecker class
926 --enable-streams use wxStream etc classes
927 --enable-std_iostreams use standard C++ stream classes
928 --enable-stopwatch use wxStopWatch class
929 --enable-sysoptions use wxSystemOptions
930 --enable-textbuf use wxTextBuffer class
931 --enable-textfile use wxTextFile class
932 --enable-timer use wxTimer class
933 --enable-unicode compile wxString with Unicode support
934 --enable-sound use wxSound class
935 --enable-mediactrl use wxMediaCtrl class
936 --enable-wxprintfv use wxWidgets implementation of vprintf()
937 --enable-zipstream use wxZipInputStream
938 --enable-url use wxURL class
939 --enable-protocol use wxProtocol class
940 --enable-protocol-http HTTP support in wxProtocol
941 --enable-protocol-ftp FTP support in wxProtocol
942 --enable-protocol-file FILE support in wxProtocol
943 --enable-threads use threads
944 --enable-docview use document view architecture
945 --enable-help use help subsystem
946 --enable-mshtmlhelp use MS HTML Help (win32)
947 --enable-html use wxHTML sub-library
948 --enable-htmlhelp use wxHTML-based help
949 --enable-xrc use XRC resources sub-library
950 --enable-constraints use layout-constraints system
951 --enable-printarch use printing architecture
952 --enable-mdi use multiple document interface architecture
953 --enable-mdidoc use docview architecture with MDI
954 --enable-loggui use standard GUI logger
955 --enable-logwin use wxLogWindow
956 --enable-logdialog use wxLogDialog
957 --enable-webkit use wxWebKitCtrl (Mac)
958 --enable-postscript use wxPostscriptDC device context (default for gtk+)
959 --enable-prologio not available; see contrib
960 --enable-resources not available; see contrib
961 --enable-clipboard use wxClipboard class
962 --enable-dnd use Drag'n'Drop classes
963 --enable-metafile use win32 metafiles
964 --enable-controls use all usual controls
965 --enable-accel use accelerators
966 --enable-button use wxButton class
967 --enable-bmpbutton use wxBitmapButton class
968 --enable-calendar use wxCalendarCtrl class
969 --enable-caret use wxCaret class
970 --enable-checkbox use wxCheckBox class
971 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
972 --enable-choice use wxChoice class
973 --enable-choicebook use wxChoicebook class
974 --enable-combobox use wxComboBox class
975 --enable-display use wxDisplay class
976 --enable-gauge use wxGauge class
977 --enable-grid use wxGrid class
978 --enable-imaglist use wxImageList class
979 --enable-listbook use wxListbook class
980 --enable-listbox use wxListBox class
981 --enable-listctrl use wxListCtrl class
982 --enable-notebook use wxNotebook class
983 --enable-radiobox use wxRadioBox class
984 --enable-radiobtn use wxRadioButton class
985 --enable-sash use wxSashWindow class
986 --enable-scrollbar use wxScrollBar class and scrollable windows
987 --enable-slider use wxSlider class
988 --enable-spinbtn use wxSpinButton class
989 --enable-spinctrl use wxSpinCtrl class
990 --enable-splitter use wxSplitterWindow class
991 --enable-statbmp use wxStaticBitmap class
992 --enable-statbox use wxStaticBox class
993 --enable-statline use wxStaticLine class
994 --enable-stattext use wxStaticText class
995 --enable-statusbar use wxStatusBar class
996 --enable-tabdialog use wxTabControl class
997 --enable-textctrl use wxTextCtrl class
998 --enable-togglebtn use wxToggleButton class
999 --enable-toolbar use wxToolBar class
1000 --enable-tbarnative use native wxToolBar class
1001 --enable-tbarsmpl use wxToolBarSimple class
1002 --enable-treectrl use wxTreeCtrl class
1003 --enable-tipwindow use wxTipWindow class
1004 --enable-popupwin use wxPopUpWindow class
1005 --enable-commondlg use all common dialogs
1006 --enable-choicedlg use wxChoiceDialog
1007 --enable-coldlg use wxColourDialog
1008 --enable-filedlg use wxFileDialog
1009 --enable-finddlg use wxFindReplaceDialog
1010 --enable-fontdlg use wxFontDialog
1011 --enable-dirdlg use wxDirDialog
1012 --enable-msgdlg use wxMessageDialog
1013 --enable-numberdlg use wxNumberEntryDialog
1014 --enable-splash use wxSplashScreen
1015 --enable-textdlg use wxTextDialog
1016 --enable-tipdlg use startup tips
1017 --enable-progressdlg use wxProgressDialog
1018 --enable-wizarddlg use wxWizard
1019 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1020 --enable-miniframe use wxMiniFrame class
1021 --enable-tooltips use wxToolTip class
1022 --enable-splines use spline drawing code
1023 --enable-validators use wxValidator and derived classes
1024 --enable-busyinfo use wxBusyInfo
1025 --enable-joystick use wxJoystick (Linux only)
1026 --enable-metafiles use wxMetaFile (Windows only)
1027 --enable-dragimage use wxDragImage
1028 --enable-accessibility enable accessibility support
1029 --enable-palette use wxPalette class
1030 --enable-image use wxImage class
1031 --enable-gif use gif images (GIF file format)
1032 --enable-pcx use pcx images (PCX file format)
1033 --enable-iff use iff images (IFF file format)
1034 --enable-pnm use pnm images (PNM file format)
1035 --enable-xpm use xpm images (XPM file format)
1036 --enable-icocur use Windows ICO and CUR formats
1037 --enable-official_build official build of wxWidgets (win32 DLL only)
1038 --enable-vendor=VENDOR vendor name (win32 DLL only)
1039 --disable-largefile omit support for large files
1040 --disable-gtktest do not try to compile and run a test GTK+ program
1041 --disable-gtktest Do not try to compile and run a test GTK program
1042 --disable-sdltest Do not try to compile and run a test SDL program
1043 --enable-omf use OMF object format (OS/2)
1044 --disable-precomp-headers
1045 don't use precompiled headers even if compiler can
1046
1047 Optional Packages:
1048 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1049 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1050 --with-gtk use GTK+
1051 --with-motif use Motif/Lesstif
1052 --with-mac use Mac OS X
1053 --with-cocoa use Cocoa
1054 --with-wine use Wine
1055 --with-msw use MS-Windows
1056 --with-pm use OS/2 Presentation Manager
1057 --with-mgl use SciTech MGL
1058 --with-microwin use MicroWindows
1059 --with-x11 use X11
1060 --with-libpng use libpng (PNG image format)
1061 --with-libjpeg use libjpeg (JPEG file format)
1062 --with-libtiff use libtiff (TIFF file format)
1063 --with-libxpm use libxpm (XPM file format)
1064 --with-libmspack use libmspack (CHM help files loading)
1065 --with-sdl use SDL for audio on Unix
1066 --with-gnomeprint use GNOME print for printing under Unix
1067 --with-opengl use OpenGL (or Mesa)
1068 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1069 --with-regex enable support for wxRegEx class
1070 --with-zlib use zlib for LZW compression
1071 --with-odbc use the IODBC and wxODBC classes
1072 --with-expat enable XML support using expat parser
1073 --with-flavour=NAME specify a name to identify this build
1074 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1075 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1076 --with-x use the X Window System
1077 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1078 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1079 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1080 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1081 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1082
1083 Some influential environment variables:
1084 CC C compiler command
1085 CFLAGS C compiler flags
1086 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1087 nonstandard directory <lib dir>
1088 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1089 headers in a nonstandard directory <include dir>
1090 CPP C preprocessor
1091 CXX C++ compiler command
1092 CXXFLAGS C++ compiler flags
1093 CXXCPP C++ preprocessor
1094
1095 Use these variables to override the choices made by `configure' or to help
1096 it to find libraries and programs with nonstandard names/locations.
1097
1098 Report bugs to <wx-dev@lists.wxwidgets.org>.
1099 _ACEOF
1100 fi
1101
1102 if test "$ac_init_help" = "recursive"; then
1103 # If there are subdirs, report their specific --help.
1104 ac_popdir=`pwd`
1105 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1106 test -d $ac_dir || continue
1107 ac_builddir=.
1108
1109 if test "$ac_dir" != .; then
1110 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1111 # A "../" for each directory in $ac_dir_suffix.
1112 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1113 else
1114 ac_dir_suffix= ac_top_builddir=
1115 fi
1116
1117 case $srcdir in
1118 .) # No --srcdir option. We are building in place.
1119 ac_srcdir=.
1120 if test -z "$ac_top_builddir"; then
1121 ac_top_srcdir=.
1122 else
1123 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1124 fi ;;
1125 [\\/]* | ?:[\\/]* ) # Absolute path.
1126 ac_srcdir=$srcdir$ac_dir_suffix;
1127 ac_top_srcdir=$srcdir ;;
1128 *) # Relative path.
1129 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1130 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1131 esac
1132
1133 # Do not use `cd foo && pwd` to compute absolute paths, because
1134 # the directories may not exist.
1135 case `pwd` in
1136 .) ac_abs_builddir="$ac_dir";;
1137 *)
1138 case "$ac_dir" in
1139 .) ac_abs_builddir=`pwd`;;
1140 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1141 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1142 esac;;
1143 esac
1144 case $ac_abs_builddir in
1145 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1146 *)
1147 case ${ac_top_builddir}. in
1148 .) ac_abs_top_builddir=$ac_abs_builddir;;
1149 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1150 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1151 esac;;
1152 esac
1153 case $ac_abs_builddir in
1154 .) ac_abs_srcdir=$ac_srcdir;;
1155 *)
1156 case $ac_srcdir in
1157 .) ac_abs_srcdir=$ac_abs_builddir;;
1158 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1159 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1160 esac;;
1161 esac
1162 case $ac_abs_builddir in
1163 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1164 *)
1165 case $ac_top_srcdir in
1166 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1167 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1168 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1169 esac;;
1170 esac
1171
1172 cd $ac_dir
1173 # Check for guested configure; otherwise get Cygnus style configure.
1174 if test -f $ac_srcdir/configure.gnu; then
1175 echo
1176 $SHELL $ac_srcdir/configure.gnu --help=recursive
1177 elif test -f $ac_srcdir/configure; then
1178 echo
1179 $SHELL $ac_srcdir/configure --help=recursive
1180 elif test -f $ac_srcdir/configure.ac ||
1181 test -f $ac_srcdir/configure.in; then
1182 echo
1183 $ac_configure --help
1184 else
1185 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1186 fi
1187 cd "$ac_popdir"
1188 done
1189 fi
1190
1191 test -n "$ac_init_help" && exit 0
1192 if $ac_init_version; then
1193 cat <<\_ACEOF
1194 wxWidgets configure 2.5.3
1195 generated by GNU Autoconf 2.59
1196
1197 Copyright (C) 2003 Free Software Foundation, Inc.
1198 This configure script is free software; the Free Software Foundation
1199 gives unlimited permission to copy, distribute and modify it.
1200 _ACEOF
1201 exit 0
1202 fi
1203 exec 5>config.log
1204 cat >&5 <<_ACEOF
1205 This file contains any messages produced by compilers while
1206 running configure, to aid debugging if configure makes a mistake.
1207
1208 It was created by wxWidgets $as_me 2.5.3, which was
1209 generated by GNU Autoconf 2.59. Invocation command line was
1210
1211 $ $0 $@
1212
1213 _ACEOF
1214 {
1215 cat <<_ASUNAME
1216 ## --------- ##
1217 ## Platform. ##
1218 ## --------- ##
1219
1220 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1221 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1222 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1223 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1224 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1225
1226 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1227 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1228
1229 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1230 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1231 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1232 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1233 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1234 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1235 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1236
1237 _ASUNAME
1238
1239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1240 for as_dir in $PATH
1241 do
1242 IFS=$as_save_IFS
1243 test -z "$as_dir" && as_dir=.
1244 echo "PATH: $as_dir"
1245 done
1246
1247 } >&5
1248
1249 cat >&5 <<_ACEOF
1250
1251
1252 ## ----------- ##
1253 ## Core tests. ##
1254 ## ----------- ##
1255
1256 _ACEOF
1257
1258
1259 # Keep a trace of the command line.
1260 # Strip out --no-create and --no-recursion so they do not pile up.
1261 # Strip out --silent because we don't want to record it for future runs.
1262 # Also quote any args containing shell meta-characters.
1263 # Make two passes to allow for proper duplicate-argument suppression.
1264 ac_configure_args=
1265 ac_configure_args0=
1266 ac_configure_args1=
1267 ac_sep=
1268 ac_must_keep_next=false
1269 for ac_pass in 1 2
1270 do
1271 for ac_arg
1272 do
1273 case $ac_arg in
1274 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1276 | -silent | --silent | --silen | --sile | --sil)
1277 continue ;;
1278 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1279 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1280 esac
1281 case $ac_pass in
1282 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1283 2)
1284 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1285 if test $ac_must_keep_next = true; then
1286 ac_must_keep_next=false # Got value, back to normal.
1287 else
1288 case $ac_arg in
1289 *=* | --config-cache | -C | -disable-* | --disable-* \
1290 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1291 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1292 | -with-* | --with-* | -without-* | --without-* | --x)
1293 case "$ac_configure_args0 " in
1294 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1295 esac
1296 ;;
1297 -* ) ac_must_keep_next=true ;;
1298 esac
1299 fi
1300 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1301 # Get rid of the leading space.
1302 ac_sep=" "
1303 ;;
1304 esac
1305 done
1306 done
1307 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1308 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1309
1310 # When interrupted or exit'd, cleanup temporary files, and complete
1311 # config.log. We remove comments because anyway the quotes in there
1312 # would cause problems or look ugly.
1313 # WARNING: Be sure not to use single quotes in there, as some shells,
1314 # such as our DU 5.0 friend, will then `close' the trap.
1315 trap 'exit_status=$?
1316 # Save into config.log some information that might help in debugging.
1317 {
1318 echo
1319
1320 cat <<\_ASBOX
1321 ## ---------------- ##
1322 ## Cache variables. ##
1323 ## ---------------- ##
1324 _ASBOX
1325 echo
1326 # The following way of writing the cache mishandles newlines in values,
1327 {
1328 (set) 2>&1 |
1329 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1330 *ac_space=\ *)
1331 sed -n \
1332 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1333 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1334 ;;
1335 *)
1336 sed -n \
1337 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1338 ;;
1339 esac;
1340 }
1341 echo
1342
1343 cat <<\_ASBOX
1344 ## ----------------- ##
1345 ## Output variables. ##
1346 ## ----------------- ##
1347 _ASBOX
1348 echo
1349 for ac_var in $ac_subst_vars
1350 do
1351 eval ac_val=$`echo $ac_var`
1352 echo "$ac_var='"'"'$ac_val'"'"'"
1353 done | sort
1354 echo
1355
1356 if test -n "$ac_subst_files"; then
1357 cat <<\_ASBOX
1358 ## ------------- ##
1359 ## Output files. ##
1360 ## ------------- ##
1361 _ASBOX
1362 echo
1363 for ac_var in $ac_subst_files
1364 do
1365 eval ac_val=$`echo $ac_var`
1366 echo "$ac_var='"'"'$ac_val'"'"'"
1367 done | sort
1368 echo
1369 fi
1370
1371 if test -s confdefs.h; then
1372 cat <<\_ASBOX
1373 ## ----------- ##
1374 ## confdefs.h. ##
1375 ## ----------- ##
1376 _ASBOX
1377 echo
1378 sed "/^$/d" confdefs.h | sort
1379 echo
1380 fi
1381 test "$ac_signal" != 0 &&
1382 echo "$as_me: caught signal $ac_signal"
1383 echo "$as_me: exit $exit_status"
1384 } >&5
1385 rm -f core *.core &&
1386 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1387 exit $exit_status
1388 ' 0
1389 for ac_signal in 1 2 13 15; do
1390 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1391 done
1392 ac_signal=0
1393
1394 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1395 rm -rf conftest* confdefs.h
1396 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1397 echo >confdefs.h
1398
1399 # Predefined preprocessor variables.
1400
1401 cat >>confdefs.h <<_ACEOF
1402 #define PACKAGE_NAME "$PACKAGE_NAME"
1403 _ACEOF
1404
1405
1406 cat >>confdefs.h <<_ACEOF
1407 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1408 _ACEOF
1409
1410
1411 cat >>confdefs.h <<_ACEOF
1412 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1413 _ACEOF
1414
1415
1416 cat >>confdefs.h <<_ACEOF
1417 #define PACKAGE_STRING "$PACKAGE_STRING"
1418 _ACEOF
1419
1420
1421 cat >>confdefs.h <<_ACEOF
1422 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1423 _ACEOF
1424
1425
1426 # Let the site file select an alternate cache file if it wants to.
1427 # Prefer explicitly selected file to automatically selected ones.
1428 if test -z "$CONFIG_SITE"; then
1429 if test "x$prefix" != xNONE; then
1430 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1431 else
1432 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1433 fi
1434 fi
1435 for ac_site_file in $CONFIG_SITE; do
1436 if test -r "$ac_site_file"; then
1437 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1438 echo "$as_me: loading site script $ac_site_file" >&6;}
1439 sed 's/^/| /' "$ac_site_file" >&5
1440 . "$ac_site_file"
1441 fi
1442 done
1443
1444 if test -r "$cache_file"; then
1445 # Some versions of bash will fail to source /dev/null (special
1446 # files actually), so we avoid doing that.
1447 if test -f "$cache_file"; then
1448 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1449 echo "$as_me: loading cache $cache_file" >&6;}
1450 case $cache_file in
1451 [\\/]* | ?:[\\/]* ) . $cache_file;;
1452 *) . ./$cache_file;;
1453 esac
1454 fi
1455 else
1456 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1457 echo "$as_me: creating cache $cache_file" >&6;}
1458 >$cache_file
1459 fi
1460
1461 # Check that the precious variables saved in the cache have kept the same
1462 # value.
1463 ac_cache_corrupted=false
1464 for ac_var in `(set) 2>&1 |
1465 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1466 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1467 eval ac_new_set=\$ac_env_${ac_var}_set
1468 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1469 eval ac_new_val="\$ac_env_${ac_var}_value"
1470 case $ac_old_set,$ac_new_set in
1471 set,)
1472 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1473 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1474 ac_cache_corrupted=: ;;
1475 ,set)
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1478 ac_cache_corrupted=: ;;
1479 ,);;
1480 *)
1481 if test "x$ac_old_val" != "x$ac_new_val"; then
1482 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1483 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1484 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1485 echo "$as_me: former value: $ac_old_val" >&2;}
1486 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1487 echo "$as_me: current value: $ac_new_val" >&2;}
1488 ac_cache_corrupted=:
1489 fi;;
1490 esac
1491 # Pass precious variables to config.status.
1492 if test "$ac_new_set" = set; then
1493 case $ac_new_val in
1494 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1495 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1496 *) ac_arg=$ac_var=$ac_new_val ;;
1497 esac
1498 case " $ac_configure_args " in
1499 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1500 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1501 esac
1502 fi
1503 done
1504 if $ac_cache_corrupted; then
1505 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1506 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1507 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1508 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1509 { (exit 1); exit 1; }; }
1510 fi
1511
1512 ac_ext=c
1513 ac_cpp='$CPP $CPPFLAGS'
1514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1517
1518
1519
1520
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 ac_aux_dir=
1548 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1549 if test -f $ac_dir/install-sh; then
1550 ac_aux_dir=$ac_dir
1551 ac_install_sh="$ac_aux_dir/install-sh -c"
1552 break
1553 elif 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/shtool; then
1558 ac_aux_dir=$ac_dir
1559 ac_install_sh="$ac_aux_dir/shtool install -c"
1560 break
1561 fi
1562 done
1563 if test -z "$ac_aux_dir"; then
1564 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1565 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1566 { (exit 1); exit 1; }; }
1567 fi
1568 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1569 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1570 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1571
1572 # Make sure we can run config.sub.
1573 $ac_config_sub sun4 >/dev/null 2>&1 ||
1574 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1575 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1576 { (exit 1); exit 1; }; }
1577
1578 echo "$as_me:$LINENO: checking build system type" >&5
1579 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1580 if test "${ac_cv_build+set}" = set; then
1581 echo $ECHO_N "(cached) $ECHO_C" >&6
1582 else
1583 ac_cv_build_alias=$build_alias
1584 test -z "$ac_cv_build_alias" &&
1585 ac_cv_build_alias=`$ac_config_guess`
1586 test -z "$ac_cv_build_alias" &&
1587 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1588 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1589 { (exit 1); exit 1; }; }
1590 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1591 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1592 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1593 { (exit 1); exit 1; }; }
1594
1595 fi
1596 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1597 echo "${ECHO_T}$ac_cv_build" >&6
1598 build=$ac_cv_build
1599 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1600 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1601 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1602
1603
1604 echo "$as_me:$LINENO: checking host system type" >&5
1605 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1606 if test "${ac_cv_host+set}" = set; then
1607 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 else
1609 ac_cv_host_alias=$host_alias
1610 test -z "$ac_cv_host_alias" &&
1611 ac_cv_host_alias=$ac_cv_build_alias
1612 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1613 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1614 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1615 { (exit 1); exit 1; }; }
1616
1617 fi
1618 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1619 echo "${ECHO_T}$ac_cv_host" >&6
1620 host=$ac_cv_host
1621 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1622 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1623 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1624
1625
1626 echo "$as_me:$LINENO: checking target system type" >&5
1627 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1628 if test "${ac_cv_target+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1630 else
1631 ac_cv_target_alias=$target_alias
1632 test "x$ac_cv_target_alias" = "x" &&
1633 ac_cv_target_alias=$ac_cv_host_alias
1634 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1635 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1636 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1637 { (exit 1); exit 1; }; }
1638
1639 fi
1640 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1641 echo "${ECHO_T}$ac_cv_target" >&6
1642 target=$ac_cv_target
1643 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1644 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1645 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1646
1647
1648 # The aliases save the names the user supplied, while $host etc.
1649 # will get canonicalized.
1650 test -n "$target_alias" &&
1651 test "$program_prefix$program_suffix$program_transform_name" = \
1652 NONENONEs,x,x, &&
1653 program_prefix=${target_alias}-
1654
1655
1656
1657 wx_major_version_number=2
1658 wx_minor_version_number=5
1659 wx_release_number=3
1660 wx_subrelease_number=3
1661
1662 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1663 WX_VERSION=$WX_RELEASE.$wx_release_number
1664 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1665
1666 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1667
1668 WX_CURRENT=3
1669 WX_REVISION=0
1670 WX_AGE=3
1671
1672
1673
1674 USE_UNIX=1
1675 USE_OS2=0
1676 USE_WIN32=0
1677 USE_DOS=0
1678 USE_BEOS=0
1679 USE_MAC=0
1680
1681 USE_AIX=
1682 USE_BSD= USE_DARWIN= USE_FREEBSD=
1683 USE_GNU= USE_HPUX=
1684 USE_LINUX=
1685 USE_NETBSD=
1686 USE_OPENBSD=
1687 USE_OSF= USE_SGI=
1688 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1689 USE_ULTRIX=
1690 USE_UNIXWARE=
1691
1692 USE_ALPHA=
1693
1694 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1695
1696 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1697
1698 DEFAULT_wxUSE_COCOA=0
1699 DEFAULT_wxUSE_GTK=0
1700 DEFAULT_wxUSE_MAC=0
1701 DEFAULT_wxUSE_MGL=0
1702 DEFAULT_wxUSE_MICROWIN=0
1703 DEFAULT_wxUSE_MOTIF=0
1704 DEFAULT_wxUSE_MSW=0
1705 DEFAULT_wxUSE_PM=0
1706 DEFAULT_wxUSE_X11=0
1707
1708 DEFAULT_DEFAULT_wxUSE_COCOA=0
1709 DEFAULT_DEFAULT_wxUSE_GTK=0
1710 DEFAULT_DEFAULT_wxUSE_MAC=0
1711 DEFAULT_DEFAULT_wxUSE_MGL=0
1712 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1713 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1714 DEFAULT_DEFAULT_wxUSE_MSW=0
1715 DEFAULT_DEFAULT_wxUSE_PM=0
1716 DEFAULT_DEFAULT_wxUSE_X11=0
1717
1718 PROGRAM_EXT=
1719 SO_SUFFIX=so
1720 SAMPLES_RPATH_FLAG=
1721 SAMPLES_RPATH_POSTLINK=
1722
1723 case "${host}" in
1724 *-hp-hpux* )
1725 USE_HPUX=1
1726 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1727 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1728 SO_SUFFIX=sl
1729 cat >>confdefs.h <<\_ACEOF
1730 #define __HPUX__ 1
1731 _ACEOF
1732
1733 ;;
1734 *-*-linux* )
1735 USE_LINUX=1
1736 cat >>confdefs.h <<\_ACEOF
1737 #define __LINUX__ 1
1738 _ACEOF
1739
1740 TMP=`uname -m`
1741 if test "x$TMP" = "xalpha"; then
1742 USE_ALPHA=1
1743 cat >>confdefs.h <<\_ACEOF
1744 #define __ALPHA__ 1
1745 _ACEOF
1746
1747 fi
1748 DEFAULT_DEFAULT_wxUSE_GTK=1
1749 ;;
1750 *-*-gnu* | *-*-k*bsd*-gnu )
1751 USE_GNU=1
1752 TMP=`uname -m`
1753 if test "x$TMP" = "xalpha"; then
1754 USE_ALPHA=1
1755 cat >>confdefs.h <<\_ACEOF
1756 #define __ALPHA__ 1
1757 _ACEOF
1758
1759 fi
1760 DEFAULT_DEFAULT_wxUSE_GTK=1
1761 ;;
1762 *-*-irix5* | *-*-irix6* )
1763 USE_SGI=1
1764 USE_SVR4=1
1765 cat >>confdefs.h <<\_ACEOF
1766 #define __SGI__ 1
1767 _ACEOF
1768
1769 cat >>confdefs.h <<\_ACEOF
1770 #define __SVR4__ 1
1771 _ACEOF
1772
1773 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1774 ;;
1775 *-*-solaris2* )
1776 USE_SUN=1
1777 USE_SOLARIS=1
1778 USE_SVR4=1
1779 cat >>confdefs.h <<\_ACEOF
1780 #define __SUN__ 1
1781 _ACEOF
1782
1783 cat >>confdefs.h <<\_ACEOF
1784 #define __SOLARIS__ 1
1785 _ACEOF
1786
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __SVR4__ 1
1789 _ACEOF
1790
1791 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1792 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1793 ;;
1794 *-*-sunos4* )
1795 USE_SUN=1
1796 USE_SUNOS=1
1797 USE_BSD=1
1798 cat >>confdefs.h <<\_ACEOF
1799 #define __SUN__ 1
1800 _ACEOF
1801
1802 cat >>confdefs.h <<\_ACEOF
1803 #define __SUNOS__ 1
1804 _ACEOF
1805
1806 cat >>confdefs.h <<\_ACEOF
1807 #define __BSD__ 1
1808 _ACEOF
1809
1810 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1811 ;;
1812 *-*-freebsd*)
1813 USE_BSD=1
1814 USE_FREEBSD=1
1815 cat >>confdefs.h <<\_ACEOF
1816 #define __FREEBSD__ 1
1817 _ACEOF
1818
1819 cat >>confdefs.h <<\_ACEOF
1820 #define __BSD__ 1
1821 _ACEOF
1822
1823 DEFAULT_DEFAULT_wxUSE_GTK=1
1824 ;;
1825 *-*-openbsd*)
1826 USE_BSD=1
1827 USE_OPENBSD=1
1828 cat >>confdefs.h <<\_ACEOF
1829 #define __OPENBSD__ 1
1830 _ACEOF
1831
1832 cat >>confdefs.h <<\_ACEOF
1833 #define __BSD__ 1
1834 _ACEOF
1835
1836 DEFAULT_DEFAULT_wxUSE_GTK=1
1837 ;;
1838 *-*-netbsd*)
1839 USE_BSD=1
1840 USE_NETBSD=1
1841 cat >>confdefs.h <<\_ACEOF
1842 #define __NETBSD__ 1
1843 _ACEOF
1844
1845 cat >>confdefs.h <<\_ACEOF
1846 #define __BSD__ 1
1847 _ACEOF
1848
1849 DEFAULT_DEFAULT_wxUSE_GTK=1
1850 ;;
1851 *-*-osf* )
1852 USE_ALPHA=1
1853 USE_OSF=1
1854 cat >>confdefs.h <<\_ACEOF
1855 #define __ALPHA__ 1
1856 _ACEOF
1857
1858 cat >>confdefs.h <<\_ACEOF
1859 #define __OSF__ 1
1860 _ACEOF
1861
1862 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1863 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1864 ;;
1865 *-*-dgux5* )
1866 USE_ALPHA=1
1867 USE_SVR4=1
1868 cat >>confdefs.h <<\_ACEOF
1869 #define __ALPHA__ 1
1870 _ACEOF
1871
1872 cat >>confdefs.h <<\_ACEOF
1873 #define __SVR4__ 1
1874 _ACEOF
1875
1876 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1877 ;;
1878 *-*-sysv5* )
1879 USE_SYSV=1
1880 USE_SVR4=1
1881 cat >>confdefs.h <<\_ACEOF
1882 #define __SYSV__ 1
1883 _ACEOF
1884
1885 cat >>confdefs.h <<\_ACEOF
1886 #define __SVR4__ 1
1887 _ACEOF
1888
1889 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1890 ;;
1891 *-*-aix* )
1892 USE_AIX=1
1893 USE_SYSV=1
1894 USE_SVR4=1
1895 SO_SUFFIX=a
1896 cat >>confdefs.h <<\_ACEOF
1897 #define __AIX__ 1
1898 _ACEOF
1899
1900 cat >>confdefs.h <<\_ACEOF
1901 #define __SYSV__ 1
1902 _ACEOF
1903
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __SVR4__ 1
1906 _ACEOF
1907
1908 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1909 ;;
1910
1911 *-*-*UnixWare*)
1912 USE_SYSV=1
1913 USE_SVR4=1
1914 USE_UNIXWARE=1
1915 cat >>confdefs.h <<\_ACEOF
1916 #define __UNIXWARE__ 1
1917 _ACEOF
1918
1919 ;;
1920
1921 *-*-cygwin* | *-*-mingw32* )
1922 SO_SUFFIX=dll
1923 PROGRAM_EXT=".exe"
1924 RESCOMP=windres
1925 DEFAULT_DEFAULT_wxUSE_MSW=1
1926 ;;
1927
1928 *-pc-msdosdjgpp )
1929 USE_UNIX=0
1930 USE_DOS=1
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __DOS__ 1
1933 _ACEOF
1934
1935 PROGRAM_EXT=".exe"
1936 DEFAULT_DEFAULT_wxUSE_MGL=1
1937 LIBS="$LIBS -lstdc++"
1938 ;;
1939
1940 *-pc-os2_emx | *-pc-os2-emx )
1941 cat >>confdefs.h <<\_ACEOF
1942 #define __EMX__ 1
1943 _ACEOF
1944
1945 USE_OS2=1
1946 cat >>confdefs.h <<\_ACEOF
1947 #define __OS2__ 1
1948 _ACEOF
1949
1950 PROGRAM_EXT=".exe"
1951 DEFAULT_DEFAULT_wxUSE_PM=1
1952 CXX=gcc
1953 LDFLAGS="$LDFLAGS -Zcrtdll"
1954 ac_executable_extensions=".exe"
1955 export ac_executable_extensions
1956 ac_save_IFS="$IFS"
1957 IFS='\\'
1958 ac_TEMP_PATH=
1959 for ac_dir in $PATH; do
1960 IFS=$ac_save_IFS
1961 if test -z "$ac_TEMP_PATH"; then
1962 ac_TEMP_PATH="$ac_dir"
1963 else
1964 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1965 fi
1966 done
1967 export PATH="$ac_TEMP_PATH"
1968 unset ac_TEMP_PATH
1969 ;;
1970
1971 powerpc-*-darwin* )
1972 USE_BSD=1
1973 USE_DARWIN=1
1974 SO_SUFFIX=dylib
1975 cat >>confdefs.h <<\_ACEOF
1976 #define __BSD__ 1
1977 _ACEOF
1978
1979 cat >>confdefs.h <<\_ACEOF
1980 #define __DARWIN__ 1
1981 _ACEOF
1982
1983 cat >>confdefs.h <<\_ACEOF
1984 #define __POWERPC__ 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_SNGLINST_CHECKER=no
2075 DEFAULT_wxUSE_STD_IOSTREAM=no
2076 DEFAULT_wxUSE_CMDLINE_PARSER=no
2077 DEFAULT_wxUSE_DATETIME=no
2078 DEFAULT_wxUSE_TIMER=no
2079 DEFAULT_wxUSE_STOPWATCH=no
2080 DEFAULT_wxUSE_FILE=no
2081 DEFAULT_wxUSE_FFILE=no
2082 DEFAULT_wxUSE_TEXTBUFFER=no
2083 DEFAULT_wxUSE_TEXTFILE=no
2084 DEFAULT_wxUSE_SOUND=no
2085 DEFAULT_wxUSE_MEDIACTRL=no
2086 DEFAULT_wxUSE_DIRECTSHOW=no
2087 DEFAULT_wxUSE_INTL=no
2088 DEFAULT_wxUSE_CONFIG=no
2089 DEFAULT_wxUSE_FONTMAP=no
2090 DEFAULT_wxUSE_STREAMS=no
2091 DEFAULT_wxUSE_SOCKETS=no
2092 DEFAULT_wxUSE_OLE=no
2093 DEFAULT_wxUSE_DATAOBJ=no
2094 DEFAULT_wxUSE_DIALUP_MANAGER=no
2095 DEFAULT_wxUSE_JOYSTICK=no
2096 DEFAULT_wxUSE_DYNLIB_CLASS=no
2097 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2098 DEFAULT_wxUSE_LONGLONG=no
2099 DEFAULT_wxUSE_GEOMETRY=no
2100
2101 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2102 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2103 DEFAULT_wxUSE_POSTSCRIPT=no
2104
2105 DEFAULT_wxUSE_CLIPBOARD=no
2106 DEFAULT_wxUSE_TOOLTIPS=no
2107 DEFAULT_wxUSE_DRAG_AND_DROP=no
2108 DEFAULT_wxUSE_DRAGIMAGE=no
2109 DEFAULT_wxUSE_SPLINES=no
2110
2111 DEFAULT_wxUSE_MDI=no
2112 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2113 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2114 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2115
2116 DEFAULT_wxUSE_RESOURCES=no
2117 DEFAULT_wxUSE_CONSTRAINTS=no
2118 DEFAULT_wxUSE_IPC=no
2119 DEFAULT_wxUSE_HELP=no
2120 DEFAULT_wxUSE_MS_HTML_HELP=no
2121 DEFAULT_wxUSE_WXHTML_HELP=no
2122 DEFAULT_wxUSE_TREELAYOUT=no
2123 DEFAULT_wxUSE_METAFILE=no
2124 DEFAULT_wxUSE_MIMETYPE=no
2125 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2126 DEFAULT_wxUSE_PROTOCOL=no
2127 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2128 DEFAULT_wxUSE_PROTOCOL_FTP=no
2129 DEFAULT_wxUSE_PROTOCOL_FILE=no
2130 DEFAULT_wxUSE_URL=no
2131
2132 DEFAULT_wxUSE_COMMONDLGS=no
2133 DEFAULT_wxUSE_CHOICEDLG=no
2134 DEFAULT_wxUSE_COLOURDLG=no
2135 DEFAULT_wxUSE_DIRDLG=no
2136 DEFAULT_wxUSE_FILEDLG=no
2137 DEFAULT_wxUSE_FINDREPLDLG=no
2138 DEFAULT_wxUSE_FONTDLG=no
2139 DEFAULT_wxUSE_MSGDLG=no
2140 DEFAULT_wxUSE_NUMBERDLG=no
2141 DEFAULT_wxUSE_TEXTDLG=no
2142 DEFAULT_wxUSE_SPLASH=no
2143 DEFAULT_wxUSE_STARTUP_TIPS=no
2144 DEFAULT_wxUSE_PROGRESSDLG=no
2145 DEFAULT_wxUSE_WIZARDDLG=no
2146
2147 DEFAULT_wxUSE_MENUS=no
2148 DEFAULT_wxUSE_MINIFRAME=no
2149 DEFAULT_wxUSE_HTML=no
2150 DEFAULT_wxUSE_XRC=no
2151 DEFAULT_wxUSE_WEBKIT=no
2152 DEFAULT_wxUSE_FILESYSTEM=no
2153 DEFAULT_wxUSE_FS_INET=no
2154 DEFAULT_wxUSE_FS_ZIP=no
2155 DEFAULT_wxUSE_BUSYINFO=no
2156 DEFAULT_wxUSE_ZIPSTREAM=no
2157 DEFAULT_wxUSE_VALIDATORS=no
2158
2159 DEFAULT_wxUSE_ACCEL=no
2160 DEFAULT_wxUSE_BUTTON=no
2161 DEFAULT_wxUSE_BMPBUTTON=no
2162 DEFAULT_wxUSE_CALCTRL=no
2163 DEFAULT_wxUSE_CARET=no
2164 DEFAULT_wxUSE_CHECKBOX=no
2165 DEFAULT_wxUSE_CHECKLST=no
2166 DEFAULT_wxUSE_CHOICE=no
2167 DEFAULT_wxUSE_CHOICEBOOK=no
2168 DEFAULT_wxUSE_COMBOBOX=no
2169 DEFAULT_wxUSE_DISPLAY=no
2170 DEFAULT_wxUSE_GAUGE=no
2171 DEFAULT_wxUSE_GRID=no
2172 DEFAULT_wxUSE_IMAGLIST=no
2173 DEFAULT_wxUSE_LISTBOOK=no
2174 DEFAULT_wxUSE_LISTBOX=no
2175 DEFAULT_wxUSE_LISTCTRL=no
2176 DEFAULT_wxUSE_NOTEBOOK=no
2177 DEFAULT_wxUSE_RADIOBOX=no
2178 DEFAULT_wxUSE_RADIOBTN=no
2179 DEFAULT_wxUSE_SASH=no
2180 DEFAULT_wxUSE_SCROLLBAR=no
2181 DEFAULT_wxUSE_SLIDER=no
2182 DEFAULT_wxUSE_SPINBTN=no
2183 DEFAULT_wxUSE_SPINCTRL=no
2184 DEFAULT_wxUSE_SPLITTER=no
2185 DEFAULT_wxUSE_STATBMP=no
2186 DEFAULT_wxUSE_STATBOX=no
2187 DEFAULT_wxUSE_STATLINE=no
2188 DEFAULT_wxUSE_STATTEXT=no
2189 DEFAULT_wxUSE_STATUSBAR=yes
2190 DEFAULT_wxUSE_TABDIALOG=no
2191 DEFAULT_wxUSE_TEXTCTRL=no
2192 DEFAULT_wxUSE_TOGGLEBTN=no
2193 DEFAULT_wxUSE_TOOLBAR=no
2194 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2195 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2196 DEFAULT_wxUSE_TREECTRL=no
2197 DEFAULT_wxUSE_POPUPWIN=no
2198 DEFAULT_wxUSE_TIPWINDOW=no
2199
2200 DEFAULT_wxUSE_UNICODE=no
2201 DEFAULT_wxUSE_UNICODE_MSLU=no
2202 DEFAULT_wxUSE_WCSRTOMBS=no
2203
2204 DEFAULT_wxUSE_PALETTE=no
2205 DEFAULT_wxUSE_IMAGE=no
2206 DEFAULT_wxUSE_GIF=no
2207 DEFAULT_wxUSE_PCX=no
2208 DEFAULT_wxUSE_PNM=no
2209 DEFAULT_wxUSE_IFF=no
2210 DEFAULT_wxUSE_XPM=no
2211 DEFAULT_wxUSE_ICO_CUR=no
2212 DEFAULT_wxUSE_ACCESSIBILITY=no
2213
2214 DEFAULT_wxUSE_MONOLITHIC=no
2215 DEFAULT_wxUSE_PLUGINS=no
2216 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2217 else
2218 DEFAULT_wxUSE_UNIVERSAL=no
2219 DEFAULT_wxUSE_STL=no
2220
2221 DEFAULT_wxUSE_NANOX=no
2222
2223 DEFAULT_wxUSE_THREADS=yes
2224
2225 DEFAULT_wxUSE_SHARED=yes
2226 DEFAULT_wxUSE_OPTIMISE=yes
2227 DEFAULT_wxUSE_PROFILE=no
2228 DEFAULT_wxUSE_NO_DEPS=no
2229 DEFAULT_wxUSE_NO_RTTI=no
2230 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2231 DEFAULT_wxUSE_RPATH=yes
2232 DEFAULT_wxUSE_PERMISSIVE=no
2233 DEFAULT_wxUSE_DEBUG_FLAG=no
2234 DEFAULT_wxUSE_DEBUG_INFO=no
2235 DEFAULT_wxUSE_DEBUG_GDB=no
2236 DEFAULT_wxUSE_MEM_TRACING=no
2237 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2238 DEFAULT_wxUSE_DMALLOC=no
2239 DEFAULT_wxUSE_APPLE_IEEE=yes
2240
2241 DEFAULT_wxUSE_EXCEPTIONS=yes
2242 DEFAULT_wxUSE_LOG=yes
2243 DEFAULT_wxUSE_LOGWINDOW=yes
2244 DEFAULT_wxUSE_LOGGUI=yes
2245 DEFAULT_wxUSE_LOGDIALOG=yes
2246
2247 DEFAULT_wxUSE_GUI=yes
2248
2249 DEFAULT_wxUSE_REGEX=yes
2250 DEFAULT_wxUSE_XML=yes
2251 DEFAULT_wxUSE_EXPAT=yes
2252 DEFAULT_wxUSE_ZLIB=yes
2253 DEFAULT_wxUSE_LIBPNG=yes
2254 DEFAULT_wxUSE_LIBJPEG=yes
2255 DEFAULT_wxUSE_LIBTIFF=yes
2256 DEFAULT_wxUSE_LIBXPM=yes
2257 DEFAULT_wxUSE_LIBMSPACK=yes
2258 DEFAULT_wxUSE_LIBSDL=no
2259 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2260 DEFAULT_wxUSE_ODBC=no
2261 DEFAULT_wxUSE_OPENGL=no
2262
2263 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2264 DEFAULT_wxUSE_STACKWALKER=yes
2265 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2266 DEFAULT_wxUSE_STD_IOSTREAM=no
2267 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2268 DEFAULT_wxUSE_DATETIME=yes
2269 DEFAULT_wxUSE_TIMER=yes
2270 DEFAULT_wxUSE_STOPWATCH=yes
2271 DEFAULT_wxUSE_FILE=yes
2272 DEFAULT_wxUSE_FFILE=yes
2273 DEFAULT_wxUSE_TEXTBUFFER=yes
2274 DEFAULT_wxUSE_TEXTFILE=yes
2275 DEFAULT_wxUSE_SOUND=yes
2276 DEFAULT_wxUSE_MEDIACTRL=no
2277 DEFAULT_wxUSE_DIRECTSHOW=no
2278 DEFAULT_wxUSE_INTL=yes
2279 DEFAULT_wxUSE_CONFIG=yes
2280 DEFAULT_wxUSE_FONTMAP=yes
2281 DEFAULT_wxUSE_STREAMS=yes
2282 DEFAULT_wxUSE_SOCKETS=yes
2283 DEFAULT_wxUSE_OLE=yes
2284 DEFAULT_wxUSE_DATAOBJ=yes
2285 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2286 DEFAULT_wxUSE_JOYSTICK=yes
2287 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2288 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2289 DEFAULT_wxUSE_LONGLONG=yes
2290 DEFAULT_wxUSE_GEOMETRY=yes
2291
2292 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2293 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2294 DEFAULT_wxUSE_POSTSCRIPT=yes
2295
2296 DEFAULT_wxUSE_CLIPBOARD=yes
2297 DEFAULT_wxUSE_TOOLTIPS=yes
2298 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2299 DEFAULT_wxUSE_DRAGIMAGE=yes
2300 DEFAULT_wxUSE_SPLINES=yes
2301
2302 DEFAULT_wxUSE_MDI=yes
2303 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2304 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2305 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2306
2307 DEFAULT_wxUSE_RESOURCES=no
2308 DEFAULT_wxUSE_CONSTRAINTS=yes
2309 DEFAULT_wxUSE_IPC=yes
2310 DEFAULT_wxUSE_HELP=yes
2311 DEFAULT_wxUSE_MS_HTML_HELP=yes
2312 DEFAULT_wxUSE_WXHTML_HELP=yes
2313 DEFAULT_wxUSE_TREELAYOUT=yes
2314 DEFAULT_wxUSE_METAFILE=yes
2315 DEFAULT_wxUSE_MIMETYPE=yes
2316 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2317 DEFAULT_wxUSE_PROTOCOL=yes
2318 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2319 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2320 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2321 DEFAULT_wxUSE_URL=yes
2322
2323 DEFAULT_wxUSE_COMMONDLGS=yes
2324 DEFAULT_wxUSE_CHOICEDLG=yes
2325 DEFAULT_wxUSE_COLOURDLG=yes
2326 DEFAULT_wxUSE_DIRDLG=yes
2327 DEFAULT_wxUSE_FILEDLG=yes
2328 DEFAULT_wxUSE_FINDREPLDLG=yes
2329 DEFAULT_wxUSE_FONTDLG=yes
2330 DEFAULT_wxUSE_MSGDLG=yes
2331 DEFAULT_wxUSE_NUMBERDLG=yes
2332 DEFAULT_wxUSE_TEXTDLG=yes
2333 DEFAULT_wxUSE_SPLASH=yes
2334 DEFAULT_wxUSE_STARTUP_TIPS=yes
2335 DEFAULT_wxUSE_PROGRESSDLG=yes
2336 DEFAULT_wxUSE_WIZARDDLG=yes
2337
2338 DEFAULT_wxUSE_MENUS=yes
2339 DEFAULT_wxUSE_MINIFRAME=yes
2340 DEFAULT_wxUSE_HTML=yes
2341 DEFAULT_wxUSE_XRC=yes
2342 DEFAULT_wxUSE_WEBKIT=yes
2343 DEFAULT_wxUSE_FILESYSTEM=yes
2344 DEFAULT_wxUSE_FS_INET=yes
2345 DEFAULT_wxUSE_FS_ZIP=yes
2346 DEFAULT_wxUSE_BUSYINFO=yes
2347 DEFAULT_wxUSE_ZIPSTREAM=yes
2348 DEFAULT_wxUSE_VALIDATORS=yes
2349
2350 DEFAULT_wxUSE_ACCEL=yes
2351 DEFAULT_wxUSE_BUTTON=yes
2352 DEFAULT_wxUSE_BMPBUTTON=yes
2353 DEFAULT_wxUSE_CALCTRL=yes
2354 DEFAULT_wxUSE_CARET=yes
2355 DEFAULT_wxUSE_CHECKBOX=yes
2356 DEFAULT_wxUSE_CHECKLST=yes
2357 DEFAULT_wxUSE_CHOICE=yes
2358 DEFAULT_wxUSE_CHOICEBOOK=yes
2359 DEFAULT_wxUSE_COMBOBOX=yes
2360 DEFAULT_wxUSE_DISPLAY=yes
2361 DEFAULT_wxUSE_GAUGE=yes
2362 DEFAULT_wxUSE_GRID=yes
2363 DEFAULT_wxUSE_IMAGLIST=yes
2364 DEFAULT_wxUSE_LISTBOOK=yes
2365 DEFAULT_wxUSE_LISTBOX=yes
2366 DEFAULT_wxUSE_LISTCTRL=yes
2367 DEFAULT_wxUSE_NOTEBOOK=yes
2368 DEFAULT_wxUSE_RADIOBOX=yes
2369 DEFAULT_wxUSE_RADIOBTN=yes
2370 DEFAULT_wxUSE_SASH=yes
2371 DEFAULT_wxUSE_SCROLLBAR=yes
2372 DEFAULT_wxUSE_SLIDER=yes
2373 DEFAULT_wxUSE_SPINBTN=yes
2374 DEFAULT_wxUSE_SPINCTRL=yes
2375 DEFAULT_wxUSE_SPLITTER=yes
2376 DEFAULT_wxUSE_STATBMP=yes
2377 DEFAULT_wxUSE_STATBOX=yes
2378 DEFAULT_wxUSE_STATLINE=yes
2379 DEFAULT_wxUSE_STATTEXT=yes
2380 DEFAULT_wxUSE_STATUSBAR=yes
2381 DEFAULT_wxUSE_TABDIALOG=no
2382 DEFAULT_wxUSE_TEXTCTRL=yes
2383 DEFAULT_wxUSE_TOGGLEBTN=yes
2384 DEFAULT_wxUSE_TOOLBAR=yes
2385 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2386 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2387 DEFAULT_wxUSE_TREECTRL=yes
2388 DEFAULT_wxUSE_POPUPWIN=yes
2389 DEFAULT_wxUSE_TIPWINDOW=yes
2390
2391 DEFAULT_wxUSE_UNICODE=no
2392 DEFAULT_wxUSE_UNICODE_MSLU=yes
2393 DEFAULT_wxUSE_WCSRTOMBS=no
2394
2395 DEFAULT_wxUSE_PALETTE=yes
2396 DEFAULT_wxUSE_IMAGE=yes
2397 DEFAULT_wxUSE_GIF=yes
2398 DEFAULT_wxUSE_PCX=yes
2399 DEFAULT_wxUSE_IFF=no
2400 DEFAULT_wxUSE_PNM=yes
2401 DEFAULT_wxUSE_XPM=yes
2402 DEFAULT_wxUSE_ICO_CUR=yes
2403 DEFAULT_wxUSE_ACCESSIBILITY=no
2404
2405 DEFAULT_wxUSE_MONOLITHIC=no
2406 DEFAULT_wxUSE_PLUGINS=no
2407 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2408
2409 DEFAULT_wxUSE_GTK2=yes
2410 fi
2411
2412
2413
2414 for toolkit in `echo $ALL_TOOLKITS`; do
2415 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2416 if test "x$LINE" != "x" ; then
2417 has_toolkit_in_cache=1
2418 eval "DEFAULT_$LINE"
2419 eval "CACHE_$toolkit=1"
2420 fi
2421 done
2422
2423
2424
2425 enablestring=
2426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2427 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2428 no_cache=0
2429 # Check whether --enable-gui or --disable-gui was given.
2430 if test "${enable_gui+set}" = set; then
2431 enableval="$enable_gui"
2432
2433 if test "$enableval" = yes; then
2434 ac_cv_use_gui='wxUSE_GUI=yes'
2435 else
2436 ac_cv_use_gui='wxUSE_GUI=no'
2437 fi
2438
2439 else
2440
2441 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2442 if test "x$LINE" != x ; then
2443 eval "DEFAULT_$LINE"
2444 else
2445 no_cache=1
2446 fi
2447
2448 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2449
2450 fi;
2451
2452 eval "$ac_cv_use_gui"
2453 if test "$no_cache" != 1; then
2454 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2455 fi
2456
2457 if test "$wxUSE_GUI" = yes; then
2458 echo "$as_me:$LINENO: result: yes" >&5
2459 echo "${ECHO_T}yes" >&6
2460 else
2461 echo "$as_me:$LINENO: result: no" >&5
2462 echo "${ECHO_T}no" >&6
2463 fi
2464
2465
2466 enablestring=
2467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2468 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2469 no_cache=0
2470 # Check whether --enable-monolithic or --disable-monolithic was given.
2471 if test "${enable_monolithic+set}" = set; then
2472 enableval="$enable_monolithic"
2473
2474 if test "$enableval" = yes; then
2475 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2476 else
2477 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2478 fi
2479
2480 else
2481
2482 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2483 if test "x$LINE" != x ; then
2484 eval "DEFAULT_$LINE"
2485 else
2486 no_cache=1
2487 fi
2488
2489 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2490
2491 fi;
2492
2493 eval "$ac_cv_use_monolithic"
2494 if test "$no_cache" != 1; then
2495 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2496 fi
2497
2498 if test "$wxUSE_MONOLITHIC" = yes; then
2499 echo "$as_me:$LINENO: result: yes" >&5
2500 echo "${ECHO_T}yes" >&6
2501 else
2502 echo "$as_me:$LINENO: result: no" >&5
2503 echo "${ECHO_T}no" >&6
2504 fi
2505
2506
2507 enablestring=
2508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2509 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2510 no_cache=0
2511 # Check whether --enable-plugins or --disable-plugins was given.
2512 if test "${enable_plugins+set}" = set; then
2513 enableval="$enable_plugins"
2514
2515 if test "$enableval" = yes; then
2516 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2517 else
2518 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2519 fi
2520
2521 else
2522
2523 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2524 if test "x$LINE" != x ; then
2525 eval "DEFAULT_$LINE"
2526 else
2527 no_cache=1
2528 fi
2529
2530 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2531
2532 fi;
2533
2534 eval "$ac_cv_use_plugins"
2535 if test "$no_cache" != 1; then
2536 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2537 fi
2538
2539 if test "$wxUSE_PLUGINS" = yes; then
2540 echo "$as_me:$LINENO: result: yes" >&5
2541 echo "${ECHO_T}yes" >&6
2542 else
2543 echo "$as_me:$LINENO: result: no" >&5
2544 echo "${ECHO_T}no" >&6
2545 fi
2546
2547
2548 if test "$wxUSE_GUI" = "yes"; then
2549
2550
2551 enablestring=
2552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2553 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2554 no_cache=0
2555 # Check whether --enable-universal or --disable-universal was given.
2556 if test "${enable_universal+set}" = set; then
2557 enableval="$enable_universal"
2558
2559 if test "$enableval" = yes; then
2560 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2561 else
2562 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2563 fi
2564
2565 else
2566
2567 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2568 if test "x$LINE" != x ; then
2569 eval "DEFAULT_$LINE"
2570 else
2571 no_cache=1
2572 fi
2573
2574 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2575
2576 fi;
2577
2578 eval "$ac_cv_use_universal"
2579 if test "$no_cache" != 1; then
2580 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2581 fi
2582
2583 if test "$wxUSE_UNIVERSAL" = yes; then
2584 echo "$as_me:$LINENO: result: yes" >&5
2585 echo "${ECHO_T}yes" >&6
2586 else
2587 echo "$as_me:$LINENO: result: no" >&5
2588 echo "${ECHO_T}no" >&6
2589 fi
2590
2591
2592 # Check whether --with-gtk or --without-gtk was given.
2593 if test "${with_gtk+set}" = set; then
2594 withval="$with_gtk"
2595 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2596 fi;
2597
2598 # Check whether --with-motif or --without-motif was given.
2599 if test "${with_motif+set}" = set; then
2600 withval="$with_motif"
2601 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2602 fi;
2603
2604 # Check whether --with-mac or --without-mac was given.
2605 if test "${with_mac+set}" = set; then
2606 withval="$with_mac"
2607 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2608 fi;
2609
2610 # Check whether --with-cocoa or --without-cocoa was given.
2611 if test "${with_cocoa+set}" = set; then
2612 withval="$with_cocoa"
2613 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2614 fi;
2615
2616 # Check whether --with-wine or --without-wine was given.
2617 if test "${with_wine+set}" = set; then
2618 withval="$with_wine"
2619 wxUSE_WINE="$withval" CACHE_WINE=1
2620 fi;
2621
2622 # Check whether --with-msw or --without-msw was given.
2623 if test "${with_msw+set}" = set; then
2624 withval="$with_msw"
2625 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2626 fi;
2627
2628 # Check whether --with-pm or --without-pm was given.
2629 if test "${with_pm+set}" = set; then
2630 withval="$with_pm"
2631 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2632 fi;
2633
2634 # Check whether --with-mgl or --without-mgl was given.
2635 if test "${with_mgl+set}" = set; then
2636 withval="$with_mgl"
2637 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2638 fi;
2639
2640 # Check whether --with-microwin or --without-microwin was given.
2641 if test "${with_microwin+set}" = set; then
2642 withval="$with_microwin"
2643 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2644 fi;
2645
2646 # Check whether --with-x11 or --without-x11 was given.
2647 if test "${with_x11+set}" = set; then
2648 withval="$with_x11"
2649 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2650 fi;
2651
2652 enablestring=
2653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2654 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2655 no_cache=0
2656 # Check whether --enable-nanox or --disable-nanox was given.
2657 if test "${enable_nanox+set}" = set; then
2658 enableval="$enable_nanox"
2659
2660 if test "$enableval" = yes; then
2661 ac_cv_use_nanox='wxUSE_NANOX=yes'
2662 else
2663 ac_cv_use_nanox='wxUSE_NANOX=no'
2664 fi
2665
2666 else
2667
2668 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2669 if test "x$LINE" != x ; then
2670 eval "DEFAULT_$LINE"
2671 else
2672 no_cache=1
2673 fi
2674
2675 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2676
2677 fi;
2678
2679 eval "$ac_cv_use_nanox"
2680 if test "$no_cache" != 1; then
2681 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2682 fi
2683
2684 if test "$wxUSE_NANOX" = yes; then
2685 echo "$as_me:$LINENO: result: yes" >&5
2686 echo "${ECHO_T}yes" >&6
2687 else
2688 echo "$as_me:$LINENO: result: no" >&5
2689 echo "${ECHO_T}no" >&6
2690 fi
2691
2692
2693
2694 enablestring=
2695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2696 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2697 no_cache=0
2698 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2699 if test "${enable_gtk2+set}" = set; then
2700 enableval="$enable_gtk2"
2701
2702 if test "$enableval" = yes; then
2703 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2704 else
2705 ac_cv_use_gtk2='wxUSE_GTK2=no'
2706 fi
2707
2708 else
2709
2710 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2711 if test "x$LINE" != x ; then
2712 eval "DEFAULT_$LINE"
2713 else
2714 no_cache=1
2715 fi
2716
2717 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2718
2719 fi;
2720
2721 eval "$ac_cv_use_gtk2"
2722 if test "$no_cache" != 1; then
2723 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2724 fi
2725
2726 if test "$wxUSE_GTK2" = yes; then
2727 echo "$as_me:$LINENO: result: yes" >&5
2728 echo "${ECHO_T}yes" >&6
2729 else
2730 echo "$as_me:$LINENO: result: no" >&5
2731 echo "${ECHO_T}no" >&6
2732 fi
2733
2734
2735 enablestring=
2736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2737 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2738 no_cache=0
2739 # Check whether --enable-gpe or --disable-gpe was given.
2740 if test "${enable_gpe+set}" = set; then
2741 enableval="$enable_gpe"
2742
2743 if test "$enableval" = yes; then
2744 ac_cv_use_gpe='wxUSE_GPE=yes'
2745 else
2746 ac_cv_use_gpe='wxUSE_GPE=no'
2747 fi
2748
2749 else
2750
2751 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2752 if test "x$LINE" != x ; then
2753 eval "DEFAULT_$LINE"
2754 else
2755 no_cache=1
2756 fi
2757
2758 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2759
2760 fi;
2761
2762 eval "$ac_cv_use_gpe"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2765 fi
2766
2767 if test "$wxUSE_GPE" = yes; then
2768 echo "$as_me:$LINENO: result: yes" >&5
2769 echo "${ECHO_T}yes" >&6
2770 else
2771 echo "$as_me:$LINENO: result: no" >&5
2772 echo "${ECHO_T}no" >&6
2773 fi
2774
2775
2776
2777 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2778 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2779 no_cache=0
2780
2781 # Check whether --with-libpng or --without-libpng was given.
2782 if test "${with_libpng+set}" = set; then
2783 withval="$with_libpng"
2784
2785 if test "$withval" = yes; then
2786 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2787 elif test "$withval" = no; then
2788 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2789 elif test "$withval" = sys; then
2790 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2791 elif test "$withval" = builtin; then
2792 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2793 else
2794 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2795 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2796 { (exit 1); exit 1; }; }
2797 fi
2798
2799 else
2800
2801 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2802 if test "x$LINE" != x ; then
2803 eval "DEFAULT_$LINE"
2804 else
2805 no_cache=1
2806 fi
2807
2808 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2809
2810 fi;
2811
2812 eval "$ac_cv_use_libpng"
2813 if test "$no_cache" != 1; then
2814 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2815 fi
2816
2817 if test "$wxUSE_LIBPNG" = yes; then
2818 echo "$as_me:$LINENO: result: yes" >&5
2819 echo "${ECHO_T}yes" >&6
2820 elif test "$wxUSE_LIBPNG" = no; then
2821 echo "$as_me:$LINENO: result: no" >&5
2822 echo "${ECHO_T}no" >&6
2823 elif test "$wxUSE_LIBPNG" = sys; then
2824 echo "$as_me:$LINENO: result: system version" >&5
2825 echo "${ECHO_T}system version" >&6
2826 elif test "$wxUSE_LIBPNG" = builtin; then
2827 echo "$as_me:$LINENO: result: builtin version" >&5
2828 echo "${ECHO_T}builtin version" >&6
2829 else
2830 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2831 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2832 { (exit 1); exit 1; }; }
2833 fi
2834
2835
2836 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2837 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2838 no_cache=0
2839
2840 # Check whether --with-libjpeg or --without-libjpeg was given.
2841 if test "${with_libjpeg+set}" = set; then
2842 withval="$with_libjpeg"
2843
2844 if test "$withval" = yes; then
2845 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2846 elif test "$withval" = no; then
2847 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2848 elif test "$withval" = sys; then
2849 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2850 elif test "$withval" = builtin; then
2851 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2852 else
2853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2854 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2855 { (exit 1); exit 1; }; }
2856 fi
2857
2858 else
2859
2860 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2861 if test "x$LINE" != x ; then
2862 eval "DEFAULT_$LINE"
2863 else
2864 no_cache=1
2865 fi
2866
2867 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2868
2869 fi;
2870
2871 eval "$ac_cv_use_libjpeg"
2872 if test "$no_cache" != 1; then
2873 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2874 fi
2875
2876 if test "$wxUSE_LIBJPEG" = yes; then
2877 echo "$as_me:$LINENO: result: yes" >&5
2878 echo "${ECHO_T}yes" >&6
2879 elif test "$wxUSE_LIBJPEG" = no; then
2880 echo "$as_me:$LINENO: result: no" >&5
2881 echo "${ECHO_T}no" >&6
2882 elif test "$wxUSE_LIBJPEG" = sys; then
2883 echo "$as_me:$LINENO: result: system version" >&5
2884 echo "${ECHO_T}system version" >&6
2885 elif test "$wxUSE_LIBJPEG" = builtin; then
2886 echo "$as_me:$LINENO: result: builtin version" >&5
2887 echo "${ECHO_T}builtin version" >&6
2888 else
2889 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2890 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2891 { (exit 1); exit 1; }; }
2892 fi
2893
2894
2895 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2896 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2897 no_cache=0
2898
2899 # Check whether --with-libtiff or --without-libtiff was given.
2900 if test "${with_libtiff+set}" = set; then
2901 withval="$with_libtiff"
2902
2903 if test "$withval" = yes; then
2904 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2905 elif test "$withval" = no; then
2906 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2907 elif test "$withval" = sys; then
2908 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2909 elif test "$withval" = builtin; then
2910 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2911 else
2912 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2913 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2914 { (exit 1); exit 1; }; }
2915 fi
2916
2917 else
2918
2919 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2920 if test "x$LINE" != x ; then
2921 eval "DEFAULT_$LINE"
2922 else
2923 no_cache=1
2924 fi
2925
2926 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2927
2928 fi;
2929
2930 eval "$ac_cv_use_libtiff"
2931 if test "$no_cache" != 1; then
2932 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2933 fi
2934
2935 if test "$wxUSE_LIBTIFF" = yes; then
2936 echo "$as_me:$LINENO: result: yes" >&5
2937 echo "${ECHO_T}yes" >&6
2938 elif test "$wxUSE_LIBTIFF" = no; then
2939 echo "$as_me:$LINENO: result: no" >&5
2940 echo "${ECHO_T}no" >&6
2941 elif test "$wxUSE_LIBTIFF" = sys; then
2942 echo "$as_me:$LINENO: result: system version" >&5
2943 echo "${ECHO_T}system version" >&6
2944 elif test "$wxUSE_LIBTIFF" = builtin; then
2945 echo "$as_me:$LINENO: result: builtin version" >&5
2946 echo "${ECHO_T}builtin version" >&6
2947 else
2948 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2949 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2950 { (exit 1); exit 1; }; }
2951 fi
2952
2953
2954 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2955 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2956 no_cache=0
2957
2958 # Check whether --with-libxpm or --without-libxpm was given.
2959 if test "${with_libxpm+set}" = set; then
2960 withval="$with_libxpm"
2961
2962 if test "$withval" = yes; then
2963 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2964 elif test "$withval" = no; then
2965 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2966 elif test "$withval" = sys; then
2967 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2968 elif test "$withval" = builtin; then
2969 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2970 else
2971 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2972 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2973 { (exit 1); exit 1; }; }
2974 fi
2975
2976 else
2977
2978 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x ; then
2980 eval "DEFAULT_$LINE"
2981 else
2982 no_cache=1
2983 fi
2984
2985 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2986
2987 fi;
2988
2989 eval "$ac_cv_use_libxpm"
2990 if test "$no_cache" != 1; then
2991 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2992 fi
2993
2994 if test "$wxUSE_LIBXPM" = yes; then
2995 echo "$as_me:$LINENO: result: yes" >&5
2996 echo "${ECHO_T}yes" >&6
2997 elif test "$wxUSE_LIBXPM" = no; then
2998 echo "$as_me:$LINENO: result: no" >&5
2999 echo "${ECHO_T}no" >&6
3000 elif test "$wxUSE_LIBXPM" = sys; then
3001 echo "$as_me:$LINENO: result: system version" >&5
3002 echo "${ECHO_T}system version" >&6
3003 elif test "$wxUSE_LIBXPM" = builtin; then
3004 echo "$as_me:$LINENO: result: builtin version" >&5
3005 echo "${ECHO_T}builtin version" >&6
3006 else
3007 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3008 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3009 { (exit 1); exit 1; }; }
3010 fi
3011
3012
3013 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3014 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3015 no_cache=0
3016
3017 # Check whether --with-libmspack or --without-libmspack was given.
3018 if test "${with_libmspack+set}" = set; then
3019 withval="$with_libmspack"
3020
3021 if test "$withval" = yes; then
3022 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3023 else
3024 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3025 fi
3026
3027 else
3028
3029 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3030 if test "x$LINE" != x ; then
3031 eval "DEFAULT_$LINE"
3032 else
3033 no_cache=1
3034 fi
3035
3036 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3037
3038 fi;
3039
3040 eval "$ac_cv_use_libmspack"
3041 if test "$no_cache" != 1; then
3042 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3043 fi
3044
3045 if test "$wxUSE_LIBMSPACK" = yes; then
3046 echo "$as_me:$LINENO: result: yes" >&5
3047 echo "${ECHO_T}yes" >&6
3048 else
3049 echo "$as_me:$LINENO: result: no" >&5
3050 echo "${ECHO_T}no" >&6
3051 fi
3052
3053
3054 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3055 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3056 no_cache=0
3057
3058 # Check whether --with-sdl or --without-sdl was given.
3059 if test "${with_sdl+set}" = set; then
3060 withval="$with_sdl"
3061
3062 if test "$withval" = yes; then
3063 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3064 else
3065 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3066 fi
3067
3068 else
3069
3070 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3071 if test "x$LINE" != x ; then
3072 eval "DEFAULT_$LINE"
3073 else
3074 no_cache=1
3075 fi
3076
3077 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3078
3079 fi;
3080
3081 eval "$ac_cv_use_sdl"
3082 if test "$no_cache" != 1; then
3083 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3084 fi
3085
3086 if test "$wxUSE_LIBSDL" = yes; then
3087 echo "$as_me:$LINENO: result: yes" >&5
3088 echo "${ECHO_T}yes" >&6
3089 else
3090 echo "$as_me:$LINENO: result: no" >&5
3091 echo "${ECHO_T}no" >&6
3092 fi
3093
3094
3095 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3096 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3097 no_cache=0
3098
3099 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3100 if test "${with_gnomeprint+set}" = set; then
3101 withval="$with_gnomeprint"
3102
3103 if test "$withval" = yes; then
3104 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3105 else
3106 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3107 fi
3108
3109 else
3110
3111 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3112 if test "x$LINE" != x ; then
3113 eval "DEFAULT_$LINE"
3114 else
3115 no_cache=1
3116 fi
3117
3118 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3119
3120 fi;
3121
3122 eval "$ac_cv_use_gnomeprint"
3123 if test "$no_cache" != 1; then
3124 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3125 fi
3126
3127 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3128 echo "$as_me:$LINENO: result: yes" >&5
3129 echo "${ECHO_T}yes" >&6
3130 else
3131 echo "$as_me:$LINENO: result: no" >&5
3132 echo "${ECHO_T}no" >&6
3133 fi
3134
3135
3136 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3137 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3138 no_cache=0
3139
3140 # Check whether --with-opengl or --without-opengl was given.
3141 if test "${with_opengl+set}" = set; then
3142 withval="$with_opengl"
3143
3144 if test "$withval" = yes; then
3145 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3146 else
3147 ac_cv_use_opengl='wxUSE_OPENGL=no'
3148 fi
3149
3150 else
3151
3152 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3153 if test "x$LINE" != x ; then
3154 eval "DEFAULT_$LINE"
3155 else
3156 no_cache=1
3157 fi
3158
3159 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3160
3161 fi;
3162
3163 eval "$ac_cv_use_opengl"
3164 if test "$no_cache" != 1; then
3165 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3166 fi
3167
3168 if test "$wxUSE_OPENGL" = yes; then
3169 echo "$as_me:$LINENO: result: yes" >&5
3170 echo "${ECHO_T}yes" >&6
3171 else
3172 echo "$as_me:$LINENO: result: no" >&5
3173 echo "${ECHO_T}no" >&6
3174 fi
3175
3176
3177 fi
3178
3179
3180 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3181 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3182 no_cache=0
3183
3184 # Check whether --with-dmalloc or --without-dmalloc was given.
3185 if test "${with_dmalloc+set}" = set; then
3186 withval="$with_dmalloc"
3187
3188 if test "$withval" = yes; then
3189 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3190 else
3191 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3192 fi
3193
3194 else
3195
3196 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3197 if test "x$LINE" != x ; then
3198 eval "DEFAULT_$LINE"
3199 else
3200 no_cache=1
3201 fi
3202
3203 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3204
3205 fi;
3206
3207 eval "$ac_cv_use_dmalloc"
3208 if test "$no_cache" != 1; then
3209 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3210 fi
3211
3212 if test "$wxUSE_DMALLOC" = yes; then
3213 echo "$as_me:$LINENO: result: yes" >&5
3214 echo "${ECHO_T}yes" >&6
3215 else
3216 echo "$as_me:$LINENO: result: no" >&5
3217 echo "${ECHO_T}no" >&6
3218 fi
3219
3220
3221 echo "$as_me:$LINENO: checking for --with-regex" >&5
3222 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3223 no_cache=0
3224
3225 # Check whether --with-regex or --without-regex was given.
3226 if test "${with_regex+set}" = set; then
3227 withval="$with_regex"
3228
3229 if test "$withval" = yes; then
3230 ac_cv_use_regex='wxUSE_REGEX=yes'
3231 elif test "$withval" = no; then
3232 ac_cv_use_regex='wxUSE_REGEX=no'
3233 elif test "$withval" = sys; then
3234 ac_cv_use_regex='wxUSE_REGEX=sys'
3235 elif test "$withval" = builtin; then
3236 ac_cv_use_regex='wxUSE_REGEX=builtin'
3237 else
3238 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3239 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3240 { (exit 1); exit 1; }; }
3241 fi
3242
3243 else
3244
3245 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3246 if test "x$LINE" != x ; then
3247 eval "DEFAULT_$LINE"
3248 else
3249 no_cache=1
3250 fi
3251
3252 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3253
3254 fi;
3255
3256 eval "$ac_cv_use_regex"
3257 if test "$no_cache" != 1; then
3258 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3259 fi
3260
3261 if test "$wxUSE_REGEX" = yes; then
3262 echo "$as_me:$LINENO: result: yes" >&5
3263 echo "${ECHO_T}yes" >&6
3264 elif test "$wxUSE_REGEX" = no; then
3265 echo "$as_me:$LINENO: result: no" >&5
3266 echo "${ECHO_T}no" >&6
3267 elif test "$wxUSE_REGEX" = sys; then
3268 echo "$as_me:$LINENO: result: system version" >&5
3269 echo "${ECHO_T}system version" >&6
3270 elif test "$wxUSE_REGEX" = builtin; then
3271 echo "$as_me:$LINENO: result: builtin version" >&5
3272 echo "${ECHO_T}builtin version" >&6
3273 else
3274 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3275 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3276 { (exit 1); exit 1; }; }
3277 fi
3278
3279
3280 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3281 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3282 no_cache=0
3283
3284 # Check whether --with-zlib or --without-zlib was given.
3285 if test "${with_zlib+set}" = set; then
3286 withval="$with_zlib"
3287
3288 if test "$withval" = yes; then
3289 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3290 elif test "$withval" = no; then
3291 ac_cv_use_zlib='wxUSE_ZLIB=no'
3292 elif test "$withval" = sys; then
3293 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3294 elif test "$withval" = builtin; then
3295 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3296 else
3297 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3298 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3299 { (exit 1); exit 1; }; }
3300 fi
3301
3302 else
3303
3304 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3305 if test "x$LINE" != x ; then
3306 eval "DEFAULT_$LINE"
3307 else
3308 no_cache=1
3309 fi
3310
3311 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3312
3313 fi;
3314
3315 eval "$ac_cv_use_zlib"
3316 if test "$no_cache" != 1; then
3317 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3318 fi
3319
3320 if test "$wxUSE_ZLIB" = yes; then
3321 echo "$as_me:$LINENO: result: yes" >&5
3322 echo "${ECHO_T}yes" >&6
3323 elif test "$wxUSE_ZLIB" = no; then
3324 echo "$as_me:$LINENO: result: no" >&5
3325 echo "${ECHO_T}no" >&6
3326 elif test "$wxUSE_ZLIB" = sys; then
3327 echo "$as_me:$LINENO: result: system version" >&5
3328 echo "${ECHO_T}system version" >&6
3329 elif test "$wxUSE_ZLIB" = builtin; then
3330 echo "$as_me:$LINENO: result: builtin version" >&5
3331 echo "${ECHO_T}builtin version" >&6
3332 else
3333 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3334 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3335 { (exit 1); exit 1; }; }
3336 fi
3337
3338
3339 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3340 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3341 no_cache=0
3342
3343 # Check whether --with-odbc or --without-odbc was given.
3344 if test "${with_odbc+set}" = set; then
3345 withval="$with_odbc"
3346
3347 if test "$withval" = yes; then
3348 ac_cv_use_odbc='wxUSE_ODBC=yes'
3349 elif test "$withval" = no; then
3350 ac_cv_use_odbc='wxUSE_ODBC=no'
3351 elif test "$withval" = sys; then
3352 ac_cv_use_odbc='wxUSE_ODBC=sys'
3353 elif test "$withval" = builtin; then
3354 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3355 else
3356 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3357 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3358 { (exit 1); exit 1; }; }
3359 fi
3360
3361 else
3362
3363 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3364 if test "x$LINE" != x ; then
3365 eval "DEFAULT_$LINE"
3366 else
3367 no_cache=1
3368 fi
3369
3370 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3371
3372 fi;
3373
3374 eval "$ac_cv_use_odbc"
3375 if test "$no_cache" != 1; then
3376 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3377 fi
3378
3379 if test "$wxUSE_ODBC" = yes; then
3380 echo "$as_me:$LINENO: result: yes" >&5
3381 echo "${ECHO_T}yes" >&6
3382 elif test "$wxUSE_ODBC" = no; then
3383 echo "$as_me:$LINENO: result: no" >&5
3384 echo "${ECHO_T}no" >&6
3385 elif test "$wxUSE_ODBC" = sys; then
3386 echo "$as_me:$LINENO: result: system version" >&5
3387 echo "${ECHO_T}system version" >&6
3388 elif test "$wxUSE_ODBC" = builtin; then
3389 echo "$as_me:$LINENO: result: builtin version" >&5
3390 echo "${ECHO_T}builtin version" >&6
3391 else
3392 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3393 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3394 { (exit 1); exit 1; }; }
3395 fi
3396
3397
3398 echo "$as_me:$LINENO: checking for --with-expat" >&5
3399 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3400 no_cache=0
3401
3402 # Check whether --with-expat or --without-expat was given.
3403 if test "${with_expat+set}" = set; then
3404 withval="$with_expat"
3405
3406 if test "$withval" = yes; then
3407 ac_cv_use_expat='wxUSE_EXPAT=yes'
3408 elif test "$withval" = no; then
3409 ac_cv_use_expat='wxUSE_EXPAT=no'
3410 elif test "$withval" = sys; then
3411 ac_cv_use_expat='wxUSE_EXPAT=sys'
3412 elif test "$withval" = builtin; then
3413 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3414 else
3415 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3416 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3417 { (exit 1); exit 1; }; }
3418 fi
3419
3420 else
3421
3422 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3423 if test "x$LINE" != x ; then
3424 eval "DEFAULT_$LINE"
3425 else
3426 no_cache=1
3427 fi
3428
3429 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3430
3431 fi;
3432
3433 eval "$ac_cv_use_expat"
3434 if test "$no_cache" != 1; then
3435 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3436 fi
3437
3438 if test "$wxUSE_EXPAT" = yes; then
3439 echo "$as_me:$LINENO: result: yes" >&5
3440 echo "${ECHO_T}yes" >&6
3441 elif test "$wxUSE_EXPAT" = no; then
3442 echo "$as_me:$LINENO: result: no" >&5
3443 echo "${ECHO_T}no" >&6
3444 elif test "$wxUSE_EXPAT" = sys; then
3445 echo "$as_me:$LINENO: result: system version" >&5
3446 echo "${ECHO_T}system version" >&6
3447 elif test "$wxUSE_EXPAT" = builtin; then
3448 echo "$as_me:$LINENO: result: builtin version" >&5
3449 echo "${ECHO_T}builtin version" >&6
3450 else
3451 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3452 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3453 { (exit 1); exit 1; }; }
3454 fi
3455
3456
3457
3458
3459 enablestring=
3460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3461 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3462 no_cache=0
3463 # Check whether --enable-shared or --disable-shared was given.
3464 if test "${enable_shared+set}" = set; then
3465 enableval="$enable_shared"
3466
3467 if test "$enableval" = yes; then
3468 ac_cv_use_shared='wxUSE_SHARED=yes'
3469 else
3470 ac_cv_use_shared='wxUSE_SHARED=no'
3471 fi
3472
3473 else
3474
3475 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x ; then
3477 eval "DEFAULT_$LINE"
3478 else
3479 no_cache=1
3480 fi
3481
3482 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3483
3484 fi;
3485
3486 eval "$ac_cv_use_shared"
3487 if test "$no_cache" != 1; then
3488 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3489 fi
3490
3491 if test "$wxUSE_SHARED" = yes; then
3492 echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6
3494 else
3495 echo "$as_me:$LINENO: result: no" >&5
3496 echo "${ECHO_T}no" >&6
3497 fi
3498
3499
3500 enablestring=
3501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3502 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3503 no_cache=0
3504 # Check whether --enable-optimise or --disable-optimise was given.
3505 if test "${enable_optimise+set}" = set; then
3506 enableval="$enable_optimise"
3507
3508 if test "$enableval" = yes; then
3509 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3510 else
3511 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3512 fi
3513
3514 else
3515
3516 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x ; then
3518 eval "DEFAULT_$LINE"
3519 else
3520 no_cache=1
3521 fi
3522
3523 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3524
3525 fi;
3526
3527 eval "$ac_cv_use_optimise"
3528 if test "$no_cache" != 1; then
3529 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3530 fi
3531
3532 if test "$wxUSE_OPTIMISE" = yes; then
3533 echo "$as_me:$LINENO: result: yes" >&5
3534 echo "${ECHO_T}yes" >&6
3535 else
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3538 fi
3539
3540
3541 enablestring=
3542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3543 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3544 no_cache=0
3545 # Check whether --enable-debug or --disable-debug was given.
3546 if test "${enable_debug+set}" = set; then
3547 enableval="$enable_debug"
3548
3549 if test "$enableval" = yes; then
3550 ac_cv_use_debug='wxUSE_DEBUG=yes'
3551 else
3552 ac_cv_use_debug='wxUSE_DEBUG=no'
3553 fi
3554
3555 else
3556
3557 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3558 if test "x$LINE" != x ; then
3559 eval "DEFAULT_$LINE"
3560 else
3561 no_cache=1
3562 fi
3563
3564 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3565
3566 fi;
3567
3568 eval "$ac_cv_use_debug"
3569 if test "$no_cache" != 1; then
3570 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3571 fi
3572
3573 if test "$wxUSE_DEBUG" = yes; then
3574 echo "$as_me:$LINENO: result: yes" >&5
3575 echo "${ECHO_T}yes" >&6
3576 else
3577 echo "$as_me:$LINENO: result: no" >&5
3578 echo "${ECHO_T}no" >&6
3579 fi
3580
3581
3582 enablestring=
3583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3584 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3585 no_cache=0
3586 # Check whether --enable-stl or --disable-stl was given.
3587 if test "${enable_stl+set}" = set; then
3588 enableval="$enable_stl"
3589
3590 if test "$enableval" = yes; then
3591 ac_cv_use_stl='wxUSE_STL=yes'
3592 else
3593 ac_cv_use_stl='wxUSE_STL=no'
3594 fi
3595
3596 else
3597
3598 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3599 if test "x$LINE" != x ; then
3600 eval "DEFAULT_$LINE"
3601 else
3602 no_cache=1
3603 fi
3604
3605 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3606
3607 fi;
3608
3609 eval "$ac_cv_use_stl"
3610 if test "$no_cache" != 1; then
3611 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3612 fi
3613
3614 if test "$wxUSE_STL" = yes; then
3615 echo "$as_me:$LINENO: result: yes" >&5
3616 echo "${ECHO_T}yes" >&6
3617 else
3618 echo "$as_me:$LINENO: result: no" >&5
3619 echo "${ECHO_T}no" >&6
3620 fi
3621
3622 if test "$USE_OS2" = "1"; then
3623
3624 enablestring=
3625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3626 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3627 no_cache=0
3628 # Check whether --enable-omf or --disable-omf was given.
3629 if test "${enable_omf+set}" = set; then
3630 enableval="$enable_omf"
3631
3632 if test "$enableval" = yes; then
3633 ac_cv_use_omf='wxUSE_OMF=yes'
3634 else
3635 ac_cv_use_omf='wxUSE_OMF=no'
3636 fi
3637
3638 else
3639
3640 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x ; then
3642 eval "DEFAULT_$LINE"
3643 else
3644 no_cache=1
3645 fi
3646
3647 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3648
3649 fi;
3650
3651 eval "$ac_cv_use_omf"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3654 fi
3655
3656 if test "$wxUSE_OMF" = yes; then
3657 echo "$as_me:$LINENO: result: yes" >&5
3658 echo "${ECHO_T}yes" >&6
3659 else
3660 echo "$as_me:$LINENO: result: no" >&5
3661 echo "${ECHO_T}no" >&6
3662 fi
3663
3664 fi
3665
3666 if test "$wxUSE_DEBUG" = "yes"; then
3667 DEFAULT_wxUSE_DEBUG_FLAG=yes
3668 DEFAULT_wxUSE_DEBUG_INFO=yes
3669 BUILD=debug
3670 elif test "$wxUSE_DEBUG" = "no"; then
3671 DEFAULT_wxUSE_DEBUG_FLAG=no
3672 DEFAULT_wxUSE_DEBUG_INFO=no
3673 BUILD=release
3674 fi
3675
3676
3677 enablestring=
3678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3679 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3680 no_cache=0
3681 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3682 if test "${enable_debug_flag+set}" = set; then
3683 enableval="$enable_debug_flag"
3684
3685 if test "$enableval" = yes; then
3686 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3687 else
3688 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3689 fi
3690
3691 else
3692
3693 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x ; then
3695 eval "DEFAULT_$LINE"
3696 else
3697 no_cache=1
3698 fi
3699
3700 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3701
3702 fi;
3703
3704 eval "$ac_cv_use_debug_flag"
3705 if test "$no_cache" != 1; then
3706 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3707 fi
3708
3709 if test "$wxUSE_DEBUG_FLAG" = yes; then
3710 echo "$as_me:$LINENO: result: yes" >&5
3711 echo "${ECHO_T}yes" >&6
3712 else
3713 echo "$as_me:$LINENO: result: no" >&5
3714 echo "${ECHO_T}no" >&6
3715 fi
3716
3717
3718 enablestring=
3719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3720 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3721 no_cache=0
3722 # Check whether --enable-debug_info or --disable-debug_info was given.
3723 if test "${enable_debug_info+set}" = set; then
3724 enableval="$enable_debug_info"
3725
3726 if test "$enableval" = yes; then
3727 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3728 else
3729 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3730 fi
3731
3732 else
3733
3734 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3735 if test "x$LINE" != x ; then
3736 eval "DEFAULT_$LINE"
3737 else
3738 no_cache=1
3739 fi
3740
3741 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3742
3743 fi;
3744
3745 eval "$ac_cv_use_debug_info"
3746 if test "$no_cache" != 1; then
3747 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3748 fi
3749
3750 if test "$wxUSE_DEBUG_INFO" = yes; then
3751 echo "$as_me:$LINENO: result: yes" >&5
3752 echo "${ECHO_T}yes" >&6
3753 else
3754 echo "$as_me:$LINENO: result: no" >&5
3755 echo "${ECHO_T}no" >&6
3756 fi
3757
3758
3759 enablestring=
3760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3761 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3762 no_cache=0
3763 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3764 if test "${enable_debug_gdb+set}" = set; then
3765 enableval="$enable_debug_gdb"
3766
3767 if test "$enableval" = yes; then
3768 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3769 else
3770 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3771 fi
3772
3773 else
3774
3775 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3776 if test "x$LINE" != x ; then
3777 eval "DEFAULT_$LINE"
3778 else
3779 no_cache=1
3780 fi
3781
3782 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3783
3784 fi;
3785
3786 eval "$ac_cv_use_debug_gdb"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3789 fi
3790
3791 if test "$wxUSE_DEBUG_GDB" = yes; then
3792 echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6
3794 else
3795 echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6
3797 fi
3798
3799
3800 enablestring=
3801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3802 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3803 no_cache=0
3804 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3805 if test "${enable_debug_cntxt+set}" = set; then
3806 enableval="$enable_debug_cntxt"
3807
3808 if test "$enableval" = yes; then
3809 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3810 else
3811 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3812 fi
3813
3814 else
3815
3816 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x ; then
3818 eval "DEFAULT_$LINE"
3819 else
3820 no_cache=1
3821 fi
3822
3823 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3824
3825 fi;
3826
3827 eval "$ac_cv_use_debug_cntxt"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3830 fi
3831
3832 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3833 echo "$as_me:$LINENO: result: yes" >&5
3834 echo "${ECHO_T}yes" >&6
3835 else
3836 echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6
3838 fi
3839
3840
3841 enablestring=
3842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3843 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3844 no_cache=0
3845 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3846 if test "${enable_mem_tracing+set}" = set; then
3847 enableval="$enable_mem_tracing"
3848
3849 if test "$enableval" = yes; then
3850 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3851 else
3852 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3853 fi
3854
3855 else
3856
3857 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3858 if test "x$LINE" != x ; then
3859 eval "DEFAULT_$LINE"
3860 else
3861 no_cache=1
3862 fi
3863
3864 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3865
3866 fi;
3867
3868 eval "$ac_cv_use_mem_tracing"
3869 if test "$no_cache" != 1; then
3870 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3871 fi
3872
3873 if test "$wxUSE_MEM_TRACING" = yes; then
3874 echo "$as_me:$LINENO: result: yes" >&5
3875 echo "${ECHO_T}yes" >&6
3876 else
3877 echo "$as_me:$LINENO: result: no" >&5
3878 echo "${ECHO_T}no" >&6
3879 fi
3880
3881
3882 enablestring=
3883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3884 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3885 no_cache=0
3886 # Check whether --enable-profile or --disable-profile was given.
3887 if test "${enable_profile+set}" = set; then
3888 enableval="$enable_profile"
3889
3890 if test "$enableval" = yes; then
3891 ac_cv_use_profile='wxUSE_PROFILE=yes'
3892 else
3893 ac_cv_use_profile='wxUSE_PROFILE=no'
3894 fi
3895
3896 else
3897
3898 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3899 if test "x$LINE" != x ; then
3900 eval "DEFAULT_$LINE"
3901 else
3902 no_cache=1
3903 fi
3904
3905 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3906
3907 fi;
3908
3909 eval "$ac_cv_use_profile"
3910 if test "$no_cache" != 1; then
3911 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3912 fi
3913
3914 if test "$wxUSE_PROFILE" = yes; then
3915 echo "$as_me:$LINENO: result: yes" >&5
3916 echo "${ECHO_T}yes" >&6
3917 else
3918 echo "$as_me:$LINENO: result: no" >&5
3919 echo "${ECHO_T}no" >&6
3920 fi
3921
3922
3923 enablestring=
3924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3925 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3926 no_cache=0
3927 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3928 if test "${enable_no_rtti+set}" = set; then
3929 enableval="$enable_no_rtti"
3930
3931 if test "$enableval" = yes; then
3932 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3933 else
3934 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3935 fi
3936
3937 else
3938
3939 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3940 if test "x$LINE" != x ; then
3941 eval "DEFAULT_$LINE"
3942 else
3943 no_cache=1
3944 fi
3945
3946 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3947
3948 fi;
3949
3950 eval "$ac_cv_use_no_rtti"
3951 if test "$no_cache" != 1; then
3952 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3953 fi
3954
3955 if test "$wxUSE_NO_RTTI" = yes; then
3956 echo "$as_me:$LINENO: result: yes" >&5
3957 echo "${ECHO_T}yes" >&6
3958 else
3959 echo "$as_me:$LINENO: result: no" >&5
3960 echo "${ECHO_T}no" >&6
3961 fi
3962
3963
3964 enablestring=
3965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3966 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3967 no_cache=0
3968 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3969 if test "${enable_no_exceptions+set}" = set; then
3970 enableval="$enable_no_exceptions"
3971
3972 if test "$enableval" = yes; then
3973 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3974 else
3975 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3976 fi
3977
3978 else
3979
3980 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3981 if test "x$LINE" != x ; then
3982 eval "DEFAULT_$LINE"
3983 else
3984 no_cache=1
3985 fi
3986
3987 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3988
3989 fi;
3990
3991 eval "$ac_cv_use_no_exceptions"
3992 if test "$no_cache" != 1; then
3993 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3994 fi
3995
3996 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3997 echo "$as_me:$LINENO: result: yes" >&5
3998 echo "${ECHO_T}yes" >&6
3999 else
4000 echo "$as_me:$LINENO: result: no" >&5
4001 echo "${ECHO_T}no" >&6
4002 fi
4003
4004
4005 enablestring=
4006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4007 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4008 no_cache=0
4009 # Check whether --enable-permissive or --disable-permissive was given.
4010 if test "${enable_permissive+set}" = set; then
4011 enableval="$enable_permissive"
4012
4013 if test "$enableval" = yes; then
4014 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4015 else
4016 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4017 fi
4018
4019 else
4020
4021 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4022 if test "x$LINE" != x ; then
4023 eval "DEFAULT_$LINE"
4024 else
4025 no_cache=1
4026 fi
4027
4028 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4029
4030 fi;
4031
4032 eval "$ac_cv_use_permissive"
4033 if test "$no_cache" != 1; then
4034 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4035 fi
4036
4037 if test "$wxUSE_PERMISSIVE" = yes; then
4038 echo "$as_me:$LINENO: result: yes" >&5
4039 echo "${ECHO_T}yes" >&6
4040 else
4041 echo "$as_me:$LINENO: result: no" >&5
4042 echo "${ECHO_T}no" >&6
4043 fi
4044
4045
4046 enablestring=
4047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4048 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4049 no_cache=0
4050 # Check whether --enable-no_deps or --disable-no_deps was given.
4051 if test "${enable_no_deps+set}" = set; then
4052 enableval="$enable_no_deps"
4053
4054 if test "$enableval" = yes; then
4055 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4056 else
4057 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4058 fi
4059
4060 else
4061
4062 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4063 if test "x$LINE" != x ; then
4064 eval "DEFAULT_$LINE"
4065 else
4066 no_cache=1
4067 fi
4068
4069 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4070
4071 fi;
4072
4073 eval "$ac_cv_use_no_deps"
4074 if test "$no_cache" != 1; then
4075 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4076 fi
4077
4078 if test "$wxUSE_NO_DEPS" = yes; then
4079 echo "$as_me:$LINENO: result: yes" >&5
4080 echo "${ECHO_T}yes" >&6
4081 else
4082 echo "$as_me:$LINENO: result: no" >&5
4083 echo "${ECHO_T}no" >&6
4084 fi
4085
4086
4087
4088 enablestring=
4089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4090 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4091 no_cache=0
4092 # Check whether --enable-compat22 or --disable-compat22 was given.
4093 if test "${enable_compat22+set}" = set; then
4094 enableval="$enable_compat22"
4095
4096 if test "$enableval" = yes; then
4097 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4098 else
4099 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4100 fi
4101
4102 else
4103
4104 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x ; then
4106 eval "DEFAULT_$LINE"
4107 else
4108 no_cache=1
4109 fi
4110
4111 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4112
4113 fi;
4114
4115 eval "$ac_cv_use_compat22"
4116 if test "$no_cache" != 1; then
4117 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4118 fi
4119
4120 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4121 echo "$as_me:$LINENO: result: yes" >&5
4122 echo "${ECHO_T}yes" >&6
4123 else
4124 echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6
4126 fi
4127
4128
4129 enablestring=disable
4130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4131 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4132 no_cache=0
4133 # Check whether --enable-compat24 or --disable-compat24 was given.
4134 if test "${enable_compat24+set}" = set; then
4135 enableval="$enable_compat24"
4136
4137 if test "$enableval" = yes; then
4138 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4139 else
4140 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4141 fi
4142
4143 else
4144
4145 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4146 if test "x$LINE" != x ; then
4147 eval "DEFAULT_$LINE"
4148 else
4149 no_cache=1
4150 fi
4151
4152 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4153
4154 fi;
4155
4156 eval "$ac_cv_use_compat24"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4159 fi
4160
4161 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4162 echo "$as_me:$LINENO: result: yes" >&5
4163 echo "${ECHO_T}yes" >&6
4164 else
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4167 fi
4168
4169
4170
4171 enablestring=
4172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4173 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4174 no_cache=0
4175 # Check whether --enable-rpath or --disable-rpath was given.
4176 if test "${enable_rpath+set}" = set; then
4177 enableval="$enable_rpath"
4178
4179 if test "$enableval" = yes; then
4180 ac_cv_use_rpath='wxUSE_RPATH=yes'
4181 else
4182 ac_cv_use_rpath='wxUSE_RPATH=no'
4183 fi
4184
4185 else
4186
4187 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4188 if test "x$LINE" != x ; then
4189 eval "DEFAULT_$LINE"
4190 else
4191 no_cache=1
4192 fi
4193
4194 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4195
4196 fi;
4197
4198 eval "$ac_cv_use_rpath"
4199 if test "$no_cache" != 1; then
4200 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4201 fi
4202
4203 if test "$wxUSE_RPATH" = yes; then
4204 echo "$as_me:$LINENO: result: yes" >&5
4205 echo "${ECHO_T}yes" >&6
4206 else
4207 echo "$as_me:$LINENO: result: no" >&5
4208 echo "${ECHO_T}no" >&6
4209 fi
4210
4211
4212
4213
4214
4215 enablestring=
4216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4217 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4218 no_cache=0
4219 # Check whether --enable-intl or --disable-intl was given.
4220 if test "${enable_intl+set}" = set; then
4221 enableval="$enable_intl"
4222
4223 if test "$enableval" = yes; then
4224 ac_cv_use_intl='wxUSE_INTL=yes'
4225 else
4226 ac_cv_use_intl='wxUSE_INTL=no'
4227 fi
4228
4229 else
4230
4231 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x ; then
4233 eval "DEFAULT_$LINE"
4234 else
4235 no_cache=1
4236 fi
4237
4238 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4239
4240 fi;
4241
4242 eval "$ac_cv_use_intl"
4243 if test "$no_cache" != 1; then
4244 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4245 fi
4246
4247 if test "$wxUSE_INTL" = yes; then
4248 echo "$as_me:$LINENO: result: yes" >&5
4249 echo "${ECHO_T}yes" >&6
4250 else
4251 echo "$as_me:$LINENO: result: no" >&5
4252 echo "${ECHO_T}no" >&6
4253 fi
4254
4255
4256 enablestring=
4257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4258 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4259 no_cache=0
4260 # Check whether --enable-config or --disable-config was given.
4261 if test "${enable_config+set}" = set; then
4262 enableval="$enable_config"
4263
4264 if test "$enableval" = yes; then
4265 ac_cv_use_config='wxUSE_CONFIG=yes'
4266 else
4267 ac_cv_use_config='wxUSE_CONFIG=no'
4268 fi
4269
4270 else
4271
4272 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4273 if test "x$LINE" != x ; then
4274 eval "DEFAULT_$LINE"
4275 else
4276 no_cache=1
4277 fi
4278
4279 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4280
4281 fi;
4282
4283 eval "$ac_cv_use_config"
4284 if test "$no_cache" != 1; then
4285 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4286 fi
4287
4288 if test "$wxUSE_CONFIG" = yes; then
4289 echo "$as_me:$LINENO: result: yes" >&5
4290 echo "${ECHO_T}yes" >&6
4291 else
4292 echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6
4294 fi
4295
4296
4297
4298 enablestring=
4299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4300 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4301 no_cache=0
4302 # Check whether --enable-protocols or --disable-protocols was given.
4303 if test "${enable_protocols+set}" = set; then
4304 enableval="$enable_protocols"
4305
4306 if test "$enableval" = yes; then
4307 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4308 else
4309 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4310 fi
4311
4312 else
4313
4314 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x ; then
4316 eval "DEFAULT_$LINE"
4317 else
4318 no_cache=1
4319 fi
4320
4321 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4322
4323 fi;
4324
4325 eval "$ac_cv_use_protocols"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4328 fi
4329
4330 if test "$wxUSE_PROTOCOL" = yes; then
4331 echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6
4333 else
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4336 fi
4337
4338
4339 enablestring=
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4342 no_cache=0
4343 # Check whether --enable-ftp or --disable-ftp was given.
4344 if test "${enable_ftp+set}" = set; then
4345 enableval="$enable_ftp"
4346
4347 if test "$enableval" = yes; then
4348 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4349 else
4350 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4351 fi
4352
4353 else
4354
4355 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x ; then
4357 eval "DEFAULT_$LINE"
4358 else
4359 no_cache=1
4360 fi
4361
4362 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4363
4364 fi;
4365
4366 eval "$ac_cv_use_ftp"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4369 fi
4370
4371 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4374 else
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4377 fi
4378
4379
4380 enablestring=
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4383 no_cache=0
4384 # Check whether --enable-http or --disable-http was given.
4385 if test "${enable_http+set}" = set; then
4386 enableval="$enable_http"
4387
4388 if test "$enableval" = yes; then
4389 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4390 else
4391 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4392 fi
4393
4394 else
4395
4396 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x ; then
4398 eval "DEFAULT_$LINE"
4399 else
4400 no_cache=1
4401 fi
4402
4403 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4404
4405 fi;
4406
4407 eval "$ac_cv_use_http"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4410 fi
4411
4412 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4415 else
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4418 fi
4419
4420
4421 enablestring=
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4424 no_cache=0
4425 # Check whether --enable-fileproto or --disable-fileproto was given.
4426 if test "${enable_fileproto+set}" = set; then
4427 enableval="$enable_fileproto"
4428
4429 if test "$enableval" = yes; then
4430 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4431 else
4432 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4433 fi
4434
4435 else
4436
4437 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4438 if test "x$LINE" != x ; then
4439 eval "DEFAULT_$LINE"
4440 else
4441 no_cache=1
4442 fi
4443
4444 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4445
4446 fi;
4447
4448 eval "$ac_cv_use_fileproto"
4449 if test "$no_cache" != 1; then
4450 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4451 fi
4452
4453 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4454 echo "$as_me:$LINENO: result: yes" >&5
4455 echo "${ECHO_T}yes" >&6
4456 else
4457 echo "$as_me:$LINENO: result: no" >&5
4458 echo "${ECHO_T}no" >&6
4459 fi
4460
4461
4462 enablestring=
4463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4464 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4465 no_cache=0
4466 # Check whether --enable-sockets or --disable-sockets was given.
4467 if test "${enable_sockets+set}" = set; then
4468 enableval="$enable_sockets"
4469
4470 if test "$enableval" = yes; then
4471 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4472 else
4473 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4474 fi
4475
4476 else
4477
4478 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4479 if test "x$LINE" != x ; then
4480 eval "DEFAULT_$LINE"
4481 else
4482 no_cache=1
4483 fi
4484
4485 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4486
4487 fi;
4488
4489 eval "$ac_cv_use_sockets"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4492 fi
4493
4494 if test "$wxUSE_SOCKETS" = yes; then
4495 echo "$as_me:$LINENO: result: yes" >&5
4496 echo "${ECHO_T}yes" >&6
4497 else
4498 echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6
4500 fi
4501
4502
4503 enablestring=
4504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4505 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4506 no_cache=0
4507 # Check whether --enable-ole or --disable-ole was given.
4508 if test "${enable_ole+set}" = set; then
4509 enableval="$enable_ole"
4510
4511 if test "$enableval" = yes; then
4512 ac_cv_use_ole='wxUSE_OLE=yes'
4513 else
4514 ac_cv_use_ole='wxUSE_OLE=no'
4515 fi
4516
4517 else
4518
4519 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4520 if test "x$LINE" != x ; then
4521 eval "DEFAULT_$LINE"
4522 else
4523 no_cache=1
4524 fi
4525
4526 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4527
4528 fi;
4529
4530 eval "$ac_cv_use_ole"
4531 if test "$no_cache" != 1; then
4532 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4533 fi
4534
4535 if test "$wxUSE_OLE" = yes; then
4536 echo "$as_me:$LINENO: result: yes" >&5
4537 echo "${ECHO_T}yes" >&6
4538 else
4539 echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6
4541 fi
4542
4543
4544 enablestring=
4545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4547 no_cache=0
4548 # Check whether --enable-dataobj or --disable-dataobj was given.
4549 if test "${enable_dataobj+set}" = set; then
4550 enableval="$enable_dataobj"
4551
4552 if test "$enableval" = yes; then
4553 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4554 else
4555 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4556 fi
4557
4558 else
4559
4560 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4561 if test "x$LINE" != x ; then
4562 eval "DEFAULT_$LINE"
4563 else
4564 no_cache=1
4565 fi
4566
4567 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4568
4569 fi;
4570
4571 eval "$ac_cv_use_dataobj"
4572 if test "$no_cache" != 1; then
4573 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4574 fi
4575
4576 if test "$wxUSE_DATAOBJ" = yes; then
4577 echo "$as_me:$LINENO: result: yes" >&5
4578 echo "${ECHO_T}yes" >&6
4579 else
4580 echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6
4582 fi
4583
4584
4585
4586 enablestring=
4587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4589 no_cache=0
4590 # Check whether --enable-ipc or --disable-ipc was given.
4591 if test "${enable_ipc+set}" = set; then
4592 enableval="$enable_ipc"
4593
4594 if test "$enableval" = yes; then
4595 ac_cv_use_ipc='wxUSE_IPC=yes'
4596 else
4597 ac_cv_use_ipc='wxUSE_IPC=no'
4598 fi
4599
4600 else
4601
4602 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x ; then
4604 eval "DEFAULT_$LINE"
4605 else
4606 no_cache=1
4607 fi
4608
4609 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4610
4611 fi;
4612
4613 eval "$ac_cv_use_ipc"
4614 if test "$no_cache" != 1; then
4615 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4616 fi
4617
4618 if test "$wxUSE_IPC" = yes; then
4619 echo "$as_me:$LINENO: result: yes" >&5
4620 echo "${ECHO_T}yes" >&6
4621 else
4622 echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4624 fi
4625
4626
4627
4628 enablestring=
4629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4630 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4631 no_cache=0
4632 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4633 if test "${enable_apple_ieee+set}" = set; then
4634 enableval="$enable_apple_ieee"
4635
4636 if test "$enableval" = yes; then
4637 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4638 else
4639 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4640 fi
4641
4642 else
4643
4644 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x ; then
4646 eval "DEFAULT_$LINE"
4647 else
4648 no_cache=1
4649 fi
4650
4651 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4652
4653 fi;
4654
4655 eval "$ac_cv_use_apple_ieee"
4656 if test "$no_cache" != 1; then
4657 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4658 fi
4659
4660 if test "$wxUSE_APPLE_IEEE" = yes; then
4661 echo "$as_me:$LINENO: result: yes" >&5
4662 echo "${ECHO_T}yes" >&6
4663 else
4664 echo "$as_me:$LINENO: result: no" >&5
4665 echo "${ECHO_T}no" >&6
4666 fi
4667
4668
4669 enablestring=
4670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4672 no_cache=0
4673 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4674 if test "${enable_catch_segvs+set}" = set; then
4675 enableval="$enable_catch_segvs"
4676
4677 if test "$enableval" = yes; then
4678 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4679 else
4680 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4681 fi
4682
4683 else
4684
4685 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x ; then
4687 eval "DEFAULT_$LINE"
4688 else
4689 no_cache=1
4690 fi
4691
4692 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4693
4694 fi;
4695
4696 eval "$ac_cv_use_catch_segvs"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4699 fi
4700
4701 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4702 echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6
4704 else
4705 echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6
4707 fi
4708
4709
4710 enablestring=
4711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4712 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4713 no_cache=0
4714 # Check whether --enable-backtrace or --disable-backtrace was given.
4715 if test "${enable_backtrace+set}" = set; then
4716 enableval="$enable_backtrace"
4717
4718 if test "$enableval" = yes; then
4719 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4720 else
4721 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4722 fi
4723
4724 else
4725
4726 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4727 if test "x$LINE" != x ; then
4728 eval "DEFAULT_$LINE"
4729 else
4730 no_cache=1
4731 fi
4732
4733 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4734
4735 fi;
4736
4737 eval "$ac_cv_use_backtrace"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4740 fi
4741
4742 if test "$wxUSE_STACKWALKER" = yes; then
4743 echo "$as_me:$LINENO: result: yes" >&5
4744 echo "${ECHO_T}yes" >&6
4745 else
4746 echo "$as_me:$LINENO: result: no" >&5
4747 echo "${ECHO_T}no" >&6
4748 fi
4749
4750
4751 enablestring=
4752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4754 no_cache=0
4755 # Check whether --enable-cmdline or --disable-cmdline was given.
4756 if test "${enable_cmdline+set}" = set; then
4757 enableval="$enable_cmdline"
4758
4759 if test "$enableval" = yes; then
4760 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4761 else
4762 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4763 fi
4764
4765 else
4766
4767 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4768 if test "x$LINE" != x ; then
4769 eval "DEFAULT_$LINE"
4770 else
4771 no_cache=1
4772 fi
4773
4774 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4775
4776 fi;
4777
4778 eval "$ac_cv_use_cmdline"
4779 if test "$no_cache" != 1; then
4780 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4781 fi
4782
4783 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4784 echo "$as_me:$LINENO: result: yes" >&5
4785 echo "${ECHO_T}yes" >&6
4786 else
4787 echo "$as_me:$LINENO: result: no" >&5
4788 echo "${ECHO_T}no" >&6
4789 fi
4790
4791
4792 enablestring=
4793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4794 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4795 no_cache=0
4796 # Check whether --enable-datetime or --disable-datetime was given.
4797 if test "${enable_datetime+set}" = set; then
4798 enableval="$enable_datetime"
4799
4800 if test "$enableval" = yes; then
4801 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4802 else
4803 ac_cv_use_datetime='wxUSE_DATETIME=no'
4804 fi
4805
4806 else
4807
4808 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4809 if test "x$LINE" != x ; then
4810 eval "DEFAULT_$LINE"
4811 else
4812 no_cache=1
4813 fi
4814
4815 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4816
4817 fi;
4818
4819 eval "$ac_cv_use_datetime"
4820 if test "$no_cache" != 1; then
4821 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4822 fi
4823
4824 if test "$wxUSE_DATETIME" = yes; then
4825 echo "$as_me:$LINENO: result: yes" >&5
4826 echo "${ECHO_T}yes" >&6
4827 else
4828 echo "$as_me:$LINENO: result: no" >&5
4829 echo "${ECHO_T}no" >&6
4830 fi
4831
4832
4833 enablestring=
4834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4835 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4836 no_cache=0
4837 # Check whether --enable-dialupman or --disable-dialupman was given.
4838 if test "${enable_dialupman+set}" = set; then
4839 enableval="$enable_dialupman"
4840
4841 if test "$enableval" = yes; then
4842 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4843 else
4844 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4845 fi
4846
4847 else
4848
4849 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x ; then
4851 eval "DEFAULT_$LINE"
4852 else
4853 no_cache=1
4854 fi
4855
4856 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4857
4858 fi;
4859
4860 eval "$ac_cv_use_dialupman"
4861 if test "$no_cache" != 1; then
4862 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4863 fi
4864
4865 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4866 echo "$as_me:$LINENO: result: yes" >&5
4867 echo "${ECHO_T}yes" >&6
4868 else
4869 echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6
4871 fi
4872
4873
4874 enablestring=
4875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4876 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4877 no_cache=0
4878 # Check whether --enable-dynlib or --disable-dynlib was given.
4879 if test "${enable_dynlib+set}" = set; then
4880 enableval="$enable_dynlib"
4881
4882 if test "$enableval" = yes; then
4883 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4884 else
4885 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4886 fi
4887
4888 else
4889
4890 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4891 if test "x$LINE" != x ; then
4892 eval "DEFAULT_$LINE"
4893 else
4894 no_cache=1
4895 fi
4896
4897 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4898
4899 fi;
4900
4901 eval "$ac_cv_use_dynlib"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4904 fi
4905
4906 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4907 echo "$as_me:$LINENO: result: yes" >&5
4908 echo "${ECHO_T}yes" >&6
4909 else
4910 echo "$as_me:$LINENO: result: no" >&5
4911 echo "${ECHO_T}no" >&6
4912 fi
4913
4914
4915 enablestring=
4916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4917 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4918 no_cache=0
4919 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4920 if test "${enable_dynamicloader+set}" = set; then
4921 enableval="$enable_dynamicloader"
4922
4923 if test "$enableval" = yes; then
4924 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4925 else
4926 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4927 fi
4928
4929 else
4930
4931 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4932 if test "x$LINE" != x ; then
4933 eval "DEFAULT_$LINE"
4934 else
4935 no_cache=1
4936 fi
4937
4938 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4939
4940 fi;
4941
4942 eval "$ac_cv_use_dynamicloader"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4945 fi
4946
4947 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4948 echo "$as_me:$LINENO: result: yes" >&5
4949 echo "${ECHO_T}yes" >&6
4950 else
4951 echo "$as_me:$LINENO: result: no" >&5
4952 echo "${ECHO_T}no" >&6
4953 fi
4954
4955
4956 enablestring=
4957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4958 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4959 no_cache=0
4960 # Check whether --enable-exceptions or --disable-exceptions was given.
4961 if test "${enable_exceptions+set}" = set; then
4962 enableval="$enable_exceptions"
4963
4964 if test "$enableval" = yes; then
4965 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4966 else
4967 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4968 fi
4969
4970 else
4971
4972 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4973 if test "x$LINE" != x ; then
4974 eval "DEFAULT_$LINE"
4975 else
4976 no_cache=1
4977 fi
4978
4979 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4980
4981 fi;
4982
4983 eval "$ac_cv_use_exceptions"
4984 if test "$no_cache" != 1; then
4985 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4986 fi
4987
4988 if test "$wxUSE_EXCEPTIONS" = yes; then
4989 echo "$as_me:$LINENO: result: yes" >&5
4990 echo "${ECHO_T}yes" >&6
4991 else
4992 echo "$as_me:$LINENO: result: no" >&5
4993 echo "${ECHO_T}no" >&6
4994 fi
4995
4996
4997 enablestring=
4998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4999 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5000 no_cache=0
5001 # Check whether --enable-ffile or --disable-ffile was given.
5002 if test "${enable_ffile+set}" = set; then
5003 enableval="$enable_ffile"
5004
5005 if test "$enableval" = yes; then
5006 ac_cv_use_ffile='wxUSE_FFILE=yes'
5007 else
5008 ac_cv_use_ffile='wxUSE_FFILE=no'
5009 fi
5010
5011 else
5012
5013 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5014 if test "x$LINE" != x ; then
5015 eval "DEFAULT_$LINE"
5016 else
5017 no_cache=1
5018 fi
5019
5020 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5021
5022 fi;
5023
5024 eval "$ac_cv_use_ffile"
5025 if test "$no_cache" != 1; then
5026 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5027 fi
5028
5029 if test "$wxUSE_FFILE" = yes; then
5030 echo "$as_me:$LINENO: result: yes" >&5
5031 echo "${ECHO_T}yes" >&6
5032 else
5033 echo "$as_me:$LINENO: result: no" >&5
5034 echo "${ECHO_T}no" >&6
5035 fi
5036
5037
5038 enablestring=
5039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5041 no_cache=0
5042 # Check whether --enable-file or --disable-file was given.
5043 if test "${enable_file+set}" = set; then
5044 enableval="$enable_file"
5045
5046 if test "$enableval" = yes; then
5047 ac_cv_use_file='wxUSE_FILE=yes'
5048 else
5049 ac_cv_use_file='wxUSE_FILE=no'
5050 fi
5051
5052 else
5053
5054 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x ; then
5056 eval "DEFAULT_$LINE"
5057 else
5058 no_cache=1
5059 fi
5060
5061 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5062
5063 fi;
5064
5065 eval "$ac_cv_use_file"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5068 fi
5069
5070 if test "$wxUSE_FILE" = yes; then
5071 echo "$as_me:$LINENO: result: yes" >&5
5072 echo "${ECHO_T}yes" >&6
5073 else
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5076 fi
5077
5078
5079 enablestring=
5080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5082 no_cache=0
5083 # Check whether --enable-filesystem or --disable-filesystem was given.
5084 if test "${enable_filesystem+set}" = set; then
5085 enableval="$enable_filesystem"
5086
5087 if test "$enableval" = yes; then
5088 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5089 else
5090 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5091 fi
5092
5093 else
5094
5095 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x ; then
5097 eval "DEFAULT_$LINE"
5098 else
5099 no_cache=1
5100 fi
5101
5102 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5103
5104 fi;
5105
5106 eval "$ac_cv_use_filesystem"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5109 fi
5110
5111 if test "$wxUSE_FILESYSTEM" = yes; then
5112 echo "$as_me:$LINENO: result: yes" >&5
5113 echo "${ECHO_T}yes" >&6
5114 else
5115 echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6
5117 fi
5118
5119
5120 enablestring=
5121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5123 no_cache=0
5124 # Check whether --enable-fontmap or --disable-fontmap was given.
5125 if test "${enable_fontmap+set}" = set; then
5126 enableval="$enable_fontmap"
5127
5128 if test "$enableval" = yes; then
5129 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5130 else
5131 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5132 fi
5133
5134 else
5135
5136 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x ; then
5138 eval "DEFAULT_$LINE"
5139 else
5140 no_cache=1
5141 fi
5142
5143 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5144
5145 fi;
5146
5147 eval "$ac_cv_use_fontmap"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5150 fi
5151
5152 if test "$wxUSE_FONTMAP" = yes; then
5153 echo "$as_me:$LINENO: result: yes" >&5
5154 echo "${ECHO_T}yes" >&6
5155 else
5156 echo "$as_me:$LINENO: result: no" >&5
5157 echo "${ECHO_T}no" >&6
5158 fi
5159
5160
5161 enablestring=
5162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5164 no_cache=0
5165 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5166 if test "${enable_fs_inet+set}" = set; then
5167 enableval="$enable_fs_inet"
5168
5169 if test "$enableval" = yes; then
5170 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5171 else
5172 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5173 fi
5174
5175 else
5176
5177 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x ; then
5179 eval "DEFAULT_$LINE"
5180 else
5181 no_cache=1
5182 fi
5183
5184 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5185
5186 fi;
5187
5188 eval "$ac_cv_use_fs_inet"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5191 fi
5192
5193 if test "$wxUSE_FS_INET" = yes; then
5194 echo "$as_me:$LINENO: result: yes" >&5
5195 echo "${ECHO_T}yes" >&6
5196 else
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5199 fi
5200
5201
5202 enablestring=
5203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5205 no_cache=0
5206 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5207 if test "${enable_fs_zip+set}" = set; then
5208 enableval="$enable_fs_zip"
5209
5210 if test "$enableval" = yes; then
5211 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5212 else
5213 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5214 fi
5215
5216 else
5217
5218 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x ; then
5220 eval "DEFAULT_$LINE"
5221 else
5222 no_cache=1
5223 fi
5224
5225 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5226
5227 fi;
5228
5229 eval "$ac_cv_use_fs_zip"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5232 fi
5233
5234 if test "$wxUSE_FS_ZIP" = yes; then
5235 echo "$as_me:$LINENO: result: yes" >&5
5236 echo "${ECHO_T}yes" >&6
5237 else
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5240 fi
5241
5242
5243 enablestring=
5244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5246 no_cache=0
5247 # Check whether --enable-geometry or --disable-geometry was given.
5248 if test "${enable_geometry+set}" = set; then
5249 enableval="$enable_geometry"
5250
5251 if test "$enableval" = yes; then
5252 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5253 else
5254 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5255 fi
5256
5257 else
5258
5259 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x ; then
5261 eval "DEFAULT_$LINE"
5262 else
5263 no_cache=1
5264 fi
5265
5266 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5267
5268 fi;
5269
5270 eval "$ac_cv_use_geometry"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5273 fi
5274
5275 if test "$wxUSE_GEOMETRY" = yes; then
5276 echo "$as_me:$LINENO: result: yes" >&5
5277 echo "${ECHO_T}yes" >&6
5278 else
5279 echo "$as_me:$LINENO: result: no" >&5
5280 echo "${ECHO_T}no" >&6
5281 fi
5282
5283
5284 enablestring=
5285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5286 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5287 no_cache=0
5288 # Check whether --enable-log or --disable-log was given.
5289 if test "${enable_log+set}" = set; then
5290 enableval="$enable_log"
5291
5292 if test "$enableval" = yes; then
5293 ac_cv_use_log='wxUSE_LOG=yes'
5294 else
5295 ac_cv_use_log='wxUSE_LOG=no'
5296 fi
5297
5298 else
5299
5300 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5301 if test "x$LINE" != x ; then
5302 eval "DEFAULT_$LINE"
5303 else
5304 no_cache=1
5305 fi
5306
5307 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5308
5309 fi;
5310
5311 eval "$ac_cv_use_log"
5312 if test "$no_cache" != 1; then
5313 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5314 fi
5315
5316 if test "$wxUSE_LOG" = yes; then
5317 echo "$as_me:$LINENO: result: yes" >&5
5318 echo "${ECHO_T}yes" >&6
5319 else
5320 echo "$as_me:$LINENO: result: no" >&5
5321 echo "${ECHO_T}no" >&6
5322 fi
5323
5324
5325 enablestring=
5326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5328 no_cache=0
5329 # Check whether --enable-longlong or --disable-longlong was given.
5330 if test "${enable_longlong+set}" = set; then
5331 enableval="$enable_longlong"
5332
5333 if test "$enableval" = yes; then
5334 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5335 else
5336 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5337 fi
5338
5339 else
5340
5341 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x ; then
5343 eval "DEFAULT_$LINE"
5344 else
5345 no_cache=1
5346 fi
5347
5348 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5349
5350 fi;
5351
5352 eval "$ac_cv_use_longlong"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5355 fi
5356
5357 if test "$wxUSE_LONGLONG" = yes; then
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5360 else
5361 echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6
5363 fi
5364
5365
5366 enablestring=
5367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5369 no_cache=0
5370 # Check whether --enable-mimetype or --disable-mimetype was given.
5371 if test "${enable_mimetype+set}" = set; then
5372 enableval="$enable_mimetype"
5373
5374 if test "$enableval" = yes; then
5375 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5376 else
5377 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5378 fi
5379
5380 else
5381
5382 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x ; then
5384 eval "DEFAULT_$LINE"
5385 else
5386 no_cache=1
5387 fi
5388
5389 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5390
5391 fi;
5392
5393 eval "$ac_cv_use_mimetype"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5396 fi
5397
5398 if test "$wxUSE_MIMETYPE" = yes; then
5399 echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6
5401 else
5402 echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6
5404 fi
5405
5406
5407 enablestring=
5408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5410 no_cache=0
5411 # Check whether --enable-mslu or --disable-mslu was given.
5412 if test "${enable_mslu+set}" = set; then
5413 enableval="$enable_mslu"
5414
5415 if test "$enableval" = yes; then
5416 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5417 else
5418 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5419 fi
5420
5421 else
5422
5423 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x ; then
5425 eval "DEFAULT_$LINE"
5426 else
5427 no_cache=1
5428 fi
5429
5430 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5431
5432 fi;
5433
5434 eval "$ac_cv_use_mslu"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5437 fi
5438
5439 if test "$wxUSE_UNICODE_MSLU" = yes; then
5440 echo "$as_me:$LINENO: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5442 else
5443 echo "$as_me:$LINENO: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5445 fi
5446
5447
5448 enablestring=
5449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5451 no_cache=0
5452 # Check whether --enable-snglinst or --disable-snglinst was given.
5453 if test "${enable_snglinst+set}" = set; then
5454 enableval="$enable_snglinst"
5455
5456 if test "$enableval" = yes; then
5457 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5458 else
5459 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5460 fi
5461
5462 else
5463
5464 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x ; then
5466 eval "DEFAULT_$LINE"
5467 else
5468 no_cache=1
5469 fi
5470
5471 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5472
5473 fi;
5474
5475 eval "$ac_cv_use_snglinst"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5478 fi
5479
5480 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5481 echo "$as_me:$LINENO: result: yes" >&5
5482 echo "${ECHO_T}yes" >&6
5483 else
5484 echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6
5486 fi
5487
5488
5489 enablestring=
5490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5492 no_cache=0
5493 # Check whether --enable-streams or --disable-streams was given.
5494 if test "${enable_streams+set}" = set; then
5495 enableval="$enable_streams"
5496
5497 if test "$enableval" = yes; then
5498 ac_cv_use_streams='wxUSE_STREAMS=yes'
5499 else
5500 ac_cv_use_streams='wxUSE_STREAMS=no'
5501 fi
5502
5503 else
5504
5505 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5508 else
5509 no_cache=1
5510 fi
5511
5512 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5513
5514 fi;
5515
5516 eval "$ac_cv_use_streams"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5519 fi
5520
5521 if test "$wxUSE_STREAMS" = yes; then
5522 echo "$as_me:$LINENO: result: yes" >&5
5523 echo "${ECHO_T}yes" >&6
5524 else
5525 echo "$as_me:$LINENO: result: no" >&5
5526 echo "${ECHO_T}no" >&6
5527 fi
5528
5529
5530 enablestring=
5531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5533 no_cache=0
5534 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5535 if test "${enable_std_iostreams+set}" = set; then
5536 enableval="$enable_std_iostreams"
5537
5538 if test "$enableval" = yes; then
5539 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5540 else
5541 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5542 fi
5543
5544 else
5545
5546 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x ; then
5548 eval "DEFAULT_$LINE"
5549 else
5550 no_cache=1
5551 fi
5552
5553 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5554
5555 fi;
5556
5557 eval "$ac_cv_use_std_iostreams"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5560 fi
5561
5562 if test "$wxUSE_STD_IOSTREAM" = yes; then
5563 echo "$as_me:$LINENO: result: yes" >&5
5564 echo "${ECHO_T}yes" >&6
5565 else
5566 echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6
5568 fi
5569
5570
5571 enablestring=
5572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5574 no_cache=0
5575 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5576 if test "${enable_stopwatch+set}" = set; then
5577 enableval="$enable_stopwatch"
5578
5579 if test "$enableval" = yes; then
5580 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5581 else
5582 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5583 fi
5584
5585 else
5586
5587 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x ; then
5589 eval "DEFAULT_$LINE"
5590 else
5591 no_cache=1
5592 fi
5593
5594 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5595
5596 fi;
5597
5598 eval "$ac_cv_use_stopwatch"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5601 fi
5602
5603 if test "$wxUSE_STOPWATCH" = yes; then
5604 echo "$as_me:$LINENO: result: yes" >&5
5605 echo "${ECHO_T}yes" >&6
5606 else
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5609 fi
5610
5611
5612 enablestring=
5613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5614 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5615 no_cache=0
5616 # Check whether --enable-system_options or --disable-system_options was given.
5617 if test "${enable_system_options+set}" = set; then
5618 enableval="$enable_system_options"
5619
5620 if test "$enableval" = yes; then
5621 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5622 else
5623 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5624 fi
5625
5626 else
5627
5628 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x ; then
5630 eval "DEFAULT_$LINE"
5631 else
5632 no_cache=1
5633 fi
5634
5635 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5636
5637 fi;
5638
5639 eval "$ac_cv_use_system_options"
5640 if test "$no_cache" != 1; then
5641 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5642 fi
5643
5644 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5645 echo "$as_me:$LINENO: result: yes" >&5
5646 echo "${ECHO_T}yes" >&6
5647 else
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5650 fi
5651
5652
5653 enablestring=
5654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5656 no_cache=0
5657 # Check whether --enable-textbuf or --disable-textbuf was given.
5658 if test "${enable_textbuf+set}" = set; then
5659 enableval="$enable_textbuf"
5660
5661 if test "$enableval" = yes; then
5662 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5663 else
5664 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5665 fi
5666
5667 else
5668
5669 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x ; then
5671 eval "DEFAULT_$LINE"
5672 else
5673 no_cache=1
5674 fi
5675
5676 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5677
5678 fi;
5679
5680 eval "$ac_cv_use_textbuf"
5681 if test "$no_cache" != 1; then
5682 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5683 fi
5684
5685 if test "$wxUSE_TEXTBUFFER" = yes; then
5686 echo "$as_me:$LINENO: result: yes" >&5
5687 echo "${ECHO_T}yes" >&6
5688 else
5689 echo "$as_me:$LINENO: result: no" >&5
5690 echo "${ECHO_T}no" >&6
5691 fi
5692
5693
5694 enablestring=
5695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5696 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5697 no_cache=0
5698 # Check whether --enable-textfile or --disable-textfile was given.
5699 if test "${enable_textfile+set}" = set; then
5700 enableval="$enable_textfile"
5701
5702 if test "$enableval" = yes; then
5703 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5704 else
5705 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5706 fi
5707
5708 else
5709
5710 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5711 if test "x$LINE" != x ; then
5712 eval "DEFAULT_$LINE"
5713 else
5714 no_cache=1
5715 fi
5716
5717 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5718
5719 fi;
5720
5721 eval "$ac_cv_use_textfile"
5722 if test "$no_cache" != 1; then
5723 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5724 fi
5725
5726 if test "$wxUSE_TEXTFILE" = yes; then
5727 echo "$as_me:$LINENO: result: yes" >&5
5728 echo "${ECHO_T}yes" >&6
5729 else
5730 echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6
5732 fi
5733
5734
5735 enablestring=
5736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5738 no_cache=0
5739 # Check whether --enable-timer or --disable-timer was given.
5740 if test "${enable_timer+set}" = set; then
5741 enableval="$enable_timer"
5742
5743 if test "$enableval" = yes; then
5744 ac_cv_use_timer='wxUSE_TIMER=yes'
5745 else
5746 ac_cv_use_timer='wxUSE_TIMER=no'
5747 fi
5748
5749 else
5750
5751 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x ; then
5753 eval "DEFAULT_$LINE"
5754 else
5755 no_cache=1
5756 fi
5757
5758 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5759
5760 fi;
5761
5762 eval "$ac_cv_use_timer"
5763 if test "$no_cache" != 1; then
5764 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5765 fi
5766
5767 if test "$wxUSE_TIMER" = yes; then
5768 echo "$as_me:$LINENO: result: yes" >&5
5769 echo "${ECHO_T}yes" >&6
5770 else
5771 echo "$as_me:$LINENO: result: no" >&5
5772 echo "${ECHO_T}no" >&6
5773 fi
5774
5775
5776 enablestring=
5777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5778 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5779 no_cache=0
5780 # Check whether --enable-unicode or --disable-unicode was given.
5781 if test "${enable_unicode+set}" = set; then
5782 enableval="$enable_unicode"
5783
5784 if test "$enableval" = yes; then
5785 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5786 else
5787 ac_cv_use_unicode='wxUSE_UNICODE=no'
5788 fi
5789
5790 else
5791
5792 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5793 if test "x$LINE" != x ; then
5794 eval "DEFAULT_$LINE"
5795 else
5796 no_cache=1
5797 fi
5798
5799 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5800
5801 fi;
5802
5803 eval "$ac_cv_use_unicode"
5804 if test "$no_cache" != 1; then
5805 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5806 fi
5807
5808 if test "$wxUSE_UNICODE" = yes; then
5809 echo "$as_me:$LINENO: result: yes" >&5
5810 echo "${ECHO_T}yes" >&6
5811 else
5812 echo "$as_me:$LINENO: result: no" >&5
5813 echo "${ECHO_T}no" >&6
5814 fi
5815
5816
5817 enablestring=
5818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5819 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5820 no_cache=0
5821 # Check whether --enable-sound or --disable-sound was given.
5822 if test "${enable_sound+set}" = set; then
5823 enableval="$enable_sound"
5824
5825 if test "$enableval" = yes; then
5826 ac_cv_use_sound='wxUSE_SOUND=yes'
5827 else
5828 ac_cv_use_sound='wxUSE_SOUND=no'
5829 fi
5830
5831 else
5832
5833 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5834 if test "x$LINE" != x ; then
5835 eval "DEFAULT_$LINE"
5836 else
5837 no_cache=1
5838 fi
5839
5840 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5841
5842 fi;
5843
5844 eval "$ac_cv_use_sound"
5845 if test "$no_cache" != 1; then
5846 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5847 fi
5848
5849 if test "$wxUSE_SOUND" = yes; then
5850 echo "$as_me:$LINENO: result: yes" >&5
5851 echo "${ECHO_T}yes" >&6
5852 else
5853 echo "$as_me:$LINENO: result: no" >&5
5854 echo "${ECHO_T}no" >&6
5855 fi
5856
5857
5858 enablestring=
5859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5861 no_cache=0
5862 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5863 if test "${enable_mediactrl+set}" = set; then
5864 enableval="$enable_mediactrl"
5865
5866 if test "$enableval" = yes; then
5867 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
5868 else
5869 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
5870 fi
5871
5872 else
5873
5874 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5875 if test "x$LINE" != x ; then
5876 eval "DEFAULT_$LINE"
5877 else
5878 no_cache=1
5879 fi
5880
5881 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5882
5883 fi;
5884
5885 eval "$ac_cv_use_mediactrl"
5886 if test "$no_cache" != 1; then
5887 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5888 fi
5889
5890 if test "$wxUSE_MEDIACTRL" = yes; then
5891 echo "$as_me:$LINENO: result: yes" >&5
5892 echo "${ECHO_T}yes" >&6
5893 else
5894 echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6
5896 fi
5897
5898
5899 enablestring=
5900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5902 no_cache=0
5903 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5904 if test "${enable_wxprintfv+set}" = set; then
5905 enableval="$enable_wxprintfv"
5906
5907 if test "$enableval" = yes; then
5908 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5909 else
5910 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5911 fi
5912
5913 else
5914
5915 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x ; then
5917 eval "DEFAULT_$LINE"
5918 else
5919 no_cache=1
5920 fi
5921
5922 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5923
5924 fi;
5925
5926 eval "$ac_cv_use_wxprintfv"
5927 if test "$no_cache" != 1; then
5928 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5929 fi
5930
5931 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5932 echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6
5934 else
5935 echo "$as_me:$LINENO: result: no" >&5
5936 echo "${ECHO_T}no" >&6
5937 fi
5938
5939
5940 enablestring=
5941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5943 no_cache=0
5944 # Check whether --enable-zipstream or --disable-zipstream was given.
5945 if test "${enable_zipstream+set}" = set; then
5946 enableval="$enable_zipstream"
5947
5948 if test "$enableval" = yes; then
5949 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5950 else
5951 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5952 fi
5953
5954 else
5955
5956 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5957 if test "x$LINE" != x ; then
5958 eval "DEFAULT_$LINE"
5959 else
5960 no_cache=1
5961 fi
5962
5963 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5964
5965 fi;
5966
5967 eval "$ac_cv_use_zipstream"
5968 if test "$no_cache" != 1; then
5969 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5970 fi
5971
5972 if test "$wxUSE_ZIPSTREAM" = yes; then
5973 echo "$as_me:$LINENO: result: yes" >&5
5974 echo "${ECHO_T}yes" >&6
5975 else
5976 echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6
5978 fi
5979
5980
5981
5982 enablestring=
5983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5984 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5985 no_cache=0
5986 # Check whether --enable-url or --disable-url was given.
5987 if test "${enable_url+set}" = set; then
5988 enableval="$enable_url"
5989
5990 if test "$enableval" = yes; then
5991 ac_cv_use_url='wxUSE_URL=yes'
5992 else
5993 ac_cv_use_url='wxUSE_URL=no'
5994 fi
5995
5996 else
5997
5998 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5999 if test "x$LINE" != x ; then
6000 eval "DEFAULT_$LINE"
6001 else
6002 no_cache=1
6003 fi
6004
6005 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6006
6007 fi;
6008
6009 eval "$ac_cv_use_url"
6010 if test "$no_cache" != 1; then
6011 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6012 fi
6013
6014 if test "$wxUSE_URL" = yes; then
6015 echo "$as_me:$LINENO: result: yes" >&5
6016 echo "${ECHO_T}yes" >&6
6017 else
6018 echo "$as_me:$LINENO: result: no" >&5
6019 echo "${ECHO_T}no" >&6
6020 fi
6021
6022
6023 enablestring=
6024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6025 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6026 no_cache=0
6027 # Check whether --enable-protocol or --disable-protocol was given.
6028 if test "${enable_protocol+set}" = set; then
6029 enableval="$enable_protocol"
6030
6031 if test "$enableval" = yes; then
6032 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6033 else
6034 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6035 fi
6036
6037 else
6038
6039 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6040 if test "x$LINE" != x ; then
6041 eval "DEFAULT_$LINE"
6042 else
6043 no_cache=1
6044 fi
6045
6046 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6047
6048 fi;
6049
6050 eval "$ac_cv_use_protocol"
6051 if test "$no_cache" != 1; then
6052 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6053 fi
6054
6055 if test "$wxUSE_PROTOCOL" = yes; then
6056 echo "$as_me:$LINENO: result: yes" >&5
6057 echo "${ECHO_T}yes" >&6
6058 else
6059 echo "$as_me:$LINENO: result: no" >&5
6060 echo "${ECHO_T}no" >&6
6061 fi
6062
6063
6064 enablestring=
6065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6066 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6067 no_cache=0
6068 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6069 if test "${enable_protocol_http+set}" = set; then
6070 enableval="$enable_protocol_http"
6071
6072 if test "$enableval" = yes; then
6073 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6074 else
6075 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6076 fi
6077
6078 else
6079
6080 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6081 if test "x$LINE" != x ; then
6082 eval "DEFAULT_$LINE"
6083 else
6084 no_cache=1
6085 fi
6086
6087 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6088
6089 fi;
6090
6091 eval "$ac_cv_use_protocol_http"
6092 if test "$no_cache" != 1; then
6093 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6094 fi
6095
6096 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6097 echo "$as_me:$LINENO: result: yes" >&5
6098 echo "${ECHO_T}yes" >&6
6099 else
6100 echo "$as_me:$LINENO: result: no" >&5
6101 echo "${ECHO_T}no" >&6
6102 fi
6103
6104
6105 enablestring=
6106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6107 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6108 no_cache=0
6109 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6110 if test "${enable_protocol_ftp+set}" = set; then
6111 enableval="$enable_protocol_ftp"
6112
6113 if test "$enableval" = yes; then
6114 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6115 else
6116 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6117 fi
6118
6119 else
6120
6121 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6122 if test "x$LINE" != x ; then
6123 eval "DEFAULT_$LINE"
6124 else
6125 no_cache=1
6126 fi
6127
6128 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6129
6130 fi;
6131
6132 eval "$ac_cv_use_protocol_ftp"
6133 if test "$no_cache" != 1; then
6134 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6135 fi
6136
6137 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6138 echo "$as_me:$LINENO: result: yes" >&5
6139 echo "${ECHO_T}yes" >&6
6140 else
6141 echo "$as_me:$LINENO: result: no" >&5
6142 echo "${ECHO_T}no" >&6
6143 fi
6144
6145
6146 enablestring=
6147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6148 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6149 no_cache=0
6150 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6151 if test "${enable_protocol_file+set}" = set; then
6152 enableval="$enable_protocol_file"
6153
6154 if test "$enableval" = yes; then
6155 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6156 else
6157 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6158 fi
6159
6160 else
6161
6162 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6163 if test "x$LINE" != x ; then
6164 eval "DEFAULT_$LINE"
6165 else
6166 no_cache=1
6167 fi
6168
6169 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6170
6171 fi;
6172
6173 eval "$ac_cv_use_protocol_file"
6174 if test "$no_cache" != 1; then
6175 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6176 fi
6177
6178 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6179 echo "$as_me:$LINENO: result: yes" >&5
6180 echo "${ECHO_T}yes" >&6
6181 else
6182 echo "$as_me:$LINENO: result: no" >&5
6183 echo "${ECHO_T}no" >&6
6184 fi
6185
6186
6187
6188
6189
6190 enablestring=
6191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6192 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6193 no_cache=0
6194 # Check whether --enable-threads or --disable-threads was given.
6195 if test "${enable_threads+set}" = set; then
6196 enableval="$enable_threads"
6197
6198 if test "$enableval" = yes; then
6199 ac_cv_use_threads='wxUSE_THREADS=yes'
6200 else
6201 ac_cv_use_threads='wxUSE_THREADS=no'
6202 fi
6203
6204 else
6205
6206 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6207 if test "x$LINE" != x ; then
6208 eval "DEFAULT_$LINE"
6209 else
6210 no_cache=1
6211 fi
6212
6213 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6214
6215 fi;
6216
6217 eval "$ac_cv_use_threads"
6218 if test "$no_cache" != 1; then
6219 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6220 fi
6221
6222 if test "$wxUSE_THREADS" = yes; then
6223 echo "$as_me:$LINENO: result: yes" >&5
6224 echo "${ECHO_T}yes" >&6
6225 else
6226 echo "$as_me:$LINENO: result: no" >&5
6227 echo "${ECHO_T}no" >&6
6228 fi
6229
6230
6231 if test "$wxUSE_GUI" = "yes"; then
6232
6233
6234
6235 enablestring=
6236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6237 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6238 no_cache=0
6239 # Check whether --enable-docview or --disable-docview was given.
6240 if test "${enable_docview+set}" = set; then
6241 enableval="$enable_docview"
6242
6243 if test "$enableval" = yes; then
6244 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6245 else
6246 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6247 fi
6248
6249 else
6250
6251 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6252 if test "x$LINE" != x ; then
6253 eval "DEFAULT_$LINE"
6254 else
6255 no_cache=1
6256 fi
6257
6258 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6259
6260 fi;
6261
6262 eval "$ac_cv_use_docview"
6263 if test "$no_cache" != 1; then
6264 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6265 fi
6266
6267 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6268 echo "$as_me:$LINENO: result: yes" >&5
6269 echo "${ECHO_T}yes" >&6
6270 else
6271 echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6
6273 fi
6274
6275
6276 enablestring=
6277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6278 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6279 no_cache=0
6280 # Check whether --enable-help or --disable-help was given.
6281 if test "${enable_help+set}" = set; then
6282 enableval="$enable_help"
6283
6284 if test "$enableval" = yes; then
6285 ac_cv_use_help='wxUSE_HELP=yes'
6286 else
6287 ac_cv_use_help='wxUSE_HELP=no'
6288 fi
6289
6290 else
6291
6292 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6293 if test "x$LINE" != x ; then
6294 eval "DEFAULT_$LINE"
6295 else
6296 no_cache=1
6297 fi
6298
6299 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6300
6301 fi;
6302
6303 eval "$ac_cv_use_help"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6306 fi
6307
6308 if test "$wxUSE_HELP" = yes; then
6309 echo "$as_me:$LINENO: result: yes" >&5
6310 echo "${ECHO_T}yes" >&6
6311 else
6312 echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6
6314 fi
6315
6316
6317 enablestring=
6318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6319 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6320 no_cache=0
6321 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6322 if test "${enable_mshtmlhelp+set}" = set; then
6323 enableval="$enable_mshtmlhelp"
6324
6325 if test "$enableval" = yes; then
6326 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6327 else
6328 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6329 fi
6330
6331 else
6332
6333 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x ; then
6335 eval "DEFAULT_$LINE"
6336 else
6337 no_cache=1
6338 fi
6339
6340 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6341
6342 fi;
6343
6344 eval "$ac_cv_use_mshtmlhelp"
6345 if test "$no_cache" != 1; then
6346 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6347 fi
6348
6349 if test "$wxUSE_MS_HTML_HELP" = yes; then
6350 echo "$as_me:$LINENO: result: yes" >&5
6351 echo "${ECHO_T}yes" >&6
6352 else
6353 echo "$as_me:$LINENO: result: no" >&5
6354 echo "${ECHO_T}no" >&6
6355 fi
6356
6357
6358 enablestring=
6359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6361 no_cache=0
6362 # Check whether --enable-html or --disable-html was given.
6363 if test "${enable_html+set}" = set; then
6364 enableval="$enable_html"
6365
6366 if test "$enableval" = yes; then
6367 ac_cv_use_html='wxUSE_HTML=yes'
6368 else
6369 ac_cv_use_html='wxUSE_HTML=no'
6370 fi
6371
6372 else
6373
6374 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6375 if test "x$LINE" != x ; then
6376 eval "DEFAULT_$LINE"
6377 else
6378 no_cache=1
6379 fi
6380
6381 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6382
6383 fi;
6384
6385 eval "$ac_cv_use_html"
6386 if test "$no_cache" != 1; then
6387 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6388 fi
6389
6390 if test "$wxUSE_HTML" = yes; then
6391 echo "$as_me:$LINENO: result: yes" >&5
6392 echo "${ECHO_T}yes" >&6
6393 else
6394 echo "$as_me:$LINENO: result: no" >&5
6395 echo "${ECHO_T}no" >&6
6396 fi
6397
6398
6399 enablestring=
6400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6402 no_cache=0
6403 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6404 if test "${enable_htmlhelp+set}" = set; then
6405 enableval="$enable_htmlhelp"
6406
6407 if test "$enableval" = yes; then
6408 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6409 else
6410 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6411 fi
6412
6413 else
6414
6415 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6416 if test "x$LINE" != x ; then
6417 eval "DEFAULT_$LINE"
6418 else
6419 no_cache=1
6420 fi
6421
6422 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6423
6424 fi;
6425
6426 eval "$ac_cv_use_htmlhelp"
6427 if test "$no_cache" != 1; then
6428 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6429 fi
6430
6431 if test "$wxUSE_WXHTML_HELP" = yes; then
6432 echo "$as_me:$LINENO: result: yes" >&5
6433 echo "${ECHO_T}yes" >&6
6434 else
6435 echo "$as_me:$LINENO: result: no" >&5
6436 echo "${ECHO_T}no" >&6
6437 fi
6438
6439
6440 enablestring=
6441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6442 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6443 no_cache=0
6444 # Check whether --enable-xrc or --disable-xrc was given.
6445 if test "${enable_xrc+set}" = set; then
6446 enableval="$enable_xrc"
6447
6448 if test "$enableval" = yes; then
6449 ac_cv_use_xrc='wxUSE_XRC=yes'
6450 else
6451 ac_cv_use_xrc='wxUSE_XRC=no'
6452 fi
6453
6454 else
6455
6456 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6457 if test "x$LINE" != x ; then
6458 eval "DEFAULT_$LINE"
6459 else
6460 no_cache=1
6461 fi
6462
6463 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6464
6465 fi;
6466
6467 eval "$ac_cv_use_xrc"
6468 if test "$no_cache" != 1; then
6469 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6470 fi
6471
6472 if test "$wxUSE_XRC" = yes; then
6473 echo "$as_me:$LINENO: result: yes" >&5
6474 echo "${ECHO_T}yes" >&6
6475 else
6476 echo "$as_me:$LINENO: result: no" >&5
6477 echo "${ECHO_T}no" >&6
6478 fi
6479
6480
6481 enablestring=
6482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6483 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6484 no_cache=0
6485 # Check whether --enable-constraints or --disable-constraints was given.
6486 if test "${enable_constraints+set}" = set; then
6487 enableval="$enable_constraints"
6488
6489 if test "$enableval" = yes; then
6490 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6491 else
6492 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6493 fi
6494
6495 else
6496
6497 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6498 if test "x$LINE" != x ; then
6499 eval "DEFAULT_$LINE"
6500 else
6501 no_cache=1
6502 fi
6503
6504 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6505
6506 fi;
6507
6508 eval "$ac_cv_use_constraints"
6509 if test "$no_cache" != 1; then
6510 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6511 fi
6512
6513 if test "$wxUSE_CONSTRAINTS" = yes; then
6514 echo "$as_me:$LINENO: result: yes" >&5
6515 echo "${ECHO_T}yes" >&6
6516 else
6517 echo "$as_me:$LINENO: result: no" >&5
6518 echo "${ECHO_T}no" >&6
6519 fi
6520
6521
6522 enablestring=
6523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6524 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6525 no_cache=0
6526 # Check whether --enable-printarch or --disable-printarch was given.
6527 if test "${enable_printarch+set}" = set; then
6528 enableval="$enable_printarch"
6529
6530 if test "$enableval" = yes; then
6531 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6532 else
6533 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6534 fi
6535
6536 else
6537
6538 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6539 if test "x$LINE" != x ; then
6540 eval "DEFAULT_$LINE"
6541 else
6542 no_cache=1
6543 fi
6544
6545 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6546
6547 fi;
6548
6549 eval "$ac_cv_use_printarch"
6550 if test "$no_cache" != 1; then
6551 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6552 fi
6553
6554 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6555 echo "$as_me:$LINENO: result: yes" >&5
6556 echo "${ECHO_T}yes" >&6
6557 else
6558 echo "$as_me:$LINENO: result: no" >&5
6559 echo "${ECHO_T}no" >&6
6560 fi
6561
6562
6563 enablestring=
6564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6565 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6566 no_cache=0
6567 # Check whether --enable-mdi or --disable-mdi was given.
6568 if test "${enable_mdi+set}" = set; then
6569 enableval="$enable_mdi"
6570
6571 if test "$enableval" = yes; then
6572 ac_cv_use_mdi='wxUSE_MDI=yes'
6573 else
6574 ac_cv_use_mdi='wxUSE_MDI=no'
6575 fi
6576
6577 else
6578
6579 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6580 if test "x$LINE" != x ; then
6581 eval "DEFAULT_$LINE"
6582 else
6583 no_cache=1
6584 fi
6585
6586 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6587
6588 fi;
6589
6590 eval "$ac_cv_use_mdi"
6591 if test "$no_cache" != 1; then
6592 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6593 fi
6594
6595 if test "$wxUSE_MDI" = yes; then
6596 echo "$as_me:$LINENO: result: yes" >&5
6597 echo "${ECHO_T}yes" >&6
6598 else
6599 echo "$as_me:$LINENO: result: no" >&5
6600 echo "${ECHO_T}no" >&6
6601 fi
6602
6603
6604 enablestring=
6605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6606 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6607 no_cache=0
6608 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6609 if test "${enable_mdidoc+set}" = set; then
6610 enableval="$enable_mdidoc"
6611
6612 if test "$enableval" = yes; then
6613 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6614 else
6615 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6616 fi
6617
6618 else
6619
6620 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6621 if test "x$LINE" != x ; then
6622 eval "DEFAULT_$LINE"
6623 else
6624 no_cache=1
6625 fi
6626
6627 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6628
6629 fi;
6630
6631 eval "$ac_cv_use_mdidoc"
6632 if test "$no_cache" != 1; then
6633 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6634 fi
6635
6636 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6637 echo "$as_me:$LINENO: result: yes" >&5
6638 echo "${ECHO_T}yes" >&6
6639 else
6640 echo "$as_me:$LINENO: result: no" >&5
6641 echo "${ECHO_T}no" >&6
6642 fi
6643
6644
6645 enablestring=
6646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6647 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6648 no_cache=0
6649 # Check whether --enable-loggui or --disable-loggui was given.
6650 if test "${enable_loggui+set}" = set; then
6651 enableval="$enable_loggui"
6652
6653 if test "$enableval" = yes; then
6654 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6655 else
6656 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6657 fi
6658
6659 else
6660
6661 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6662 if test "x$LINE" != x ; then
6663 eval "DEFAULT_$LINE"
6664 else
6665 no_cache=1
6666 fi
6667
6668 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6669
6670 fi;
6671
6672 eval "$ac_cv_use_loggui"
6673 if test "$no_cache" != 1; then
6674 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6675 fi
6676
6677 if test "$wxUSE_LOGGUI" = yes; then
6678 echo "$as_me:$LINENO: result: yes" >&5
6679 echo "${ECHO_T}yes" >&6
6680 else
6681 echo "$as_me:$LINENO: result: no" >&5
6682 echo "${ECHO_T}no" >&6
6683 fi
6684
6685
6686 enablestring=
6687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6688 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6689 no_cache=0
6690 # Check whether --enable-logwin or --disable-logwin was given.
6691 if test "${enable_logwin+set}" = set; then
6692 enableval="$enable_logwin"
6693
6694 if test "$enableval" = yes; then
6695 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6696 else
6697 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6698 fi
6699
6700 else
6701
6702 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6703 if test "x$LINE" != x ; then
6704 eval "DEFAULT_$LINE"
6705 else
6706 no_cache=1
6707 fi
6708
6709 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6710
6711 fi;
6712
6713 eval "$ac_cv_use_logwin"
6714 if test "$no_cache" != 1; then
6715 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6716 fi
6717
6718 if test "$wxUSE_LOGWINDOW" = yes; then
6719 echo "$as_me:$LINENO: result: yes" >&5
6720 echo "${ECHO_T}yes" >&6
6721 else
6722 echo "$as_me:$LINENO: result: no" >&5
6723 echo "${ECHO_T}no" >&6
6724 fi
6725
6726
6727 enablestring=
6728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6730 no_cache=0
6731 # Check whether --enable-logdialog or --disable-logdialog was given.
6732 if test "${enable_logdialog+set}" = set; then
6733 enableval="$enable_logdialog"
6734
6735 if test "$enableval" = yes; then
6736 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6737 else
6738 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6739 fi
6740
6741 else
6742
6743 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6744 if test "x$LINE" != x ; then
6745 eval "DEFAULT_$LINE"
6746 else
6747 no_cache=1
6748 fi
6749
6750 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6751
6752 fi;
6753
6754 eval "$ac_cv_use_logdialog"
6755 if test "$no_cache" != 1; then
6756 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6757 fi
6758
6759 if test "$wxUSE_LOGDIALOG" = yes; then
6760 echo "$as_me:$LINENO: result: yes" >&5
6761 echo "${ECHO_T}yes" >&6
6762 else
6763 echo "$as_me:$LINENO: result: no" >&5
6764 echo "${ECHO_T}no" >&6
6765 fi
6766
6767
6768 enablestring=
6769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6770 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6771 no_cache=0
6772 # Check whether --enable-webkit or --disable-webkit was given.
6773 if test "${enable_webkit+set}" = set; then
6774 enableval="$enable_webkit"
6775
6776 if test "$enableval" = yes; then
6777 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6778 else
6779 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6780 fi
6781
6782 else
6783
6784 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6785 if test "x$LINE" != x ; then
6786 eval "DEFAULT_$LINE"
6787 else
6788 no_cache=1
6789 fi
6790
6791 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6792
6793 fi;
6794
6795 eval "$ac_cv_use_webkit"
6796 if test "$no_cache" != 1; then
6797 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6798 fi
6799
6800 if test "$wxUSE_WEBKIT" = yes; then
6801 echo "$as_me:$LINENO: result: yes" >&5
6802 echo "${ECHO_T}yes" >&6
6803 else
6804 echo "$as_me:$LINENO: result: no" >&5
6805 echo "${ECHO_T}no" >&6
6806 fi
6807
6808
6809
6810 enablestring=
6811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6812 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6813 no_cache=0
6814 # Check whether --enable-postscript or --disable-postscript was given.
6815 if test "${enable_postscript+set}" = set; then
6816 enableval="$enable_postscript"
6817
6818 if test "$enableval" = yes; then
6819 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6820 else
6821 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6822 fi
6823
6824 else
6825
6826 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6827 if test "x$LINE" != x ; then
6828 eval "DEFAULT_$LINE"
6829 else
6830 no_cache=1
6831 fi
6832
6833 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6834
6835 fi;
6836
6837 eval "$ac_cv_use_postscript"
6838 if test "$no_cache" != 1; then
6839 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6840 fi
6841
6842 if test "$wxUSE_POSTSCRIPT" = yes; then
6843 echo "$as_me:$LINENO: result: yes" >&5
6844 echo "${ECHO_T}yes" >&6
6845 else
6846 echo "$as_me:$LINENO: result: no" >&5
6847 echo "${ECHO_T}no" >&6
6848 fi
6849
6850
6851
6852
6853
6854 enablestring=
6855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6856 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6857 no_cache=0
6858 # Check whether --enable-prologio or --disable-prologio was given.
6859 if test "${enable_prologio+set}" = set; then
6860 enableval="$enable_prologio"
6861
6862 if test "$enableval" = yes; then
6863 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6864 else
6865 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6866 fi
6867
6868 else
6869
6870 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6871 if test "x$LINE" != x ; then
6872 eval "DEFAULT_$LINE"
6873 else
6874 no_cache=1
6875 fi
6876
6877 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6878
6879 fi;
6880
6881 eval "$ac_cv_use_prologio"
6882 if test "$no_cache" != 1; then
6883 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6884 fi
6885
6886 if test "$wxUSE_PROLOGIO" = yes; then
6887 echo "$as_me:$LINENO: result: yes" >&5
6888 echo "${ECHO_T}yes" >&6
6889 else
6890 echo "$as_me:$LINENO: result: no" >&5
6891 echo "${ECHO_T}no" >&6
6892 fi
6893
6894
6895 enablestring=
6896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6897 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6898 no_cache=0
6899 # Check whether --enable-resources or --disable-resources was given.
6900 if test "${enable_resources+set}" = set; then
6901 enableval="$enable_resources"
6902
6903 if test "$enableval" = yes; then
6904 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6905 else
6906 ac_cv_use_resources='wxUSE_RESOURCES=no'
6907 fi
6908
6909 else
6910
6911 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6912 if test "x$LINE" != x ; then
6913 eval "DEFAULT_$LINE"
6914 else
6915 no_cache=1
6916 fi
6917
6918 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6919
6920 fi;
6921
6922 eval "$ac_cv_use_resources"
6923 if test "$no_cache" != 1; then
6924 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6925 fi
6926
6927 if test "$wxUSE_RESOURCES" = yes; then
6928 echo "$as_me:$LINENO: result: yes" >&5
6929 echo "${ECHO_T}yes" >&6
6930 else
6931 echo "$as_me:$LINENO: result: no" >&5
6932 echo "${ECHO_T}no" >&6
6933 fi
6934
6935
6936
6937
6938 enablestring=
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6941 no_cache=0
6942 # Check whether --enable-clipboard or --disable-clipboard was given.
6943 if test "${enable_clipboard+set}" = set; then
6944 enableval="$enable_clipboard"
6945
6946 if test "$enableval" = yes; then
6947 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6948 else
6949 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6950 fi
6951
6952 else
6953
6954 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x ; then
6956 eval "DEFAULT_$LINE"
6957 else
6958 no_cache=1
6959 fi
6960
6961 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6962
6963 fi;
6964
6965 eval "$ac_cv_use_clipboard"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6968 fi
6969
6970 if test "$wxUSE_CLIPBOARD" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6
6973 else
6974 echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6
6976 fi
6977
6978
6979 enablestring=
6980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6982 no_cache=0
6983 # Check whether --enable-dnd or --disable-dnd was given.
6984 if test "${enable_dnd+set}" = set; then
6985 enableval="$enable_dnd"
6986
6987 if test "$enableval" = yes; then
6988 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6989 else
6990 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6991 fi
6992
6993 else
6994
6995 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x ; then
6997 eval "DEFAULT_$LINE"
6998 else
6999 no_cache=1
7000 fi
7001
7002 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7003
7004 fi;
7005
7006 eval "$ac_cv_use_dnd"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7009 fi
7010
7011 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7012 echo "$as_me:$LINENO: result: yes" >&5
7013 echo "${ECHO_T}yes" >&6
7014 else
7015 echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6
7017 fi
7018
7019
7020 enablestring=
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7023 no_cache=0
7024 # Check whether --enable-metafile or --disable-metafile was given.
7025 if test "${enable_metafile+set}" = set; then
7026 enableval="$enable_metafile"
7027
7028 if test "$enableval" = yes; then
7029 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7030 else
7031 ac_cv_use_metafile='wxUSE_METAFILE=no'
7032 fi
7033
7034 else
7035
7036 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x ; then
7038 eval "DEFAULT_$LINE"
7039 else
7040 no_cache=1
7041 fi
7042
7043 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7044
7045 fi;
7046
7047 eval "$ac_cv_use_metafile"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7050 fi
7051
7052 if test "$wxUSE_METAFILE" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7055 else
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7058 fi
7059
7060
7061
7062
7063
7064 enablestring=
7065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7066 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7067 no_cache=0
7068 # Check whether --enable-controls or --disable-controls was given.
7069 if test "${enable_controls+set}" = set; then
7070 enableval="$enable_controls"
7071
7072 if test "$enableval" = yes; then
7073 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7074 else
7075 ac_cv_use_controls='wxUSE_CONTROLS=no'
7076 fi
7077
7078 else
7079
7080 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7081 if test "x$LINE" != x ; then
7082 eval "DEFAULT_$LINE"
7083 else
7084 no_cache=1
7085 fi
7086
7087 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7088
7089 fi;
7090
7091 eval "$ac_cv_use_controls"
7092 if test "$no_cache" != 1; then
7093 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7094 fi
7095
7096 if test "$wxUSE_CONTROLS" = yes; then
7097 echo "$as_me:$LINENO: result: yes" >&5
7098 echo "${ECHO_T}yes" >&6
7099 else
7100 echo "$as_me:$LINENO: result: no" >&5
7101 echo "${ECHO_T}no" >&6
7102 fi
7103
7104
7105 if test "$wxUSE_CONTROLS" = "yes"; then
7106 DEFAULT_wxUSE_ACCEL=yes
7107 DEFAULT_wxUSE_BMPBUTTON=yes
7108 DEFAULT_wxUSE_BUTTON=yes
7109 DEFAULT_wxUSE_CALCTRL=no
7110 DEFAULT_wxUSE_CARET=yes
7111 DEFAULT_wxUSE_COMBOBOX=yes
7112 DEFAULT_wxUSE_CHECKBOX=yes
7113 DEFAULT_wxUSE_CHECKLISTBOX=yes
7114 DEFAULT_wxUSE_CHOICE=yes
7115 DEFAULT_wxUSE_CHOICEBOOK=yes
7116 DEFAULT_wxUSE_GAUGE=yes
7117 DEFAULT_wxUSE_GRID=yes
7118 DEFAULT_wxUSE_IMAGLIST=yes
7119 DEFAULT_wxUSE_LISTBOOK=yes
7120 DEFAULT_wxUSE_LISTBOX=yes
7121 DEFAULT_wxUSE_LISTCTRL=yes
7122 DEFAULT_wxUSE_NOTEBOOK=yes
7123 DEFAULT_wxUSE_RADIOBOX=yes
7124 DEFAULT_wxUSE_RADIOBTN=yes
7125 DEFAULT_wxUSE_SASH=yes
7126 DEFAULT_wxUSE_SCROLLBAR=yes
7127 DEFAULT_wxUSE_SLIDER=yes
7128 DEFAULT_wxUSE_SPINBTN=yes
7129 DEFAULT_wxUSE_SPINCTRL=yes
7130 DEFAULT_wxUSE_SPLITTER=yes
7131 DEFAULT_wxUSE_STATBMP=yes
7132 DEFAULT_wxUSE_STATBOX=yes
7133 DEFAULT_wxUSE_STATLINE=yes
7134 DEFAULT_wxUSE_STATUSBAR=yes
7135 DEFAULT_wxUSE_TAB_DIALOG=yes
7136 DEFAULT_wxUSE_TOGGLEBTN=yes
7137 DEFAULT_wxUSE_TOOLBAR=yes
7138 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7139 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7140 DEFAULT_wxUSE_TOOLTIPS=yes
7141 DEFAULT_wxUSE_TREECTRL=yes
7142 DEFAULT_wxUSE_POPUPWIN=yes
7143 DEFAULT_wxUSE_TIPWINDOW=yes
7144 elif test "$wxUSE_CONTROLS" = "no"; then
7145 DEFAULT_wxUSE_ACCEL=no
7146 DEFAULT_wxUSE_BMPBUTTON=no
7147 DEFAULT_wxUSE_BUTTON=no
7148 DEFAULT_wxUSE_CALCTRL=no
7149 DEFAULT_wxUSE_CARET=no
7150 DEFAULT_wxUSE_COMBOBOX=no
7151 DEFAULT_wxUSE_CHECKBOX=no
7152 DEFAULT_wxUSE_CHECKLISTBOX=no
7153 DEFAULT_wxUSE_CHOICE=no
7154 DEFAULT_wxUSE_CHOICEBOOK=no
7155 DEFAULT_wxUSE_GAUGE=no
7156 DEFAULT_wxUSE_GRID=no
7157 DEFAULT_wxUSE_IMAGLIST=no
7158 DEFAULT_wxUSE_LISTBOOK=no
7159 DEFAULT_wxUSE_LISTBOX=no
7160 DEFAULT_wxUSE_LISTCTRL=no
7161 DEFAULT_wxUSE_NOTEBOOK=no
7162 DEFAULT_wxUSE_RADIOBOX=no
7163 DEFAULT_wxUSE_RADIOBTN=no
7164 DEFAULT_wxUSE_SASH=no
7165 DEFAULT_wxUSE_SCROLLBAR=no
7166 DEFAULT_wxUSE_SLIDER=no
7167 DEFAULT_wxUSE_SPINBTN=no
7168 DEFAULT_wxUSE_SPINCTRL=no
7169 DEFAULT_wxUSE_SPLITTER=no
7170 DEFAULT_wxUSE_STATBMP=no
7171 DEFAULT_wxUSE_STATBOX=no
7172 DEFAULT_wxUSE_STATLINE=no
7173 DEFAULT_wxUSE_STATUSBAR=no
7174 DEFAULT_wxUSE_TAB_DIALOG=no
7175 DEFAULT_wxUSE_TOGGLEBTN=no
7176 DEFAULT_wxUSE_TOOLBAR=no
7177 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7178 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7179 DEFAULT_wxUSE_TOOLTIPS=no
7180 DEFAULT_wxUSE_TREECTRL=no
7181 DEFAULT_wxUSE_POPUPWIN=no
7182 DEFAULT_wxUSE_TIPWINDOW=no
7183 fi
7184
7185
7186 enablestring=
7187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7189 no_cache=0
7190 # Check whether --enable-accel or --disable-accel was given.
7191 if test "${enable_accel+set}" = set; then
7192 enableval="$enable_accel"
7193
7194 if test "$enableval" = yes; then
7195 ac_cv_use_accel='wxUSE_ACCEL=yes'
7196 else
7197 ac_cv_use_accel='wxUSE_ACCEL=no'
7198 fi
7199
7200 else
7201
7202 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7203 if test "x$LINE" != x ; then
7204 eval "DEFAULT_$LINE"
7205 else
7206 no_cache=1
7207 fi
7208
7209 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7210
7211 fi;
7212
7213 eval "$ac_cv_use_accel"
7214 if test "$no_cache" != 1; then
7215 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7216 fi
7217
7218 if test "$wxUSE_ACCEL" = yes; then
7219 echo "$as_me:$LINENO: result: yes" >&5
7220 echo "${ECHO_T}yes" >&6
7221 else
7222 echo "$as_me:$LINENO: result: no" >&5
7223 echo "${ECHO_T}no" >&6
7224 fi
7225
7226
7227 enablestring=
7228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7229 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7230 no_cache=0
7231 # Check whether --enable-button or --disable-button was given.
7232 if test "${enable_button+set}" = set; then
7233 enableval="$enable_button"
7234
7235 if test "$enableval" = yes; then
7236 ac_cv_use_button='wxUSE_BUTTON=yes'
7237 else
7238 ac_cv_use_button='wxUSE_BUTTON=no'
7239 fi
7240
7241 else
7242
7243 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7244 if test "x$LINE" != x ; then
7245 eval "DEFAULT_$LINE"
7246 else
7247 no_cache=1
7248 fi
7249
7250 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7251
7252 fi;
7253
7254 eval "$ac_cv_use_button"
7255 if test "$no_cache" != 1; then
7256 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7257 fi
7258
7259 if test "$wxUSE_BUTTON" = yes; then
7260 echo "$as_me:$LINENO: result: yes" >&5
7261 echo "${ECHO_T}yes" >&6
7262 else
7263 echo "$as_me:$LINENO: result: no" >&5
7264 echo "${ECHO_T}no" >&6
7265 fi
7266
7267
7268 enablestring=
7269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7271 no_cache=0
7272 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7273 if test "${enable_bmpbutton+set}" = set; then
7274 enableval="$enable_bmpbutton"
7275
7276 if test "$enableval" = yes; then
7277 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7278 else
7279 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7280 fi
7281
7282 else
7283
7284 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7285 if test "x$LINE" != x ; then
7286 eval "DEFAULT_$LINE"
7287 else
7288 no_cache=1
7289 fi
7290
7291 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7292
7293 fi;
7294
7295 eval "$ac_cv_use_bmpbutton"
7296 if test "$no_cache" != 1; then
7297 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7298 fi
7299
7300 if test "$wxUSE_BMPBUTTON" = yes; then
7301 echo "$as_me:$LINENO: result: yes" >&5
7302 echo "${ECHO_T}yes" >&6
7303 else
7304 echo "$as_me:$LINENO: result: no" >&5
7305 echo "${ECHO_T}no" >&6
7306 fi
7307
7308
7309 enablestring=
7310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7312 no_cache=0
7313 # Check whether --enable-calendar or --disable-calendar was given.
7314 if test "${enable_calendar+set}" = set; then
7315 enableval="$enable_calendar"
7316
7317 if test "$enableval" = yes; then
7318 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7319 else
7320 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7321 fi
7322
7323 else
7324
7325 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7326 if test "x$LINE" != x ; then
7327 eval "DEFAULT_$LINE"
7328 else
7329 no_cache=1
7330 fi
7331
7332 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7333
7334 fi;
7335
7336 eval "$ac_cv_use_calendar"
7337 if test "$no_cache" != 1; then
7338 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7339 fi
7340
7341 if test "$wxUSE_CALCTRL" = yes; then
7342 echo "$as_me:$LINENO: result: yes" >&5
7343 echo "${ECHO_T}yes" >&6
7344 else
7345 echo "$as_me:$LINENO: result: no" >&5
7346 echo "${ECHO_T}no" >&6
7347 fi
7348
7349
7350 enablestring=
7351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7353 no_cache=0
7354 # Check whether --enable-caret or --disable-caret was given.
7355 if test "${enable_caret+set}" = set; then
7356 enableval="$enable_caret"
7357
7358 if test "$enableval" = yes; then
7359 ac_cv_use_caret='wxUSE_CARET=yes'
7360 else
7361 ac_cv_use_caret='wxUSE_CARET=no'
7362 fi
7363
7364 else
7365
7366 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7367 if test "x$LINE" != x ; then
7368 eval "DEFAULT_$LINE"
7369 else
7370 no_cache=1
7371 fi
7372
7373 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7374
7375 fi;
7376
7377 eval "$ac_cv_use_caret"
7378 if test "$no_cache" != 1; then
7379 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7380 fi
7381
7382 if test "$wxUSE_CARET" = yes; then
7383 echo "$as_me:$LINENO: result: yes" >&5
7384 echo "${ECHO_T}yes" >&6
7385 else
7386 echo "$as_me:$LINENO: result: no" >&5
7387 echo "${ECHO_T}no" >&6
7388 fi
7389
7390
7391 enablestring=
7392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7393 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7394 no_cache=0
7395 # Check whether --enable-checkbox or --disable-checkbox was given.
7396 if test "${enable_checkbox+set}" = set; then
7397 enableval="$enable_checkbox"
7398
7399 if test "$enableval" = yes; then
7400 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7401 else
7402 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7403 fi
7404
7405 else
7406
7407 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7408 if test "x$LINE" != x ; then
7409 eval "DEFAULT_$LINE"
7410 else
7411 no_cache=1
7412 fi
7413
7414 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7415
7416 fi;
7417
7418 eval "$ac_cv_use_checkbox"
7419 if test "$no_cache" != 1; then
7420 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7421 fi
7422
7423 if test "$wxUSE_CHECKBOX" = yes; then
7424 echo "$as_me:$LINENO: result: yes" >&5
7425 echo "${ECHO_T}yes" >&6
7426 else
7427 echo "$as_me:$LINENO: result: no" >&5
7428 echo "${ECHO_T}no" >&6
7429 fi
7430
7431
7432 enablestring=
7433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7434 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7435 no_cache=0
7436 # Check whether --enable-checklst or --disable-checklst was given.
7437 if test "${enable_checklst+set}" = set; then
7438 enableval="$enable_checklst"
7439
7440 if test "$enableval" = yes; then
7441 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7442 else
7443 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7444 fi
7445
7446 else
7447
7448 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7449 if test "x$LINE" != x ; then
7450 eval "DEFAULT_$LINE"
7451 else
7452 no_cache=1
7453 fi
7454
7455 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7456
7457 fi;
7458
7459 eval "$ac_cv_use_checklst"
7460 if test "$no_cache" != 1; then
7461 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7462 fi
7463
7464 if test "$wxUSE_CHECKLST" = yes; then
7465 echo "$as_me:$LINENO: result: yes" >&5
7466 echo "${ECHO_T}yes" >&6
7467 else
7468 echo "$as_me:$LINENO: result: no" >&5
7469 echo "${ECHO_T}no" >&6
7470 fi
7471
7472
7473 enablestring=
7474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7475 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7476 no_cache=0
7477 # Check whether --enable-choice or --disable-choice was given.
7478 if test "${enable_choice+set}" = set; then
7479 enableval="$enable_choice"
7480
7481 if test "$enableval" = yes; then
7482 ac_cv_use_choice='wxUSE_CHOICE=yes'
7483 else
7484 ac_cv_use_choice='wxUSE_CHOICE=no'
7485 fi
7486
7487 else
7488
7489 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x ; then
7491 eval "DEFAULT_$LINE"
7492 else
7493 no_cache=1
7494 fi
7495
7496 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7497
7498 fi;
7499
7500 eval "$ac_cv_use_choice"
7501 if test "$no_cache" != 1; then
7502 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7503 fi
7504
7505 if test "$wxUSE_CHOICE" = yes; then
7506 echo "$as_me:$LINENO: result: yes" >&5
7507 echo "${ECHO_T}yes" >&6
7508 else
7509 echo "$as_me:$LINENO: result: no" >&5
7510 echo "${ECHO_T}no" >&6
7511 fi
7512
7513
7514 enablestring=
7515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7516 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7517 no_cache=0
7518 # Check whether --enable-choicebook or --disable-choicebook was given.
7519 if test "${enable_choicebook+set}" = set; then
7520 enableval="$enable_choicebook"
7521
7522 if test "$enableval" = yes; then
7523 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7524 else
7525 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7526 fi
7527
7528 else
7529
7530 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7531 if test "x$LINE" != x ; then
7532 eval "DEFAULT_$LINE"
7533 else
7534 no_cache=1
7535 fi
7536
7537 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7538
7539 fi;
7540
7541 eval "$ac_cv_use_choicebook"
7542 if test "$no_cache" != 1; then
7543 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7544 fi
7545
7546 if test "$wxUSE_CHOICEBOOK" = yes; then
7547 echo "$as_me:$LINENO: result: yes" >&5
7548 echo "${ECHO_T}yes" >&6
7549 else
7550 echo "$as_me:$LINENO: result: no" >&5
7551 echo "${ECHO_T}no" >&6
7552 fi
7553
7554
7555 enablestring=
7556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7557 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7558 no_cache=0
7559 # Check whether --enable-combobox or --disable-combobox was given.
7560 if test "${enable_combobox+set}" = set; then
7561 enableval="$enable_combobox"
7562
7563 if test "$enableval" = yes; then
7564 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7565 else
7566 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7567 fi
7568
7569 else
7570
7571 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7572 if test "x$LINE" != x ; then
7573 eval "DEFAULT_$LINE"
7574 else
7575 no_cache=1
7576 fi
7577
7578 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7579
7580 fi;
7581
7582 eval "$ac_cv_use_combobox"
7583 if test "$no_cache" != 1; then
7584 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7585 fi
7586
7587 if test "$wxUSE_COMBOBOX" = yes; then
7588 echo "$as_me:$LINENO: result: yes" >&5
7589 echo "${ECHO_T}yes" >&6
7590 else
7591 echo "$as_me:$LINENO: result: no" >&5
7592 echo "${ECHO_T}no" >&6
7593 fi
7594
7595
7596 enablestring=
7597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7598 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7599 no_cache=0
7600 # Check whether --enable-display or --disable-display was given.
7601 if test "${enable_display+set}" = set; then
7602 enableval="$enable_display"
7603
7604 if test "$enableval" = yes; then
7605 ac_cv_use_display='wxUSE_DISPLAY=yes'
7606 else
7607 ac_cv_use_display='wxUSE_DISPLAY=no'
7608 fi
7609
7610 else
7611
7612 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7613 if test "x$LINE" != x ; then
7614 eval "DEFAULT_$LINE"
7615 else
7616 no_cache=1
7617 fi
7618
7619 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7620
7621 fi;
7622
7623 eval "$ac_cv_use_display"
7624 if test "$no_cache" != 1; then
7625 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7626 fi
7627
7628 if test "$wxUSE_DISPLAY" = yes; then
7629 echo "$as_me:$LINENO: result: yes" >&5
7630 echo "${ECHO_T}yes" >&6
7631 else
7632 echo "$as_me:$LINENO: result: no" >&5
7633 echo "${ECHO_T}no" >&6
7634 fi
7635
7636
7637 enablestring=
7638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7639 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7640 no_cache=0
7641 # Check whether --enable-gauge or --disable-gauge was given.
7642 if test "${enable_gauge+set}" = set; then
7643 enableval="$enable_gauge"
7644
7645 if test "$enableval" = yes; then
7646 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7647 else
7648 ac_cv_use_gauge='wxUSE_GAUGE=no'
7649 fi
7650
7651 else
7652
7653 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7654 if test "x$LINE" != x ; then
7655 eval "DEFAULT_$LINE"
7656 else
7657 no_cache=1
7658 fi
7659
7660 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7661
7662 fi;
7663
7664 eval "$ac_cv_use_gauge"
7665 if test "$no_cache" != 1; then
7666 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7667 fi
7668
7669 if test "$wxUSE_GAUGE" = yes; then
7670 echo "$as_me:$LINENO: result: yes" >&5
7671 echo "${ECHO_T}yes" >&6
7672 else
7673 echo "$as_me:$LINENO: result: no" >&5
7674 echo "${ECHO_T}no" >&6
7675 fi
7676
7677
7678 enablestring=
7679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7680 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7681 no_cache=0
7682 # Check whether --enable-grid or --disable-grid was given.
7683 if test "${enable_grid+set}" = set; then
7684 enableval="$enable_grid"
7685
7686 if test "$enableval" = yes; then
7687 ac_cv_use_grid='wxUSE_GRID=yes'
7688 else
7689 ac_cv_use_grid='wxUSE_GRID=no'
7690 fi
7691
7692 else
7693
7694 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7695 if test "x$LINE" != x ; then
7696 eval "DEFAULT_$LINE"
7697 else
7698 no_cache=1
7699 fi
7700
7701 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7702
7703 fi;
7704
7705 eval "$ac_cv_use_grid"
7706 if test "$no_cache" != 1; then
7707 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7708 fi
7709
7710 if test "$wxUSE_GRID" = yes; then
7711 echo "$as_me:$LINENO: result: yes" >&5
7712 echo "${ECHO_T}yes" >&6
7713 else
7714 echo "$as_me:$LINENO: result: no" >&5
7715 echo "${ECHO_T}no" >&6
7716 fi
7717
7718
7719 enablestring=
7720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7721 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7722 no_cache=0
7723 # Check whether --enable-imaglist or --disable-imaglist was given.
7724 if test "${enable_imaglist+set}" = set; then
7725 enableval="$enable_imaglist"
7726
7727 if test "$enableval" = yes; then
7728 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7729 else
7730 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7731 fi
7732
7733 else
7734
7735 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7736 if test "x$LINE" != x ; then
7737 eval "DEFAULT_$LINE"
7738 else
7739 no_cache=1
7740 fi
7741
7742 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7743
7744 fi;
7745
7746 eval "$ac_cv_use_imaglist"
7747 if test "$no_cache" != 1; then
7748 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7749 fi
7750
7751 if test "$wxUSE_IMAGLIST" = yes; then
7752 echo "$as_me:$LINENO: result: yes" >&5
7753 echo "${ECHO_T}yes" >&6
7754 else
7755 echo "$as_me:$LINENO: result: no" >&5
7756 echo "${ECHO_T}no" >&6
7757 fi
7758
7759
7760 enablestring=
7761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7762 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7763 no_cache=0
7764 # Check whether --enable-listbook or --disable-listbook was given.
7765 if test "${enable_listbook+set}" = set; then
7766 enableval="$enable_listbook"
7767
7768 if test "$enableval" = yes; then
7769 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7770 else
7771 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7772 fi
7773
7774 else
7775
7776 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7777 if test "x$LINE" != x ; then
7778 eval "DEFAULT_$LINE"
7779 else
7780 no_cache=1
7781 fi
7782
7783 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7784
7785 fi;
7786
7787 eval "$ac_cv_use_listbook"
7788 if test "$no_cache" != 1; then
7789 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7790 fi
7791
7792 if test "$wxUSE_LISTBOOK" = yes; then
7793 echo "$as_me:$LINENO: result: yes" >&5
7794 echo "${ECHO_T}yes" >&6
7795 else
7796 echo "$as_me:$LINENO: result: no" >&5
7797 echo "${ECHO_T}no" >&6
7798 fi
7799
7800
7801 enablestring=
7802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7803 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7804 no_cache=0
7805 # Check whether --enable-listbox or --disable-listbox was given.
7806 if test "${enable_listbox+set}" = set; then
7807 enableval="$enable_listbox"
7808
7809 if test "$enableval" = yes; then
7810 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7811 else
7812 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7813 fi
7814
7815 else
7816
7817 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7818 if test "x$LINE" != x ; then
7819 eval "DEFAULT_$LINE"
7820 else
7821 no_cache=1
7822 fi
7823
7824 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7825
7826 fi;
7827
7828 eval "$ac_cv_use_listbox"
7829 if test "$no_cache" != 1; then
7830 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7831 fi
7832
7833 if test "$wxUSE_LISTBOX" = yes; then
7834 echo "$as_me:$LINENO: result: yes" >&5
7835 echo "${ECHO_T}yes" >&6
7836 else
7837 echo "$as_me:$LINENO: result: no" >&5
7838 echo "${ECHO_T}no" >&6
7839 fi
7840
7841
7842 enablestring=
7843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7844 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7845 no_cache=0
7846 # Check whether --enable-listctrl or --disable-listctrl was given.
7847 if test "${enable_listctrl+set}" = set; then
7848 enableval="$enable_listctrl"
7849
7850 if test "$enableval" = yes; then
7851 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7852 else
7853 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7854 fi
7855
7856 else
7857
7858 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7859 if test "x$LINE" != x ; then
7860 eval "DEFAULT_$LINE"
7861 else
7862 no_cache=1
7863 fi
7864
7865 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7866
7867 fi;
7868
7869 eval "$ac_cv_use_listctrl"
7870 if test "$no_cache" != 1; then
7871 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7872 fi
7873
7874 if test "$wxUSE_LISTCTRL" = yes; then
7875 echo "$as_me:$LINENO: result: yes" >&5
7876 echo "${ECHO_T}yes" >&6
7877 else
7878 echo "$as_me:$LINENO: result: no" >&5
7879 echo "${ECHO_T}no" >&6
7880 fi
7881
7882
7883 enablestring=
7884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7885 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7886 no_cache=0
7887 # Check whether --enable-notebook or --disable-notebook was given.
7888 if test "${enable_notebook+set}" = set; then
7889 enableval="$enable_notebook"
7890
7891 if test "$enableval" = yes; then
7892 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7893 else
7894 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7895 fi
7896
7897 else
7898
7899 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7900 if test "x$LINE" != x ; then
7901 eval "DEFAULT_$LINE"
7902 else
7903 no_cache=1
7904 fi
7905
7906 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7907
7908 fi;
7909
7910 eval "$ac_cv_use_notebook"
7911 if test "$no_cache" != 1; then
7912 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7913 fi
7914
7915 if test "$wxUSE_NOTEBOOK" = yes; then
7916 echo "$as_me:$LINENO: result: yes" >&5
7917 echo "${ECHO_T}yes" >&6
7918 else
7919 echo "$as_me:$LINENO: result: no" >&5
7920 echo "${ECHO_T}no" >&6
7921 fi
7922
7923
7924 enablestring=
7925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7926 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7927 no_cache=0
7928 # Check whether --enable-radiobox or --disable-radiobox was given.
7929 if test "${enable_radiobox+set}" = set; then
7930 enableval="$enable_radiobox"
7931
7932 if test "$enableval" = yes; then
7933 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7934 else
7935 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7936 fi
7937
7938 else
7939
7940 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7941 if test "x$LINE" != x ; then
7942 eval "DEFAULT_$LINE"
7943 else
7944 no_cache=1
7945 fi
7946
7947 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7948
7949 fi;
7950
7951 eval "$ac_cv_use_radiobox"
7952 if test "$no_cache" != 1; then
7953 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7954 fi
7955
7956 if test "$wxUSE_RADIOBOX" = yes; then
7957 echo "$as_me:$LINENO: result: yes" >&5
7958 echo "${ECHO_T}yes" >&6
7959 else
7960 echo "$as_me:$LINENO: result: no" >&5
7961 echo "${ECHO_T}no" >&6
7962 fi
7963
7964
7965 enablestring=
7966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7967 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7968 no_cache=0
7969 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7970 if test "${enable_radiobtn+set}" = set; then
7971 enableval="$enable_radiobtn"
7972
7973 if test "$enableval" = yes; then
7974 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7975 else
7976 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7977 fi
7978
7979 else
7980
7981 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7982 if test "x$LINE" != x ; then
7983 eval "DEFAULT_$LINE"
7984 else
7985 no_cache=1
7986 fi
7987
7988 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7989
7990 fi;
7991
7992 eval "$ac_cv_use_radiobtn"
7993 if test "$no_cache" != 1; then
7994 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7995 fi
7996
7997 if test "$wxUSE_RADIOBTN" = yes; then
7998 echo "$as_me:$LINENO: result: yes" >&5
7999 echo "${ECHO_T}yes" >&6
8000 else
8001 echo "$as_me:$LINENO: result: no" >&5
8002 echo "${ECHO_T}no" >&6
8003 fi
8004
8005
8006 enablestring=
8007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8008 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8009 no_cache=0
8010 # Check whether --enable-sash or --disable-sash was given.
8011 if test "${enable_sash+set}" = set; then
8012 enableval="$enable_sash"
8013
8014 if test "$enableval" = yes; then
8015 ac_cv_use_sash='wxUSE_SASH=yes'
8016 else
8017 ac_cv_use_sash='wxUSE_SASH=no'
8018 fi
8019
8020 else
8021
8022 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8023 if test "x$LINE" != x ; then
8024 eval "DEFAULT_$LINE"
8025 else
8026 no_cache=1
8027 fi
8028
8029 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8030
8031 fi;
8032
8033 eval "$ac_cv_use_sash"
8034 if test "$no_cache" != 1; then
8035 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8036 fi
8037
8038 if test "$wxUSE_SASH" = yes; then
8039 echo "$as_me:$LINENO: result: yes" >&5
8040 echo "${ECHO_T}yes" >&6
8041 else
8042 echo "$as_me:$LINENO: result: no" >&5
8043 echo "${ECHO_T}no" >&6
8044 fi
8045
8046
8047 enablestring=
8048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8050 no_cache=0
8051 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8052 if test "${enable_scrollbar+set}" = set; then
8053 enableval="$enable_scrollbar"
8054
8055 if test "$enableval" = yes; then
8056 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8057 else
8058 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8059 fi
8060
8061 else
8062
8063 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8064 if test "x$LINE" != x ; then
8065 eval "DEFAULT_$LINE"
8066 else
8067 no_cache=1
8068 fi
8069
8070 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8071
8072 fi;
8073
8074 eval "$ac_cv_use_scrollbar"
8075 if test "$no_cache" != 1; then
8076 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8077 fi
8078
8079 if test "$wxUSE_SCROLLBAR" = yes; then
8080 echo "$as_me:$LINENO: result: yes" >&5
8081 echo "${ECHO_T}yes" >&6
8082 else
8083 echo "$as_me:$LINENO: result: no" >&5
8084 echo "${ECHO_T}no" >&6
8085 fi
8086
8087
8088 enablestring=
8089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8090 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8091 no_cache=0
8092 # Check whether --enable-slider or --disable-slider was given.
8093 if test "${enable_slider+set}" = set; then
8094 enableval="$enable_slider"
8095
8096 if test "$enableval" = yes; then
8097 ac_cv_use_slider='wxUSE_SLIDER=yes'
8098 else
8099 ac_cv_use_slider='wxUSE_SLIDER=no'
8100 fi
8101
8102 else
8103
8104 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8105 if test "x$LINE" != x ; then
8106 eval "DEFAULT_$LINE"
8107 else
8108 no_cache=1
8109 fi
8110
8111 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8112
8113 fi;
8114
8115 eval "$ac_cv_use_slider"
8116 if test "$no_cache" != 1; then
8117 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8118 fi
8119
8120 if test "$wxUSE_SLIDER" = yes; then
8121 echo "$as_me:$LINENO: result: yes" >&5
8122 echo "${ECHO_T}yes" >&6
8123 else
8124 echo "$as_me:$LINENO: result: no" >&5
8125 echo "${ECHO_T}no" >&6
8126 fi
8127
8128
8129 enablestring=
8130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8131 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8132 no_cache=0
8133 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8134 if test "${enable_spinbtn+set}" = set; then
8135 enableval="$enable_spinbtn"
8136
8137 if test "$enableval" = yes; then
8138 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8139 else
8140 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8141 fi
8142
8143 else
8144
8145 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8146 if test "x$LINE" != x ; then
8147 eval "DEFAULT_$LINE"
8148 else
8149 no_cache=1
8150 fi
8151
8152 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8153
8154 fi;
8155
8156 eval "$ac_cv_use_spinbtn"
8157 if test "$no_cache" != 1; then
8158 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8159 fi
8160
8161 if test "$wxUSE_SPINBTN" = yes; then
8162 echo "$as_me:$LINENO: result: yes" >&5
8163 echo "${ECHO_T}yes" >&6
8164 else
8165 echo "$as_me:$LINENO: result: no" >&5
8166 echo "${ECHO_T}no" >&6
8167 fi
8168
8169
8170 enablestring=
8171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8172 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8173 no_cache=0
8174 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8175 if test "${enable_spinctrl+set}" = set; then
8176 enableval="$enable_spinctrl"
8177
8178 if test "$enableval" = yes; then
8179 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8180 else
8181 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8182 fi
8183
8184 else
8185
8186 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8187 if test "x$LINE" != x ; then
8188 eval "DEFAULT_$LINE"
8189 else
8190 no_cache=1
8191 fi
8192
8193 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8194
8195 fi;
8196
8197 eval "$ac_cv_use_spinctrl"
8198 if test "$no_cache" != 1; then
8199 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8200 fi
8201
8202 if test "$wxUSE_SPINCTRL" = yes; then
8203 echo "$as_me:$LINENO: result: yes" >&5
8204 echo "${ECHO_T}yes" >&6
8205 else
8206 echo "$as_me:$LINENO: result: no" >&5
8207 echo "${ECHO_T}no" >&6
8208 fi
8209
8210
8211 enablestring=
8212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8214 no_cache=0
8215 # Check whether --enable-splitter or --disable-splitter was given.
8216 if test "${enable_splitter+set}" = set; then
8217 enableval="$enable_splitter"
8218
8219 if test "$enableval" = yes; then
8220 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8221 else
8222 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8223 fi
8224
8225 else
8226
8227 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8228 if test "x$LINE" != x ; then
8229 eval "DEFAULT_$LINE"
8230 else
8231 no_cache=1
8232 fi
8233
8234 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8235
8236 fi;
8237
8238 eval "$ac_cv_use_splitter"
8239 if test "$no_cache" != 1; then
8240 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8241 fi
8242
8243 if test "$wxUSE_SPLITTER" = yes; then
8244 echo "$as_me:$LINENO: result: yes" >&5
8245 echo "${ECHO_T}yes" >&6
8246 else
8247 echo "$as_me:$LINENO: result: no" >&5
8248 echo "${ECHO_T}no" >&6
8249 fi
8250
8251
8252 enablestring=
8253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8254 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8255 no_cache=0
8256 # Check whether --enable-statbmp or --disable-statbmp was given.
8257 if test "${enable_statbmp+set}" = set; then
8258 enableval="$enable_statbmp"
8259
8260 if test "$enableval" = yes; then
8261 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8262 else
8263 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8264 fi
8265
8266 else
8267
8268 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8269 if test "x$LINE" != x ; then
8270 eval "DEFAULT_$LINE"
8271 else
8272 no_cache=1
8273 fi
8274
8275 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8276
8277 fi;
8278
8279 eval "$ac_cv_use_statbmp"
8280 if test "$no_cache" != 1; then
8281 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8282 fi
8283
8284 if test "$wxUSE_STATBMP" = yes; then
8285 echo "$as_me:$LINENO: result: yes" >&5
8286 echo "${ECHO_T}yes" >&6
8287 else
8288 echo "$as_me:$LINENO: result: no" >&5
8289 echo "${ECHO_T}no" >&6
8290 fi
8291
8292
8293 enablestring=
8294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8295 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8296 no_cache=0
8297 # Check whether --enable-statbox or --disable-statbox was given.
8298 if test "${enable_statbox+set}" = set; then
8299 enableval="$enable_statbox"
8300
8301 if test "$enableval" = yes; then
8302 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8303 else
8304 ac_cv_use_statbox='wxUSE_STATBOX=no'
8305 fi
8306
8307 else
8308
8309 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8310 if test "x$LINE" != x ; then
8311 eval "DEFAULT_$LINE"
8312 else
8313 no_cache=1
8314 fi
8315
8316 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8317
8318 fi;
8319
8320 eval "$ac_cv_use_statbox"
8321 if test "$no_cache" != 1; then
8322 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8323 fi
8324
8325 if test "$wxUSE_STATBOX" = yes; then
8326 echo "$as_me:$LINENO: result: yes" >&5
8327 echo "${ECHO_T}yes" >&6
8328 else
8329 echo "$as_me:$LINENO: result: no" >&5
8330 echo "${ECHO_T}no" >&6
8331 fi
8332
8333
8334 enablestring=
8335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8336 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8337 no_cache=0
8338 # Check whether --enable-statline or --disable-statline was given.
8339 if test "${enable_statline+set}" = set; then
8340 enableval="$enable_statline"
8341
8342 if test "$enableval" = yes; then
8343 ac_cv_use_statline='wxUSE_STATLINE=yes'
8344 else
8345 ac_cv_use_statline='wxUSE_STATLINE=no'
8346 fi
8347
8348 else
8349
8350 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8351 if test "x$LINE" != x ; then
8352 eval "DEFAULT_$LINE"
8353 else
8354 no_cache=1
8355 fi
8356
8357 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8358
8359 fi;
8360
8361 eval "$ac_cv_use_statline"
8362 if test "$no_cache" != 1; then
8363 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8364 fi
8365
8366 if test "$wxUSE_STATLINE" = yes; then
8367 echo "$as_me:$LINENO: result: yes" >&5
8368 echo "${ECHO_T}yes" >&6
8369 else
8370 echo "$as_me:$LINENO: result: no" >&5
8371 echo "${ECHO_T}no" >&6
8372 fi
8373
8374
8375 enablestring=
8376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8378 no_cache=0
8379 # Check whether --enable-stattext or --disable-stattext was given.
8380 if test "${enable_stattext+set}" = set; then
8381 enableval="$enable_stattext"
8382
8383 if test "$enableval" = yes; then
8384 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8385 else
8386 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8387 fi
8388
8389 else
8390
8391 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8392 if test "x$LINE" != x ; then
8393 eval "DEFAULT_$LINE"
8394 else
8395 no_cache=1
8396 fi
8397
8398 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8399
8400 fi;
8401
8402 eval "$ac_cv_use_stattext"
8403 if test "$no_cache" != 1; then
8404 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8405 fi
8406
8407 if test "$wxUSE_STATTEXT" = yes; then
8408 echo "$as_me:$LINENO: result: yes" >&5
8409 echo "${ECHO_T}yes" >&6
8410 else
8411 echo "$as_me:$LINENO: result: no" >&5
8412 echo "${ECHO_T}no" >&6
8413 fi
8414
8415
8416 enablestring=
8417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8418 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8419 no_cache=0
8420 # Check whether --enable-statusbar or --disable-statusbar was given.
8421 if test "${enable_statusbar+set}" = set; then
8422 enableval="$enable_statusbar"
8423
8424 if test "$enableval" = yes; then
8425 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8426 else
8427 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8428 fi
8429
8430 else
8431
8432 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8433 if test "x$LINE" != x ; then
8434 eval "DEFAULT_$LINE"
8435 else
8436 no_cache=1
8437 fi
8438
8439 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8440
8441 fi;
8442
8443 eval "$ac_cv_use_statusbar"
8444 if test "$no_cache" != 1; then
8445 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8446 fi
8447
8448 if test "$wxUSE_STATUSBAR" = yes; then
8449 echo "$as_me:$LINENO: result: yes" >&5
8450 echo "${ECHO_T}yes" >&6
8451 else
8452 echo "$as_me:$LINENO: result: no" >&5
8453 echo "${ECHO_T}no" >&6
8454 fi
8455
8456
8457 enablestring=
8458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8459 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8460 no_cache=0
8461 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8462 if test "${enable_tabdialog+set}" = set; then
8463 enableval="$enable_tabdialog"
8464
8465 if test "$enableval" = yes; then
8466 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8467 else
8468 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8469 fi
8470
8471 else
8472
8473 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8474 if test "x$LINE" != x ; then
8475 eval "DEFAULT_$LINE"
8476 else
8477 no_cache=1
8478 fi
8479
8480 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8481
8482 fi;
8483
8484 eval "$ac_cv_use_tabdialog"
8485 if test "$no_cache" != 1; then
8486 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8487 fi
8488
8489 if test "$wxUSE_TABDIALOG" = yes; then
8490 echo "$as_me:$LINENO: result: yes" >&5
8491 echo "${ECHO_T}yes" >&6
8492 else
8493 echo "$as_me:$LINENO: result: no" >&5
8494 echo "${ECHO_T}no" >&6
8495 fi
8496
8497
8498 enablestring=
8499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8500 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8501 no_cache=0
8502 # Check whether --enable-textctrl or --disable-textctrl was given.
8503 if test "${enable_textctrl+set}" = set; then
8504 enableval="$enable_textctrl"
8505
8506 if test "$enableval" = yes; then
8507 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8508 else
8509 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8510 fi
8511
8512 else
8513
8514 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8515 if test "x$LINE" != x ; then
8516 eval "DEFAULT_$LINE"
8517 else
8518 no_cache=1
8519 fi
8520
8521 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8522
8523 fi;
8524
8525 eval "$ac_cv_use_textctrl"
8526 if test "$no_cache" != 1; then
8527 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8528 fi
8529
8530 if test "$wxUSE_TEXTCTRL" = yes; then
8531 echo "$as_me:$LINENO: result: yes" >&5
8532 echo "${ECHO_T}yes" >&6
8533 else
8534 echo "$as_me:$LINENO: result: no" >&5
8535 echo "${ECHO_T}no" >&6
8536 fi
8537
8538
8539 enablestring=
8540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8541 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8542 no_cache=0
8543 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8544 if test "${enable_togglebtn+set}" = set; then
8545 enableval="$enable_togglebtn"
8546
8547 if test "$enableval" = yes; then
8548 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8549 else
8550 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8551 fi
8552
8553 else
8554
8555 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8556 if test "x$LINE" != x ; then
8557 eval "DEFAULT_$LINE"
8558 else
8559 no_cache=1
8560 fi
8561
8562 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8563
8564 fi;
8565
8566 eval "$ac_cv_use_togglebtn"
8567 if test "$no_cache" != 1; then
8568 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8569 fi
8570
8571 if test "$wxUSE_TOGGLEBTN" = yes; then
8572 echo "$as_me:$LINENO: result: yes" >&5
8573 echo "${ECHO_T}yes" >&6
8574 else
8575 echo "$as_me:$LINENO: result: no" >&5
8576 echo "${ECHO_T}no" >&6
8577 fi
8578
8579
8580 enablestring=
8581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8582 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8583 no_cache=0
8584 # Check whether --enable-toolbar or --disable-toolbar was given.
8585 if test "${enable_toolbar+set}" = set; then
8586 enableval="$enable_toolbar"
8587
8588 if test "$enableval" = yes; then
8589 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8590 else
8591 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8592 fi
8593
8594 else
8595
8596 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8597 if test "x$LINE" != x ; then
8598 eval "DEFAULT_$LINE"
8599 else
8600 no_cache=1
8601 fi
8602
8603 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8604
8605 fi;
8606
8607 eval "$ac_cv_use_toolbar"
8608 if test "$no_cache" != 1; then
8609 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8610 fi
8611
8612 if test "$wxUSE_TOOLBAR" = yes; then
8613 echo "$as_me:$LINENO: result: yes" >&5
8614 echo "${ECHO_T}yes" >&6
8615 else
8616 echo "$as_me:$LINENO: result: no" >&5
8617 echo "${ECHO_T}no" >&6
8618 fi
8619
8620
8621 enablestring=
8622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8623 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8624 no_cache=0
8625 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8626 if test "${enable_tbarnative+set}" = set; then
8627 enableval="$enable_tbarnative"
8628
8629 if test "$enableval" = yes; then
8630 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8631 else
8632 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8633 fi
8634
8635 else
8636
8637 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8638 if test "x$LINE" != x ; then
8639 eval "DEFAULT_$LINE"
8640 else
8641 no_cache=1
8642 fi
8643
8644 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8645
8646 fi;
8647
8648 eval "$ac_cv_use_tbarnative"
8649 if test "$no_cache" != 1; then
8650 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8651 fi
8652
8653 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8654 echo "$as_me:$LINENO: result: yes" >&5
8655 echo "${ECHO_T}yes" >&6
8656 else
8657 echo "$as_me:$LINENO: result: no" >&5
8658 echo "${ECHO_T}no" >&6
8659 fi
8660
8661
8662 enablestring=
8663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8664 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8665 no_cache=0
8666 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8667 if test "${enable_tbarsmpl+set}" = set; then
8668 enableval="$enable_tbarsmpl"
8669
8670 if test "$enableval" = yes; then
8671 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8672 else
8673 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8674 fi
8675
8676 else
8677
8678 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x ; then
8680 eval "DEFAULT_$LINE"
8681 else
8682 no_cache=1
8683 fi
8684
8685 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8686
8687 fi;
8688
8689 eval "$ac_cv_use_tbarsmpl"
8690 if test "$no_cache" != 1; then
8691 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8692 fi
8693
8694 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8695 echo "$as_me:$LINENO: result: yes" >&5
8696 echo "${ECHO_T}yes" >&6
8697 else
8698 echo "$as_me:$LINENO: result: no" >&5
8699 echo "${ECHO_T}no" >&6
8700 fi
8701
8702
8703 enablestring=
8704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8705 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8706 no_cache=0
8707 # Check whether --enable-treectrl or --disable-treectrl was given.
8708 if test "${enable_treectrl+set}" = set; then
8709 enableval="$enable_treectrl"
8710
8711 if test "$enableval" = yes; then
8712 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8713 else
8714 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8715 fi
8716
8717 else
8718
8719 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8720 if test "x$LINE" != x ; then
8721 eval "DEFAULT_$LINE"
8722 else
8723 no_cache=1
8724 fi
8725
8726 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8727
8728 fi;
8729
8730 eval "$ac_cv_use_treectrl"
8731 if test "$no_cache" != 1; then
8732 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8733 fi
8734
8735 if test "$wxUSE_TREECTRL" = yes; then
8736 echo "$as_me:$LINENO: result: yes" >&5
8737 echo "${ECHO_T}yes" >&6
8738 else
8739 echo "$as_me:$LINENO: result: no" >&5
8740 echo "${ECHO_T}no" >&6
8741 fi
8742
8743
8744 enablestring=
8745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8746 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8747 no_cache=0
8748 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8749 if test "${enable_tipwindow+set}" = set; then
8750 enableval="$enable_tipwindow"
8751
8752 if test "$enableval" = yes; then
8753 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8754 else
8755 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8756 fi
8757
8758 else
8759
8760 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8761 if test "x$LINE" != x ; then
8762 eval "DEFAULT_$LINE"
8763 else
8764 no_cache=1
8765 fi
8766
8767 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8768
8769 fi;
8770
8771 eval "$ac_cv_use_tipwindow"
8772 if test "$no_cache" != 1; then
8773 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8774 fi
8775
8776 if test "$wxUSE_TIPWINDOW" = yes; then
8777 echo "$as_me:$LINENO: result: yes" >&5
8778 echo "${ECHO_T}yes" >&6
8779 else
8780 echo "$as_me:$LINENO: result: no" >&5
8781 echo "${ECHO_T}no" >&6
8782 fi
8783
8784
8785 enablestring=
8786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8787 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8788 no_cache=0
8789 # Check whether --enable-popupwin or --disable-popupwin was given.
8790 if test "${enable_popupwin+set}" = set; then
8791 enableval="$enable_popupwin"
8792
8793 if test "$enableval" = yes; then
8794 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8795 else
8796 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8797 fi
8798
8799 else
8800
8801 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8802 if test "x$LINE" != x ; then
8803 eval "DEFAULT_$LINE"
8804 else
8805 no_cache=1
8806 fi
8807
8808 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8809
8810 fi;
8811
8812 eval "$ac_cv_use_popupwin"
8813 if test "$no_cache" != 1; then
8814 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8815 fi
8816
8817 if test "$wxUSE_POPUPWIN" = yes; then
8818 echo "$as_me:$LINENO: result: yes" >&5
8819 echo "${ECHO_T}yes" >&6
8820 else
8821 echo "$as_me:$LINENO: result: no" >&5
8822 echo "${ECHO_T}no" >&6
8823 fi
8824
8825
8826
8827
8828 enablestring=
8829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8830 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8831 no_cache=0
8832 # Check whether --enable-commondlg or --disable-commondlg was given.
8833 if test "${enable_commondlg+set}" = set; then
8834 enableval="$enable_commondlg"
8835
8836 if test "$enableval" = yes; then
8837 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8838 else
8839 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8840 fi
8841
8842 else
8843
8844 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8845 if test "x$LINE" != x ; then
8846 eval "DEFAULT_$LINE"
8847 else
8848 no_cache=1
8849 fi
8850
8851 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8852
8853 fi;
8854
8855 eval "$ac_cv_use_commondlg"
8856 if test "$no_cache" != 1; then
8857 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8858 fi
8859
8860 if test "$wxUSE_COMMONDLGS" = yes; then
8861 echo "$as_me:$LINENO: result: yes" >&5
8862 echo "${ECHO_T}yes" >&6
8863 else
8864 echo "$as_me:$LINENO: result: no" >&5
8865 echo "${ECHO_T}no" >&6
8866 fi
8867
8868
8869 enablestring=
8870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8871 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8872 no_cache=0
8873 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8874 if test "${enable_choicedlg+set}" = set; then
8875 enableval="$enable_choicedlg"
8876
8877 if test "$enableval" = yes; then
8878 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8879 else
8880 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8881 fi
8882
8883 else
8884
8885 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8886 if test "x$LINE" != x ; then
8887 eval "DEFAULT_$LINE"
8888 else
8889 no_cache=1
8890 fi
8891
8892 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8893
8894 fi;
8895
8896 eval "$ac_cv_use_choicedlg"
8897 if test "$no_cache" != 1; then
8898 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8899 fi
8900
8901 if test "$wxUSE_CHOICEDLG" = yes; then
8902 echo "$as_me:$LINENO: result: yes" >&5
8903 echo "${ECHO_T}yes" >&6
8904 else
8905 echo "$as_me:$LINENO: result: no" >&5
8906 echo "${ECHO_T}no" >&6
8907 fi
8908
8909
8910 enablestring=
8911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8912 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8913 no_cache=0
8914 # Check whether --enable-coldlg or --disable-coldlg was given.
8915 if test "${enable_coldlg+set}" = set; then
8916 enableval="$enable_coldlg"
8917
8918 if test "$enableval" = yes; then
8919 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8920 else
8921 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8922 fi
8923
8924 else
8925
8926 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8927 if test "x$LINE" != x ; then
8928 eval "DEFAULT_$LINE"
8929 else
8930 no_cache=1
8931 fi
8932
8933 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8934
8935 fi;
8936
8937 eval "$ac_cv_use_coldlg"
8938 if test "$no_cache" != 1; then
8939 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8940 fi
8941
8942 if test "$wxUSE_COLOURDLG" = yes; then
8943 echo "$as_me:$LINENO: result: yes" >&5
8944 echo "${ECHO_T}yes" >&6
8945 else
8946 echo "$as_me:$LINENO: result: no" >&5
8947 echo "${ECHO_T}no" >&6
8948 fi
8949
8950
8951 enablestring=
8952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8953 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8954 no_cache=0
8955 # Check whether --enable-filedlg or --disable-filedlg was given.
8956 if test "${enable_filedlg+set}" = set; then
8957 enableval="$enable_filedlg"
8958
8959 if test "$enableval" = yes; then
8960 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8961 else
8962 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8963 fi
8964
8965 else
8966
8967 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8968 if test "x$LINE" != x ; then
8969 eval "DEFAULT_$LINE"
8970 else
8971 no_cache=1
8972 fi
8973
8974 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8975
8976 fi;
8977
8978 eval "$ac_cv_use_filedlg"
8979 if test "$no_cache" != 1; then
8980 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8981 fi
8982
8983 if test "$wxUSE_FILEDLG" = yes; then
8984 echo "$as_me:$LINENO: result: yes" >&5
8985 echo "${ECHO_T}yes" >&6
8986 else
8987 echo "$as_me:$LINENO: result: no" >&5
8988 echo "${ECHO_T}no" >&6
8989 fi
8990
8991
8992 enablestring=
8993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8994 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8995 no_cache=0
8996 # Check whether --enable-finddlg or --disable-finddlg was given.
8997 if test "${enable_finddlg+set}" = set; then
8998 enableval="$enable_finddlg"
8999
9000 if test "$enableval" = yes; then
9001 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9002 else
9003 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9004 fi
9005
9006 else
9007
9008 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9009 if test "x$LINE" != x ; then
9010 eval "DEFAULT_$LINE"
9011 else
9012 no_cache=1
9013 fi
9014
9015 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9016
9017 fi;
9018
9019 eval "$ac_cv_use_finddlg"
9020 if test "$no_cache" != 1; then
9021 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9022 fi
9023
9024 if test "$wxUSE_FINDREPLDLG" = yes; then
9025 echo "$as_me:$LINENO: result: yes" >&5
9026 echo "${ECHO_T}yes" >&6
9027 else
9028 echo "$as_me:$LINENO: result: no" >&5
9029 echo "${ECHO_T}no" >&6
9030 fi
9031
9032
9033 enablestring=
9034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9035 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9036 no_cache=0
9037 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9038 if test "${enable_fontdlg+set}" = set; then
9039 enableval="$enable_fontdlg"
9040
9041 if test "$enableval" = yes; then
9042 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9043 else
9044 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9045 fi
9046
9047 else
9048
9049 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9050 if test "x$LINE" != x ; then
9051 eval "DEFAULT_$LINE"
9052 else
9053 no_cache=1
9054 fi
9055
9056 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9057
9058 fi;
9059
9060 eval "$ac_cv_use_fontdlg"
9061 if test "$no_cache" != 1; then
9062 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9063 fi
9064
9065 if test "$wxUSE_FONTDLG" = yes; then
9066 echo "$as_me:$LINENO: result: yes" >&5
9067 echo "${ECHO_T}yes" >&6
9068 else
9069 echo "$as_me:$LINENO: result: no" >&5
9070 echo "${ECHO_T}no" >&6
9071 fi
9072
9073
9074 enablestring=
9075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9076 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9077 no_cache=0
9078 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9079 if test "${enable_dirdlg+set}" = set; then
9080 enableval="$enable_dirdlg"
9081
9082 if test "$enableval" = yes; then
9083 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9084 else
9085 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9086 fi
9087
9088 else
9089
9090 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9091 if test "x$LINE" != x ; then
9092 eval "DEFAULT_$LINE"
9093 else
9094 no_cache=1
9095 fi
9096
9097 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9098
9099 fi;
9100
9101 eval "$ac_cv_use_dirdlg"
9102 if test "$no_cache" != 1; then
9103 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9104 fi
9105
9106 if test "$wxUSE_DIRDLG" = yes; then
9107 echo "$as_me:$LINENO: result: yes" >&5
9108 echo "${ECHO_T}yes" >&6
9109 else
9110 echo "$as_me:$LINENO: result: no" >&5
9111 echo "${ECHO_T}no" >&6
9112 fi
9113
9114
9115 enablestring=
9116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9117 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9118 no_cache=0
9119 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9120 if test "${enable_msgdlg+set}" = set; then
9121 enableval="$enable_msgdlg"
9122
9123 if test "$enableval" = yes; then
9124 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9125 else
9126 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9127 fi
9128
9129 else
9130
9131 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9132 if test "x$LINE" != x ; then
9133 eval "DEFAULT_$LINE"
9134 else
9135 no_cache=1
9136 fi
9137
9138 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9139
9140 fi;
9141
9142 eval "$ac_cv_use_msgdlg"
9143 if test "$no_cache" != 1; then
9144 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9145 fi
9146
9147 if test "$wxUSE_MSGDLG" = yes; then
9148 echo "$as_me:$LINENO: result: yes" >&5
9149 echo "${ECHO_T}yes" >&6
9150 else
9151 echo "$as_me:$LINENO: result: no" >&5
9152 echo "${ECHO_T}no" >&6
9153 fi
9154
9155
9156 enablestring=
9157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9158 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9159 no_cache=0
9160 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9161 if test "${enable_numberdlg+set}" = set; then
9162 enableval="$enable_numberdlg"
9163
9164 if test "$enableval" = yes; then
9165 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9166 else
9167 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9168 fi
9169
9170 else
9171
9172 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9173 if test "x$LINE" != x ; then
9174 eval "DEFAULT_$LINE"
9175 else
9176 no_cache=1
9177 fi
9178
9179 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9180
9181 fi;
9182
9183 eval "$ac_cv_use_numberdlg"
9184 if test "$no_cache" != 1; then
9185 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9186 fi
9187
9188 if test "$wxUSE_NUMBERDLG" = yes; then
9189 echo "$as_me:$LINENO: result: yes" >&5
9190 echo "${ECHO_T}yes" >&6
9191 else
9192 echo "$as_me:$LINENO: result: no" >&5
9193 echo "${ECHO_T}no" >&6
9194 fi
9195
9196
9197 enablestring=
9198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9199 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9200 no_cache=0
9201 # Check whether --enable-splash or --disable-splash was given.
9202 if test "${enable_splash+set}" = set; then
9203 enableval="$enable_splash"
9204
9205 if test "$enableval" = yes; then
9206 ac_cv_use_splash='wxUSE_SPLASH=yes'
9207 else
9208 ac_cv_use_splash='wxUSE_SPLASH=no'
9209 fi
9210
9211 else
9212
9213 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9214 if test "x$LINE" != x ; then
9215 eval "DEFAULT_$LINE"
9216 else
9217 no_cache=1
9218 fi
9219
9220 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9221
9222 fi;
9223
9224 eval "$ac_cv_use_splash"
9225 if test "$no_cache" != 1; then
9226 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9227 fi
9228
9229 if test "$wxUSE_SPLASH" = yes; then
9230 echo "$as_me:$LINENO: result: yes" >&5
9231 echo "${ECHO_T}yes" >&6
9232 else
9233 echo "$as_me:$LINENO: result: no" >&5
9234 echo "${ECHO_T}no" >&6
9235 fi
9236
9237
9238 enablestring=
9239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9240 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9241 no_cache=0
9242 # Check whether --enable-textdlg or --disable-textdlg was given.
9243 if test "${enable_textdlg+set}" = set; then
9244 enableval="$enable_textdlg"
9245
9246 if test "$enableval" = yes; then
9247 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9248 else
9249 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9250 fi
9251
9252 else
9253
9254 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9255 if test "x$LINE" != x ; then
9256 eval "DEFAULT_$LINE"
9257 else
9258 no_cache=1
9259 fi
9260
9261 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9262
9263 fi;
9264
9265 eval "$ac_cv_use_textdlg"
9266 if test "$no_cache" != 1; then
9267 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9268 fi
9269
9270 if test "$wxUSE_TEXTDLG" = yes; then
9271 echo "$as_me:$LINENO: result: yes" >&5
9272 echo "${ECHO_T}yes" >&6
9273 else
9274 echo "$as_me:$LINENO: result: no" >&5
9275 echo "${ECHO_T}no" >&6
9276 fi
9277
9278
9279 enablestring=
9280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9281 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9282 no_cache=0
9283 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9284 if test "${enable_tipdlg+set}" = set; then
9285 enableval="$enable_tipdlg"
9286
9287 if test "$enableval" = yes; then
9288 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9289 else
9290 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9291 fi
9292
9293 else
9294
9295 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9296 if test "x$LINE" != x ; then
9297 eval "DEFAULT_$LINE"
9298 else
9299 no_cache=1
9300 fi
9301
9302 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9303
9304 fi;
9305
9306 eval "$ac_cv_use_tipdlg"
9307 if test "$no_cache" != 1; then
9308 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9309 fi
9310
9311 if test "$wxUSE_STARTUP_TIPS" = yes; then
9312 echo "$as_me:$LINENO: result: yes" >&5
9313 echo "${ECHO_T}yes" >&6
9314 else
9315 echo "$as_me:$LINENO: result: no" >&5
9316 echo "${ECHO_T}no" >&6
9317 fi
9318
9319
9320 enablestring=
9321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9322 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9323 no_cache=0
9324 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9325 if test "${enable_progressdlg+set}" = set; then
9326 enableval="$enable_progressdlg"
9327
9328 if test "$enableval" = yes; then
9329 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9330 else
9331 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9332 fi
9333
9334 else
9335
9336 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9337 if test "x$LINE" != x ; then
9338 eval "DEFAULT_$LINE"
9339 else
9340 no_cache=1
9341 fi
9342
9343 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9344
9345 fi;
9346
9347 eval "$ac_cv_use_progressdlg"
9348 if test "$no_cache" != 1; then
9349 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9350 fi
9351
9352 if test "$wxUSE_PROGRESSDLG" = yes; then
9353 echo "$as_me:$LINENO: result: yes" >&5
9354 echo "${ECHO_T}yes" >&6
9355 else
9356 echo "$as_me:$LINENO: result: no" >&5
9357 echo "${ECHO_T}no" >&6
9358 fi
9359
9360
9361 enablestring=
9362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9363 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9364 no_cache=0
9365 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9366 if test "${enable_wizarddlg+set}" = set; then
9367 enableval="$enable_wizarddlg"
9368
9369 if test "$enableval" = yes; then
9370 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9371 else
9372 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9373 fi
9374
9375 else
9376
9377 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9378 if test "x$LINE" != x ; then
9379 eval "DEFAULT_$LINE"
9380 else
9381 no_cache=1
9382 fi
9383
9384 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9385
9386 fi;
9387
9388 eval "$ac_cv_use_wizarddlg"
9389 if test "$no_cache" != 1; then
9390 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9391 fi
9392
9393 if test "$wxUSE_WIZARDDLG" = yes; then
9394 echo "$as_me:$LINENO: result: yes" >&5
9395 echo "${ECHO_T}yes" >&6
9396 else
9397 echo "$as_me:$LINENO: result: no" >&5
9398 echo "${ECHO_T}no" >&6
9399 fi
9400
9401
9402
9403
9404 enablestring=
9405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9406 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9407 no_cache=0
9408 # Check whether --enable-menus or --disable-menus was given.
9409 if test "${enable_menus+set}" = set; then
9410 enableval="$enable_menus"
9411
9412 if test "$enableval" = yes; then
9413 ac_cv_use_menus='wxUSE_MENUS=yes'
9414 else
9415 ac_cv_use_menus='wxUSE_MENUS=no'
9416 fi
9417
9418 else
9419
9420 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9421 if test "x$LINE" != x ; then
9422 eval "DEFAULT_$LINE"
9423 else
9424 no_cache=1
9425 fi
9426
9427 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9428
9429 fi;
9430
9431 eval "$ac_cv_use_menus"
9432 if test "$no_cache" != 1; then
9433 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9434 fi
9435
9436 if test "$wxUSE_MENUS" = yes; then
9437 echo "$as_me:$LINENO: result: yes" >&5
9438 echo "${ECHO_T}yes" >&6
9439 else
9440 echo "$as_me:$LINENO: result: no" >&5
9441 echo "${ECHO_T}no" >&6
9442 fi
9443
9444
9445 enablestring=
9446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9447 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9448 no_cache=0
9449 # Check whether --enable-miniframe or --disable-miniframe was given.
9450 if test "${enable_miniframe+set}" = set; then
9451 enableval="$enable_miniframe"
9452
9453 if test "$enableval" = yes; then
9454 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9455 else
9456 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9457 fi
9458
9459 else
9460
9461 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9462 if test "x$LINE" != x ; then
9463 eval "DEFAULT_$LINE"
9464 else
9465 no_cache=1
9466 fi
9467
9468 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9469
9470 fi;
9471
9472 eval "$ac_cv_use_miniframe"
9473 if test "$no_cache" != 1; then
9474 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9475 fi
9476
9477 if test "$wxUSE_MINIFRAME" = yes; then
9478 echo "$as_me:$LINENO: result: yes" >&5
9479 echo "${ECHO_T}yes" >&6
9480 else
9481 echo "$as_me:$LINENO: result: no" >&5
9482 echo "${ECHO_T}no" >&6
9483 fi
9484
9485
9486 enablestring=
9487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9488 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9489 no_cache=0
9490 # Check whether --enable-tooltips or --disable-tooltips was given.
9491 if test "${enable_tooltips+set}" = set; then
9492 enableval="$enable_tooltips"
9493
9494 if test "$enableval" = yes; then
9495 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9496 else
9497 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9498 fi
9499
9500 else
9501
9502 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9503 if test "x$LINE" != x ; then
9504 eval "DEFAULT_$LINE"
9505 else
9506 no_cache=1
9507 fi
9508
9509 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9510
9511 fi;
9512
9513 eval "$ac_cv_use_tooltips"
9514 if test "$no_cache" != 1; then
9515 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9516 fi
9517
9518 if test "$wxUSE_TOOLTIPS" = yes; then
9519 echo "$as_me:$LINENO: result: yes" >&5
9520 echo "${ECHO_T}yes" >&6
9521 else
9522 echo "$as_me:$LINENO: result: no" >&5
9523 echo "${ECHO_T}no" >&6
9524 fi
9525
9526
9527 enablestring=
9528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9529 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9530 no_cache=0
9531 # Check whether --enable-splines or --disable-splines was given.
9532 if test "${enable_splines+set}" = set; then
9533 enableval="$enable_splines"
9534
9535 if test "$enableval" = yes; then
9536 ac_cv_use_splines='wxUSE_SPLINES=yes'
9537 else
9538 ac_cv_use_splines='wxUSE_SPLINES=no'
9539 fi
9540
9541 else
9542
9543 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9544 if test "x$LINE" != x ; then
9545 eval "DEFAULT_$LINE"
9546 else
9547 no_cache=1
9548 fi
9549
9550 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9551
9552 fi;
9553
9554 eval "$ac_cv_use_splines"
9555 if test "$no_cache" != 1; then
9556 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9557 fi
9558
9559 if test "$wxUSE_SPLINES" = yes; then
9560 echo "$as_me:$LINENO: result: yes" >&5
9561 echo "${ECHO_T}yes" >&6
9562 else
9563 echo "$as_me:$LINENO: result: no" >&5
9564 echo "${ECHO_T}no" >&6
9565 fi
9566
9567
9568 enablestring=
9569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9570 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9571 no_cache=0
9572 # Check whether --enable-validators or --disable-validators was given.
9573 if test "${enable_validators+set}" = set; then
9574 enableval="$enable_validators"
9575
9576 if test "$enableval" = yes; then
9577 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9578 else
9579 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9580 fi
9581
9582 else
9583
9584 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9585 if test "x$LINE" != x ; then
9586 eval "DEFAULT_$LINE"
9587 else
9588 no_cache=1
9589 fi
9590
9591 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9592
9593 fi;
9594
9595 eval "$ac_cv_use_validators"
9596 if test "$no_cache" != 1; then
9597 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9598 fi
9599
9600 if test "$wxUSE_VALIDATORS" = yes; then
9601 echo "$as_me:$LINENO: result: yes" >&5
9602 echo "${ECHO_T}yes" >&6
9603 else
9604 echo "$as_me:$LINENO: result: no" >&5
9605 echo "${ECHO_T}no" >&6
9606 fi
9607
9608
9609 enablestring=
9610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9611 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9612 no_cache=0
9613 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9614 if test "${enable_busyinfo+set}" = set; then
9615 enableval="$enable_busyinfo"
9616
9617 if test "$enableval" = yes; then
9618 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9619 else
9620 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9621 fi
9622
9623 else
9624
9625 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9626 if test "x$LINE" != x ; then
9627 eval "DEFAULT_$LINE"
9628 else
9629 no_cache=1
9630 fi
9631
9632 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9633
9634 fi;
9635
9636 eval "$ac_cv_use_busyinfo"
9637 if test "$no_cache" != 1; then
9638 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9639 fi
9640
9641 if test "$wxUSE_BUSYINFO" = yes; then
9642 echo "$as_me:$LINENO: result: yes" >&5
9643 echo "${ECHO_T}yes" >&6
9644 else
9645 echo "$as_me:$LINENO: result: no" >&5
9646 echo "${ECHO_T}no" >&6
9647 fi
9648
9649
9650 enablestring=
9651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9652 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9653 no_cache=0
9654 # Check whether --enable-joystick or --disable-joystick was given.
9655 if test "${enable_joystick+set}" = set; then
9656 enableval="$enable_joystick"
9657
9658 if test "$enableval" = yes; then
9659 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9660 else
9661 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9662 fi
9663
9664 else
9665
9666 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9667 if test "x$LINE" != x ; then
9668 eval "DEFAULT_$LINE"
9669 else
9670 no_cache=1
9671 fi
9672
9673 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9674
9675 fi;
9676
9677 eval "$ac_cv_use_joystick"
9678 if test "$no_cache" != 1; then
9679 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9680 fi
9681
9682 if test "$wxUSE_JOYSTICK" = yes; then
9683 echo "$as_me:$LINENO: result: yes" >&5
9684 echo "${ECHO_T}yes" >&6
9685 else
9686 echo "$as_me:$LINENO: result: no" >&5
9687 echo "${ECHO_T}no" >&6
9688 fi
9689
9690
9691 enablestring=
9692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9693 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9694 no_cache=0
9695 # Check whether --enable-metafile or --disable-metafile was given.
9696 if test "${enable_metafile+set}" = set; then
9697 enableval="$enable_metafile"
9698
9699 if test "$enableval" = yes; then
9700 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9701 else
9702 ac_cv_use_metafile='wxUSE_METAFILE=no'
9703 fi
9704
9705 else
9706
9707 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9708 if test "x$LINE" != x ; then
9709 eval "DEFAULT_$LINE"
9710 else
9711 no_cache=1
9712 fi
9713
9714 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9715
9716 fi;
9717
9718 eval "$ac_cv_use_metafile"
9719 if test "$no_cache" != 1; then
9720 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9721 fi
9722
9723 if test "$wxUSE_METAFILE" = yes; then
9724 echo "$as_me:$LINENO: result: yes" >&5
9725 echo "${ECHO_T}yes" >&6
9726 else
9727 echo "$as_me:$LINENO: result: no" >&5
9728 echo "${ECHO_T}no" >&6
9729 fi
9730
9731
9732 enablestring=
9733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9734 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9735 no_cache=0
9736 # Check whether --enable-dragimage or --disable-dragimage was given.
9737 if test "${enable_dragimage+set}" = set; then
9738 enableval="$enable_dragimage"
9739
9740 if test "$enableval" = yes; then
9741 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9742 else
9743 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9744 fi
9745
9746 else
9747
9748 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9749 if test "x$LINE" != x ; then
9750 eval "DEFAULT_$LINE"
9751 else
9752 no_cache=1
9753 fi
9754
9755 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9756
9757 fi;
9758
9759 eval "$ac_cv_use_dragimage"
9760 if test "$no_cache" != 1; then
9761 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9762 fi
9763
9764 if test "$wxUSE_DRAGIMAGE" = yes; then
9765 echo "$as_me:$LINENO: result: yes" >&5
9766 echo "${ECHO_T}yes" >&6
9767 else
9768 echo "$as_me:$LINENO: result: no" >&5
9769 echo "${ECHO_T}no" >&6
9770 fi
9771
9772
9773 enablestring=
9774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9775 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9776 no_cache=0
9777 # Check whether --enable-accessibility or --disable-accessibility was given.
9778 if test "${enable_accessibility+set}" = set; then
9779 enableval="$enable_accessibility"
9780
9781 if test "$enableval" = yes; then
9782 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9783 else
9784 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9785 fi
9786
9787 else
9788
9789 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9790 if test "x$LINE" != x ; then
9791 eval "DEFAULT_$LINE"
9792 else
9793 no_cache=1
9794 fi
9795
9796 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9797
9798 fi;
9799
9800 eval "$ac_cv_use_accessibility"
9801 if test "$no_cache" != 1; then
9802 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9803 fi
9804
9805 if test "$wxUSE_ACCESSIBILITY" = yes; then
9806 echo "$as_me:$LINENO: result: yes" >&5
9807 echo "${ECHO_T}yes" >&6
9808 else
9809 echo "$as_me:$LINENO: result: no" >&5
9810 echo "${ECHO_T}no" >&6
9811 fi
9812
9813
9814
9815
9816 enablestring=
9817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9818 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9819 no_cache=0
9820 # Check whether --enable-palette or --disable-palette was given.
9821 if test "${enable_palette+set}" = set; then
9822 enableval="$enable_palette"
9823
9824 if test "$enableval" = yes; then
9825 ac_cv_use_palette='wxUSE_PALETTE=yes'
9826 else
9827 ac_cv_use_palette='wxUSE_PALETTE=no'
9828 fi
9829
9830 else
9831
9832 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9833 if test "x$LINE" != x ; then
9834 eval "DEFAULT_$LINE"
9835 else
9836 no_cache=1
9837 fi
9838
9839 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9840
9841 fi;
9842
9843 eval "$ac_cv_use_palette"
9844 if test "$no_cache" != 1; then
9845 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9846 fi
9847
9848 if test "$wxUSE_PALETTE" = yes; then
9849 echo "$as_me:$LINENO: result: yes" >&5
9850 echo "${ECHO_T}yes" >&6
9851 else
9852 echo "$as_me:$LINENO: result: no" >&5
9853 echo "${ECHO_T}no" >&6
9854 fi
9855
9856
9857 enablestring=
9858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9859 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9860 no_cache=0
9861 # Check whether --enable-image or --disable-image was given.
9862 if test "${enable_image+set}" = set; then
9863 enableval="$enable_image"
9864
9865 if test "$enableval" = yes; then
9866 ac_cv_use_image='wxUSE_IMAGE=yes'
9867 else
9868 ac_cv_use_image='wxUSE_IMAGE=no'
9869 fi
9870
9871 else
9872
9873 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9874 if test "x$LINE" != x ; then
9875 eval "DEFAULT_$LINE"
9876 else
9877 no_cache=1
9878 fi
9879
9880 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9881
9882 fi;
9883
9884 eval "$ac_cv_use_image"
9885 if test "$no_cache" != 1; then
9886 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9887 fi
9888
9889 if test "$wxUSE_IMAGE" = yes; then
9890 echo "$as_me:$LINENO: result: yes" >&5
9891 echo "${ECHO_T}yes" >&6
9892 else
9893 echo "$as_me:$LINENO: result: no" >&5
9894 echo "${ECHO_T}no" >&6
9895 fi
9896
9897
9898 enablestring=
9899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9900 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9901 no_cache=0
9902 # Check whether --enable-gif or --disable-gif was given.
9903 if test "${enable_gif+set}" = set; then
9904 enableval="$enable_gif"
9905
9906 if test "$enableval" = yes; then
9907 ac_cv_use_gif='wxUSE_GIF=yes'
9908 else
9909 ac_cv_use_gif='wxUSE_GIF=no'
9910 fi
9911
9912 else
9913
9914 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9915 if test "x$LINE" != x ; then
9916 eval "DEFAULT_$LINE"
9917 else
9918 no_cache=1
9919 fi
9920
9921 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9922
9923 fi;
9924
9925 eval "$ac_cv_use_gif"
9926 if test "$no_cache" != 1; then
9927 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9928 fi
9929
9930 if test "$wxUSE_GIF" = yes; then
9931 echo "$as_me:$LINENO: result: yes" >&5
9932 echo "${ECHO_T}yes" >&6
9933 else
9934 echo "$as_me:$LINENO: result: no" >&5
9935 echo "${ECHO_T}no" >&6
9936 fi
9937
9938
9939 enablestring=
9940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9941 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9942 no_cache=0
9943 # Check whether --enable-pcx or --disable-pcx was given.
9944 if test "${enable_pcx+set}" = set; then
9945 enableval="$enable_pcx"
9946
9947 if test "$enableval" = yes; then
9948 ac_cv_use_pcx='wxUSE_PCX=yes'
9949 else
9950 ac_cv_use_pcx='wxUSE_PCX=no'
9951 fi
9952
9953 else
9954
9955 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9956 if test "x$LINE" != x ; then
9957 eval "DEFAULT_$LINE"
9958 else
9959 no_cache=1
9960 fi
9961
9962 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9963
9964 fi;
9965
9966 eval "$ac_cv_use_pcx"
9967 if test "$no_cache" != 1; then
9968 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9969 fi
9970
9971 if test "$wxUSE_PCX" = yes; then
9972 echo "$as_me:$LINENO: result: yes" >&5
9973 echo "${ECHO_T}yes" >&6
9974 else
9975 echo "$as_me:$LINENO: result: no" >&5
9976 echo "${ECHO_T}no" >&6
9977 fi
9978
9979
9980 enablestring=
9981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9982 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9983 no_cache=0
9984 # Check whether --enable-iff or --disable-iff was given.
9985 if test "${enable_iff+set}" = set; then
9986 enableval="$enable_iff"
9987
9988 if test "$enableval" = yes; then
9989 ac_cv_use_iff='wxUSE_IFF=yes'
9990 else
9991 ac_cv_use_iff='wxUSE_IFF=no'
9992 fi
9993
9994 else
9995
9996 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9997 if test "x$LINE" != x ; then
9998 eval "DEFAULT_$LINE"
9999 else
10000 no_cache=1
10001 fi
10002
10003 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10004
10005 fi;
10006
10007 eval "$ac_cv_use_iff"
10008 if test "$no_cache" != 1; then
10009 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10010 fi
10011
10012 if test "$wxUSE_IFF" = yes; then
10013 echo "$as_me:$LINENO: result: yes" >&5
10014 echo "${ECHO_T}yes" >&6
10015 else
10016 echo "$as_me:$LINENO: result: no" >&5
10017 echo "${ECHO_T}no" >&6
10018 fi
10019
10020
10021 enablestring=
10022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10023 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10024 no_cache=0
10025 # Check whether --enable-pnm or --disable-pnm was given.
10026 if test "${enable_pnm+set}" = set; then
10027 enableval="$enable_pnm"
10028
10029 if test "$enableval" = yes; then
10030 ac_cv_use_pnm='wxUSE_PNM=yes'
10031 else
10032 ac_cv_use_pnm='wxUSE_PNM=no'
10033 fi
10034
10035 else
10036
10037 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10038 if test "x$LINE" != x ; then
10039 eval "DEFAULT_$LINE"
10040 else
10041 no_cache=1
10042 fi
10043
10044 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10045
10046 fi;
10047
10048 eval "$ac_cv_use_pnm"
10049 if test "$no_cache" != 1; then
10050 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10051 fi
10052
10053 if test "$wxUSE_PNM" = yes; then
10054 echo "$as_me:$LINENO: result: yes" >&5
10055 echo "${ECHO_T}yes" >&6
10056 else
10057 echo "$as_me:$LINENO: result: no" >&5
10058 echo "${ECHO_T}no" >&6
10059 fi
10060
10061
10062 enablestring=
10063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10064 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10065 no_cache=0
10066 # Check whether --enable-xpm or --disable-xpm was given.
10067 if test "${enable_xpm+set}" = set; then
10068 enableval="$enable_xpm"
10069
10070 if test "$enableval" = yes; then
10071 ac_cv_use_xpm='wxUSE_XPM=yes'
10072 else
10073 ac_cv_use_xpm='wxUSE_XPM=no'
10074 fi
10075
10076 else
10077
10078 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10079 if test "x$LINE" != x ; then
10080 eval "DEFAULT_$LINE"
10081 else
10082 no_cache=1
10083 fi
10084
10085 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10086
10087 fi;
10088
10089 eval "$ac_cv_use_xpm"
10090 if test "$no_cache" != 1; then
10091 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10092 fi
10093
10094 if test "$wxUSE_XPM" = yes; then
10095 echo "$as_me:$LINENO: result: yes" >&5
10096 echo "${ECHO_T}yes" >&6
10097 else
10098 echo "$as_me:$LINENO: result: no" >&5
10099 echo "${ECHO_T}no" >&6
10100 fi
10101
10102
10103 enablestring=
10104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10105 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10106 no_cache=0
10107 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10108 if test "${enable_ico_cur+set}" = set; then
10109 enableval="$enable_ico_cur"
10110
10111 if test "$enableval" = yes; then
10112 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10113 else
10114 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10115 fi
10116
10117 else
10118
10119 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10120 if test "x$LINE" != x ; then
10121 eval "DEFAULT_$LINE"
10122 else
10123 no_cache=1
10124 fi
10125
10126 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10127
10128 fi;
10129
10130 eval "$ac_cv_use_ico_cur"
10131 if test "$no_cache" != 1; then
10132 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10133 fi
10134
10135 if test "$wxUSE_ICO_CUR" = yes; then
10136 echo "$as_me:$LINENO: result: yes" >&5
10137 echo "${ECHO_T}yes" >&6
10138 else
10139 echo "$as_me:$LINENO: result: no" >&5
10140 echo "${ECHO_T}no" >&6
10141 fi
10142
10143
10144 fi
10145
10146
10147
10148 # Check whether --with-flavour or --without-flavour was given.
10149 if test "${with_flavour+set}" = set; then
10150 withval="$with_flavour"
10151 WX_FLAVOUR="$withval"
10152 fi;
10153
10154
10155
10156 enablestring=
10157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10158 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10159 no_cache=0
10160 # Check whether --enable-official_build or --disable-official_build was given.
10161 if test "${enable_official_build+set}" = set; then
10162 enableval="$enable_official_build"
10163
10164 if test "$enableval" = yes; then
10165 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10166 else
10167 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10168 fi
10169
10170 else
10171
10172 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10173 if test "x$LINE" != x ; then
10174 eval "DEFAULT_$LINE"
10175 else
10176 no_cache=1
10177 fi
10178
10179 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10180
10181 fi;
10182
10183 eval "$ac_cv_use_official_build"
10184 if test "$no_cache" != 1; then
10185 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10186 fi
10187
10188 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10189 echo "$as_me:$LINENO: result: yes" >&5
10190 echo "${ECHO_T}yes" >&6
10191 else
10192 echo "$as_me:$LINENO: result: no" >&5
10193 echo "${ECHO_T}no" >&6
10194 fi
10195
10196 # Check whether --enable-vendor or --disable-vendor was given.
10197 if test "${enable_vendor+set}" = set; then
10198 enableval="$enable_vendor"
10199 VENDOR="$enableval"
10200 fi;
10201 if test "x$VENDOR" = "x"; then
10202 VENDOR="custom"
10203 fi
10204
10205
10206
10207
10208 echo "saving argument cache $wx_arg_cache_file"
10209 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10210
10211
10212
10213 echo "$as_me:$LINENO: checking for toolkit" >&5
10214 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10215
10216 # In Wine, we need to default to MSW, not GTK or MOTIF
10217 if test "$wxUSE_WINE" = "yes"; then
10218 DEFAULT_DEFAULT_wxUSE_GTK=0
10219 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10220 DEFAULT_DEFAULT_wxUSE_MSW=1
10221 wxUSE_SHARED=no
10222 fi
10223
10224 if test "$wxUSE_GUI" = "yes"; then
10225
10226 if test "$USE_BEOS" = 1; then
10227 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10228 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10229 { (exit 1); exit 1; }; }
10230 fi
10231
10232 if test "$TOOLKIT_GIVEN" = 1; then
10233 for toolkit in `echo $ALL_TOOLKITS`; do
10234 var=wxUSE_$toolkit
10235 eval "value=\$${var}"
10236 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10237 done
10238 else
10239 for toolkit in `echo $ALL_TOOLKITS`; do
10240 if test "$has_toolkit_in_cache" != 1; then
10241 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10242 else
10243 var=DEFAULT_wxUSE_$toolkit
10244 fi
10245 eval "wxUSE_$toolkit=\$${var}"
10246 done
10247 fi
10248
10249 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10250 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10251 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10252
10253 case "${host}" in
10254 *-pc-os2_emx | *-pc-os2-emx )
10255 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10256 esac
10257
10258 case "$NUM_TOOLKITS" in
10259 1)
10260 ;;
10261 0)
10262 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10263 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10264 { (exit 1); exit 1; }; }
10265 ;;
10266 *)
10267 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10268 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10269 { (exit 1); exit 1; }; }
10270 esac
10271
10272 for toolkit in `echo $ALL_TOOLKITS`; do
10273 var=wxUSE_$toolkit
10274 eval "value=\$${var}"
10275 if test "x$value" != x; then
10276 cache_var=CACHE_$toolkit
10277 eval "cache=\$${cache_var}"
10278 if test "$cache" = 1; then
10279 echo "$var=$value" >> ${wx_arg_cache_file}
10280 fi
10281 if test "$value" = 1; then
10282 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10283 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10284 echo "${ECHO_T}$toolkit_echo" >&6
10285 fi
10286 fi
10287 done
10288 else
10289 if test "x$host_alias" != "x"; then
10290 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10291 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10292 else
10293 echo "$as_me:$LINENO: result: base only" >&5
10294 echo "${ECHO_T}base only" >&6
10295 fi
10296 fi
10297
10298 wants_win32=0
10299 doesnt_want_win32=0
10300 case "${host}" in
10301 *-*-cygwin*)
10302 if test "$wxUSE_MSW" = 1 ; then
10303 wants_win32=1
10304 else
10305 doesnt_want_win32=1
10306 fi
10307 ;;
10308 *-*-mingw*)
10309 wants_win32=1
10310 ;;
10311 esac
10312
10313 if test "$wxUSE_WINE" = "yes"; then
10314 wants_win32=1
10315 CC=winegcc
10316 CXX=wineg++
10317 RESCOMP=wrc
10318 LDFLAGS_GUI="-mwindows"
10319 fi
10320
10321 if test "$wants_win32" = 1 ; then
10322 USE_UNIX=0
10323 USE_WIN32=1
10324 cat >>confdefs.h <<\_ACEOF
10325 #define __WIN32__ 1
10326 _ACEOF
10327
10328 cat >>confdefs.h <<\_ACEOF
10329 #define __WIN95__ 1
10330 _ACEOF
10331
10332 cat >>confdefs.h <<\_ACEOF
10333 #define __WINDOWS__ 1
10334 _ACEOF
10335
10336 cat >>confdefs.h <<\_ACEOF
10337 #define __GNUWIN32__ 1
10338 _ACEOF
10339
10340 cat >>confdefs.h <<\_ACEOF
10341 #define STRICT 1
10342 _ACEOF
10343
10344 cat >>confdefs.h <<\_ACEOF
10345 #define WINVER 0x0400
10346 _ACEOF
10347
10348 fi
10349 if test "$doesnt_want_win32" = 1 ; then
10350 USE_UNIX=1
10351 USE_WIN32=0
10352 fi
10353
10354 if test "$USE_UNIX" = 1 ; then
10355 wxUSE_UNIX=yes
10356 cat >>confdefs.h <<\_ACEOF
10357 #define __UNIX__ 1
10358 _ACEOF
10359
10360 fi
10361
10362
10363 cat >confcache <<\_ACEOF
10364 # This file is a shell script that caches the results of configure
10365 # tests run on this system so they can be shared between configure
10366 # scripts and configure runs, see configure's option --config-cache.
10367 # It is not useful on other systems. If it contains results you don't
10368 # want to keep, you may remove or edit it.
10369 #
10370 # config.status only pays attention to the cache file if you give it
10371 # the --recheck option to rerun configure.
10372 #
10373 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10374 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10375 # following values.
10376
10377 _ACEOF
10378
10379 # The following way of writing the cache mishandles newlines in values,
10380 # but we know of no workaround that is simple, portable, and efficient.
10381 # So, don't put newlines in cache variables' values.
10382 # Ultrix sh set writes to stderr and can't be redirected directly,
10383 # and sets the high bit in the cache file unless we assign to the vars.
10384 {
10385 (set) 2>&1 |
10386 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10387 *ac_space=\ *)
10388 # `set' does not quote correctly, so add quotes (double-quote
10389 # substitution turns \\\\ into \\, and sed turns \\ into \).
10390 sed -n \
10391 "s/'/'\\\\''/g;
10392 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10393 ;;
10394 *)
10395 # `set' quotes correctly as required by POSIX, so do not add quotes.
10396 sed -n \
10397 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10398 ;;
10399 esac;
10400 } |
10401 sed '
10402 t clear
10403 : clear
10404 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10405 t end
10406 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10407 : end' >>confcache
10408 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10409 if test -w $cache_file; then
10410 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10411 cat confcache >$cache_file
10412 else
10413 echo "not updating unwritable cache $cache_file"
10414 fi
10415 fi
10416 rm -f confcache
10417
10418 if test "$build" != "$host" ; then
10419 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10420 CC=$host_alias-gcc
10421 CXX=$host_alias-c++
10422 AR=$host_alias-ar
10423 RANLIB=$host_alias-ranlib
10424 DLLTOOL=$host_alias-dlltool
10425 RESCOMP=$host_alias-windres
10426 STRIP=$host_alias-strip
10427 elif test "x$CC" '!=' "x"; then
10428 echo "You set CC, I assume you know what you are doing."
10429 else
10430 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10431 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10432 { (exit 1); exit 1; }; }
10433 fi
10434 fi
10435
10436 CFLAGS=${CFLAGS:=}
10437 ac_ext=c
10438 ac_cpp='$CPP $CPPFLAGS'
10439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10442 if test -n "$ac_tool_prefix"; then
10443 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10444 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10445 echo "$as_me:$LINENO: checking for $ac_word" >&5
10446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10447 if test "${ac_cv_prog_CC+set}" = set; then
10448 echo $ECHO_N "(cached) $ECHO_C" >&6
10449 else
10450 if test -n "$CC"; then
10451 ac_cv_prog_CC="$CC" # Let the user override the test.
10452 else
10453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10454 for as_dir in $PATH
10455 do
10456 IFS=$as_save_IFS
10457 test -z "$as_dir" && as_dir=.
10458 for ac_exec_ext in '' $ac_executable_extensions; do
10459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10460 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10462 break 2
10463 fi
10464 done
10465 done
10466
10467 fi
10468 fi
10469 CC=$ac_cv_prog_CC
10470 if test -n "$CC"; then
10471 echo "$as_me:$LINENO: result: $CC" >&5
10472 echo "${ECHO_T}$CC" >&6
10473 else
10474 echo "$as_me:$LINENO: result: no" >&5
10475 echo "${ECHO_T}no" >&6
10476 fi
10477
10478 fi
10479 if test -z "$ac_cv_prog_CC"; then
10480 ac_ct_CC=$CC
10481 # Extract the first word of "gcc", so it can be a program name with args.
10482 set dummy gcc; ac_word=$2
10483 echo "$as_me:$LINENO: checking for $ac_word" >&5
10484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10485 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10486 echo $ECHO_N "(cached) $ECHO_C" >&6
10487 else
10488 if test -n "$ac_ct_CC"; then
10489 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10490 else
10491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10492 for as_dir in $PATH
10493 do
10494 IFS=$as_save_IFS
10495 test -z "$as_dir" && as_dir=.
10496 for ac_exec_ext in '' $ac_executable_extensions; do
10497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10498 ac_cv_prog_ac_ct_CC="gcc"
10499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10500 break 2
10501 fi
10502 done
10503 done
10504
10505 fi
10506 fi
10507 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10508 if test -n "$ac_ct_CC"; then
10509 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10510 echo "${ECHO_T}$ac_ct_CC" >&6
10511 else
10512 echo "$as_me:$LINENO: result: no" >&5
10513 echo "${ECHO_T}no" >&6
10514 fi
10515
10516 CC=$ac_ct_CC
10517 else
10518 CC="$ac_cv_prog_CC"
10519 fi
10520
10521 if test -z "$CC"; then
10522 if test -n "$ac_tool_prefix"; then
10523 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10524 set dummy ${ac_tool_prefix}cc; ac_word=$2
10525 echo "$as_me:$LINENO: checking for $ac_word" >&5
10526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10527 if test "${ac_cv_prog_CC+set}" = set; then
10528 echo $ECHO_N "(cached) $ECHO_C" >&6
10529 else
10530 if test -n "$CC"; then
10531 ac_cv_prog_CC="$CC" # Let the user override the test.
10532 else
10533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10534 for as_dir in $PATH
10535 do
10536 IFS=$as_save_IFS
10537 test -z "$as_dir" && as_dir=.
10538 for ac_exec_ext in '' $ac_executable_extensions; do
10539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10540 ac_cv_prog_CC="${ac_tool_prefix}cc"
10541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10542 break 2
10543 fi
10544 done
10545 done
10546
10547 fi
10548 fi
10549 CC=$ac_cv_prog_CC
10550 if test -n "$CC"; then
10551 echo "$as_me:$LINENO: result: $CC" >&5
10552 echo "${ECHO_T}$CC" >&6
10553 else
10554 echo "$as_me:$LINENO: result: no" >&5
10555 echo "${ECHO_T}no" >&6
10556 fi
10557
10558 fi
10559 if test -z "$ac_cv_prog_CC"; then
10560 ac_ct_CC=$CC
10561 # Extract the first word of "cc", so it can be a program name with args.
10562 set dummy cc; ac_word=$2
10563 echo "$as_me:$LINENO: checking for $ac_word" >&5
10564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10565 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10566 echo $ECHO_N "(cached) $ECHO_C" >&6
10567 else
10568 if test -n "$ac_ct_CC"; then
10569 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10570 else
10571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10572 for as_dir in $PATH
10573 do
10574 IFS=$as_save_IFS
10575 test -z "$as_dir" && as_dir=.
10576 for ac_exec_ext in '' $ac_executable_extensions; do
10577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10578 ac_cv_prog_ac_ct_CC="cc"
10579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10580 break 2
10581 fi
10582 done
10583 done
10584
10585 fi
10586 fi
10587 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10588 if test -n "$ac_ct_CC"; then
10589 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10590 echo "${ECHO_T}$ac_ct_CC" >&6
10591 else
10592 echo "$as_me:$LINENO: result: no" >&5
10593 echo "${ECHO_T}no" >&6
10594 fi
10595
10596 CC=$ac_ct_CC
10597 else
10598 CC="$ac_cv_prog_CC"
10599 fi
10600
10601 fi
10602 if test -z "$CC"; then
10603 # Extract the first word of "cc", so it can be a program name with args.
10604 set dummy cc; ac_word=$2
10605 echo "$as_me:$LINENO: checking for $ac_word" >&5
10606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10607 if test "${ac_cv_prog_CC+set}" = set; then
10608 echo $ECHO_N "(cached) $ECHO_C" >&6
10609 else
10610 if test -n "$CC"; then
10611 ac_cv_prog_CC="$CC" # Let the user override the test.
10612 else
10613 ac_prog_rejected=no
10614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10615 for as_dir in $PATH
10616 do
10617 IFS=$as_save_IFS
10618 test -z "$as_dir" && as_dir=.
10619 for ac_exec_ext in '' $ac_executable_extensions; do
10620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10621 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10622 ac_prog_rejected=yes
10623 continue
10624 fi
10625 ac_cv_prog_CC="cc"
10626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10627 break 2
10628 fi
10629 done
10630 done
10631
10632 if test $ac_prog_rejected = yes; then
10633 # We found a bogon in the path, so make sure we never use it.
10634 set dummy $ac_cv_prog_CC
10635 shift
10636 if test $# != 0; then
10637 # We chose a different compiler from the bogus one.
10638 # However, it has the same basename, so the bogon will be chosen
10639 # first if we set CC to just the basename; use the full file name.
10640 shift
10641 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10642 fi
10643 fi
10644 fi
10645 fi
10646 CC=$ac_cv_prog_CC
10647 if test -n "$CC"; then
10648 echo "$as_me:$LINENO: result: $CC" >&5
10649 echo "${ECHO_T}$CC" >&6
10650 else
10651 echo "$as_me:$LINENO: result: no" >&5
10652 echo "${ECHO_T}no" >&6
10653 fi
10654
10655 fi
10656 if test -z "$CC"; then
10657 if test -n "$ac_tool_prefix"; then
10658 for ac_prog in cl
10659 do
10660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10662 echo "$as_me:$LINENO: checking for $ac_word" >&5
10663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10664 if test "${ac_cv_prog_CC+set}" = set; then
10665 echo $ECHO_N "(cached) $ECHO_C" >&6
10666 else
10667 if test -n "$CC"; then
10668 ac_cv_prog_CC="$CC" # Let the user override the test.
10669 else
10670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10671 for as_dir in $PATH
10672 do
10673 IFS=$as_save_IFS
10674 test -z "$as_dir" && as_dir=.
10675 for ac_exec_ext in '' $ac_executable_extensions; do
10676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10677 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10679 break 2
10680 fi
10681 done
10682 done
10683
10684 fi
10685 fi
10686 CC=$ac_cv_prog_CC
10687 if test -n "$CC"; then
10688 echo "$as_me:$LINENO: result: $CC" >&5
10689 echo "${ECHO_T}$CC" >&6
10690 else
10691 echo "$as_me:$LINENO: result: no" >&5
10692 echo "${ECHO_T}no" >&6
10693 fi
10694
10695 test -n "$CC" && break
10696 done
10697 fi
10698 if test -z "$CC"; then
10699 ac_ct_CC=$CC
10700 for ac_prog in cl
10701 do
10702 # Extract the first word of "$ac_prog", so it can be a program name with args.
10703 set dummy $ac_prog; ac_word=$2
10704 echo "$as_me:$LINENO: checking for $ac_word" >&5
10705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10706 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10707 echo $ECHO_N "(cached) $ECHO_C" >&6
10708 else
10709 if test -n "$ac_ct_CC"; then
10710 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10711 else
10712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10713 for as_dir in $PATH
10714 do
10715 IFS=$as_save_IFS
10716 test -z "$as_dir" && as_dir=.
10717 for ac_exec_ext in '' $ac_executable_extensions; do
10718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10719 ac_cv_prog_ac_ct_CC="$ac_prog"
10720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10721 break 2
10722 fi
10723 done
10724 done
10725
10726 fi
10727 fi
10728 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10729 if test -n "$ac_ct_CC"; then
10730 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10731 echo "${ECHO_T}$ac_ct_CC" >&6
10732 else
10733 echo "$as_me:$LINENO: result: no" >&5
10734 echo "${ECHO_T}no" >&6
10735 fi
10736
10737 test -n "$ac_ct_CC" && break
10738 done
10739
10740 CC=$ac_ct_CC
10741 fi
10742
10743 fi
10744
10745
10746 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10747 See \`config.log' for more details." >&5
10748 echo "$as_me: error: no acceptable C compiler found in \$PATH
10749 See \`config.log' for more details." >&2;}
10750 { (exit 1); exit 1; }; }
10751
10752 # Provide some information about the compiler.
10753 echo "$as_me:$LINENO:" \
10754 "checking for C compiler version" >&5
10755 ac_compiler=`set X $ac_compile; echo $2`
10756 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10757 (eval $ac_compiler --version </dev/null >&5) 2>&5
10758 ac_status=$?
10759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760 (exit $ac_status); }
10761 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10762 (eval $ac_compiler -v </dev/null >&5) 2>&5
10763 ac_status=$?
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); }
10766 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10767 (eval $ac_compiler -V </dev/null >&5) 2>&5
10768 ac_status=$?
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); }
10771
10772 cat >conftest.$ac_ext <<_ACEOF
10773 /* confdefs.h. */
10774 _ACEOF
10775 cat confdefs.h >>conftest.$ac_ext
10776 cat >>conftest.$ac_ext <<_ACEOF
10777 /* end confdefs.h. */
10778
10779 int
10780 main ()
10781 {
10782
10783 ;
10784 return 0;
10785 }
10786 _ACEOF
10787 ac_clean_files_save=$ac_clean_files
10788 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10789 # Try to create an executable without -o first, disregard a.out.
10790 # It will help us diagnose broken compilers, and finding out an intuition
10791 # of exeext.
10792 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10793 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10794 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10795 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10796 (eval $ac_link_default) 2>&5
10797 ac_status=$?
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); }; then
10800 # Find the output, starting from the most likely. This scheme is
10801 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10802 # resort.
10803
10804 # Be careful to initialize this variable, since it used to be cached.
10805 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10806 ac_cv_exeext=
10807 # b.out is created by i960 compilers.
10808 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10809 do
10810 test -f "$ac_file" || continue
10811 case $ac_file in
10812 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10813 ;;
10814 conftest.$ac_ext )
10815 # This is the source file.
10816 ;;
10817 [ab].out )
10818 # We found the default executable, but exeext='' is most
10819 # certainly right.
10820 break;;
10821 *.* )
10822 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10823 # FIXME: I believe we export ac_cv_exeext for Libtool,
10824 # but it would be cool to find out if it's true. Does anybody
10825 # maintain Libtool? --akim.
10826 export ac_cv_exeext
10827 break;;
10828 * )
10829 break;;
10830 esac
10831 done
10832 else
10833 echo "$as_me: failed program was:" >&5
10834 sed 's/^/| /' conftest.$ac_ext >&5
10835
10836 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10837 See \`config.log' for more details." >&5
10838 echo "$as_me: error: C compiler cannot create executables
10839 See \`config.log' for more details." >&2;}
10840 { (exit 77); exit 77; }; }
10841 fi
10842
10843 ac_exeext=$ac_cv_exeext
10844 echo "$as_me:$LINENO: result: $ac_file" >&5
10845 echo "${ECHO_T}$ac_file" >&6
10846
10847 # Check the compiler produces executables we can run. If not, either
10848 # the compiler is broken, or we cross compile.
10849 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10850 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10851 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10852 # If not cross compiling, check that we can run a simple program.
10853 if test "$cross_compiling" != yes; then
10854 if { ac_try='./$ac_file'
10855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10856 (eval $ac_try) 2>&5
10857 ac_status=$?
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); }; }; then
10860 cross_compiling=no
10861 else
10862 if test "$cross_compiling" = maybe; then
10863 cross_compiling=yes
10864 else
10865 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10866 If you meant to cross compile, use \`--host'.
10867 See \`config.log' for more details." >&5
10868 echo "$as_me: error: cannot run C compiled programs.
10869 If you meant to cross compile, use \`--host'.
10870 See \`config.log' for more details." >&2;}
10871 { (exit 1); exit 1; }; }
10872 fi
10873 fi
10874 fi
10875 echo "$as_me:$LINENO: result: yes" >&5
10876 echo "${ECHO_T}yes" >&6
10877
10878 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10879 ac_clean_files=$ac_clean_files_save
10880 # Check the compiler produces executables we can run. If not, either
10881 # the compiler is broken, or we cross compile.
10882 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10883 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10884 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10885 echo "${ECHO_T}$cross_compiling" >&6
10886
10887 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10888 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10890 (eval $ac_link) 2>&5
10891 ac_status=$?
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); }; then
10894 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10895 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10896 # work properly (i.e., refer to `conftest.exe'), while it won't with
10897 # `rm'.
10898 for ac_file in conftest.exe conftest conftest.*; do
10899 test -f "$ac_file" || continue
10900 case $ac_file in
10901 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10902 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10903 export ac_cv_exeext
10904 break;;
10905 * ) break;;
10906 esac
10907 done
10908 else
10909 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10910 See \`config.log' for more details." >&5
10911 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10912 See \`config.log' for more details." >&2;}
10913 { (exit 1); exit 1; }; }
10914 fi
10915
10916 rm -f conftest$ac_cv_exeext
10917 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10918 echo "${ECHO_T}$ac_cv_exeext" >&6
10919
10920 rm -f conftest.$ac_ext
10921 EXEEXT=$ac_cv_exeext
10922 ac_exeext=$EXEEXT
10923 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10924 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10925 if test "${ac_cv_objext+set}" = set; then
10926 echo $ECHO_N "(cached) $ECHO_C" >&6
10927 else
10928 cat >conftest.$ac_ext <<_ACEOF
10929 /* confdefs.h. */
10930 _ACEOF
10931 cat confdefs.h >>conftest.$ac_ext
10932 cat >>conftest.$ac_ext <<_ACEOF
10933 /* end confdefs.h. */
10934
10935 int
10936 main ()
10937 {
10938
10939 ;
10940 return 0;
10941 }
10942 _ACEOF
10943 rm -f conftest.o conftest.obj
10944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10945 (eval $ac_compile) 2>&5
10946 ac_status=$?
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); }; then
10949 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10950 case $ac_file in
10951 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10952 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10953 break;;
10954 esac
10955 done
10956 else
10957 echo "$as_me: failed program was:" >&5
10958 sed 's/^/| /' conftest.$ac_ext >&5
10959
10960 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10961 See \`config.log' for more details." >&5
10962 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10963 See \`config.log' for more details." >&2;}
10964 { (exit 1); exit 1; }; }
10965 fi
10966
10967 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10968 fi
10969 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10970 echo "${ECHO_T}$ac_cv_objext" >&6
10971 OBJEXT=$ac_cv_objext
10972 ac_objext=$OBJEXT
10973 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10974 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10975 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10976 echo $ECHO_N "(cached) $ECHO_C" >&6
10977 else
10978 cat >conftest.$ac_ext <<_ACEOF
10979 /* confdefs.h. */
10980 _ACEOF
10981 cat confdefs.h >>conftest.$ac_ext
10982 cat >>conftest.$ac_ext <<_ACEOF
10983 /* end confdefs.h. */
10984
10985 int
10986 main ()
10987 {
10988 #ifndef __GNUC__
10989 choke me
10990 #endif
10991
10992 ;
10993 return 0;
10994 }
10995 _ACEOF
10996 rm -f conftest.$ac_objext
10997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10998 (eval $ac_compile) 2>conftest.er1
10999 ac_status=$?
11000 grep -v '^ *+' conftest.er1 >conftest.err
11001 rm -f conftest.er1
11002 cat conftest.err >&5
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004 (exit $ac_status); } &&
11005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11007 (eval $ac_try) 2>&5
11008 ac_status=$?
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); }; } &&
11011 { ac_try='test -s conftest.$ac_objext'
11012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11013 (eval $ac_try) 2>&5
11014 ac_status=$?
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }; }; then
11017 ac_compiler_gnu=yes
11018 else
11019 echo "$as_me: failed program was:" >&5
11020 sed 's/^/| /' conftest.$ac_ext >&5
11021
11022 ac_compiler_gnu=no
11023 fi
11024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11025 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11026
11027 fi
11028 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11029 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11030 GCC=`test $ac_compiler_gnu = yes && echo yes`
11031 ac_test_CFLAGS=${CFLAGS+set}
11032 ac_save_CFLAGS=$CFLAGS
11033 CFLAGS="-g"
11034 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11035 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11036 if test "${ac_cv_prog_cc_g+set}" = set; then
11037 echo $ECHO_N "(cached) $ECHO_C" >&6
11038 else
11039 cat >conftest.$ac_ext <<_ACEOF
11040 /* confdefs.h. */
11041 _ACEOF
11042 cat confdefs.h >>conftest.$ac_ext
11043 cat >>conftest.$ac_ext <<_ACEOF
11044 /* end confdefs.h. */
11045
11046 int
11047 main ()
11048 {
11049
11050 ;
11051 return 0;
11052 }
11053 _ACEOF
11054 rm -f conftest.$ac_objext
11055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11056 (eval $ac_compile) 2>conftest.er1
11057 ac_status=$?
11058 grep -v '^ *+' conftest.er1 >conftest.err
11059 rm -f conftest.er1
11060 cat conftest.err >&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); } &&
11063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065 (eval $ac_try) 2>&5
11066 ac_status=$?
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); }; } &&
11069 { ac_try='test -s conftest.$ac_objext'
11070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11071 (eval $ac_try) 2>&5
11072 ac_status=$?
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); }; }; then
11075 ac_cv_prog_cc_g=yes
11076 else
11077 echo "$as_me: failed program was:" >&5
11078 sed 's/^/| /' conftest.$ac_ext >&5
11079
11080 ac_cv_prog_cc_g=no
11081 fi
11082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11083 fi
11084 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11085 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11086 if test "$ac_test_CFLAGS" = set; then
11087 CFLAGS=$ac_save_CFLAGS
11088 elif test $ac_cv_prog_cc_g = yes; then
11089 if test "$GCC" = yes; then
11090 CFLAGS="-g -O2"
11091 else
11092 CFLAGS="-g"
11093 fi
11094 else
11095 if test "$GCC" = yes; then
11096 CFLAGS="-O2"
11097 else
11098 CFLAGS=
11099 fi
11100 fi
11101 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11102 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11103 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6
11105 else
11106 ac_cv_prog_cc_stdc=no
11107 ac_save_CC=$CC
11108 cat >conftest.$ac_ext <<_ACEOF
11109 /* confdefs.h. */
11110 _ACEOF
11111 cat confdefs.h >>conftest.$ac_ext
11112 cat >>conftest.$ac_ext <<_ACEOF
11113 /* end confdefs.h. */
11114 #include <stdarg.h>
11115 #include <stdio.h>
11116 #include <sys/types.h>
11117 #include <sys/stat.h>
11118 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11119 struct buf { int x; };
11120 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11121 static char *e (p, i)
11122 char **p;
11123 int i;
11124 {
11125 return p[i];
11126 }
11127 static char *f (char * (*g) (char **, int), char **p, ...)
11128 {
11129 char *s;
11130 va_list v;
11131 va_start (v,p);
11132 s = g (p, va_arg (v,int));
11133 va_end (v);
11134 return s;
11135 }
11136
11137 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11138 function prototypes and stuff, but not '\xHH' hex character constants.
11139 These don't provoke an error unfortunately, instead are silently treated
11140 as 'x'. The following induces an error, until -std1 is added to get
11141 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11142 array size at least. It's necessary to write '\x00'==0 to get something
11143 that's true only with -std1. */
11144 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11145
11146 int test (int i, double x);
11147 struct s1 {int (*f) (int a);};
11148 struct s2 {int (*f) (double a);};
11149 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11150 int argc;
11151 char **argv;
11152 int
11153 main ()
11154 {
11155 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11156 ;
11157 return 0;
11158 }
11159 _ACEOF
11160 # Don't try gcc -ansi; that turns off useful extensions and
11161 # breaks some systems' header files.
11162 # AIX -qlanglvl=ansi
11163 # Ultrix and OSF/1 -std1
11164 # HP-UX 10.20 and later -Ae
11165 # HP-UX older versions -Aa -D_HPUX_SOURCE
11166 # SVR4 -Xc -D__EXTENSIONS__
11167 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11168 do
11169 CC="$ac_save_CC $ac_arg"
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_cv_prog_cc_stdc=$ac_arg
11192 break
11193 else
11194 echo "$as_me: failed program was:" >&5
11195 sed 's/^/| /' conftest.$ac_ext >&5
11196
11197 fi
11198 rm -f conftest.err conftest.$ac_objext
11199 done
11200 rm -f conftest.$ac_ext conftest.$ac_objext
11201 CC=$ac_save_CC
11202
11203 fi
11204
11205 case "x$ac_cv_prog_cc_stdc" in
11206 x|xno)
11207 echo "$as_me:$LINENO: result: none needed" >&5
11208 echo "${ECHO_T}none needed" >&6 ;;
11209 *)
11210 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11211 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11212 CC="$CC $ac_cv_prog_cc_stdc" ;;
11213 esac
11214
11215 # Some people use a C++ compiler to compile C. Since we use `exit',
11216 # in C++ we need to declare it. In case someone uses the same compiler
11217 # for both compiling C and C++ we need to have the C++ compiler decide
11218 # the declaration of exit, since it's the most demanding environment.
11219 cat >conftest.$ac_ext <<_ACEOF
11220 #ifndef __cplusplus
11221 choke me
11222 #endif
11223 _ACEOF
11224 rm -f conftest.$ac_objext
11225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11226 (eval $ac_compile) 2>conftest.er1
11227 ac_status=$?
11228 grep -v '^ *+' conftest.er1 >conftest.err
11229 rm -f conftest.er1
11230 cat conftest.err >&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); } &&
11233 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11235 (eval $ac_try) 2>&5
11236 ac_status=$?
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); }; } &&
11239 { ac_try='test -s conftest.$ac_objext'
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241 (eval $ac_try) 2>&5
11242 ac_status=$?
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; }; then
11245 for ac_declaration in \
11246 '' \
11247 'extern "C" void std::exit (int) throw (); using std::exit;' \
11248 'extern "C" void std::exit (int); using std::exit;' \
11249 'extern "C" void exit (int) throw ();' \
11250 'extern "C" void exit (int);' \
11251 'void exit (int);'
11252 do
11253 cat >conftest.$ac_ext <<_ACEOF
11254 /* confdefs.h. */
11255 _ACEOF
11256 cat confdefs.h >>conftest.$ac_ext
11257 cat >>conftest.$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11259 $ac_declaration
11260 #include <stdlib.h>
11261 int
11262 main ()
11263 {
11264 exit (42);
11265 ;
11266 return 0;
11267 }
11268 _ACEOF
11269 rm -f conftest.$ac_objext
11270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11271 (eval $ac_compile) 2>conftest.er1
11272 ac_status=$?
11273 grep -v '^ *+' conftest.er1 >conftest.err
11274 rm -f conftest.er1
11275 cat conftest.err >&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); } &&
11278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11281 ac_status=$?
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; } &&
11284 { ac_try='test -s conftest.$ac_objext'
11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286 (eval $ac_try) 2>&5
11287 ac_status=$?
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }; }; then
11290 :
11291 else
11292 echo "$as_me: failed program was:" >&5
11293 sed 's/^/| /' conftest.$ac_ext >&5
11294
11295 continue
11296 fi
11297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11298 cat >conftest.$ac_ext <<_ACEOF
11299 /* confdefs.h. */
11300 _ACEOF
11301 cat confdefs.h >>conftest.$ac_ext
11302 cat >>conftest.$ac_ext <<_ACEOF
11303 /* end confdefs.h. */
11304 $ac_declaration
11305 int
11306 main ()
11307 {
11308 exit (42);
11309 ;
11310 return 0;
11311 }
11312 _ACEOF
11313 rm -f conftest.$ac_objext
11314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11315 (eval $ac_compile) 2>conftest.er1
11316 ac_status=$?
11317 grep -v '^ *+' conftest.er1 >conftest.err
11318 rm -f conftest.er1
11319 cat conftest.err >&5
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); } &&
11322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11324 (eval $ac_try) 2>&5
11325 ac_status=$?
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); }; } &&
11328 { ac_try='test -s conftest.$ac_objext'
11329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11330 (eval $ac_try) 2>&5
11331 ac_status=$?
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); }; }; then
11334 break
11335 else
11336 echo "$as_me: failed program was:" >&5
11337 sed 's/^/| /' conftest.$ac_ext >&5
11338
11339 fi
11340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11341 done
11342 rm -f conftest*
11343 if test -n "$ac_declaration"; then
11344 echo '#ifdef __cplusplus' >>confdefs.h
11345 echo $ac_declaration >>confdefs.h
11346 echo '#endif' >>confdefs.h
11347 fi
11348
11349 else
11350 echo "$as_me: failed program was:" >&5
11351 sed 's/^/| /' conftest.$ac_ext >&5
11352
11353 fi
11354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11355 ac_ext=c
11356 ac_cpp='$CPP $CPPFLAGS'
11357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11360
11361
11362 ac_ext=c
11363 ac_cpp='$CPP $CPPFLAGS'
11364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11367
11368 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11369 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11370 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 else
11373 cat >conftest.$ac_ext <<_ACEOF
11374 /* confdefs.h. */
11375 _ACEOF
11376 cat confdefs.h >>conftest.$ac_ext
11377 cat >>conftest.$ac_ext <<_ACEOF
11378 /* end confdefs.h. */
11379
11380 int
11381 main ()
11382 {
11383 #ifndef __MWERKS__
11384 choke me
11385 #endif
11386
11387 ;
11388 return 0;
11389 }
11390 _ACEOF
11391 rm -f conftest.$ac_objext
11392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11393 (eval $ac_compile) 2>conftest.er1
11394 ac_status=$?
11395 grep -v '^ *+' conftest.er1 >conftest.err
11396 rm -f conftest.er1
11397 cat conftest.err >&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); } &&
11400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11402 (eval $ac_try) 2>&5
11403 ac_status=$?
11404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405 (exit $ac_status); }; } &&
11406 { ac_try='test -s conftest.$ac_objext'
11407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11408 (eval $ac_try) 2>&5
11409 ac_status=$?
11410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411 (exit $ac_status); }; }; then
11412 bakefile_compiler_mwerks=yes
11413 else
11414 echo "$as_me: failed program was:" >&5
11415 sed 's/^/| /' conftest.$ac_ext >&5
11416
11417 bakefile_compiler_mwerks=no
11418 fi
11419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11420 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11421
11422 fi
11423 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11424 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11425
11426 MWCC=`test $bakefile_compiler_mwerks = yes && echo yes`
11427 ac_ext=c
11428 ac_cpp='$CPP $CPPFLAGS'
11429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11432
11433
11434
11435 ac_ext=c
11436 ac_cpp='$CPP $CPPFLAGS'
11437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11440 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11441 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11442 # On Suns, sometimes $CPP names a directory.
11443 if test -n "$CPP" && test -d "$CPP"; then
11444 CPP=
11445 fi
11446 if test -z "$CPP"; then
11447 if test "${ac_cv_prog_CPP+set}" = set; then
11448 echo $ECHO_N "(cached) $ECHO_C" >&6
11449 else
11450 # Double quotes because CPP needs to be expanded
11451 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11452 do
11453 ac_preproc_ok=false
11454 for ac_c_preproc_warn_flag in '' yes
11455 do
11456 # Use a header file that comes with gcc, so configuring glibc
11457 # with a fresh cross-compiler works.
11458 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11459 # <limits.h> exists even on freestanding compilers.
11460 # On the NeXT, cc -E runs the code through the compiler's parser,
11461 # not just through cpp. "Syntax error" is here to catch this case.
11462 cat >conftest.$ac_ext <<_ACEOF
11463 /* confdefs.h. */
11464 _ACEOF
11465 cat confdefs.h >>conftest.$ac_ext
11466 cat >>conftest.$ac_ext <<_ACEOF
11467 /* end confdefs.h. */
11468 #ifdef __STDC__
11469 # include <limits.h>
11470 #else
11471 # include <assert.h>
11472 #endif
11473 Syntax error
11474 _ACEOF
11475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11476 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11477 ac_status=$?
11478 grep -v '^ *+' conftest.er1 >conftest.err
11479 rm -f conftest.er1
11480 cat conftest.err >&5
11481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482 (exit $ac_status); } >/dev/null; then
11483 if test -s conftest.err; then
11484 ac_cpp_err=$ac_c_preproc_warn_flag
11485 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11486 else
11487 ac_cpp_err=
11488 fi
11489 else
11490 ac_cpp_err=yes
11491 fi
11492 if test -z "$ac_cpp_err"; then
11493 :
11494 else
11495 echo "$as_me: failed program was:" >&5
11496 sed 's/^/| /' conftest.$ac_ext >&5
11497
11498 # Broken: fails on valid input.
11499 continue
11500 fi
11501 rm -f conftest.err conftest.$ac_ext
11502
11503 # OK, works on sane cases. Now check whether non-existent headers
11504 # can be detected and how.
11505 cat >conftest.$ac_ext <<_ACEOF
11506 /* confdefs.h. */
11507 _ACEOF
11508 cat confdefs.h >>conftest.$ac_ext
11509 cat >>conftest.$ac_ext <<_ACEOF
11510 /* end confdefs.h. */
11511 #include <ac_nonexistent.h>
11512 _ACEOF
11513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11514 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11515 ac_status=$?
11516 grep -v '^ *+' conftest.er1 >conftest.err
11517 rm -f conftest.er1
11518 cat conftest.err >&5
11519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11520 (exit $ac_status); } >/dev/null; then
11521 if test -s conftest.err; then
11522 ac_cpp_err=$ac_c_preproc_warn_flag
11523 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11524 else
11525 ac_cpp_err=
11526 fi
11527 else
11528 ac_cpp_err=yes
11529 fi
11530 if test -z "$ac_cpp_err"; then
11531 # Broken: success on invalid input.
11532 continue
11533 else
11534 echo "$as_me: failed program was:" >&5
11535 sed 's/^/| /' conftest.$ac_ext >&5
11536
11537 # Passes both tests.
11538 ac_preproc_ok=:
11539 break
11540 fi
11541 rm -f conftest.err conftest.$ac_ext
11542
11543 done
11544 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11545 rm -f conftest.err conftest.$ac_ext
11546 if $ac_preproc_ok; then
11547 break
11548 fi
11549
11550 done
11551 ac_cv_prog_CPP=$CPP
11552
11553 fi
11554 CPP=$ac_cv_prog_CPP
11555 else
11556 ac_cv_prog_CPP=$CPP
11557 fi
11558 echo "$as_me:$LINENO: result: $CPP" >&5
11559 echo "${ECHO_T}$CPP" >&6
11560 ac_preproc_ok=false
11561 for ac_c_preproc_warn_flag in '' yes
11562 do
11563 # Use a header file that comes with gcc, so configuring glibc
11564 # with a fresh cross-compiler works.
11565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11566 # <limits.h> exists even on freestanding compilers.
11567 # On the NeXT, cc -E runs the code through the compiler's parser,
11568 # not just through cpp. "Syntax error" is here to catch this case.
11569 cat >conftest.$ac_ext <<_ACEOF
11570 /* confdefs.h. */
11571 _ACEOF
11572 cat confdefs.h >>conftest.$ac_ext
11573 cat >>conftest.$ac_ext <<_ACEOF
11574 /* end confdefs.h. */
11575 #ifdef __STDC__
11576 # include <limits.h>
11577 #else
11578 # include <assert.h>
11579 #endif
11580 Syntax error
11581 _ACEOF
11582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11584 ac_status=$?
11585 grep -v '^ *+' conftest.er1 >conftest.err
11586 rm -f conftest.er1
11587 cat conftest.err >&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); } >/dev/null; then
11590 if test -s conftest.err; then
11591 ac_cpp_err=$ac_c_preproc_warn_flag
11592 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11593 else
11594 ac_cpp_err=
11595 fi
11596 else
11597 ac_cpp_err=yes
11598 fi
11599 if test -z "$ac_cpp_err"; then
11600 :
11601 else
11602 echo "$as_me: failed program was:" >&5
11603 sed 's/^/| /' conftest.$ac_ext >&5
11604
11605 # Broken: fails on valid input.
11606 continue
11607 fi
11608 rm -f conftest.err conftest.$ac_ext
11609
11610 # OK, works on sane cases. Now check whether non-existent headers
11611 # can be detected and how.
11612 cat >conftest.$ac_ext <<_ACEOF
11613 /* confdefs.h. */
11614 _ACEOF
11615 cat confdefs.h >>conftest.$ac_ext
11616 cat >>conftest.$ac_ext <<_ACEOF
11617 /* end confdefs.h. */
11618 #include <ac_nonexistent.h>
11619 _ACEOF
11620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11622 ac_status=$?
11623 grep -v '^ *+' conftest.er1 >conftest.err
11624 rm -f conftest.er1
11625 cat conftest.err >&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); } >/dev/null; then
11628 if test -s conftest.err; then
11629 ac_cpp_err=$ac_c_preproc_warn_flag
11630 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11631 else
11632 ac_cpp_err=
11633 fi
11634 else
11635 ac_cpp_err=yes
11636 fi
11637 if test -z "$ac_cpp_err"; then
11638 # Broken: success on invalid input.
11639 continue
11640 else
11641 echo "$as_me: failed program was:" >&5
11642 sed 's/^/| /' conftest.$ac_ext >&5
11643
11644 # Passes both tests.
11645 ac_preproc_ok=:
11646 break
11647 fi
11648 rm -f conftest.err conftest.$ac_ext
11649
11650 done
11651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11652 rm -f conftest.err conftest.$ac_ext
11653 if $ac_preproc_ok; then
11654 :
11655 else
11656 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11657 See \`config.log' for more details." >&5
11658 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11659 See \`config.log' for more details." >&2;}
11660 { (exit 1); exit 1; }; }
11661 fi
11662
11663 ac_ext=c
11664 ac_cpp='$CPP $CPPFLAGS'
11665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11668
11669
11670 echo "$as_me:$LINENO: checking for egrep" >&5
11671 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11672 if test "${ac_cv_prog_egrep+set}" = set; then
11673 echo $ECHO_N "(cached) $ECHO_C" >&6
11674 else
11675 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11676 then ac_cv_prog_egrep='grep -E'
11677 else ac_cv_prog_egrep='egrep'
11678 fi
11679 fi
11680 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11681 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11682 EGREP=$ac_cv_prog_egrep
11683
11684
11685 if test $ac_cv_c_compiler_gnu = yes; then
11686 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11687 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11688 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11689 echo $ECHO_N "(cached) $ECHO_C" >&6
11690 else
11691 ac_pattern="Autoconf.*'x'"
11692 cat >conftest.$ac_ext <<_ACEOF
11693 /* confdefs.h. */
11694 _ACEOF
11695 cat confdefs.h >>conftest.$ac_ext
11696 cat >>conftest.$ac_ext <<_ACEOF
11697 /* end confdefs.h. */
11698 #include <sgtty.h>
11699 Autoconf TIOCGETP
11700 _ACEOF
11701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11702 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11703 ac_cv_prog_gcc_traditional=yes
11704 else
11705 ac_cv_prog_gcc_traditional=no
11706 fi
11707 rm -f conftest*
11708
11709
11710 if test $ac_cv_prog_gcc_traditional = no; then
11711 cat >conftest.$ac_ext <<_ACEOF
11712 /* confdefs.h. */
11713 _ACEOF
11714 cat confdefs.h >>conftest.$ac_ext
11715 cat >>conftest.$ac_ext <<_ACEOF
11716 /* end confdefs.h. */
11717 #include <termio.h>
11718 Autoconf TCGETA
11719 _ACEOF
11720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11721 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11722 ac_cv_prog_gcc_traditional=yes
11723 fi
11724 rm -f conftest*
11725
11726 fi
11727 fi
11728 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11729 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11730 if test $ac_cv_prog_gcc_traditional = yes; then
11731 CC="$CC -traditional"
11732 fi
11733 fi
11734
11735
11736
11737
11738 ac_ext=cc
11739 ac_cpp='$CXXCPP $CPPFLAGS'
11740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11743
11744
11745 CXXFLAGS=${CXXFLAGS:=}
11746 ac_ext=cc
11747 ac_cpp='$CXXCPP $CPPFLAGS'
11748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11751 if test -n "$ac_tool_prefix"; then
11752 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11753 do
11754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11755 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11756 echo "$as_me:$LINENO: checking for $ac_word" >&5
11757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11758 if test "${ac_cv_prog_CXX+set}" = set; then
11759 echo $ECHO_N "(cached) $ECHO_C" >&6
11760 else
11761 if test -n "$CXX"; then
11762 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11763 else
11764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11765 for as_dir in $PATH
11766 do
11767 IFS=$as_save_IFS
11768 test -z "$as_dir" && as_dir=.
11769 for ac_exec_ext in '' $ac_executable_extensions; do
11770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11771 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11773 break 2
11774 fi
11775 done
11776 done
11777
11778 fi
11779 fi
11780 CXX=$ac_cv_prog_CXX
11781 if test -n "$CXX"; then
11782 echo "$as_me:$LINENO: result: $CXX" >&5
11783 echo "${ECHO_T}$CXX" >&6
11784 else
11785 echo "$as_me:$LINENO: result: no" >&5
11786 echo "${ECHO_T}no" >&6
11787 fi
11788
11789 test -n "$CXX" && break
11790 done
11791 fi
11792 if test -z "$CXX"; then
11793 ac_ct_CXX=$CXX
11794 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11795 do
11796 # Extract the first word of "$ac_prog", so it can be a program name with args.
11797 set dummy $ac_prog; ac_word=$2
11798 echo "$as_me:$LINENO: checking for $ac_word" >&5
11799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11800 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11801 echo $ECHO_N "(cached) $ECHO_C" >&6
11802 else
11803 if test -n "$ac_ct_CXX"; then
11804 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11805 else
11806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11807 for as_dir in $PATH
11808 do
11809 IFS=$as_save_IFS
11810 test -z "$as_dir" && as_dir=.
11811 for ac_exec_ext in '' $ac_executable_extensions; do
11812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11813 ac_cv_prog_ac_ct_CXX="$ac_prog"
11814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11815 break 2
11816 fi
11817 done
11818 done
11819
11820 fi
11821 fi
11822 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11823 if test -n "$ac_ct_CXX"; then
11824 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11825 echo "${ECHO_T}$ac_ct_CXX" >&6
11826 else
11827 echo "$as_me:$LINENO: result: no" >&5
11828 echo "${ECHO_T}no" >&6
11829 fi
11830
11831 test -n "$ac_ct_CXX" && break
11832 done
11833 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11834
11835 CXX=$ac_ct_CXX
11836 fi
11837
11838
11839 # Provide some information about the compiler.
11840 echo "$as_me:$LINENO:" \
11841 "checking for C++ compiler version" >&5
11842 ac_compiler=`set X $ac_compile; echo $2`
11843 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11844 (eval $ac_compiler --version </dev/null >&5) 2>&5
11845 ac_status=$?
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }
11848 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11849 (eval $ac_compiler -v </dev/null >&5) 2>&5
11850 ac_status=$?
11851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); }
11853 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11854 (eval $ac_compiler -V </dev/null >&5) 2>&5
11855 ac_status=$?
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); }
11858
11859 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11860 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11861 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11862 echo $ECHO_N "(cached) $ECHO_C" >&6
11863 else
11864 cat >conftest.$ac_ext <<_ACEOF
11865 /* confdefs.h. */
11866 _ACEOF
11867 cat confdefs.h >>conftest.$ac_ext
11868 cat >>conftest.$ac_ext <<_ACEOF
11869 /* end confdefs.h. */
11870
11871 int
11872 main ()
11873 {
11874 #ifndef __GNUC__
11875 choke me
11876 #endif
11877
11878 ;
11879 return 0;
11880 }
11881 _ACEOF
11882 rm -f conftest.$ac_objext
11883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11884 (eval $ac_compile) 2>conftest.er1
11885 ac_status=$?
11886 grep -v '^ *+' conftest.er1 >conftest.err
11887 rm -f conftest.er1
11888 cat conftest.err >&5
11889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); } &&
11891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11893 (eval $ac_try) 2>&5
11894 ac_status=$?
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); }; } &&
11897 { ac_try='test -s conftest.$ac_objext'
11898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11899 (eval $ac_try) 2>&5
11900 ac_status=$?
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); }; }; then
11903 ac_compiler_gnu=yes
11904 else
11905 echo "$as_me: failed program was:" >&5
11906 sed 's/^/| /' conftest.$ac_ext >&5
11907
11908 ac_compiler_gnu=no
11909 fi
11910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11911 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11912
11913 fi
11914 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11915 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11916 GXX=`test $ac_compiler_gnu = yes && echo yes`
11917 ac_test_CXXFLAGS=${CXXFLAGS+set}
11918 ac_save_CXXFLAGS=$CXXFLAGS
11919 CXXFLAGS="-g"
11920 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11921 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11922 if test "${ac_cv_prog_cxx_g+set}" = set; then
11923 echo $ECHO_N "(cached) $ECHO_C" >&6
11924 else
11925 cat >conftest.$ac_ext <<_ACEOF
11926 /* confdefs.h. */
11927 _ACEOF
11928 cat confdefs.h >>conftest.$ac_ext
11929 cat >>conftest.$ac_ext <<_ACEOF
11930 /* end confdefs.h. */
11931
11932 int
11933 main ()
11934 {
11935
11936 ;
11937 return 0;
11938 }
11939 _ACEOF
11940 rm -f conftest.$ac_objext
11941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11942 (eval $ac_compile) 2>conftest.er1
11943 ac_status=$?
11944 grep -v '^ *+' conftest.er1 >conftest.err
11945 rm -f conftest.er1
11946 cat conftest.err >&5
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); } &&
11949 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11951 (eval $ac_try) 2>&5
11952 ac_status=$?
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); }; } &&
11955 { ac_try='test -s conftest.$ac_objext'
11956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11957 (eval $ac_try) 2>&5
11958 ac_status=$?
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); }; }; then
11961 ac_cv_prog_cxx_g=yes
11962 else
11963 echo "$as_me: failed program was:" >&5
11964 sed 's/^/| /' conftest.$ac_ext >&5
11965
11966 ac_cv_prog_cxx_g=no
11967 fi
11968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11969 fi
11970 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11971 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11972 if test "$ac_test_CXXFLAGS" = set; then
11973 CXXFLAGS=$ac_save_CXXFLAGS
11974 elif test $ac_cv_prog_cxx_g = yes; then
11975 if test "$GXX" = yes; then
11976 CXXFLAGS="-g -O2"
11977 else
11978 CXXFLAGS="-g"
11979 fi
11980 else
11981 if test "$GXX" = yes; then
11982 CXXFLAGS="-O2"
11983 else
11984 CXXFLAGS=
11985 fi
11986 fi
11987 for ac_declaration in \
11988 '' \
11989 'extern "C" void std::exit (int) throw (); using std::exit;' \
11990 'extern "C" void std::exit (int); using std::exit;' \
11991 'extern "C" void exit (int) throw ();' \
11992 'extern "C" void exit (int);' \
11993 'void exit (int);'
11994 do
11995 cat >conftest.$ac_ext <<_ACEOF
11996 /* confdefs.h. */
11997 _ACEOF
11998 cat confdefs.h >>conftest.$ac_ext
11999 cat >>conftest.$ac_ext <<_ACEOF
12000 /* end confdefs.h. */
12001 $ac_declaration
12002 #include <stdlib.h>
12003 int
12004 main ()
12005 {
12006 exit (42);
12007 ;
12008 return 0;
12009 }
12010 _ACEOF
12011 rm -f conftest.$ac_objext
12012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12013 (eval $ac_compile) 2>conftest.er1
12014 ac_status=$?
12015 grep -v '^ *+' conftest.er1 >conftest.err
12016 rm -f conftest.er1
12017 cat conftest.err >&5
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); } &&
12020 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12022 (eval $ac_try) 2>&5
12023 ac_status=$?
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); }; } &&
12026 { ac_try='test -s conftest.$ac_objext'
12027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12028 (eval $ac_try) 2>&5
12029 ac_status=$?
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); }; }; then
12032 :
12033 else
12034 echo "$as_me: failed program was:" >&5
12035 sed 's/^/| /' conftest.$ac_ext >&5
12036
12037 continue
12038 fi
12039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12040 cat >conftest.$ac_ext <<_ACEOF
12041 /* confdefs.h. */
12042 _ACEOF
12043 cat confdefs.h >>conftest.$ac_ext
12044 cat >>conftest.$ac_ext <<_ACEOF
12045 /* end confdefs.h. */
12046 $ac_declaration
12047 int
12048 main ()
12049 {
12050 exit (42);
12051 ;
12052 return 0;
12053 }
12054 _ACEOF
12055 rm -f conftest.$ac_objext
12056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12057 (eval $ac_compile) 2>conftest.er1
12058 ac_status=$?
12059 grep -v '^ *+' conftest.er1 >conftest.err
12060 rm -f conftest.er1
12061 cat conftest.err >&5
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); } &&
12064 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12066 (eval $ac_try) 2>&5
12067 ac_status=$?
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); }; } &&
12070 { ac_try='test -s conftest.$ac_objext'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12073 ac_status=$?
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; }; then
12076 break
12077 else
12078 echo "$as_me: failed program was:" >&5
12079 sed 's/^/| /' conftest.$ac_ext >&5
12080
12081 fi
12082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12083 done
12084 rm -f conftest*
12085 if test -n "$ac_declaration"; then
12086 echo '#ifdef __cplusplus' >>confdefs.h
12087 echo $ac_declaration >>confdefs.h
12088 echo '#endif' >>confdefs.h
12089 fi
12090
12091 ac_ext=cc
12092 ac_cpp='$CXXCPP $CPPFLAGS'
12093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12096
12097
12098 ac_ext=cc
12099 ac_cpp='$CXXCPP $CPPFLAGS'
12100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12103
12104 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12105 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12106 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12108 else
12109 cat >conftest.$ac_ext <<_ACEOF
12110 /* confdefs.h. */
12111 _ACEOF
12112 cat confdefs.h >>conftest.$ac_ext
12113 cat >>conftest.$ac_ext <<_ACEOF
12114 /* end confdefs.h. */
12115
12116 int
12117 main ()
12118 {
12119 #ifndef __MWERKS__
12120 choke me
12121 #endif
12122
12123 ;
12124 return 0;
12125 }
12126 _ACEOF
12127 rm -f conftest.$ac_objext
12128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12129 (eval $ac_compile) 2>conftest.er1
12130 ac_status=$?
12131 grep -v '^ *+' conftest.er1 >conftest.err
12132 rm -f conftest.er1
12133 cat conftest.err >&5
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); } &&
12136 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12138 (eval $ac_try) 2>&5
12139 ac_status=$?
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); }; } &&
12142 { ac_try='test -s conftest.$ac_objext'
12143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12144 (eval $ac_try) 2>&5
12145 ac_status=$?
12146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12147 (exit $ac_status); }; }; then
12148 bakefile_compiler_mwerks=yes
12149 else
12150 echo "$as_me: failed program was:" >&5
12151 sed 's/^/| /' conftest.$ac_ext >&5
12152
12153 bakefile_compiler_mwerks=no
12154 fi
12155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12156 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12157
12158 fi
12159 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12160 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12161
12162 MWCXX=`test $bakefile_compiler_mwerks = yes && echo yes`
12163 ac_ext=cc
12164 ac_cpp='$CXXCPP $CPPFLAGS'
12165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12168
12169
12170
12171 ac_ext=c
12172 ac_cpp='$CPP $CPPFLAGS'
12173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12176
12177
12178 if test -n "$ac_tool_prefix"; then
12179 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12180 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12181 echo "$as_me:$LINENO: checking for $ac_word" >&5
12182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12183 if test "${ac_cv_prog_RANLIB+set}" = set; then
12184 echo $ECHO_N "(cached) $ECHO_C" >&6
12185 else
12186 if test -n "$RANLIB"; then
12187 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12188 else
12189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12190 for as_dir in $PATH
12191 do
12192 IFS=$as_save_IFS
12193 test -z "$as_dir" && as_dir=.
12194 for ac_exec_ext in '' $ac_executable_extensions; do
12195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12196 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12198 break 2
12199 fi
12200 done
12201 done
12202
12203 fi
12204 fi
12205 RANLIB=$ac_cv_prog_RANLIB
12206 if test -n "$RANLIB"; then
12207 echo "$as_me:$LINENO: result: $RANLIB" >&5
12208 echo "${ECHO_T}$RANLIB" >&6
12209 else
12210 echo "$as_me:$LINENO: result: no" >&5
12211 echo "${ECHO_T}no" >&6
12212 fi
12213
12214 fi
12215 if test -z "$ac_cv_prog_RANLIB"; then
12216 ac_ct_RANLIB=$RANLIB
12217 # Extract the first word of "ranlib", so it can be a program name with args.
12218 set dummy ranlib; ac_word=$2
12219 echo "$as_me:$LINENO: checking for $ac_word" >&5
12220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12221 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12222 echo $ECHO_N "(cached) $ECHO_C" >&6
12223 else
12224 if test -n "$ac_ct_RANLIB"; then
12225 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12226 else
12227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12228 for as_dir in $PATH
12229 do
12230 IFS=$as_save_IFS
12231 test -z "$as_dir" && as_dir=.
12232 for ac_exec_ext in '' $ac_executable_extensions; do
12233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12234 ac_cv_prog_ac_ct_RANLIB="ranlib"
12235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12236 break 2
12237 fi
12238 done
12239 done
12240
12241 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12242 fi
12243 fi
12244 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12245 if test -n "$ac_ct_RANLIB"; then
12246 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12247 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12248 else
12249 echo "$as_me:$LINENO: result: no" >&5
12250 echo "${ECHO_T}no" >&6
12251 fi
12252
12253 RANLIB=$ac_ct_RANLIB
12254 else
12255 RANLIB="$ac_cv_prog_RANLIB"
12256 fi
12257
12258
12259 # Extract the first word of "ar", so it can be a program name with args.
12260 set dummy ar; ac_word=$2
12261 echo "$as_me:$LINENO: checking for $ac_word" >&5
12262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12263 if test "${ac_cv_prog_AR+set}" = set; then
12264 echo $ECHO_N "(cached) $ECHO_C" >&6
12265 else
12266 if test -n "$AR"; then
12267 ac_cv_prog_AR="$AR" # Let the user override the test.
12268 else
12269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12270 for as_dir in $PATH
12271 do
12272 IFS=$as_save_IFS
12273 test -z "$as_dir" && as_dir=.
12274 for ac_exec_ext in '' $ac_executable_extensions; do
12275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12276 ac_cv_prog_AR="ar"
12277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12278 break 2
12279 fi
12280 done
12281 done
12282
12283 fi
12284 fi
12285 AR=$ac_cv_prog_AR
12286 if test -n "$AR"; then
12287 echo "$as_me:$LINENO: result: $AR" >&5
12288 echo "${ECHO_T}$AR" >&6
12289 else
12290 echo "$as_me:$LINENO: result: no" >&5
12291 echo "${ECHO_T}no" >&6
12292 fi
12293
12294 if test "x$AR" = "x" ; then
12295 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12296 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12297 { (exit 1); exit 1; }; }
12298 fi
12299
12300 # Find a good install program. We prefer a C program (faster),
12301 # so one script is as good as another. But avoid the broken or
12302 # incompatible versions:
12303 # SysV /etc/install, /usr/sbin/install
12304 # SunOS /usr/etc/install
12305 # IRIX /sbin/install
12306 # AIX /bin/install
12307 # AmigaOS /C/install, which installs bootblocks on floppy discs
12308 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12309 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12310 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12311 # OS/2's system install, which has a completely different semantic
12312 # ./install, which can be erroneously created by make from ./install.sh.
12313 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12314 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12315 if test -z "$INSTALL"; then
12316 if test "${ac_cv_path_install+set}" = set; then
12317 echo $ECHO_N "(cached) $ECHO_C" >&6
12318 else
12319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12320 for as_dir in $PATH
12321 do
12322 IFS=$as_save_IFS
12323 test -z "$as_dir" && as_dir=.
12324 # Account for people who put trailing slashes in PATH elements.
12325 case $as_dir/ in
12326 ./ | .// | /cC/* | \
12327 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12328 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12329 /usr/ucb/* ) ;;
12330 *)
12331 # OSF1 and SCO ODT 3.0 have their own names for install.
12332 # Don't use installbsd from OSF since it installs stuff as root
12333 # by default.
12334 for ac_prog in ginstall scoinst install; do
12335 for ac_exec_ext in '' $ac_executable_extensions; do
12336 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12337 if test $ac_prog = install &&
12338 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12339 # AIX install. It has an incompatible calling convention.
12340 :
12341 elif test $ac_prog = install &&
12342 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12343 # program-specific install script used by HP pwplus--don't use.
12344 :
12345 else
12346 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12347 break 3
12348 fi
12349 fi
12350 done
12351 done
12352 ;;
12353 esac
12354 done
12355
12356
12357 fi
12358 if test "${ac_cv_path_install+set}" = set; then
12359 INSTALL=$ac_cv_path_install
12360 else
12361 # As a last resort, use the slow shell script. We don't cache a
12362 # path for INSTALL within a source directory, because that will
12363 # break other packages using the cache if that directory is
12364 # removed, or if the path is relative.
12365 INSTALL=$ac_install_sh
12366 fi
12367 fi
12368 echo "$as_me:$LINENO: result: $INSTALL" >&5
12369 echo "${ECHO_T}$INSTALL" >&6
12370
12371 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12372 # It thinks the first close brace ends the variable substitution.
12373 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12374
12375 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12376
12377 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12378
12379
12380 case ${INSTALL} in
12381 /* ) # Absolute
12382 ;;
12383 ?:* ) # Drive letter, considered as absolute.
12384 ;;
12385 *)
12386 INSTALL=`pwd`/${INSTALL} ;;
12387 esac
12388
12389
12390 case "${host}" in
12391
12392 powerpc-*-darwin* )
12393 INSTALL_PROGRAM="cp -fp"
12394 INSTALL_DATA="cp -fp"
12395 ;;
12396 *)
12397 ;;
12398 esac
12399
12400 # Extract the first word of "strip", so it can be a program name with args.
12401 set dummy strip; ac_word=$2
12402 echo "$as_me:$LINENO: checking for $ac_word" >&5
12403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12404 if test "${ac_cv_prog_STRIP+set}" = set; then
12405 echo $ECHO_N "(cached) $ECHO_C" >&6
12406 else
12407 if test -n "$STRIP"; then
12408 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12409 else
12410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12411 for as_dir in $PATH
12412 do
12413 IFS=$as_save_IFS
12414 test -z "$as_dir" && as_dir=.
12415 for ac_exec_ext in '' $ac_executable_extensions; do
12416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12417 ac_cv_prog_STRIP="strip"
12418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12419 break 2
12420 fi
12421 done
12422 done
12423
12424 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12425 fi
12426 fi
12427 STRIP=$ac_cv_prog_STRIP
12428 if test -n "$STRIP"; then
12429 echo "$as_me:$LINENO: result: $STRIP" >&5
12430 echo "${ECHO_T}$STRIP" >&6
12431 else
12432 echo "$as_me:$LINENO: result: no" >&5
12433 echo "${ECHO_T}no" >&6
12434 fi
12435
12436
12437 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12438 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12439 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12440 echo $ECHO_N "(cached) $ECHO_C" >&6
12441 else
12442
12443 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12444 egrep -s GNU > /dev/null); then
12445 wx_cv_prog_makeisgnu="yes"
12446 else
12447 wx_cv_prog_makeisgnu="no"
12448 fi
12449
12450 fi
12451 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12452 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12453
12454 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12455 IF_GNU_MAKE=""
12456 else
12457 IF_GNU_MAKE="#"
12458 fi
12459
12460
12461
12462 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12463 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12464 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12465 if test "${wx_cv_prog_makevpath+set}" = set; then
12466 echo $ECHO_N "(cached) $ECHO_C" >&6
12467 else
12468
12469 cat - << EOF > confMake
12470 check : file
12471 cp \$? \$@
12472 cp \$? final_file
12473 EOF
12474
12475 if test ! -d sub ; then
12476 mkdir sub
12477 fi
12478 echo dummy > sub/file
12479 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12480 RESULT=$?
12481 rm -f sub/file check final_file confMake
12482 rmdir sub
12483 if test "$RESULT" = 0; then
12484 wx_cv_prog_makevpath="yes"
12485 else
12486 wx_cv_prog_makevpath="no"
12487 fi
12488
12489 fi
12490 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12491 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12492
12493 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12494 { { echo "$as_me:$LINENO: error:
12495 You need a make-utility that is able to use the variable
12496 VPATH correctly.
12497 If your version of make does not support VPATH correctly,
12498 please install GNU-make (possibly as gmake), and start
12499 configure with the following command:
12500 export MAKE=gmake; ./configure for sh-type shells
12501 setenv MAKE gmake; ./configure for csh-type shells
12502 Also please do remember to use gmake in this case every time
12503 you are trying to compile.
12504 " >&5
12505 echo "$as_me: error:
12506 You need a make-utility that is able to use the variable
12507 VPATH correctly.
12508 If your version of make does not support VPATH correctly,
12509 please install GNU-make (possibly as gmake), and start
12510 configure with the following command:
12511 export MAKE=gmake; ./configure for sh-type shells
12512 setenv MAKE gmake; ./configure for csh-type shells
12513 Also please do remember to use gmake in this case every time
12514 you are trying to compile.
12515 " >&2;}
12516 { (exit 1); exit 1; }; }
12517 fi fi
12518 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12519 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12520 LN_S=$as_ln_s
12521 if test "$LN_S" = "ln -s"; then
12522 echo "$as_me:$LINENO: result: yes" >&5
12523 echo "${ECHO_T}yes" >&6
12524 else
12525 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12526 echo "${ECHO_T}no, using $LN_S" >&6
12527 fi
12528
12529
12530
12531 case "${host}" in
12532 *-pc-os2_emx | *-pc-os2-emx )
12533 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12534 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12535 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12536 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12537 echo $ECHO_N "(cached) $ECHO_C" >&6
12538 else
12539 ac_check_lib_save_LIBS=$LIBS
12540 LIBS="-lcExt $LIBS"
12541 cat >conftest.$ac_ext <<_ACEOF
12542 /* confdefs.h. */
12543 _ACEOF
12544 cat confdefs.h >>conftest.$ac_ext
12545 cat >>conftest.$ac_ext <<_ACEOF
12546 /* end confdefs.h. */
12547
12548 /* Override any gcc2 internal prototype to avoid an error. */
12549 #ifdef __cplusplus
12550 extern "C"
12551 #endif
12552 /* We use char because int might match the return type of a gcc2
12553 builtin and then its argument prototype would still apply. */
12554 char drand48 ();
12555 int
12556 main ()
12557 {
12558 drand48 ();
12559 ;
12560 return 0;
12561 }
12562 _ACEOF
12563 rm -f conftest.$ac_objext conftest$ac_exeext
12564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12565 (eval $ac_link) 2>conftest.er1
12566 ac_status=$?
12567 grep -v '^ *+' conftest.er1 >conftest.err
12568 rm -f conftest.er1
12569 cat conftest.err >&5
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); } &&
12572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
12578 { ac_try='test -s conftest$ac_exeext'
12579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12580 (eval $ac_try) 2>&5
12581 ac_status=$?
12582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12583 (exit $ac_status); }; }; then
12584 ac_cv_lib_cExt_drand48=yes
12585 else
12586 echo "$as_me: failed program was:" >&5
12587 sed 's/^/| /' conftest.$ac_ext >&5
12588
12589 ac_cv_lib_cExt_drand48=no
12590 fi
12591 rm -f conftest.err conftest.$ac_objext \
12592 conftest$ac_exeext conftest.$ac_ext
12593 LIBS=$ac_check_lib_save_LIBS
12594 fi
12595 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12596 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12597 if test $ac_cv_lib_cExt_drand48 = yes; then
12598 LIBS="$LIBS -lcExt"
12599 fi
12600
12601 else
12602 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12603 fi
12604 echo "$as_me:$LINENO: checking for gcc version" >&5
12605 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12606 if test "${wx_cv_gccversion+set}" = set; then
12607 echo $ECHO_N "(cached) $ECHO_C" >&6
12608 else
12609
12610 cat >conftest.$ac_ext <<_ACEOF
12611 /* confdefs.h. */
12612 _ACEOF
12613 cat confdefs.h >>conftest.$ac_ext
12614 cat >>conftest.$ac_ext <<_ACEOF
12615 /* end confdefs.h. */
12616
12617 int
12618 main ()
12619 {
12620
12621 #if (__GNUC__ < 3)
12622 #error old gcc
12623 #endif
12624
12625 ;
12626 return 0;
12627 }
12628 _ACEOF
12629 rm -f conftest.$ac_objext
12630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12631 (eval $ac_compile) 2>conftest.er1
12632 ac_status=$?
12633 grep -v '^ *+' conftest.er1 >conftest.err
12634 rm -f conftest.er1
12635 cat conftest.err >&5
12636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); } &&
12638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12640 (eval $ac_try) 2>&5
12641 ac_status=$?
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); }; } &&
12644 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
12650
12651 cat >conftest.$ac_ext <<_ACEOF
12652 /* confdefs.h. */
12653 _ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12657
12658 int
12659 main ()
12660 {
12661
12662 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12663 #error intermediate gcc
12664 #endif
12665
12666 ;
12667 return 0;
12668 }
12669 _ACEOF
12670 rm -f conftest.$ac_objext
12671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12672 (eval $ac_compile) 2>conftest.er1
12673 ac_status=$?
12674 grep -v '^ *+' conftest.er1 >conftest.err
12675 rm -f conftest.er1
12676 cat conftest.err >&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); } &&
12679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12681 (eval $ac_try) 2>&5
12682 ac_status=$?
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); }; } &&
12685 { ac_try='test -s conftest.$ac_objext'
12686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12687 (eval $ac_try) 2>&5
12688 ac_status=$?
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); }; }; then
12691
12692 wx_cv_gccversion=Innotek
12693
12694 else
12695 echo "$as_me: failed program was:" >&5
12696 sed 's/^/| /' conftest.$ac_ext >&5
12697
12698
12699 wx_cv_gccversion=3
12700
12701
12702 fi
12703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12704
12705 else
12706 echo "$as_me: failed program was:" >&5
12707 sed 's/^/| /' conftest.$ac_ext >&5
12708
12709
12710 wx_cv_gccversion=2
12711
12712
12713 fi
12714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12715
12716 fi
12717 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12718 echo "${ECHO_T}$wx_cv_gccversion" >&6
12719 if test "$wx_cv_gccversion" = "2"; then
12720 LIBS="$LIBS -lstdcpp"
12721 LDFLAGS="$LDFLAGS -Zsysv-signals"
12722 else
12723 if test "$wx_cv_gccversion" = "3"; then
12724 LIBS="$LIBS -lstdcxx"
12725 LDFLAGS="$LDFLAGS -Zsysv-signals"
12726 else
12727 LIBS="$LIBS -lstdc++"
12728 fi
12729 fi
12730 if test "$wxUSE_OMF" = "yes"; then
12731 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12732 fi
12733 ;;
12734 *)
12735
12736
12737
12738 ac_ext=cc
12739 ac_cpp='$CXXCPP $CPPFLAGS'
12740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12743
12744
12745 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12746 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12747 if test "${ac_cv_string_strcasecmp+set}" = set; then
12748 echo $ECHO_N "(cached) $ECHO_C" >&6
12749 else
12750
12751 cat >conftest.$ac_ext <<_ACEOF
12752 /* confdefs.h. */
12753 _ACEOF
12754 cat confdefs.h >>conftest.$ac_ext
12755 cat >>conftest.$ac_ext <<_ACEOF
12756 /* end confdefs.h. */
12757
12758 #include <string.h>
12759
12760 int
12761 main ()
12762 {
12763
12764 strcasecmp("foo", "bar");
12765
12766 ;
12767 return 0;
12768 }
12769 _ACEOF
12770 rm -f conftest.$ac_objext conftest$ac_exeext
12771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12772 (eval $ac_link) 2>conftest.er1
12773 ac_status=$?
12774 grep -v '^ *+' conftest.er1 >conftest.err
12775 rm -f conftest.er1
12776 cat conftest.err >&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); } &&
12779 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12781 (eval $ac_try) 2>&5
12782 ac_status=$?
12783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784 (exit $ac_status); }; } &&
12785 { ac_try='test -s conftest$ac_exeext'
12786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12787 (eval $ac_try) 2>&5
12788 ac_status=$?
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); }; }; then
12791 ac_cv_string_strcasecmp=yes
12792 else
12793 echo "$as_me: failed program was:" >&5
12794 sed 's/^/| /' conftest.$ac_ext >&5
12795
12796 ac_cv_string_strcasecmp=no
12797
12798 fi
12799 rm -f conftest.err conftest.$ac_objext \
12800 conftest$ac_exeext conftest.$ac_ext
12801
12802 fi
12803 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12804 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12805
12806 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12807 cat >>confdefs.h <<\_ACEOF
12808 #define HAVE_STRCASECMP_IN_STRING_H 1
12809 _ACEOF
12810
12811 else
12812 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12813 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12814 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12815 echo $ECHO_N "(cached) $ECHO_C" >&6
12816 else
12817
12818 cat >conftest.$ac_ext <<_ACEOF
12819 /* confdefs.h. */
12820 _ACEOF
12821 cat confdefs.h >>conftest.$ac_ext
12822 cat >>conftest.$ac_ext <<_ACEOF
12823 /* end confdefs.h. */
12824
12825 #include <strings.h>
12826
12827 int
12828 main ()
12829 {
12830
12831 strcasecmp("foo", "bar");
12832
12833 ;
12834 return 0;
12835 }
12836 _ACEOF
12837 rm -f conftest.$ac_objext conftest$ac_exeext
12838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12839 (eval $ac_link) 2>conftest.er1
12840 ac_status=$?
12841 grep -v '^ *+' conftest.er1 >conftest.err
12842 rm -f conftest.er1
12843 cat conftest.err >&5
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); } &&
12846 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12848 (eval $ac_try) 2>&5
12849 ac_status=$?
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; } &&
12852 { ac_try='test -s conftest$ac_exeext'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12855 ac_status=$?
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; }; then
12858 ac_cv_strings_strcasecmp=yes
12859 else
12860 echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.$ac_ext >&5
12862
12863 ac_cv_strings_strcasecmp=no
12864
12865 fi
12866 rm -f conftest.err conftest.$ac_objext \
12867 conftest$ac_exeext conftest.$ac_ext
12868
12869 fi
12870 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12871 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12872
12873 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
12874 cat >>confdefs.h <<\_ACEOF
12875 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12876 _ACEOF
12877
12878 else
12879 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12880 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12881 { (exit 1); exit 1; }; }
12882 fi
12883 fi
12884
12885 ac_ext=c
12886 ac_cpp='$CPP $CPPFLAGS'
12887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12890
12891 ;;
12892 esac
12893
12894
12895 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12896 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12897 if test "${ac_cv_header_stdc+set}" = set; then
12898 echo $ECHO_N "(cached) $ECHO_C" >&6
12899 else
12900 cat >conftest.$ac_ext <<_ACEOF
12901 /* confdefs.h. */
12902 _ACEOF
12903 cat confdefs.h >>conftest.$ac_ext
12904 cat >>conftest.$ac_ext <<_ACEOF
12905 /* end confdefs.h. */
12906 #include <stdlib.h>
12907 #include <stdarg.h>
12908 #include <string.h>
12909 #include <float.h>
12910
12911 int
12912 main ()
12913 {
12914
12915 ;
12916 return 0;
12917 }
12918 _ACEOF
12919 rm -f conftest.$ac_objext
12920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12921 (eval $ac_compile) 2>conftest.er1
12922 ac_status=$?
12923 grep -v '^ *+' conftest.er1 >conftest.err
12924 rm -f conftest.er1
12925 cat conftest.err >&5
12926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927 (exit $ac_status); } &&
12928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12930 (eval $ac_try) 2>&5
12931 ac_status=$?
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); }; } &&
12934 { ac_try='test -s conftest.$ac_objext'
12935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12936 (eval $ac_try) 2>&5
12937 ac_status=$?
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); }; }; then
12940 ac_cv_header_stdc=yes
12941 else
12942 echo "$as_me: failed program was:" >&5
12943 sed 's/^/| /' conftest.$ac_ext >&5
12944
12945 ac_cv_header_stdc=no
12946 fi
12947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12948
12949 if test $ac_cv_header_stdc = yes; then
12950 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12951 cat >conftest.$ac_ext <<_ACEOF
12952 /* confdefs.h. */
12953 _ACEOF
12954 cat confdefs.h >>conftest.$ac_ext
12955 cat >>conftest.$ac_ext <<_ACEOF
12956 /* end confdefs.h. */
12957 #include <string.h>
12958
12959 _ACEOF
12960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12961 $EGREP "memchr" >/dev/null 2>&1; then
12962 :
12963 else
12964 ac_cv_header_stdc=no
12965 fi
12966 rm -f conftest*
12967
12968 fi
12969
12970 if test $ac_cv_header_stdc = yes; then
12971 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12972 cat >conftest.$ac_ext <<_ACEOF
12973 /* confdefs.h. */
12974 _ACEOF
12975 cat confdefs.h >>conftest.$ac_ext
12976 cat >>conftest.$ac_ext <<_ACEOF
12977 /* end confdefs.h. */
12978 #include <stdlib.h>
12979
12980 _ACEOF
12981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12982 $EGREP "free" >/dev/null 2>&1; then
12983 :
12984 else
12985 ac_cv_header_stdc=no
12986 fi
12987 rm -f conftest*
12988
12989 fi
12990
12991 if test $ac_cv_header_stdc = yes; then
12992 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12993 if test "$cross_compiling" = yes; then
12994 :
12995 else
12996 cat >conftest.$ac_ext <<_ACEOF
12997 /* confdefs.h. */
12998 _ACEOF
12999 cat confdefs.h >>conftest.$ac_ext
13000 cat >>conftest.$ac_ext <<_ACEOF
13001 /* end confdefs.h. */
13002 #include <ctype.h>
13003 #if ((' ' & 0x0FF) == 0x020)
13004 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13005 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13006 #else
13007 # define ISLOWER(c) \
13008 (('a' <= (c) && (c) <= 'i') \
13009 || ('j' <= (c) && (c) <= 'r') \
13010 || ('s' <= (c) && (c) <= 'z'))
13011 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13012 #endif
13013
13014 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13015 int
13016 main ()
13017 {
13018 int i;
13019 for (i = 0; i < 256; i++)
13020 if (XOR (islower (i), ISLOWER (i))
13021 || toupper (i) != TOUPPER (i))
13022 exit(2);
13023 exit (0);
13024 }
13025 _ACEOF
13026 rm -f conftest$ac_exeext
13027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13028 (eval $ac_link) 2>&5
13029 ac_status=$?
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13033 (eval $ac_try) 2>&5
13034 ac_status=$?
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); }; }; then
13037 :
13038 else
13039 echo "$as_me: program exited with status $ac_status" >&5
13040 echo "$as_me: failed program was:" >&5
13041 sed 's/^/| /' conftest.$ac_ext >&5
13042
13043 ( exit $ac_status )
13044 ac_cv_header_stdc=no
13045 fi
13046 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13047 fi
13048 fi
13049 fi
13050 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13051 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13052 if test $ac_cv_header_stdc = yes; then
13053
13054 cat >>confdefs.h <<\_ACEOF
13055 #define STDC_HEADERS 1
13056 _ACEOF
13057
13058 fi
13059
13060 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13071 inttypes.h stdint.h unistd.h
13072 do
13073 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13074 echo "$as_me:$LINENO: checking for $ac_header" >&5
13075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13077 echo $ECHO_N "(cached) $ECHO_C" >&6
13078 else
13079 cat >conftest.$ac_ext <<_ACEOF
13080 /* confdefs.h. */
13081 _ACEOF
13082 cat confdefs.h >>conftest.$ac_ext
13083 cat >>conftest.$ac_ext <<_ACEOF
13084 /* end confdefs.h. */
13085 $ac_includes_default
13086
13087 #include <$ac_header>
13088 _ACEOF
13089 rm -f conftest.$ac_objext
13090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13091 (eval $ac_compile) 2>conftest.er1
13092 ac_status=$?
13093 grep -v '^ *+' conftest.er1 >conftest.err
13094 rm -f conftest.er1
13095 cat conftest.err >&5
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); } &&
13098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13100 (eval $ac_try) 2>&5
13101 ac_status=$?
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); }; } &&
13104 { ac_try='test -s conftest.$ac_objext'
13105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13106 (eval $ac_try) 2>&5
13107 ac_status=$?
13108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109 (exit $ac_status); }; }; then
13110 eval "$as_ac_Header=yes"
13111 else
13112 echo "$as_me: failed program was:" >&5
13113 sed 's/^/| /' conftest.$ac_ext >&5
13114
13115 eval "$as_ac_Header=no"
13116 fi
13117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13118 fi
13119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13122 cat >>confdefs.h <<_ACEOF
13123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13124 _ACEOF
13125
13126 fi
13127
13128 done
13129
13130
13131
13132 for ac_header in stdlib.h
13133 do
13134 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13136 echo "$as_me:$LINENO: checking for $ac_header" >&5
13137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13139 echo $ECHO_N "(cached) $ECHO_C" >&6
13140 fi
13141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13143 else
13144 # Is the header compilable?
13145 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13146 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13147 cat >conftest.$ac_ext <<_ACEOF
13148 /* confdefs.h. */
13149 _ACEOF
13150 cat confdefs.h >>conftest.$ac_ext
13151 cat >>conftest.$ac_ext <<_ACEOF
13152 /* end confdefs.h. */
13153 $ac_includes_default
13154 #include <$ac_header>
13155 _ACEOF
13156 rm -f conftest.$ac_objext
13157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13158 (eval $ac_compile) 2>conftest.er1
13159 ac_status=$?
13160 grep -v '^ *+' conftest.er1 >conftest.err
13161 rm -f conftest.er1
13162 cat conftest.err >&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); } &&
13165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13167 (eval $ac_try) 2>&5
13168 ac_status=$?
13169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170 (exit $ac_status); }; } &&
13171 { ac_try='test -s conftest.$ac_objext'
13172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13173 (eval $ac_try) 2>&5
13174 ac_status=$?
13175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176 (exit $ac_status); }; }; then
13177 ac_header_compiler=yes
13178 else
13179 echo "$as_me: failed program was:" >&5
13180 sed 's/^/| /' conftest.$ac_ext >&5
13181
13182 ac_header_compiler=no
13183 fi
13184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13185 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13186 echo "${ECHO_T}$ac_header_compiler" >&6
13187
13188 # Is the header present?
13189 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13190 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13191 cat >conftest.$ac_ext <<_ACEOF
13192 /* confdefs.h. */
13193 _ACEOF
13194 cat confdefs.h >>conftest.$ac_ext
13195 cat >>conftest.$ac_ext <<_ACEOF
13196 /* end confdefs.h. */
13197 #include <$ac_header>
13198 _ACEOF
13199 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13200 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13201 ac_status=$?
13202 grep -v '^ *+' conftest.er1 >conftest.err
13203 rm -f conftest.er1
13204 cat conftest.err >&5
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); } >/dev/null; then
13207 if test -s conftest.err; then
13208 ac_cpp_err=$ac_c_preproc_warn_flag
13209 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13210 else
13211 ac_cpp_err=
13212 fi
13213 else
13214 ac_cpp_err=yes
13215 fi
13216 if test -z "$ac_cpp_err"; then
13217 ac_header_preproc=yes
13218 else
13219 echo "$as_me: failed program was:" >&5
13220 sed 's/^/| /' conftest.$ac_ext >&5
13221
13222 ac_header_preproc=no
13223 fi
13224 rm -f conftest.err conftest.$ac_ext
13225 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13226 echo "${ECHO_T}$ac_header_preproc" >&6
13227
13228 # So? What about this header?
13229 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13230 yes:no: )
13231 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13232 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13233 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13234 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13235 ac_header_preproc=yes
13236 ;;
13237 no:yes:* )
13238 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13239 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13240 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13241 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13242 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13243 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13244 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13245 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13246 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13247 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13248 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13249 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13250 (
13251 cat <<\_ASBOX
13252 ## ----------------------------------------- ##
13253 ## Report this to wx-dev@lists.wxwidgets.org ##
13254 ## ----------------------------------------- ##
13255 _ASBOX
13256 ) |
13257 sed "s/^/$as_me: WARNING: /" >&2
13258 ;;
13259 esac
13260 echo "$as_me:$LINENO: checking for $ac_header" >&5
13261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13263 echo $ECHO_N "(cached) $ECHO_C" >&6
13264 else
13265 eval "$as_ac_Header=\$ac_header_preproc"
13266 fi
13267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13268 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13269
13270 fi
13271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13272 cat >>confdefs.h <<_ACEOF
13273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13274 _ACEOF
13275
13276 fi
13277
13278 done
13279
13280
13281 for ac_header in malloc.h
13282 do
13283 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13285 echo "$as_me:$LINENO: checking for $ac_header" >&5
13286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13288 echo $ECHO_N "(cached) $ECHO_C" >&6
13289 fi
13290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13292 else
13293 # Is the header compilable?
13294 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13295 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13296 cat >conftest.$ac_ext <<_ACEOF
13297 /* confdefs.h. */
13298 _ACEOF
13299 cat confdefs.h >>conftest.$ac_ext
13300 cat >>conftest.$ac_ext <<_ACEOF
13301 /* end confdefs.h. */
13302 $ac_includes_default
13303 #include <$ac_header>
13304 _ACEOF
13305 rm -f conftest.$ac_objext
13306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13307 (eval $ac_compile) 2>conftest.er1
13308 ac_status=$?
13309 grep -v '^ *+' conftest.er1 >conftest.err
13310 rm -f conftest.er1
13311 cat conftest.err >&5
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); } &&
13314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13316 (eval $ac_try) 2>&5
13317 ac_status=$?
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); }; } &&
13320 { ac_try='test -s conftest.$ac_objext'
13321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13322 (eval $ac_try) 2>&5
13323 ac_status=$?
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); }; }; then
13326 ac_header_compiler=yes
13327 else
13328 echo "$as_me: failed program was:" >&5
13329 sed 's/^/| /' conftest.$ac_ext >&5
13330
13331 ac_header_compiler=no
13332 fi
13333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13335 echo "${ECHO_T}$ac_header_compiler" >&6
13336
13337 # Is the header present?
13338 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13339 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13340 cat >conftest.$ac_ext <<_ACEOF
13341 /* confdefs.h. */
13342 _ACEOF
13343 cat confdefs.h >>conftest.$ac_ext
13344 cat >>conftest.$ac_ext <<_ACEOF
13345 /* end confdefs.h. */
13346 #include <$ac_header>
13347 _ACEOF
13348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13349 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13350 ac_status=$?
13351 grep -v '^ *+' conftest.er1 >conftest.err
13352 rm -f conftest.er1
13353 cat conftest.err >&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); } >/dev/null; then
13356 if test -s conftest.err; then
13357 ac_cpp_err=$ac_c_preproc_warn_flag
13358 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13359 else
13360 ac_cpp_err=
13361 fi
13362 else
13363 ac_cpp_err=yes
13364 fi
13365 if test -z "$ac_cpp_err"; then
13366 ac_header_preproc=yes
13367 else
13368 echo "$as_me: failed program was:" >&5
13369 sed 's/^/| /' conftest.$ac_ext >&5
13370
13371 ac_header_preproc=no
13372 fi
13373 rm -f conftest.err conftest.$ac_ext
13374 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13375 echo "${ECHO_T}$ac_header_preproc" >&6
13376
13377 # So? What about this header?
13378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13379 yes:no: )
13380 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13381 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13383 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13384 ac_header_preproc=yes
13385 ;;
13386 no:yes:* )
13387 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13388 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13389 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13390 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13391 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13392 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13393 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13394 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13397 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13398 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13399 (
13400 cat <<\_ASBOX
13401 ## ----------------------------------------- ##
13402 ## Report this to wx-dev@lists.wxwidgets.org ##
13403 ## ----------------------------------------- ##
13404 _ASBOX
13405 ) |
13406 sed "s/^/$as_me: WARNING: /" >&2
13407 ;;
13408 esac
13409 echo "$as_me:$LINENO: checking for $ac_header" >&5
13410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 else
13414 eval "$as_ac_Header=\$ac_header_preproc"
13415 fi
13416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13418
13419 fi
13420 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13421 cat >>confdefs.h <<_ACEOF
13422 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13423 _ACEOF
13424
13425 fi
13426
13427 done
13428
13429
13430 for ac_header in unistd.h
13431 do
13432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13434 echo "$as_me:$LINENO: checking for $ac_header" >&5
13435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13437 echo $ECHO_N "(cached) $ECHO_C" >&6
13438 fi
13439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13441 else
13442 # Is the header compilable?
13443 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13445 cat >conftest.$ac_ext <<_ACEOF
13446 /* confdefs.h. */
13447 _ACEOF
13448 cat confdefs.h >>conftest.$ac_ext
13449 cat >>conftest.$ac_ext <<_ACEOF
13450 /* end confdefs.h. */
13451 $ac_includes_default
13452 #include <$ac_header>
13453 _ACEOF
13454 rm -f conftest.$ac_objext
13455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13456 (eval $ac_compile) 2>conftest.er1
13457 ac_status=$?
13458 grep -v '^ *+' conftest.er1 >conftest.err
13459 rm -f conftest.er1
13460 cat conftest.err >&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); } &&
13463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13465 (eval $ac_try) 2>&5
13466 ac_status=$?
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); }; } &&
13469 { ac_try='test -s conftest.$ac_objext'
13470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13471 (eval $ac_try) 2>&5
13472 ac_status=$?
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); }; }; then
13475 ac_header_compiler=yes
13476 else
13477 echo "$as_me: failed program was:" >&5
13478 sed 's/^/| /' conftest.$ac_ext >&5
13479
13480 ac_header_compiler=no
13481 fi
13482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13483 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13484 echo "${ECHO_T}$ac_header_compiler" >&6
13485
13486 # Is the header present?
13487 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13488 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13489 cat >conftest.$ac_ext <<_ACEOF
13490 /* confdefs.h. */
13491 _ACEOF
13492 cat confdefs.h >>conftest.$ac_ext
13493 cat >>conftest.$ac_ext <<_ACEOF
13494 /* end confdefs.h. */
13495 #include <$ac_header>
13496 _ACEOF
13497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13498 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13499 ac_status=$?
13500 grep -v '^ *+' conftest.er1 >conftest.err
13501 rm -f conftest.er1
13502 cat conftest.err >&5
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); } >/dev/null; then
13505 if test -s conftest.err; then
13506 ac_cpp_err=$ac_c_preproc_warn_flag
13507 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13508 else
13509 ac_cpp_err=
13510 fi
13511 else
13512 ac_cpp_err=yes
13513 fi
13514 if test -z "$ac_cpp_err"; then
13515 ac_header_preproc=yes
13516 else
13517 echo "$as_me: failed program was:" >&5
13518 sed 's/^/| /' conftest.$ac_ext >&5
13519
13520 ac_header_preproc=no
13521 fi
13522 rm -f conftest.err conftest.$ac_ext
13523 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13524 echo "${ECHO_T}$ac_header_preproc" >&6
13525
13526 # So? What about this header?
13527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13528 yes:no: )
13529 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13530 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13532 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13533 ac_header_preproc=yes
13534 ;;
13535 no:yes:* )
13536 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13537 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13538 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13539 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13540 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13541 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13542 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13543 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13546 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13547 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13548 (
13549 cat <<\_ASBOX
13550 ## ----------------------------------------- ##
13551 ## Report this to wx-dev@lists.wxwidgets.org ##
13552 ## ----------------------------------------- ##
13553 _ASBOX
13554 ) |
13555 sed "s/^/$as_me: WARNING: /" >&2
13556 ;;
13557 esac
13558 echo "$as_me:$LINENO: checking for $ac_header" >&5
13559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13561 echo $ECHO_N "(cached) $ECHO_C" >&6
13562 else
13563 eval "$as_ac_Header=\$ac_header_preproc"
13564 fi
13565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13567
13568 fi
13569 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13570 cat >>confdefs.h <<_ACEOF
13571 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13572 _ACEOF
13573
13574 fi
13575
13576 done
13577
13578
13579 for ac_header in wchar.h
13580 do
13581 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13583 echo "$as_me:$LINENO: checking for $ac_header" >&5
13584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13586 echo $ECHO_N "(cached) $ECHO_C" >&6
13587 fi
13588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13590 else
13591 # Is the header compilable?
13592 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13593 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13594 cat >conftest.$ac_ext <<_ACEOF
13595 /* confdefs.h. */
13596 _ACEOF
13597 cat confdefs.h >>conftest.$ac_ext
13598 cat >>conftest.$ac_ext <<_ACEOF
13599 /* end confdefs.h. */
13600 $ac_includes_default
13601 #include <$ac_header>
13602 _ACEOF
13603 rm -f conftest.$ac_objext
13604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13605 (eval $ac_compile) 2>conftest.er1
13606 ac_status=$?
13607 grep -v '^ *+' conftest.er1 >conftest.err
13608 rm -f conftest.er1
13609 cat conftest.err >&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } &&
13612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13614 (eval $ac_try) 2>&5
13615 ac_status=$?
13616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617 (exit $ac_status); }; } &&
13618 { ac_try='test -s conftest.$ac_objext'
13619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13620 (eval $ac_try) 2>&5
13621 ac_status=$?
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); }; }; then
13624 ac_header_compiler=yes
13625 else
13626 echo "$as_me: failed program was:" >&5
13627 sed 's/^/| /' conftest.$ac_ext >&5
13628
13629 ac_header_compiler=no
13630 fi
13631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13633 echo "${ECHO_T}$ac_header_compiler" >&6
13634
13635 # Is the header present?
13636 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13637 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13638 cat >conftest.$ac_ext <<_ACEOF
13639 /* confdefs.h. */
13640 _ACEOF
13641 cat confdefs.h >>conftest.$ac_ext
13642 cat >>conftest.$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13644 #include <$ac_header>
13645 _ACEOF
13646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13647 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13648 ac_status=$?
13649 grep -v '^ *+' conftest.er1 >conftest.err
13650 rm -f conftest.er1
13651 cat conftest.err >&5
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); } >/dev/null; then
13654 if test -s conftest.err; then
13655 ac_cpp_err=$ac_c_preproc_warn_flag
13656 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13657 else
13658 ac_cpp_err=
13659 fi
13660 else
13661 ac_cpp_err=yes
13662 fi
13663 if test -z "$ac_cpp_err"; then
13664 ac_header_preproc=yes
13665 else
13666 echo "$as_me: failed program was:" >&5
13667 sed 's/^/| /' conftest.$ac_ext >&5
13668
13669 ac_header_preproc=no
13670 fi
13671 rm -f conftest.err conftest.$ac_ext
13672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13673 echo "${ECHO_T}$ac_header_preproc" >&6
13674
13675 # So? What about this header?
13676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13677 yes:no: )
13678 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13679 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13681 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13682 ac_header_preproc=yes
13683 ;;
13684 no:yes:* )
13685 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13686 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13687 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13688 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13689 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13690 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13691 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13692 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13694 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13695 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13696 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13697 (
13698 cat <<\_ASBOX
13699 ## ----------------------------------------- ##
13700 ## Report this to wx-dev@lists.wxwidgets.org ##
13701 ## ----------------------------------------- ##
13702 _ASBOX
13703 ) |
13704 sed "s/^/$as_me: WARNING: /" >&2
13705 ;;
13706 esac
13707 echo "$as_me:$LINENO: checking for $ac_header" >&5
13708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13710 echo $ECHO_N "(cached) $ECHO_C" >&6
13711 else
13712 eval "$as_ac_Header=\$ac_header_preproc"
13713 fi
13714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13716
13717 fi
13718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13719 cat >>confdefs.h <<_ACEOF
13720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13721 _ACEOF
13722
13723 fi
13724
13725 done
13726
13727
13728 if test "$ac_cv_header_wchar_h" != "yes"; then
13729
13730 for ac_header in wcstr.h
13731 do
13732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13734 echo "$as_me:$LINENO: checking for $ac_header" >&5
13735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13737 echo $ECHO_N "(cached) $ECHO_C" >&6
13738 fi
13739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13741 else
13742 # Is the header compilable?
13743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13745 cat >conftest.$ac_ext <<_ACEOF
13746 /* confdefs.h. */
13747 _ACEOF
13748 cat confdefs.h >>conftest.$ac_ext
13749 cat >>conftest.$ac_ext <<_ACEOF
13750 /* end confdefs.h. */
13751 $ac_includes_default
13752 #include <$ac_header>
13753 _ACEOF
13754 rm -f conftest.$ac_objext
13755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13756 (eval $ac_compile) 2>conftest.er1
13757 ac_status=$?
13758 grep -v '^ *+' conftest.er1 >conftest.err
13759 rm -f conftest.er1
13760 cat conftest.err >&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); } &&
13763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13765 (eval $ac_try) 2>&5
13766 ac_status=$?
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); }; } &&
13769 { ac_try='test -s conftest.$ac_objext'
13770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13771 (eval $ac_try) 2>&5
13772 ac_status=$?
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); }; }; then
13775 ac_header_compiler=yes
13776 else
13777 echo "$as_me: failed program was:" >&5
13778 sed 's/^/| /' conftest.$ac_ext >&5
13779
13780 ac_header_compiler=no
13781 fi
13782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13784 echo "${ECHO_T}$ac_header_compiler" >&6
13785
13786 # Is the header present?
13787 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13788 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13789 cat >conftest.$ac_ext <<_ACEOF
13790 /* confdefs.h. */
13791 _ACEOF
13792 cat confdefs.h >>conftest.$ac_ext
13793 cat >>conftest.$ac_ext <<_ACEOF
13794 /* end confdefs.h. */
13795 #include <$ac_header>
13796 _ACEOF
13797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13798 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
13805 if test -s conftest.err; then
13806 ac_cpp_err=$ac_c_preproc_warn_flag
13807 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13808 else
13809 ac_cpp_err=
13810 fi
13811 else
13812 ac_cpp_err=yes
13813 fi
13814 if test -z "$ac_cpp_err"; then
13815 ac_header_preproc=yes
13816 else
13817 echo "$as_me: failed program was:" >&5
13818 sed 's/^/| /' conftest.$ac_ext >&5
13819
13820 ac_header_preproc=no
13821 fi
13822 rm -f conftest.err conftest.$ac_ext
13823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13824 echo "${ECHO_T}$ac_header_preproc" >&6
13825
13826 # So? What about this header?
13827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13828 yes:no: )
13829 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13830 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13832 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13833 ac_header_preproc=yes
13834 ;;
13835 no:yes:* )
13836 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13837 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13838 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13839 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13840 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13841 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13842 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13843 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13846 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13848 (
13849 cat <<\_ASBOX
13850 ## ----------------------------------------- ##
13851 ## Report this to wx-dev@lists.wxwidgets.org ##
13852 ## ----------------------------------------- ##
13853 _ASBOX
13854 ) |
13855 sed "s/^/$as_me: WARNING: /" >&2
13856 ;;
13857 esac
13858 echo "$as_me:$LINENO: checking for $ac_header" >&5
13859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13861 echo $ECHO_N "(cached) $ECHO_C" >&6
13862 else
13863 eval "$as_ac_Header=\$ac_header_preproc"
13864 fi
13865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13867
13868 fi
13869 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13870 cat >>confdefs.h <<_ACEOF
13871 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13872 _ACEOF
13873
13874 fi
13875
13876 done
13877
13878 fi
13879
13880
13881 for ac_header in fnmatch.h
13882 do
13883 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13884 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13885 echo "$as_me:$LINENO: checking for $ac_header" >&5
13886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13888 echo $ECHO_N "(cached) $ECHO_C" >&6
13889 fi
13890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13891 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13892 else
13893 # Is the header compilable?
13894 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13895 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13896 cat >conftest.$ac_ext <<_ACEOF
13897 /* confdefs.h. */
13898 _ACEOF
13899 cat confdefs.h >>conftest.$ac_ext
13900 cat >>conftest.$ac_ext <<_ACEOF
13901 /* end confdefs.h. */
13902 $ac_includes_default
13903 #include <$ac_header>
13904 _ACEOF
13905 rm -f conftest.$ac_objext
13906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13907 (eval $ac_compile) 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); } &&
13914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13917 ac_status=$?
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; } &&
13920 { ac_try='test -s conftest.$ac_objext'
13921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13922 (eval $ac_try) 2>&5
13923 ac_status=$?
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); }; }; then
13926 ac_header_compiler=yes
13927 else
13928 echo "$as_me: failed program was:" >&5
13929 sed 's/^/| /' conftest.$ac_ext >&5
13930
13931 ac_header_compiler=no
13932 fi
13933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13935 echo "${ECHO_T}$ac_header_compiler" >&6
13936
13937 # Is the header present?
13938 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13939 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13940 cat >conftest.$ac_ext <<_ACEOF
13941 /* confdefs.h. */
13942 _ACEOF
13943 cat confdefs.h >>conftest.$ac_ext
13944 cat >>conftest.$ac_ext <<_ACEOF
13945 /* end confdefs.h. */
13946 #include <$ac_header>
13947 _ACEOF
13948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13949 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13950 ac_status=$?
13951 grep -v '^ *+' conftest.er1 >conftest.err
13952 rm -f conftest.er1
13953 cat conftest.err >&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); } >/dev/null; then
13956 if test -s conftest.err; then
13957 ac_cpp_err=$ac_c_preproc_warn_flag
13958 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13959 else
13960 ac_cpp_err=
13961 fi
13962 else
13963 ac_cpp_err=yes
13964 fi
13965 if test -z "$ac_cpp_err"; then
13966 ac_header_preproc=yes
13967 else
13968 echo "$as_me: failed program was:" >&5
13969 sed 's/^/| /' conftest.$ac_ext >&5
13970
13971 ac_header_preproc=no
13972 fi
13973 rm -f conftest.err conftest.$ac_ext
13974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13975 echo "${ECHO_T}$ac_header_preproc" >&6
13976
13977 # So? What about this header?
13978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13979 yes:no: )
13980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13981 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13983 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13984 ac_header_preproc=yes
13985 ;;
13986 no:yes:* )
13987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13988 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13990 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13991 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13992 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13993 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13994 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13997 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13998 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13999 (
14000 cat <<\_ASBOX
14001 ## ----------------------------------------- ##
14002 ## Report this to wx-dev@lists.wxwidgets.org ##
14003 ## ----------------------------------------- ##
14004 _ASBOX
14005 ) |
14006 sed "s/^/$as_me: WARNING: /" >&2
14007 ;;
14008 esac
14009 echo "$as_me:$LINENO: checking for $ac_header" >&5
14010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14012 echo $ECHO_N "(cached) $ECHO_C" >&6
14013 else
14014 eval "$as_ac_Header=\$ac_header_preproc"
14015 fi
14016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14018
14019 fi
14020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14021 cat >>confdefs.h <<_ACEOF
14022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14023 _ACEOF
14024
14025 fi
14026
14027 done
14028
14029
14030 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14031
14032 for ac_func in fnmatch
14033 do
14034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14035 echo "$as_me:$LINENO: checking for $ac_func" >&5
14036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14037 if eval "test \"\${$as_ac_var+set}\" = set"; then
14038 echo $ECHO_N "(cached) $ECHO_C" >&6
14039 else
14040 cat >conftest.$ac_ext <<_ACEOF
14041 /* confdefs.h. */
14042 _ACEOF
14043 cat confdefs.h >>conftest.$ac_ext
14044 cat >>conftest.$ac_ext <<_ACEOF
14045 /* end confdefs.h. */
14046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14048 #define $ac_func innocuous_$ac_func
14049
14050 /* System header to define __stub macros and hopefully few prototypes,
14051 which can conflict with char $ac_func (); below.
14052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14053 <limits.h> exists even on freestanding compilers. */
14054
14055 #ifdef __STDC__
14056 # include <limits.h>
14057 #else
14058 # include <assert.h>
14059 #endif
14060
14061 #undef $ac_func
14062
14063 /* Override any gcc2 internal prototype to avoid an error. */
14064 #ifdef __cplusplus
14065 extern "C"
14066 {
14067 #endif
14068 /* We use char because int might match the return type of a gcc2
14069 builtin and then its argument prototype would still apply. */
14070 char $ac_func ();
14071 /* The GNU C library defines this for functions which it implements
14072 to always fail with ENOSYS. Some functions are actually named
14073 something starting with __ and the normal name is an alias. */
14074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14075 choke me
14076 #else
14077 char (*f) () = $ac_func;
14078 #endif
14079 #ifdef __cplusplus
14080 }
14081 #endif
14082
14083 int
14084 main ()
14085 {
14086 return f != $ac_func;
14087 ;
14088 return 0;
14089 }
14090 _ACEOF
14091 rm -f conftest.$ac_objext conftest$ac_exeext
14092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14093 (eval $ac_link) 2>conftest.er1
14094 ac_status=$?
14095 grep -v '^ *+' conftest.er1 >conftest.err
14096 rm -f conftest.er1
14097 cat conftest.err >&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); } &&
14100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14102 (eval $ac_try) 2>&5
14103 ac_status=$?
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); }; } &&
14106 { ac_try='test -s conftest$ac_exeext'
14107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14108 (eval $ac_try) 2>&5
14109 ac_status=$?
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); }; }; then
14112 eval "$as_ac_var=yes"
14113 else
14114 echo "$as_me: failed program was:" >&5
14115 sed 's/^/| /' conftest.$ac_ext >&5
14116
14117 eval "$as_ac_var=no"
14118 fi
14119 rm -f conftest.err conftest.$ac_objext \
14120 conftest$ac_exeext conftest.$ac_ext
14121 fi
14122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14124 if test `eval echo '${'$as_ac_var'}'` = yes; then
14125 cat >>confdefs.h <<_ACEOF
14126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14127 _ACEOF
14128
14129 fi
14130 done
14131
14132 fi
14133
14134
14135 for ac_header in langinfo.h
14136 do
14137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14139 echo "$as_me:$LINENO: checking for $ac_header" >&5
14140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14142 echo $ECHO_N "(cached) $ECHO_C" >&6
14143 fi
14144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14146 else
14147 # Is the header compilable?
14148 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14150 cat >conftest.$ac_ext <<_ACEOF
14151 /* confdefs.h. */
14152 _ACEOF
14153 cat confdefs.h >>conftest.$ac_ext
14154 cat >>conftest.$ac_ext <<_ACEOF
14155 /* end confdefs.h. */
14156 $ac_includes_default
14157 #include <$ac_header>
14158 _ACEOF
14159 rm -f conftest.$ac_objext
14160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14161 (eval $ac_compile) 2>conftest.er1
14162 ac_status=$?
14163 grep -v '^ *+' conftest.er1 >conftest.err
14164 rm -f conftest.er1
14165 cat conftest.err >&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); } &&
14168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14171 ac_status=$?
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; } &&
14174 { ac_try='test -s conftest.$ac_objext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14177 ac_status=$?
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14180 ac_header_compiler=yes
14181 else
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.$ac_ext >&5
14184
14185 ac_header_compiler=no
14186 fi
14187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14189 echo "${ECHO_T}$ac_header_compiler" >&6
14190
14191 # Is the header present?
14192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14194 cat >conftest.$ac_ext <<_ACEOF
14195 /* confdefs.h. */
14196 _ACEOF
14197 cat confdefs.h >>conftest.$ac_ext
14198 cat >>conftest.$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14200 #include <$ac_header>
14201 _ACEOF
14202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14203 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14204 ac_status=$?
14205 grep -v '^ *+' conftest.er1 >conftest.err
14206 rm -f conftest.er1
14207 cat conftest.err >&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); } >/dev/null; then
14210 if test -s conftest.err; then
14211 ac_cpp_err=$ac_c_preproc_warn_flag
14212 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14213 else
14214 ac_cpp_err=
14215 fi
14216 else
14217 ac_cpp_err=yes
14218 fi
14219 if test -z "$ac_cpp_err"; then
14220 ac_header_preproc=yes
14221 else
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.$ac_ext >&5
14224
14225 ac_header_preproc=no
14226 fi
14227 rm -f conftest.err conftest.$ac_ext
14228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14229 echo "${ECHO_T}$ac_header_preproc" >&6
14230
14231 # So? What about this header?
14232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14233 yes:no: )
14234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14238 ac_header_preproc=yes
14239 ;;
14240 no:yes:* )
14241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14248 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14251 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14253 (
14254 cat <<\_ASBOX
14255 ## ----------------------------------------- ##
14256 ## Report this to wx-dev@lists.wxwidgets.org ##
14257 ## ----------------------------------------- ##
14258 _ASBOX
14259 ) |
14260 sed "s/^/$as_me: WARNING: /" >&2
14261 ;;
14262 esac
14263 echo "$as_me:$LINENO: checking for $ac_header" >&5
14264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14266 echo $ECHO_N "(cached) $ECHO_C" >&6
14267 else
14268 eval "$as_ac_Header=\$ac_header_preproc"
14269 fi
14270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14272
14273 fi
14274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14275 cat >>confdefs.h <<_ACEOF
14276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14277 _ACEOF
14278
14279 fi
14280
14281 done
14282
14283
14284 case "${host}" in
14285 *-pc-os2_emx | *-pc-os2-emx )
14286 if test $ac_cv_header_langinfo_h = "yes"; then
14287 LIBS="$LIBS -lintl"
14288 fi
14289 ;;
14290 esac
14291
14292 if test "$wxUSE_GUI" = "yes"; then
14293 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14294
14295 for ac_header in X11/Xlib.h
14296 do
14297 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14299 echo "$as_me:$LINENO: checking for $ac_header" >&5
14300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14302 echo $ECHO_N "(cached) $ECHO_C" >&6
14303 fi
14304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14306 else
14307 # Is the header compilable?
14308 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14309 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14310 cat >conftest.$ac_ext <<_ACEOF
14311 /* confdefs.h. */
14312 _ACEOF
14313 cat confdefs.h >>conftest.$ac_ext
14314 cat >>conftest.$ac_ext <<_ACEOF
14315 /* end confdefs.h. */
14316 $ac_includes_default
14317 #include <$ac_header>
14318 _ACEOF
14319 rm -f conftest.$ac_objext
14320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14321 (eval $ac_compile) 2>conftest.er1
14322 ac_status=$?
14323 grep -v '^ *+' conftest.er1 >conftest.err
14324 rm -f conftest.er1
14325 cat conftest.err >&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); } &&
14328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14330 (eval $ac_try) 2>&5
14331 ac_status=$?
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); }; } &&
14334 { ac_try='test -s conftest.$ac_objext'
14335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14336 (eval $ac_try) 2>&5
14337 ac_status=$?
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); }; }; then
14340 ac_header_compiler=yes
14341 else
14342 echo "$as_me: failed program was:" >&5
14343 sed 's/^/| /' conftest.$ac_ext >&5
14344
14345 ac_header_compiler=no
14346 fi
14347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14348 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14349 echo "${ECHO_T}$ac_header_compiler" >&6
14350
14351 # Is the header present?
14352 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14353 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14354 cat >conftest.$ac_ext <<_ACEOF
14355 /* confdefs.h. */
14356 _ACEOF
14357 cat confdefs.h >>conftest.$ac_ext
14358 cat >>conftest.$ac_ext <<_ACEOF
14359 /* end confdefs.h. */
14360 #include <$ac_header>
14361 _ACEOF
14362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14363 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14364 ac_status=$?
14365 grep -v '^ *+' conftest.er1 >conftest.err
14366 rm -f conftest.er1
14367 cat conftest.err >&5
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); } >/dev/null; then
14370 if test -s conftest.err; then
14371 ac_cpp_err=$ac_c_preproc_warn_flag
14372 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14373 else
14374 ac_cpp_err=
14375 fi
14376 else
14377 ac_cpp_err=yes
14378 fi
14379 if test -z "$ac_cpp_err"; then
14380 ac_header_preproc=yes
14381 else
14382 echo "$as_me: failed program was:" >&5
14383 sed 's/^/| /' conftest.$ac_ext >&5
14384
14385 ac_header_preproc=no
14386 fi
14387 rm -f conftest.err conftest.$ac_ext
14388 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14389 echo "${ECHO_T}$ac_header_preproc" >&6
14390
14391 # So? What about this header?
14392 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14393 yes:no: )
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14395 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14397 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14398 ac_header_preproc=yes
14399 ;;
14400 no:yes:* )
14401 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14402 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14403 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14404 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14405 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14406 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14407 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14408 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14410 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14411 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14412 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14413 (
14414 cat <<\_ASBOX
14415 ## ----------------------------------------- ##
14416 ## Report this to wx-dev@lists.wxwidgets.org ##
14417 ## ----------------------------------------- ##
14418 _ASBOX
14419 ) |
14420 sed "s/^/$as_me: WARNING: /" >&2
14421 ;;
14422 esac
14423 echo "$as_me:$LINENO: checking for $ac_header" >&5
14424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14426 echo $ECHO_N "(cached) $ECHO_C" >&6
14427 else
14428 eval "$as_ac_Header=\$ac_header_preproc"
14429 fi
14430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14432
14433 fi
14434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14435 cat >>confdefs.h <<_ACEOF
14436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14437 _ACEOF
14438
14439 fi
14440
14441 done
14442
14443
14444 for ac_header in X11/XKBlib.h
14445 do
14446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14447 echo "$as_me:$LINENO: checking for $ac_header" >&5
14448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14450 echo $ECHO_N "(cached) $ECHO_C" >&6
14451 else
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
14459 #if HAVE_X11_XLIB_H
14460 #include <X11/Xlib.h>
14461 #endif
14462
14463
14464 #include <$ac_header>
14465 _ACEOF
14466 rm -f conftest.$ac_objext
14467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14468 (eval $ac_compile) 2>conftest.er1
14469 ac_status=$?
14470 grep -v '^ *+' conftest.er1 >conftest.err
14471 rm -f conftest.er1
14472 cat conftest.err >&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); } &&
14475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14477 (eval $ac_try) 2>&5
14478 ac_status=$?
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); }; } &&
14481 { ac_try='test -s conftest.$ac_objext'
14482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483 (eval $ac_try) 2>&5
14484 ac_status=$?
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; }; then
14487 eval "$as_ac_Header=yes"
14488 else
14489 echo "$as_me: failed program was:" >&5
14490 sed 's/^/| /' conftest.$ac_ext >&5
14491
14492 eval "$as_ac_Header=no"
14493 fi
14494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14495 fi
14496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14499 cat >>confdefs.h <<_ACEOF
14500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14501 _ACEOF
14502
14503 fi
14504
14505 done
14506
14507 fi
14508 fi
14509
14510
14511 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14512 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14513 if test "${ac_cv_c_const+set}" = set; then
14514 echo $ECHO_N "(cached) $ECHO_C" >&6
14515 else
14516 cat >conftest.$ac_ext <<_ACEOF
14517 /* confdefs.h. */
14518 _ACEOF
14519 cat confdefs.h >>conftest.$ac_ext
14520 cat >>conftest.$ac_ext <<_ACEOF
14521 /* end confdefs.h. */
14522
14523 int
14524 main ()
14525 {
14526 /* FIXME: Include the comments suggested by Paul. */
14527 #ifndef __cplusplus
14528 /* Ultrix mips cc rejects this. */
14529 typedef int charset[2];
14530 const charset x;
14531 /* SunOS 4.1.1 cc rejects this. */
14532 char const *const *ccp;
14533 char **p;
14534 /* NEC SVR4.0.2 mips cc rejects this. */
14535 struct point {int x, y;};
14536 static struct point const zero = {0,0};
14537 /* AIX XL C 1.02.0.0 rejects this.
14538 It does not let you subtract one const X* pointer from another in
14539 an arm of an if-expression whose if-part is not a constant
14540 expression */
14541 const char *g = "string";
14542 ccp = &g + (g ? g-g : 0);
14543 /* HPUX 7.0 cc rejects these. */
14544 ++ccp;
14545 p = (char**) ccp;
14546 ccp = (char const *const *) p;
14547 { /* SCO 3.2v4 cc rejects this. */
14548 char *t;
14549 char const *s = 0 ? (char *) 0 : (char const *) 0;
14550
14551 *t++ = 0;
14552 }
14553 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14554 int x[] = {25, 17};
14555 const int *foo = &x[0];
14556 ++foo;
14557 }
14558 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14559 typedef const int *iptr;
14560 iptr p = 0;
14561 ++p;
14562 }
14563 { /* AIX XL C 1.02.0.0 rejects this saying
14564 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14565 struct s { int j; const int *ap[3]; };
14566 struct s *b; b->j = 5;
14567 }
14568 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14569 const int foo = 10;
14570 }
14571 #endif
14572
14573 ;
14574 return 0;
14575 }
14576 _ACEOF
14577 rm -f conftest.$ac_objext
14578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14579 (eval $ac_compile) 2>conftest.er1
14580 ac_status=$?
14581 grep -v '^ *+' conftest.er1 >conftest.err
14582 rm -f conftest.er1
14583 cat conftest.err >&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); } &&
14586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14589 ac_status=$?
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; } &&
14592 { ac_try='test -s conftest.$ac_objext'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14595 ac_status=$?
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; }; then
14598 ac_cv_c_const=yes
14599 else
14600 echo "$as_me: failed program was:" >&5
14601 sed 's/^/| /' conftest.$ac_ext >&5
14602
14603 ac_cv_c_const=no
14604 fi
14605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14606 fi
14607 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14608 echo "${ECHO_T}$ac_cv_c_const" >&6
14609 if test $ac_cv_c_const = no; then
14610
14611 cat >>confdefs.h <<\_ACEOF
14612 #define const
14613 _ACEOF
14614
14615 fi
14616
14617 echo "$as_me:$LINENO: checking for inline" >&5
14618 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14619 if test "${ac_cv_c_inline+set}" = set; then
14620 echo $ECHO_N "(cached) $ECHO_C" >&6
14621 else
14622 ac_cv_c_inline=no
14623 for ac_kw in inline __inline__ __inline; do
14624 cat >conftest.$ac_ext <<_ACEOF
14625 /* confdefs.h. */
14626 _ACEOF
14627 cat confdefs.h >>conftest.$ac_ext
14628 cat >>conftest.$ac_ext <<_ACEOF
14629 /* end confdefs.h. */
14630 #ifndef __cplusplus
14631 typedef int foo_t;
14632 static $ac_kw foo_t static_foo () {return 0; }
14633 $ac_kw foo_t foo () {return 0; }
14634 #endif
14635
14636 _ACEOF
14637 rm -f conftest.$ac_objext
14638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14639 (eval $ac_compile) 2>conftest.er1
14640 ac_status=$?
14641 grep -v '^ *+' conftest.er1 >conftest.err
14642 rm -f conftest.er1
14643 cat conftest.err >&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); } &&
14646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14648 (eval $ac_try) 2>&5
14649 ac_status=$?
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); }; } &&
14652 { ac_try='test -s conftest.$ac_objext'
14653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14654 (eval $ac_try) 2>&5
14655 ac_status=$?
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); }; }; then
14658 ac_cv_c_inline=$ac_kw; break
14659 else
14660 echo "$as_me: failed program was:" >&5
14661 sed 's/^/| /' conftest.$ac_ext >&5
14662
14663 fi
14664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14665 done
14666
14667 fi
14668 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14669 echo "${ECHO_T}$ac_cv_c_inline" >&6
14670
14671
14672 case $ac_cv_c_inline in
14673 inline | yes) ;;
14674 *)
14675 case $ac_cv_c_inline in
14676 no) ac_val=;;
14677 *) ac_val=$ac_cv_c_inline;;
14678 esac
14679 cat >>confdefs.h <<_ACEOF
14680 #ifndef __cplusplus
14681 #define inline $ac_val
14682 #endif
14683 _ACEOF
14684 ;;
14685 esac
14686
14687
14688 echo "$as_me:$LINENO: checking for char" >&5
14689 echo $ECHO_N "checking for char... $ECHO_C" >&6
14690 if test "${ac_cv_type_char+set}" = set; then
14691 echo $ECHO_N "(cached) $ECHO_C" >&6
14692 else
14693 cat >conftest.$ac_ext <<_ACEOF
14694 /* confdefs.h. */
14695 _ACEOF
14696 cat confdefs.h >>conftest.$ac_ext
14697 cat >>conftest.$ac_ext <<_ACEOF
14698 /* end confdefs.h. */
14699 $ac_includes_default
14700 int
14701 main ()
14702 {
14703 if ((char *) 0)
14704 return 0;
14705 if (sizeof (char))
14706 return 0;
14707 ;
14708 return 0;
14709 }
14710 _ACEOF
14711 rm -f conftest.$ac_objext
14712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14713 (eval $ac_compile) 2>conftest.er1
14714 ac_status=$?
14715 grep -v '^ *+' conftest.er1 >conftest.err
14716 rm -f conftest.er1
14717 cat conftest.err >&5
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); } &&
14720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14722 (eval $ac_try) 2>&5
14723 ac_status=$?
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); }; } &&
14726 { ac_try='test -s conftest.$ac_objext'
14727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14728 (eval $ac_try) 2>&5
14729 ac_status=$?
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }; }; then
14732 ac_cv_type_char=yes
14733 else
14734 echo "$as_me: failed program was:" >&5
14735 sed 's/^/| /' conftest.$ac_ext >&5
14736
14737 ac_cv_type_char=no
14738 fi
14739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14740 fi
14741 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14742 echo "${ECHO_T}$ac_cv_type_char" >&6
14743
14744 echo "$as_me:$LINENO: checking size of char" >&5
14745 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14746 if test "${ac_cv_sizeof_char+set}" = set; then
14747 echo $ECHO_N "(cached) $ECHO_C" >&6
14748 else
14749 if test "$ac_cv_type_char" = yes; then
14750 # The cast to unsigned long works around a bug in the HP C Compiler
14751 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14752 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14753 # This bug is HP SR number 8606223364.
14754 if test "$cross_compiling" = yes; then
14755 # Depending upon the size, compute the lo and hi bounds.
14756 cat >conftest.$ac_ext <<_ACEOF
14757 /* confdefs.h. */
14758 _ACEOF
14759 cat confdefs.h >>conftest.$ac_ext
14760 cat >>conftest.$ac_ext <<_ACEOF
14761 /* end confdefs.h. */
14762 $ac_includes_default
14763 int
14764 main ()
14765 {
14766 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14767 test_array [0] = 0
14768
14769 ;
14770 return 0;
14771 }
14772 _ACEOF
14773 rm -f conftest.$ac_objext
14774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14775 (eval $ac_compile) 2>conftest.er1
14776 ac_status=$?
14777 grep -v '^ *+' conftest.er1 >conftest.err
14778 rm -f conftest.er1
14779 cat conftest.err >&5
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); } &&
14782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784 (eval $ac_try) 2>&5
14785 ac_status=$?
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; } &&
14788 { ac_try='test -s conftest.$ac_objext'
14789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14790 (eval $ac_try) 2>&5
14791 ac_status=$?
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); }; }; then
14794 ac_lo=0 ac_mid=0
14795 while :; do
14796 cat >conftest.$ac_ext <<_ACEOF
14797 /* confdefs.h. */
14798 _ACEOF
14799 cat confdefs.h >>conftest.$ac_ext
14800 cat >>conftest.$ac_ext <<_ACEOF
14801 /* end confdefs.h. */
14802 $ac_includes_default
14803 int
14804 main ()
14805 {
14806 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14807 test_array [0] = 0
14808
14809 ;
14810 return 0;
14811 }
14812 _ACEOF
14813 rm -f conftest.$ac_objext
14814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14815 (eval $ac_compile) 2>conftest.er1
14816 ac_status=$?
14817 grep -v '^ *+' conftest.er1 >conftest.err
14818 rm -f conftest.er1
14819 cat conftest.err >&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); } &&
14822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14824 (eval $ac_try) 2>&5
14825 ac_status=$?
14826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14827 (exit $ac_status); }; } &&
14828 { ac_try='test -s conftest.$ac_objext'
14829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14830 (eval $ac_try) 2>&5
14831 ac_status=$?
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); }; }; then
14834 ac_hi=$ac_mid; break
14835 else
14836 echo "$as_me: failed program was:" >&5
14837 sed 's/^/| /' conftest.$ac_ext >&5
14838
14839 ac_lo=`expr $ac_mid + 1`
14840 if test $ac_lo -le $ac_mid; then
14841 ac_lo= ac_hi=
14842 break
14843 fi
14844 ac_mid=`expr 2 '*' $ac_mid + 1`
14845 fi
14846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14847 done
14848 else
14849 echo "$as_me: failed program was:" >&5
14850 sed 's/^/| /' conftest.$ac_ext >&5
14851
14852 cat >conftest.$ac_ext <<_ACEOF
14853 /* confdefs.h. */
14854 _ACEOF
14855 cat confdefs.h >>conftest.$ac_ext
14856 cat >>conftest.$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14858 $ac_includes_default
14859 int
14860 main ()
14861 {
14862 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14863 test_array [0] = 0
14864
14865 ;
14866 return 0;
14867 }
14868 _ACEOF
14869 rm -f conftest.$ac_objext
14870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14871 (eval $ac_compile) 2>conftest.er1
14872 ac_status=$?
14873 grep -v '^ *+' conftest.er1 >conftest.err
14874 rm -f conftest.er1
14875 cat conftest.err >&5
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); } &&
14878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14880 (eval $ac_try) 2>&5
14881 ac_status=$?
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); }; } &&
14884 { ac_try='test -s conftest.$ac_objext'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14887 ac_status=$?
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; }; then
14890 ac_hi=-1 ac_mid=-1
14891 while :; do
14892 cat >conftest.$ac_ext <<_ACEOF
14893 /* confdefs.h. */
14894 _ACEOF
14895 cat confdefs.h >>conftest.$ac_ext
14896 cat >>conftest.$ac_ext <<_ACEOF
14897 /* end confdefs.h. */
14898 $ac_includes_default
14899 int
14900 main ()
14901 {
14902 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14903 test_array [0] = 0
14904
14905 ;
14906 return 0;
14907 }
14908 _ACEOF
14909 rm -f conftest.$ac_objext
14910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14911 (eval $ac_compile) 2>conftest.er1
14912 ac_status=$?
14913 grep -v '^ *+' conftest.er1 >conftest.err
14914 rm -f conftest.er1
14915 cat conftest.err >&5
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); } &&
14918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14920 (eval $ac_try) 2>&5
14921 ac_status=$?
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); }; } &&
14924 { ac_try='test -s conftest.$ac_objext'
14925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14926 (eval $ac_try) 2>&5
14927 ac_status=$?
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); }; }; then
14930 ac_lo=$ac_mid; break
14931 else
14932 echo "$as_me: failed program was:" >&5
14933 sed 's/^/| /' conftest.$ac_ext >&5
14934
14935 ac_hi=`expr '(' $ac_mid ')' - 1`
14936 if test $ac_mid -le $ac_hi; then
14937 ac_lo= ac_hi=
14938 break
14939 fi
14940 ac_mid=`expr 2 '*' $ac_mid`
14941 fi
14942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14943 done
14944 else
14945 echo "$as_me: failed program was:" >&5
14946 sed 's/^/| /' conftest.$ac_ext >&5
14947
14948 ac_lo= ac_hi=
14949 fi
14950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14951 fi
14952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14953 # Binary search between lo and hi bounds.
14954 while test "x$ac_lo" != "x$ac_hi"; do
14955 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14956 cat >conftest.$ac_ext <<_ACEOF
14957 /* confdefs.h. */
14958 _ACEOF
14959 cat confdefs.h >>conftest.$ac_ext
14960 cat >>conftest.$ac_ext <<_ACEOF
14961 /* end confdefs.h. */
14962 $ac_includes_default
14963 int
14964 main ()
14965 {
14966 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14967 test_array [0] = 0
14968
14969 ;
14970 return 0;
14971 }
14972 _ACEOF
14973 rm -f conftest.$ac_objext
14974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14975 (eval $ac_compile) 2>conftest.er1
14976 ac_status=$?
14977 grep -v '^ *+' conftest.er1 >conftest.err
14978 rm -f conftest.er1
14979 cat conftest.err >&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); } &&
14982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 (eval $ac_try) 2>&5
14985 ac_status=$?
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; } &&
14988 { ac_try='test -s conftest.$ac_objext'
14989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14990 (eval $ac_try) 2>&5
14991 ac_status=$?
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); }; }; then
14994 ac_hi=$ac_mid
14995 else
14996 echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.$ac_ext >&5
14998
14999 ac_lo=`expr '(' $ac_mid ')' + 1`
15000 fi
15001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15002 done
15003 case $ac_lo in
15004 ?*) ac_cv_sizeof_char=$ac_lo;;
15005 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15006 See \`config.log' for more details." >&5
15007 echo "$as_me: error: cannot compute sizeof (char), 77
15008 See \`config.log' for more details." >&2;}
15009 { (exit 1); exit 1; }; } ;;
15010 esac
15011 else
15012 if test "$cross_compiling" = yes; then
15013 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15014 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15015 { (exit 1); exit 1; }; }
15016 else
15017 cat >conftest.$ac_ext <<_ACEOF
15018 /* confdefs.h. */
15019 _ACEOF
15020 cat confdefs.h >>conftest.$ac_ext
15021 cat >>conftest.$ac_ext <<_ACEOF
15022 /* end confdefs.h. */
15023 $ac_includes_default
15024 long longval () { return (long) (sizeof (char)); }
15025 unsigned long ulongval () { return (long) (sizeof (char)); }
15026 #include <stdio.h>
15027 #include <stdlib.h>
15028 int
15029 main ()
15030 {
15031
15032 FILE *f = fopen ("conftest.val", "w");
15033 if (! f)
15034 exit (1);
15035 if (((long) (sizeof (char))) < 0)
15036 {
15037 long i = longval ();
15038 if (i != ((long) (sizeof (char))))
15039 exit (1);
15040 fprintf (f, "%ld\n", i);
15041 }
15042 else
15043 {
15044 unsigned long i = ulongval ();
15045 if (i != ((long) (sizeof (char))))
15046 exit (1);
15047 fprintf (f, "%lu\n", i);
15048 }
15049 exit (ferror (f) || fclose (f) != 0);
15050
15051 ;
15052 return 0;
15053 }
15054 _ACEOF
15055 rm -f conftest$ac_exeext
15056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15057 (eval $ac_link) 2>&5
15058 ac_status=$?
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15062 (eval $ac_try) 2>&5
15063 ac_status=$?
15064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15065 (exit $ac_status); }; }; then
15066 ac_cv_sizeof_char=`cat conftest.val`
15067 else
15068 echo "$as_me: program exited with status $ac_status" >&5
15069 echo "$as_me: failed program was:" >&5
15070 sed 's/^/| /' conftest.$ac_ext >&5
15071
15072 ( exit $ac_status )
15073 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15074 See \`config.log' for more details." >&5
15075 echo "$as_me: error: cannot compute sizeof (char), 77
15076 See \`config.log' for more details." >&2;}
15077 { (exit 1); exit 1; }; }
15078 fi
15079 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15080 fi
15081 fi
15082 rm -f conftest.val
15083 else
15084 ac_cv_sizeof_char=0
15085 fi
15086 fi
15087 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15088 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15089 cat >>confdefs.h <<_ACEOF
15090 #define SIZEOF_CHAR $ac_cv_sizeof_char
15091 _ACEOF
15092
15093
15094 echo "$as_me:$LINENO: checking for short" >&5
15095 echo $ECHO_N "checking for short... $ECHO_C" >&6
15096 if test "${ac_cv_type_short+set}" = set; then
15097 echo $ECHO_N "(cached) $ECHO_C" >&6
15098 else
15099 cat >conftest.$ac_ext <<_ACEOF
15100 /* confdefs.h. */
15101 _ACEOF
15102 cat confdefs.h >>conftest.$ac_ext
15103 cat >>conftest.$ac_ext <<_ACEOF
15104 /* end confdefs.h. */
15105 $ac_includes_default
15106 int
15107 main ()
15108 {
15109 if ((short *) 0)
15110 return 0;
15111 if (sizeof (short))
15112 return 0;
15113 ;
15114 return 0;
15115 }
15116 _ACEOF
15117 rm -f conftest.$ac_objext
15118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15119 (eval $ac_compile) 2>conftest.er1
15120 ac_status=$?
15121 grep -v '^ *+' conftest.er1 >conftest.err
15122 rm -f conftest.er1
15123 cat conftest.err >&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); } &&
15126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15128 (eval $ac_try) 2>&5
15129 ac_status=$?
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }; } &&
15132 { ac_try='test -s conftest.$ac_objext'
15133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15134 (eval $ac_try) 2>&5
15135 ac_status=$?
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); }; }; then
15138 ac_cv_type_short=yes
15139 else
15140 echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.$ac_ext >&5
15142
15143 ac_cv_type_short=no
15144 fi
15145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15146 fi
15147 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15148 echo "${ECHO_T}$ac_cv_type_short" >&6
15149
15150 echo "$as_me:$LINENO: checking size of short" >&5
15151 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15152 if test "${ac_cv_sizeof_short+set}" = set; then
15153 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 else
15155 if test "$ac_cv_type_short" = yes; then
15156 # The cast to unsigned long works around a bug in the HP C Compiler
15157 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15158 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15159 # This bug is HP SR number 8606223364.
15160 if test "$cross_compiling" = yes; then
15161 # Depending upon the size, compute the lo and hi bounds.
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 $ac_includes_default
15169 int
15170 main ()
15171 {
15172 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15173 test_array [0] = 0
15174
15175 ;
15176 return 0;
15177 }
15178 _ACEOF
15179 rm -f conftest.$ac_objext
15180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15181 (eval $ac_compile) 2>conftest.er1
15182 ac_status=$?
15183 grep -v '^ *+' conftest.er1 >conftest.err
15184 rm -f conftest.er1
15185 cat conftest.err >&5
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); } &&
15188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15190 (eval $ac_try) 2>&5
15191 ac_status=$?
15192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15193 (exit $ac_status); }; } &&
15194 { ac_try='test -s conftest.$ac_objext'
15195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15196 (eval $ac_try) 2>&5
15197 ac_status=$?
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); }; }; then
15200 ac_lo=0 ac_mid=0
15201 while :; do
15202 cat >conftest.$ac_ext <<_ACEOF
15203 /* confdefs.h. */
15204 _ACEOF
15205 cat confdefs.h >>conftest.$ac_ext
15206 cat >>conftest.$ac_ext <<_ACEOF
15207 /* end confdefs.h. */
15208 $ac_includes_default
15209 int
15210 main ()
15211 {
15212 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15213 test_array [0] = 0
15214
15215 ;
15216 return 0;
15217 }
15218 _ACEOF
15219 rm -f conftest.$ac_objext
15220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15221 (eval $ac_compile) 2>conftest.er1
15222 ac_status=$?
15223 grep -v '^ *+' conftest.er1 >conftest.err
15224 rm -f conftest.er1
15225 cat conftest.err >&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } &&
15228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15230 (eval $ac_try) 2>&5
15231 ac_status=$?
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); }; } &&
15234 { ac_try='test -s conftest.$ac_objext'
15235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15236 (eval $ac_try) 2>&5
15237 ac_status=$?
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); }; }; then
15240 ac_hi=$ac_mid; break
15241 else
15242 echo "$as_me: failed program was:" >&5
15243 sed 's/^/| /' conftest.$ac_ext >&5
15244
15245 ac_lo=`expr $ac_mid + 1`
15246 if test $ac_lo -le $ac_mid; then
15247 ac_lo= ac_hi=
15248 break
15249 fi
15250 ac_mid=`expr 2 '*' $ac_mid + 1`
15251 fi
15252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15253 done
15254 else
15255 echo "$as_me: failed program was:" >&5
15256 sed 's/^/| /' conftest.$ac_ext >&5
15257
15258 cat >conftest.$ac_ext <<_ACEOF
15259 /* confdefs.h. */
15260 _ACEOF
15261 cat confdefs.h >>conftest.$ac_ext
15262 cat >>conftest.$ac_ext <<_ACEOF
15263 /* end confdefs.h. */
15264 $ac_includes_default
15265 int
15266 main ()
15267 {
15268 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15269 test_array [0] = 0
15270
15271 ;
15272 return 0;
15273 }
15274 _ACEOF
15275 rm -f conftest.$ac_objext
15276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15277 (eval $ac_compile) 2>conftest.er1
15278 ac_status=$?
15279 grep -v '^ *+' conftest.er1 >conftest.err
15280 rm -f conftest.er1
15281 cat conftest.err >&5
15282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15283 (exit $ac_status); } &&
15284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15286 (eval $ac_try) 2>&5
15287 ac_status=$?
15288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15289 (exit $ac_status); }; } &&
15290 { ac_try='test -s conftest.$ac_objext'
15291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15292 (eval $ac_try) 2>&5
15293 ac_status=$?
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); }; }; then
15296 ac_hi=-1 ac_mid=-1
15297 while :; do
15298 cat >conftest.$ac_ext <<_ACEOF
15299 /* confdefs.h. */
15300 _ACEOF
15301 cat confdefs.h >>conftest.$ac_ext
15302 cat >>conftest.$ac_ext <<_ACEOF
15303 /* end confdefs.h. */
15304 $ac_includes_default
15305 int
15306 main ()
15307 {
15308 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15309 test_array [0] = 0
15310
15311 ;
15312 return 0;
15313 }
15314 _ACEOF
15315 rm -f conftest.$ac_objext
15316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15317 (eval $ac_compile) 2>conftest.er1
15318 ac_status=$?
15319 grep -v '^ *+' conftest.er1 >conftest.err
15320 rm -f conftest.er1
15321 cat conftest.err >&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } &&
15324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15326 (eval $ac_try) 2>&5
15327 ac_status=$?
15328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15329 (exit $ac_status); }; } &&
15330 { ac_try='test -s conftest.$ac_objext'
15331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15332 (eval $ac_try) 2>&5
15333 ac_status=$?
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); }; }; then
15336 ac_lo=$ac_mid; break
15337 else
15338 echo "$as_me: failed program was:" >&5
15339 sed 's/^/| /' conftest.$ac_ext >&5
15340
15341 ac_hi=`expr '(' $ac_mid ')' - 1`
15342 if test $ac_mid -le $ac_hi; then
15343 ac_lo= ac_hi=
15344 break
15345 fi
15346 ac_mid=`expr 2 '*' $ac_mid`
15347 fi
15348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15349 done
15350 else
15351 echo "$as_me: failed program was:" >&5
15352 sed 's/^/| /' conftest.$ac_ext >&5
15353
15354 ac_lo= ac_hi=
15355 fi
15356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15357 fi
15358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15359 # Binary search between lo and hi bounds.
15360 while test "x$ac_lo" != "x$ac_hi"; do
15361 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15362 cat >conftest.$ac_ext <<_ACEOF
15363 /* confdefs.h. */
15364 _ACEOF
15365 cat confdefs.h >>conftest.$ac_ext
15366 cat >>conftest.$ac_ext <<_ACEOF
15367 /* end confdefs.h. */
15368 $ac_includes_default
15369 int
15370 main ()
15371 {
15372 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15373 test_array [0] = 0
15374
15375 ;
15376 return 0;
15377 }
15378 _ACEOF
15379 rm -f conftest.$ac_objext
15380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15381 (eval $ac_compile) 2>conftest.er1
15382 ac_status=$?
15383 grep -v '^ *+' conftest.er1 >conftest.err
15384 rm -f conftest.er1
15385 cat conftest.err >&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); } &&
15388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15390 (eval $ac_try) 2>&5
15391 ac_status=$?
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }; } &&
15394 { ac_try='test -s conftest.$ac_objext'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15397 ac_status=$?
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; }; then
15400 ac_hi=$ac_mid
15401 else
15402 echo "$as_me: failed program was:" >&5
15403 sed 's/^/| /' conftest.$ac_ext >&5
15404
15405 ac_lo=`expr '(' $ac_mid ')' + 1`
15406 fi
15407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15408 done
15409 case $ac_lo in
15410 ?*) ac_cv_sizeof_short=$ac_lo;;
15411 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15412 See \`config.log' for more details." >&5
15413 echo "$as_me: error: cannot compute sizeof (short), 77
15414 See \`config.log' for more details." >&2;}
15415 { (exit 1); exit 1; }; } ;;
15416 esac
15417 else
15418 if test "$cross_compiling" = yes; then
15419 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15420 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15421 { (exit 1); exit 1; }; }
15422 else
15423 cat >conftest.$ac_ext <<_ACEOF
15424 /* confdefs.h. */
15425 _ACEOF
15426 cat confdefs.h >>conftest.$ac_ext
15427 cat >>conftest.$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15429 $ac_includes_default
15430 long longval () { return (long) (sizeof (short)); }
15431 unsigned long ulongval () { return (long) (sizeof (short)); }
15432 #include <stdio.h>
15433 #include <stdlib.h>
15434 int
15435 main ()
15436 {
15437
15438 FILE *f = fopen ("conftest.val", "w");
15439 if (! f)
15440 exit (1);
15441 if (((long) (sizeof (short))) < 0)
15442 {
15443 long i = longval ();
15444 if (i != ((long) (sizeof (short))))
15445 exit (1);
15446 fprintf (f, "%ld\n", i);
15447 }
15448 else
15449 {
15450 unsigned long i = ulongval ();
15451 if (i != ((long) (sizeof (short))))
15452 exit (1);
15453 fprintf (f, "%lu\n", i);
15454 }
15455 exit (ferror (f) || fclose (f) != 0);
15456
15457 ;
15458 return 0;
15459 }
15460 _ACEOF
15461 rm -f conftest$ac_exeext
15462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15463 (eval $ac_link) 2>&5
15464 ac_status=$?
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15468 (eval $ac_try) 2>&5
15469 ac_status=$?
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); }; }; then
15472 ac_cv_sizeof_short=`cat conftest.val`
15473 else
15474 echo "$as_me: program exited with status $ac_status" >&5
15475 echo "$as_me: failed program was:" >&5
15476 sed 's/^/| /' conftest.$ac_ext >&5
15477
15478 ( exit $ac_status )
15479 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15480 See \`config.log' for more details." >&5
15481 echo "$as_me: error: cannot compute sizeof (short), 77
15482 See \`config.log' for more details." >&2;}
15483 { (exit 1); exit 1; }; }
15484 fi
15485 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15486 fi
15487 fi
15488 rm -f conftest.val
15489 else
15490 ac_cv_sizeof_short=0
15491 fi
15492 fi
15493 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15494 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15495 cat >>confdefs.h <<_ACEOF
15496 #define SIZEOF_SHORT $ac_cv_sizeof_short
15497 _ACEOF
15498
15499
15500 echo "$as_me:$LINENO: checking for void *" >&5
15501 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15502 if test "${ac_cv_type_void_p+set}" = set; then
15503 echo $ECHO_N "(cached) $ECHO_C" >&6
15504 else
15505 cat >conftest.$ac_ext <<_ACEOF
15506 /* confdefs.h. */
15507 _ACEOF
15508 cat confdefs.h >>conftest.$ac_ext
15509 cat >>conftest.$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15511 $ac_includes_default
15512 int
15513 main ()
15514 {
15515 if ((void * *) 0)
15516 return 0;
15517 if (sizeof (void *))
15518 return 0;
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_cv_type_void_p=yes
15545 else
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.$ac_ext >&5
15548
15549 ac_cv_type_void_p=no
15550 fi
15551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15552 fi
15553 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15554 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15555
15556 echo "$as_me:$LINENO: checking size of void *" >&5
15557 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15558 if test "${ac_cv_sizeof_void_p+set}" = set; then
15559 echo $ECHO_N "(cached) $ECHO_C" >&6
15560 else
15561 if test "$ac_cv_type_void_p" = yes; then
15562 # The cast to unsigned long works around a bug in the HP C Compiler
15563 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15564 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15565 # This bug is HP SR number 8606223364.
15566 if test "$cross_compiling" = yes; then
15567 # Depending upon the size, compute the lo and hi bounds.
15568 cat >conftest.$ac_ext <<_ACEOF
15569 /* confdefs.h. */
15570 _ACEOF
15571 cat confdefs.h >>conftest.$ac_ext
15572 cat >>conftest.$ac_ext <<_ACEOF
15573 /* end confdefs.h. */
15574 $ac_includes_default
15575 int
15576 main ()
15577 {
15578 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15579 test_array [0] = 0
15580
15581 ;
15582 return 0;
15583 }
15584 _ACEOF
15585 rm -f conftest.$ac_objext
15586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15587 (eval $ac_compile) 2>conftest.er1
15588 ac_status=$?
15589 grep -v '^ *+' conftest.er1 >conftest.err
15590 rm -f conftest.er1
15591 cat conftest.err >&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); } &&
15594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15600 { ac_try='test -s conftest.$ac_objext'
15601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15602 (eval $ac_try) 2>&5
15603 ac_status=$?
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); }; }; then
15606 ac_lo=0 ac_mid=0
15607 while :; do
15608 cat >conftest.$ac_ext <<_ACEOF
15609 /* confdefs.h. */
15610 _ACEOF
15611 cat confdefs.h >>conftest.$ac_ext
15612 cat >>conftest.$ac_ext <<_ACEOF
15613 /* end confdefs.h. */
15614 $ac_includes_default
15615 int
15616 main ()
15617 {
15618 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15619 test_array [0] = 0
15620
15621 ;
15622 return 0;
15623 }
15624 _ACEOF
15625 rm -f conftest.$ac_objext
15626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15627 (eval $ac_compile) 2>conftest.er1
15628 ac_status=$?
15629 grep -v '^ *+' conftest.er1 >conftest.err
15630 rm -f conftest.er1
15631 cat conftest.err >&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); } &&
15634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15640 { ac_try='test -s conftest.$ac_objext'
15641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15642 (eval $ac_try) 2>&5
15643 ac_status=$?
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); }; }; then
15646 ac_hi=$ac_mid; break
15647 else
15648 echo "$as_me: failed program was:" >&5
15649 sed 's/^/| /' conftest.$ac_ext >&5
15650
15651 ac_lo=`expr $ac_mid + 1`
15652 if test $ac_lo -le $ac_mid; then
15653 ac_lo= ac_hi=
15654 break
15655 fi
15656 ac_mid=`expr 2 '*' $ac_mid + 1`
15657 fi
15658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15659 done
15660 else
15661 echo "$as_me: failed program was:" >&5
15662 sed 's/^/| /' conftest.$ac_ext >&5
15663
15664 cat >conftest.$ac_ext <<_ACEOF
15665 /* confdefs.h. */
15666 _ACEOF
15667 cat confdefs.h >>conftest.$ac_ext
15668 cat >>conftest.$ac_ext <<_ACEOF
15669 /* end confdefs.h. */
15670 $ac_includes_default
15671 int
15672 main ()
15673 {
15674 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15675 test_array [0] = 0
15676
15677 ;
15678 return 0;
15679 }
15680 _ACEOF
15681 rm -f conftest.$ac_objext
15682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15683 (eval $ac_compile) 2>conftest.er1
15684 ac_status=$?
15685 grep -v '^ *+' conftest.er1 >conftest.err
15686 rm -f conftest.er1
15687 cat conftest.err >&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); } &&
15690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15692 (eval $ac_try) 2>&5
15693 ac_status=$?
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); }; } &&
15696 { ac_try='test -s conftest.$ac_objext'
15697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15698 (eval $ac_try) 2>&5
15699 ac_status=$?
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); }; }; then
15702 ac_hi=-1 ac_mid=-1
15703 while :; do
15704 cat >conftest.$ac_ext <<_ACEOF
15705 /* confdefs.h. */
15706 _ACEOF
15707 cat confdefs.h >>conftest.$ac_ext
15708 cat >>conftest.$ac_ext <<_ACEOF
15709 /* end confdefs.h. */
15710 $ac_includes_default
15711 int
15712 main ()
15713 {
15714 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15715 test_array [0] = 0
15716
15717 ;
15718 return 0;
15719 }
15720 _ACEOF
15721 rm -f conftest.$ac_objext
15722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15723 (eval $ac_compile) 2>conftest.er1
15724 ac_status=$?
15725 grep -v '^ *+' conftest.er1 >conftest.err
15726 rm -f conftest.er1
15727 cat conftest.err >&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } &&
15730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15733 ac_status=$?
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; } &&
15736 { ac_try='test -s conftest.$ac_objext'
15737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15738 (eval $ac_try) 2>&5
15739 ac_status=$?
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); }; }; then
15742 ac_lo=$ac_mid; break
15743 else
15744 echo "$as_me: failed program was:" >&5
15745 sed 's/^/| /' conftest.$ac_ext >&5
15746
15747 ac_hi=`expr '(' $ac_mid ')' - 1`
15748 if test $ac_mid -le $ac_hi; then
15749 ac_lo= ac_hi=
15750 break
15751 fi
15752 ac_mid=`expr 2 '*' $ac_mid`
15753 fi
15754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15755 done
15756 else
15757 echo "$as_me: failed program was:" >&5
15758 sed 's/^/| /' conftest.$ac_ext >&5
15759
15760 ac_lo= ac_hi=
15761 fi
15762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15763 fi
15764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15765 # Binary search between lo and hi bounds.
15766 while test "x$ac_lo" != "x$ac_hi"; do
15767 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15768 cat >conftest.$ac_ext <<_ACEOF
15769 /* confdefs.h. */
15770 _ACEOF
15771 cat confdefs.h >>conftest.$ac_ext
15772 cat >>conftest.$ac_ext <<_ACEOF
15773 /* end confdefs.h. */
15774 $ac_includes_default
15775 int
15776 main ()
15777 {
15778 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15779 test_array [0] = 0
15780
15781 ;
15782 return 0;
15783 }
15784 _ACEOF
15785 rm -f conftest.$ac_objext
15786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15787 (eval $ac_compile) 2>conftest.er1
15788 ac_status=$?
15789 grep -v '^ *+' conftest.er1 >conftest.err
15790 rm -f conftest.er1
15791 cat conftest.err >&5
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); } &&
15794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15796 (eval $ac_try) 2>&5
15797 ac_status=$?
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); }; } &&
15800 { ac_try='test -s conftest.$ac_objext'
15801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15802 (eval $ac_try) 2>&5
15803 ac_status=$?
15804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15805 (exit $ac_status); }; }; then
15806 ac_hi=$ac_mid
15807 else
15808 echo "$as_me: failed program was:" >&5
15809 sed 's/^/| /' conftest.$ac_ext >&5
15810
15811 ac_lo=`expr '(' $ac_mid ')' + 1`
15812 fi
15813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15814 done
15815 case $ac_lo in
15816 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15817 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15818 See \`config.log' for more details." >&5
15819 echo "$as_me: error: cannot compute sizeof (void *), 77
15820 See \`config.log' for more details." >&2;}
15821 { (exit 1); exit 1; }; } ;;
15822 esac
15823 else
15824 if test "$cross_compiling" = yes; then
15825 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15826 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15827 { (exit 1); exit 1; }; }
15828 else
15829 cat >conftest.$ac_ext <<_ACEOF
15830 /* confdefs.h. */
15831 _ACEOF
15832 cat confdefs.h >>conftest.$ac_ext
15833 cat >>conftest.$ac_ext <<_ACEOF
15834 /* end confdefs.h. */
15835 $ac_includes_default
15836 long longval () { return (long) (sizeof (void *)); }
15837 unsigned long ulongval () { return (long) (sizeof (void *)); }
15838 #include <stdio.h>
15839 #include <stdlib.h>
15840 int
15841 main ()
15842 {
15843
15844 FILE *f = fopen ("conftest.val", "w");
15845 if (! f)
15846 exit (1);
15847 if (((long) (sizeof (void *))) < 0)
15848 {
15849 long i = longval ();
15850 if (i != ((long) (sizeof (void *))))
15851 exit (1);
15852 fprintf (f, "%ld\n", i);
15853 }
15854 else
15855 {
15856 unsigned long i = ulongval ();
15857 if (i != ((long) (sizeof (void *))))
15858 exit (1);
15859 fprintf (f, "%lu\n", i);
15860 }
15861 exit (ferror (f) || fclose (f) != 0);
15862
15863 ;
15864 return 0;
15865 }
15866 _ACEOF
15867 rm -f conftest$ac_exeext
15868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15869 (eval $ac_link) 2>&5
15870 ac_status=$?
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15874 (eval $ac_try) 2>&5
15875 ac_status=$?
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); }; }; then
15878 ac_cv_sizeof_void_p=`cat conftest.val`
15879 else
15880 echo "$as_me: program exited with status $ac_status" >&5
15881 echo "$as_me: failed program was:" >&5
15882 sed 's/^/| /' conftest.$ac_ext >&5
15883
15884 ( exit $ac_status )
15885 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15886 See \`config.log' for more details." >&5
15887 echo "$as_me: error: cannot compute sizeof (void *), 77
15888 See \`config.log' for more details." >&2;}
15889 { (exit 1); exit 1; }; }
15890 fi
15891 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15892 fi
15893 fi
15894 rm -f conftest.val
15895 else
15896 ac_cv_sizeof_void_p=0
15897 fi
15898 fi
15899 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15900 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15901 cat >>confdefs.h <<_ACEOF
15902 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15903 _ACEOF
15904
15905
15906 echo "$as_me:$LINENO: checking for int" >&5
15907 echo $ECHO_N "checking for int... $ECHO_C" >&6
15908 if test "${ac_cv_type_int+set}" = set; then
15909 echo $ECHO_N "(cached) $ECHO_C" >&6
15910 else
15911 cat >conftest.$ac_ext <<_ACEOF
15912 /* confdefs.h. */
15913 _ACEOF
15914 cat confdefs.h >>conftest.$ac_ext
15915 cat >>conftest.$ac_ext <<_ACEOF
15916 /* end confdefs.h. */
15917 $ac_includes_default
15918 int
15919 main ()
15920 {
15921 if ((int *) 0)
15922 return 0;
15923 if (sizeof (int))
15924 return 0;
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_cv_type_int=yes
15951 else
15952 echo "$as_me: failed program was:" >&5
15953 sed 's/^/| /' conftest.$ac_ext >&5
15954
15955 ac_cv_type_int=no
15956 fi
15957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15958 fi
15959 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15960 echo "${ECHO_T}$ac_cv_type_int" >&6
15961
15962 echo "$as_me:$LINENO: checking size of int" >&5
15963 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15964 if test "${ac_cv_sizeof_int+set}" = set; then
15965 echo $ECHO_N "(cached) $ECHO_C" >&6
15966 else
15967 if test "$ac_cv_type_int" = yes; then
15968 # The cast to unsigned long works around a bug in the HP C Compiler
15969 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15970 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15971 # This bug is HP SR number 8606223364.
15972 if test "$cross_compiling" = yes; then
15973 # Depending upon the size, compute the lo and hi bounds.
15974 cat >conftest.$ac_ext <<_ACEOF
15975 /* confdefs.h. */
15976 _ACEOF
15977 cat confdefs.h >>conftest.$ac_ext
15978 cat >>conftest.$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15980 $ac_includes_default
15981 int
15982 main ()
15983 {
15984 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15985 test_array [0] = 0
15986
15987 ;
15988 return 0;
15989 }
15990 _ACEOF
15991 rm -f conftest.$ac_objext
15992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15993 (eval $ac_compile) 2>conftest.er1
15994 ac_status=$?
15995 grep -v '^ *+' conftest.er1 >conftest.err
15996 rm -f conftest.er1
15997 cat conftest.err >&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); } &&
16000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16006 { ac_try='test -s conftest.$ac_objext'
16007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16008 (eval $ac_try) 2>&5
16009 ac_status=$?
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); }; }; then
16012 ac_lo=0 ac_mid=0
16013 while :; do
16014 cat >conftest.$ac_ext <<_ACEOF
16015 /* confdefs.h. */
16016 _ACEOF
16017 cat confdefs.h >>conftest.$ac_ext
16018 cat >>conftest.$ac_ext <<_ACEOF
16019 /* end confdefs.h. */
16020 $ac_includes_default
16021 int
16022 main ()
16023 {
16024 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16025 test_array [0] = 0
16026
16027 ;
16028 return 0;
16029 }
16030 _ACEOF
16031 rm -f conftest.$ac_objext
16032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16033 (eval $ac_compile) 2>conftest.er1
16034 ac_status=$?
16035 grep -v '^ *+' conftest.er1 >conftest.err
16036 rm -f conftest.er1
16037 cat conftest.err >&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); } &&
16040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16046 { ac_try='test -s conftest.$ac_objext'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16049 ac_status=$?
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; }; then
16052 ac_hi=$ac_mid; break
16053 else
16054 echo "$as_me: failed program was:" >&5
16055 sed 's/^/| /' conftest.$ac_ext >&5
16056
16057 ac_lo=`expr $ac_mid + 1`
16058 if test $ac_lo -le $ac_mid; then
16059 ac_lo= ac_hi=
16060 break
16061 fi
16062 ac_mid=`expr 2 '*' $ac_mid + 1`
16063 fi
16064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16065 done
16066 else
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.$ac_ext >&5
16069
16070 cat >conftest.$ac_ext <<_ACEOF
16071 /* confdefs.h. */
16072 _ACEOF
16073 cat confdefs.h >>conftest.$ac_ext
16074 cat >>conftest.$ac_ext <<_ACEOF
16075 /* end confdefs.h. */
16076 $ac_includes_default
16077 int
16078 main ()
16079 {
16080 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16081 test_array [0] = 0
16082
16083 ;
16084 return 0;
16085 }
16086 _ACEOF
16087 rm -f conftest.$ac_objext
16088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16089 (eval $ac_compile) 2>conftest.er1
16090 ac_status=$?
16091 grep -v '^ *+' conftest.er1 >conftest.err
16092 rm -f conftest.er1
16093 cat conftest.err >&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); } &&
16096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098 (eval $ac_try) 2>&5
16099 ac_status=$?
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; } &&
16102 { ac_try='test -s conftest.$ac_objext'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16105 ac_status=$?
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; }; then
16108 ac_hi=-1 ac_mid=-1
16109 while :; do
16110 cat >conftest.$ac_ext <<_ACEOF
16111 /* confdefs.h. */
16112 _ACEOF
16113 cat confdefs.h >>conftest.$ac_ext
16114 cat >>conftest.$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16116 $ac_includes_default
16117 int
16118 main ()
16119 {
16120 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16121 test_array [0] = 0
16122
16123 ;
16124 return 0;
16125 }
16126 _ACEOF
16127 rm -f conftest.$ac_objext
16128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16129 (eval $ac_compile) 2>conftest.er1
16130 ac_status=$?
16131 grep -v '^ *+' conftest.er1 >conftest.err
16132 rm -f conftest.er1
16133 cat conftest.err >&5
16134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16135 (exit $ac_status); } &&
16136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16138 (eval $ac_try) 2>&5
16139 ac_status=$?
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); }; } &&
16142 { ac_try='test -s conftest.$ac_objext'
16143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16144 (eval $ac_try) 2>&5
16145 ac_status=$?
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); }; }; then
16148 ac_lo=$ac_mid; break
16149 else
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.$ac_ext >&5
16152
16153 ac_hi=`expr '(' $ac_mid ')' - 1`
16154 if test $ac_mid -le $ac_hi; then
16155 ac_lo= ac_hi=
16156 break
16157 fi
16158 ac_mid=`expr 2 '*' $ac_mid`
16159 fi
16160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16161 done
16162 else
16163 echo "$as_me: failed program was:" >&5
16164 sed 's/^/| /' conftest.$ac_ext >&5
16165
16166 ac_lo= ac_hi=
16167 fi
16168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16169 fi
16170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16171 # Binary search between lo and hi bounds.
16172 while test "x$ac_lo" != "x$ac_hi"; do
16173 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16174 cat >conftest.$ac_ext <<_ACEOF
16175 /* confdefs.h. */
16176 _ACEOF
16177 cat confdefs.h >>conftest.$ac_ext
16178 cat >>conftest.$ac_ext <<_ACEOF
16179 /* end confdefs.h. */
16180 $ac_includes_default
16181 int
16182 main ()
16183 {
16184 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16185 test_array [0] = 0
16186
16187 ;
16188 return 0;
16189 }
16190 _ACEOF
16191 rm -f conftest.$ac_objext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16193 (eval $ac_compile) 2>conftest.er1
16194 ac_status=$?
16195 grep -v '^ *+' conftest.er1 >conftest.err
16196 rm -f conftest.er1
16197 cat conftest.err >&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } &&
16200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16203 ac_status=$?
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; } &&
16206 { ac_try='test -s conftest.$ac_objext'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16209 ac_status=$?
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; }; then
16212 ac_hi=$ac_mid
16213 else
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.$ac_ext >&5
16216
16217 ac_lo=`expr '(' $ac_mid ')' + 1`
16218 fi
16219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16220 done
16221 case $ac_lo in
16222 ?*) ac_cv_sizeof_int=$ac_lo;;
16223 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16224 See \`config.log' for more details." >&5
16225 echo "$as_me: error: cannot compute sizeof (int), 77
16226 See \`config.log' for more details." >&2;}
16227 { (exit 1); exit 1; }; } ;;
16228 esac
16229 else
16230 if test "$cross_compiling" = yes; then
16231 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16232 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16233 { (exit 1); exit 1; }; }
16234 else
16235 cat >conftest.$ac_ext <<_ACEOF
16236 /* confdefs.h. */
16237 _ACEOF
16238 cat confdefs.h >>conftest.$ac_ext
16239 cat >>conftest.$ac_ext <<_ACEOF
16240 /* end confdefs.h. */
16241 $ac_includes_default
16242 long longval () { return (long) (sizeof (int)); }
16243 unsigned long ulongval () { return (long) (sizeof (int)); }
16244 #include <stdio.h>
16245 #include <stdlib.h>
16246 int
16247 main ()
16248 {
16249
16250 FILE *f = fopen ("conftest.val", "w");
16251 if (! f)
16252 exit (1);
16253 if (((long) (sizeof (int))) < 0)
16254 {
16255 long i = longval ();
16256 if (i != ((long) (sizeof (int))))
16257 exit (1);
16258 fprintf (f, "%ld\n", i);
16259 }
16260 else
16261 {
16262 unsigned long i = ulongval ();
16263 if (i != ((long) (sizeof (int))))
16264 exit (1);
16265 fprintf (f, "%lu\n", i);
16266 }
16267 exit (ferror (f) || fclose (f) != 0);
16268
16269 ;
16270 return 0;
16271 }
16272 _ACEOF
16273 rm -f conftest$ac_exeext
16274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16275 (eval $ac_link) 2>&5
16276 ac_status=$?
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16281 ac_status=$?
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; }; then
16284 ac_cv_sizeof_int=`cat conftest.val`
16285 else
16286 echo "$as_me: program exited with status $ac_status" >&5
16287 echo "$as_me: failed program was:" >&5
16288 sed 's/^/| /' conftest.$ac_ext >&5
16289
16290 ( exit $ac_status )
16291 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16292 See \`config.log' for more details." >&5
16293 echo "$as_me: error: cannot compute sizeof (int), 77
16294 See \`config.log' for more details." >&2;}
16295 { (exit 1); exit 1; }; }
16296 fi
16297 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16298 fi
16299 fi
16300 rm -f conftest.val
16301 else
16302 ac_cv_sizeof_int=0
16303 fi
16304 fi
16305 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16306 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16307 cat >>confdefs.h <<_ACEOF
16308 #define SIZEOF_INT $ac_cv_sizeof_int
16309 _ACEOF
16310
16311
16312 echo "$as_me:$LINENO: checking for long" >&5
16313 echo $ECHO_N "checking for long... $ECHO_C" >&6
16314 if test "${ac_cv_type_long+set}" = set; then
16315 echo $ECHO_N "(cached) $ECHO_C" >&6
16316 else
16317 cat >conftest.$ac_ext <<_ACEOF
16318 /* confdefs.h. */
16319 _ACEOF
16320 cat confdefs.h >>conftest.$ac_ext
16321 cat >>conftest.$ac_ext <<_ACEOF
16322 /* end confdefs.h. */
16323 $ac_includes_default
16324 int
16325 main ()
16326 {
16327 if ((long *) 0)
16328 return 0;
16329 if (sizeof (long))
16330 return 0;
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_cv_type_long=yes
16357 else
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.$ac_ext >&5
16360
16361 ac_cv_type_long=no
16362 fi
16363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16364 fi
16365 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16366 echo "${ECHO_T}$ac_cv_type_long" >&6
16367
16368 echo "$as_me:$LINENO: checking size of long" >&5
16369 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16370 if test "${ac_cv_sizeof_long+set}" = set; then
16371 echo $ECHO_N "(cached) $ECHO_C" >&6
16372 else
16373 if test "$ac_cv_type_long" = yes; then
16374 # The cast to unsigned long works around a bug in the HP C Compiler
16375 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16376 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16377 # This bug is HP SR number 8606223364.
16378 if test "$cross_compiling" = yes; then
16379 # Depending upon the size, compute the lo and hi bounds.
16380 cat >conftest.$ac_ext <<_ACEOF
16381 /* confdefs.h. */
16382 _ACEOF
16383 cat confdefs.h >>conftest.$ac_ext
16384 cat >>conftest.$ac_ext <<_ACEOF
16385 /* end confdefs.h. */
16386 $ac_includes_default
16387 int
16388 main ()
16389 {
16390 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16391 test_array [0] = 0
16392
16393 ;
16394 return 0;
16395 }
16396 _ACEOF
16397 rm -f conftest.$ac_objext
16398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16399 (eval $ac_compile) 2>conftest.er1
16400 ac_status=$?
16401 grep -v '^ *+' conftest.er1 >conftest.err
16402 rm -f conftest.er1
16403 cat conftest.err >&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); } &&
16406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16412 { ac_try='test -s conftest.$ac_objext'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16415 ac_status=$?
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; }; then
16418 ac_lo=0 ac_mid=0
16419 while :; do
16420 cat >conftest.$ac_ext <<_ACEOF
16421 /* confdefs.h. */
16422 _ACEOF
16423 cat confdefs.h >>conftest.$ac_ext
16424 cat >>conftest.$ac_ext <<_ACEOF
16425 /* end confdefs.h. */
16426 $ac_includes_default
16427 int
16428 main ()
16429 {
16430 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16431 test_array [0] = 0
16432
16433 ;
16434 return 0;
16435 }
16436 _ACEOF
16437 rm -f conftest.$ac_objext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16439 (eval $ac_compile) 2>conftest.er1
16440 ac_status=$?
16441 grep -v '^ *+' conftest.er1 >conftest.err
16442 rm -f conftest.er1
16443 cat conftest.err >&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } &&
16446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16452 { ac_try='test -s conftest.$ac_objext'
16453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16454 (eval $ac_try) 2>&5
16455 ac_status=$?
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); }; }; then
16458 ac_hi=$ac_mid; break
16459 else
16460 echo "$as_me: failed program was:" >&5
16461 sed 's/^/| /' conftest.$ac_ext >&5
16462
16463 ac_lo=`expr $ac_mid + 1`
16464 if test $ac_lo -le $ac_mid; then
16465 ac_lo= ac_hi=
16466 break
16467 fi
16468 ac_mid=`expr 2 '*' $ac_mid + 1`
16469 fi
16470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16471 done
16472 else
16473 echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.$ac_ext >&5
16475
16476 cat >conftest.$ac_ext <<_ACEOF
16477 /* confdefs.h. */
16478 _ACEOF
16479 cat confdefs.h >>conftest.$ac_ext
16480 cat >>conftest.$ac_ext <<_ACEOF
16481 /* end confdefs.h. */
16482 $ac_includes_default
16483 int
16484 main ()
16485 {
16486 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16487 test_array [0] = 0
16488
16489 ;
16490 return 0;
16491 }
16492 _ACEOF
16493 rm -f conftest.$ac_objext
16494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16495 (eval $ac_compile) 2>conftest.er1
16496 ac_status=$?
16497 grep -v '^ *+' conftest.er1 >conftest.err
16498 rm -f conftest.er1
16499 cat conftest.err >&5
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); } &&
16502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16505 ac_status=$?
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; } &&
16508 { ac_try='test -s conftest.$ac_objext'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16511 ac_status=$?
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; }; then
16514 ac_hi=-1 ac_mid=-1
16515 while :; do
16516 cat >conftest.$ac_ext <<_ACEOF
16517 /* confdefs.h. */
16518 _ACEOF
16519 cat confdefs.h >>conftest.$ac_ext
16520 cat >>conftest.$ac_ext <<_ACEOF
16521 /* end confdefs.h. */
16522 $ac_includes_default
16523 int
16524 main ()
16525 {
16526 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16527 test_array [0] = 0
16528
16529 ;
16530 return 0;
16531 }
16532 _ACEOF
16533 rm -f conftest.$ac_objext
16534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16535 (eval $ac_compile) 2>conftest.er1
16536 ac_status=$?
16537 grep -v '^ *+' conftest.er1 >conftest.err
16538 rm -f conftest.er1
16539 cat conftest.err >&5
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); } &&
16542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16544 (eval $ac_try) 2>&5
16545 ac_status=$?
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); }; } &&
16548 { ac_try='test -s conftest.$ac_objext'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16551 ac_status=$?
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 ac_lo=$ac_mid; break
16555 else
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.$ac_ext >&5
16558
16559 ac_hi=`expr '(' $ac_mid ')' - 1`
16560 if test $ac_mid -le $ac_hi; then
16561 ac_lo= ac_hi=
16562 break
16563 fi
16564 ac_mid=`expr 2 '*' $ac_mid`
16565 fi
16566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16567 done
16568 else
16569 echo "$as_me: failed program was:" >&5
16570 sed 's/^/| /' conftest.$ac_ext >&5
16571
16572 ac_lo= ac_hi=
16573 fi
16574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16575 fi
16576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16577 # Binary search between lo and hi bounds.
16578 while test "x$ac_lo" != "x$ac_hi"; do
16579 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16580 cat >conftest.$ac_ext <<_ACEOF
16581 /* confdefs.h. */
16582 _ACEOF
16583 cat confdefs.h >>conftest.$ac_ext
16584 cat >>conftest.$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 $ac_includes_default
16587 int
16588 main ()
16589 {
16590 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16591 test_array [0] = 0
16592
16593 ;
16594 return 0;
16595 }
16596 _ACEOF
16597 rm -f conftest.$ac_objext
16598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16599 (eval $ac_compile) 2>conftest.er1
16600 ac_status=$?
16601 grep -v '^ *+' conftest.er1 >conftest.err
16602 rm -f conftest.er1
16603 cat conftest.err >&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); } &&
16606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16608 (eval $ac_try) 2>&5
16609 ac_status=$?
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); }; } &&
16612 { ac_try='test -s conftest.$ac_objext'
16613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16614 (eval $ac_try) 2>&5
16615 ac_status=$?
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); }; }; then
16618 ac_hi=$ac_mid
16619 else
16620 echo "$as_me: failed program was:" >&5
16621 sed 's/^/| /' conftest.$ac_ext >&5
16622
16623 ac_lo=`expr '(' $ac_mid ')' + 1`
16624 fi
16625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16626 done
16627 case $ac_lo in
16628 ?*) ac_cv_sizeof_long=$ac_lo;;
16629 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16630 See \`config.log' for more details." >&5
16631 echo "$as_me: error: cannot compute sizeof (long), 77
16632 See \`config.log' for more details." >&2;}
16633 { (exit 1); exit 1; }; } ;;
16634 esac
16635 else
16636 if test "$cross_compiling" = yes; then
16637 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16638 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16639 { (exit 1); exit 1; }; }
16640 else
16641 cat >conftest.$ac_ext <<_ACEOF
16642 /* confdefs.h. */
16643 _ACEOF
16644 cat confdefs.h >>conftest.$ac_ext
16645 cat >>conftest.$ac_ext <<_ACEOF
16646 /* end confdefs.h. */
16647 $ac_includes_default
16648 long longval () { return (long) (sizeof (long)); }
16649 unsigned long ulongval () { return (long) (sizeof (long)); }
16650 #include <stdio.h>
16651 #include <stdlib.h>
16652 int
16653 main ()
16654 {
16655
16656 FILE *f = fopen ("conftest.val", "w");
16657 if (! f)
16658 exit (1);
16659 if (((long) (sizeof (long))) < 0)
16660 {
16661 long i = longval ();
16662 if (i != ((long) (sizeof (long))))
16663 exit (1);
16664 fprintf (f, "%ld\n", i);
16665 }
16666 else
16667 {
16668 unsigned long i = ulongval ();
16669 if (i != ((long) (sizeof (long))))
16670 exit (1);
16671 fprintf (f, "%lu\n", i);
16672 }
16673 exit (ferror (f) || fclose (f) != 0);
16674
16675 ;
16676 return 0;
16677 }
16678 _ACEOF
16679 rm -f conftest$ac_exeext
16680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16681 (eval $ac_link) 2>&5
16682 ac_status=$?
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16686 (eval $ac_try) 2>&5
16687 ac_status=$?
16688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689 (exit $ac_status); }; }; then
16690 ac_cv_sizeof_long=`cat conftest.val`
16691 else
16692 echo "$as_me: program exited with status $ac_status" >&5
16693 echo "$as_me: failed program was:" >&5
16694 sed 's/^/| /' conftest.$ac_ext >&5
16695
16696 ( exit $ac_status )
16697 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16698 See \`config.log' for more details." >&5
16699 echo "$as_me: error: cannot compute sizeof (long), 77
16700 See \`config.log' for more details." >&2;}
16701 { (exit 1); exit 1; }; }
16702 fi
16703 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16704 fi
16705 fi
16706 rm -f conftest.val
16707 else
16708 ac_cv_sizeof_long=0
16709 fi
16710 fi
16711 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16712 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16713 cat >>confdefs.h <<_ACEOF
16714 #define SIZEOF_LONG $ac_cv_sizeof_long
16715 _ACEOF
16716
16717
16718 echo "$as_me:$LINENO: checking for size_t" >&5
16719 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16720 if test "${ac_cv_type_size_t+set}" = set; then
16721 echo $ECHO_N "(cached) $ECHO_C" >&6
16722 else
16723 cat >conftest.$ac_ext <<_ACEOF
16724 /* confdefs.h. */
16725 _ACEOF
16726 cat confdefs.h >>conftest.$ac_ext
16727 cat >>conftest.$ac_ext <<_ACEOF
16728 /* end confdefs.h. */
16729 $ac_includes_default
16730 int
16731 main ()
16732 {
16733 if ((size_t *) 0)
16734 return 0;
16735 if (sizeof (size_t))
16736 return 0;
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_cv_type_size_t=yes
16763 else
16764 echo "$as_me: failed program was:" >&5
16765 sed 's/^/| /' conftest.$ac_ext >&5
16766
16767 ac_cv_type_size_t=no
16768 fi
16769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16770 fi
16771 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16772 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16773
16774 echo "$as_me:$LINENO: checking size of size_t" >&5
16775 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16776 if test "${ac_cv_sizeof_size_t+set}" = set; then
16777 echo $ECHO_N "(cached) $ECHO_C" >&6
16778 else
16779 if test "$ac_cv_type_size_t" = yes; then
16780 # The cast to unsigned long works around a bug in the HP C Compiler
16781 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16782 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16783 # This bug is HP SR number 8606223364.
16784 if test "$cross_compiling" = yes; then
16785 # Depending upon the size, compute the lo and hi bounds.
16786 cat >conftest.$ac_ext <<_ACEOF
16787 /* confdefs.h. */
16788 _ACEOF
16789 cat confdefs.h >>conftest.$ac_ext
16790 cat >>conftest.$ac_ext <<_ACEOF
16791 /* end confdefs.h. */
16792 $ac_includes_default
16793 int
16794 main ()
16795 {
16796 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16797 test_array [0] = 0
16798
16799 ;
16800 return 0;
16801 }
16802 _ACEOF
16803 rm -f conftest.$ac_objext
16804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16805 (eval $ac_compile) 2>conftest.er1
16806 ac_status=$?
16807 grep -v '^ *+' conftest.er1 >conftest.err
16808 rm -f conftest.er1
16809 cat conftest.err >&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } &&
16812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16818 { ac_try='test -s conftest.$ac_objext'
16819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16820 (eval $ac_try) 2>&5
16821 ac_status=$?
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); }; }; then
16824 ac_lo=0 ac_mid=0
16825 while :; do
16826 cat >conftest.$ac_ext <<_ACEOF
16827 /* confdefs.h. */
16828 _ACEOF
16829 cat confdefs.h >>conftest.$ac_ext
16830 cat >>conftest.$ac_ext <<_ACEOF
16831 /* end confdefs.h. */
16832 $ac_includes_default
16833 int
16834 main ()
16835 {
16836 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16837 test_array [0] = 0
16838
16839 ;
16840 return 0;
16841 }
16842 _ACEOF
16843 rm -f conftest.$ac_objext
16844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16845 (eval $ac_compile) 2>conftest.er1
16846 ac_status=$?
16847 grep -v '^ *+' conftest.er1 >conftest.err
16848 rm -f conftest.er1
16849 cat conftest.err >&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); } &&
16852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16858 { ac_try='test -s conftest.$ac_objext'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16861 ac_status=$?
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; }; then
16864 ac_hi=$ac_mid; break
16865 else
16866 echo "$as_me: failed program was:" >&5
16867 sed 's/^/| /' conftest.$ac_ext >&5
16868
16869 ac_lo=`expr $ac_mid + 1`
16870 if test $ac_lo -le $ac_mid; then
16871 ac_lo= ac_hi=
16872 break
16873 fi
16874 ac_mid=`expr 2 '*' $ac_mid + 1`
16875 fi
16876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16877 done
16878 else
16879 echo "$as_me: failed program was:" >&5
16880 sed 's/^/| /' conftest.$ac_ext >&5
16881
16882 cat >conftest.$ac_ext <<_ACEOF
16883 /* confdefs.h. */
16884 _ACEOF
16885 cat confdefs.h >>conftest.$ac_ext
16886 cat >>conftest.$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16888 $ac_includes_default
16889 int
16890 main ()
16891 {
16892 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16893 test_array [0] = 0
16894
16895 ;
16896 return 0;
16897 }
16898 _ACEOF
16899 rm -f conftest.$ac_objext
16900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16901 (eval $ac_compile) 2>conftest.er1
16902 ac_status=$?
16903 grep -v '^ *+' conftest.er1 >conftest.err
16904 rm -f conftest.er1
16905 cat conftest.err >&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } &&
16908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16910 (eval $ac_try) 2>&5
16911 ac_status=$?
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); }; } &&
16914 { ac_try='test -s conftest.$ac_objext'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16917 ac_status=$?
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; }; then
16920 ac_hi=-1 ac_mid=-1
16921 while :; do
16922 cat >conftest.$ac_ext <<_ACEOF
16923 /* confdefs.h. */
16924 _ACEOF
16925 cat confdefs.h >>conftest.$ac_ext
16926 cat >>conftest.$ac_ext <<_ACEOF
16927 /* end confdefs.h. */
16928 $ac_includes_default
16929 int
16930 main ()
16931 {
16932 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16933 test_array [0] = 0
16934
16935 ;
16936 return 0;
16937 }
16938 _ACEOF
16939 rm -f conftest.$ac_objext
16940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16941 (eval $ac_compile) 2>conftest.er1
16942 ac_status=$?
16943 grep -v '^ *+' conftest.er1 >conftest.err
16944 rm -f conftest.er1
16945 cat conftest.err >&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); } &&
16948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16951 ac_status=$?
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; } &&
16954 { ac_try='test -s conftest.$ac_objext'
16955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16956 (eval $ac_try) 2>&5
16957 ac_status=$?
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; }; then
16960 ac_lo=$ac_mid; break
16961 else
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.$ac_ext >&5
16964
16965 ac_hi=`expr '(' $ac_mid ')' - 1`
16966 if test $ac_mid -le $ac_hi; then
16967 ac_lo= ac_hi=
16968 break
16969 fi
16970 ac_mid=`expr 2 '*' $ac_mid`
16971 fi
16972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16973 done
16974 else
16975 echo "$as_me: failed program was:" >&5
16976 sed 's/^/| /' conftest.$ac_ext >&5
16977
16978 ac_lo= ac_hi=
16979 fi
16980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16981 fi
16982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16983 # Binary search between lo and hi bounds.
16984 while test "x$ac_lo" != "x$ac_hi"; do
16985 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16986 cat >conftest.$ac_ext <<_ACEOF
16987 /* confdefs.h. */
16988 _ACEOF
16989 cat confdefs.h >>conftest.$ac_ext
16990 cat >>conftest.$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16992 $ac_includes_default
16993 int
16994 main ()
16995 {
16996 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16997 test_array [0] = 0
16998
16999 ;
17000 return 0;
17001 }
17002 _ACEOF
17003 rm -f conftest.$ac_objext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17005 (eval $ac_compile) 2>conftest.er1
17006 ac_status=$?
17007 grep -v '^ *+' conftest.er1 >conftest.err
17008 rm -f conftest.er1
17009 cat conftest.err >&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } &&
17012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014 (eval $ac_try) 2>&5
17015 ac_status=$?
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); }; } &&
17018 { ac_try='test -s conftest.$ac_objext'
17019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17020 (eval $ac_try) 2>&5
17021 ac_status=$?
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }; }; then
17024 ac_hi=$ac_mid
17025 else
17026 echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.$ac_ext >&5
17028
17029 ac_lo=`expr '(' $ac_mid ')' + 1`
17030 fi
17031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17032 done
17033 case $ac_lo in
17034 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17035 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17036 See \`config.log' for more details." >&5
17037 echo "$as_me: error: cannot compute sizeof (size_t), 77
17038 See \`config.log' for more details." >&2;}
17039 { (exit 1); exit 1; }; } ;;
17040 esac
17041 else
17042 if test "$cross_compiling" = yes; then
17043 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17044 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17045 { (exit 1); exit 1; }; }
17046 else
17047 cat >conftest.$ac_ext <<_ACEOF
17048 /* confdefs.h. */
17049 _ACEOF
17050 cat confdefs.h >>conftest.$ac_ext
17051 cat >>conftest.$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 $ac_includes_default
17054 long longval () { return (long) (sizeof (size_t)); }
17055 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17056 #include <stdio.h>
17057 #include <stdlib.h>
17058 int
17059 main ()
17060 {
17061
17062 FILE *f = fopen ("conftest.val", "w");
17063 if (! f)
17064 exit (1);
17065 if (((long) (sizeof (size_t))) < 0)
17066 {
17067 long i = longval ();
17068 if (i != ((long) (sizeof (size_t))))
17069 exit (1);
17070 fprintf (f, "%ld\n", i);
17071 }
17072 else
17073 {
17074 unsigned long i = ulongval ();
17075 if (i != ((long) (sizeof (size_t))))
17076 exit (1);
17077 fprintf (f, "%lu\n", i);
17078 }
17079 exit (ferror (f) || fclose (f) != 0);
17080
17081 ;
17082 return 0;
17083 }
17084 _ACEOF
17085 rm -f conftest$ac_exeext
17086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17087 (eval $ac_link) 2>&5
17088 ac_status=$?
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17093 ac_status=$?
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; }; then
17096 ac_cv_sizeof_size_t=`cat conftest.val`
17097 else
17098 echo "$as_me: program exited with status $ac_status" >&5
17099 echo "$as_me: failed program was:" >&5
17100 sed 's/^/| /' conftest.$ac_ext >&5
17101
17102 ( exit $ac_status )
17103 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17104 See \`config.log' for more details." >&5
17105 echo "$as_me: error: cannot compute sizeof (size_t), 77
17106 See \`config.log' for more details." >&2;}
17107 { (exit 1); exit 1; }; }
17108 fi
17109 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17110 fi
17111 fi
17112 rm -f conftest.val
17113 else
17114 ac_cv_sizeof_size_t=0
17115 fi
17116 fi
17117 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17118 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17119 cat >>confdefs.h <<_ACEOF
17120 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17121 _ACEOF
17122
17123
17124
17125 case "${host}" in
17126 arm-*-linux* )
17127 echo "$as_me:$LINENO: checking for long long" >&5
17128 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17129 if test "${ac_cv_type_long_long+set}" = set; then
17130 echo $ECHO_N "(cached) $ECHO_C" >&6
17131 else
17132 cat >conftest.$ac_ext <<_ACEOF
17133 /* confdefs.h. */
17134 _ACEOF
17135 cat confdefs.h >>conftest.$ac_ext
17136 cat >>conftest.$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17138 $ac_includes_default
17139 int
17140 main ()
17141 {
17142 if ((long long *) 0)
17143 return 0;
17144 if (sizeof (long long))
17145 return 0;
17146 ;
17147 return 0;
17148 }
17149 _ACEOF
17150 rm -f conftest.$ac_objext
17151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17152 (eval $ac_compile) 2>conftest.er1
17153 ac_status=$?
17154 grep -v '^ *+' conftest.er1 >conftest.err
17155 rm -f conftest.er1
17156 cat conftest.err >&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } &&
17159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17161 (eval $ac_try) 2>&5
17162 ac_status=$?
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; } &&
17165 { ac_try='test -s conftest.$ac_objext'
17166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17167 (eval $ac_try) 2>&5
17168 ac_status=$?
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); }; }; then
17171 ac_cv_type_long_long=yes
17172 else
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.$ac_ext >&5
17175
17176 ac_cv_type_long_long=no
17177 fi
17178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17179 fi
17180 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17181 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17182
17183 echo "$as_me:$LINENO: checking size of long long" >&5
17184 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17185 if test "${ac_cv_sizeof_long_long+set}" = set; then
17186 echo $ECHO_N "(cached) $ECHO_C" >&6
17187 else
17188 if test "$ac_cv_type_long_long" = yes; then
17189 # The cast to unsigned long works around a bug in the HP C Compiler
17190 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17191 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17192 # This bug is HP SR number 8606223364.
17193 if test "$cross_compiling" = yes; then
17194 # Depending upon the size, compute the lo and hi bounds.
17195 cat >conftest.$ac_ext <<_ACEOF
17196 /* confdefs.h. */
17197 _ACEOF
17198 cat confdefs.h >>conftest.$ac_ext
17199 cat >>conftest.$ac_ext <<_ACEOF
17200 /* end confdefs.h. */
17201 $ac_includes_default
17202 int
17203 main ()
17204 {
17205 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17206 test_array [0] = 0
17207
17208 ;
17209 return 0;
17210 }
17211 _ACEOF
17212 rm -f conftest.$ac_objext
17213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17214 (eval $ac_compile) 2>conftest.er1
17215 ac_status=$?
17216 grep -v '^ *+' conftest.er1 >conftest.err
17217 rm -f conftest.er1
17218 cat conftest.err >&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); } &&
17221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17223 (eval $ac_try) 2>&5
17224 ac_status=$?
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); }; } &&
17227 { ac_try='test -s conftest.$ac_objext'
17228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17229 (eval $ac_try) 2>&5
17230 ac_status=$?
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); }; }; then
17233 ac_lo=0 ac_mid=0
17234 while :; do
17235 cat >conftest.$ac_ext <<_ACEOF
17236 /* confdefs.h. */
17237 _ACEOF
17238 cat confdefs.h >>conftest.$ac_ext
17239 cat >>conftest.$ac_ext <<_ACEOF
17240 /* end confdefs.h. */
17241 $ac_includes_default
17242 int
17243 main ()
17244 {
17245 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17246 test_array [0] = 0
17247
17248 ;
17249 return 0;
17250 }
17251 _ACEOF
17252 rm -f conftest.$ac_objext
17253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17254 (eval $ac_compile) 2>conftest.er1
17255 ac_status=$?
17256 grep -v '^ *+' conftest.er1 >conftest.err
17257 rm -f conftest.er1
17258 cat conftest.err >&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } &&
17261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17264 ac_status=$?
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; } &&
17267 { ac_try='test -s conftest.$ac_objext'
17268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17269 (eval $ac_try) 2>&5
17270 ac_status=$?
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); }; }; then
17273 ac_hi=$ac_mid; break
17274 else
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.$ac_ext >&5
17277
17278 ac_lo=`expr $ac_mid + 1`
17279 if test $ac_lo -le $ac_mid; then
17280 ac_lo= ac_hi=
17281 break
17282 fi
17283 ac_mid=`expr 2 '*' $ac_mid + 1`
17284 fi
17285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17286 done
17287 else
17288 echo "$as_me: failed program was:" >&5
17289 sed 's/^/| /' conftest.$ac_ext >&5
17290
17291 cat >conftest.$ac_ext <<_ACEOF
17292 /* confdefs.h. */
17293 _ACEOF
17294 cat confdefs.h >>conftest.$ac_ext
17295 cat >>conftest.$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17297 $ac_includes_default
17298 int
17299 main ()
17300 {
17301 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17302 test_array [0] = 0
17303
17304 ;
17305 return 0;
17306 }
17307 _ACEOF
17308 rm -f conftest.$ac_objext
17309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17310 (eval $ac_compile) 2>conftest.er1
17311 ac_status=$?
17312 grep -v '^ *+' conftest.er1 >conftest.err
17313 rm -f conftest.er1
17314 cat conftest.err >&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } &&
17317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17319 (eval $ac_try) 2>&5
17320 ac_status=$?
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); }; } &&
17323 { ac_try='test -s conftest.$ac_objext'
17324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17325 (eval $ac_try) 2>&5
17326 ac_status=$?
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); }; }; then
17329 ac_hi=-1 ac_mid=-1
17330 while :; do
17331 cat >conftest.$ac_ext <<_ACEOF
17332 /* confdefs.h. */
17333 _ACEOF
17334 cat confdefs.h >>conftest.$ac_ext
17335 cat >>conftest.$ac_ext <<_ACEOF
17336 /* end confdefs.h. */
17337 $ac_includes_default
17338 int
17339 main ()
17340 {
17341 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17342 test_array [0] = 0
17343
17344 ;
17345 return 0;
17346 }
17347 _ACEOF
17348 rm -f conftest.$ac_objext
17349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17350 (eval $ac_compile) 2>conftest.er1
17351 ac_status=$?
17352 grep -v '^ *+' conftest.er1 >conftest.err
17353 rm -f conftest.er1
17354 cat conftest.err >&5
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); } &&
17357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17359 (eval $ac_try) 2>&5
17360 ac_status=$?
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); }; } &&
17363 { ac_try='test -s conftest.$ac_objext'
17364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17365 (eval $ac_try) 2>&5
17366 ac_status=$?
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }; }; then
17369 ac_lo=$ac_mid; break
17370 else
17371 echo "$as_me: failed program was:" >&5
17372 sed 's/^/| /' conftest.$ac_ext >&5
17373
17374 ac_hi=`expr '(' $ac_mid ')' - 1`
17375 if test $ac_mid -le $ac_hi; then
17376 ac_lo= ac_hi=
17377 break
17378 fi
17379 ac_mid=`expr 2 '*' $ac_mid`
17380 fi
17381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17382 done
17383 else
17384 echo "$as_me: failed program was:" >&5
17385 sed 's/^/| /' conftest.$ac_ext >&5
17386
17387 ac_lo= ac_hi=
17388 fi
17389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17390 fi
17391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17392 # Binary search between lo and hi bounds.
17393 while test "x$ac_lo" != "x$ac_hi"; do
17394 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17395 cat >conftest.$ac_ext <<_ACEOF
17396 /* confdefs.h. */
17397 _ACEOF
17398 cat confdefs.h >>conftest.$ac_ext
17399 cat >>conftest.$ac_ext <<_ACEOF
17400 /* end confdefs.h. */
17401 $ac_includes_default
17402 int
17403 main ()
17404 {
17405 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17406 test_array [0] = 0
17407
17408 ;
17409 return 0;
17410 }
17411 _ACEOF
17412 rm -f conftest.$ac_objext
17413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17414 (eval $ac_compile) 2>conftest.er1
17415 ac_status=$?
17416 grep -v '^ *+' conftest.er1 >conftest.err
17417 rm -f conftest.er1
17418 cat conftest.err >&5
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); } &&
17421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17423 (eval $ac_try) 2>&5
17424 ac_status=$?
17425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17426 (exit $ac_status); }; } &&
17427 { ac_try='test -s conftest.$ac_objext'
17428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17429 (eval $ac_try) 2>&5
17430 ac_status=$?
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); }; }; then
17433 ac_hi=$ac_mid
17434 else
17435 echo "$as_me: failed program was:" >&5
17436 sed 's/^/| /' conftest.$ac_ext >&5
17437
17438 ac_lo=`expr '(' $ac_mid ')' + 1`
17439 fi
17440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17441 done
17442 case $ac_lo in
17443 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17444 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17445 See \`config.log' for more details." >&5
17446 echo "$as_me: error: cannot compute sizeof (long long), 77
17447 See \`config.log' for more details." >&2;}
17448 { (exit 1); exit 1; }; } ;;
17449 esac
17450 else
17451 if test "$cross_compiling" = yes; then
17452 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17453 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17454 { (exit 1); exit 1; }; }
17455 else
17456 cat >conftest.$ac_ext <<_ACEOF
17457 /* confdefs.h. */
17458 _ACEOF
17459 cat confdefs.h >>conftest.$ac_ext
17460 cat >>conftest.$ac_ext <<_ACEOF
17461 /* end confdefs.h. */
17462 $ac_includes_default
17463 long longval () { return (long) (sizeof (long long)); }
17464 unsigned long ulongval () { return (long) (sizeof (long long)); }
17465 #include <stdio.h>
17466 #include <stdlib.h>
17467 int
17468 main ()
17469 {
17470
17471 FILE *f = fopen ("conftest.val", "w");
17472 if (! f)
17473 exit (1);
17474 if (((long) (sizeof (long long))) < 0)
17475 {
17476 long i = longval ();
17477 if (i != ((long) (sizeof (long long))))
17478 exit (1);
17479 fprintf (f, "%ld\n", i);
17480 }
17481 else
17482 {
17483 unsigned long i = ulongval ();
17484 if (i != ((long) (sizeof (long long))))
17485 exit (1);
17486 fprintf (f, "%lu\n", i);
17487 }
17488 exit (ferror (f) || fclose (f) != 0);
17489
17490 ;
17491 return 0;
17492 }
17493 _ACEOF
17494 rm -f conftest$ac_exeext
17495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17496 (eval $ac_link) 2>&5
17497 ac_status=$?
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17501 (eval $ac_try) 2>&5
17502 ac_status=$?
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); }; }; then
17505 ac_cv_sizeof_long_long=`cat conftest.val`
17506 else
17507 echo "$as_me: program exited with status $ac_status" >&5
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.$ac_ext >&5
17510
17511 ( exit $ac_status )
17512 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17513 See \`config.log' for more details." >&5
17514 echo "$as_me: error: cannot compute sizeof (long long), 77
17515 See \`config.log' for more details." >&2;}
17516 { (exit 1); exit 1; }; }
17517 fi
17518 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17519 fi
17520 fi
17521 rm -f conftest.val
17522 else
17523 ac_cv_sizeof_long_long=0
17524 fi
17525 fi
17526 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17527 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17528 cat >>confdefs.h <<_ACEOF
17529 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17530 _ACEOF
17531
17532
17533 ;;
17534 *-hp-hpux* )
17535 echo "$as_me:$LINENO: checking for long long" >&5
17536 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17537 if test "${ac_cv_type_long_long+set}" = set; then
17538 echo $ECHO_N "(cached) $ECHO_C" >&6
17539 else
17540 cat >conftest.$ac_ext <<_ACEOF
17541 /* confdefs.h. */
17542 _ACEOF
17543 cat confdefs.h >>conftest.$ac_ext
17544 cat >>conftest.$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546 $ac_includes_default
17547 int
17548 main ()
17549 {
17550 if ((long long *) 0)
17551 return 0;
17552 if (sizeof (long long))
17553 return 0;
17554 ;
17555 return 0;
17556 }
17557 _ACEOF
17558 rm -f conftest.$ac_objext
17559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17560 (eval $ac_compile) 2>conftest.er1
17561 ac_status=$?
17562 grep -v '^ *+' conftest.er1 >conftest.err
17563 rm -f conftest.er1
17564 cat conftest.err >&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); } &&
17567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569 (eval $ac_try) 2>&5
17570 ac_status=$?
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); }; } &&
17573 { ac_try='test -s conftest.$ac_objext'
17574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17575 (eval $ac_try) 2>&5
17576 ac_status=$?
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); }; }; then
17579 ac_cv_type_long_long=yes
17580 else
17581 echo "$as_me: failed program was:" >&5
17582 sed 's/^/| /' conftest.$ac_ext >&5
17583
17584 ac_cv_type_long_long=no
17585 fi
17586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17587 fi
17588 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17589 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17590
17591 echo "$as_me:$LINENO: checking size of long long" >&5
17592 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17593 if test "${ac_cv_sizeof_long_long+set}" = set; then
17594 echo $ECHO_N "(cached) $ECHO_C" >&6
17595 else
17596 if test "$ac_cv_type_long_long" = yes; then
17597 # The cast to unsigned long works around a bug in the HP C Compiler
17598 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17599 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17600 # This bug is HP SR number 8606223364.
17601 if test "$cross_compiling" = yes; then
17602 # Depending upon the size, compute the lo and hi bounds.
17603 cat >conftest.$ac_ext <<_ACEOF
17604 /* confdefs.h. */
17605 _ACEOF
17606 cat confdefs.h >>conftest.$ac_ext
17607 cat >>conftest.$ac_ext <<_ACEOF
17608 /* end confdefs.h. */
17609 $ac_includes_default
17610 int
17611 main ()
17612 {
17613 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17614 test_array [0] = 0
17615
17616 ;
17617 return 0;
17618 }
17619 _ACEOF
17620 rm -f conftest.$ac_objext
17621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17622 (eval $ac_compile) 2>conftest.er1
17623 ac_status=$?
17624 grep -v '^ *+' conftest.er1 >conftest.err
17625 rm -f conftest.er1
17626 cat conftest.err >&5
17627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628 (exit $ac_status); } &&
17629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17631 (eval $ac_try) 2>&5
17632 ac_status=$?
17633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634 (exit $ac_status); }; } &&
17635 { ac_try='test -s conftest.$ac_objext'
17636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17637 (eval $ac_try) 2>&5
17638 ac_status=$?
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); }; }; then
17641 ac_lo=0 ac_mid=0
17642 while :; do
17643 cat >conftest.$ac_ext <<_ACEOF
17644 /* confdefs.h. */
17645 _ACEOF
17646 cat confdefs.h >>conftest.$ac_ext
17647 cat >>conftest.$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17649 $ac_includes_default
17650 int
17651 main ()
17652 {
17653 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17654 test_array [0] = 0
17655
17656 ;
17657 return 0;
17658 }
17659 _ACEOF
17660 rm -f conftest.$ac_objext
17661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17662 (eval $ac_compile) 2>conftest.er1
17663 ac_status=$?
17664 grep -v '^ *+' conftest.er1 >conftest.err
17665 rm -f conftest.er1
17666 cat conftest.err >&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); } &&
17669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17672 ac_status=$?
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; } &&
17675 { ac_try='test -s conftest.$ac_objext'
17676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17677 (eval $ac_try) 2>&5
17678 ac_status=$?
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); }; }; then
17681 ac_hi=$ac_mid; break
17682 else
17683 echo "$as_me: failed program was:" >&5
17684 sed 's/^/| /' conftest.$ac_ext >&5
17685
17686 ac_lo=`expr $ac_mid + 1`
17687 if test $ac_lo -le $ac_mid; then
17688 ac_lo= ac_hi=
17689 break
17690 fi
17691 ac_mid=`expr 2 '*' $ac_mid + 1`
17692 fi
17693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17694 done
17695 else
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.$ac_ext >&5
17698
17699 cat >conftest.$ac_ext <<_ACEOF
17700 /* confdefs.h. */
17701 _ACEOF
17702 cat confdefs.h >>conftest.$ac_ext
17703 cat >>conftest.$ac_ext <<_ACEOF
17704 /* end confdefs.h. */
17705 $ac_includes_default
17706 int
17707 main ()
17708 {
17709 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17710 test_array [0] = 0
17711
17712 ;
17713 return 0;
17714 }
17715 _ACEOF
17716 rm -f conftest.$ac_objext
17717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17718 (eval $ac_compile) 2>conftest.er1
17719 ac_status=$?
17720 grep -v '^ *+' conftest.er1 >conftest.err
17721 rm -f conftest.er1
17722 cat conftest.err >&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); } &&
17725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17727 (eval $ac_try) 2>&5
17728 ac_status=$?
17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 (exit $ac_status); }; } &&
17731 { ac_try='test -s conftest.$ac_objext'
17732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17733 (eval $ac_try) 2>&5
17734 ac_status=$?
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); }; }; then
17737 ac_hi=-1 ac_mid=-1
17738 while :; do
17739 cat >conftest.$ac_ext <<_ACEOF
17740 /* confdefs.h. */
17741 _ACEOF
17742 cat confdefs.h >>conftest.$ac_ext
17743 cat >>conftest.$ac_ext <<_ACEOF
17744 /* end confdefs.h. */
17745 $ac_includes_default
17746 int
17747 main ()
17748 {
17749 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17750 test_array [0] = 0
17751
17752 ;
17753 return 0;
17754 }
17755 _ACEOF
17756 rm -f conftest.$ac_objext
17757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17758 (eval $ac_compile) 2>conftest.er1
17759 ac_status=$?
17760 grep -v '^ *+' conftest.er1 >conftest.err
17761 rm -f conftest.er1
17762 cat conftest.err >&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); } &&
17765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17768 ac_status=$?
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; } &&
17771 { ac_try='test -s conftest.$ac_objext'
17772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773 (eval $ac_try) 2>&5
17774 ac_status=$?
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); }; }; then
17777 ac_lo=$ac_mid; break
17778 else
17779 echo "$as_me: failed program was:" >&5
17780 sed 's/^/| /' conftest.$ac_ext >&5
17781
17782 ac_hi=`expr '(' $ac_mid ')' - 1`
17783 if test $ac_mid -le $ac_hi; then
17784 ac_lo= ac_hi=
17785 break
17786 fi
17787 ac_mid=`expr 2 '*' $ac_mid`
17788 fi
17789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17790 done
17791 else
17792 echo "$as_me: failed program was:" >&5
17793 sed 's/^/| /' conftest.$ac_ext >&5
17794
17795 ac_lo= ac_hi=
17796 fi
17797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17798 fi
17799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17800 # Binary search between lo and hi bounds.
17801 while test "x$ac_lo" != "x$ac_hi"; do
17802 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17803 cat >conftest.$ac_ext <<_ACEOF
17804 /* confdefs.h. */
17805 _ACEOF
17806 cat confdefs.h >>conftest.$ac_ext
17807 cat >>conftest.$ac_ext <<_ACEOF
17808 /* end confdefs.h. */
17809 $ac_includes_default
17810 int
17811 main ()
17812 {
17813 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17814 test_array [0] = 0
17815
17816 ;
17817 return 0;
17818 }
17819 _ACEOF
17820 rm -f conftest.$ac_objext
17821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17822 (eval $ac_compile) 2>conftest.er1
17823 ac_status=$?
17824 grep -v '^ *+' conftest.er1 >conftest.err
17825 rm -f conftest.er1
17826 cat conftest.err >&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); } &&
17829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 (eval $ac_try) 2>&5
17832 ac_status=$?
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; } &&
17835 { ac_try='test -s conftest.$ac_objext'
17836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17837 (eval $ac_try) 2>&5
17838 ac_status=$?
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); }; }; then
17841 ac_hi=$ac_mid
17842 else
17843 echo "$as_me: failed program was:" >&5
17844 sed 's/^/| /' conftest.$ac_ext >&5
17845
17846 ac_lo=`expr '(' $ac_mid ')' + 1`
17847 fi
17848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17849 done
17850 case $ac_lo in
17851 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17852 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17853 See \`config.log' for more details." >&5
17854 echo "$as_me: error: cannot compute sizeof (long long), 77
17855 See \`config.log' for more details." >&2;}
17856 { (exit 1); exit 1; }; } ;;
17857 esac
17858 else
17859 if test "$cross_compiling" = yes; then
17860 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17861 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17862 { (exit 1); exit 1; }; }
17863 else
17864 cat >conftest.$ac_ext <<_ACEOF
17865 /* confdefs.h. */
17866 _ACEOF
17867 cat confdefs.h >>conftest.$ac_ext
17868 cat >>conftest.$ac_ext <<_ACEOF
17869 /* end confdefs.h. */
17870 $ac_includes_default
17871 long longval () { return (long) (sizeof (long long)); }
17872 unsigned long ulongval () { return (long) (sizeof (long long)); }
17873 #include <stdio.h>
17874 #include <stdlib.h>
17875 int
17876 main ()
17877 {
17878
17879 FILE *f = fopen ("conftest.val", "w");
17880 if (! f)
17881 exit (1);
17882 if (((long) (sizeof (long long))) < 0)
17883 {
17884 long i = longval ();
17885 if (i != ((long) (sizeof (long long))))
17886 exit (1);
17887 fprintf (f, "%ld\n", i);
17888 }
17889 else
17890 {
17891 unsigned long i = ulongval ();
17892 if (i != ((long) (sizeof (long long))))
17893 exit (1);
17894 fprintf (f, "%lu\n", i);
17895 }
17896 exit (ferror (f) || fclose (f) != 0);
17897
17898 ;
17899 return 0;
17900 }
17901 _ACEOF
17902 rm -f conftest$ac_exeext
17903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17904 (eval $ac_link) 2>&5
17905 ac_status=$?
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17909 (eval $ac_try) 2>&5
17910 ac_status=$?
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); }; }; then
17913 ac_cv_sizeof_long_long=`cat conftest.val`
17914 else
17915 echo "$as_me: program exited with status $ac_status" >&5
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.$ac_ext >&5
17918
17919 ( exit $ac_status )
17920 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17921 See \`config.log' for more details." >&5
17922 echo "$as_me: error: cannot compute sizeof (long long), 77
17923 See \`config.log' for more details." >&2;}
17924 { (exit 1); exit 1; }; }
17925 fi
17926 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17927 fi
17928 fi
17929 rm -f conftest.val
17930 else
17931 ac_cv_sizeof_long_long=0
17932 fi
17933 fi
17934 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17935 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17936 cat >>confdefs.h <<_ACEOF
17937 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17938 _ACEOF
17939
17940
17941 if test "$ac_cv_sizeof_long_long" != "0"; then
17942 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17943 fi
17944 ;;
17945 * )
17946 echo "$as_me:$LINENO: checking for long long" >&5
17947 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17948 if test "${ac_cv_type_long_long+set}" = set; then
17949 echo $ECHO_N "(cached) $ECHO_C" >&6
17950 else
17951 cat >conftest.$ac_ext <<_ACEOF
17952 /* confdefs.h. */
17953 _ACEOF
17954 cat confdefs.h >>conftest.$ac_ext
17955 cat >>conftest.$ac_ext <<_ACEOF
17956 /* end confdefs.h. */
17957 $ac_includes_default
17958 int
17959 main ()
17960 {
17961 if ((long long *) 0)
17962 return 0;
17963 if (sizeof (long long))
17964 return 0;
17965 ;
17966 return 0;
17967 }
17968 _ACEOF
17969 rm -f conftest.$ac_objext
17970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17971 (eval $ac_compile) 2>conftest.er1
17972 ac_status=$?
17973 grep -v '^ *+' conftest.er1 >conftest.err
17974 rm -f conftest.er1
17975 cat conftest.err >&5
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); } &&
17978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17980 (eval $ac_try) 2>&5
17981 ac_status=$?
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); }; } &&
17984 { ac_try='test -s conftest.$ac_objext'
17985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17986 (eval $ac_try) 2>&5
17987 ac_status=$?
17988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17989 (exit $ac_status); }; }; then
17990 ac_cv_type_long_long=yes
17991 else
17992 echo "$as_me: failed program was:" >&5
17993 sed 's/^/| /' conftest.$ac_ext >&5
17994
17995 ac_cv_type_long_long=no
17996 fi
17997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17998 fi
17999 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18000 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18001
18002 echo "$as_me:$LINENO: checking size of long long" >&5
18003 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18004 if test "${ac_cv_sizeof_long_long+set}" = set; then
18005 echo $ECHO_N "(cached) $ECHO_C" >&6
18006 else
18007 if test "$ac_cv_type_long_long" = yes; then
18008 # The cast to unsigned long works around a bug in the HP C Compiler
18009 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18010 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18011 # This bug is HP SR number 8606223364.
18012 if test "$cross_compiling" = yes; then
18013 # Depending upon the size, compute the lo and hi bounds.
18014 cat >conftest.$ac_ext <<_ACEOF
18015 /* confdefs.h. */
18016 _ACEOF
18017 cat confdefs.h >>conftest.$ac_ext
18018 cat >>conftest.$ac_ext <<_ACEOF
18019 /* end confdefs.h. */
18020 $ac_includes_default
18021 int
18022 main ()
18023 {
18024 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18025 test_array [0] = 0
18026
18027 ;
18028 return 0;
18029 }
18030 _ACEOF
18031 rm -f conftest.$ac_objext
18032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18033 (eval $ac_compile) 2>conftest.er1
18034 ac_status=$?
18035 grep -v '^ *+' conftest.er1 >conftest.err
18036 rm -f conftest.er1
18037 cat conftest.err >&5
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); } &&
18040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18042 (eval $ac_try) 2>&5
18043 ac_status=$?
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); }; } &&
18046 { ac_try='test -s conftest.$ac_objext'
18047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18048 (eval $ac_try) 2>&5
18049 ac_status=$?
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); }; }; then
18052 ac_lo=0 ac_mid=0
18053 while :; do
18054 cat >conftest.$ac_ext <<_ACEOF
18055 /* confdefs.h. */
18056 _ACEOF
18057 cat confdefs.h >>conftest.$ac_ext
18058 cat >>conftest.$ac_ext <<_ACEOF
18059 /* end confdefs.h. */
18060 $ac_includes_default
18061 int
18062 main ()
18063 {
18064 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18065 test_array [0] = 0
18066
18067 ;
18068 return 0;
18069 }
18070 _ACEOF
18071 rm -f conftest.$ac_objext
18072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18073 (eval $ac_compile) 2>conftest.er1
18074 ac_status=$?
18075 grep -v '^ *+' conftest.er1 >conftest.err
18076 rm -f conftest.er1
18077 cat conftest.err >&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); } &&
18080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18082 (eval $ac_try) 2>&5
18083 ac_status=$?
18084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18085 (exit $ac_status); }; } &&
18086 { ac_try='test -s conftest.$ac_objext'
18087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18088 (eval $ac_try) 2>&5
18089 ac_status=$?
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); }; }; then
18092 ac_hi=$ac_mid; break
18093 else
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.$ac_ext >&5
18096
18097 ac_lo=`expr $ac_mid + 1`
18098 if test $ac_lo -le $ac_mid; then
18099 ac_lo= ac_hi=
18100 break
18101 fi
18102 ac_mid=`expr 2 '*' $ac_mid + 1`
18103 fi
18104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18105 done
18106 else
18107 echo "$as_me: failed program was:" >&5
18108 sed 's/^/| /' conftest.$ac_ext >&5
18109
18110 cat >conftest.$ac_ext <<_ACEOF
18111 /* confdefs.h. */
18112 _ACEOF
18113 cat confdefs.h >>conftest.$ac_ext
18114 cat >>conftest.$ac_ext <<_ACEOF
18115 /* end confdefs.h. */
18116 $ac_includes_default
18117 int
18118 main ()
18119 {
18120 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18121 test_array [0] = 0
18122
18123 ;
18124 return 0;
18125 }
18126 _ACEOF
18127 rm -f conftest.$ac_objext
18128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18129 (eval $ac_compile) 2>conftest.er1
18130 ac_status=$?
18131 grep -v '^ *+' conftest.er1 >conftest.err
18132 rm -f conftest.er1
18133 cat conftest.err >&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); } &&
18136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18138 (eval $ac_try) 2>&5
18139 ac_status=$?
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); }; } &&
18142 { ac_try='test -s conftest.$ac_objext'
18143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18144 (eval $ac_try) 2>&5
18145 ac_status=$?
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); }; }; then
18148 ac_hi=-1 ac_mid=-1
18149 while :; do
18150 cat >conftest.$ac_ext <<_ACEOF
18151 /* confdefs.h. */
18152 _ACEOF
18153 cat confdefs.h >>conftest.$ac_ext
18154 cat >>conftest.$ac_ext <<_ACEOF
18155 /* end confdefs.h. */
18156 $ac_includes_default
18157 int
18158 main ()
18159 {
18160 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18161 test_array [0] = 0
18162
18163 ;
18164 return 0;
18165 }
18166 _ACEOF
18167 rm -f conftest.$ac_objext
18168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18169 (eval $ac_compile) 2>conftest.er1
18170 ac_status=$?
18171 grep -v '^ *+' conftest.er1 >conftest.err
18172 rm -f conftest.er1
18173 cat conftest.err >&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); } &&
18176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178 (eval $ac_try) 2>&5
18179 ac_status=$?
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; } &&
18182 { ac_try='test -s conftest.$ac_objext'
18183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18184 (eval $ac_try) 2>&5
18185 ac_status=$?
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); }; }; then
18188 ac_lo=$ac_mid; break
18189 else
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.$ac_ext >&5
18192
18193 ac_hi=`expr '(' $ac_mid ')' - 1`
18194 if test $ac_mid -le $ac_hi; then
18195 ac_lo= ac_hi=
18196 break
18197 fi
18198 ac_mid=`expr 2 '*' $ac_mid`
18199 fi
18200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18201 done
18202 else
18203 echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.$ac_ext >&5
18205
18206 ac_lo= ac_hi=
18207 fi
18208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18209 fi
18210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18211 # Binary search between lo and hi bounds.
18212 while test "x$ac_lo" != "x$ac_hi"; do
18213 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18214 cat >conftest.$ac_ext <<_ACEOF
18215 /* confdefs.h. */
18216 _ACEOF
18217 cat confdefs.h >>conftest.$ac_ext
18218 cat >>conftest.$ac_ext <<_ACEOF
18219 /* end confdefs.h. */
18220 $ac_includes_default
18221 int
18222 main ()
18223 {
18224 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18225 test_array [0] = 0
18226
18227 ;
18228 return 0;
18229 }
18230 _ACEOF
18231 rm -f conftest.$ac_objext
18232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18233 (eval $ac_compile) 2>conftest.er1
18234 ac_status=$?
18235 grep -v '^ *+' conftest.er1 >conftest.err
18236 rm -f conftest.er1
18237 cat conftest.err >&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); } &&
18240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18242 (eval $ac_try) 2>&5
18243 ac_status=$?
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); }; } &&
18246 { ac_try='test -s conftest.$ac_objext'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18249 ac_status=$?
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; }; then
18252 ac_hi=$ac_mid
18253 else
18254 echo "$as_me: failed program was:" >&5
18255 sed 's/^/| /' conftest.$ac_ext >&5
18256
18257 ac_lo=`expr '(' $ac_mid ')' + 1`
18258 fi
18259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18260 done
18261 case $ac_lo in
18262 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18263 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18264 See \`config.log' for more details." >&5
18265 echo "$as_me: error: cannot compute sizeof (long long), 77
18266 See \`config.log' for more details." >&2;}
18267 { (exit 1); exit 1; }; } ;;
18268 esac
18269 else
18270 if test "$cross_compiling" = yes; then
18271 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18272 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18273 { (exit 1); exit 1; }; }
18274 else
18275 cat >conftest.$ac_ext <<_ACEOF
18276 /* confdefs.h. */
18277 _ACEOF
18278 cat confdefs.h >>conftest.$ac_ext
18279 cat >>conftest.$ac_ext <<_ACEOF
18280 /* end confdefs.h. */
18281 $ac_includes_default
18282 long longval () { return (long) (sizeof (long long)); }
18283 unsigned long ulongval () { return (long) (sizeof (long long)); }
18284 #include <stdio.h>
18285 #include <stdlib.h>
18286 int
18287 main ()
18288 {
18289
18290 FILE *f = fopen ("conftest.val", "w");
18291 if (! f)
18292 exit (1);
18293 if (((long) (sizeof (long long))) < 0)
18294 {
18295 long i = longval ();
18296 if (i != ((long) (sizeof (long long))))
18297 exit (1);
18298 fprintf (f, "%ld\n", i);
18299 }
18300 else
18301 {
18302 unsigned long i = ulongval ();
18303 if (i != ((long) (sizeof (long long))))
18304 exit (1);
18305 fprintf (f, "%lu\n", i);
18306 }
18307 exit (ferror (f) || fclose (f) != 0);
18308
18309 ;
18310 return 0;
18311 }
18312 _ACEOF
18313 rm -f conftest$ac_exeext
18314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18315 (eval $ac_link) 2>&5
18316 ac_status=$?
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18321 ac_status=$?
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; }; then
18324 ac_cv_sizeof_long_long=`cat conftest.val`
18325 else
18326 echo "$as_me: program exited with status $ac_status" >&5
18327 echo "$as_me: failed program was:" >&5
18328 sed 's/^/| /' conftest.$ac_ext >&5
18329
18330 ( exit $ac_status )
18331 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18332 See \`config.log' for more details." >&5
18333 echo "$as_me: error: cannot compute sizeof (long long), 77
18334 See \`config.log' for more details." >&2;}
18335 { (exit 1); exit 1; }; }
18336 fi
18337 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18338 fi
18339 fi
18340 rm -f conftest.val
18341 else
18342 ac_cv_sizeof_long_long=0
18343 fi
18344 fi
18345 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18346 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18347 cat >>confdefs.h <<_ACEOF
18348 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18349 _ACEOF
18350
18351
18352 esac
18353
18354 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18355 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18356 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18357 echo $ECHO_N "(cached) $ECHO_C" >&6
18358 else
18359
18360 if test "$cross_compiling" = yes; then
18361
18362 case "${host}" in
18363 *-pc-msdosdjgpp )
18364 wx_cv_sizeof_wchar_t=0
18365 ;;
18366 * )
18367 wx_cv_sizeof_wchar_t=4
18368 ;;
18369 esac
18370
18371
18372 else
18373 cat >conftest.$ac_ext <<_ACEOF
18374 /* confdefs.h. */
18375 _ACEOF
18376 cat confdefs.h >>conftest.$ac_ext
18377 cat >>conftest.$ac_ext <<_ACEOF
18378 /* end confdefs.h. */
18379
18380 /* DJGPP only has fake wchar_t: */
18381 #ifdef __DJGPP__
18382 # error "fake wchar_t"
18383 #endif
18384 #ifdef HAVE_WCHAR_H
18385 # ifdef __CYGWIN__
18386 # include <stddef.h>
18387 # endif
18388 # include <wchar.h>
18389 #endif
18390 #ifdef HAVE_STDLIB_H
18391 # include <stdlib.h>
18392 #endif
18393 #include <stdio.h>
18394 int main()
18395 {
18396 FILE *f=fopen("conftestval", "w");
18397 if (!f) exit(1);
18398 fprintf(f, "%i", sizeof(wchar_t));
18399 exit(0);
18400 }
18401
18402 _ACEOF
18403 rm -f conftest$ac_exeext
18404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18405 (eval $ac_link) 2>&5
18406 ac_status=$?
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 (eval $ac_try) 2>&5
18411 ac_status=$?
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); }; }; then
18414 wx_cv_sizeof_wchar_t=`cat conftestval`
18415 else
18416 echo "$as_me: program exited with status $ac_status" >&5
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.$ac_ext >&5
18419
18420 ( exit $ac_status )
18421 wx_cv_sizeof_wchar_t=0
18422 fi
18423 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18424 fi
18425
18426 fi
18427 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18428 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18429
18430 cat >>confdefs.h <<_ACEOF
18431 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18432 _ACEOF
18433
18434
18435 echo "$as_me:$LINENO: checking for va_copy" >&5
18436 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18437 if test "${wx_cv_func_va_copy+set}" = set; then
18438 echo $ECHO_N "(cached) $ECHO_C" >&6
18439 else
18440
18441 cat >conftest.$ac_ext <<_ACEOF
18442
18443 #include <stdarg.h>
18444 void foo(char *f, ...)
18445 {
18446 va_list ap1, ap2;
18447 va_start(ap1, f);
18448 va_copy(ap2, ap1);
18449 va_end(ap2);
18450 va_end(ap1);
18451 }
18452 int main()
18453 {
18454 foo("hi", 17);
18455 return 0;
18456 }
18457 _ACEOF
18458 rm -f conftest.$ac_objext conftest$ac_exeext
18459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18460 (eval $ac_link) 2>conftest.er1
18461 ac_status=$?
18462 grep -v '^ *+' conftest.er1 >conftest.err
18463 rm -f conftest.er1
18464 cat conftest.err >&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); } &&
18467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18469 (eval $ac_try) 2>&5
18470 ac_status=$?
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); }; } &&
18473 { ac_try='test -s conftest$ac_exeext'
18474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18475 (eval $ac_try) 2>&5
18476 ac_status=$?
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); }; }; then
18479 wx_cv_func_va_copy=yes
18480 else
18481 echo "$as_me: failed program was:" >&5
18482 sed 's/^/| /' conftest.$ac_ext >&5
18483
18484 wx_cv_func_va_copy=no
18485
18486 fi
18487 rm -f conftest.err conftest.$ac_objext \
18488 conftest$ac_exeext conftest.$ac_ext
18489
18490
18491 fi
18492 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18493 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18494
18495 if test $wx_cv_func_va_copy = "yes"; then
18496 cat >>confdefs.h <<\_ACEOF
18497 #define HAVE_VA_COPY 1
18498 _ACEOF
18499
18500 else
18501 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18502 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18503 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18504 echo $ECHO_N "(cached) $ECHO_C" >&6
18505 else
18506
18507 if test "$cross_compiling" = yes; then
18508 wx_cv_type_va_list_lvalue=yes
18509
18510 else
18511 cat >conftest.$ac_ext <<_ACEOF
18512
18513 #include <stdarg.h>
18514 int foo(char *f, ...)
18515 {
18516 va_list ap1, ap2;
18517 va_start(ap1, f);
18518 ap2 = ap1;
18519 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18520 return 1;
18521 va_end(ap2);
18522 va_end(ap1);
18523 return 0;
18524 }
18525 int main()
18526 {
18527 return foo("hi", 17);
18528 }
18529 _ACEOF
18530 rm -f conftest$ac_exeext
18531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18532 (eval $ac_link) 2>&5
18533 ac_status=$?
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18537 (eval $ac_try) 2>&5
18538 ac_status=$?
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); }; }; then
18541 wx_cv_type_va_list_lvalue=yes
18542 else
18543 echo "$as_me: program exited with status $ac_status" >&5
18544 echo "$as_me: failed program was:" >&5
18545 sed 's/^/| /' conftest.$ac_ext >&5
18546
18547 ( exit $ac_status )
18548 wx_cv_type_va_list_lvalue=no
18549 fi
18550 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18551 fi
18552
18553
18554 fi
18555 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18556 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18557
18558 if test $wx_cv_type_va_list_lvalue != "yes"; then
18559 cat >>confdefs.h <<\_ACEOF
18560 #define VA_LIST_IS_ARRAY 1
18561 _ACEOF
18562
18563 fi
18564 fi
18565
18566 # Check whether --enable-largefile or --disable-largefile was given.
18567 if test "${enable_largefile+set}" = set; then
18568 enableval="$enable_largefile"
18569
18570 fi;
18571 if test "$enable_largefile" != no; then
18572 wx_largefile=no
18573
18574 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18575 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18576 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18577 echo $ECHO_N "(cached) $ECHO_C" >&6
18578 else
18579
18580 cat >conftest.$ac_ext <<_ACEOF
18581 /* confdefs.h. */
18582 _ACEOF
18583 cat confdefs.h >>conftest.$ac_ext
18584 cat >>conftest.$ac_ext <<_ACEOF
18585 /* end confdefs.h. */
18586 #define _FILE_OFFSET_BITS 64
18587 #include <sys/types.h>
18588 int
18589 main ()
18590 {
18591 typedef struct {
18592 unsigned int field: sizeof(off_t) == 8;
18593 } wxlf;
18594
18595 ;
18596 return 0;
18597 }
18598 _ACEOF
18599 rm -f conftest.$ac_objext
18600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18601 (eval $ac_compile) 2>conftest.er1
18602 ac_status=$?
18603 grep -v '^ *+' conftest.er1 >conftest.err
18604 rm -f conftest.er1
18605 cat conftest.err >&5
18606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18607 (exit $ac_status); } &&
18608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18610 (eval $ac_try) 2>&5
18611 ac_status=$?
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); }; } &&
18614 { ac_try='test -s conftest.$ac_objext'
18615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18616 (eval $ac_try) 2>&5
18617 ac_status=$?
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); }; }; then
18620 ac_cv_sys_file_offset_bits=64
18621 else
18622 echo "$as_me: failed program was:" >&5
18623 sed 's/^/| /' conftest.$ac_ext >&5
18624
18625 ac_cv_sys_file_offset_bits=no
18626 fi
18627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18628
18629
18630 fi
18631 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18632 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18633
18634 if test "$ac_cv_sys_file_offset_bits" != no; then
18635 wx_largefile=yes
18636 cat >>confdefs.h <<_ACEOF
18637 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18638 _ACEOF
18639
18640 fi
18641
18642 if test "x$wx_largefile" != "xyes"; then
18643
18644 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18645 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18646 if test "${ac_cv_sys_large_files+set}" = set; then
18647 echo $ECHO_N "(cached) $ECHO_C" >&6
18648 else
18649
18650 cat >conftest.$ac_ext <<_ACEOF
18651 /* confdefs.h. */
18652 _ACEOF
18653 cat confdefs.h >>conftest.$ac_ext
18654 cat >>conftest.$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18656 #define _LARGE_FILES 1
18657 #include <sys/types.h>
18658 int
18659 main ()
18660 {
18661 typedef struct {
18662 unsigned int field: sizeof(off_t) == 8;
18663 } wxlf;
18664
18665 ;
18666 return 0;
18667 }
18668 _ACEOF
18669 rm -f conftest.$ac_objext
18670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18671 (eval $ac_compile) 2>conftest.er1
18672 ac_status=$?
18673 grep -v '^ *+' conftest.er1 >conftest.err
18674 rm -f conftest.er1
18675 cat conftest.err >&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } &&
18678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18680 (eval $ac_try) 2>&5
18681 ac_status=$?
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); }; } &&
18684 { ac_try='test -s conftest.$ac_objext'
18685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18686 (eval $ac_try) 2>&5
18687 ac_status=$?
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); }; }; then
18690 ac_cv_sys_large_files=1
18691 else
18692 echo "$as_me: failed program was:" >&5
18693 sed 's/^/| /' conftest.$ac_ext >&5
18694
18695 ac_cv_sys_large_files=no
18696 fi
18697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18698
18699
18700 fi
18701 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18702 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18703
18704 if test "$ac_cv_sys_large_files" != no; then
18705 wx_largefile=yes
18706 cat >>confdefs.h <<_ACEOF
18707 #define _LARGE_FILES $ac_cv_sys_large_files
18708 _ACEOF
18709
18710 fi
18711
18712 fi
18713
18714 echo "$as_me:$LINENO: checking if large file support is available" >&5
18715 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18716 if test "x$wx_largefile" = "xyes"; then
18717 cat >>confdefs.h <<\_ACEOF
18718 #define HAVE_LARGEFILE_SUPPORT 1
18719 _ACEOF
18720
18721 fi
18722 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18723 echo "${ECHO_T}$wx_largefile" >&6
18724 fi
18725
18726
18727 if test "x$wx_largefile" = "xyes"; then
18728 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18729 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18730 else
18731 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18732 fi
18733 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
18734 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
18735 if test "${ac_cv_sys_largefile_source+set}" = set; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18737 else
18738 while :; do
18739 ac_cv_sys_largefile_source=no
18740 cat >conftest.$ac_ext <<_ACEOF
18741 /* confdefs.h. */
18742 _ACEOF
18743 cat confdefs.h >>conftest.$ac_ext
18744 cat >>conftest.$ac_ext <<_ACEOF
18745 /* end confdefs.h. */
18746 #include <stdio.h>
18747 int
18748 main ()
18749 {
18750 return !fseeko;
18751 ;
18752 return 0;
18753 }
18754 _ACEOF
18755 rm -f conftest.$ac_objext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18757 (eval $ac_compile) 2>conftest.er1
18758 ac_status=$?
18759 grep -v '^ *+' conftest.er1 >conftest.err
18760 rm -f conftest.er1
18761 cat conftest.err >&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } &&
18764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18767 ac_status=$?
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; } &&
18770 { ac_try='test -s conftest.$ac_objext'
18771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772 (eval $ac_try) 2>&5
18773 ac_status=$?
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; }; then
18776 break
18777 else
18778 echo "$as_me: failed program was:" >&5
18779 sed 's/^/| /' conftest.$ac_ext >&5
18780
18781 fi
18782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18783 cat >conftest.$ac_ext <<_ACEOF
18784 /* confdefs.h. */
18785 _ACEOF
18786 cat confdefs.h >>conftest.$ac_ext
18787 cat >>conftest.$ac_ext <<_ACEOF
18788 /* end confdefs.h. */
18789 #define _LARGEFILE_SOURCE 1
18790 #include <stdio.h>
18791 int
18792 main ()
18793 {
18794 return !fseeko;
18795 ;
18796 return 0;
18797 }
18798 _ACEOF
18799 rm -f conftest.$ac_objext
18800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18801 (eval $ac_compile) 2>conftest.er1
18802 ac_status=$?
18803 grep -v '^ *+' conftest.er1 >conftest.err
18804 rm -f conftest.er1
18805 cat conftest.err >&5
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); } &&
18808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810 (eval $ac_try) 2>&5
18811 ac_status=$?
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); }; } &&
18814 { ac_try='test -s conftest.$ac_objext'
18815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18816 (eval $ac_try) 2>&5
18817 ac_status=$?
18818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819 (exit $ac_status); }; }; then
18820 ac_cv_sys_largefile_source=1; break
18821 else
18822 echo "$as_me: failed program was:" >&5
18823 sed 's/^/| /' conftest.$ac_ext >&5
18824
18825 fi
18826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18827 break
18828 done
18829 fi
18830 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
18831 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
18832 if test "$ac_cv_sys_largefile_source" != no; then
18833
18834 cat >>confdefs.h <<_ACEOF
18835 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
18836 _ACEOF
18837
18838 fi
18839 rm -f conftest*
18840
18841 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
18842 # in glibc 2.1.3, but that breaks too many other things.
18843 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
18844 echo "$as_me:$LINENO: checking for fseeko" >&5
18845 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
18846 if test "${ac_cv_func_fseeko+set}" = set; then
18847 echo $ECHO_N "(cached) $ECHO_C" >&6
18848 else
18849 cat >conftest.$ac_ext <<_ACEOF
18850 /* confdefs.h. */
18851 _ACEOF
18852 cat confdefs.h >>conftest.$ac_ext
18853 cat >>conftest.$ac_ext <<_ACEOF
18854 /* end confdefs.h. */
18855 #include <stdio.h>
18856 int
18857 main ()
18858 {
18859 return fseeko && fseeko (stdin, 0, 0);
18860 ;
18861 return 0;
18862 }
18863 _ACEOF
18864 rm -f conftest.$ac_objext conftest$ac_exeext
18865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18866 (eval $ac_link) 2>conftest.er1
18867 ac_status=$?
18868 grep -v '^ *+' conftest.er1 >conftest.err
18869 rm -f conftest.er1
18870 cat conftest.err >&5
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); } &&
18873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18875 (eval $ac_try) 2>&5
18876 ac_status=$?
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); }; } &&
18879 { ac_try='test -s conftest$ac_exeext'
18880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18881 (eval $ac_try) 2>&5
18882 ac_status=$?
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; }; then
18885 ac_cv_func_fseeko=yes
18886 else
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.$ac_ext >&5
18889
18890 ac_cv_func_fseeko=no
18891 fi
18892 rm -f conftest.err conftest.$ac_objext \
18893 conftest$ac_exeext conftest.$ac_ext
18894 fi
18895 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
18896 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
18897 if test $ac_cv_func_fseeko = yes; then
18898
18899 cat >>confdefs.h <<\_ACEOF
18900 #define HAVE_FSEEKO 1
18901 _ACEOF
18902
18903 fi
18904
18905 if test "$ac_cv_sys_largefile_source" != no; then
18906 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
18907 fi
18908 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18909 fi
18910
18911 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18912 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18913 if test "${ac_cv_c_bigendian+set}" = set; then
18914 echo $ECHO_N "(cached) $ECHO_C" >&6
18915 else
18916 ac_cv_c_bigendian=unknown
18917 # See if sys/param.h defines the BYTE_ORDER macro.
18918 cat >conftest.$ac_ext <<_ACEOF
18919 /* confdefs.h. */
18920 _ACEOF
18921 cat confdefs.h >>conftest.$ac_ext
18922 cat >>conftest.$ac_ext <<_ACEOF
18923 /* end confdefs.h. */
18924 #include <sys/types.h>
18925 #include <sys/param.h>
18926 int
18927 main ()
18928 {
18929
18930 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18931 bogus endian macros
18932 #endif
18933 ;
18934 return 0;
18935 }
18936 _ACEOF
18937 rm -f conftest.$ac_objext
18938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18939 (eval $ac_compile) 2>conftest.er1
18940 ac_status=$?
18941 grep -v '^ *+' conftest.er1 >conftest.err
18942 rm -f conftest.er1
18943 cat conftest.err >&5
18944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945 (exit $ac_status); } &&
18946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18948 (eval $ac_try) 2>&5
18949 ac_status=$?
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); }; } &&
18952 { ac_try='test -s conftest.$ac_objext'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18955 ac_status=$?
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; }; then
18958 # It does; now see whether it defined to BIG_ENDIAN or not.
18959 cat >conftest.$ac_ext <<_ACEOF
18960 /* confdefs.h. */
18961 _ACEOF
18962 cat confdefs.h >>conftest.$ac_ext
18963 cat >>conftest.$ac_ext <<_ACEOF
18964 /* end confdefs.h. */
18965 #include <sys/types.h>
18966 #include <sys/param.h>
18967 int
18968 main ()
18969 {
18970
18971 #if BYTE_ORDER != BIG_ENDIAN
18972 not big endian
18973 #endif
18974 ;
18975 return 0;
18976 }
18977 _ACEOF
18978 rm -f conftest.$ac_objext
18979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18980 (eval $ac_compile) 2>conftest.er1
18981 ac_status=$?
18982 grep -v '^ *+' conftest.er1 >conftest.err
18983 rm -f conftest.er1
18984 cat conftest.err >&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); } &&
18987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18990 ac_status=$?
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; } &&
18993 { ac_try='test -s conftest.$ac_objext'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18996 ac_status=$?
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; }; then
18999 ac_cv_c_bigendian=yes
19000 else
19001 echo "$as_me: failed program was:" >&5
19002 sed 's/^/| /' conftest.$ac_ext >&5
19003
19004 ac_cv_c_bigendian=no
19005 fi
19006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19007 else
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.$ac_ext >&5
19010
19011 fi
19012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19013 if test $ac_cv_c_bigendian = unknown; then
19014 if test "$cross_compiling" = yes; then
19015 ac_cv_c_bigendian=unknown
19016 else
19017 cat >conftest.$ac_ext <<_ACEOF
19018 /* confdefs.h. */
19019 _ACEOF
19020 cat confdefs.h >>conftest.$ac_ext
19021 cat >>conftest.$ac_ext <<_ACEOF
19022 /* end confdefs.h. */
19023 main () {
19024 /* Are we little or big endian? From Harbison&Steele. */
19025 union
19026 {
19027 long l;
19028 char c[sizeof (long)];
19029 } u;
19030 u.l = 1;
19031 exit (u.c[sizeof (long) - 1] == 1);
19032 }
19033 _ACEOF
19034 rm -f conftest$ac_exeext
19035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19036 (eval $ac_link) 2>&5
19037 ac_status=$?
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19042 ac_status=$?
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; }; then
19045 ac_cv_c_bigendian=no
19046 else
19047 echo "$as_me: program exited with status $ac_status" >&5
19048 echo "$as_me: failed program was:" >&5
19049 sed 's/^/| /' conftest.$ac_ext >&5
19050
19051 ( exit $ac_status )
19052 ac_cv_c_bigendian=yes
19053 fi
19054 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19055 fi
19056 fi
19057 fi
19058 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19059 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19060 if test $ac_cv_c_bigendian = unknown; then
19061 { 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
19062 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;}
19063 fi
19064 if test $ac_cv_c_bigendian = yes; then
19065 cat >>confdefs.h <<\_ACEOF
19066 #define WORDS_BIGENDIAN 1
19067 _ACEOF
19068
19069 fi
19070
19071
19072 ac_ext=cc
19073 ac_cpp='$CXXCPP $CPPFLAGS'
19074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19077 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
19078 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
19079 if test -z "$CXXCPP"; then
19080 if test "${ac_cv_prog_CXXCPP+set}" = set; then
19081 echo $ECHO_N "(cached) $ECHO_C" >&6
19082 else
19083 # Double quotes because CXXCPP needs to be expanded
19084 for CXXCPP in "$CXX -E" "/lib/cpp"
19085 do
19086 ac_preproc_ok=false
19087 for ac_cxx_preproc_warn_flag in '' yes
19088 do
19089 # Use a header file that comes with gcc, so configuring glibc
19090 # with a fresh cross-compiler works.
19091 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19092 # <limits.h> exists even on freestanding compilers.
19093 # On the NeXT, cc -E runs the code through the compiler's parser,
19094 # not just through cpp. "Syntax error" is here to catch this case.
19095 cat >conftest.$ac_ext <<_ACEOF
19096 /* confdefs.h. */
19097 _ACEOF
19098 cat confdefs.h >>conftest.$ac_ext
19099 cat >>conftest.$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19101 #ifdef __STDC__
19102 # include <limits.h>
19103 #else
19104 # include <assert.h>
19105 #endif
19106 Syntax error
19107 _ACEOF
19108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19109 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19110 ac_status=$?
19111 grep -v '^ *+' conftest.er1 >conftest.err
19112 rm -f conftest.er1
19113 cat conftest.err >&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); } >/dev/null; then
19116 if test -s conftest.err; then
19117 ac_cpp_err=$ac_cxx_preproc_warn_flag
19118 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19119 else
19120 ac_cpp_err=
19121 fi
19122 else
19123 ac_cpp_err=yes
19124 fi
19125 if test -z "$ac_cpp_err"; then
19126 :
19127 else
19128 echo "$as_me: failed program was:" >&5
19129 sed 's/^/| /' conftest.$ac_ext >&5
19130
19131 # Broken: fails on valid input.
19132 continue
19133 fi
19134 rm -f conftest.err conftest.$ac_ext
19135
19136 # OK, works on sane cases. Now check whether non-existent headers
19137 # can be detected and how.
19138 cat >conftest.$ac_ext <<_ACEOF
19139 /* confdefs.h. */
19140 _ACEOF
19141 cat confdefs.h >>conftest.$ac_ext
19142 cat >>conftest.$ac_ext <<_ACEOF
19143 /* end confdefs.h. */
19144 #include <ac_nonexistent.h>
19145 _ACEOF
19146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19147 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19148 ac_status=$?
19149 grep -v '^ *+' conftest.er1 >conftest.err
19150 rm -f conftest.er1
19151 cat conftest.err >&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); } >/dev/null; then
19154 if test -s conftest.err; then
19155 ac_cpp_err=$ac_cxx_preproc_warn_flag
19156 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19157 else
19158 ac_cpp_err=
19159 fi
19160 else
19161 ac_cpp_err=yes
19162 fi
19163 if test -z "$ac_cpp_err"; then
19164 # Broken: success on invalid input.
19165 continue
19166 else
19167 echo "$as_me: failed program was:" >&5
19168 sed 's/^/| /' conftest.$ac_ext >&5
19169
19170 # Passes both tests.
19171 ac_preproc_ok=:
19172 break
19173 fi
19174 rm -f conftest.err conftest.$ac_ext
19175
19176 done
19177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19178 rm -f conftest.err conftest.$ac_ext
19179 if $ac_preproc_ok; then
19180 break
19181 fi
19182
19183 done
19184 ac_cv_prog_CXXCPP=$CXXCPP
19185
19186 fi
19187 CXXCPP=$ac_cv_prog_CXXCPP
19188 else
19189 ac_cv_prog_CXXCPP=$CXXCPP
19190 fi
19191 echo "$as_me:$LINENO: result: $CXXCPP" >&5
19192 echo "${ECHO_T}$CXXCPP" >&6
19193 ac_preproc_ok=false
19194 for ac_cxx_preproc_warn_flag in '' yes
19195 do
19196 # Use a header file that comes with gcc, so configuring glibc
19197 # with a fresh cross-compiler works.
19198 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19199 # <limits.h> exists even on freestanding compilers.
19200 # On the NeXT, cc -E runs the code through the compiler's parser,
19201 # not just through cpp. "Syntax error" is here to catch this case.
19202 cat >conftest.$ac_ext <<_ACEOF
19203 /* confdefs.h. */
19204 _ACEOF
19205 cat confdefs.h >>conftest.$ac_ext
19206 cat >>conftest.$ac_ext <<_ACEOF
19207 /* end confdefs.h. */
19208 #ifdef __STDC__
19209 # include <limits.h>
19210 #else
19211 # include <assert.h>
19212 #endif
19213 Syntax error
19214 _ACEOF
19215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19217 ac_status=$?
19218 grep -v '^ *+' conftest.er1 >conftest.err
19219 rm -f conftest.er1
19220 cat conftest.err >&5
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); } >/dev/null; then
19223 if test -s conftest.err; then
19224 ac_cpp_err=$ac_cxx_preproc_warn_flag
19225 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19226 else
19227 ac_cpp_err=
19228 fi
19229 else
19230 ac_cpp_err=yes
19231 fi
19232 if test -z "$ac_cpp_err"; then
19233 :
19234 else
19235 echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.$ac_ext >&5
19237
19238 # Broken: fails on valid input.
19239 continue
19240 fi
19241 rm -f conftest.err conftest.$ac_ext
19242
19243 # OK, works on sane cases. Now check whether non-existent headers
19244 # can be detected and how.
19245 cat >conftest.$ac_ext <<_ACEOF
19246 /* confdefs.h. */
19247 _ACEOF
19248 cat confdefs.h >>conftest.$ac_ext
19249 cat >>conftest.$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 #include <ac_nonexistent.h>
19252 _ACEOF
19253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19255 ac_status=$?
19256 grep -v '^ *+' conftest.er1 >conftest.err
19257 rm -f conftest.er1
19258 cat conftest.err >&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); } >/dev/null; then
19261 if test -s conftest.err; then
19262 ac_cpp_err=$ac_cxx_preproc_warn_flag
19263 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19264 else
19265 ac_cpp_err=
19266 fi
19267 else
19268 ac_cpp_err=yes
19269 fi
19270 if test -z "$ac_cpp_err"; then
19271 # Broken: success on invalid input.
19272 continue
19273 else
19274 echo "$as_me: failed program was:" >&5
19275 sed 's/^/| /' conftest.$ac_ext >&5
19276
19277 # Passes both tests.
19278 ac_preproc_ok=:
19279 break
19280 fi
19281 rm -f conftest.err conftest.$ac_ext
19282
19283 done
19284 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19285 rm -f conftest.err conftest.$ac_ext
19286 if $ac_preproc_ok; then
19287 :
19288 else
19289 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19290 See \`config.log' for more details." >&5
19291 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19292 See \`config.log' for more details." >&2;}
19293 { (exit 1); exit 1; }; }
19294 fi
19295
19296 ac_ext=cc
19297 ac_cpp='$CXXCPP $CPPFLAGS'
19298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19301
19302
19303
19304
19305
19306 ac_ext=cc
19307 ac_cpp='$CXXCPP $CPPFLAGS'
19308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19311
19312
19313
19314 for ac_header in iostream
19315 do
19316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19318 echo "$as_me:$LINENO: checking for $ac_header" >&5
19319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19321 echo $ECHO_N "(cached) $ECHO_C" >&6
19322 fi
19323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19325 else
19326 # Is the header compilable?
19327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19329 cat >conftest.$ac_ext <<_ACEOF
19330 /* confdefs.h. */
19331 _ACEOF
19332 cat confdefs.h >>conftest.$ac_ext
19333 cat >>conftest.$ac_ext <<_ACEOF
19334 /* end confdefs.h. */
19335 $ac_includes_default
19336 #include <$ac_header>
19337 _ACEOF
19338 rm -f conftest.$ac_objext
19339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19340 (eval $ac_compile) 2>conftest.er1
19341 ac_status=$?
19342 grep -v '^ *+' conftest.er1 >conftest.err
19343 rm -f conftest.er1
19344 cat conftest.err >&5
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); } &&
19347 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19349 (eval $ac_try) 2>&5
19350 ac_status=$?
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); }; } &&
19353 { ac_try='test -s conftest.$ac_objext'
19354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19355 (eval $ac_try) 2>&5
19356 ac_status=$?
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); }; }; then
19359 ac_header_compiler=yes
19360 else
19361 echo "$as_me: failed program was:" >&5
19362 sed 's/^/| /' conftest.$ac_ext >&5
19363
19364 ac_header_compiler=no
19365 fi
19366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19368 echo "${ECHO_T}$ac_header_compiler" >&6
19369
19370 # Is the header present?
19371 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19373 cat >conftest.$ac_ext <<_ACEOF
19374 /* confdefs.h. */
19375 _ACEOF
19376 cat confdefs.h >>conftest.$ac_ext
19377 cat >>conftest.$ac_ext <<_ACEOF
19378 /* end confdefs.h. */
19379 #include <$ac_header>
19380 _ACEOF
19381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19382 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19383 ac_status=$?
19384 grep -v '^ *+' conftest.er1 >conftest.err
19385 rm -f conftest.er1
19386 cat conftest.err >&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } >/dev/null; then
19389 if test -s conftest.err; then
19390 ac_cpp_err=$ac_cxx_preproc_warn_flag
19391 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19392 else
19393 ac_cpp_err=
19394 fi
19395 else
19396 ac_cpp_err=yes
19397 fi
19398 if test -z "$ac_cpp_err"; then
19399 ac_header_preproc=yes
19400 else
19401 echo "$as_me: failed program was:" >&5
19402 sed 's/^/| /' conftest.$ac_ext >&5
19403
19404 ac_header_preproc=no
19405 fi
19406 rm -f conftest.err conftest.$ac_ext
19407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19408 echo "${ECHO_T}$ac_header_preproc" >&6
19409
19410 # So? What about this header?
19411 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19412 yes:no: )
19413 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19414 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19416 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19417 ac_header_preproc=yes
19418 ;;
19419 no:yes:* )
19420 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19421 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19422 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19423 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19424 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19425 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19426 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19427 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19429 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19430 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19431 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19432 (
19433 cat <<\_ASBOX
19434 ## ----------------------------------------- ##
19435 ## Report this to wx-dev@lists.wxwidgets.org ##
19436 ## ----------------------------------------- ##
19437 _ASBOX
19438 ) |
19439 sed "s/^/$as_me: WARNING: /" >&2
19440 ;;
19441 esac
19442 echo "$as_me:$LINENO: checking for $ac_header" >&5
19443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19445 echo $ECHO_N "(cached) $ECHO_C" >&6
19446 else
19447 eval "$as_ac_Header=\$ac_header_preproc"
19448 fi
19449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19451
19452 fi
19453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19454 cat >>confdefs.h <<_ACEOF
19455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19456 _ACEOF
19457
19458 fi
19459
19460 done
19461
19462
19463 if test "$ac_cv_header_iostream" = "yes" ; then
19464 :
19465 else
19466 cat >>confdefs.h <<\_ACEOF
19467 #define wxUSE_IOSTREAMH 1
19468 _ACEOF
19469
19470 fi
19471
19472 ac_ext=c
19473 ac_cpp='$CPP $CPPFLAGS'
19474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19477
19478
19479
19480
19481 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19482 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19483 if test "${wx_cv_cpp_bool+set}" = set; then
19484 echo $ECHO_N "(cached) $ECHO_C" >&6
19485 else
19486
19487
19488
19489 ac_ext=cc
19490 ac_cpp='$CXXCPP $CPPFLAGS'
19491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19494
19495
19496 cat >conftest.$ac_ext <<_ACEOF
19497 /* confdefs.h. */
19498 _ACEOF
19499 cat confdefs.h >>conftest.$ac_ext
19500 cat >>conftest.$ac_ext <<_ACEOF
19501 /* end confdefs.h. */
19502
19503
19504 int
19505 main ()
19506 {
19507
19508 bool b = true;
19509
19510 return 0;
19511
19512 ;
19513 return 0;
19514 }
19515 _ACEOF
19516 rm -f conftest.$ac_objext
19517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19518 (eval $ac_compile) 2>conftest.er1
19519 ac_status=$?
19520 grep -v '^ *+' conftest.er1 >conftest.err
19521 rm -f conftest.er1
19522 cat conftest.err >&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } &&
19525 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19527 (eval $ac_try) 2>&5
19528 ac_status=$?
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); }; } &&
19531 { ac_try='test -s conftest.$ac_objext'
19532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19533 (eval $ac_try) 2>&5
19534 ac_status=$?
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); }; }; then
19537
19538 wx_cv_cpp_bool=yes
19539
19540 else
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19543
19544
19545 wx_cv_cpp_bool=no
19546
19547
19548 fi
19549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19550
19551 ac_ext=c
19552 ac_cpp='$CPP $CPPFLAGS'
19553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19556
19557
19558 fi
19559 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19560 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19561
19562 if test "$wx_cv_cpp_bool" = "yes"; then
19563 cat >>confdefs.h <<\_ACEOF
19564 #define HAVE_BOOL 1
19565 _ACEOF
19566
19567 fi
19568
19569
19570
19571 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19572 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19573 if test "${wx_cv_explicit+set}" = set; then
19574 echo $ECHO_N "(cached) $ECHO_C" >&6
19575 else
19576
19577
19578
19579 ac_ext=cc
19580 ac_cpp='$CXXCPP $CPPFLAGS'
19581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19584
19585
19586 cat >conftest.$ac_ext <<_ACEOF
19587 /* confdefs.h. */
19588 _ACEOF
19589 cat confdefs.h >>conftest.$ac_ext
19590 cat >>conftest.$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19592
19593 class Foo { public: explicit Foo(int) {} };
19594
19595 int
19596 main ()
19597 {
19598
19599 return 0;
19600
19601 ;
19602 return 0;
19603 }
19604 _ACEOF
19605 rm -f conftest.$ac_objext
19606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19607 (eval $ac_compile) 2>conftest.er1
19608 ac_status=$?
19609 grep -v '^ *+' conftest.er1 >conftest.err
19610 rm -f conftest.er1
19611 cat conftest.err >&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } &&
19614 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616 (eval $ac_try) 2>&5
19617 ac_status=$?
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); }; } &&
19620 { ac_try='test -s conftest.$ac_objext'
19621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19622 (eval $ac_try) 2>&5
19623 ac_status=$?
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); }; }; then
19626
19627 cat >conftest.$ac_ext <<_ACEOF
19628 /* confdefs.h. */
19629 _ACEOF
19630 cat confdefs.h >>conftest.$ac_ext
19631 cat >>conftest.$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19633
19634 class Foo { public: explicit Foo(int) {} };
19635 static void TakeFoo(const Foo& foo) { }
19636
19637 int
19638 main ()
19639 {
19640
19641 TakeFoo(17);
19642 return 0;
19643
19644 ;
19645 return 0;
19646 }
19647 _ACEOF
19648 rm -f conftest.$ac_objext
19649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19650 (eval $ac_compile) 2>conftest.er1
19651 ac_status=$?
19652 grep -v '^ *+' conftest.er1 >conftest.err
19653 rm -f conftest.er1
19654 cat conftest.err >&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); } &&
19657 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19659 (eval $ac_try) 2>&5
19660 ac_status=$?
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); }; } &&
19663 { ac_try='test -s conftest.$ac_objext'
19664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19665 (eval $ac_try) 2>&5
19666 ac_status=$?
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); }; }; then
19669 wx_cv_explicit=no
19670 else
19671 echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.$ac_ext >&5
19673
19674 wx_cv_explicit=yes
19675
19676 fi
19677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19678
19679 else
19680 echo "$as_me: failed program was:" >&5
19681 sed 's/^/| /' conftest.$ac_ext >&5
19682
19683 wx_cv_explicit=no
19684
19685 fi
19686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19687
19688 ac_ext=c
19689 ac_cpp='$CPP $CPPFLAGS'
19690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19693
19694
19695 fi
19696 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19697 echo "${ECHO_T}$wx_cv_explicit" >&6
19698
19699 if test "$wx_cv_explicit" = "yes"; then
19700 cat >>confdefs.h <<\_ACEOF
19701 #define HAVE_EXPLICIT 1
19702 _ACEOF
19703
19704 fi
19705
19706
19707 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19708 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19709 if test "${ac_cv_cxx_const_cast+set}" = set; then
19710 echo $ECHO_N "(cached) $ECHO_C" >&6
19711 else
19712
19713
19714 ac_ext=cc
19715 ac_cpp='$CXXCPP $CPPFLAGS'
19716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19719
19720 cat >conftest.$ac_ext <<_ACEOF
19721 /* confdefs.h. */
19722 _ACEOF
19723 cat confdefs.h >>conftest.$ac_ext
19724 cat >>conftest.$ac_ext <<_ACEOF
19725 /* end confdefs.h. */
19726
19727 int
19728 main ()
19729 {
19730 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19731 ;
19732 return 0;
19733 }
19734 _ACEOF
19735 rm -f conftest.$ac_objext
19736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19737 (eval $ac_compile) 2>conftest.er1
19738 ac_status=$?
19739 grep -v '^ *+' conftest.er1 >conftest.err
19740 rm -f conftest.er1
19741 cat conftest.err >&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } &&
19744 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19746 (eval $ac_try) 2>&5
19747 ac_status=$?
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); }; } &&
19750 { ac_try='test -s conftest.$ac_objext'
19751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19752 (eval $ac_try) 2>&5
19753 ac_status=$?
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); }; }; then
19756 ac_cv_cxx_const_cast=yes
19757 else
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.$ac_ext >&5
19760
19761 ac_cv_cxx_const_cast=no
19762 fi
19763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19764 ac_ext=c
19765 ac_cpp='$CPP $CPPFLAGS'
19766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19769
19770
19771 fi
19772 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19773 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19774 if test "$ac_cv_cxx_const_cast" = yes; then
19775
19776 cat >>confdefs.h <<\_ACEOF
19777 #define HAVE_CONST_CAST
19778 _ACEOF
19779
19780 fi
19781
19782 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19783 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19784 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19785 echo $ECHO_N "(cached) $ECHO_C" >&6
19786 else
19787
19788
19789 ac_ext=cc
19790 ac_cpp='$CXXCPP $CPPFLAGS'
19791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19794
19795 cat >conftest.$ac_ext <<_ACEOF
19796 /* confdefs.h. */
19797 _ACEOF
19798 cat confdefs.h >>conftest.$ac_ext
19799 cat >>conftest.$ac_ext <<_ACEOF
19800 /* end confdefs.h. */
19801 #include <typeinfo>
19802 class Base { public : Base () {} virtual void f () = 0;};
19803 class Derived : public Base { public : Derived () {} virtual void f () {} };
19804 class Unrelated { public : Unrelated () {} };
19805 int g (Unrelated&) { return 0; }
19806 int
19807 main ()
19808 {
19809
19810 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19811 ;
19812 return 0;
19813 }
19814 _ACEOF
19815 rm -f conftest.$ac_objext
19816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19817 (eval $ac_compile) 2>conftest.er1
19818 ac_status=$?
19819 grep -v '^ *+' conftest.er1 >conftest.err
19820 rm -f conftest.er1
19821 cat conftest.err >&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); } &&
19824 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19827 ac_status=$?
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; } &&
19830 { ac_try='test -s conftest.$ac_objext'
19831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19832 (eval $ac_try) 2>&5
19833 ac_status=$?
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); }; }; then
19836 ac_cv_cxx_reinterpret_cast=yes
19837 else
19838 echo "$as_me: failed program was:" >&5
19839 sed 's/^/| /' conftest.$ac_ext >&5
19840
19841 ac_cv_cxx_reinterpret_cast=no
19842 fi
19843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19844 ac_ext=c
19845 ac_cpp='$CPP $CPPFLAGS'
19846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19849
19850
19851 fi
19852 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19853 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19854 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19855
19856 cat >>confdefs.h <<\_ACEOF
19857 #define HAVE_REINTERPRET_CAST
19858 _ACEOF
19859
19860 fi
19861
19862 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19863 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19864 if test "${ac_cv_cxx_static_cast+set}" = set; then
19865 echo $ECHO_N "(cached) $ECHO_C" >&6
19866 else
19867
19868
19869 ac_ext=cc
19870 ac_cpp='$CXXCPP $CPPFLAGS'
19871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19874
19875 cat >conftest.$ac_ext <<_ACEOF
19876 /* confdefs.h. */
19877 _ACEOF
19878 cat confdefs.h >>conftest.$ac_ext
19879 cat >>conftest.$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19881 #include <typeinfo>
19882 class Base { public : Base () {} virtual void f () = 0; };
19883 class Derived : public Base { public : Derived () {} virtual void f () {} };
19884 int g (Derived&) { return 0; }
19885 int
19886 main ()
19887 {
19888
19889 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19890 ;
19891 return 0;
19892 }
19893 _ACEOF
19894 rm -f conftest.$ac_objext
19895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19896 (eval $ac_compile) 2>conftest.er1
19897 ac_status=$?
19898 grep -v '^ *+' conftest.er1 >conftest.err
19899 rm -f conftest.er1
19900 cat conftest.err >&5
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); } &&
19903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19905 (eval $ac_try) 2>&5
19906 ac_status=$?
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); }; } &&
19909 { ac_try='test -s conftest.$ac_objext'
19910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19911 (eval $ac_try) 2>&5
19912 ac_status=$?
19913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 (exit $ac_status); }; }; then
19915 ac_cv_cxx_static_cast=yes
19916 else
19917 echo "$as_me: failed program was:" >&5
19918 sed 's/^/| /' conftest.$ac_ext >&5
19919
19920 ac_cv_cxx_static_cast=no
19921 fi
19922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19923 ac_ext=c
19924 ac_cpp='$CPP $CPPFLAGS'
19925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19928
19929
19930 fi
19931 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19932 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19933 if test "$ac_cv_cxx_static_cast" = yes; then
19934
19935 cat >>confdefs.h <<\_ACEOF
19936 #define HAVE_STATIC_CAST
19937 _ACEOF
19938
19939 fi
19940
19941
19942 if test "$wxUSE_STL" = "yes"; then
19943 ac_ext=cc
19944 ac_cpp='$CXXCPP $CPPFLAGS'
19945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19948
19949
19950 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19951 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19952 cat >conftest.$ac_ext <<_ACEOF
19953 /* confdefs.h. */
19954 _ACEOF
19955 cat confdefs.h >>conftest.$ac_ext
19956 cat >>conftest.$ac_ext <<_ACEOF
19957 /* end confdefs.h. */
19958 #include <string>
19959 #include <functional>
19960 #include <algorithm>
19961 #include <vector>
19962 #include <list>
19963 int
19964 main ()
19965 {
19966 std::vector<int> moo;
19967 std::list<int> foo;
19968 std::vector<int>::iterator it =
19969 std::find_if(moo.begin(), moo.end(),
19970 std::bind2nd(std::less<int>(), 3));
19971 ;
19972 return 0;
19973 }
19974 _ACEOF
19975 rm -f conftest.$ac_objext
19976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19977 (eval $ac_compile) 2>conftest.er1
19978 ac_status=$?
19979 grep -v '^ *+' conftest.er1 >conftest.err
19980 rm -f conftest.er1
19981 cat conftest.err >&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); } &&
19984 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19986 (eval $ac_try) 2>&5
19987 ac_status=$?
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; } &&
19990 { ac_try='test -s conftest.$ac_objext'
19991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19992 (eval $ac_try) 2>&5
19993 ac_status=$?
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); }; }; then
19996 echo "$as_me:$LINENO: result: yes" >&5
19997 echo "${ECHO_T}yes" >&6
19998 else
19999 echo "$as_me: failed program was:" >&5
20000 sed 's/^/| /' conftest.$ac_ext >&5
20001
20002 echo "$as_me:$LINENO: result: no" >&5
20003 echo "${ECHO_T}no" >&6
20004 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
20005 echo "$as_me: error: Basic STL functionality missing" >&2;}
20006 { (exit 1); exit 1; }; }
20007 fi
20008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20009
20010 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
20011 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
20012 cat >conftest.$ac_ext <<_ACEOF
20013 /* confdefs.h. */
20014 _ACEOF
20015 cat confdefs.h >>conftest.$ac_ext
20016 cat >>conftest.$ac_ext <<_ACEOF
20017 /* end confdefs.h. */
20018 #include <string>
20019 int
20020 main ()
20021 {
20022 std::wstring foo;
20023 ;
20024 return 0;
20025 }
20026 _ACEOF
20027 rm -f conftest.$ac_objext
20028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20029 (eval $ac_compile) 2>conftest.er1
20030 ac_status=$?
20031 grep -v '^ *+' conftest.er1 >conftest.err
20032 rm -f conftest.er1
20033 cat conftest.err >&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); } &&
20036 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20038 (eval $ac_try) 2>&5
20039 ac_status=$?
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); }; } &&
20042 { ac_try='test -s conftest.$ac_objext'
20043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20044 (eval $ac_try) 2>&5
20045 ac_status=$?
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); }; }; then
20048 echo "$as_me:$LINENO: result: yes" >&5
20049 echo "${ECHO_T}yes" >&6
20050 cat >>confdefs.h <<\_ACEOF
20051 #define HAVE_STD_WSTRING 1
20052 _ACEOF
20053
20054 else
20055 echo "$as_me: failed program was:" >&5
20056 sed 's/^/| /' conftest.$ac_ext >&5
20057
20058 echo "$as_me:$LINENO: result: no" >&5
20059 echo "${ECHO_T}no" >&6
20060 fi
20061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20062
20063 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
20064 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
20065 cat >conftest.$ac_ext <<_ACEOF
20066 /* confdefs.h. */
20067 _ACEOF
20068 cat confdefs.h >>conftest.$ac_ext
20069 cat >>conftest.$ac_ext <<_ACEOF
20070 /* end confdefs.h. */
20071 #include <string>
20072 int
20073 main ()
20074 {
20075 std::string foo, bar;
20076 foo.compare(bar);
20077 foo.compare(1, 1, bar);
20078 foo.compare(1, 1, bar, 1, 1);
20079 foo.compare("");
20080 foo.compare(1, 1, "");
20081 foo.compare(1, 1, "", 2);
20082 ;
20083 return 0;
20084 }
20085 _ACEOF
20086 rm -f conftest.$ac_objext
20087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20088 (eval $ac_compile) 2>conftest.er1
20089 ac_status=$?
20090 grep -v '^ *+' conftest.er1 >conftest.err
20091 rm -f conftest.er1
20092 cat conftest.err >&5
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); } &&
20095 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097 (eval $ac_try) 2>&5
20098 ac_status=$?
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); }; } &&
20101 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20107 echo "$as_me:$LINENO: result: yes" >&5
20108 echo "${ECHO_T}yes" >&6
20109 cat >>confdefs.h <<\_ACEOF
20110 #define HAVE_STD_STRING_COMPARE 1
20111 _ACEOF
20112
20113 else
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.$ac_ext >&5
20116
20117 echo "$as_me:$LINENO: result: no" >&5
20118 echo "${ECHO_T}no" >&6
20119 fi
20120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20121
20122 if test "${ac_cv_header_hash_map+set}" = set; then
20123 echo "$as_me:$LINENO: checking for hash_map" >&5
20124 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20125 if test "${ac_cv_header_hash_map+set}" = set; then
20126 echo $ECHO_N "(cached) $ECHO_C" >&6
20127 fi
20128 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20129 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20130 else
20131 # Is the header compilable?
20132 echo "$as_me:$LINENO: checking hash_map usability" >&5
20133 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
20134 cat >conftest.$ac_ext <<_ACEOF
20135 /* confdefs.h. */
20136 _ACEOF
20137 cat confdefs.h >>conftest.$ac_ext
20138 cat >>conftest.$ac_ext <<_ACEOF
20139 /* end confdefs.h. */
20140 $ac_includes_default
20141 #include <hash_map>
20142 _ACEOF
20143 rm -f conftest.$ac_objext
20144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20145 (eval $ac_compile) 2>conftest.er1
20146 ac_status=$?
20147 grep -v '^ *+' conftest.er1 >conftest.err
20148 rm -f conftest.er1
20149 cat conftest.err >&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); } &&
20152 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20155 ac_status=$?
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; } &&
20158 { ac_try='test -s conftest.$ac_objext'
20159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20160 (eval $ac_try) 2>&5
20161 ac_status=$?
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); }; }; then
20164 ac_header_compiler=yes
20165 else
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.$ac_ext >&5
20168
20169 ac_header_compiler=no
20170 fi
20171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20173 echo "${ECHO_T}$ac_header_compiler" >&6
20174
20175 # Is the header present?
20176 echo "$as_me:$LINENO: checking hash_map presence" >&5
20177 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
20178 cat >conftest.$ac_ext <<_ACEOF
20179 /* confdefs.h. */
20180 _ACEOF
20181 cat confdefs.h >>conftest.$ac_ext
20182 cat >>conftest.$ac_ext <<_ACEOF
20183 /* end confdefs.h. */
20184 #include <hash_map>
20185 _ACEOF
20186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20187 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20188 ac_status=$?
20189 grep -v '^ *+' conftest.er1 >conftest.err
20190 rm -f conftest.er1
20191 cat conftest.err >&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); } >/dev/null; then
20194 if test -s conftest.err; then
20195 ac_cpp_err=$ac_cxx_preproc_warn_flag
20196 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20197 else
20198 ac_cpp_err=
20199 fi
20200 else
20201 ac_cpp_err=yes
20202 fi
20203 if test -z "$ac_cpp_err"; then
20204 ac_header_preproc=yes
20205 else
20206 echo "$as_me: failed program was:" >&5
20207 sed 's/^/| /' conftest.$ac_ext >&5
20208
20209 ac_header_preproc=no
20210 fi
20211 rm -f conftest.err conftest.$ac_ext
20212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20213 echo "${ECHO_T}$ac_header_preproc" >&6
20214
20215 # So? What about this header?
20216 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20217 yes:no: )
20218 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20219 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20220 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
20221 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
20222 ac_header_preproc=yes
20223 ;;
20224 no:yes:* )
20225 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
20226 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
20227 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
20228 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
20229 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
20230 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
20231 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
20232 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20233 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
20234 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
20235 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
20236 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
20237 (
20238 cat <<\_ASBOX
20239 ## ----------------------------------------- ##
20240 ## Report this to wx-dev@lists.wxwidgets.org ##
20241 ## ----------------------------------------- ##
20242 _ASBOX
20243 ) |
20244 sed "s/^/$as_me: WARNING: /" >&2
20245 ;;
20246 esac
20247 echo "$as_me:$LINENO: checking for hash_map" >&5
20248 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20249 if test "${ac_cv_header_hash_map+set}" = set; then
20250 echo $ECHO_N "(cached) $ECHO_C" >&6
20251 else
20252 ac_cv_header_hash_map=$ac_header_preproc
20253 fi
20254 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20255 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20256
20257 fi
20258 if test $ac_cv_header_hash_map = yes; then
20259 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20260 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20261 cat >conftest.$ac_ext <<_ACEOF
20262 /* confdefs.h. */
20263 _ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 #include <hash_map>
20268 #include <hash_set>
20269 int
20270 main ()
20271 {
20272 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20273 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20274 ;
20275 return 0;
20276 }
20277 _ACEOF
20278 rm -f conftest.$ac_objext
20279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20280 (eval $ac_compile) 2>conftest.er1
20281 ac_status=$?
20282 grep -v '^ *+' conftest.er1 >conftest.err
20283 rm -f conftest.er1
20284 cat conftest.err >&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); } &&
20287 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20289 (eval $ac_try) 2>&5
20290 ac_status=$?
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; } &&
20293 { ac_try='test -s conftest.$ac_objext'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20296 ac_status=$?
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; }; then
20299 echo "$as_me:$LINENO: result: yes" >&5
20300 echo "${ECHO_T}yes" >&6
20301 cat >>confdefs.h <<\_ACEOF
20302 #define HAVE_HASH_MAP 1
20303 _ACEOF
20304
20305 cat >>confdefs.h <<\_ACEOF
20306 #define HAVE_STD_HASH_MAP 1
20307 _ACEOF
20308
20309 else
20310 echo "$as_me: failed program was:" >&5
20311 sed 's/^/| /' conftest.$ac_ext >&5
20312
20313 echo "$as_me:$LINENO: result: no" >&5
20314 echo "${ECHO_T}no" >&6
20315 fi
20316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20317
20318 fi
20319
20320
20321
20322 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20323 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20324 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20325 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20326 echo $ECHO_N "(cached) $ECHO_C" >&6
20327 fi
20328 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20329 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20330 else
20331 # Is the header compilable?
20332 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20333 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20334 cat >conftest.$ac_ext <<_ACEOF
20335 /* confdefs.h. */
20336 _ACEOF
20337 cat confdefs.h >>conftest.$ac_ext
20338 cat >>conftest.$ac_ext <<_ACEOF
20339 /* end confdefs.h. */
20340 $ac_includes_default
20341 #include <ext/hash_map>
20342 _ACEOF
20343 rm -f conftest.$ac_objext
20344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20345 (eval $ac_compile) 2>conftest.er1
20346 ac_status=$?
20347 grep -v '^ *+' conftest.er1 >conftest.err
20348 rm -f conftest.er1
20349 cat conftest.err >&5
20350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20351 (exit $ac_status); } &&
20352 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20354 (eval $ac_try) 2>&5
20355 ac_status=$?
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); }; } &&
20358 { ac_try='test -s conftest.$ac_objext'
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20361 ac_status=$?
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; }; then
20364 ac_header_compiler=yes
20365 else
20366 echo "$as_me: failed program was:" >&5
20367 sed 's/^/| /' conftest.$ac_ext >&5
20368
20369 ac_header_compiler=no
20370 fi
20371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20372 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20373 echo "${ECHO_T}$ac_header_compiler" >&6
20374
20375 # Is the header present?
20376 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20377 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20378 cat >conftest.$ac_ext <<_ACEOF
20379 /* confdefs.h. */
20380 _ACEOF
20381 cat confdefs.h >>conftest.$ac_ext
20382 cat >>conftest.$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384 #include <ext/hash_map>
20385 _ACEOF
20386 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20387 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20388 ac_status=$?
20389 grep -v '^ *+' conftest.er1 >conftest.err
20390 rm -f conftest.er1
20391 cat conftest.err >&5
20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); } >/dev/null; then
20394 if test -s conftest.err; then
20395 ac_cpp_err=$ac_cxx_preproc_warn_flag
20396 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20397 else
20398 ac_cpp_err=
20399 fi
20400 else
20401 ac_cpp_err=yes
20402 fi
20403 if test -z "$ac_cpp_err"; then
20404 ac_header_preproc=yes
20405 else
20406 echo "$as_me: failed program was:" >&5
20407 sed 's/^/| /' conftest.$ac_ext >&5
20408
20409 ac_header_preproc=no
20410 fi
20411 rm -f conftest.err conftest.$ac_ext
20412 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20413 echo "${ECHO_T}$ac_header_preproc" >&6
20414
20415 # So? What about this header?
20416 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20417 yes:no: )
20418 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20419 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20420 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20421 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20422 ac_header_preproc=yes
20423 ;;
20424 no:yes:* )
20425 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20426 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20427 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20428 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20429 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20430 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20431 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20432 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20433 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20434 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20435 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20436 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20437 (
20438 cat <<\_ASBOX
20439 ## ----------------------------------------- ##
20440 ## Report this to wx-dev@lists.wxwidgets.org ##
20441 ## ----------------------------------------- ##
20442 _ASBOX
20443 ) |
20444 sed "s/^/$as_me: WARNING: /" >&2
20445 ;;
20446 esac
20447 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20448 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20449 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20450 echo $ECHO_N "(cached) $ECHO_C" >&6
20451 else
20452 ac_cv_header_ext_hash_map=$ac_header_preproc
20453 fi
20454 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20455 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20456
20457 fi
20458 if test $ac_cv_header_ext_hash_map = yes; then
20459 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20460 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20461 cat >conftest.$ac_ext <<_ACEOF
20462 /* confdefs.h. */
20463 _ACEOF
20464 cat confdefs.h >>conftest.$ac_ext
20465 cat >>conftest.$ac_ext <<_ACEOF
20466 /* end confdefs.h. */
20467 #include <ext/hash_map>
20468 #include <ext/hash_set>
20469 int
20470 main ()
20471 {
20472 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20473 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20474 ;
20475 return 0;
20476 }
20477 _ACEOF
20478 rm -f conftest.$ac_objext
20479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20480 (eval $ac_compile) 2>conftest.er1
20481 ac_status=$?
20482 grep -v '^ *+' conftest.er1 >conftest.err
20483 rm -f conftest.er1
20484 cat conftest.err >&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); } &&
20487 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20489 (eval $ac_try) 2>&5
20490 ac_status=$?
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); }; } &&
20493 { ac_try='test -s conftest.$ac_objext'
20494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20495 (eval $ac_try) 2>&5
20496 ac_status=$?
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); }; }; then
20499 echo "$as_me:$LINENO: result: yes" >&5
20500 echo "${ECHO_T}yes" >&6
20501 cat >>confdefs.h <<\_ACEOF
20502 #define HAVE_EXT_HASH_MAP 1
20503 _ACEOF
20504
20505 cat >>confdefs.h <<\_ACEOF
20506 #define HAVE_GNU_CXX_HASH_MAP 1
20507 _ACEOF
20508
20509 else
20510 echo "$as_me: failed program was:" >&5
20511 sed 's/^/| /' conftest.$ac_ext >&5
20512
20513 echo "$as_me:$LINENO: result: no" >&5
20514 echo "${ECHO_T}no" >&6
20515 fi
20516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20517
20518 fi
20519
20520
20521
20522 ac_ext=c
20523 ac_cpp='$CPP $CPPFLAGS'
20524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20527
20528 fi
20529
20530
20531 SEARCH_INCLUDE="\
20532 /usr/local/include \
20533 \
20534 /usr/Motif-2.1/include \
20535 /usr/Motif-1.2/include \
20536 /usr/include/Motif1.2 \
20537 /opt/xpm/include/X11 \
20538 /opt/GBxpm/include/ \
20539 /opt/GBxpm/X11/include/ \
20540 \
20541 /usr/dt/include \
20542 /usr/openwin/include \
20543 \
20544 /usr/include/Xm \
20545 \
20546 /usr/X11R6/include \
20547 /usr/X11R6.4/include \
20548 /usr/X11R5/include \
20549 /usr/X11R4/include \
20550 \
20551 /usr/include/X11R6 \
20552 /usr/include/X11R5 \
20553 /usr/include/X11R4 \
20554 \
20555 /usr/local/X11R6/include \
20556 /usr/local/X11R5/include \
20557 /usr/local/X11R4/include \
20558 \
20559 /usr/local/include/X11R6 \
20560 /usr/local/include/X11R5 \
20561 /usr/local/include/X11R4 \
20562 \
20563 /usr/X11/include \
20564 /usr/include/X11 \
20565 /usr/local/X11/include \
20566 /usr/local/include/X11 \
20567 \
20568 /usr/X386/include \
20569 /usr/x386/include \
20570 /usr/XFree86/include/X11 \
20571 \
20572 X:/XFree86/include \
20573 X:/XFree86/include/X11 \
20574 \
20575 /usr/include/gtk \
20576 /usr/local/include/gtk \
20577 /usr/include/glib \
20578 /usr/local/include/glib \
20579 \
20580 /usr/include/qt \
20581 /usr/local/include/qt \
20582 \
20583 /usr/local/arm/3.3.2/include \
20584 \
20585 /usr/include/windows \
20586 /usr/include/wine \
20587 /usr/local/include/wine \
20588 \
20589 /usr/unsupported/include \
20590 /usr/athena/include \
20591 /usr/local/x11r5/include \
20592 /usr/lpp/Xamples/include \
20593 \
20594 /usr/openwin/share/include"
20595
20596 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20597
20598
20599 cat >confcache <<\_ACEOF
20600 # This file is a shell script that caches the results of configure
20601 # tests run on this system so they can be shared between configure
20602 # scripts and configure runs, see configure's option --config-cache.
20603 # It is not useful on other systems. If it contains results you don't
20604 # want to keep, you may remove or edit it.
20605 #
20606 # config.status only pays attention to the cache file if you give it
20607 # the --recheck option to rerun configure.
20608 #
20609 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20610 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20611 # following values.
20612
20613 _ACEOF
20614
20615 # The following way of writing the cache mishandles newlines in values,
20616 # but we know of no workaround that is simple, portable, and efficient.
20617 # So, don't put newlines in cache variables' values.
20618 # Ultrix sh set writes to stderr and can't be redirected directly,
20619 # and sets the high bit in the cache file unless we assign to the vars.
20620 {
20621 (set) 2>&1 |
20622 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20623 *ac_space=\ *)
20624 # `set' does not quote correctly, so add quotes (double-quote
20625 # substitution turns \\\\ into \\, and sed turns \\ into \).
20626 sed -n \
20627 "s/'/'\\\\''/g;
20628 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20629 ;;
20630 *)
20631 # `set' quotes correctly as required by POSIX, so do not add quotes.
20632 sed -n \
20633 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20634 ;;
20635 esac;
20636 } |
20637 sed '
20638 t clear
20639 : clear
20640 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20641 t end
20642 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20643 : end' >>confcache
20644 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20645 if test -w $cache_file; then
20646 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20647 cat confcache >$cache_file
20648 else
20649 echo "not updating unwritable cache $cache_file"
20650 fi
20651 fi
20652 rm -f confcache
20653
20654 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20655 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20656 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20657 if test "${wx_cv_lib_glibc21+set}" = set; then
20658 echo $ECHO_N "(cached) $ECHO_C" >&6
20659 else
20660
20661 cat >conftest.$ac_ext <<_ACEOF
20662 /* confdefs.h. */
20663 _ACEOF
20664 cat confdefs.h >>conftest.$ac_ext
20665 cat >>conftest.$ac_ext <<_ACEOF
20666 /* end confdefs.h. */
20667 #include <features.h>
20668 int
20669 main ()
20670 {
20671
20672 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20673 #error not glibc2.1
20674 #endif
20675
20676 ;
20677 return 0;
20678 }
20679 _ACEOF
20680 rm -f conftest.$ac_objext
20681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20682 (eval $ac_compile) 2>conftest.er1
20683 ac_status=$?
20684 grep -v '^ *+' conftest.er1 >conftest.err
20685 rm -f conftest.er1
20686 cat conftest.err >&5
20687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688 (exit $ac_status); } &&
20689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20691 (eval $ac_try) 2>&5
20692 ac_status=$?
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); }; } &&
20695 { ac_try='test -s conftest.$ac_objext'
20696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20697 (eval $ac_try) 2>&5
20698 ac_status=$?
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); }; }; then
20701
20702 wx_cv_lib_glibc21=yes
20703
20704 else
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.$ac_ext >&5
20707
20708
20709 wx_cv_lib_glibc21=no
20710
20711
20712 fi
20713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20714
20715 fi
20716 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20717 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20718 if test "$wx_cv_lib_glibc21" = "yes"; then
20719 cat >>confdefs.h <<\_ACEOF
20720 #define wxHAVE_GLIBC2 1
20721 _ACEOF
20722
20723 fi
20724 fi
20725
20726 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20727 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20728 cat >>confdefs.h <<\_ACEOF
20729 #define _GNU_SOURCE 1
20730 _ACEOF
20731
20732 fi
20733 fi
20734
20735
20736
20737 if test "$wxUSE_REGEX" != "no"; then
20738 cat >>confdefs.h <<\_ACEOF
20739 #define wxUSE_REGEX 1
20740 _ACEOF
20741
20742
20743 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20744 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20745 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20746 wxUSE_REGEX=builtin
20747 fi
20748
20749 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20750 if test "${ac_cv_header_regex_h+set}" = set; then
20751 echo "$as_me:$LINENO: checking for regex.h" >&5
20752 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20753 if test "${ac_cv_header_regex_h+set}" = set; then
20754 echo $ECHO_N "(cached) $ECHO_C" >&6
20755 fi
20756 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20757 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20758 else
20759 # Is the header compilable?
20760 echo "$as_me:$LINENO: checking regex.h usability" >&5
20761 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20762 cat >conftest.$ac_ext <<_ACEOF
20763 /* confdefs.h. */
20764 _ACEOF
20765 cat confdefs.h >>conftest.$ac_ext
20766 cat >>conftest.$ac_ext <<_ACEOF
20767 /* end confdefs.h. */
20768 $ac_includes_default
20769 #include <regex.h>
20770 _ACEOF
20771 rm -f conftest.$ac_objext
20772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20773 (eval $ac_compile) 2>conftest.er1
20774 ac_status=$?
20775 grep -v '^ *+' conftest.er1 >conftest.err
20776 rm -f conftest.er1
20777 cat conftest.err >&5
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); } &&
20780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20782 (eval $ac_try) 2>&5
20783 ac_status=$?
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); }; } &&
20786 { ac_try='test -s conftest.$ac_objext'
20787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20788 (eval $ac_try) 2>&5
20789 ac_status=$?
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); }; }; then
20792 ac_header_compiler=yes
20793 else
20794 echo "$as_me: failed program was:" >&5
20795 sed 's/^/| /' conftest.$ac_ext >&5
20796
20797 ac_header_compiler=no
20798 fi
20799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20800 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20801 echo "${ECHO_T}$ac_header_compiler" >&6
20802
20803 # Is the header present?
20804 echo "$as_me:$LINENO: checking regex.h presence" >&5
20805 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20806 cat >conftest.$ac_ext <<_ACEOF
20807 /* confdefs.h. */
20808 _ACEOF
20809 cat confdefs.h >>conftest.$ac_ext
20810 cat >>conftest.$ac_ext <<_ACEOF
20811 /* end confdefs.h. */
20812 #include <regex.h>
20813 _ACEOF
20814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20815 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20816 ac_status=$?
20817 grep -v '^ *+' conftest.er1 >conftest.err
20818 rm -f conftest.er1
20819 cat conftest.err >&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } >/dev/null; then
20822 if test -s conftest.err; then
20823 ac_cpp_err=$ac_c_preproc_warn_flag
20824 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20825 else
20826 ac_cpp_err=
20827 fi
20828 else
20829 ac_cpp_err=yes
20830 fi
20831 if test -z "$ac_cpp_err"; then
20832 ac_header_preproc=yes
20833 else
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20836
20837 ac_header_preproc=no
20838 fi
20839 rm -f conftest.err conftest.$ac_ext
20840 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20841 echo "${ECHO_T}$ac_header_preproc" >&6
20842
20843 # So? What about this header?
20844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20845 yes:no: )
20846 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20847 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20848 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20849 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20850 ac_header_preproc=yes
20851 ;;
20852 no:yes:* )
20853 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20854 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20855 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20856 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20857 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20858 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20859 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20860 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20861 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20862 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20863 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20864 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20865 (
20866 cat <<\_ASBOX
20867 ## ----------------------------------------- ##
20868 ## Report this to wx-dev@lists.wxwidgets.org ##
20869 ## ----------------------------------------- ##
20870 _ASBOX
20871 ) |
20872 sed "s/^/$as_me: WARNING: /" >&2
20873 ;;
20874 esac
20875 echo "$as_me:$LINENO: checking for regex.h" >&5
20876 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20877 if test "${ac_cv_header_regex_h+set}" = set; then
20878 echo $ECHO_N "(cached) $ECHO_C" >&6
20879 else
20880 ac_cv_header_regex_h=$ac_header_preproc
20881 fi
20882 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20883 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20884
20885 fi
20886 if test $ac_cv_header_regex_h = yes; then
20887
20888 for ac_func in regcomp
20889 do
20890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20891 echo "$as_me:$LINENO: checking for $ac_func" >&5
20892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20893 if eval "test \"\${$as_ac_var+set}\" = set"; then
20894 echo $ECHO_N "(cached) $ECHO_C" >&6
20895 else
20896 cat >conftest.$ac_ext <<_ACEOF
20897 /* confdefs.h. */
20898 _ACEOF
20899 cat confdefs.h >>conftest.$ac_ext
20900 cat >>conftest.$ac_ext <<_ACEOF
20901 /* end confdefs.h. */
20902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20904 #define $ac_func innocuous_$ac_func
20905
20906 /* System header to define __stub macros and hopefully few prototypes,
20907 which can conflict with char $ac_func (); below.
20908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20909 <limits.h> exists even on freestanding compilers. */
20910
20911 #ifdef __STDC__
20912 # include <limits.h>
20913 #else
20914 # include <assert.h>
20915 #endif
20916
20917 #undef $ac_func
20918
20919 /* Override any gcc2 internal prototype to avoid an error. */
20920 #ifdef __cplusplus
20921 extern "C"
20922 {
20923 #endif
20924 /* We use char because int might match the return type of a gcc2
20925 builtin and then its argument prototype would still apply. */
20926 char $ac_func ();
20927 /* The GNU C library defines this for functions which it implements
20928 to always fail with ENOSYS. Some functions are actually named
20929 something starting with __ and the normal name is an alias. */
20930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20931 choke me
20932 #else
20933 char (*f) () = $ac_func;
20934 #endif
20935 #ifdef __cplusplus
20936 }
20937 #endif
20938
20939 int
20940 main ()
20941 {
20942 return f != $ac_func;
20943 ;
20944 return 0;
20945 }
20946 _ACEOF
20947 rm -f conftest.$ac_objext conftest$ac_exeext
20948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20949 (eval $ac_link) 2>conftest.er1
20950 ac_status=$?
20951 grep -v '^ *+' conftest.er1 >conftest.err
20952 rm -f conftest.er1
20953 cat conftest.err >&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); } &&
20956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20958 (eval $ac_try) 2>&5
20959 ac_status=$?
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); }; } &&
20962 { ac_try='test -s conftest$ac_exeext'
20963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20964 (eval $ac_try) 2>&5
20965 ac_status=$?
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); }; }; then
20968 eval "$as_ac_var=yes"
20969 else
20970 echo "$as_me: failed program was:" >&5
20971 sed 's/^/| /' conftest.$ac_ext >&5
20972
20973 eval "$as_ac_var=no"
20974 fi
20975 rm -f conftest.err conftest.$ac_objext \
20976 conftest$ac_exeext conftest.$ac_ext
20977 fi
20978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20980 if test `eval echo '${'$as_ac_var'}'` = yes; then
20981 cat >>confdefs.h <<_ACEOF
20982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20983 _ACEOF
20984
20985 fi
20986 done
20987
20988 fi
20989
20990
20991
20992 if test "x$ac_cv_func_regcomp" != "xyes"; then
20993 if test "$wxUSE_REGEX" = "sys" ; then
20994 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20995 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20996 { (exit 1); exit 1; }; }
20997 else
20998 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20999 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
21000 wxUSE_REGEX=builtin
21001 fi
21002 else
21003 wxUSE_REGEX=sys
21004 cat >>confdefs.h <<\_ACEOF
21005 #define WX_NO_REGEX_ADVANCED 1
21006 _ACEOF
21007
21008 fi
21009 fi
21010 fi
21011
21012
21013 ZLIB_LINK=
21014 if test "$wxUSE_ZLIB" != "no" ; then
21015 cat >>confdefs.h <<\_ACEOF
21016 #define wxUSE_ZLIB 1
21017 _ACEOF
21018
21019
21020 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
21021 if test "$USE_DARWIN" = 1; then
21022 system_zlib_h_ok="yes"
21023 else
21024 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
21025 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
21026 if test "${ac_cv_header_zlib_h+set}" = set; then
21027 echo $ECHO_N "(cached) $ECHO_C" >&6
21028 else
21029 if test "$cross_compiling" = yes; then
21030 unset ac_cv_header_zlib_h
21031
21032 else
21033 cat >conftest.$ac_ext <<_ACEOF
21034 /* confdefs.h. */
21035 _ACEOF
21036 cat confdefs.h >>conftest.$ac_ext
21037 cat >>conftest.$ac_ext <<_ACEOF
21038 /* end confdefs.h. */
21039
21040 #include <zlib.h>
21041 #include <stdio.h>
21042
21043 int main()
21044 {
21045 FILE *f=fopen("conftestval", "w");
21046 if (!f) exit(1);
21047 fprintf(f, "%s",
21048 ZLIB_VERSION[0] == '1' &&
21049 (ZLIB_VERSION[2] > '1' ||
21050 (ZLIB_VERSION[2] == '1' &&
21051 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
21052 exit(0);
21053 }
21054
21055 _ACEOF
21056 rm -f conftest$ac_exeext
21057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21058 (eval $ac_link) 2>&5
21059 ac_status=$?
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21063 (eval $ac_try) 2>&5
21064 ac_status=$?
21065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21066 (exit $ac_status); }; }; then
21067 ac_cv_header_zlib_h=`cat conftestval`
21068 else
21069 echo "$as_me: program exited with status $ac_status" >&5
21070 echo "$as_me: failed program was:" >&5
21071 sed 's/^/| /' conftest.$ac_ext >&5
21072
21073 ( exit $ac_status )
21074 ac_cv_header_zlib_h=no
21075 fi
21076 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21077 fi
21078
21079 fi
21080 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21081 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21082 if test "${ac_cv_header_zlib_h+set}" = set; then
21083 echo "$as_me:$LINENO: checking for zlib.h" >&5
21084 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21085 if test "${ac_cv_header_zlib_h+set}" = set; then
21086 echo $ECHO_N "(cached) $ECHO_C" >&6
21087 fi
21088 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21089 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21090 else
21091 # Is the header compilable?
21092 echo "$as_me:$LINENO: checking zlib.h usability" >&5
21093 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
21094 cat >conftest.$ac_ext <<_ACEOF
21095 /* confdefs.h. */
21096 _ACEOF
21097 cat confdefs.h >>conftest.$ac_ext
21098 cat >>conftest.$ac_ext <<_ACEOF
21099 /* end confdefs.h. */
21100 $ac_includes_default
21101 #include <zlib.h>
21102 _ACEOF
21103 rm -f conftest.$ac_objext
21104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21105 (eval $ac_compile) 2>conftest.er1
21106 ac_status=$?
21107 grep -v '^ *+' conftest.er1 >conftest.err
21108 rm -f conftest.er1
21109 cat conftest.err >&5
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); } &&
21112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21114 (eval $ac_try) 2>&5
21115 ac_status=$?
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); }; } &&
21118 { ac_try='test -s conftest.$ac_objext'
21119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21120 (eval $ac_try) 2>&5
21121 ac_status=$?
21122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123 (exit $ac_status); }; }; then
21124 ac_header_compiler=yes
21125 else
21126 echo "$as_me: failed program was:" >&5
21127 sed 's/^/| /' conftest.$ac_ext >&5
21128
21129 ac_header_compiler=no
21130 fi
21131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21133 echo "${ECHO_T}$ac_header_compiler" >&6
21134
21135 # Is the header present?
21136 echo "$as_me:$LINENO: checking zlib.h presence" >&5
21137 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
21138 cat >conftest.$ac_ext <<_ACEOF
21139 /* confdefs.h. */
21140 _ACEOF
21141 cat confdefs.h >>conftest.$ac_ext
21142 cat >>conftest.$ac_ext <<_ACEOF
21143 /* end confdefs.h. */
21144 #include <zlib.h>
21145 _ACEOF
21146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21147 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21148 ac_status=$?
21149 grep -v '^ *+' conftest.er1 >conftest.err
21150 rm -f conftest.er1
21151 cat conftest.err >&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); } >/dev/null; then
21154 if test -s conftest.err; then
21155 ac_cpp_err=$ac_c_preproc_warn_flag
21156 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21157 else
21158 ac_cpp_err=
21159 fi
21160 else
21161 ac_cpp_err=yes
21162 fi
21163 if test -z "$ac_cpp_err"; then
21164 ac_header_preproc=yes
21165 else
21166 echo "$as_me: failed program was:" >&5
21167 sed 's/^/| /' conftest.$ac_ext >&5
21168
21169 ac_header_preproc=no
21170 fi
21171 rm -f conftest.err conftest.$ac_ext
21172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21173 echo "${ECHO_T}$ac_header_preproc" >&6
21174
21175 # So? What about this header?
21176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21177 yes:no: )
21178 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
21179 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21180 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
21181 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
21182 ac_header_preproc=yes
21183 ;;
21184 no:yes:* )
21185 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
21186 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
21187 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
21188 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
21189 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
21190 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
21191 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
21192 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
21193 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
21194 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
21195 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
21196 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
21197 (
21198 cat <<\_ASBOX
21199 ## ----------------------------------------- ##
21200 ## Report this to wx-dev@lists.wxwidgets.org ##
21201 ## ----------------------------------------- ##
21202 _ASBOX
21203 ) |
21204 sed "s/^/$as_me: WARNING: /" >&2
21205 ;;
21206 esac
21207 echo "$as_me:$LINENO: checking for zlib.h" >&5
21208 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21209 if test "${ac_cv_header_zlib_h+set}" = set; then
21210 echo $ECHO_N "(cached) $ECHO_C" >&6
21211 else
21212 ac_cv_header_zlib_h=$ac_header_preproc
21213 fi
21214 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21215 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21216
21217 fi
21218
21219
21220
21221 system_zlib_h_ok=$ac_cv_header_zlib_h
21222 fi
21223
21224 if test "$system_zlib_h_ok" = "yes"; then
21225 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
21226 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
21227 if test "${ac_cv_lib_z_deflate+set}" = set; then
21228 echo $ECHO_N "(cached) $ECHO_C" >&6
21229 else
21230 ac_check_lib_save_LIBS=$LIBS
21231 LIBS="-lz $LIBS"
21232 cat >conftest.$ac_ext <<_ACEOF
21233 /* confdefs.h. */
21234 _ACEOF
21235 cat confdefs.h >>conftest.$ac_ext
21236 cat >>conftest.$ac_ext <<_ACEOF
21237 /* end confdefs.h. */
21238
21239 /* Override any gcc2 internal prototype to avoid an error. */
21240 #ifdef __cplusplus
21241 extern "C"
21242 #endif
21243 /* We use char because int might match the return type of a gcc2
21244 builtin and then its argument prototype would still apply. */
21245 char deflate ();
21246 int
21247 main ()
21248 {
21249 deflate ();
21250 ;
21251 return 0;
21252 }
21253 _ACEOF
21254 rm -f conftest.$ac_objext conftest$ac_exeext
21255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21256 (eval $ac_link) 2>conftest.er1
21257 ac_status=$?
21258 grep -v '^ *+' conftest.er1 >conftest.err
21259 rm -f conftest.er1
21260 cat conftest.err >&5
21261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21262 (exit $ac_status); } &&
21263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21265 (eval $ac_try) 2>&5
21266 ac_status=$?
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); }; } &&
21269 { ac_try='test -s conftest$ac_exeext'
21270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21271 (eval $ac_try) 2>&5
21272 ac_status=$?
21273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274 (exit $ac_status); }; }; then
21275 ac_cv_lib_z_deflate=yes
21276 else
21277 echo "$as_me: failed program was:" >&5
21278 sed 's/^/| /' conftest.$ac_ext >&5
21279
21280 ac_cv_lib_z_deflate=no
21281 fi
21282 rm -f conftest.err conftest.$ac_objext \
21283 conftest$ac_exeext conftest.$ac_ext
21284 LIBS=$ac_check_lib_save_LIBS
21285 fi
21286 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21287 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21288 if test $ac_cv_lib_z_deflate = yes; then
21289 ZLIB_LINK=" -lz"
21290 fi
21291
21292 fi
21293
21294 if test "x$ZLIB_LINK" = "x" ; then
21295 if test "$wxUSE_ZLIB" = "sys" ; then
21296 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21297 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21298 { (exit 1); exit 1; }; }
21299 else
21300 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21301 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21302 wxUSE_ZLIB=builtin
21303 fi
21304 else
21305 wxUSE_ZLIB=sys
21306 fi
21307 fi
21308 fi
21309
21310
21311 PNG_LINK=
21312 if test "$wxUSE_LIBPNG" != "no" ; then
21313 cat >>confdefs.h <<\_ACEOF
21314 #define wxUSE_LIBPNG 1
21315 _ACEOF
21316
21317
21318 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21319 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21320 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21321 wxUSE_LIBPNG=sys
21322 fi
21323
21324 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21325 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21326 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21327 wxUSE_LIBPNG=builtin
21328 fi
21329
21330 if test "$wxUSE_MGL" != 1 ; then
21331 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21332 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21333 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21334 if test "${ac_cv_header_png_h+set}" = set; then
21335 echo $ECHO_N "(cached) $ECHO_C" >&6
21336 else
21337 if test "$cross_compiling" = yes; then
21338 unset ac_cv_header_png_h
21339
21340 else
21341 cat >conftest.$ac_ext <<_ACEOF
21342 /* confdefs.h. */
21343 _ACEOF
21344 cat confdefs.h >>conftest.$ac_ext
21345 cat >>conftest.$ac_ext <<_ACEOF
21346 /* end confdefs.h. */
21347
21348 #include <png.h>
21349 #include <stdio.h>
21350
21351 int main()
21352 {
21353 FILE *f=fopen("conftestval", "w");
21354 if (!f) exit(1);
21355 fprintf(f, "%s",
21356 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21357 exit(0);
21358 }
21359
21360 _ACEOF
21361 rm -f conftest$ac_exeext
21362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21363 (eval $ac_link) 2>&5
21364 ac_status=$?
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21368 (eval $ac_try) 2>&5
21369 ac_status=$?
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); }; }; then
21372 ac_cv_header_png_h=`cat conftestval`
21373 else
21374 echo "$as_me: program exited with status $ac_status" >&5
21375 echo "$as_me: failed program was:" >&5
21376 sed 's/^/| /' conftest.$ac_ext >&5
21377
21378 ( exit $ac_status )
21379 ac_cv_header_png_h=no
21380 fi
21381 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21382 fi
21383
21384 fi
21385 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21386 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21387 if test "${ac_cv_header_png_h+set}" = set; then
21388 echo "$as_me:$LINENO: checking for png.h" >&5
21389 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21390 if test "${ac_cv_header_png_h+set}" = set; then
21391 echo $ECHO_N "(cached) $ECHO_C" >&6
21392 fi
21393 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21394 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21395 else
21396 # Is the header compilable?
21397 echo "$as_me:$LINENO: checking png.h usability" >&5
21398 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21399 cat >conftest.$ac_ext <<_ACEOF
21400 /* confdefs.h. */
21401 _ACEOF
21402 cat confdefs.h >>conftest.$ac_ext
21403 cat >>conftest.$ac_ext <<_ACEOF
21404 /* end confdefs.h. */
21405 $ac_includes_default
21406 #include <png.h>
21407 _ACEOF
21408 rm -f conftest.$ac_objext
21409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21410 (eval $ac_compile) 2>conftest.er1
21411 ac_status=$?
21412 grep -v '^ *+' conftest.er1 >conftest.err
21413 rm -f conftest.er1
21414 cat conftest.err >&5
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); } &&
21417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21419 (eval $ac_try) 2>&5
21420 ac_status=$?
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); }; } &&
21423 { ac_try='test -s conftest.$ac_objext'
21424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21425 (eval $ac_try) 2>&5
21426 ac_status=$?
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; }; then
21429 ac_header_compiler=yes
21430 else
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.$ac_ext >&5
21433
21434 ac_header_compiler=no
21435 fi
21436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21437 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21438 echo "${ECHO_T}$ac_header_compiler" >&6
21439
21440 # Is the header present?
21441 echo "$as_me:$LINENO: checking png.h presence" >&5
21442 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21443 cat >conftest.$ac_ext <<_ACEOF
21444 /* confdefs.h. */
21445 _ACEOF
21446 cat confdefs.h >>conftest.$ac_ext
21447 cat >>conftest.$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21449 #include <png.h>
21450 _ACEOF
21451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21452 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21453 ac_status=$?
21454 grep -v '^ *+' conftest.er1 >conftest.err
21455 rm -f conftest.er1
21456 cat conftest.err >&5
21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458 (exit $ac_status); } >/dev/null; then
21459 if test -s conftest.err; then
21460 ac_cpp_err=$ac_c_preproc_warn_flag
21461 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21462 else
21463 ac_cpp_err=
21464 fi
21465 else
21466 ac_cpp_err=yes
21467 fi
21468 if test -z "$ac_cpp_err"; then
21469 ac_header_preproc=yes
21470 else
21471 echo "$as_me: failed program was:" >&5
21472 sed 's/^/| /' conftest.$ac_ext >&5
21473
21474 ac_header_preproc=no
21475 fi
21476 rm -f conftest.err conftest.$ac_ext
21477 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21478 echo "${ECHO_T}$ac_header_preproc" >&6
21479
21480 # So? What about this header?
21481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21482 yes:no: )
21483 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21484 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21485 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21486 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21487 ac_header_preproc=yes
21488 ;;
21489 no:yes:* )
21490 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21491 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21492 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21493 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21494 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21495 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21496 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21497 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21498 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21499 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21500 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21501 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21502 (
21503 cat <<\_ASBOX
21504 ## ----------------------------------------- ##
21505 ## Report this to wx-dev@lists.wxwidgets.org ##
21506 ## ----------------------------------------- ##
21507 _ASBOX
21508 ) |
21509 sed "s/^/$as_me: WARNING: /" >&2
21510 ;;
21511 esac
21512 echo "$as_me:$LINENO: checking for png.h" >&5
21513 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21514 if test "${ac_cv_header_png_h+set}" = set; then
21515 echo $ECHO_N "(cached) $ECHO_C" >&6
21516 else
21517 ac_cv_header_png_h=$ac_header_preproc
21518 fi
21519 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21520 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21521
21522 fi
21523
21524
21525
21526 if test "$ac_cv_header_png_h" = "yes"; then
21527 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21528 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21529 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21530 echo $ECHO_N "(cached) $ECHO_C" >&6
21531 else
21532 ac_check_lib_save_LIBS=$LIBS
21533 LIBS="-lpng -lz -lm $LIBS"
21534 cat >conftest.$ac_ext <<_ACEOF
21535 /* confdefs.h. */
21536 _ACEOF
21537 cat confdefs.h >>conftest.$ac_ext
21538 cat >>conftest.$ac_ext <<_ACEOF
21539 /* end confdefs.h. */
21540
21541 /* Override any gcc2 internal prototype to avoid an error. */
21542 #ifdef __cplusplus
21543 extern "C"
21544 #endif
21545 /* We use char because int might match the return type of a gcc2
21546 builtin and then its argument prototype would still apply. */
21547 char png_check_sig ();
21548 int
21549 main ()
21550 {
21551 png_check_sig ();
21552 ;
21553 return 0;
21554 }
21555 _ACEOF
21556 rm -f conftest.$ac_objext conftest$ac_exeext
21557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21558 (eval $ac_link) 2>conftest.er1
21559 ac_status=$?
21560 grep -v '^ *+' conftest.er1 >conftest.err
21561 rm -f conftest.er1
21562 cat conftest.err >&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); } &&
21565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21567 (eval $ac_try) 2>&5
21568 ac_status=$?
21569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570 (exit $ac_status); }; } &&
21571 { ac_try='test -s conftest$ac_exeext'
21572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21573 (eval $ac_try) 2>&5
21574 ac_status=$?
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); }; }; then
21577 ac_cv_lib_png_png_check_sig=yes
21578 else
21579 echo "$as_me: failed program was:" >&5
21580 sed 's/^/| /' conftest.$ac_ext >&5
21581
21582 ac_cv_lib_png_png_check_sig=no
21583 fi
21584 rm -f conftest.err conftest.$ac_objext \
21585 conftest$ac_exeext conftest.$ac_ext
21586 LIBS=$ac_check_lib_save_LIBS
21587 fi
21588 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21589 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21590 if test $ac_cv_lib_png_png_check_sig = yes; then
21591 PNG_LINK=" -lpng -lz"
21592 fi
21593
21594 fi
21595
21596 if test "x$PNG_LINK" = "x" ; then
21597 if test "$wxUSE_LIBPNG" = "sys" ; then
21598 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21599 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21600 { (exit 1); exit 1; }; }
21601 else
21602 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21603 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21604 wxUSE_LIBPNG=builtin
21605 fi
21606 else
21607 wxUSE_LIBPNG=sys
21608 fi
21609 fi
21610 fi
21611
21612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
21613 fi
21614
21615
21616 JPEG_LINK=
21617 if test "$wxUSE_LIBJPEG" != "no" ; then
21618 cat >>confdefs.h <<\_ACEOF
21619 #define wxUSE_LIBJPEG 1
21620 _ACEOF
21621
21622
21623 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21624 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21625 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21626 wxUSE_LIBJPEG=sys
21627 fi
21628
21629 if test "$wxUSE_MGL" != 1 ; then
21630 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21631 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21632 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21633 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21634 echo $ECHO_N "(cached) $ECHO_C" >&6
21635 else
21636 cat >conftest.$ac_ext <<_ACEOF
21637 /* confdefs.h. */
21638 _ACEOF
21639 cat confdefs.h >>conftest.$ac_ext
21640 cat >>conftest.$ac_ext <<_ACEOF
21641 /* end confdefs.h. */
21642
21643 #undef HAVE_STDLIB_H
21644 #include <stdio.h>
21645 #include <jpeglib.h>
21646
21647 int
21648 main ()
21649 {
21650
21651
21652 ;
21653 return 0;
21654 }
21655 _ACEOF
21656 rm -f conftest.$ac_objext
21657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21658 (eval $ac_compile) 2>conftest.er1
21659 ac_status=$?
21660 grep -v '^ *+' conftest.er1 >conftest.err
21661 rm -f conftest.er1
21662 cat conftest.err >&5
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); } &&
21665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21667 (eval $ac_try) 2>&5
21668 ac_status=$?
21669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21670 (exit $ac_status); }; } &&
21671 { ac_try='test -s conftest.$ac_objext'
21672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21673 (eval $ac_try) 2>&5
21674 ac_status=$?
21675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21676 (exit $ac_status); }; }; then
21677 ac_cv_header_jpeglib_h=yes
21678 else
21679 echo "$as_me: failed program was:" >&5
21680 sed 's/^/| /' conftest.$ac_ext >&5
21681
21682 ac_cv_header_jpeglib_h=no
21683
21684 fi
21685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21686
21687 fi
21688
21689 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21690 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21691
21692 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21693 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21694 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21695 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21696 echo $ECHO_N "(cached) $ECHO_C" >&6
21697 else
21698 ac_check_lib_save_LIBS=$LIBS
21699 LIBS="-ljpeg $LIBS"
21700 cat >conftest.$ac_ext <<_ACEOF
21701 /* confdefs.h. */
21702 _ACEOF
21703 cat confdefs.h >>conftest.$ac_ext
21704 cat >>conftest.$ac_ext <<_ACEOF
21705 /* end confdefs.h. */
21706
21707 /* Override any gcc2 internal prototype to avoid an error. */
21708 #ifdef __cplusplus
21709 extern "C"
21710 #endif
21711 /* We use char because int might match the return type of a gcc2
21712 builtin and then its argument prototype would still apply. */
21713 char jpeg_read_header ();
21714 int
21715 main ()
21716 {
21717 jpeg_read_header ();
21718 ;
21719 return 0;
21720 }
21721 _ACEOF
21722 rm -f conftest.$ac_objext conftest$ac_exeext
21723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21724 (eval $ac_link) 2>conftest.er1
21725 ac_status=$?
21726 grep -v '^ *+' conftest.er1 >conftest.err
21727 rm -f conftest.er1
21728 cat conftest.err >&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } &&
21731 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21733 (eval $ac_try) 2>&5
21734 ac_status=$?
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); }; } &&
21737 { ac_try='test -s conftest$ac_exeext'
21738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21739 (eval $ac_try) 2>&5
21740 ac_status=$?
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); }; }; then
21743 ac_cv_lib_jpeg_jpeg_read_header=yes
21744 else
21745 echo "$as_me: failed program was:" >&5
21746 sed 's/^/| /' conftest.$ac_ext >&5
21747
21748 ac_cv_lib_jpeg_jpeg_read_header=no
21749 fi
21750 rm -f conftest.err conftest.$ac_objext \
21751 conftest$ac_exeext conftest.$ac_ext
21752 LIBS=$ac_check_lib_save_LIBS
21753 fi
21754 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21755 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21756 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21757 JPEG_LINK=" -ljpeg"
21758 fi
21759
21760 fi
21761
21762 if test "x$JPEG_LINK" = "x" ; then
21763 if test "$wxUSE_LIBJPEG" = "sys" ; then
21764 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21765 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21766 { (exit 1); exit 1; }; }
21767 else
21768 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21769 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21770 wxUSE_LIBJPEG=builtin
21771 fi
21772 else
21773 wxUSE_LIBJPEG=sys
21774 fi
21775 fi
21776 fi
21777 fi
21778
21779
21780 TIFF_LINK=
21781 TIFF_PREREQ_LINKS=-lm
21782 if test "$wxUSE_LIBTIFF" != "no" ; then
21783 cat >>confdefs.h <<\_ACEOF
21784 #define wxUSE_LIBTIFF 1
21785 _ACEOF
21786
21787
21788 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21789 if test "$wxUSE_LIBJPEG" = "sys"; then
21790 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
21791 fi
21792 if test "$wxUSE_ZLIB" = "sys"; then
21793 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21794 fi
21795 if test "${ac_cv_header_tiffio_h+set}" = set; then
21796 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21797 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21798 if test "${ac_cv_header_tiffio_h+set}" = set; then
21799 echo $ECHO_N "(cached) $ECHO_C" >&6
21800 fi
21801 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21802 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21803 else
21804 # Is the header compilable?
21805 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21806 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21807 cat >conftest.$ac_ext <<_ACEOF
21808 /* confdefs.h. */
21809 _ACEOF
21810 cat confdefs.h >>conftest.$ac_ext
21811 cat >>conftest.$ac_ext <<_ACEOF
21812 /* end confdefs.h. */
21813 $ac_includes_default
21814 #include <tiffio.h>
21815 _ACEOF
21816 rm -f conftest.$ac_objext
21817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21818 (eval $ac_compile) 2>conftest.er1
21819 ac_status=$?
21820 grep -v '^ *+' conftest.er1 >conftest.err
21821 rm -f conftest.er1
21822 cat conftest.err >&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } &&
21825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21827 (eval $ac_try) 2>&5
21828 ac_status=$?
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); }; } &&
21831 { ac_try='test -s conftest.$ac_objext'
21832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21833 (eval $ac_try) 2>&5
21834 ac_status=$?
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); }; }; then
21837 ac_header_compiler=yes
21838 else
21839 echo "$as_me: failed program was:" >&5
21840 sed 's/^/| /' conftest.$ac_ext >&5
21841
21842 ac_header_compiler=no
21843 fi
21844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21845 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21846 echo "${ECHO_T}$ac_header_compiler" >&6
21847
21848 # Is the header present?
21849 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21850 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21851 cat >conftest.$ac_ext <<_ACEOF
21852 /* confdefs.h. */
21853 _ACEOF
21854 cat confdefs.h >>conftest.$ac_ext
21855 cat >>conftest.$ac_ext <<_ACEOF
21856 /* end confdefs.h. */
21857 #include <tiffio.h>
21858 _ACEOF
21859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21860 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21861 ac_status=$?
21862 grep -v '^ *+' conftest.er1 >conftest.err
21863 rm -f conftest.er1
21864 cat conftest.err >&5
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); } >/dev/null; then
21867 if test -s conftest.err; then
21868 ac_cpp_err=$ac_c_preproc_warn_flag
21869 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21870 else
21871 ac_cpp_err=
21872 fi
21873 else
21874 ac_cpp_err=yes
21875 fi
21876 if test -z "$ac_cpp_err"; then
21877 ac_header_preproc=yes
21878 else
21879 echo "$as_me: failed program was:" >&5
21880 sed 's/^/| /' conftest.$ac_ext >&5
21881
21882 ac_header_preproc=no
21883 fi
21884 rm -f conftest.err conftest.$ac_ext
21885 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21886 echo "${ECHO_T}$ac_header_preproc" >&6
21887
21888 # So? What about this header?
21889 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21890 yes:no: )
21891 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21892 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21893 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21894 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21895 ac_header_preproc=yes
21896 ;;
21897 no:yes:* )
21898 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21899 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21900 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21901 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21902 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21903 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21904 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21905 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21906 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21907 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21908 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21909 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21910 (
21911 cat <<\_ASBOX
21912 ## ----------------------------------------- ##
21913 ## Report this to wx-dev@lists.wxwidgets.org ##
21914 ## ----------------------------------------- ##
21915 _ASBOX
21916 ) |
21917 sed "s/^/$as_me: WARNING: /" >&2
21918 ;;
21919 esac
21920 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21921 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21922 if test "${ac_cv_header_tiffio_h+set}" = set; then
21923 echo $ECHO_N "(cached) $ECHO_C" >&6
21924 else
21925 ac_cv_header_tiffio_h=$ac_header_preproc
21926 fi
21927 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21928 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21929
21930 fi
21931 if test $ac_cv_header_tiffio_h = yes; then
21932
21933 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21934 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21935 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21936 echo $ECHO_N "(cached) $ECHO_C" >&6
21937 else
21938 ac_check_lib_save_LIBS=$LIBS
21939 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21940 cat >conftest.$ac_ext <<_ACEOF
21941 /* confdefs.h. */
21942 _ACEOF
21943 cat confdefs.h >>conftest.$ac_ext
21944 cat >>conftest.$ac_ext <<_ACEOF
21945 /* end confdefs.h. */
21946
21947 /* Override any gcc2 internal prototype to avoid an error. */
21948 #ifdef __cplusplus
21949 extern "C"
21950 #endif
21951 /* We use char because int might match the return type of a gcc2
21952 builtin and then its argument prototype would still apply. */
21953 char TIFFError ();
21954 int
21955 main ()
21956 {
21957 TIFFError ();
21958 ;
21959 return 0;
21960 }
21961 _ACEOF
21962 rm -f conftest.$ac_objext conftest$ac_exeext
21963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21964 (eval $ac_link) 2>conftest.er1
21965 ac_status=$?
21966 grep -v '^ *+' conftest.er1 >conftest.err
21967 rm -f conftest.er1
21968 cat conftest.err >&5
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); } &&
21971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21973 (eval $ac_try) 2>&5
21974 ac_status=$?
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); }; } &&
21977 { ac_try='test -s conftest$ac_exeext'
21978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21979 (eval $ac_try) 2>&5
21980 ac_status=$?
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); }; }; then
21983 ac_cv_lib_tiff_TIFFError=yes
21984 else
21985 echo "$as_me: failed program was:" >&5
21986 sed 's/^/| /' conftest.$ac_ext >&5
21987
21988 ac_cv_lib_tiff_TIFFError=no
21989 fi
21990 rm -f conftest.err conftest.$ac_objext \
21991 conftest$ac_exeext conftest.$ac_ext
21992 LIBS=$ac_check_lib_save_LIBS
21993 fi
21994 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21995 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21996 if test $ac_cv_lib_tiff_TIFFError = yes; then
21997 TIFF_LINK=" -ltiff"
21998 fi
21999
22000
22001
22002 fi
22003
22004
22005
22006 if test "x$TIFF_LINK" = "x" ; then
22007 if test "$wxUSE_LIBTIFF" = "sys" ; then
22008 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
22009 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
22010 { (exit 1); exit 1; }; }
22011 else
22012 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
22013 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22014 wxUSE_LIBTIFF=builtin
22015 fi
22016 else
22017 wxUSE_LIBTIFF=sys
22018 fi
22019 fi
22020 fi
22021
22022
22023 if test "$wxUSE_EXPAT" != "no"; then
22024 wxUSE_XML=yes
22025 cat >>confdefs.h <<\_ACEOF
22026 #define wxUSE_EXPAT 1
22027 _ACEOF
22028
22029 cat >>confdefs.h <<\_ACEOF
22030 #define wxUSE_XML 1
22031 _ACEOF
22032
22033
22034 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22035 if test "${ac_cv_header_expat_h+set}" = set; then
22036 echo "$as_me:$LINENO: checking for expat.h" >&5
22037 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22038 if test "${ac_cv_header_expat_h+set}" = set; then
22039 echo $ECHO_N "(cached) $ECHO_C" >&6
22040 fi
22041 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22042 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22043 else
22044 # Is the header compilable?
22045 echo "$as_me:$LINENO: checking expat.h usability" >&5
22046 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
22047 cat >conftest.$ac_ext <<_ACEOF
22048 /* confdefs.h. */
22049 _ACEOF
22050 cat confdefs.h >>conftest.$ac_ext
22051 cat >>conftest.$ac_ext <<_ACEOF
22052 /* end confdefs.h. */
22053 $ac_includes_default
22054 #include <expat.h>
22055 _ACEOF
22056 rm -f conftest.$ac_objext
22057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22058 (eval $ac_compile) 2>conftest.er1
22059 ac_status=$?
22060 grep -v '^ *+' conftest.er1 >conftest.err
22061 rm -f conftest.er1
22062 cat conftest.err >&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); } &&
22065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22067 (eval $ac_try) 2>&5
22068 ac_status=$?
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); }; } &&
22071 { ac_try='test -s conftest.$ac_objext'
22072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22073 (eval $ac_try) 2>&5
22074 ac_status=$?
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); }; }; then
22077 ac_header_compiler=yes
22078 else
22079 echo "$as_me: failed program was:" >&5
22080 sed 's/^/| /' conftest.$ac_ext >&5
22081
22082 ac_header_compiler=no
22083 fi
22084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22085 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22086 echo "${ECHO_T}$ac_header_compiler" >&6
22087
22088 # Is the header present?
22089 echo "$as_me:$LINENO: checking expat.h presence" >&5
22090 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
22091 cat >conftest.$ac_ext <<_ACEOF
22092 /* confdefs.h. */
22093 _ACEOF
22094 cat confdefs.h >>conftest.$ac_ext
22095 cat >>conftest.$ac_ext <<_ACEOF
22096 /* end confdefs.h. */
22097 #include <expat.h>
22098 _ACEOF
22099 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22100 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22101 ac_status=$?
22102 grep -v '^ *+' conftest.er1 >conftest.err
22103 rm -f conftest.er1
22104 cat conftest.err >&5
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); } >/dev/null; then
22107 if test -s conftest.err; then
22108 ac_cpp_err=$ac_c_preproc_warn_flag
22109 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22110 else
22111 ac_cpp_err=
22112 fi
22113 else
22114 ac_cpp_err=yes
22115 fi
22116 if test -z "$ac_cpp_err"; then
22117 ac_header_preproc=yes
22118 else
22119 echo "$as_me: failed program was:" >&5
22120 sed 's/^/| /' conftest.$ac_ext >&5
22121
22122 ac_header_preproc=no
22123 fi
22124 rm -f conftest.err conftest.$ac_ext
22125 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22126 echo "${ECHO_T}$ac_header_preproc" >&6
22127
22128 # So? What about this header?
22129 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22130 yes:no: )
22131 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
22132 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22133 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
22134 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
22135 ac_header_preproc=yes
22136 ;;
22137 no:yes:* )
22138 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
22139 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
22140 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
22141 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
22142 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
22143 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
22144 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
22145 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
22146 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
22147 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
22148 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
22149 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
22150 (
22151 cat <<\_ASBOX
22152 ## ----------------------------------------- ##
22153 ## Report this to wx-dev@lists.wxwidgets.org ##
22154 ## ----------------------------------------- ##
22155 _ASBOX
22156 ) |
22157 sed "s/^/$as_me: WARNING: /" >&2
22158 ;;
22159 esac
22160 echo "$as_me:$LINENO: checking for expat.h" >&5
22161 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22162 if test "${ac_cv_header_expat_h+set}" = set; then
22163 echo $ECHO_N "(cached) $ECHO_C" >&6
22164 else
22165 ac_cv_header_expat_h=$ac_header_preproc
22166 fi
22167 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22168 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22169
22170 fi
22171 if test $ac_cv_header_expat_h = yes; then
22172 found_expat_h=1
22173 fi
22174
22175
22176 if test "x$found_expat_h" = "x1"; then
22177 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
22178 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
22179 if test "${wx_cv_expat_is_not_broken+set}" = set; then
22180 echo $ECHO_N "(cached) $ECHO_C" >&6
22181 else
22182
22183
22184
22185 ac_ext=cc
22186 ac_cpp='$CXXCPP $CPPFLAGS'
22187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22190
22191 cat >conftest.$ac_ext <<_ACEOF
22192 /* confdefs.h. */
22193 _ACEOF
22194 cat confdefs.h >>conftest.$ac_ext
22195 cat >>conftest.$ac_ext <<_ACEOF
22196 /* end confdefs.h. */
22197 #include <expat.h>
22198 int
22199 main ()
22200 {
22201
22202 ;
22203 return 0;
22204 }
22205 _ACEOF
22206 rm -f conftest.$ac_objext
22207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22208 (eval $ac_compile) 2>conftest.er1
22209 ac_status=$?
22210 grep -v '^ *+' conftest.er1 >conftest.err
22211 rm -f conftest.er1
22212 cat conftest.err >&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); } &&
22215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22217 (eval $ac_try) 2>&5
22218 ac_status=$?
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); }; } &&
22221 { ac_try='test -s conftest.$ac_objext'
22222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22223 (eval $ac_try) 2>&5
22224 ac_status=$?
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); }; }; then
22227 wx_cv_expat_is_not_broken=yes
22228 else
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.$ac_ext >&5
22231
22232 wx_cv_expat_is_not_broken=no
22233
22234 fi
22235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22236 ac_ext=c
22237 ac_cpp='$CPP $CPPFLAGS'
22238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22241
22242
22243
22244 fi
22245 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22246 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22247 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22248 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22249 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22250 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22251 echo $ECHO_N "(cached) $ECHO_C" >&6
22252 else
22253 ac_check_lib_save_LIBS=$LIBS
22254 LIBS="-lexpat $LIBS"
22255 cat >conftest.$ac_ext <<_ACEOF
22256 /* confdefs.h. */
22257 _ACEOF
22258 cat confdefs.h >>conftest.$ac_ext
22259 cat >>conftest.$ac_ext <<_ACEOF
22260 /* end confdefs.h. */
22261
22262 /* Override any gcc2 internal prototype to avoid an error. */
22263 #ifdef __cplusplus
22264 extern "C"
22265 #endif
22266 /* We use char because int might match the return type of a gcc2
22267 builtin and then its argument prototype would still apply. */
22268 char XML_ParserCreate ();
22269 int
22270 main ()
22271 {
22272 XML_ParserCreate ();
22273 ;
22274 return 0;
22275 }
22276 _ACEOF
22277 rm -f conftest.$ac_objext conftest$ac_exeext
22278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22279 (eval $ac_link) 2>conftest.er1
22280 ac_status=$?
22281 grep -v '^ *+' conftest.er1 >conftest.err
22282 rm -f conftest.er1
22283 cat conftest.err >&5
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); } &&
22286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22288 (eval $ac_try) 2>&5
22289 ac_status=$?
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); }; } &&
22292 { ac_try='test -s conftest$ac_exeext'
22293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22294 (eval $ac_try) 2>&5
22295 ac_status=$?
22296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22297 (exit $ac_status); }; }; then
22298 ac_cv_lib_expat_XML_ParserCreate=yes
22299 else
22300 echo "$as_me: failed program was:" >&5
22301 sed 's/^/| /' conftest.$ac_ext >&5
22302
22303 ac_cv_lib_expat_XML_ParserCreate=no
22304 fi
22305 rm -f conftest.err conftest.$ac_objext \
22306 conftest$ac_exeext conftest.$ac_ext
22307 LIBS=$ac_check_lib_save_LIBS
22308 fi
22309 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22310 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22311 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22312 EXPAT_LINK=" -lexpat"
22313 fi
22314
22315 fi
22316 fi
22317 if test "x$EXPAT_LINK" = "x" ; then
22318 if test "$wxUSE_EXPAT" = "sys" ; then
22319 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22320 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22321 { (exit 1); exit 1; }; }
22322 else
22323 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22324 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22325 wxUSE_EXPAT=builtin
22326 fi
22327 else
22328 wxUSE_EXPAT=sys
22329 fi
22330 fi
22331 if test "$wxUSE_EXPAT" = "builtin" ; then
22332
22333
22334 subdirs="$subdirs src/expat"
22335
22336 fi
22337 fi
22338
22339
22340
22341 if test "$wxUSE_LIBMSPACK" != "no"; then
22342 if test "${ac_cv_header_mspack_h+set}" = set; then
22343 echo "$as_me:$LINENO: checking for mspack.h" >&5
22344 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22345 if test "${ac_cv_header_mspack_h+set}" = set; then
22346 echo $ECHO_N "(cached) $ECHO_C" >&6
22347 fi
22348 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22349 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22350 else
22351 # Is the header compilable?
22352 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22353 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22354 cat >conftest.$ac_ext <<_ACEOF
22355 /* confdefs.h. */
22356 _ACEOF
22357 cat confdefs.h >>conftest.$ac_ext
22358 cat >>conftest.$ac_ext <<_ACEOF
22359 /* end confdefs.h. */
22360 $ac_includes_default
22361 #include <mspack.h>
22362 _ACEOF
22363 rm -f conftest.$ac_objext
22364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22365 (eval $ac_compile) 2>conftest.er1
22366 ac_status=$?
22367 grep -v '^ *+' conftest.er1 >conftest.err
22368 rm -f conftest.er1
22369 cat conftest.err >&5
22370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371 (exit $ac_status); } &&
22372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22374 (eval $ac_try) 2>&5
22375 ac_status=$?
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); }; } &&
22378 { ac_try='test -s conftest.$ac_objext'
22379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22380 (eval $ac_try) 2>&5
22381 ac_status=$?
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); }; }; then
22384 ac_header_compiler=yes
22385 else
22386 echo "$as_me: failed program was:" >&5
22387 sed 's/^/| /' conftest.$ac_ext >&5
22388
22389 ac_header_compiler=no
22390 fi
22391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22393 echo "${ECHO_T}$ac_header_compiler" >&6
22394
22395 # Is the header present?
22396 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22397 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22398 cat >conftest.$ac_ext <<_ACEOF
22399 /* confdefs.h. */
22400 _ACEOF
22401 cat confdefs.h >>conftest.$ac_ext
22402 cat >>conftest.$ac_ext <<_ACEOF
22403 /* end confdefs.h. */
22404 #include <mspack.h>
22405 _ACEOF
22406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22407 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22408 ac_status=$?
22409 grep -v '^ *+' conftest.er1 >conftest.err
22410 rm -f conftest.er1
22411 cat conftest.err >&5
22412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413 (exit $ac_status); } >/dev/null; then
22414 if test -s conftest.err; then
22415 ac_cpp_err=$ac_c_preproc_warn_flag
22416 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22417 else
22418 ac_cpp_err=
22419 fi
22420 else
22421 ac_cpp_err=yes
22422 fi
22423 if test -z "$ac_cpp_err"; then
22424 ac_header_preproc=yes
22425 else
22426 echo "$as_me: failed program was:" >&5
22427 sed 's/^/| /' conftest.$ac_ext >&5
22428
22429 ac_header_preproc=no
22430 fi
22431 rm -f conftest.err conftest.$ac_ext
22432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22433 echo "${ECHO_T}$ac_header_preproc" >&6
22434
22435 # So? What about this header?
22436 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22437 yes:no: )
22438 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22439 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22440 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22441 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22442 ac_header_preproc=yes
22443 ;;
22444 no:yes:* )
22445 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22446 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22447 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22448 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22449 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22450 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22451 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22452 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22453 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22454 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22455 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22456 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22457 (
22458 cat <<\_ASBOX
22459 ## ----------------------------------------- ##
22460 ## Report this to wx-dev@lists.wxwidgets.org ##
22461 ## ----------------------------------------- ##
22462 _ASBOX
22463 ) |
22464 sed "s/^/$as_me: WARNING: /" >&2
22465 ;;
22466 esac
22467 echo "$as_me:$LINENO: checking for mspack.h" >&5
22468 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22469 if test "${ac_cv_header_mspack_h+set}" = set; then
22470 echo $ECHO_N "(cached) $ECHO_C" >&6
22471 else
22472 ac_cv_header_mspack_h=$ac_header_preproc
22473 fi
22474 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22475 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22476
22477 fi
22478 if test $ac_cv_header_mspack_h = yes; then
22479 found_mspack_h=1
22480 fi
22481
22482
22483 if test "x$found_mspack_h" = "x1"; then
22484 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22485 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22486 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22487 echo $ECHO_N "(cached) $ECHO_C" >&6
22488 else
22489 ac_check_lib_save_LIBS=$LIBS
22490 LIBS="-lmspack $LIBS"
22491 cat >conftest.$ac_ext <<_ACEOF
22492 /* confdefs.h. */
22493 _ACEOF
22494 cat confdefs.h >>conftest.$ac_ext
22495 cat >>conftest.$ac_ext <<_ACEOF
22496 /* end confdefs.h. */
22497
22498 /* Override any gcc2 internal prototype to avoid an error. */
22499 #ifdef __cplusplus
22500 extern "C"
22501 #endif
22502 /* We use char because int might match the return type of a gcc2
22503 builtin and then its argument prototype would still apply. */
22504 char mspack_create_chm_decompressor ();
22505 int
22506 main ()
22507 {
22508 mspack_create_chm_decompressor ();
22509 ;
22510 return 0;
22511 }
22512 _ACEOF
22513 rm -f conftest.$ac_objext conftest$ac_exeext
22514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22515 (eval $ac_link) 2>conftest.er1
22516 ac_status=$?
22517 grep -v '^ *+' conftest.er1 >conftest.err
22518 rm -f conftest.er1
22519 cat conftest.err >&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } &&
22522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22524 (eval $ac_try) 2>&5
22525 ac_status=$?
22526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22527 (exit $ac_status); }; } &&
22528 { ac_try='test -s conftest$ac_exeext'
22529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22530 (eval $ac_try) 2>&5
22531 ac_status=$?
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); }; }; then
22534 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22535 else
22536 echo "$as_me: failed program was:" >&5
22537 sed 's/^/| /' conftest.$ac_ext >&5
22538
22539 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22540 fi
22541 rm -f conftest.err conftest.$ac_objext \
22542 conftest$ac_exeext conftest.$ac_ext
22543 LIBS=$ac_check_lib_save_LIBS
22544 fi
22545 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22546 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22547 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22548 MSPACK_LINK=" -lmspack"
22549 fi
22550
22551 fi
22552 if test "x$MSPACK_LINK" = "x" ; then
22553 wxUSE_LIBMSPACK=no
22554 fi
22555 fi
22556
22557 if test "$wxUSE_LIBMSPACK" != "no"; then
22558 cat >>confdefs.h <<\_ACEOF
22559 #define wxUSE_LIBMSPACK 1
22560 _ACEOF
22561
22562 fi
22563
22564
22565
22566 AFMINSTALL=
22567 WIN32INSTALL=
22568
22569 TOOLKIT=
22570 TOOLKIT_INCLUDE=
22571 WIDGET_SET=
22572
22573 if test "$USE_WIN32" = 1 ; then
22574
22575 for ac_header in w32api.h
22576 do
22577 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22579 echo "$as_me:$LINENO: checking for $ac_header" >&5
22580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22582 echo $ECHO_N "(cached) $ECHO_C" >&6
22583 fi
22584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22586 else
22587 # Is the header compilable?
22588 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22589 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22590 cat >conftest.$ac_ext <<_ACEOF
22591 /* confdefs.h. */
22592 _ACEOF
22593 cat confdefs.h >>conftest.$ac_ext
22594 cat >>conftest.$ac_ext <<_ACEOF
22595 /* end confdefs.h. */
22596 $ac_includes_default
22597 #include <$ac_header>
22598 _ACEOF
22599 rm -f conftest.$ac_objext
22600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22601 (eval $ac_compile) 2>conftest.er1
22602 ac_status=$?
22603 grep -v '^ *+' conftest.er1 >conftest.err
22604 rm -f conftest.er1
22605 cat conftest.err >&5
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); } &&
22608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22610 (eval $ac_try) 2>&5
22611 ac_status=$?
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); }; } &&
22614 { ac_try='test -s conftest.$ac_objext'
22615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22616 (eval $ac_try) 2>&5
22617 ac_status=$?
22618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619 (exit $ac_status); }; }; then
22620 ac_header_compiler=yes
22621 else
22622 echo "$as_me: failed program was:" >&5
22623 sed 's/^/| /' conftest.$ac_ext >&5
22624
22625 ac_header_compiler=no
22626 fi
22627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22629 echo "${ECHO_T}$ac_header_compiler" >&6
22630
22631 # Is the header present?
22632 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22634 cat >conftest.$ac_ext <<_ACEOF
22635 /* confdefs.h. */
22636 _ACEOF
22637 cat confdefs.h >>conftest.$ac_ext
22638 cat >>conftest.$ac_ext <<_ACEOF
22639 /* end confdefs.h. */
22640 #include <$ac_header>
22641 _ACEOF
22642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22644 ac_status=$?
22645 grep -v '^ *+' conftest.er1 >conftest.err
22646 rm -f conftest.er1
22647 cat conftest.err >&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); } >/dev/null; then
22650 if test -s conftest.err; then
22651 ac_cpp_err=$ac_c_preproc_warn_flag
22652 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22653 else
22654 ac_cpp_err=
22655 fi
22656 else
22657 ac_cpp_err=yes
22658 fi
22659 if test -z "$ac_cpp_err"; then
22660 ac_header_preproc=yes
22661 else
22662 echo "$as_me: failed program was:" >&5
22663 sed 's/^/| /' conftest.$ac_ext >&5
22664
22665 ac_header_preproc=no
22666 fi
22667 rm -f conftest.err conftest.$ac_ext
22668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22669 echo "${ECHO_T}$ac_header_preproc" >&6
22670
22671 # So? What about this header?
22672 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22673 yes:no: )
22674 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22675 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22677 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22678 ac_header_preproc=yes
22679 ;;
22680 no:yes:* )
22681 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22682 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22683 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22684 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22685 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22686 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22687 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22688 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22691 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22692 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22693 (
22694 cat <<\_ASBOX
22695 ## ----------------------------------------- ##
22696 ## Report this to wx-dev@lists.wxwidgets.org ##
22697 ## ----------------------------------------- ##
22698 _ASBOX
22699 ) |
22700 sed "s/^/$as_me: WARNING: /" >&2
22701 ;;
22702 esac
22703 echo "$as_me:$LINENO: checking for $ac_header" >&5
22704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22706 echo $ECHO_N "(cached) $ECHO_C" >&6
22707 else
22708 eval "$as_ac_Header=\$ac_header_preproc"
22709 fi
22710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22712
22713 fi
22714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22715 cat >>confdefs.h <<_ACEOF
22716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22717 _ACEOF
22718
22719 fi
22720
22721 done
22722
22723 if test "${ac_cv_header_windows_h+set}" = set; then
22724 echo "$as_me:$LINENO: checking for windows.h" >&5
22725 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22726 if test "${ac_cv_header_windows_h+set}" = set; then
22727 echo $ECHO_N "(cached) $ECHO_C" >&6
22728 fi
22729 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22730 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22731 else
22732 # Is the header compilable?
22733 echo "$as_me:$LINENO: checking windows.h usability" >&5
22734 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22735 cat >conftest.$ac_ext <<_ACEOF
22736 /* confdefs.h. */
22737 _ACEOF
22738 cat confdefs.h >>conftest.$ac_ext
22739 cat >>conftest.$ac_ext <<_ACEOF
22740 /* end confdefs.h. */
22741 $ac_includes_default
22742 #include <windows.h>
22743 _ACEOF
22744 rm -f conftest.$ac_objext
22745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22746 (eval $ac_compile) 2>conftest.er1
22747 ac_status=$?
22748 grep -v '^ *+' conftest.er1 >conftest.err
22749 rm -f conftest.er1
22750 cat conftest.err >&5
22751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22752 (exit $ac_status); } &&
22753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22755 (eval $ac_try) 2>&5
22756 ac_status=$?
22757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758 (exit $ac_status); }; } &&
22759 { ac_try='test -s conftest.$ac_objext'
22760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22761 (eval $ac_try) 2>&5
22762 ac_status=$?
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); }; }; then
22765 ac_header_compiler=yes
22766 else
22767 echo "$as_me: failed program was:" >&5
22768 sed 's/^/| /' conftest.$ac_ext >&5
22769
22770 ac_header_compiler=no
22771 fi
22772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22773 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22774 echo "${ECHO_T}$ac_header_compiler" >&6
22775
22776 # Is the header present?
22777 echo "$as_me:$LINENO: checking windows.h presence" >&5
22778 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22779 cat >conftest.$ac_ext <<_ACEOF
22780 /* confdefs.h. */
22781 _ACEOF
22782 cat confdefs.h >>conftest.$ac_ext
22783 cat >>conftest.$ac_ext <<_ACEOF
22784 /* end confdefs.h. */
22785 #include <windows.h>
22786 _ACEOF
22787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22788 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22789 ac_status=$?
22790 grep -v '^ *+' conftest.er1 >conftest.err
22791 rm -f conftest.er1
22792 cat conftest.err >&5
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); } >/dev/null; then
22795 if test -s conftest.err; then
22796 ac_cpp_err=$ac_c_preproc_warn_flag
22797 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22798 else
22799 ac_cpp_err=
22800 fi
22801 else
22802 ac_cpp_err=yes
22803 fi
22804 if test -z "$ac_cpp_err"; then
22805 ac_header_preproc=yes
22806 else
22807 echo "$as_me: failed program was:" >&5
22808 sed 's/^/| /' conftest.$ac_ext >&5
22809
22810 ac_header_preproc=no
22811 fi
22812 rm -f conftest.err conftest.$ac_ext
22813 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22814 echo "${ECHO_T}$ac_header_preproc" >&6
22815
22816 # So? What about this header?
22817 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22818 yes:no: )
22819 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22820 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22821 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22822 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22823 ac_header_preproc=yes
22824 ;;
22825 no:yes:* )
22826 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22827 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22828 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22829 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22830 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22831 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22832 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22833 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22834 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22835 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22836 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22837 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22838 (
22839 cat <<\_ASBOX
22840 ## ----------------------------------------- ##
22841 ## Report this to wx-dev@lists.wxwidgets.org ##
22842 ## ----------------------------------------- ##
22843 _ASBOX
22844 ) |
22845 sed "s/^/$as_me: WARNING: /" >&2
22846 ;;
22847 esac
22848 echo "$as_me:$LINENO: checking for windows.h" >&5
22849 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22850 if test "${ac_cv_header_windows_h+set}" = set; then
22851 echo $ECHO_N "(cached) $ECHO_C" >&6
22852 else
22853 ac_cv_header_windows_h=$ac_header_preproc
22854 fi
22855 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22856 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22857
22858 fi
22859 if test $ac_cv_header_windows_h = yes; then
22860 :
22861 else
22862
22863 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22864 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22865 { (exit 1); exit 1; }; }
22866
22867 fi
22868
22869
22870
22871 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22872
22873 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22874 LIBS="$LIBS -loleacc"
22875 fi
22876
22877 case "${host}" in
22878 *-*-cygwin* )
22879 LIBS="$LIBS -lkernel32 -luser32"
22880 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
22881 esac
22882
22883 if test "$wxUSE_ODBC" = "sys" ; then
22884 wxUSE_ODBC = "yes"
22885 fi
22886 if test "$wxUSE_ODBC" = "yes" ; then
22887 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
22888 cat >>confdefs.h <<\_ACEOF
22889 #define wxUSE_ODBC 1
22890 _ACEOF
22891
22892 fi
22893
22894 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22895 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
22896
22897 WIN32INSTALL=win32install
22898 fi
22899
22900 if test "$wxUSE_GUI" = "yes"; then
22901 USE_GUI=1
22902
22903 GUI_TK_LIBRARY=
22904
22905 WXGTK12=
22906 WXGTK127=
22907 WXGTK20=
22908 WXGPE=
22909
22910 if test "$wxUSE_COCOA" = 1 ; then
22911 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22912 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22913 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22914 wxUSE_PRINTING_ARCHITECTURE=no
22915 fi
22916 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22917 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22918 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22919 wxUSE_DRAG_AND_DROP=no
22920 fi
22921 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22922 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22923 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22924 wxUSE_DRAGIMAGE=no
22925 fi
22926 fi
22927
22928 if test "$wxUSE_MSW" = 1 ; then
22929 TOOLKIT=MSW
22930 GUIDIST=MSW_DIST
22931
22932 case "${host}" in
22933 *-*-mingw32* )
22934 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22935 esac
22936 fi
22937
22938 if test "$wxUSE_GTK" = 1; then
22939 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22940 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22941
22942 gtk_version_cached=1
22943 if test "${wx_cv_lib_gtk+set}" = set; then
22944 echo $ECHO_N "(cached) $ECHO_C" >&6
22945 else
22946
22947 gtk_version_cached=0
22948 echo "$as_me:$LINENO: result: " >&5
22949 echo "${ECHO_T}" >&6
22950
22951 GTK_MODULES=
22952 if test "$wxUSE_THREADS" = "yes"; then
22953 GTK_MODULES=gthread
22954 fi
22955
22956 wx_cv_lib_gtk=
22957 if test "x$wxUSE_GTK2" = "xyes"; then
22958 # Check whether --enable-gtktest or --disable-gtktest was given.
22959 if test "${enable_gtktest+set}" = set; then
22960 enableval="$enable_gtktest"
22961
22962 else
22963 enable_gtktest=yes
22964 fi;
22965
22966 pkg_config_args=gtk+-2.0
22967 for module in . $GTK_MODULES
22968 do
22969 case "$module" in
22970 gthread)
22971 pkg_config_args="$pkg_config_args gthread-2.0"
22972 ;;
22973 esac
22974 done
22975
22976 no_gtk=""
22977
22978 # Extract the first word of "pkg-config", so it can be a program name with args.
22979 set dummy pkg-config; ac_word=$2
22980 echo "$as_me:$LINENO: checking for $ac_word" >&5
22981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22982 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22983 echo $ECHO_N "(cached) $ECHO_C" >&6
22984 else
22985 case $PKG_CONFIG in
22986 [\\/]* | ?:[\\/]*)
22987 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22988 ;;
22989 *)
22990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22991 for as_dir in $PATH
22992 do
22993 IFS=$as_save_IFS
22994 test -z "$as_dir" && as_dir=.
22995 for ac_exec_ext in '' $ac_executable_extensions; do
22996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22997 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22999 break 2
23000 fi
23001 done
23002 done
23003
23004 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23005 ;;
23006 esac
23007 fi
23008 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23009
23010 if test -n "$PKG_CONFIG"; then
23011 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23012 echo "${ECHO_T}$PKG_CONFIG" >&6
23013 else
23014 echo "$as_me:$LINENO: result: no" >&5
23015 echo "${ECHO_T}no" >&6
23016 fi
23017
23018
23019 if test x$PKG_CONFIG != xno ; then
23020 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23021 :
23022 else
23023 echo "*** pkg-config too old; version 0.7 or better required."
23024 no_gtk=yes
23025 PKG_CONFIG=no
23026 fi
23027 else
23028 no_gtk=yes
23029 fi
23030
23031 min_gtk_version=2.0.0
23032 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
23033 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
23034
23035 if test x$PKG_CONFIG != xno ; then
23036 ## don't try to run the test against uninstalled libtool libs
23037 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23038 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23039 enable_gtktest=no
23040 fi
23041
23042 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23043 :
23044 else
23045 no_gtk=yes
23046 fi
23047 fi
23048
23049 if test x"$no_gtk" = x ; then
23050 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23051 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23052 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23053 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23054 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23055 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23056 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23057 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23058 if test "x$enable_gtktest" = "xyes" ; then
23059 ac_save_CFLAGS="$CFLAGS"
23060 ac_save_LIBS="$LIBS"
23061 CFLAGS="$CFLAGS $GTK_CFLAGS"
23062 LIBS="$GTK_LIBS $LIBS"
23063 rm -f conf.gtktest
23064 if test "$cross_compiling" = yes; then
23065 echo $ac_n "cross compiling; assumed OK... $ac_c"
23066 else
23067 cat >conftest.$ac_ext <<_ACEOF
23068 /* confdefs.h. */
23069 _ACEOF
23070 cat confdefs.h >>conftest.$ac_ext
23071 cat >>conftest.$ac_ext <<_ACEOF
23072 /* end confdefs.h. */
23073
23074 #include <gtk/gtk.h>
23075 #include <stdio.h>
23076 #include <stdlib.h>
23077
23078 int
23079 main ()
23080 {
23081 int major, minor, micro;
23082 char *tmp_version;
23083
23084 system ("touch conf.gtktest");
23085
23086 /* HP/UX 9 (%@#!) writes to sscanf strings */
23087 tmp_version = g_strdup("$min_gtk_version");
23088 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23089 printf("%s, bad version string\n", "$min_gtk_version");
23090 exit(1);
23091 }
23092
23093 if ((gtk_major_version != $gtk_config_major_version) ||
23094 (gtk_minor_version != $gtk_config_minor_version) ||
23095 (gtk_micro_version != $gtk_config_micro_version))
23096 {
23097 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23098 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23099 gtk_major_version, gtk_minor_version, gtk_micro_version);
23100 printf ("*** was found! If pkg-config was correct, then it is best\n");
23101 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23102 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23103 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23104 printf("*** required on your system.\n");
23105 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23106 printf("*** to point to the correct configuration files\n");
23107 }
23108 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23109 (gtk_minor_version != GTK_MINOR_VERSION) ||
23110 (gtk_micro_version != GTK_MICRO_VERSION))
23111 {
23112 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23113 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23114 printf("*** library (version %d.%d.%d)\n",
23115 gtk_major_version, gtk_minor_version, gtk_micro_version);
23116 }
23117 else
23118 {
23119 if ((gtk_major_version > major) ||
23120 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23121 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23122 {
23123 return 0;
23124 }
23125 else
23126 {
23127 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23128 gtk_major_version, gtk_minor_version, gtk_micro_version);
23129 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23130 major, minor, micro);
23131 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23132 printf("***\n");
23133 printf("*** If you have already installed a sufficiently new version, this error\n");
23134 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23135 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23136 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23137 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23138 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23139 printf("*** so that the correct libraries are found at run-time))\n");
23140 }
23141 }
23142 return 1;
23143 }
23144
23145 _ACEOF
23146 rm -f conftest$ac_exeext
23147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23148 (eval $ac_link) 2>&5
23149 ac_status=$?
23150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23153 (eval $ac_try) 2>&5
23154 ac_status=$?
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); }; }; then
23157 :
23158 else
23159 echo "$as_me: program exited with status $ac_status" >&5
23160 echo "$as_me: failed program was:" >&5
23161 sed 's/^/| /' conftest.$ac_ext >&5
23162
23163 ( exit $ac_status )
23164 no_gtk=yes
23165 fi
23166 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23167 fi
23168 CFLAGS="$ac_save_CFLAGS"
23169 LIBS="$ac_save_LIBS"
23170 fi
23171 fi
23172 if test "x$no_gtk" = x ; then
23173 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23174 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
23175 wx_cv_lib_gtk=2.0
23176 else
23177 echo "$as_me:$LINENO: result: no" >&5
23178 echo "${ECHO_T}no" >&6
23179 if test "$PKG_CONFIG" = "no" ; then
23180 echo "*** A new enough version of pkg-config was not found."
23181 echo "*** See http://pkgconfig.sourceforge.net"
23182 else
23183 if test -f conf.gtktest ; then
23184 :
23185 else
23186 echo "*** Could not run GTK+ test program, checking why..."
23187 ac_save_CFLAGS="$CFLAGS"
23188 ac_save_LIBS="$LIBS"
23189 CFLAGS="$CFLAGS $GTK_CFLAGS"
23190 LIBS="$LIBS $GTK_LIBS"
23191 cat >conftest.$ac_ext <<_ACEOF
23192 /* confdefs.h. */
23193 _ACEOF
23194 cat confdefs.h >>conftest.$ac_ext
23195 cat >>conftest.$ac_ext <<_ACEOF
23196 /* end confdefs.h. */
23197
23198 #include <gtk/gtk.h>
23199 #include <stdio.h>
23200
23201 int
23202 main ()
23203 {
23204 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23205 ;
23206 return 0;
23207 }
23208 _ACEOF
23209 rm -f conftest.$ac_objext conftest$ac_exeext
23210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23211 (eval $ac_link) 2>conftest.er1
23212 ac_status=$?
23213 grep -v '^ *+' conftest.er1 >conftest.err
23214 rm -f conftest.er1
23215 cat conftest.err >&5
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); } &&
23218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23220 (eval $ac_try) 2>&5
23221 ac_status=$?
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; } &&
23224 { ac_try='test -s conftest$ac_exeext'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23227 ac_status=$?
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; }; then
23230 echo "*** The test program compiled, but did not run. This usually means"
23231 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23232 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23233 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23234 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23235 echo "*** is required on your system"
23236 echo "***"
23237 echo "*** If you have an old version installed, it is best to remove it, although"
23238 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23239 else
23240 echo "$as_me: failed program was:" >&5
23241 sed 's/^/| /' conftest.$ac_ext >&5
23242
23243 echo "*** The test program failed to compile or link. See the file config.log for the"
23244 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23245 fi
23246 rm -f conftest.err conftest.$ac_objext \
23247 conftest$ac_exeext conftest.$ac_ext
23248 CFLAGS="$ac_save_CFLAGS"
23249 LIBS="$ac_save_LIBS"
23250 fi
23251 fi
23252 GTK_CFLAGS=""
23253 GTK_LIBS=""
23254 :
23255 fi
23256
23257
23258 rm -f conf.gtktest
23259
23260 else
23261
23262 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23263 if test "${with_gtk_prefix+set}" = set; then
23264 withval="$with_gtk_prefix"
23265 gtk_config_prefix="$withval"
23266 else
23267 gtk_config_prefix=""
23268 fi;
23269
23270 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23271 if test "${with_gtk_exec_prefix+set}" = set; then
23272 withval="$with_gtk_exec_prefix"
23273 gtk_config_exec_prefix="$withval"
23274 else
23275 gtk_config_exec_prefix=""
23276 fi;
23277 # Check whether --enable-gtktest or --disable-gtktest was given.
23278 if test "${enable_gtktest+set}" = set; then
23279 enableval="$enable_gtktest"
23280
23281 else
23282 enable_gtktest=yes
23283 fi;
23284
23285 for module in . $GTK_MODULES
23286 do
23287 case "$module" in
23288 gthread)
23289 gtk_config_args="$gtk_config_args gthread"
23290 ;;
23291 esac
23292 done
23293
23294 if test x$gtk_config_exec_prefix != x ; then
23295 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23296 if test x${GTK_CONFIG+set} != xset ; then
23297 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23298 fi
23299 fi
23300 if test x$gtk_config_prefix != x ; then
23301 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23302 if test x${GTK_CONFIG+set} != xset ; then
23303 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23304 fi
23305 fi
23306
23307 # Extract the first word of "gtk-config", so it can be a program name with args.
23308 set dummy gtk-config; ac_word=$2
23309 echo "$as_me:$LINENO: checking for $ac_word" >&5
23310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23311 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23312 echo $ECHO_N "(cached) $ECHO_C" >&6
23313 else
23314 case $GTK_CONFIG in
23315 [\\/]* | ?:[\\/]*)
23316 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23317 ;;
23318 *)
23319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23320 for as_dir in $PATH
23321 do
23322 IFS=$as_save_IFS
23323 test -z "$as_dir" && as_dir=.
23324 for ac_exec_ext in '' $ac_executable_extensions; do
23325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23326 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23328 break 2
23329 fi
23330 done
23331 done
23332
23333 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23334 ;;
23335 esac
23336 fi
23337 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23338
23339 if test -n "$GTK_CONFIG"; then
23340 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23341 echo "${ECHO_T}$GTK_CONFIG" >&6
23342 else
23343 echo "$as_me:$LINENO: result: no" >&5
23344 echo "${ECHO_T}no" >&6
23345 fi
23346
23347 min_gtk_version=1.2.7
23348 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23349 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23350 no_gtk=""
23351 if test "$GTK_CONFIG" = "no" ; then
23352 no_gtk=yes
23353 else
23354 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23355 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23356 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23357 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23358 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23359 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23360 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23361 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23362 if test "x$enable_gtktest" = "xyes" ; then
23363 ac_save_CFLAGS="$CFLAGS"
23364 ac_save_LIBS="$LIBS"
23365 CFLAGS="$CFLAGS $GTK_CFLAGS"
23366 LIBS="$GTK_LIBS $LIBS"
23367 rm -f conf.gtktest
23368 if test "$cross_compiling" = yes; then
23369 echo $ac_n "cross compiling; assumed OK... $ac_c"
23370 else
23371 cat >conftest.$ac_ext <<_ACEOF
23372 /* confdefs.h. */
23373 _ACEOF
23374 cat confdefs.h >>conftest.$ac_ext
23375 cat >>conftest.$ac_ext <<_ACEOF
23376 /* end confdefs.h. */
23377
23378 #include <gtk/gtk.h>
23379 #include <stdio.h>
23380 #include <stdlib.h>
23381
23382 int
23383 main ()
23384 {
23385 int major, minor, micro;
23386 char *tmp_version;
23387
23388 system ("touch conf.gtktest");
23389
23390 /* HP/UX 9 (%@#!) writes to sscanf strings */
23391 tmp_version = g_strdup("$min_gtk_version");
23392 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23393 printf("%s, bad version string\n", "$min_gtk_version");
23394 exit(1);
23395 }
23396
23397 if ((gtk_major_version != $gtk_config_major_version) ||
23398 (gtk_minor_version != $gtk_config_minor_version) ||
23399 (gtk_micro_version != $gtk_config_micro_version))
23400 {
23401 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23402 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23403 gtk_major_version, gtk_minor_version, gtk_micro_version);
23404 printf ("*** was found! If gtk-config was correct, then it is best\n");
23405 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23406 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23407 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23408 printf("*** required on your system.\n");
23409 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23410 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23411 printf("*** before re-running configure\n");
23412 }
23413 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23414 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23415 (gtk_minor_version != GTK_MINOR_VERSION) ||
23416 (gtk_micro_version != GTK_MICRO_VERSION))
23417 {
23418 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23419 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23420 printf("*** library (version %d.%d.%d)\n",
23421 gtk_major_version, gtk_minor_version, gtk_micro_version);
23422 }
23423 #endif /* defined (GTK_MAJOR_VERSION) ... */
23424 else
23425 {
23426 if ((gtk_major_version > major) ||
23427 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23428 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23429 {
23430 return 0;
23431 }
23432 else
23433 {
23434 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23435 gtk_major_version, gtk_minor_version, gtk_micro_version);
23436 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23437 major, minor, micro);
23438 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23439 printf("***\n");
23440 printf("*** If you have already installed a sufficiently new version, this error\n");
23441 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23442 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23443 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23444 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23445 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23446 printf("*** so that the correct libraries are found at run-time))\n");
23447 }
23448 }
23449 return 1;
23450 }
23451
23452 _ACEOF
23453 rm -f conftest$ac_exeext
23454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23455 (eval $ac_link) 2>&5
23456 ac_status=$?
23457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23460 (eval $ac_try) 2>&5
23461 ac_status=$?
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); }; }; then
23464 :
23465 else
23466 echo "$as_me: program exited with status $ac_status" >&5
23467 echo "$as_me: failed program was:" >&5
23468 sed 's/^/| /' conftest.$ac_ext >&5
23469
23470 ( exit $ac_status )
23471 no_gtk=yes
23472 fi
23473 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23474 fi
23475 CFLAGS="$ac_save_CFLAGS"
23476 LIBS="$ac_save_LIBS"
23477 fi
23478 fi
23479 if test "x$no_gtk" = x ; then
23480 echo "$as_me:$LINENO: result: yes" >&5
23481 echo "${ECHO_T}yes" >&6
23482 wx_cv_lib_gtk=1.2.7
23483 else
23484 echo "$as_me:$LINENO: result: no" >&5
23485 echo "${ECHO_T}no" >&6
23486 if test "$GTK_CONFIG" = "no" ; then
23487 echo "*** The gtk-config script installed by GTK could not be found"
23488 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23489 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23490 echo "*** full path to gtk-config."
23491 else
23492 if test -f conf.gtktest ; then
23493 :
23494 else
23495 echo "*** Could not run GTK test program, checking why..."
23496 CFLAGS="$CFLAGS $GTK_CFLAGS"
23497 LIBS="$LIBS $GTK_LIBS"
23498 cat >conftest.$ac_ext <<_ACEOF
23499 /* confdefs.h. */
23500 _ACEOF
23501 cat confdefs.h >>conftest.$ac_ext
23502 cat >>conftest.$ac_ext <<_ACEOF
23503 /* end confdefs.h. */
23504
23505 #include <gtk/gtk.h>
23506 #include <stdio.h>
23507
23508 int
23509 main ()
23510 {
23511 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23512 ;
23513 return 0;
23514 }
23515 _ACEOF
23516 rm -f conftest.$ac_objext conftest$ac_exeext
23517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23518 (eval $ac_link) 2>conftest.er1
23519 ac_status=$?
23520 grep -v '^ *+' conftest.er1 >conftest.err
23521 rm -f conftest.er1
23522 cat conftest.err >&5
23523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524 (exit $ac_status); } &&
23525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23527 (eval $ac_try) 2>&5
23528 ac_status=$?
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); }; } &&
23531 { ac_try='test -s conftest$ac_exeext'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23534 ac_status=$?
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; }; then
23537 echo "*** The test program compiled, but did not run. This usually means"
23538 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23539 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23540 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23541 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23542 echo "*** is required on your system"
23543 echo "***"
23544 echo "*** If you have an old version installed, it is best to remove it, although"
23545 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23546 echo "***"
23547 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23548 echo "*** came with the system with the command"
23549 echo "***"
23550 echo "*** rpm --erase --nodeps gtk gtk-devel"
23551 else
23552 echo "$as_me: failed program was:" >&5
23553 sed 's/^/| /' conftest.$ac_ext >&5
23554
23555 echo "*** The test program failed to compile or link. See the file config.log for the"
23556 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23557 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23558 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23559 fi
23560 rm -f conftest.err conftest.$ac_objext \
23561 conftest$ac_exeext conftest.$ac_ext
23562 CFLAGS="$ac_save_CFLAGS"
23563 LIBS="$ac_save_LIBS"
23564 fi
23565 fi
23566 GTK_CFLAGS=""
23567 GTK_LIBS=""
23568 :
23569 fi
23570
23571
23572 rm -f conf.gtktest
23573
23574
23575 if test -z "$wx_cv_lib_gtk"; then
23576
23577 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23578 if test "${with_gtk_prefix+set}" = set; then
23579 withval="$with_gtk_prefix"
23580 gtk_config_prefix="$withval"
23581 else
23582 gtk_config_prefix=""
23583 fi;
23584
23585 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23586 if test "${with_gtk_exec_prefix+set}" = set; then
23587 withval="$with_gtk_exec_prefix"
23588 gtk_config_exec_prefix="$withval"
23589 else
23590 gtk_config_exec_prefix=""
23591 fi;
23592 # Check whether --enable-gtktest or --disable-gtktest was given.
23593 if test "${enable_gtktest+set}" = set; then
23594 enableval="$enable_gtktest"
23595
23596 else
23597 enable_gtktest=yes
23598 fi;
23599
23600 for module in . $GTK_MODULES
23601 do
23602 case "$module" in
23603 gthread)
23604 gtk_config_args="$gtk_config_args gthread"
23605 ;;
23606 esac
23607 done
23608
23609 if test x$gtk_config_exec_prefix != x ; then
23610 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23611 if test x${GTK_CONFIG+set} != xset ; then
23612 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23613 fi
23614 fi
23615 if test x$gtk_config_prefix != x ; then
23616 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23617 if test x${GTK_CONFIG+set} != xset ; then
23618 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23619 fi
23620 fi
23621
23622 # Extract the first word of "gtk-config", so it can be a program name with args.
23623 set dummy gtk-config; ac_word=$2
23624 echo "$as_me:$LINENO: checking for $ac_word" >&5
23625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23626 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23627 echo $ECHO_N "(cached) $ECHO_C" >&6
23628 else
23629 case $GTK_CONFIG in
23630 [\\/]* | ?:[\\/]*)
23631 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23632 ;;
23633 *)
23634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23635 for as_dir in $PATH
23636 do
23637 IFS=$as_save_IFS
23638 test -z "$as_dir" && as_dir=.
23639 for ac_exec_ext in '' $ac_executable_extensions; do
23640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23641 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23643 break 2
23644 fi
23645 done
23646 done
23647
23648 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23649 ;;
23650 esac
23651 fi
23652 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23653
23654 if test -n "$GTK_CONFIG"; then
23655 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23656 echo "${ECHO_T}$GTK_CONFIG" >&6
23657 else
23658 echo "$as_me:$LINENO: result: no" >&5
23659 echo "${ECHO_T}no" >&6
23660 fi
23661
23662 min_gtk_version=1.2.3
23663 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23664 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23665 no_gtk=""
23666 if test "$GTK_CONFIG" = "no" ; then
23667 no_gtk=yes
23668 else
23669 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23670 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23671 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23672 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23673 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23674 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23675 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23676 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23677 if test "x$enable_gtktest" = "xyes" ; then
23678 ac_save_CFLAGS="$CFLAGS"
23679 ac_save_LIBS="$LIBS"
23680 CFLAGS="$CFLAGS $GTK_CFLAGS"
23681 LIBS="$GTK_LIBS $LIBS"
23682 rm -f conf.gtktest
23683 if test "$cross_compiling" = yes; then
23684 echo $ac_n "cross compiling; assumed OK... $ac_c"
23685 else
23686 cat >conftest.$ac_ext <<_ACEOF
23687 /* confdefs.h. */
23688 _ACEOF
23689 cat confdefs.h >>conftest.$ac_ext
23690 cat >>conftest.$ac_ext <<_ACEOF
23691 /* end confdefs.h. */
23692
23693 #include <gtk/gtk.h>
23694 #include <stdio.h>
23695 #include <stdlib.h>
23696
23697 int
23698 main ()
23699 {
23700 int major, minor, micro;
23701 char *tmp_version;
23702
23703 system ("touch conf.gtktest");
23704
23705 /* HP/UX 9 (%@#!) writes to sscanf strings */
23706 tmp_version = g_strdup("$min_gtk_version");
23707 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23708 printf("%s, bad version string\n", "$min_gtk_version");
23709 exit(1);
23710 }
23711
23712 if ((gtk_major_version != $gtk_config_major_version) ||
23713 (gtk_minor_version != $gtk_config_minor_version) ||
23714 (gtk_micro_version != $gtk_config_micro_version))
23715 {
23716 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23717 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23718 gtk_major_version, gtk_minor_version, gtk_micro_version);
23719 printf ("*** was found! If gtk-config was correct, then it is best\n");
23720 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23721 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23722 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23723 printf("*** required on your system.\n");
23724 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23725 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23726 printf("*** before re-running configure\n");
23727 }
23728 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23729 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23730 (gtk_minor_version != GTK_MINOR_VERSION) ||
23731 (gtk_micro_version != GTK_MICRO_VERSION))
23732 {
23733 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23734 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23735 printf("*** library (version %d.%d.%d)\n",
23736 gtk_major_version, gtk_minor_version, gtk_micro_version);
23737 }
23738 #endif /* defined (GTK_MAJOR_VERSION) ... */
23739 else
23740 {
23741 if ((gtk_major_version > major) ||
23742 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23743 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23744 {
23745 return 0;
23746 }
23747 else
23748 {
23749 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23750 gtk_major_version, gtk_minor_version, gtk_micro_version);
23751 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23752 major, minor, micro);
23753 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23754 printf("***\n");
23755 printf("*** If you have already installed a sufficiently new version, this error\n");
23756 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23757 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23758 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23759 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23760 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23761 printf("*** so that the correct libraries are found at run-time))\n");
23762 }
23763 }
23764 return 1;
23765 }
23766
23767 _ACEOF
23768 rm -f conftest$ac_exeext
23769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23770 (eval $ac_link) 2>&5
23771 ac_status=$?
23772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23773 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23775 (eval $ac_try) 2>&5
23776 ac_status=$?
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); }; }; then
23779 :
23780 else
23781 echo "$as_me: program exited with status $ac_status" >&5
23782 echo "$as_me: failed program was:" >&5
23783 sed 's/^/| /' conftest.$ac_ext >&5
23784
23785 ( exit $ac_status )
23786 no_gtk=yes
23787 fi
23788 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23789 fi
23790 CFLAGS="$ac_save_CFLAGS"
23791 LIBS="$ac_save_LIBS"
23792 fi
23793 fi
23794 if test "x$no_gtk" = x ; then
23795 echo "$as_me:$LINENO: result: yes" >&5
23796 echo "${ECHO_T}yes" >&6
23797 wx_cv_lib_gtk=1.2.3
23798 else
23799 echo "$as_me:$LINENO: result: no" >&5
23800 echo "${ECHO_T}no" >&6
23801 if test "$GTK_CONFIG" = "no" ; then
23802 echo "*** The gtk-config script installed by GTK could not be found"
23803 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23804 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23805 echo "*** full path to gtk-config."
23806 else
23807 if test -f conf.gtktest ; then
23808 :
23809 else
23810 echo "*** Could not run GTK test program, checking why..."
23811 CFLAGS="$CFLAGS $GTK_CFLAGS"
23812 LIBS="$LIBS $GTK_LIBS"
23813 cat >conftest.$ac_ext <<_ACEOF
23814 /* confdefs.h. */
23815 _ACEOF
23816 cat confdefs.h >>conftest.$ac_ext
23817 cat >>conftest.$ac_ext <<_ACEOF
23818 /* end confdefs.h. */
23819
23820 #include <gtk/gtk.h>
23821 #include <stdio.h>
23822
23823 int
23824 main ()
23825 {
23826 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23827 ;
23828 return 0;
23829 }
23830 _ACEOF
23831 rm -f conftest.$ac_objext conftest$ac_exeext
23832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23833 (eval $ac_link) 2>conftest.er1
23834 ac_status=$?
23835 grep -v '^ *+' conftest.er1 >conftest.err
23836 rm -f conftest.er1
23837 cat conftest.err >&5
23838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839 (exit $ac_status); } &&
23840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23842 (eval $ac_try) 2>&5
23843 ac_status=$?
23844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23845 (exit $ac_status); }; } &&
23846 { ac_try='test -s conftest$ac_exeext'
23847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23848 (eval $ac_try) 2>&5
23849 ac_status=$?
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); }; }; then
23852 echo "*** The test program compiled, but did not run. This usually means"
23853 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23854 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23855 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23856 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23857 echo "*** is required on your system"
23858 echo "***"
23859 echo "*** If you have an old version installed, it is best to remove it, although"
23860 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23861 echo "***"
23862 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23863 echo "*** came with the system with the command"
23864 echo "***"
23865 echo "*** rpm --erase --nodeps gtk gtk-devel"
23866 else
23867 echo "$as_me: failed program was:" >&5
23868 sed 's/^/| /' conftest.$ac_ext >&5
23869
23870 echo "*** The test program failed to compile or link. See the file config.log for the"
23871 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23872 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23873 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23874 fi
23875 rm -f conftest.err conftest.$ac_objext \
23876 conftest$ac_exeext conftest.$ac_ext
23877 CFLAGS="$ac_save_CFLAGS"
23878 LIBS="$ac_save_LIBS"
23879 fi
23880 fi
23881 GTK_CFLAGS=""
23882 GTK_LIBS=""
23883 :
23884 fi
23885
23886
23887 rm -f conf.gtktest
23888
23889 fi
23890 fi
23891
23892 if test -z "$wx_cv_lib_gtk"; then
23893 wx_cv_lib_gtk=none
23894 else
23895 wx_cv_cflags_gtk=$GTK_CFLAGS
23896 wx_cv_libs_gtk=$GTK_LIBS
23897 fi
23898
23899
23900 fi
23901
23902
23903 if test "$gtk_version_cached" = 1; then
23904 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23905 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23906 fi
23907
23908 case "$wx_cv_lib_gtk" in
23909 2.0) WXGTK20=1
23910 TOOLKIT_VERSION=2
23911 ;;
23912 1.2.7) WXGTK127=1
23913 WXGTK12=1
23914 ;;
23915 1.2.3) WXGTK12=1
23916 ;;
23917 *) { { echo "$as_me:$LINENO: error:
23918 Please check that gtk-config is in path, the directory
23919 where GTK+ libraries are installed (returned by
23920 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23921 equivalent variable and GTK+ is version 1.2.3 or above.
23922 " >&5
23923 echo "$as_me: error:
23924 Please check that gtk-config is in path, the directory
23925 where GTK+ libraries are installed (returned by
23926 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23927 equivalent variable and GTK+ is version 1.2.3 or above.
23928 " >&2;}
23929 { (exit 1); exit 1; }; }
23930 ;;
23931 esac
23932
23933 if test "$WXGTK20" = 1; then
23934 save_CFLAGS="$CFLAGS"
23935 save_LIBS="$LIBS"
23936 CFLAGS="$CFLAGS $GTK_CFLAGS"
23937 LIBS="$LIBS $GTK_LIBS"
23938
23939
23940 for ac_func in pango_font_family_is_monospace
23941 do
23942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23943 echo "$as_me:$LINENO: checking for $ac_func" >&5
23944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23945 if eval "test \"\${$as_ac_var+set}\" = set"; then
23946 echo $ECHO_N "(cached) $ECHO_C" >&6
23947 else
23948 cat >conftest.$ac_ext <<_ACEOF
23949 /* confdefs.h. */
23950 _ACEOF
23951 cat confdefs.h >>conftest.$ac_ext
23952 cat >>conftest.$ac_ext <<_ACEOF
23953 /* end confdefs.h. */
23954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23956 #define $ac_func innocuous_$ac_func
23957
23958 /* System header to define __stub macros and hopefully few prototypes,
23959 which can conflict with char $ac_func (); below.
23960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23961 <limits.h> exists even on freestanding compilers. */
23962
23963 #ifdef __STDC__
23964 # include <limits.h>
23965 #else
23966 # include <assert.h>
23967 #endif
23968
23969 #undef $ac_func
23970
23971 /* Override any gcc2 internal prototype to avoid an error. */
23972 #ifdef __cplusplus
23973 extern "C"
23974 {
23975 #endif
23976 /* We use char because int might match the return type of a gcc2
23977 builtin and then its argument prototype would still apply. */
23978 char $ac_func ();
23979 /* The GNU C library defines this for functions which it implements
23980 to always fail with ENOSYS. Some functions are actually named
23981 something starting with __ and the normal name is an alias. */
23982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23983 choke me
23984 #else
23985 char (*f) () = $ac_func;
23986 #endif
23987 #ifdef __cplusplus
23988 }
23989 #endif
23990
23991 int
23992 main ()
23993 {
23994 return f != $ac_func;
23995 ;
23996 return 0;
23997 }
23998 _ACEOF
23999 rm -f conftest.$ac_objext conftest$ac_exeext
24000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24001 (eval $ac_link) 2>conftest.er1
24002 ac_status=$?
24003 grep -v '^ *+' conftest.er1 >conftest.err
24004 rm -f conftest.er1
24005 cat conftest.err >&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } &&
24008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24010 (eval $ac_try) 2>&5
24011 ac_status=$?
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); }; } &&
24014 { ac_try='test -s conftest$ac_exeext'
24015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24016 (eval $ac_try) 2>&5
24017 ac_status=$?
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); }; }; then
24020 eval "$as_ac_var=yes"
24021 else
24022 echo "$as_me: failed program was:" >&5
24023 sed 's/^/| /' conftest.$ac_ext >&5
24024
24025 eval "$as_ac_var=no"
24026 fi
24027 rm -f conftest.err conftest.$ac_objext \
24028 conftest$ac_exeext conftest.$ac_ext
24029 fi
24030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24032 if test `eval echo '${'$as_ac_var'}'` = yes; then
24033 cat >>confdefs.h <<_ACEOF
24034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24035 _ACEOF
24036
24037 fi
24038 done
24039
24040
24041 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
24042 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
24043 cat >conftest.$ac_ext <<_ACEOF
24044 /* confdefs.h. */
24045 _ACEOF
24046 cat confdefs.h >>conftest.$ac_ext
24047 cat >>conftest.$ac_ext <<_ACEOF
24048 /* end confdefs.h. */
24049
24050 #include <gtk/gtk.h>
24051
24052 int
24053 main ()
24054 {
24055
24056 #if !GTK_CHECK_VERSION(2,4,0)
24057 #error "Not GTK+ 2.4"
24058 #endif
24059
24060 ;
24061 return 0;
24062 }
24063 _ACEOF
24064 rm -f conftest.$ac_objext
24065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24066 (eval $ac_compile) 2>conftest.er1
24067 ac_status=$?
24068 grep -v '^ *+' conftest.er1 >conftest.err
24069 rm -f conftest.er1
24070 cat conftest.err >&5
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); } &&
24073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24075 (eval $ac_try) 2>&5
24076 ac_status=$?
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); }; } &&
24079 { ac_try='test -s conftest.$ac_objext'
24080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24081 (eval $ac_try) 2>&5
24082 ac_status=$?
24083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084 (exit $ac_status); }; }; then
24085
24086 cat >>confdefs.h <<\_ACEOF
24087 #define __WXGTK24__ 1
24088 _ACEOF
24089
24090 echo "$as_me:$LINENO: result: yes" >&5
24091 echo "${ECHO_T}yes" >&6
24092
24093 else
24094 echo "$as_me: failed program was:" >&5
24095 sed 's/^/| /' conftest.$ac_ext >&5
24096
24097
24098 echo "$as_me:$LINENO: result: no" >&5
24099 echo "${ECHO_T}no" >&6
24100
24101 fi
24102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24103
24104 CFLAGS="$save_CFLAGS"
24105 LIBS="$save_LIBS"
24106 else
24107 if test "$wxUSE_UNICODE" = "yes"; then
24108 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24109 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24110 wxUSE_UNICODE=no
24111 fi
24112 fi
24113
24114 if test "$USE_DARWIN" != 1; then
24115
24116 for ac_func in poll
24117 do
24118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24119 echo "$as_me:$LINENO: checking for $ac_func" >&5
24120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24121 if eval "test \"\${$as_ac_var+set}\" = set"; then
24122 echo $ECHO_N "(cached) $ECHO_C" >&6
24123 else
24124 cat >conftest.$ac_ext <<_ACEOF
24125 /* confdefs.h. */
24126 _ACEOF
24127 cat confdefs.h >>conftest.$ac_ext
24128 cat >>conftest.$ac_ext <<_ACEOF
24129 /* end confdefs.h. */
24130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24132 #define $ac_func innocuous_$ac_func
24133
24134 /* System header to define __stub macros and hopefully few prototypes,
24135 which can conflict with char $ac_func (); below.
24136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24137 <limits.h> exists even on freestanding compilers. */
24138
24139 #ifdef __STDC__
24140 # include <limits.h>
24141 #else
24142 # include <assert.h>
24143 #endif
24144
24145 #undef $ac_func
24146
24147 /* Override any gcc2 internal prototype to avoid an error. */
24148 #ifdef __cplusplus
24149 extern "C"
24150 {
24151 #endif
24152 /* We use char because int might match the return type of a gcc2
24153 builtin and then its argument prototype would still apply. */
24154 char $ac_func ();
24155 /* The GNU C library defines this for functions which it implements
24156 to always fail with ENOSYS. Some functions are actually named
24157 something starting with __ and the normal name is an alias. */
24158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24159 choke me
24160 #else
24161 char (*f) () = $ac_func;
24162 #endif
24163 #ifdef __cplusplus
24164 }
24165 #endif
24166
24167 int
24168 main ()
24169 {
24170 return f != $ac_func;
24171 ;
24172 return 0;
24173 }
24174 _ACEOF
24175 rm -f conftest.$ac_objext conftest$ac_exeext
24176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24177 (eval $ac_link) 2>conftest.er1
24178 ac_status=$?
24179 grep -v '^ *+' conftest.er1 >conftest.err
24180 rm -f conftest.er1
24181 cat conftest.err >&5
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); } &&
24184 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24186 (eval $ac_try) 2>&5
24187 ac_status=$?
24188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 (exit $ac_status); }; } &&
24190 { ac_try='test -s conftest$ac_exeext'
24191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24192 (eval $ac_try) 2>&5
24193 ac_status=$?
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); }; }; then
24196 eval "$as_ac_var=yes"
24197 else
24198 echo "$as_me: failed program was:" >&5
24199 sed 's/^/| /' conftest.$ac_ext >&5
24200
24201 eval "$as_ac_var=no"
24202 fi
24203 rm -f conftest.err conftest.$ac_objext \
24204 conftest$ac_exeext conftest.$ac_ext
24205 fi
24206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24208 if test `eval echo '${'$as_ac_var'}'` = yes; then
24209 cat >>confdefs.h <<_ACEOF
24210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24211 _ACEOF
24212
24213 fi
24214 done
24215
24216 fi
24217
24218 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24219 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24220
24221 AFMINSTALL=afminstall
24222 TOOLKIT=GTK
24223 GUIDIST=GTK_DIST
24224
24225 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
24226 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
24227 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
24228 echo $ECHO_N "(cached) $ECHO_C" >&6
24229 else
24230 ac_check_lib_save_LIBS=$LIBS
24231 LIBS="-lgdk $LIBS"
24232 cat >conftest.$ac_ext <<_ACEOF
24233 /* confdefs.h. */
24234 _ACEOF
24235 cat confdefs.h >>conftest.$ac_ext
24236 cat >>conftest.$ac_ext <<_ACEOF
24237 /* end confdefs.h. */
24238
24239 /* Override any gcc2 internal prototype to avoid an error. */
24240 #ifdef __cplusplus
24241 extern "C"
24242 #endif
24243 /* We use char because int might match the return type of a gcc2
24244 builtin and then its argument prototype would still apply. */
24245 char gdk_im_open ();
24246 int
24247 main ()
24248 {
24249 gdk_im_open ();
24250 ;
24251 return 0;
24252 }
24253 _ACEOF
24254 rm -f conftest.$ac_objext conftest$ac_exeext
24255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24256 (eval $ac_link) 2>conftest.er1
24257 ac_status=$?
24258 grep -v '^ *+' conftest.er1 >conftest.err
24259 rm -f conftest.er1
24260 cat conftest.err >&5
24261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24262 (exit $ac_status); } &&
24263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24265 (eval $ac_try) 2>&5
24266 ac_status=$?
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); }; } &&
24269 { ac_try='test -s conftest$ac_exeext'
24270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24271 (eval $ac_try) 2>&5
24272 ac_status=$?
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); }; }; then
24275 ac_cv_lib_gdk_gdk_im_open=yes
24276 else
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.$ac_ext >&5
24279
24280 ac_cv_lib_gdk_gdk_im_open=no
24281 fi
24282 rm -f conftest.err conftest.$ac_objext \
24283 conftest$ac_exeext conftest.$ac_ext
24284 LIBS=$ac_check_lib_save_LIBS
24285 fi
24286 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24287 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24288 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24289 cat >>confdefs.h <<\_ACEOF
24290 #define HAVE_XIM 1
24291 _ACEOF
24292
24293 fi
24294
24295
24296
24297 if test "$wxUSE_GPE" = "yes"; then
24298 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24299 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24300
24301 ac_find_libraries=
24302 for ac_dir in $SEARCH_LIB /usr/lib;
24303 do
24304 for ac_extension in a so sl dylib; do
24305 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24306 ac_find_libraries=$ac_dir
24307 break 2
24308 fi
24309 done
24310 done
24311
24312 if test "$ac_find_libraries" != "" ; then
24313
24314 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24315 result=$?
24316 if test $result = 0; then
24317 ac_path_to_link=""
24318 else
24319 ac_path_to_link=" -L$ac_find_libraries"
24320 fi
24321
24322 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24323 WXGPE=1
24324 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24325 echo "${ECHO_T}found at $ac_find_libraries" >&6
24326 else
24327 echo "$as_me:$LINENO: result: not found" >&5
24328 echo "${ECHO_T}not found" >&6
24329 fi
24330
24331 fi
24332 fi
24333
24334 if test "$wxUSE_MGL" = 1; then
24335 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24336 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24337 if test "x$MGL_ROOT" = x ; then
24338 echo "$as_me:$LINENO: result: not found" >&5
24339 echo "${ECHO_T}not found" >&6
24340 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24341 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24342 { (exit 1); exit 1; }; }
24343 else
24344 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24345 echo "${ECHO_T}$MGL_ROOT" >&6
24346 fi
24347
24348 echo "$as_me:$LINENO: checking for libmgl location" >&5
24349 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24350 case "${host}" in
24351 *-*-linux* )
24352 if test "x$wxUSE_SHARED" = xyes ; then
24353 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24354 else
24355 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24356 fi
24357 ;;
24358 *-pc-msdosdjgpp )
24359 mgl_os_candidates="dos32/dj2"
24360 ;;
24361 *)
24362 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24363 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24364 { (exit 1); exit 1; }; }
24365 esac
24366
24367 mgl_lib_type=""
24368 mgl_os=""
24369
24370 for mgl_os_i in $mgl_os_candidates ; do
24371 if test "x$mgl_os" = x ; then
24372 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24373 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
24374 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
24375 mgl_lib_type=debug
24376 mgl_os=$mgl_os_i
24377 fi
24378 fi
24379 if test "x$mgl_lib_type" = x ; then
24380 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
24381 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
24382 mgl_lib_type=release
24383 mgl_os=$mgl_os_i
24384 fi
24385 fi
24386 fi
24387 done
24388
24389 if test "x$mgl_os" = x ; then
24390 echo "$as_me:$LINENO: result: not found" >&5
24391 echo "${ECHO_T}not found" >&6
24392 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24393 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24394 { (exit 1); exit 1; }; }
24395 fi
24396 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24397 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24398
24399 wxUSE_UNIVERSAL="yes"
24400
24401 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
24402 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24403
24404 AFMINSTALL=afminstall
24405 TOOLKIT=MGL
24406 GUIDIST=MGL_DIST
24407 fi
24408
24409 if test "$wxUSE_MICROWIN" = 1; then
24410 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24411 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24412 if test "x$MICROWINDOWS" = x ; then
24413 echo "$as_me:$LINENO: result: not found" >&5
24414 echo "${ECHO_T}not found" >&6
24415 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24416 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24417 { (exit 1); exit 1; }; }
24418 else
24419 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24420 echo "${ECHO_T}$MICROWINDOWS" >&6
24421 fi
24422
24423 if test -f $MICROWINDOWS/lib/libmwin.a; then
24424 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24425 echo "${ECHO_T}MicroWindows' libraries found." >&6
24426 else
24427 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24428 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24429 { (exit 1); exit 1; }; }
24430 fi
24431
24432 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24433 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24434
24435 wxUSE_UNIVERSAL="yes"
24436
24437 AFMINSTALL=afminstall
24438 TOOLKIT=MICROWIN
24439 GUIDIST=MICROWIN_DIST
24440
24441 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24442 fi
24443
24444 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24445
24446 if test "x$ac_path_x_has_been_run" != xyes; then
24447 echo "$as_me:$LINENO: checking for X" >&5
24448 echo $ECHO_N "checking for X... $ECHO_C" >&6
24449
24450 ac_path_x_has_been_run=yes
24451
24452 # Check whether --with-x or --without-x was given.
24453 if test "${with_x+set}" = set; then
24454 withval="$with_x"
24455
24456 fi;
24457 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24458 if test "x$with_x" = xno; then
24459 # The user explicitly disabled X.
24460 have_x=disabled
24461 else
24462 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
24463 # Both variables are already set.
24464 have_x=yes
24465 else
24466 if test "${ac_cv_have_x+set}" = set; then
24467 echo $ECHO_N "(cached) $ECHO_C" >&6
24468 else
24469 # One or both of the vars are not set, and there is no cached value.
24470 ac_x_includes=no ac_x_libraries=no
24471 rm -fr conftest.dir
24472 if mkdir conftest.dir; then
24473 cd conftest.dir
24474 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24475 cat >Imakefile <<'_ACEOF'
24476 acfindx:
24477 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24478 _ACEOF
24479 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
24480 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24481 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24482 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24483 for ac_extension in a so sl; do
24484 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
24485 test -f $ac_im_libdir/libX11.$ac_extension; then
24486 ac_im_usrlibdir=$ac_im_libdir; break
24487 fi
24488 done
24489 # Screen out bogus values from the imake configuration. They are
24490 # bogus both because they are the default anyway, and because
24491 # using them would break gcc on systems where it needs fixed includes.
24492 case $ac_im_incroot in
24493 /usr/include) ;;
24494 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24495 esac
24496 case $ac_im_usrlibdir in
24497 /usr/lib | /lib) ;;
24498 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24499 esac
24500 fi
24501 cd ..
24502 rm -fr conftest.dir
24503 fi
24504
24505 # Standard set of common directories for X headers.
24506 # Check X11 before X11Rn because it is often a symlink to the current release.
24507 ac_x_header_dirs='
24508 /usr/X11/include
24509 /usr/X11R6/include
24510 /usr/X11R5/include
24511 /usr/X11R4/include
24512
24513 /usr/include/X11
24514 /usr/include/X11R6
24515 /usr/include/X11R5
24516 /usr/include/X11R4
24517
24518 /usr/local/X11/include
24519 /usr/local/X11R6/include
24520 /usr/local/X11R5/include
24521 /usr/local/X11R4/include
24522
24523 /usr/local/include/X11
24524 /usr/local/include/X11R6
24525 /usr/local/include/X11R5
24526 /usr/local/include/X11R4
24527
24528 /usr/X386/include
24529 /usr/x386/include
24530 /usr/XFree86/include/X11
24531
24532 /usr/include
24533 /usr/local/include
24534 /usr/unsupported/include
24535 /usr/athena/include
24536 /usr/local/x11r5/include
24537 /usr/lpp/Xamples/include
24538
24539 /usr/openwin/include
24540 /usr/openwin/share/include'
24541
24542 if test "$ac_x_includes" = no; then
24543 # Guess where to find include files, by looking for a specified header file.
24544 # First, try using that file with no special directory specified.
24545 cat >conftest.$ac_ext <<_ACEOF
24546 /* confdefs.h. */
24547 _ACEOF
24548 cat confdefs.h >>conftest.$ac_ext
24549 cat >>conftest.$ac_ext <<_ACEOF
24550 /* end confdefs.h. */
24551 #include <X11/Intrinsic.h>
24552 _ACEOF
24553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24554 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24555 ac_status=$?
24556 grep -v '^ *+' conftest.er1 >conftest.err
24557 rm -f conftest.er1
24558 cat conftest.err >&5
24559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560 (exit $ac_status); } >/dev/null; then
24561 if test -s conftest.err; then
24562 ac_cpp_err=$ac_c_preproc_warn_flag
24563 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24564 else
24565 ac_cpp_err=
24566 fi
24567 else
24568 ac_cpp_err=yes
24569 fi
24570 if test -z "$ac_cpp_err"; then
24571 # We can compile using X headers with no special include directory.
24572 ac_x_includes=
24573 else
24574 echo "$as_me: failed program was:" >&5
24575 sed 's/^/| /' conftest.$ac_ext >&5
24576
24577 for ac_dir in $ac_x_header_dirs; do
24578 if test -r "$ac_dir/X11/Intrinsic.h"; then
24579 ac_x_includes=$ac_dir
24580 break
24581 fi
24582 done
24583 fi
24584 rm -f conftest.err conftest.$ac_ext
24585 fi # $ac_x_includes = no
24586
24587 if test "$ac_x_libraries" = no; then
24588 # Check for the libraries.
24589 # See if we find them without any special options.
24590 # Don't add to $LIBS permanently.
24591 ac_save_LIBS=$LIBS
24592 LIBS="-lXt $LIBS"
24593 cat >conftest.$ac_ext <<_ACEOF
24594 /* confdefs.h. */
24595 _ACEOF
24596 cat confdefs.h >>conftest.$ac_ext
24597 cat >>conftest.$ac_ext <<_ACEOF
24598 /* end confdefs.h. */
24599 #include <X11/Intrinsic.h>
24600 int
24601 main ()
24602 {
24603 XtMalloc (0)
24604 ;
24605 return 0;
24606 }
24607 _ACEOF
24608 rm -f conftest.$ac_objext conftest$ac_exeext
24609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24610 (eval $ac_link) 2>conftest.er1
24611 ac_status=$?
24612 grep -v '^ *+' conftest.er1 >conftest.err
24613 rm -f conftest.er1
24614 cat conftest.err >&5
24615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616 (exit $ac_status); } &&
24617 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24619 (eval $ac_try) 2>&5
24620 ac_status=$?
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); }; } &&
24623 { ac_try='test -s conftest$ac_exeext'
24624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24625 (eval $ac_try) 2>&5
24626 ac_status=$?
24627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24628 (exit $ac_status); }; }; then
24629 LIBS=$ac_save_LIBS
24630 # We can link X programs with no special library path.
24631 ac_x_libraries=
24632 else
24633 echo "$as_me: failed program was:" >&5
24634 sed 's/^/| /' conftest.$ac_ext >&5
24635
24636 LIBS=$ac_save_LIBS
24637 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24638 do
24639 # Don't even attempt the hair of trying to link an X program!
24640 for ac_extension in a so sl; do
24641 if test -r $ac_dir/libXt.$ac_extension; then
24642 ac_x_libraries=$ac_dir
24643 break 2
24644 fi
24645 done
24646 done
24647 fi
24648 rm -f conftest.err conftest.$ac_objext \
24649 conftest$ac_exeext conftest.$ac_ext
24650 fi # $ac_x_libraries = no
24651
24652 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
24653 # Didn't find X anywhere. Cache the known absence of X.
24654 ac_cv_have_x="have_x=no"
24655 else
24656 # Record where we found X for the cache.
24657 ac_cv_have_x="have_x=yes \
24658 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24659 fi
24660 fi
24661
24662 fi
24663 eval "$ac_cv_have_x"
24664 fi # $with_x != no
24665
24666 if test "$have_x" != yes; then
24667 echo "$as_me:$LINENO: result: $have_x" >&5
24668 echo "${ECHO_T}$have_x" >&6
24669 no_x=yes
24670 else
24671 # If each of the values was on the command line, it overrides each guess.
24672 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24673 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24674 # Update the cache value to reflect the command line values.
24675 ac_cv_have_x="have_x=yes \
24676 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24677 # It might be that x_includes is empty (headers are found in the
24678 # standard search path. Then output the corresponding message
24679 ac_out_x_includes=$x_includes
24680 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
24681 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
24682 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
24683 fi
24684
24685 fi
24686 if test "$no_x" = yes; then
24687 # Not all programs may use this symbol, but it does not hurt to define it.
24688
24689 cat >>confdefs.h <<\_ACEOF
24690 #define X_DISPLAY_MISSING 1
24691 _ACEOF
24692
24693 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24694 else
24695 if test -n "$x_includes"; then
24696 X_CFLAGS="$X_CFLAGS -I$x_includes"
24697 fi
24698
24699 # It would also be nice to do this for all -L options, not just this one.
24700 if test -n "$x_libraries"; then
24701 X_LIBS="$X_LIBS -L$x_libraries"
24702 # For Solaris; some versions of Sun CC require a space after -R and
24703 # others require no space. Words are not sufficient . . . .
24704 case `(uname -sr) 2>/dev/null` in
24705 "SunOS 5"*)
24706 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24707 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24708 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24709 cat >conftest.$ac_ext <<_ACEOF
24710 /* confdefs.h. */
24711 _ACEOF
24712 cat confdefs.h >>conftest.$ac_ext
24713 cat >>conftest.$ac_ext <<_ACEOF
24714 /* end confdefs.h. */
24715
24716 int
24717 main ()
24718 {
24719
24720 ;
24721 return 0;
24722 }
24723 _ACEOF
24724 rm -f conftest.$ac_objext conftest$ac_exeext
24725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24726 (eval $ac_link) 2>conftest.er1
24727 ac_status=$?
24728 grep -v '^ *+' conftest.er1 >conftest.err
24729 rm -f conftest.er1
24730 cat conftest.err >&5
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); } &&
24733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24736 ac_status=$?
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; } &&
24739 { ac_try='test -s conftest$ac_exeext'
24740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24741 (eval $ac_try) 2>&5
24742 ac_status=$?
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); }; }; then
24745 ac_R_nospace=yes
24746 else
24747 echo "$as_me: failed program was:" >&5
24748 sed 's/^/| /' conftest.$ac_ext >&5
24749
24750 ac_R_nospace=no
24751 fi
24752 rm -f conftest.err conftest.$ac_objext \
24753 conftest$ac_exeext conftest.$ac_ext
24754 if test $ac_R_nospace = yes; then
24755 echo "$as_me:$LINENO: result: no" >&5
24756 echo "${ECHO_T}no" >&6
24757 X_LIBS="$X_LIBS -R$x_libraries"
24758 else
24759 LIBS="$ac_xsave_LIBS -R $x_libraries"
24760 cat >conftest.$ac_ext <<_ACEOF
24761 /* confdefs.h. */
24762 _ACEOF
24763 cat confdefs.h >>conftest.$ac_ext
24764 cat >>conftest.$ac_ext <<_ACEOF
24765 /* end confdefs.h. */
24766
24767 int
24768 main ()
24769 {
24770
24771 ;
24772 return 0;
24773 }
24774 _ACEOF
24775 rm -f conftest.$ac_objext conftest$ac_exeext
24776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24777 (eval $ac_link) 2>conftest.er1
24778 ac_status=$?
24779 grep -v '^ *+' conftest.er1 >conftest.err
24780 rm -f conftest.er1
24781 cat conftest.err >&5
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); } &&
24784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24786 (eval $ac_try) 2>&5
24787 ac_status=$?
24788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24789 (exit $ac_status); }; } &&
24790 { ac_try='test -s conftest$ac_exeext'
24791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24792 (eval $ac_try) 2>&5
24793 ac_status=$?
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); }; }; then
24796 ac_R_space=yes
24797 else
24798 echo "$as_me: failed program was:" >&5
24799 sed 's/^/| /' conftest.$ac_ext >&5
24800
24801 ac_R_space=no
24802 fi
24803 rm -f conftest.err conftest.$ac_objext \
24804 conftest$ac_exeext conftest.$ac_ext
24805 if test $ac_R_space = yes; then
24806 echo "$as_me:$LINENO: result: yes" >&5
24807 echo "${ECHO_T}yes" >&6
24808 X_LIBS="$X_LIBS -R $x_libraries"
24809 else
24810 echo "$as_me:$LINENO: result: neither works" >&5
24811 echo "${ECHO_T}neither works" >&6
24812 fi
24813 fi
24814 LIBS=$ac_xsave_LIBS
24815 esac
24816 fi
24817
24818 # Check for system-dependent libraries X programs must link with.
24819 # Do this before checking for the system-independent R6 libraries
24820 # (-lICE), since we may need -lsocket or whatever for X linking.
24821
24822 if test "$ISC" = yes; then
24823 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24824 else
24825 # Martyn Johnson says this is needed for Ultrix, if the X
24826 # libraries were built with DECnet support. And Karl Berry says
24827 # the Alpha needs dnet_stub (dnet does not exist).
24828 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24829 cat >conftest.$ac_ext <<_ACEOF
24830 /* confdefs.h. */
24831 _ACEOF
24832 cat confdefs.h >>conftest.$ac_ext
24833 cat >>conftest.$ac_ext <<_ACEOF
24834 /* end confdefs.h. */
24835
24836 /* Override any gcc2 internal prototype to avoid an error. */
24837 #ifdef __cplusplus
24838 extern "C"
24839 #endif
24840 /* We use char because int might match the return type of a gcc2
24841 builtin and then its argument prototype would still apply. */
24842 char XOpenDisplay ();
24843 int
24844 main ()
24845 {
24846 XOpenDisplay ();
24847 ;
24848 return 0;
24849 }
24850 _ACEOF
24851 rm -f conftest.$ac_objext conftest$ac_exeext
24852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24853 (eval $ac_link) 2>conftest.er1
24854 ac_status=$?
24855 grep -v '^ *+' conftest.er1 >conftest.err
24856 rm -f conftest.er1
24857 cat conftest.err >&5
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); } &&
24860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24863 ac_status=$?
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; } &&
24866 { ac_try='test -s conftest$ac_exeext'
24867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24868 (eval $ac_try) 2>&5
24869 ac_status=$?
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); }; }; then
24872 :
24873 else
24874 echo "$as_me: failed program was:" >&5
24875 sed 's/^/| /' conftest.$ac_ext >&5
24876
24877 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24878 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24879 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24880 echo $ECHO_N "(cached) $ECHO_C" >&6
24881 else
24882 ac_check_lib_save_LIBS=$LIBS
24883 LIBS="-ldnet $LIBS"
24884 cat >conftest.$ac_ext <<_ACEOF
24885 /* confdefs.h. */
24886 _ACEOF
24887 cat confdefs.h >>conftest.$ac_ext
24888 cat >>conftest.$ac_ext <<_ACEOF
24889 /* end confdefs.h. */
24890
24891 /* Override any gcc2 internal prototype to avoid an error. */
24892 #ifdef __cplusplus
24893 extern "C"
24894 #endif
24895 /* We use char because int might match the return type of a gcc2
24896 builtin and then its argument prototype would still apply. */
24897 char dnet_ntoa ();
24898 int
24899 main ()
24900 {
24901 dnet_ntoa ();
24902 ;
24903 return 0;
24904 }
24905 _ACEOF
24906 rm -f conftest.$ac_objext conftest$ac_exeext
24907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24908 (eval $ac_link) 2>conftest.er1
24909 ac_status=$?
24910 grep -v '^ *+' conftest.er1 >conftest.err
24911 rm -f conftest.er1
24912 cat conftest.err >&5
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); } &&
24915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24917 (eval $ac_try) 2>&5
24918 ac_status=$?
24919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24920 (exit $ac_status); }; } &&
24921 { ac_try='test -s conftest$ac_exeext'
24922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24923 (eval $ac_try) 2>&5
24924 ac_status=$?
24925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24926 (exit $ac_status); }; }; then
24927 ac_cv_lib_dnet_dnet_ntoa=yes
24928 else
24929 echo "$as_me: failed program was:" >&5
24930 sed 's/^/| /' conftest.$ac_ext >&5
24931
24932 ac_cv_lib_dnet_dnet_ntoa=no
24933 fi
24934 rm -f conftest.err conftest.$ac_objext \
24935 conftest$ac_exeext conftest.$ac_ext
24936 LIBS=$ac_check_lib_save_LIBS
24937 fi
24938 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24939 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24940 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24941 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24942 fi
24943
24944 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24945 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24946 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24947 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24948 echo $ECHO_N "(cached) $ECHO_C" >&6
24949 else
24950 ac_check_lib_save_LIBS=$LIBS
24951 LIBS="-ldnet_stub $LIBS"
24952 cat >conftest.$ac_ext <<_ACEOF
24953 /* confdefs.h. */
24954 _ACEOF
24955 cat confdefs.h >>conftest.$ac_ext
24956 cat >>conftest.$ac_ext <<_ACEOF
24957 /* end confdefs.h. */
24958
24959 /* Override any gcc2 internal prototype to avoid an error. */
24960 #ifdef __cplusplus
24961 extern "C"
24962 #endif
24963 /* We use char because int might match the return type of a gcc2
24964 builtin and then its argument prototype would still apply. */
24965 char dnet_ntoa ();
24966 int
24967 main ()
24968 {
24969 dnet_ntoa ();
24970 ;
24971 return 0;
24972 }
24973 _ACEOF
24974 rm -f conftest.$ac_objext conftest$ac_exeext
24975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24976 (eval $ac_link) 2>conftest.er1
24977 ac_status=$?
24978 grep -v '^ *+' conftest.er1 >conftest.err
24979 rm -f conftest.er1
24980 cat conftest.err >&5
24981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24982 (exit $ac_status); } &&
24983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24985 (eval $ac_try) 2>&5
24986 ac_status=$?
24987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988 (exit $ac_status); }; } &&
24989 { ac_try='test -s conftest$ac_exeext'
24990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24991 (eval $ac_try) 2>&5
24992 ac_status=$?
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); }; }; then
24995 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24996 else
24997 echo "$as_me: failed program was:" >&5
24998 sed 's/^/| /' conftest.$ac_ext >&5
24999
25000 ac_cv_lib_dnet_stub_dnet_ntoa=no
25001 fi
25002 rm -f conftest.err conftest.$ac_objext \
25003 conftest$ac_exeext conftest.$ac_ext
25004 LIBS=$ac_check_lib_save_LIBS
25005 fi
25006 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25007 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25008 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25009 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25010 fi
25011
25012 fi
25013 fi
25014 rm -f conftest.err conftest.$ac_objext \
25015 conftest$ac_exeext conftest.$ac_ext
25016 LIBS="$ac_xsave_LIBS"
25017
25018 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25019 # to get the SysV transport functions.
25020 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25021 # needs -lnsl.
25022 # The nsl library prevents programs from opening the X display
25023 # on Irix 5.2, according to T.E. Dickey.
25024 # The functions gethostbyname, getservbyname, and inet_addr are
25025 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25026 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25027 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25028 if test "${ac_cv_func_gethostbyname+set}" = set; then
25029 echo $ECHO_N "(cached) $ECHO_C" >&6
25030 else
25031 cat >conftest.$ac_ext <<_ACEOF
25032 /* confdefs.h. */
25033 _ACEOF
25034 cat confdefs.h >>conftest.$ac_ext
25035 cat >>conftest.$ac_ext <<_ACEOF
25036 /* end confdefs.h. */
25037 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25039 #define gethostbyname innocuous_gethostbyname
25040
25041 /* System header to define __stub macros and hopefully few prototypes,
25042 which can conflict with char gethostbyname (); below.
25043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25044 <limits.h> exists even on freestanding compilers. */
25045
25046 #ifdef __STDC__
25047 # include <limits.h>
25048 #else
25049 # include <assert.h>
25050 #endif
25051
25052 #undef gethostbyname
25053
25054 /* Override any gcc2 internal prototype to avoid an error. */
25055 #ifdef __cplusplus
25056 extern "C"
25057 {
25058 #endif
25059 /* We use char because int might match the return type of a gcc2
25060 builtin and then its argument prototype would still apply. */
25061 char gethostbyname ();
25062 /* The GNU C library defines this for functions which it implements
25063 to always fail with ENOSYS. Some functions are actually named
25064 something starting with __ and the normal name is an alias. */
25065 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25066 choke me
25067 #else
25068 char (*f) () = gethostbyname;
25069 #endif
25070 #ifdef __cplusplus
25071 }
25072 #endif
25073
25074 int
25075 main ()
25076 {
25077 return f != gethostbyname;
25078 ;
25079 return 0;
25080 }
25081 _ACEOF
25082 rm -f conftest.$ac_objext conftest$ac_exeext
25083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25084 (eval $ac_link) 2>conftest.er1
25085 ac_status=$?
25086 grep -v '^ *+' conftest.er1 >conftest.err
25087 rm -f conftest.er1
25088 cat conftest.err >&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); } &&
25091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25093 (eval $ac_try) 2>&5
25094 ac_status=$?
25095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); }; } &&
25097 { ac_try='test -s conftest$ac_exeext'
25098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25099 (eval $ac_try) 2>&5
25100 ac_status=$?
25101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25102 (exit $ac_status); }; }; then
25103 ac_cv_func_gethostbyname=yes
25104 else
25105 echo "$as_me: failed program was:" >&5
25106 sed 's/^/| /' conftest.$ac_ext >&5
25107
25108 ac_cv_func_gethostbyname=no
25109 fi
25110 rm -f conftest.err conftest.$ac_objext \
25111 conftest$ac_exeext conftest.$ac_ext
25112 fi
25113 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25114 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25115
25116 if test $ac_cv_func_gethostbyname = no; then
25117 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25118 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25119 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25120 echo $ECHO_N "(cached) $ECHO_C" >&6
25121 else
25122 ac_check_lib_save_LIBS=$LIBS
25123 LIBS="-lnsl $LIBS"
25124 cat >conftest.$ac_ext <<_ACEOF
25125 /* confdefs.h. */
25126 _ACEOF
25127 cat confdefs.h >>conftest.$ac_ext
25128 cat >>conftest.$ac_ext <<_ACEOF
25129 /* end confdefs.h. */
25130
25131 /* Override any gcc2 internal prototype to avoid an error. */
25132 #ifdef __cplusplus
25133 extern "C"
25134 #endif
25135 /* We use char because int might match the return type of a gcc2
25136 builtin and then its argument prototype would still apply. */
25137 char gethostbyname ();
25138 int
25139 main ()
25140 {
25141 gethostbyname ();
25142 ;
25143 return 0;
25144 }
25145 _ACEOF
25146 rm -f conftest.$ac_objext conftest$ac_exeext
25147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25148 (eval $ac_link) 2>conftest.er1
25149 ac_status=$?
25150 grep -v '^ *+' conftest.er1 >conftest.err
25151 rm -f conftest.er1
25152 cat conftest.err >&5
25153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154 (exit $ac_status); } &&
25155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25157 (eval $ac_try) 2>&5
25158 ac_status=$?
25159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25160 (exit $ac_status); }; } &&
25161 { ac_try='test -s conftest$ac_exeext'
25162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25163 (eval $ac_try) 2>&5
25164 ac_status=$?
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); }; }; then
25167 ac_cv_lib_nsl_gethostbyname=yes
25168 else
25169 echo "$as_me: failed program was:" >&5
25170 sed 's/^/| /' conftest.$ac_ext >&5
25171
25172 ac_cv_lib_nsl_gethostbyname=no
25173 fi
25174 rm -f conftest.err conftest.$ac_objext \
25175 conftest$ac_exeext conftest.$ac_ext
25176 LIBS=$ac_check_lib_save_LIBS
25177 fi
25178 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25179 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25180 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25181 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25182 fi
25183
25184 if test $ac_cv_lib_nsl_gethostbyname = no; then
25185 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25186 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25187 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25188 echo $ECHO_N "(cached) $ECHO_C" >&6
25189 else
25190 ac_check_lib_save_LIBS=$LIBS
25191 LIBS="-lbsd $LIBS"
25192 cat >conftest.$ac_ext <<_ACEOF
25193 /* confdefs.h. */
25194 _ACEOF
25195 cat confdefs.h >>conftest.$ac_ext
25196 cat >>conftest.$ac_ext <<_ACEOF
25197 /* end confdefs.h. */
25198
25199 /* Override any gcc2 internal prototype to avoid an error. */
25200 #ifdef __cplusplus
25201 extern "C"
25202 #endif
25203 /* We use char because int might match the return type of a gcc2
25204 builtin and then its argument prototype would still apply. */
25205 char gethostbyname ();
25206 int
25207 main ()
25208 {
25209 gethostbyname ();
25210 ;
25211 return 0;
25212 }
25213 _ACEOF
25214 rm -f conftest.$ac_objext conftest$ac_exeext
25215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25216 (eval $ac_link) 2>conftest.er1
25217 ac_status=$?
25218 grep -v '^ *+' conftest.er1 >conftest.err
25219 rm -f conftest.er1
25220 cat conftest.err >&5
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); } &&
25223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25225 (eval $ac_try) 2>&5
25226 ac_status=$?
25227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228 (exit $ac_status); }; } &&
25229 { ac_try='test -s conftest$ac_exeext'
25230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25231 (eval $ac_try) 2>&5
25232 ac_status=$?
25233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25234 (exit $ac_status); }; }; then
25235 ac_cv_lib_bsd_gethostbyname=yes
25236 else
25237 echo "$as_me: failed program was:" >&5
25238 sed 's/^/| /' conftest.$ac_ext >&5
25239
25240 ac_cv_lib_bsd_gethostbyname=no
25241 fi
25242 rm -f conftest.err conftest.$ac_objext \
25243 conftest$ac_exeext conftest.$ac_ext
25244 LIBS=$ac_check_lib_save_LIBS
25245 fi
25246 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25247 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25248 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25249 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25250 fi
25251
25252 fi
25253 fi
25254
25255 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25256 # socket/setsockopt and other routines are undefined under SCO ODT
25257 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25258 # on later versions), says Simon Leinen: it contains gethostby*
25259 # variants that don't use the name server (or something). -lsocket
25260 # must be given before -lnsl if both are needed. We assume that
25261 # if connect needs -lnsl, so does gethostbyname.
25262 echo "$as_me:$LINENO: checking for connect" >&5
25263 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25264 if test "${ac_cv_func_connect+set}" = set; then
25265 echo $ECHO_N "(cached) $ECHO_C" >&6
25266 else
25267 cat >conftest.$ac_ext <<_ACEOF
25268 /* confdefs.h. */
25269 _ACEOF
25270 cat confdefs.h >>conftest.$ac_ext
25271 cat >>conftest.$ac_ext <<_ACEOF
25272 /* end confdefs.h. */
25273 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25275 #define connect innocuous_connect
25276
25277 /* System header to define __stub macros and hopefully few prototypes,
25278 which can conflict with char connect (); below.
25279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25280 <limits.h> exists even on freestanding compilers. */
25281
25282 #ifdef __STDC__
25283 # include <limits.h>
25284 #else
25285 # include <assert.h>
25286 #endif
25287
25288 #undef connect
25289
25290 /* Override any gcc2 internal prototype to avoid an error. */
25291 #ifdef __cplusplus
25292 extern "C"
25293 {
25294 #endif
25295 /* We use char because int might match the return type of a gcc2
25296 builtin and then its argument prototype would still apply. */
25297 char connect ();
25298 /* The GNU C library defines this for functions which it implements
25299 to always fail with ENOSYS. Some functions are actually named
25300 something starting with __ and the normal name is an alias. */
25301 #if defined (__stub_connect) || defined (__stub___connect)
25302 choke me
25303 #else
25304 char (*f) () = connect;
25305 #endif
25306 #ifdef __cplusplus
25307 }
25308 #endif
25309
25310 int
25311 main ()
25312 {
25313 return f != connect;
25314 ;
25315 return 0;
25316 }
25317 _ACEOF
25318 rm -f conftest.$ac_objext conftest$ac_exeext
25319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25320 (eval $ac_link) 2>conftest.er1
25321 ac_status=$?
25322 grep -v '^ *+' conftest.er1 >conftest.err
25323 rm -f conftest.er1
25324 cat conftest.err >&5
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); } &&
25327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25329 (eval $ac_try) 2>&5
25330 ac_status=$?
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); }; } &&
25333 { ac_try='test -s conftest$ac_exeext'
25334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25335 (eval $ac_try) 2>&5
25336 ac_status=$?
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); }; }; then
25339 ac_cv_func_connect=yes
25340 else
25341 echo "$as_me: failed program was:" >&5
25342 sed 's/^/| /' conftest.$ac_ext >&5
25343
25344 ac_cv_func_connect=no
25345 fi
25346 rm -f conftest.err conftest.$ac_objext \
25347 conftest$ac_exeext conftest.$ac_ext
25348 fi
25349 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25350 echo "${ECHO_T}$ac_cv_func_connect" >&6
25351
25352 if test $ac_cv_func_connect = no; then
25353 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25354 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25355 if test "${ac_cv_lib_socket_connect+set}" = set; then
25356 echo $ECHO_N "(cached) $ECHO_C" >&6
25357 else
25358 ac_check_lib_save_LIBS=$LIBS
25359 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25360 cat >conftest.$ac_ext <<_ACEOF
25361 /* confdefs.h. */
25362 _ACEOF
25363 cat confdefs.h >>conftest.$ac_ext
25364 cat >>conftest.$ac_ext <<_ACEOF
25365 /* end confdefs.h. */
25366
25367 /* Override any gcc2 internal prototype to avoid an error. */
25368 #ifdef __cplusplus
25369 extern "C"
25370 #endif
25371 /* We use char because int might match the return type of a gcc2
25372 builtin and then its argument prototype would still apply. */
25373 char connect ();
25374 int
25375 main ()
25376 {
25377 connect ();
25378 ;
25379 return 0;
25380 }
25381 _ACEOF
25382 rm -f conftest.$ac_objext conftest$ac_exeext
25383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25384 (eval $ac_link) 2>conftest.er1
25385 ac_status=$?
25386 grep -v '^ *+' conftest.er1 >conftest.err
25387 rm -f conftest.er1
25388 cat conftest.err >&5
25389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25390 (exit $ac_status); } &&
25391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25393 (eval $ac_try) 2>&5
25394 ac_status=$?
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); }; } &&
25397 { ac_try='test -s conftest$ac_exeext'
25398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25399 (eval $ac_try) 2>&5
25400 ac_status=$?
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); }; }; then
25403 ac_cv_lib_socket_connect=yes
25404 else
25405 echo "$as_me: failed program was:" >&5
25406 sed 's/^/| /' conftest.$ac_ext >&5
25407
25408 ac_cv_lib_socket_connect=no
25409 fi
25410 rm -f conftest.err conftest.$ac_objext \
25411 conftest$ac_exeext conftest.$ac_ext
25412 LIBS=$ac_check_lib_save_LIBS
25413 fi
25414 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25415 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25416 if test $ac_cv_lib_socket_connect = yes; then
25417 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25418 fi
25419
25420 fi
25421
25422 # Guillermo Gomez says -lposix is necessary on A/UX.
25423 echo "$as_me:$LINENO: checking for remove" >&5
25424 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25425 if test "${ac_cv_func_remove+set}" = set; then
25426 echo $ECHO_N "(cached) $ECHO_C" >&6
25427 else
25428 cat >conftest.$ac_ext <<_ACEOF
25429 /* confdefs.h. */
25430 _ACEOF
25431 cat confdefs.h >>conftest.$ac_ext
25432 cat >>conftest.$ac_ext <<_ACEOF
25433 /* end confdefs.h. */
25434 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25436 #define remove innocuous_remove
25437
25438 /* System header to define __stub macros and hopefully few prototypes,
25439 which can conflict with char remove (); below.
25440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25441 <limits.h> exists even on freestanding compilers. */
25442
25443 #ifdef __STDC__
25444 # include <limits.h>
25445 #else
25446 # include <assert.h>
25447 #endif
25448
25449 #undef remove
25450
25451 /* Override any gcc2 internal prototype to avoid an error. */
25452 #ifdef __cplusplus
25453 extern "C"
25454 {
25455 #endif
25456 /* We use char because int might match the return type of a gcc2
25457 builtin and then its argument prototype would still apply. */
25458 char remove ();
25459 /* The GNU C library defines this for functions which it implements
25460 to always fail with ENOSYS. Some functions are actually named
25461 something starting with __ and the normal name is an alias. */
25462 #if defined (__stub_remove) || defined (__stub___remove)
25463 choke me
25464 #else
25465 char (*f) () = remove;
25466 #endif
25467 #ifdef __cplusplus
25468 }
25469 #endif
25470
25471 int
25472 main ()
25473 {
25474 return f != remove;
25475 ;
25476 return 0;
25477 }
25478 _ACEOF
25479 rm -f conftest.$ac_objext conftest$ac_exeext
25480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25481 (eval $ac_link) 2>conftest.er1
25482 ac_status=$?
25483 grep -v '^ *+' conftest.er1 >conftest.err
25484 rm -f conftest.er1
25485 cat conftest.err >&5
25486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487 (exit $ac_status); } &&
25488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25490 (eval $ac_try) 2>&5
25491 ac_status=$?
25492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25493 (exit $ac_status); }; } &&
25494 { ac_try='test -s conftest$ac_exeext'
25495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25496 (eval $ac_try) 2>&5
25497 ac_status=$?
25498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25499 (exit $ac_status); }; }; then
25500 ac_cv_func_remove=yes
25501 else
25502 echo "$as_me: failed program was:" >&5
25503 sed 's/^/| /' conftest.$ac_ext >&5
25504
25505 ac_cv_func_remove=no
25506 fi
25507 rm -f conftest.err conftest.$ac_objext \
25508 conftest$ac_exeext conftest.$ac_ext
25509 fi
25510 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25511 echo "${ECHO_T}$ac_cv_func_remove" >&6
25512
25513 if test $ac_cv_func_remove = no; then
25514 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25515 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25516 if test "${ac_cv_lib_posix_remove+set}" = set; then
25517 echo $ECHO_N "(cached) $ECHO_C" >&6
25518 else
25519 ac_check_lib_save_LIBS=$LIBS
25520 LIBS="-lposix $LIBS"
25521 cat >conftest.$ac_ext <<_ACEOF
25522 /* confdefs.h. */
25523 _ACEOF
25524 cat confdefs.h >>conftest.$ac_ext
25525 cat >>conftest.$ac_ext <<_ACEOF
25526 /* end confdefs.h. */
25527
25528 /* Override any gcc2 internal prototype to avoid an error. */
25529 #ifdef __cplusplus
25530 extern "C"
25531 #endif
25532 /* We use char because int might match the return type of a gcc2
25533 builtin and then its argument prototype would still apply. */
25534 char remove ();
25535 int
25536 main ()
25537 {
25538 remove ();
25539 ;
25540 return 0;
25541 }
25542 _ACEOF
25543 rm -f conftest.$ac_objext conftest$ac_exeext
25544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25545 (eval $ac_link) 2>conftest.er1
25546 ac_status=$?
25547 grep -v '^ *+' conftest.er1 >conftest.err
25548 rm -f conftest.er1
25549 cat conftest.err >&5
25550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25551 (exit $ac_status); } &&
25552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25554 (eval $ac_try) 2>&5
25555 ac_status=$?
25556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25557 (exit $ac_status); }; } &&
25558 { ac_try='test -s conftest$ac_exeext'
25559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25560 (eval $ac_try) 2>&5
25561 ac_status=$?
25562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25563 (exit $ac_status); }; }; then
25564 ac_cv_lib_posix_remove=yes
25565 else
25566 echo "$as_me: failed program was:" >&5
25567 sed 's/^/| /' conftest.$ac_ext >&5
25568
25569 ac_cv_lib_posix_remove=no
25570 fi
25571 rm -f conftest.err conftest.$ac_objext \
25572 conftest$ac_exeext conftest.$ac_ext
25573 LIBS=$ac_check_lib_save_LIBS
25574 fi
25575 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25576 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25577 if test $ac_cv_lib_posix_remove = yes; then
25578 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25579 fi
25580
25581 fi
25582
25583 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25584 echo "$as_me:$LINENO: checking for shmat" >&5
25585 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25586 if test "${ac_cv_func_shmat+set}" = set; then
25587 echo $ECHO_N "(cached) $ECHO_C" >&6
25588 else
25589 cat >conftest.$ac_ext <<_ACEOF
25590 /* confdefs.h. */
25591 _ACEOF
25592 cat confdefs.h >>conftest.$ac_ext
25593 cat >>conftest.$ac_ext <<_ACEOF
25594 /* end confdefs.h. */
25595 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25597 #define shmat innocuous_shmat
25598
25599 /* System header to define __stub macros and hopefully few prototypes,
25600 which can conflict with char shmat (); below.
25601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25602 <limits.h> exists even on freestanding compilers. */
25603
25604 #ifdef __STDC__
25605 # include <limits.h>
25606 #else
25607 # include <assert.h>
25608 #endif
25609
25610 #undef shmat
25611
25612 /* Override any gcc2 internal prototype to avoid an error. */
25613 #ifdef __cplusplus
25614 extern "C"
25615 {
25616 #endif
25617 /* We use char because int might match the return type of a gcc2
25618 builtin and then its argument prototype would still apply. */
25619 char shmat ();
25620 /* The GNU C library defines this for functions which it implements
25621 to always fail with ENOSYS. Some functions are actually named
25622 something starting with __ and the normal name is an alias. */
25623 #if defined (__stub_shmat) || defined (__stub___shmat)
25624 choke me
25625 #else
25626 char (*f) () = shmat;
25627 #endif
25628 #ifdef __cplusplus
25629 }
25630 #endif
25631
25632 int
25633 main ()
25634 {
25635 return f != shmat;
25636 ;
25637 return 0;
25638 }
25639 _ACEOF
25640 rm -f conftest.$ac_objext conftest$ac_exeext
25641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25642 (eval $ac_link) 2>conftest.er1
25643 ac_status=$?
25644 grep -v '^ *+' conftest.er1 >conftest.err
25645 rm -f conftest.er1
25646 cat conftest.err >&5
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); } &&
25649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25651 (eval $ac_try) 2>&5
25652 ac_status=$?
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); }; } &&
25655 { ac_try='test -s conftest$ac_exeext'
25656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25657 (eval $ac_try) 2>&5
25658 ac_status=$?
25659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660 (exit $ac_status); }; }; then
25661 ac_cv_func_shmat=yes
25662 else
25663 echo "$as_me: failed program was:" >&5
25664 sed 's/^/| /' conftest.$ac_ext >&5
25665
25666 ac_cv_func_shmat=no
25667 fi
25668 rm -f conftest.err conftest.$ac_objext \
25669 conftest$ac_exeext conftest.$ac_ext
25670 fi
25671 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25672 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25673
25674 if test $ac_cv_func_shmat = no; then
25675 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25676 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25677 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25678 echo $ECHO_N "(cached) $ECHO_C" >&6
25679 else
25680 ac_check_lib_save_LIBS=$LIBS
25681 LIBS="-lipc $LIBS"
25682 cat >conftest.$ac_ext <<_ACEOF
25683 /* confdefs.h. */
25684 _ACEOF
25685 cat confdefs.h >>conftest.$ac_ext
25686 cat >>conftest.$ac_ext <<_ACEOF
25687 /* end confdefs.h. */
25688
25689 /* Override any gcc2 internal prototype to avoid an error. */
25690 #ifdef __cplusplus
25691 extern "C"
25692 #endif
25693 /* We use char because int might match the return type of a gcc2
25694 builtin and then its argument prototype would still apply. */
25695 char shmat ();
25696 int
25697 main ()
25698 {
25699 shmat ();
25700 ;
25701 return 0;
25702 }
25703 _ACEOF
25704 rm -f conftest.$ac_objext conftest$ac_exeext
25705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25706 (eval $ac_link) 2>conftest.er1
25707 ac_status=$?
25708 grep -v '^ *+' conftest.er1 >conftest.err
25709 rm -f conftest.er1
25710 cat conftest.err >&5
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); } &&
25713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25715 (eval $ac_try) 2>&5
25716 ac_status=$?
25717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25718 (exit $ac_status); }; } &&
25719 { ac_try='test -s conftest$ac_exeext'
25720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25721 (eval $ac_try) 2>&5
25722 ac_status=$?
25723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25724 (exit $ac_status); }; }; then
25725 ac_cv_lib_ipc_shmat=yes
25726 else
25727 echo "$as_me: failed program was:" >&5
25728 sed 's/^/| /' conftest.$ac_ext >&5
25729
25730 ac_cv_lib_ipc_shmat=no
25731 fi
25732 rm -f conftest.err conftest.$ac_objext \
25733 conftest$ac_exeext conftest.$ac_ext
25734 LIBS=$ac_check_lib_save_LIBS
25735 fi
25736 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25737 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25738 if test $ac_cv_lib_ipc_shmat = yes; then
25739 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25740 fi
25741
25742 fi
25743 fi
25744
25745 # Check for libraries that X11R6 Xt/Xaw programs need.
25746 ac_save_LDFLAGS=$LDFLAGS
25747 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25748 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25749 # check for ICE first), but we must link in the order -lSM -lICE or
25750 # we get undefined symbols. So assume we have SM if we have ICE.
25751 # These have to be linked with before -lX11, unlike the other
25752 # libraries we check for below, so use a different variable.
25753 # John Interrante, Karl Berry
25754 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25755 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25756 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25757 echo $ECHO_N "(cached) $ECHO_C" >&6
25758 else
25759 ac_check_lib_save_LIBS=$LIBS
25760 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25761 cat >conftest.$ac_ext <<_ACEOF
25762 /* confdefs.h. */
25763 _ACEOF
25764 cat confdefs.h >>conftest.$ac_ext
25765 cat >>conftest.$ac_ext <<_ACEOF
25766 /* end confdefs.h. */
25767
25768 /* Override any gcc2 internal prototype to avoid an error. */
25769 #ifdef __cplusplus
25770 extern "C"
25771 #endif
25772 /* We use char because int might match the return type of a gcc2
25773 builtin and then its argument prototype would still apply. */
25774 char IceConnectionNumber ();
25775 int
25776 main ()
25777 {
25778 IceConnectionNumber ();
25779 ;
25780 return 0;
25781 }
25782 _ACEOF
25783 rm -f conftest.$ac_objext conftest$ac_exeext
25784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25785 (eval $ac_link) 2>conftest.er1
25786 ac_status=$?
25787 grep -v '^ *+' conftest.er1 >conftest.err
25788 rm -f conftest.er1
25789 cat conftest.err >&5
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); } &&
25792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25794 (eval $ac_try) 2>&5
25795 ac_status=$?
25796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797 (exit $ac_status); }; } &&
25798 { ac_try='test -s conftest$ac_exeext'
25799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25800 (eval $ac_try) 2>&5
25801 ac_status=$?
25802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25803 (exit $ac_status); }; }; then
25804 ac_cv_lib_ICE_IceConnectionNumber=yes
25805 else
25806 echo "$as_me: failed program was:" >&5
25807 sed 's/^/| /' conftest.$ac_ext >&5
25808
25809 ac_cv_lib_ICE_IceConnectionNumber=no
25810 fi
25811 rm -f conftest.err conftest.$ac_objext \
25812 conftest$ac_exeext conftest.$ac_ext
25813 LIBS=$ac_check_lib_save_LIBS
25814 fi
25815 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25816 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25817 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25818 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25819 fi
25820
25821 LDFLAGS=$ac_save_LDFLAGS
25822
25823 fi
25824
25825
25826 if test "$no_x" = "yes"; then
25827 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25828 echo "$as_me: error: X11 not found" >&2;}
25829 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25830 fi
25831
25832 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25833 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25834 AFMINSTALL=afminstall
25835 COMPILED_X_PROGRAM=0
25836
25837 fi
25838
25839 if test "$wxUSE_X11" = 1; then
25840 if test "$wxUSE_NANOX" = "yes"; then
25841 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25842 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25843 if test "x$MICROWIN" = x ; then
25844 echo "$as_me:$LINENO: result: not found" >&5
25845 echo "${ECHO_T}not found" >&6
25846 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25847 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25848 { (exit 1); exit 1; }; }
25849 else
25850 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25851 echo "${ECHO_T}$MICROWIN" >&6
25852 cat >>confdefs.h <<\_ACEOF
25853 #define wxUSE_NANOX 1
25854 _ACEOF
25855
25856 fi
25857 fi
25858
25859 if test "$wxUSE_UNICODE" = "yes"; then
25860
25861 succeeded=no
25862
25863 if test -z "$PKG_CONFIG"; then
25864 # Extract the first word of "pkg-config", so it can be a program name with args.
25865 set dummy pkg-config; ac_word=$2
25866 echo "$as_me:$LINENO: checking for $ac_word" >&5
25867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25868 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25869 echo $ECHO_N "(cached) $ECHO_C" >&6
25870 else
25871 case $PKG_CONFIG in
25872 [\\/]* | ?:[\\/]*)
25873 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25874 ;;
25875 *)
25876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25877 for as_dir in $PATH
25878 do
25879 IFS=$as_save_IFS
25880 test -z "$as_dir" && as_dir=.
25881 for ac_exec_ext in '' $ac_executable_extensions; do
25882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25883 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25885 break 2
25886 fi
25887 done
25888 done
25889
25890 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25891 ;;
25892 esac
25893 fi
25894 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25895
25896 if test -n "$PKG_CONFIG"; then
25897 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25898 echo "${ECHO_T}$PKG_CONFIG" >&6
25899 else
25900 echo "$as_me:$LINENO: result: no" >&5
25901 echo "${ECHO_T}no" >&6
25902 fi
25903
25904 fi
25905
25906 if test "$PKG_CONFIG" = "no" ; then
25907 echo "*** The pkg-config script could not be found. Make sure it is"
25908 echo "*** in your path, or set the PKG_CONFIG environment variable"
25909 echo "*** to the full path to pkg-config."
25910 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25911 else
25912 PKG_CONFIG_MIN_VERSION=0.9.0
25913 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25914 echo "$as_me:$LINENO: checking for pangox" >&5
25915 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25916
25917 if $PKG_CONFIG --exists "pangox" ; then
25918 echo "$as_me:$LINENO: result: yes" >&5
25919 echo "${ECHO_T}yes" >&6
25920 succeeded=yes
25921
25922 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25923 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25924 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
25925 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25926 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25927
25928 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25929 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25930 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
25931 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25932 echo "${ECHO_T}$PANGOX_LIBS" >&6
25933 else
25934 PANGOX_CFLAGS=""
25935 PANGOX_LIBS=""
25936 ## If we have a custom action on failure, don't print errors, but
25937 ## do set a variable so people can do so.
25938 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25939
25940 fi
25941
25942
25943
25944 else
25945 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25946 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25947 fi
25948 fi
25949
25950 if test $succeeded = yes; then
25951
25952 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
25953 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25954
25955 else
25956
25957 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25958 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25959 { (exit 1); exit 1; }; }
25960
25961
25962 fi
25963
25964
25965 succeeded=no
25966
25967 if test -z "$PKG_CONFIG"; then
25968 # Extract the first word of "pkg-config", so it can be a program name with args.
25969 set dummy pkg-config; ac_word=$2
25970 echo "$as_me:$LINENO: checking for $ac_word" >&5
25971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25972 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25973 echo $ECHO_N "(cached) $ECHO_C" >&6
25974 else
25975 case $PKG_CONFIG in
25976 [\\/]* | ?:[\\/]*)
25977 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25978 ;;
25979 *)
25980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25981 for as_dir in $PATH
25982 do
25983 IFS=$as_save_IFS
25984 test -z "$as_dir" && as_dir=.
25985 for ac_exec_ext in '' $ac_executable_extensions; do
25986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25987 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25989 break 2
25990 fi
25991 done
25992 done
25993
25994 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25995 ;;
25996 esac
25997 fi
25998 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25999
26000 if test -n "$PKG_CONFIG"; then
26001 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26002 echo "${ECHO_T}$PKG_CONFIG" >&6
26003 else
26004 echo "$as_me:$LINENO: result: no" >&5
26005 echo "${ECHO_T}no" >&6
26006 fi
26007
26008 fi
26009
26010 if test "$PKG_CONFIG" = "no" ; then
26011 echo "*** The pkg-config script could not be found. Make sure it is"
26012 echo "*** in your path, or set the PKG_CONFIG environment variable"
26013 echo "*** to the full path to pkg-config."
26014 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26015 else
26016 PKG_CONFIG_MIN_VERSION=0.9.0
26017 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26018 echo "$as_me:$LINENO: checking for pangoft2" >&5
26019 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
26020
26021 if $PKG_CONFIG --exists "pangoft2" ; then
26022 echo "$as_me:$LINENO: result: yes" >&5
26023 echo "${ECHO_T}yes" >&6
26024 succeeded=yes
26025
26026 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
26027 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
26028 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
26029 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
26030 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
26031
26032 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
26033 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
26034 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
26035 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
26036 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
26037 else
26038 PANGOFT2_CFLAGS=""
26039 PANGOFT2_LIBS=""
26040 ## If we have a custom action on failure, don't print errors, but
26041 ## do set a variable so people can do so.
26042 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
26043
26044 fi
26045
26046
26047
26048 else
26049 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26050 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26051 fi
26052 fi
26053
26054 if test $succeeded = yes; then
26055
26056 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
26057 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
26058
26059 else
26060
26061 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
26062 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
26063 wxUSE_PRINTING_ARCHITECTURE="no"
26064
26065
26066 fi
26067
26068
26069 succeeded=no
26070
26071 if test -z "$PKG_CONFIG"; then
26072 # Extract the first word of "pkg-config", so it can be a program name with args.
26073 set dummy pkg-config; ac_word=$2
26074 echo "$as_me:$LINENO: checking for $ac_word" >&5
26075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26076 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26077 echo $ECHO_N "(cached) $ECHO_C" >&6
26078 else
26079 case $PKG_CONFIG in
26080 [\\/]* | ?:[\\/]*)
26081 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26082 ;;
26083 *)
26084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26085 for as_dir in $PATH
26086 do
26087 IFS=$as_save_IFS
26088 test -z "$as_dir" && as_dir=.
26089 for ac_exec_ext in '' $ac_executable_extensions; do
26090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26091 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26093 break 2
26094 fi
26095 done
26096 done
26097
26098 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26099 ;;
26100 esac
26101 fi
26102 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26103
26104 if test -n "$PKG_CONFIG"; then
26105 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26106 echo "${ECHO_T}$PKG_CONFIG" >&6
26107 else
26108 echo "$as_me:$LINENO: result: no" >&5
26109 echo "${ECHO_T}no" >&6
26110 fi
26111
26112 fi
26113
26114 if test "$PKG_CONFIG" = "no" ; then
26115 echo "*** The pkg-config script could not be found. Make sure it is"
26116 echo "*** in your path, or set the PKG_CONFIG environment variable"
26117 echo "*** to the full path to pkg-config."
26118 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26119 else
26120 PKG_CONFIG_MIN_VERSION=0.9.0
26121 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26122 echo "$as_me:$LINENO: checking for pangoxft" >&5
26123 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
26124
26125 if $PKG_CONFIG --exists "pangoxft" ; then
26126 echo "$as_me:$LINENO: result: yes" >&5
26127 echo "${ECHO_T}yes" >&6
26128 succeeded=yes
26129
26130 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
26131 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
26132 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
26133 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
26134 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
26135
26136 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
26137 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
26138 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
26139 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
26140 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
26141 else
26142 PANGOXFT_CFLAGS=""
26143 PANGOXFT_LIBS=""
26144 ## If we have a custom action on failure, don't print errors, but
26145 ## do set a variable so people can do so.
26146 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
26147
26148 fi
26149
26150
26151
26152 else
26153 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26154 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26155 fi
26156 fi
26157
26158 if test $succeeded = yes; then
26159
26160 cat >>confdefs.h <<\_ACEOF
26161 #define HAVE_PANGO_XFT 1
26162 _ACEOF
26163
26164 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
26165 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26166
26167 else
26168
26169 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26170 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26171
26172
26173 fi
26174
26175 save_CFLAGS="$CFLAGS"
26176 save_LIBS="$LIBS"
26177 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
26178 LIBS="$LIBS $PANGOX_LIBS"
26179
26180 for ac_func in pango_font_family_is_monospace
26181 do
26182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26183 echo "$as_me:$LINENO: checking for $ac_func" >&5
26184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26185 if eval "test \"\${$as_ac_var+set}\" = set"; then
26186 echo $ECHO_N "(cached) $ECHO_C" >&6
26187 else
26188 cat >conftest.$ac_ext <<_ACEOF
26189 /* confdefs.h. */
26190 _ACEOF
26191 cat confdefs.h >>conftest.$ac_ext
26192 cat >>conftest.$ac_ext <<_ACEOF
26193 /* end confdefs.h. */
26194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26196 #define $ac_func innocuous_$ac_func
26197
26198 /* System header to define __stub macros and hopefully few prototypes,
26199 which can conflict with char $ac_func (); below.
26200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26201 <limits.h> exists even on freestanding compilers. */
26202
26203 #ifdef __STDC__
26204 # include <limits.h>
26205 #else
26206 # include <assert.h>
26207 #endif
26208
26209 #undef $ac_func
26210
26211 /* Override any gcc2 internal prototype to avoid an error. */
26212 #ifdef __cplusplus
26213 extern "C"
26214 {
26215 #endif
26216 /* We use char because int might match the return type of a gcc2
26217 builtin and then its argument prototype would still apply. */
26218 char $ac_func ();
26219 /* The GNU C library defines this for functions which it implements
26220 to always fail with ENOSYS. Some functions are actually named
26221 something starting with __ and the normal name is an alias. */
26222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26223 choke me
26224 #else
26225 char (*f) () = $ac_func;
26226 #endif
26227 #ifdef __cplusplus
26228 }
26229 #endif
26230
26231 int
26232 main ()
26233 {
26234 return f != $ac_func;
26235 ;
26236 return 0;
26237 }
26238 _ACEOF
26239 rm -f conftest.$ac_objext conftest$ac_exeext
26240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26241 (eval $ac_link) 2>conftest.er1
26242 ac_status=$?
26243 grep -v '^ *+' conftest.er1 >conftest.err
26244 rm -f conftest.er1
26245 cat conftest.err >&5
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); } &&
26248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26250 (eval $ac_try) 2>&5
26251 ac_status=$?
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); }; } &&
26254 { ac_try='test -s conftest$ac_exeext'
26255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26256 (eval $ac_try) 2>&5
26257 ac_status=$?
26258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259 (exit $ac_status); }; }; then
26260 eval "$as_ac_var=yes"
26261 else
26262 echo "$as_me: failed program was:" >&5
26263 sed 's/^/| /' conftest.$ac_ext >&5
26264
26265 eval "$as_ac_var=no"
26266 fi
26267 rm -f conftest.err conftest.$ac_objext \
26268 conftest$ac_exeext conftest.$ac_ext
26269 fi
26270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26272 if test `eval echo '${'$as_ac_var'}'` = yes; then
26273 cat >>confdefs.h <<_ACEOF
26274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26275 _ACEOF
26276
26277 fi
26278 done
26279
26280 CFLAGS="$save_CFLAGS"
26281 LIBS="$save_LIBS"
26282 fi
26283
26284 wxUSE_UNIVERSAL="yes"
26285
26286 if test "$wxUSE_NANOX" = "yes"; then
26287 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26288 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"
26289 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26290 else
26291 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
26292 fi
26293
26294 TOOLKIT=X11
26295 GUIDIST=X11_DIST
26296 fi
26297
26298 if test "$wxUSE_MOTIF" = 1; then
26299 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26300 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26301
26302 ac_find_includes=
26303 for ac_dir in $SEARCH_INCLUDE /usr/include;
26304 do
26305 if test -f "$ac_dir/Xm/Xm.h"; then
26306 ac_find_includes=$ac_dir
26307 break
26308 fi
26309 done
26310
26311 if test "$ac_find_includes" != "" ; then
26312 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26313 echo "${ECHO_T}found in $ac_find_includes" >&6
26314
26315 if test "x$ac_find_includes" = "x/usr/include"; then
26316 ac_path_to_include=""
26317 else
26318 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26319 result=$?
26320 if test $result = 0; then
26321 ac_path_to_include=""
26322 else
26323 ac_path_to_include=" -I$ac_find_includes"
26324 fi
26325 fi
26326
26327 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26328 else
26329 cat >conftest.$ac_ext <<_ACEOF
26330 /* confdefs.h. */
26331 _ACEOF
26332 cat confdefs.h >>conftest.$ac_ext
26333 cat >>conftest.$ac_ext <<_ACEOF
26334 /* end confdefs.h. */
26335
26336 #include <Xm/Xm.h>
26337
26338 int
26339 main ()
26340 {
26341
26342 int version;
26343 version = xmUseVersion;
26344
26345 ;
26346 return 0;
26347 }
26348 _ACEOF
26349 rm -f conftest.$ac_objext
26350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26351 (eval $ac_compile) 2>conftest.er1
26352 ac_status=$?
26353 grep -v '^ *+' conftest.er1 >conftest.err
26354 rm -f conftest.er1
26355 cat conftest.err >&5
26356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26357 (exit $ac_status); } &&
26358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26360 (eval $ac_try) 2>&5
26361 ac_status=$?
26362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26363 (exit $ac_status); }; } &&
26364 { ac_try='test -s conftest.$ac_objext'
26365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26366 (eval $ac_try) 2>&5
26367 ac_status=$?
26368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369 (exit $ac_status); }; }; then
26370
26371 echo "$as_me:$LINENO: result: found in default search path" >&5
26372 echo "${ECHO_T}found in default search path" >&6
26373 COMPILED_X_PROGRAM=1
26374
26375 else
26376 echo "$as_me: failed program was:" >&5
26377 sed 's/^/| /' conftest.$ac_ext >&5
26378
26379
26380 echo "$as_me:$LINENO: result: no" >&5
26381 echo "${ECHO_T}no" >&6
26382 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26383 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26384 { (exit 1); exit 1; }; }
26385
26386
26387 fi
26388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26389 fi
26390
26391 if test "$COMPILED_X_PROGRAM" = 0; then
26392 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26393 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26394
26395 ac_find_libraries=
26396 for ac_dir in $SEARCH_LIB /usr/lib;
26397 do
26398 for ac_extension in a so sl dylib; do
26399 if test -f "$ac_dir/libXm.$ac_extension"; then
26400 ac_find_libraries=$ac_dir
26401 break 2
26402 fi
26403 done
26404 done
26405
26406 if test "$ac_find_libraries" != "" ; then
26407 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26408 echo "${ECHO_T}found at $ac_find_libraries" >&6
26409
26410
26411 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26412 result=$?
26413 if test $result = 0; then
26414 ac_path_to_link=""
26415 else
26416 ac_path_to_link=" -L$ac_find_libraries"
26417 fi
26418
26419 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26420 else
26421 save_CFLAGS=$CFLAGS
26422 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26423
26424 cat >conftest.$ac_ext <<_ACEOF
26425 /* confdefs.h. */
26426 _ACEOF
26427 cat confdefs.h >>conftest.$ac_ext
26428 cat >>conftest.$ac_ext <<_ACEOF
26429 /* end confdefs.h. */
26430
26431 #include <Xm/Xm.h>
26432
26433 int
26434 main ()
26435 {
26436
26437 int version;
26438 version = xmUseVersion;
26439
26440 ;
26441 return 0;
26442 }
26443 _ACEOF
26444 rm -f conftest.$ac_objext
26445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26446 (eval $ac_compile) 2>conftest.er1
26447 ac_status=$?
26448 grep -v '^ *+' conftest.er1 >conftest.err
26449 rm -f conftest.er1
26450 cat conftest.err >&5
26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452 (exit $ac_status); } &&
26453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26455 (eval $ac_try) 2>&5
26456 ac_status=$?
26457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458 (exit $ac_status); }; } &&
26459 { ac_try='test -s conftest.$ac_objext'
26460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26461 (eval $ac_try) 2>&5
26462 ac_status=$?
26463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464 (exit $ac_status); }; }; then
26465
26466 echo "$as_me:$LINENO: result: found in default search path" >&5
26467 echo "${ECHO_T}found in default search path" >&6
26468 COMPILED_X_PROGRAM=1
26469
26470 else
26471 echo "$as_me: failed program was:" >&5
26472 sed 's/^/| /' conftest.$ac_ext >&5
26473
26474
26475 echo "$as_me:$LINENO: result: no" >&5
26476 echo "${ECHO_T}no" >&6
26477 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26478 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26479 { (exit 1); exit 1; }; }
26480
26481
26482 fi
26483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26484
26485 CFLAGS=$save_CFLAGS
26486 fi
26487 fi
26488
26489 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26490 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26491 libp_link=""
26492 libsm_ice_link=""
26493 libs_found=0
26494 for libp in "" " -lXp"; do
26495 if test "$libs_found" = "0"; then
26496 for libsm_ice in "" " -lSM -lICE"; do
26497 if test "$libs_found" = "0"; then
26498 save_LIBS="$LIBS"
26499 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26500 save_CFLAGS=$CFLAGS
26501 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26502
26503 cat >conftest.$ac_ext <<_ACEOF
26504 /* confdefs.h. */
26505 _ACEOF
26506 cat confdefs.h >>conftest.$ac_ext
26507 cat >>conftest.$ac_ext <<_ACEOF
26508 /* end confdefs.h. */
26509
26510 #include <Xm/Xm.h>
26511 #include <Xm/List.h>
26512
26513 int
26514 main ()
26515 {
26516
26517 XmString string = NULL;
26518 Widget w = NULL;
26519 int position = 0;
26520 XmListAddItem(w, string, position);
26521
26522 ;
26523 return 0;
26524 }
26525 _ACEOF
26526 rm -f conftest.$ac_objext conftest$ac_exeext
26527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26528 (eval $ac_link) 2>conftest.er1
26529 ac_status=$?
26530 grep -v '^ *+' conftest.er1 >conftest.err
26531 rm -f conftest.er1
26532 cat conftest.err >&5
26533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534 (exit $ac_status); } &&
26535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26537 (eval $ac_try) 2>&5
26538 ac_status=$?
26539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26540 (exit $ac_status); }; } &&
26541 { ac_try='test -s conftest$ac_exeext'
26542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26543 (eval $ac_try) 2>&5
26544 ac_status=$?
26545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546 (exit $ac_status); }; }; then
26547
26548 libp_link="$libp"
26549 libsm_ice_link="$libsm_ice"
26550 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26551 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26552 libs_found=1
26553
26554 else
26555 echo "$as_me: failed program was:" >&5
26556 sed 's/^/| /' conftest.$ac_ext >&5
26557
26558
26559
26560 fi
26561 rm -f conftest.err conftest.$ac_objext \
26562 conftest$ac_exeext conftest.$ac_ext
26563
26564 LIBS="$save_LIBS"
26565 CFLAGS=$save_CFLAGS
26566 fi
26567 done
26568 fi
26569 done
26570
26571 if test "$libs_found" = "0"; then
26572 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26573 echo "${ECHO_T}can't find the right libraries" >&6
26574 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26575 echo "$as_me: error: can't link a simple motif program" >&2;}
26576 { (exit 1); exit 1; }; }
26577 fi
26578
26579 save_CFLAGS=$CFLAGS
26580 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26581 echo "$as_me:$LINENO: checking for Motif 2" >&5
26582 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
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
26590 #include <Xm/Xm.h>
26591
26592 int
26593 main ()
26594 {
26595
26596 #if XmVersion < 2000
26597 #error "Not Motif 2"
26598 #endif
26599
26600 ;
26601 return 0;
26602 }
26603 _ACEOF
26604 rm -f conftest.$ac_objext
26605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26606 (eval $ac_compile) 2>conftest.er1
26607 ac_status=$?
26608 grep -v '^ *+' conftest.er1 >conftest.err
26609 rm -f conftest.er1
26610 cat conftest.err >&5
26611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26612 (exit $ac_status); } &&
26613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26615 (eval $ac_try) 2>&5
26616 ac_status=$?
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); }; } &&
26619 { ac_try='test -s conftest.$ac_objext'
26620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26621 (eval $ac_try) 2>&5
26622 ac_status=$?
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); }; }; then
26625
26626 cat >>confdefs.h <<\_ACEOF
26627 #define __WXMOTIF20__ 1
26628 _ACEOF
26629
26630 echo "$as_me:$LINENO: result: found" >&5
26631 echo "${ECHO_T}found" >&6
26632
26633 else
26634 echo "$as_me: failed program was:" >&5
26635 sed 's/^/| /' conftest.$ac_ext >&5
26636
26637
26638 cat >>confdefs.h <<\_ACEOF
26639 #define __WXMOTIF20__ 0
26640 _ACEOF
26641
26642 echo "$as_me:$LINENO: result: not found" >&5
26643 echo "${ECHO_T}not found" >&6
26644
26645 fi
26646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26647 CFLAGS=$save_CFLAGS
26648
26649 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26650 TOOLKIT=MOTIF
26651 GUIDIST=MOTIF_DIST
26652 fi
26653
26654 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26655 if test "$wxUSE_LIBXPM" = "sys"; then
26656 echo "$as_me:$LINENO: checking for Xpm library" >&5
26657 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26658
26659 ac_find_libraries=
26660 for ac_dir in $SEARCH_LIB /usr/lib;
26661 do
26662 for ac_extension in a so sl dylib; do
26663 if test -f "$ac_dir/libXpm.$ac_extension"; then
26664 ac_find_libraries=$ac_dir
26665 break 2
26666 fi
26667 done
26668 done
26669
26670 if test "$ac_find_libraries" != "" ; then
26671
26672 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26673 result=$?
26674 if test $result = 0; then
26675 ac_path_to_link=""
26676 else
26677 ac_path_to_link=" -L$ac_find_libraries"
26678 fi
26679
26680 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26681 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26682 echo "${ECHO_T}found at $ac_find_libraries" >&6
26683
26684 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26685 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26686 if test "${wx_cv_x11_xpm_h+set}" = set; then
26687 echo $ECHO_N "(cached) $ECHO_C" >&6
26688 else
26689
26690 save_CFLAGS=$CFLAGS
26691 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26692
26693 cat >conftest.$ac_ext <<_ACEOF
26694 /* confdefs.h. */
26695 _ACEOF
26696 cat confdefs.h >>conftest.$ac_ext
26697 cat >>conftest.$ac_ext <<_ACEOF
26698 /* end confdefs.h. */
26699
26700 #include <X11/xpm.h>
26701
26702 int
26703 main ()
26704 {
26705
26706 int version;
26707 version = XpmLibraryVersion();
26708
26709 ;
26710 return 0;
26711 }
26712 _ACEOF
26713 rm -f conftest.$ac_objext
26714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26715 (eval $ac_compile) 2>conftest.er1
26716 ac_status=$?
26717 grep -v '^ *+' conftest.er1 >conftest.err
26718 rm -f conftest.er1
26719 cat conftest.err >&5
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); } &&
26722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26724 (eval $ac_try) 2>&5
26725 ac_status=$?
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); }; } &&
26728 { ac_try='test -s conftest.$ac_objext'
26729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26730 (eval $ac_try) 2>&5
26731 ac_status=$?
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); }; }; then
26734 wx_cv_x11_xpm_h=yes
26735 else
26736 echo "$as_me: failed program was:" >&5
26737 sed 's/^/| /' conftest.$ac_ext >&5
26738
26739 wx_cv_x11_xpm_h=no
26740
26741 fi
26742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26743
26744 CFLAGS=$save_CFLAGS
26745
26746
26747 fi
26748 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26749 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26750
26751 if test $wx_cv_x11_xpm_h = "yes"; then
26752 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26753 cat >>confdefs.h <<\_ACEOF
26754 #define wxHAVE_LIB_XPM 1
26755 _ACEOF
26756
26757 else
26758 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26759 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26760 fi
26761 fi
26762
26763 fi
26764
26765 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26766 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26767 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26768 echo $ECHO_N "(cached) $ECHO_C" >&6
26769 else
26770 ac_check_lib_save_LIBS=$LIBS
26771 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26772 cat >conftest.$ac_ext <<_ACEOF
26773 /* confdefs.h. */
26774 _ACEOF
26775 cat confdefs.h >>conftest.$ac_ext
26776 cat >>conftest.$ac_ext <<_ACEOF
26777 /* end confdefs.h. */
26778
26779 /* Override any gcc2 internal prototype to avoid an error. */
26780 #ifdef __cplusplus
26781 extern "C"
26782 #endif
26783 /* We use char because int might match the return type of a gcc2
26784 builtin and then its argument prototype would still apply. */
26785 char XShapeQueryExtension ();
26786 int
26787 main ()
26788 {
26789 XShapeQueryExtension ();
26790 ;
26791 return 0;
26792 }
26793 _ACEOF
26794 rm -f conftest.$ac_objext conftest$ac_exeext
26795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26796 (eval $ac_link) 2>conftest.er1
26797 ac_status=$?
26798 grep -v '^ *+' conftest.er1 >conftest.err
26799 rm -f conftest.er1
26800 cat conftest.err >&5
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); } &&
26803 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26805 (eval $ac_try) 2>&5
26806 ac_status=$?
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); }; } &&
26809 { ac_try='test -s conftest$ac_exeext'
26810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26811 (eval $ac_try) 2>&5
26812 ac_status=$?
26813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 (exit $ac_status); }; }; then
26815 ac_cv_lib_Xext_XShapeQueryExtension=yes
26816 else
26817 echo "$as_me: failed program was:" >&5
26818 sed 's/^/| /' conftest.$ac_ext >&5
26819
26820 ac_cv_lib_Xext_XShapeQueryExtension=no
26821 fi
26822 rm -f conftest.err conftest.$ac_objext \
26823 conftest$ac_exeext conftest.$ac_ext
26824 LIBS=$ac_check_lib_save_LIBS
26825 fi
26826 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26827 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26828 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26829
26830 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26831 wxHAVE_XEXT_LIB=1
26832
26833 fi
26834
26835
26836 if test "$wxHAVE_XEXT_LIB" = 1; then
26837 save_CFLAGS="$CFLAGS"
26838 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26839
26840 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26841 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26842 cat >conftest.$ac_ext <<_ACEOF
26843 /* confdefs.h. */
26844 _ACEOF
26845 cat confdefs.h >>conftest.$ac_ext
26846 cat >>conftest.$ac_ext <<_ACEOF
26847 /* end confdefs.h. */
26848
26849 #include <X11/Xlib.h>
26850 #include <X11/extensions/shape.h>
26851
26852 int
26853 main ()
26854 {
26855
26856 int dummy1, dummy2;
26857 XShapeQueryExtension((Display*)NULL,
26858 (int*)NULL, (int*)NULL);
26859
26860 ;
26861 return 0;
26862 }
26863 _ACEOF
26864 rm -f conftest.$ac_objext
26865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26866 (eval $ac_compile) 2>conftest.er1
26867 ac_status=$?
26868 grep -v '^ *+' conftest.er1 >conftest.err
26869 rm -f conftest.er1
26870 cat conftest.err >&5
26871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26872 (exit $ac_status); } &&
26873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26875 (eval $ac_try) 2>&5
26876 ac_status=$?
26877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26878 (exit $ac_status); }; } &&
26879 { ac_try='test -s conftest.$ac_objext'
26880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26881 (eval $ac_try) 2>&5
26882 ac_status=$?
26883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26884 (exit $ac_status); }; }; then
26885
26886 cat >>confdefs.h <<\_ACEOF
26887 #define HAVE_XSHAPE 1
26888 _ACEOF
26889
26890 echo "$as_me:$LINENO: result: found" >&5
26891 echo "${ECHO_T}found" >&6
26892
26893 else
26894 echo "$as_me: failed program was:" >&5
26895 sed 's/^/| /' conftest.$ac_ext >&5
26896
26897
26898 echo "$as_me:$LINENO: result: not found" >&5
26899 echo "${ECHO_T}not found" >&6
26900
26901 fi
26902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26903 CFLAGS="$save_CFLAGS"
26904
26905 fi
26906 fi
26907
26908 if test "$wxUSE_MAC" = 1; then
26909 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26910 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26911 if test "$GCC" = yes; then
26912 echo "$as_me:$LINENO: result: gcc" >&5
26913 echo "${ECHO_T}gcc" >&6
26914 CPPFLAGS_PASCAL="-fpascal-strings"
26915 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26916 echo "$as_me:$LINENO: result: xlc" >&5
26917 echo "${ECHO_T}xlc" >&6
26918 CPPFLAGS_PASCAL="-qmacpstr"
26919 else
26920 echo "$as_me:$LINENO: result: none" >&5
26921 echo "${ECHO_T}none" >&6
26922 fi
26923
26924 if test "x$wxUSE_UNIX" = "xyes"; then
26925 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26926 else
26927 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
26928 fi
26929
26930 TOOLKIT=MAC
26931 GUIDIST=MACX_DIST
26932 WXBASEPORT="_carbon"
26933 fi
26934
26935 if test "$wxUSE_COCOA" = 1; then
26936 TOOLKIT=COCOA
26937 GUIDIST=COCOA_DIST
26938 fi
26939
26940 if test "$wxUSE_PM" = 1; then
26941 TOOLKIT=PM
26942 GUIDIST=PM_DIST
26943 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26944 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26945 if test "${wx_cv_spbcdata+set}" = set; then
26946 echo $ECHO_N "(cached) $ECHO_C" >&6
26947 else
26948
26949 cat >conftest.$ac_ext <<_ACEOF
26950 /* confdefs.h. */
26951 _ACEOF
26952 cat confdefs.h >>conftest.$ac_ext
26953 cat >>conftest.$ac_ext <<_ACEOF
26954 /* end confdefs.h. */
26955
26956 #define INCL_PM
26957 #include <os2.h>
26958
26959 int
26960 main ()
26961 {
26962
26963 SPBCDATA test;
26964
26965 ;
26966 return 0;
26967 }
26968 _ACEOF
26969 rm -f conftest.$ac_objext
26970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26971 (eval $ac_compile) 2>conftest.er1
26972 ac_status=$?
26973 grep -v '^ *+' conftest.er1 >conftest.err
26974 rm -f conftest.er1
26975 cat conftest.err >&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); } &&
26978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26980 (eval $ac_try) 2>&5
26981 ac_status=$?
26982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26983 (exit $ac_status); }; } &&
26984 { ac_try='test -s conftest.$ac_objext'
26985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26986 (eval $ac_try) 2>&5
26987 ac_status=$?
26988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26989 (exit $ac_status); }; }; then
26990 wx_cv_spbcdata=yes
26991 else
26992 echo "$as_me: failed program was:" >&5
26993 sed 's/^/| /' conftest.$ac_ext >&5
26994
26995 wx_cv_spbcdata=no
26996
26997 fi
26998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26999
27000
27001 fi
27002 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
27003 echo "${ECHO_T}$wx_cv_spbcdata" >&6
27004
27005 if test $wx_cv_spbcdata = "yes"; then
27006 cat >>confdefs.h <<\_ACEOF
27007 #define HAVE_SPBCDATA 1
27008 _ACEOF
27009
27010 fi
27011 fi
27012
27013 if test "$TOOLKIT" = "PM" ; then
27014 TOOLKIT_DIR="os2"
27015 else
27016 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
27017 fi
27018
27019 if test "$wxUSE_UNIVERSAL" = "yes"; then
27020 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
27021 WIDGET_SET=univ
27022 fi
27023
27024 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
27025 DISTDIR="wx\$(TOOLKIT)"
27026 else
27027 USE_GUI=0
27028
27029 TOOLKIT_DIR="base"
27030
27031 if test "$USE_WIN32" = 1 ; then
27032 TOOLKIT="MSW"
27033 fi
27034
27035 GUIDIST="BASE_DIST"
27036 DISTDIR="wxBase"
27037 fi
27038
27039
27040
27041
27042 IODBC_C_SRC=""
27043
27044
27045 if test "$TOOLKIT" != "MSW" ; then
27046
27047 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
27048
27049 if test "${ac_cv_header_sql_h+set}" = set; then
27050 echo "$as_me:$LINENO: checking for sql.h" >&5
27051 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27052 if test "${ac_cv_header_sql_h+set}" = set; then
27053 echo $ECHO_N "(cached) $ECHO_C" >&6
27054 fi
27055 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27056 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27057 else
27058 # Is the header compilable?
27059 echo "$as_me:$LINENO: checking sql.h usability" >&5
27060 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
27061 cat >conftest.$ac_ext <<_ACEOF
27062 /* confdefs.h. */
27063 _ACEOF
27064 cat confdefs.h >>conftest.$ac_ext
27065 cat >>conftest.$ac_ext <<_ACEOF
27066 /* end confdefs.h. */
27067 $ac_includes_default
27068 #include <sql.h>
27069 _ACEOF
27070 rm -f conftest.$ac_objext
27071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27072 (eval $ac_compile) 2>conftest.er1
27073 ac_status=$?
27074 grep -v '^ *+' conftest.er1 >conftest.err
27075 rm -f conftest.er1
27076 cat conftest.err >&5
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); } &&
27079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27081 (eval $ac_try) 2>&5
27082 ac_status=$?
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); }; } &&
27085 { ac_try='test -s conftest.$ac_objext'
27086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087 (eval $ac_try) 2>&5
27088 ac_status=$?
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); }; }; then
27091 ac_header_compiler=yes
27092 else
27093 echo "$as_me: failed program was:" >&5
27094 sed 's/^/| /' conftest.$ac_ext >&5
27095
27096 ac_header_compiler=no
27097 fi
27098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27099 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27100 echo "${ECHO_T}$ac_header_compiler" >&6
27101
27102 # Is the header present?
27103 echo "$as_me:$LINENO: checking sql.h presence" >&5
27104 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27105 cat >conftest.$ac_ext <<_ACEOF
27106 /* confdefs.h. */
27107 _ACEOF
27108 cat confdefs.h >>conftest.$ac_ext
27109 cat >>conftest.$ac_ext <<_ACEOF
27110 /* end confdefs.h. */
27111 #include <sql.h>
27112 _ACEOF
27113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27115 ac_status=$?
27116 grep -v '^ *+' conftest.er1 >conftest.err
27117 rm -f conftest.er1
27118 cat conftest.err >&5
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); } >/dev/null; then
27121 if test -s conftest.err; then
27122 ac_cpp_err=$ac_c_preproc_warn_flag
27123 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27124 else
27125 ac_cpp_err=
27126 fi
27127 else
27128 ac_cpp_err=yes
27129 fi
27130 if test -z "$ac_cpp_err"; then
27131 ac_header_preproc=yes
27132 else
27133 echo "$as_me: failed program was:" >&5
27134 sed 's/^/| /' conftest.$ac_ext >&5
27135
27136 ac_header_preproc=no
27137 fi
27138 rm -f conftest.err conftest.$ac_ext
27139 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27140 echo "${ECHO_T}$ac_header_preproc" >&6
27141
27142 # So? What about this header?
27143 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27144 yes:no: )
27145 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27146 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27147 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27148 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27149 ac_header_preproc=yes
27150 ;;
27151 no:yes:* )
27152 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27153 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27154 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27155 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27156 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27157 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27158 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27159 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27160 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27161 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27162 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27163 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27164 (
27165 cat <<\_ASBOX
27166 ## ----------------------------------------- ##
27167 ## Report this to wx-dev@lists.wxwidgets.org ##
27168 ## ----------------------------------------- ##
27169 _ASBOX
27170 ) |
27171 sed "s/^/$as_me: WARNING: /" >&2
27172 ;;
27173 esac
27174 echo "$as_me:$LINENO: checking for sql.h" >&5
27175 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27176 if test "${ac_cv_header_sql_h+set}" = set; then
27177 echo $ECHO_N "(cached) $ECHO_C" >&6
27178 else
27179 ac_cv_header_sql_h=$ac_header_preproc
27180 fi
27181 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27182 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27183
27184 fi
27185 if test $ac_cv_header_sql_h = yes; then
27186 found_sql_h=1
27187 fi
27188
27189
27190 if test "x$found_sql_h" = "x1" ; then
27191 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27192 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27193 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27194 echo $ECHO_N "(cached) $ECHO_C" >&6
27195 else
27196 ac_check_lib_save_LIBS=$LIBS
27197 LIBS="-liodbc $LIBS"
27198 cat >conftest.$ac_ext <<_ACEOF
27199 /* confdefs.h. */
27200 _ACEOF
27201 cat confdefs.h >>conftest.$ac_ext
27202 cat >>conftest.$ac_ext <<_ACEOF
27203 /* end confdefs.h. */
27204
27205 /* Override any gcc2 internal prototype to avoid an error. */
27206 #ifdef __cplusplus
27207 extern "C"
27208 #endif
27209 /* We use char because int might match the return type of a gcc2
27210 builtin and then its argument prototype would still apply. */
27211 char SQLAllocEnv ();
27212 int
27213 main ()
27214 {
27215 SQLAllocEnv ();
27216 ;
27217 return 0;
27218 }
27219 _ACEOF
27220 rm -f conftest.$ac_objext conftest$ac_exeext
27221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27222 (eval $ac_link) 2>conftest.er1
27223 ac_status=$?
27224 grep -v '^ *+' conftest.er1 >conftest.err
27225 rm -f conftest.er1
27226 cat conftest.err >&5
27227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27228 (exit $ac_status); } &&
27229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27231 (eval $ac_try) 2>&5
27232 ac_status=$?
27233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27234 (exit $ac_status); }; } &&
27235 { ac_try='test -s conftest$ac_exeext'
27236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27237 (eval $ac_try) 2>&5
27238 ac_status=$?
27239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27240 (exit $ac_status); }; }; then
27241 ac_cv_lib_iodbc_SQLAllocEnv=yes
27242 else
27243 echo "$as_me: failed program was:" >&5
27244 sed 's/^/| /' conftest.$ac_ext >&5
27245
27246 ac_cv_lib_iodbc_SQLAllocEnv=no
27247 fi
27248 rm -f conftest.err conftest.$ac_objext \
27249 conftest$ac_exeext conftest.$ac_ext
27250 LIBS=$ac_check_lib_save_LIBS
27251 fi
27252 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27253 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27254 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27255 ODBC_LINK=" -liodbc"
27256 else
27257
27258 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27259 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27260 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27261 echo $ECHO_N "(cached) $ECHO_C" >&6
27262 else
27263 ac_check_lib_save_LIBS=$LIBS
27264 LIBS="-lunixodbc $LIBS"
27265 cat >conftest.$ac_ext <<_ACEOF
27266 /* confdefs.h. */
27267 _ACEOF
27268 cat confdefs.h >>conftest.$ac_ext
27269 cat >>conftest.$ac_ext <<_ACEOF
27270 /* end confdefs.h. */
27271
27272 /* Override any gcc2 internal prototype to avoid an error. */
27273 #ifdef __cplusplus
27274 extern "C"
27275 #endif
27276 /* We use char because int might match the return type of a gcc2
27277 builtin and then its argument prototype would still apply. */
27278 char SQLAllocEnv ();
27279 int
27280 main ()
27281 {
27282 SQLAllocEnv ();
27283 ;
27284 return 0;
27285 }
27286 _ACEOF
27287 rm -f conftest.$ac_objext conftest$ac_exeext
27288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27289 (eval $ac_link) 2>conftest.er1
27290 ac_status=$?
27291 grep -v '^ *+' conftest.er1 >conftest.err
27292 rm -f conftest.er1
27293 cat conftest.err >&5
27294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27295 (exit $ac_status); } &&
27296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27298 (eval $ac_try) 2>&5
27299 ac_status=$?
27300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27301 (exit $ac_status); }; } &&
27302 { ac_try='test -s conftest$ac_exeext'
27303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27304 (eval $ac_try) 2>&5
27305 ac_status=$?
27306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27307 (exit $ac_status); }; }; then
27308 ac_cv_lib_unixodbc_SQLAllocEnv=yes
27309 else
27310 echo "$as_me: failed program was:" >&5
27311 sed 's/^/| /' conftest.$ac_ext >&5
27312
27313 ac_cv_lib_unixodbc_SQLAllocEnv=no
27314 fi
27315 rm -f conftest.err conftest.$ac_objext \
27316 conftest$ac_exeext conftest.$ac_ext
27317 LIBS=$ac_check_lib_save_LIBS
27318 fi
27319 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27320 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27321 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27322 ODBC_LINK=" -lunixodbc"
27323 else
27324
27325 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27326 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27327 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27328 echo $ECHO_N "(cached) $ECHO_C" >&6
27329 else
27330 ac_check_lib_save_LIBS=$LIBS
27331 LIBS="-lodbc $LIBS"
27332 cat >conftest.$ac_ext <<_ACEOF
27333 /* confdefs.h. */
27334 _ACEOF
27335 cat confdefs.h >>conftest.$ac_ext
27336 cat >>conftest.$ac_ext <<_ACEOF
27337 /* end confdefs.h. */
27338
27339 /* Override any gcc2 internal prototype to avoid an error. */
27340 #ifdef __cplusplus
27341 extern "C"
27342 #endif
27343 /* We use char because int might match the return type of a gcc2
27344 builtin and then its argument prototype would still apply. */
27345 char SQLAllocEnv ();
27346 int
27347 main ()
27348 {
27349 SQLAllocEnv ();
27350 ;
27351 return 0;
27352 }
27353 _ACEOF
27354 rm -f conftest.$ac_objext conftest$ac_exeext
27355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27356 (eval $ac_link) 2>conftest.er1
27357 ac_status=$?
27358 grep -v '^ *+' conftest.er1 >conftest.err
27359 rm -f conftest.er1
27360 cat conftest.err >&5
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); } &&
27363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27365 (eval $ac_try) 2>&5
27366 ac_status=$?
27367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368 (exit $ac_status); }; } &&
27369 { ac_try='test -s conftest$ac_exeext'
27370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27371 (eval $ac_try) 2>&5
27372 ac_status=$?
27373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374 (exit $ac_status); }; }; then
27375 ac_cv_lib_odbc_SQLAllocEnv=yes
27376 else
27377 echo "$as_me: failed program was:" >&5
27378 sed 's/^/| /' conftest.$ac_ext >&5
27379
27380 ac_cv_lib_odbc_SQLAllocEnv=no
27381 fi
27382 rm -f conftest.err conftest.$ac_objext \
27383 conftest$ac_exeext conftest.$ac_ext
27384 LIBS=$ac_check_lib_save_LIBS
27385 fi
27386 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27387 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27388 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27389 ODBC_LINK=" -lodbc"
27390 fi
27391
27392
27393 fi
27394
27395
27396 fi
27397
27398 fi
27399 if test "x$ODBC_LINK" = "x" ; then
27400 if test "$wxUSE_ODBC" = "sys" ; then
27401 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27402 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27403 { (exit 1); exit 1; }; }
27404 else
27405 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27406 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27407 wxUSE_ODBC=builtin
27408 fi
27409 else
27410 wxUSE_ODBC=sys
27411 fi
27412 fi
27413 if test "$wxUSE_ODBC" != "no" ; then
27414 cat >>confdefs.h <<\_ACEOF
27415 #define wxUSE_ODBC 1
27416 _ACEOF
27417
27418 if test "$wxUSE_ODBC" = "builtin" ; then
27419 cat >>confdefs.h <<\_ACEOF
27420 #define wxUSE_BUILTIN_IODBC 1
27421 _ACEOF
27422
27423 fi
27424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
27425
27426 WXODBCFLAG="-D_IODBC_"
27427 fi
27428 fi
27429
27430
27431
27432 if test "$wxUSE_DISPLAY" = "yes"; then
27433 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27434 echo "$as_me:$LINENO: checking for Xinerama" >&5
27435 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27436
27437 ac_find_libraries=
27438 for ac_dir in $SEARCH_LIB /usr/lib;
27439 do
27440 for ac_extension in a so sl dylib; do
27441 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27442 ac_find_libraries=$ac_dir
27443 break 2
27444 fi
27445 done
27446 done
27447
27448 if test "$ac_find_libraries" != "" ; then
27449
27450 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27451 result=$?
27452 if test $result = 0; then
27453 ac_path_to_link=""
27454 else
27455 ac_path_to_link=" -L$ac_find_libraries"
27456 fi
27457
27458 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27459 LDFLAGS="$LDFLAGS $ac_path_to_link"
27460 fi
27461 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27462 echo "$as_me:$LINENO: result: yes" >&5
27463 echo "${ECHO_T}yes" >&6
27464
27465 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27466 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27467
27468 ac_find_libraries=
27469 for ac_dir in $SEARCH_LIB /usr/lib;
27470 do
27471 for ac_extension in a so sl dylib; do
27472 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27473 ac_find_libraries=$ac_dir
27474 break 2
27475 fi
27476 done
27477 done
27478
27479 if test "$ac_find_libraries" != "" ; then
27480 echo "$as_me:$LINENO: result: yes" >&5
27481 echo "${ECHO_T}yes" >&6
27482
27483 for ac_header in X11/extensions/xf86vmode.h
27484 do
27485 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27486 echo "$as_me:$LINENO: checking for $ac_header" >&5
27487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27489 echo $ECHO_N "(cached) $ECHO_C" >&6
27490 else
27491 cat >conftest.$ac_ext <<_ACEOF
27492 /* confdefs.h. */
27493 _ACEOF
27494 cat confdefs.h >>conftest.$ac_ext
27495 cat >>conftest.$ac_ext <<_ACEOF
27496 /* end confdefs.h. */
27497
27498 #if HAVE_X11_XLIB_H
27499 #include <X11/Xlib.h>
27500 #endif
27501
27502
27503 #include <$ac_header>
27504 _ACEOF
27505 rm -f conftest.$ac_objext
27506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27507 (eval $ac_compile) 2>conftest.er1
27508 ac_status=$?
27509 grep -v '^ *+' conftest.er1 >conftest.err
27510 rm -f conftest.er1
27511 cat conftest.err >&5
27512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513 (exit $ac_status); } &&
27514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27516 (eval $ac_try) 2>&5
27517 ac_status=$?
27518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519 (exit $ac_status); }; } &&
27520 { ac_try='test -s conftest.$ac_objext'
27521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27522 (eval $ac_try) 2>&5
27523 ac_status=$?
27524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525 (exit $ac_status); }; }; then
27526 eval "$as_ac_Header=yes"
27527 else
27528 echo "$as_me: failed program was:" >&5
27529 sed 's/^/| /' conftest.$ac_ext >&5
27530
27531 eval "$as_ac_Header=no"
27532 fi
27533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27534 fi
27535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27536 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27538 cat >>confdefs.h <<_ACEOF
27539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27540 _ACEOF
27541
27542 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27543
27544 fi
27545
27546 done
27547
27548 else
27549 echo "$as_me:$LINENO: result: no" >&5
27550 echo "${ECHO_T}no" >&6
27551 fi
27552
27553 else
27554 echo "$as_me:$LINENO: result: no" >&5
27555 echo "${ECHO_T}no" >&6
27556 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27557 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27558 wxUSE_DISPLAY="no"
27559 fi
27560 elif test "$wxUSE_MSW" = 1; then
27561
27562
27563 for ac_header in multimon.h ddraw.h
27564 do
27565 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27566 echo "$as_me:$LINENO: checking for $ac_header" >&5
27567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27569 echo $ECHO_N "(cached) $ECHO_C" >&6
27570 else
27571 cat >conftest.$ac_ext <<_ACEOF
27572 /* confdefs.h. */
27573 _ACEOF
27574 cat confdefs.h >>conftest.$ac_ext
27575 cat >>conftest.$ac_ext <<_ACEOF
27576 /* end confdefs.h. */
27577 #include <windows.h>
27578
27579 #include <$ac_header>
27580 _ACEOF
27581 rm -f conftest.$ac_objext
27582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27583 (eval $ac_compile) 2>conftest.er1
27584 ac_status=$?
27585 grep -v '^ *+' conftest.er1 >conftest.err
27586 rm -f conftest.er1
27587 cat conftest.err >&5
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); } &&
27590 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27592 (eval $ac_try) 2>&5
27593 ac_status=$?
27594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); }; } &&
27596 { ac_try='test -s conftest.$ac_objext'
27597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27598 (eval $ac_try) 2>&5
27599 ac_status=$?
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); }; }; then
27602 eval "$as_ac_Header=yes"
27603 else
27604 echo "$as_me: failed program was:" >&5
27605 sed 's/^/| /' conftest.$ac_ext >&5
27606
27607 eval "$as_ac_Header=no"
27608 fi
27609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27610 fi
27611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27614 cat >>confdefs.h <<_ACEOF
27615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27616 _ACEOF
27617
27618 else
27619
27620 wxUSE_DISPLAY="no"
27621 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27622 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27623
27624 fi
27625
27626 done
27627
27628 fi
27629 fi
27630
27631
27632 if test "$wxUSE_MEDIACTRL" = "yes"; then
27633 if test "$wxUSE_MSW" = 1; then
27634 wxUSE_DIRECTSHOW="yes"
27635
27636 for ac_header in dshow.h
27637 do
27638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27639 echo "$as_me:$LINENO: checking for $ac_header" >&5
27640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27642 echo $ECHO_N "(cached) $ECHO_C" >&6
27643 else
27644 cat >conftest.$ac_ext <<_ACEOF
27645 /* confdefs.h. */
27646 _ACEOF
27647 cat confdefs.h >>conftest.$ac_ext
27648 cat >>conftest.$ac_ext <<_ACEOF
27649 /* end confdefs.h. */
27650 #include <windows.h>
27651
27652 #include <$ac_header>
27653 _ACEOF
27654 rm -f conftest.$ac_objext
27655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27656 (eval $ac_compile) 2>conftest.er1
27657 ac_status=$?
27658 grep -v '^ *+' conftest.er1 >conftest.err
27659 rm -f conftest.er1
27660 cat conftest.err >&5
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); } &&
27663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27665 (eval $ac_try) 2>&5
27666 ac_status=$?
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); }; } &&
27669 { ac_try='test -s conftest.$ac_objext'
27670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27671 (eval $ac_try) 2>&5
27672 ac_status=$?
27673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27674 (exit $ac_status); }; }; then
27675 eval "$as_ac_Header=yes"
27676 else
27677 echo "$as_me: failed program was:" >&5
27678 sed 's/^/| /' conftest.$ac_ext >&5
27679
27680 eval "$as_ac_Header=no"
27681 fi
27682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27683 fi
27684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27685 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27687 cat >>confdefs.h <<_ACEOF
27688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27689 _ACEOF
27690
27691 else
27692
27693 wxUSE_DIRECTSHOW="no"
27694 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
27695 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
27696
27697 fi
27698
27699 done
27700
27701
27702 if test "$wxUSE_DIRECTSHOW" = "yes"; then
27703 cat >>confdefs.h <<\_ACEOF
27704 #define wxUSE_DIRECTSHOW 1
27705 _ACEOF
27706
27707 LIBS="$LIBS -lstrmiids"
27708 fi
27709 fi
27710
27711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
27712 cat >>confdefs.h <<\_ACEOF
27713 #define wxUSE_MEDIACTRL 1
27714 _ACEOF
27715
27716 fi
27717
27718
27719 USE_OPENGL=0
27720 if test "$wxUSE_OPENGL" = "yes"; then
27721 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27722 OPENGL_LIBS="-framework OpenGL -framework AGL"
27723 elif test "$wxUSE_MSW" = 1; then
27724 OPENGL_LIBS="-lopengl32 -lglu32"
27725 else
27726
27727
27728 ac_find_includes=
27729 for ac_dir in $SEARCH_INCLUDE /usr/include;
27730 do
27731 if test -f "$ac_dir/GL/gl.h"; then
27732 ac_find_includes=$ac_dir
27733 break
27734 fi
27735 done
27736
27737 if test "$ac_find_includes" != "" ; then
27738 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27739 echo "${ECHO_T}found in $ac_find_includes" >&6
27740
27741 if test "x$ac_find_includes" = "x/usr/include"; then
27742 ac_path_to_include=""
27743 else
27744 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27745 result=$?
27746 if test $result = 0; then
27747 ac_path_to_include=""
27748 else
27749 ac_path_to_include=" -I$ac_find_includes"
27750 fi
27751 fi
27752
27753 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27754 fi
27755
27756 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27757 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27758 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27759 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27760 echo $ECHO_N "(cached) $ECHO_C" >&6
27761 fi
27762 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27763 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27764 else
27765 # Is the header compilable?
27766 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27767 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27768 cat >conftest.$ac_ext <<_ACEOF
27769 /* confdefs.h. */
27770 _ACEOF
27771 cat confdefs.h >>conftest.$ac_ext
27772 cat >>conftest.$ac_ext <<_ACEOF
27773 /* end confdefs.h. */
27774 $ac_includes_default
27775 #include <GL/gl.h>
27776 _ACEOF
27777 rm -f conftest.$ac_objext
27778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27779 (eval $ac_compile) 2>conftest.er1
27780 ac_status=$?
27781 grep -v '^ *+' conftest.er1 >conftest.err
27782 rm -f conftest.er1
27783 cat conftest.err >&5
27784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27785 (exit $ac_status); } &&
27786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27788 (eval $ac_try) 2>&5
27789 ac_status=$?
27790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27791 (exit $ac_status); }; } &&
27792 { ac_try='test -s conftest.$ac_objext'
27793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27794 (eval $ac_try) 2>&5
27795 ac_status=$?
27796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27797 (exit $ac_status); }; }; then
27798 ac_header_compiler=yes
27799 else
27800 echo "$as_me: failed program was:" >&5
27801 sed 's/^/| /' conftest.$ac_ext >&5
27802
27803 ac_header_compiler=no
27804 fi
27805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27806 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27807 echo "${ECHO_T}$ac_header_compiler" >&6
27808
27809 # Is the header present?
27810 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27811 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27812 cat >conftest.$ac_ext <<_ACEOF
27813 /* confdefs.h. */
27814 _ACEOF
27815 cat confdefs.h >>conftest.$ac_ext
27816 cat >>conftest.$ac_ext <<_ACEOF
27817 /* end confdefs.h. */
27818 #include <GL/gl.h>
27819 _ACEOF
27820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27821 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27822 ac_status=$?
27823 grep -v '^ *+' conftest.er1 >conftest.err
27824 rm -f conftest.er1
27825 cat conftest.err >&5
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); } >/dev/null; then
27828 if test -s conftest.err; then
27829 ac_cpp_err=$ac_c_preproc_warn_flag
27830 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27831 else
27832 ac_cpp_err=
27833 fi
27834 else
27835 ac_cpp_err=yes
27836 fi
27837 if test -z "$ac_cpp_err"; then
27838 ac_header_preproc=yes
27839 else
27840 echo "$as_me: failed program was:" >&5
27841 sed 's/^/| /' conftest.$ac_ext >&5
27842
27843 ac_header_preproc=no
27844 fi
27845 rm -f conftest.err conftest.$ac_ext
27846 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27847 echo "${ECHO_T}$ac_header_preproc" >&6
27848
27849 # So? What about this header?
27850 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27851 yes:no: )
27852 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27853 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27854 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27855 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27856 ac_header_preproc=yes
27857 ;;
27858 no:yes:* )
27859 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27860 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27861 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27862 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27863 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27864 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27865 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27866 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27867 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27868 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27869 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27870 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27871 (
27872 cat <<\_ASBOX
27873 ## ----------------------------------------- ##
27874 ## Report this to wx-dev@lists.wxwidgets.org ##
27875 ## ----------------------------------------- ##
27876 _ASBOX
27877 ) |
27878 sed "s/^/$as_me: WARNING: /" >&2
27879 ;;
27880 esac
27881 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27882 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27883 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27884 echo $ECHO_N "(cached) $ECHO_C" >&6
27885 else
27886 ac_cv_header_GL_gl_h=$ac_header_preproc
27887 fi
27888 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27889 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27890
27891 fi
27892 if test $ac_cv_header_GL_gl_h = yes; then
27893
27894 found_gl=0
27895
27896 echo "$as_me:$LINENO: checking for -lGL" >&5
27897 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27898
27899 ac_find_libraries=
27900 for ac_dir in $SEARCH_LIB /usr/lib;
27901 do
27902 for ac_extension in a so sl dylib; do
27903 if test -f "$ac_dir/libGL.$ac_extension"; then
27904 ac_find_libraries=$ac_dir
27905 break 2
27906 fi
27907 done
27908 done
27909
27910 if test "$ac_find_libraries" != "" ; then
27911
27912 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27913 result=$?
27914 if test $result = 0; then
27915 ac_path_to_link=""
27916 else
27917 ac_path_to_link=" -L$ac_find_libraries"
27918 fi
27919
27920 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27921 LDFLAGS_GL="$ac_path_to_link"
27922 fi
27923
27924
27925 ac_find_libraries=
27926 for ac_dir in $SEARCH_LIB /usr/lib;
27927 do
27928 for ac_extension in a so sl dylib; do
27929 if test -f "$ac_dir/libGLU.$ac_extension"; then
27930 ac_find_libraries=$ac_dir
27931 break 2
27932 fi
27933 done
27934 done
27935
27936 if test "$ac_find_libraries" != "" ; then
27937
27938 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27939 result=$?
27940 if test $result = 0; then
27941 ac_path_to_link=""
27942 else
27943 ac_path_to_link=" -L$ac_find_libraries"
27944 fi
27945
27946 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27947 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27948 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27949 fi
27950
27951 found_gl=1
27952 OPENGL_LIBS="-lGL -lGLU"
27953 echo "$as_me:$LINENO: result: yes" >&5
27954 echo "${ECHO_T}yes" >&6
27955 fi
27956 fi
27957
27958 if test "$found_gl" != 1; then
27959 echo "$as_me:$LINENO: result: no" >&5
27960 echo "${ECHO_T}no" >&6
27961 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27962 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27963
27964 ac_find_libraries=
27965 for ac_dir in $SEARCH_LIB /usr/lib;
27966 do
27967 for ac_extension in a so sl dylib; do
27968 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27969 ac_find_libraries=$ac_dir
27970 break 2
27971 fi
27972 done
27973 done
27974
27975 if test "$ac_find_libraries" != "" ; then
27976
27977 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27978 result=$?
27979 if test $result = 0; then
27980 ac_path_to_link=""
27981 else
27982 ac_path_to_link=" -L$ac_find_libraries"
27983 fi
27984
27985 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27986 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27987 echo "$as_me:$LINENO: result: yes" >&5
27988 echo "${ECHO_T}yes" >&6
27989 else
27990 echo "$as_me:$LINENO: result: no" >&5
27991 echo "${ECHO_T}no" >&6
27992 fi
27993 fi
27994
27995 fi
27996
27997
27998
27999 if test "x$OPENGL_LIBS" = "x"; then
28000 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
28001 echo "$as_me: error: OpenGL libraries not available" >&2;}
28002 { (exit 1); exit 1; }; }
28003 fi
28004 fi
28005
28006 if test "$wxUSE_OPENGL" = "yes"; then
28007 USE_OPENGL=1
28008 cat >>confdefs.h <<\_ACEOF
28009 #define wxUSE_OPENGL 1
28010 _ACEOF
28011
28012 cat >>confdefs.h <<\_ACEOF
28013 #define wxUSE_GLCANVAS 1
28014 _ACEOF
28015
28016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28017 fi
28018 fi
28019
28020
28021 if test -n "$TOOLKIT" ; then
28022 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28023 fi
28024
28025
28026
28027 if test "$wxUSE_SHARED" = "yes"; then
28028 case "${host}" in
28029 *-pc-msdosdjgpp )
28030 wxUSE_SHARED=no
28031 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28032 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28033 ;;
28034 esac
28035 fi
28036
28037 if test "$wxUSE_SHARED" = "yes"; then
28038
28039
28040 found_versioning=no
28041
28042
28043 if test $found_versioning = no ; then
28044 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28045 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28046 if test "${wx_cv_version_script+set}" = set; then
28047 echo $ECHO_N "(cached) $ECHO_C" >&6
28048 else
28049
28050 echo "VER_1 { *; };" >conftest.sym
28051 echo "int main() { return 0; }" >conftest.cpp
28052
28053 if { ac_try='
28054 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28055 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28057 (eval $ac_try) 2>&5
28058 ac_status=$?
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); }; } ; then
28061 if test -s conftest.stderr ; then
28062 wx_cv_version_script=no
28063 else
28064 wx_cv_version_script=yes
28065 fi
28066 else
28067 wx_cv_version_script=no
28068 fi
28069 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28070
28071 fi
28072 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28073 echo "${ECHO_T}$wx_cv_version_script" >&6
28074 if test $wx_cv_version_script = yes ; then
28075 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
28076 fi
28077 fi
28078
28079
28080 case "${host}" in
28081 *-*-linux* | *-*-gnu* )
28082 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
28083 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28084 ;;
28085
28086 *-*-solaris2* )
28087 if test "$GCC" = yes ; then
28088 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
28089
28090 saveLdflags="$LDFLAGS"
28091 LDFLAGS="$saveLdflags -Wl,-rpath,/"
28092 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28093 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28094 cat >conftest.$ac_ext <<_ACEOF
28095 /* confdefs.h. */
28096 _ACEOF
28097 cat confdefs.h >>conftest.$ac_ext
28098 cat >>conftest.$ac_ext <<_ACEOF
28099 /* end confdefs.h. */
28100
28101 int
28102 main ()
28103 {
28104
28105 ;
28106 return 0;
28107 }
28108 _ACEOF
28109 rm -f conftest.$ac_objext conftest$ac_exeext
28110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28111 (eval $ac_link) 2>conftest.er1
28112 ac_status=$?
28113 grep -v '^ *+' conftest.er1 >conftest.err
28114 rm -f conftest.er1
28115 cat conftest.err >&5
28116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 (exit $ac_status); } &&
28118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28120 (eval $ac_try) 2>&5
28121 ac_status=$?
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); }; } &&
28124 { ac_try='test -s conftest$ac_exeext'
28125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28126 (eval $ac_try) 2>&5
28127 ac_status=$?
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); }; }; then
28130
28131 echo "$as_me:$LINENO: result: yes" >&5
28132 echo "${ECHO_T}yes" >&6
28133 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
28134 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28135
28136 else
28137 echo "$as_me: failed program was:" >&5
28138 sed 's/^/| /' conftest.$ac_ext >&5
28139
28140
28141 echo "$as_me:$LINENO: result: no" >&5
28142 echo "${ECHO_T}no" >&6
28143 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28144 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28145 LDFLAGS="$saveLdflags -Wl,-R,/"
28146 cat >conftest.$ac_ext <<_ACEOF
28147 /* confdefs.h. */
28148 _ACEOF
28149 cat confdefs.h >>conftest.$ac_ext
28150 cat >>conftest.$ac_ext <<_ACEOF
28151 /* end confdefs.h. */
28152
28153 int
28154 main ()
28155 {
28156
28157 ;
28158 return 0;
28159 }
28160 _ACEOF
28161 rm -f conftest.$ac_objext conftest$ac_exeext
28162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28163 (eval $ac_link) 2>conftest.er1
28164 ac_status=$?
28165 grep -v '^ *+' conftest.er1 >conftest.err
28166 rm -f conftest.er1
28167 cat conftest.err >&5
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); } &&
28170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28172 (eval $ac_try) 2>&5
28173 ac_status=$?
28174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28175 (exit $ac_status); }; } &&
28176 { ac_try='test -s conftest$ac_exeext'
28177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28178 (eval $ac_try) 2>&5
28179 ac_status=$?
28180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28181 (exit $ac_status); }; }; then
28182
28183 echo "$as_me:$LINENO: result: yes" >&5
28184 echo "${ECHO_T}yes" >&6
28185 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
28186 WXCONFIG_RPATH="-Wl,-R,\$libdir"
28187
28188 else
28189 echo "$as_me: failed program was:" >&5
28190 sed 's/^/| /' conftest.$ac_ext >&5
28191
28192
28193 echo "$as_me:$LINENO: result: no" >&5
28194 echo "${ECHO_T}no" >&6
28195
28196 fi
28197 rm -f conftest.err conftest.$ac_objext \
28198 conftest$ac_exeext conftest.$ac_ext
28199
28200 fi
28201 rm -f conftest.err conftest.$ac_objext \
28202 conftest$ac_exeext conftest.$ac_ext
28203 LDFLAGS="$saveLdflags"
28204 else
28205 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
28206 WXCONFIG_RPATH="-R\$libdir"
28207 fi
28208 ;;
28209
28210 powerpc-*-darwin* )
28211 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28212 cat <<EOF >change-install-names
28213 #!/bin/sh
28214 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28215 inst_cmd="install_name_tool "
28216 for i in \${libnames} ; do
28217 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28218 done
28219 \${inst_cmd} \${3}
28220 EOF
28221 chmod +x change-install-names
28222 ;;
28223
28224 *-*-cygwin* | *-*-mingw32* )
28225 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28226 ;;
28227
28228 esac
28229
28230 if test $wxUSE_RPATH = "no"; then
28231 SAMPLES_RPATH_FLAG=''
28232 SAMPLES_RPATH_POSTLINK=''
28233 WXCONFIG_RPATH=''
28234 fi
28235
28236 SHARED=1
28237
28238 else
28239
28240 config_linkage_component="-static"
28241 SHARED=0
28242
28243 fi
28244
28245
28246 UNICODE=0
28247 lib_unicode_suffix=
28248 WX_CHARTYPE="ansi"
28249 if test "$wxUSE_UNICODE" = "yes"; then
28250 lib_unicode_suffix=u
28251 WX_CHARTYPE="unicode"
28252 UNICODE=1
28253 fi
28254
28255 lib_debug_suffix=
28256 WX_DEBUGTYPE="release"
28257 DEBUG_FLAG=0
28258 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28259 lib_debug_suffix=d
28260 WX_DEBUGTYPE="debug"
28261 DEBUG_FLAG=1
28262 fi
28263
28264 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
28265 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
28266
28267 DEBUG_INFO=0
28268 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28269 DEBUG_INFO=1
28270 fi
28271
28272 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28273
28274 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28275
28276 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28277
28278 if test "$cross_compiling" = "yes"; then
28279 HOST_SUFFIX="-$host_alias"
28280 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
28281 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
28282 fi
28283
28284 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28285 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28286
28287
28288
28289 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28290 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28291 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28292
28293 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28294
28295 # Extract the first word of "Rez", so it can be a program name with args.
28296 set dummy Rez; ac_word=$2
28297 echo "$as_me:$LINENO: checking for $ac_word" >&5
28298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28299 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28300 echo $ECHO_N "(cached) $ECHO_C" >&6
28301 else
28302 if test -n "$RESCOMP"; then
28303 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
28304 else
28305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28306 for as_dir in $PATH
28307 do
28308 IFS=$as_save_IFS
28309 test -z "$as_dir" && as_dir=.
28310 for ac_exec_ext in '' $ac_executable_extensions; do
28311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28312 ac_cv_prog_RESCOMP="Rez"
28313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28314 break 2
28315 fi
28316 done
28317 done
28318
28319 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
28320 fi
28321 fi
28322 RESCOMP=$ac_cv_prog_RESCOMP
28323 if test -n "$RESCOMP"; then
28324 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28325 echo "${ECHO_T}$RESCOMP" >&6
28326 else
28327 echo "$as_me:$LINENO: result: no" >&5
28328 echo "${ECHO_T}no" >&6
28329 fi
28330
28331 # Extract the first word of "DeRez", so it can be a program name with args.
28332 set dummy DeRez; ac_word=$2
28333 echo "$as_me:$LINENO: checking for $ac_word" >&5
28334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28335 if test "${ac_cv_prog_DEREZ+set}" = set; then
28336 echo $ECHO_N "(cached) $ECHO_C" >&6
28337 else
28338 if test -n "$DEREZ"; then
28339 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
28340 else
28341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28342 for as_dir in $PATH
28343 do
28344 IFS=$as_save_IFS
28345 test -z "$as_dir" && as_dir=.
28346 for ac_exec_ext in '' $ac_executable_extensions; do
28347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28348 ac_cv_prog_DEREZ="DeRez"
28349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28350 break 2
28351 fi
28352 done
28353 done
28354
28355 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
28356 fi
28357 fi
28358 DEREZ=$ac_cv_prog_DEREZ
28359 if test -n "$DEREZ"; then
28360 echo "$as_me:$LINENO: result: $DEREZ" >&5
28361 echo "${ECHO_T}$DEREZ" >&6
28362 else
28363 echo "$as_me:$LINENO: result: no" >&5
28364 echo "${ECHO_T}no" >&6
28365 fi
28366
28367 # Extract the first word of "SetFile", so it can be a program name with args.
28368 set dummy SetFile; ac_word=$2
28369 echo "$as_me:$LINENO: checking for $ac_word" >&5
28370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28371 if test "${ac_cv_prog_SETFILE+set}" = set; then
28372 echo $ECHO_N "(cached) $ECHO_C" >&6
28373 else
28374 if test -n "$SETFILE"; then
28375 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
28376 else
28377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28378 for as_dir in $PATH
28379 do
28380 IFS=$as_save_IFS
28381 test -z "$as_dir" && as_dir=.
28382 for ac_exec_ext in '' $ac_executable_extensions; do
28383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28384 ac_cv_prog_SETFILE="SetFile"
28385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28386 break 2
28387 fi
28388 done
28389 done
28390
28391 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
28392 fi
28393 fi
28394 SETFILE=$ac_cv_prog_SETFILE
28395 if test -n "$SETFILE"; then
28396 echo "$as_me:$LINENO: result: $SETFILE" >&5
28397 echo "${ECHO_T}$SETFILE" >&6
28398 else
28399 echo "$as_me:$LINENO: result: no" >&5
28400 echo "${ECHO_T}no" >&6
28401 fi
28402
28403
28404 MACSETFILE="\$(SETFILE)"
28405
28406 if test "$wxUSE_MAC" = 1; then
28407 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28408
28409 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28410 else
28411 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28412 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28413 fi
28414 else
28415 MACSETFILE="@true"
28416 MACRESWXCONFIG="@true"
28417
28418 if test "$wxUSE_PM" = 1; then
28419 MACRESCOMP="emxbind -ep"
28420 else
28421 MACRESCOMP="@true"
28422 fi
28423 fi
28424
28425
28426
28427 echo "$as_me:$LINENO: checking for mode_t" >&5
28428 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28429 if test "${ac_cv_type_mode_t+set}" = set; then
28430 echo $ECHO_N "(cached) $ECHO_C" >&6
28431 else
28432 cat >conftest.$ac_ext <<_ACEOF
28433 /* confdefs.h. */
28434 _ACEOF
28435 cat confdefs.h >>conftest.$ac_ext
28436 cat >>conftest.$ac_ext <<_ACEOF
28437 /* end confdefs.h. */
28438 $ac_includes_default
28439 int
28440 main ()
28441 {
28442 if ((mode_t *) 0)
28443 return 0;
28444 if (sizeof (mode_t))
28445 return 0;
28446 ;
28447 return 0;
28448 }
28449 _ACEOF
28450 rm -f conftest.$ac_objext
28451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28452 (eval $ac_compile) 2>conftest.er1
28453 ac_status=$?
28454 grep -v '^ *+' conftest.er1 >conftest.err
28455 rm -f conftest.er1
28456 cat conftest.err >&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); } &&
28459 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28461 (eval $ac_try) 2>&5
28462 ac_status=$?
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); }; } &&
28465 { ac_try='test -s conftest.$ac_objext'
28466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28467 (eval $ac_try) 2>&5
28468 ac_status=$?
28469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470 (exit $ac_status); }; }; then
28471 ac_cv_type_mode_t=yes
28472 else
28473 echo "$as_me: failed program was:" >&5
28474 sed 's/^/| /' conftest.$ac_ext >&5
28475
28476 ac_cv_type_mode_t=no
28477 fi
28478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28479 fi
28480 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28481 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28482 if test $ac_cv_type_mode_t = yes; then
28483 :
28484 else
28485
28486 cat >>confdefs.h <<_ACEOF
28487 #define mode_t int
28488 _ACEOF
28489
28490 fi
28491
28492 echo "$as_me:$LINENO: checking for off_t" >&5
28493 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28494 if test "${ac_cv_type_off_t+set}" = set; then
28495 echo $ECHO_N "(cached) $ECHO_C" >&6
28496 else
28497 cat >conftest.$ac_ext <<_ACEOF
28498 /* confdefs.h. */
28499 _ACEOF
28500 cat confdefs.h >>conftest.$ac_ext
28501 cat >>conftest.$ac_ext <<_ACEOF
28502 /* end confdefs.h. */
28503 $ac_includes_default
28504 int
28505 main ()
28506 {
28507 if ((off_t *) 0)
28508 return 0;
28509 if (sizeof (off_t))
28510 return 0;
28511 ;
28512 return 0;
28513 }
28514 _ACEOF
28515 rm -f conftest.$ac_objext
28516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28517 (eval $ac_compile) 2>conftest.er1
28518 ac_status=$?
28519 grep -v '^ *+' conftest.er1 >conftest.err
28520 rm -f conftest.er1
28521 cat conftest.err >&5
28522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523 (exit $ac_status); } &&
28524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
28530 { ac_try='test -s conftest.$ac_objext'
28531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28532 (eval $ac_try) 2>&5
28533 ac_status=$?
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); }; }; then
28536 ac_cv_type_off_t=yes
28537 else
28538 echo "$as_me: failed program was:" >&5
28539 sed 's/^/| /' conftest.$ac_ext >&5
28540
28541 ac_cv_type_off_t=no
28542 fi
28543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28544 fi
28545 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28546 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28547 if test $ac_cv_type_off_t = yes; then
28548 :
28549 else
28550
28551 cat >>confdefs.h <<_ACEOF
28552 #define off_t long
28553 _ACEOF
28554
28555 fi
28556
28557 echo "$as_me:$LINENO: checking for pid_t" >&5
28558 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28559 if test "${ac_cv_type_pid_t+set}" = set; then
28560 echo $ECHO_N "(cached) $ECHO_C" >&6
28561 else
28562 cat >conftest.$ac_ext <<_ACEOF
28563 /* confdefs.h. */
28564 _ACEOF
28565 cat confdefs.h >>conftest.$ac_ext
28566 cat >>conftest.$ac_ext <<_ACEOF
28567 /* end confdefs.h. */
28568 $ac_includes_default
28569 int
28570 main ()
28571 {
28572 if ((pid_t *) 0)
28573 return 0;
28574 if (sizeof (pid_t))
28575 return 0;
28576 ;
28577 return 0;
28578 }
28579 _ACEOF
28580 rm -f conftest.$ac_objext
28581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28582 (eval $ac_compile) 2>conftest.er1
28583 ac_status=$?
28584 grep -v '^ *+' conftest.er1 >conftest.err
28585 rm -f conftest.er1
28586 cat conftest.err >&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); } &&
28589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591 (eval $ac_try) 2>&5
28592 ac_status=$?
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); }; } &&
28595 { ac_try='test -s conftest.$ac_objext'
28596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28597 (eval $ac_try) 2>&5
28598 ac_status=$?
28599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28600 (exit $ac_status); }; }; then
28601 ac_cv_type_pid_t=yes
28602 else
28603 echo "$as_me: failed program was:" >&5
28604 sed 's/^/| /' conftest.$ac_ext >&5
28605
28606 ac_cv_type_pid_t=no
28607 fi
28608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28609 fi
28610 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28611 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28612 if test $ac_cv_type_pid_t = yes; then
28613 :
28614 else
28615
28616 cat >>confdefs.h <<_ACEOF
28617 #define pid_t int
28618 _ACEOF
28619
28620 fi
28621
28622 echo "$as_me:$LINENO: checking for size_t" >&5
28623 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28624 if test "${ac_cv_type_size_t+set}" = set; then
28625 echo $ECHO_N "(cached) $ECHO_C" >&6
28626 else
28627 cat >conftest.$ac_ext <<_ACEOF
28628 /* confdefs.h. */
28629 _ACEOF
28630 cat confdefs.h >>conftest.$ac_ext
28631 cat >>conftest.$ac_ext <<_ACEOF
28632 /* end confdefs.h. */
28633 $ac_includes_default
28634 int
28635 main ()
28636 {
28637 if ((size_t *) 0)
28638 return 0;
28639 if (sizeof (size_t))
28640 return 0;
28641 ;
28642 return 0;
28643 }
28644 _ACEOF
28645 rm -f conftest.$ac_objext
28646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28647 (eval $ac_compile) 2>conftest.er1
28648 ac_status=$?
28649 grep -v '^ *+' conftest.er1 >conftest.err
28650 rm -f conftest.er1
28651 cat conftest.err >&5
28652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28653 (exit $ac_status); } &&
28654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28656 (eval $ac_try) 2>&5
28657 ac_status=$?
28658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28659 (exit $ac_status); }; } &&
28660 { ac_try='test -s conftest.$ac_objext'
28661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28662 (eval $ac_try) 2>&5
28663 ac_status=$?
28664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28665 (exit $ac_status); }; }; then
28666 ac_cv_type_size_t=yes
28667 else
28668 echo "$as_me: failed program was:" >&5
28669 sed 's/^/| /' conftest.$ac_ext >&5
28670
28671 ac_cv_type_size_t=no
28672 fi
28673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28674 fi
28675 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28676 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28677 if test $ac_cv_type_size_t = yes; then
28678 :
28679 else
28680
28681 cat >>confdefs.h <<_ACEOF
28682 #define size_t unsigned
28683 _ACEOF
28684
28685 fi
28686
28687 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28688 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28689 if test "${ac_cv_type_uid_t+set}" = set; then
28690 echo $ECHO_N "(cached) $ECHO_C" >&6
28691 else
28692 cat >conftest.$ac_ext <<_ACEOF
28693 /* confdefs.h. */
28694 _ACEOF
28695 cat confdefs.h >>conftest.$ac_ext
28696 cat >>conftest.$ac_ext <<_ACEOF
28697 /* end confdefs.h. */
28698 #include <sys/types.h>
28699
28700 _ACEOF
28701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28702 $EGREP "uid_t" >/dev/null 2>&1; then
28703 ac_cv_type_uid_t=yes
28704 else
28705 ac_cv_type_uid_t=no
28706 fi
28707 rm -f conftest*
28708
28709 fi
28710 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28711 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28712 if test $ac_cv_type_uid_t = no; then
28713
28714 cat >>confdefs.h <<\_ACEOF
28715 #define uid_t int
28716 _ACEOF
28717
28718
28719 cat >>confdefs.h <<\_ACEOF
28720 #define gid_t int
28721 _ACEOF
28722
28723 fi
28724
28725
28726 echo "$as_me:$LINENO: checking for ssize_t" >&5
28727 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
28728 if test "${ac_cv_type_ssize_t+set}" = set; then
28729 echo $ECHO_N "(cached) $ECHO_C" >&6
28730 else
28731 cat >conftest.$ac_ext <<_ACEOF
28732 /* confdefs.h. */
28733 _ACEOF
28734 cat confdefs.h >>conftest.$ac_ext
28735 cat >>conftest.$ac_ext <<_ACEOF
28736 /* end confdefs.h. */
28737 $ac_includes_default
28738 int
28739 main ()
28740 {
28741 if ((ssize_t *) 0)
28742 return 0;
28743 if (sizeof (ssize_t))
28744 return 0;
28745 ;
28746 return 0;
28747 }
28748 _ACEOF
28749 rm -f conftest.$ac_objext
28750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28751 (eval $ac_compile) 2>conftest.er1
28752 ac_status=$?
28753 grep -v '^ *+' conftest.er1 >conftest.err
28754 rm -f conftest.er1
28755 cat conftest.err >&5
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); } &&
28758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28760 (eval $ac_try) 2>&5
28761 ac_status=$?
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); }; } &&
28764 { ac_try='test -s conftest.$ac_objext'
28765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28766 (eval $ac_try) 2>&5
28767 ac_status=$?
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); }; }; then
28770 ac_cv_type_ssize_t=yes
28771 else
28772 echo "$as_me: failed program was:" >&5
28773 sed 's/^/| /' conftest.$ac_ext >&5
28774
28775 ac_cv_type_ssize_t=no
28776 fi
28777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28778 fi
28779 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
28780 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
28781 if test $ac_cv_type_ssize_t = yes; then
28782
28783 cat >>confdefs.h <<_ACEOF
28784 #define HAVE_SSIZE_T 1
28785 _ACEOF
28786
28787
28788 fi
28789
28790
28791
28792
28793 ac_ext=cc
28794 ac_cpp='$CXXCPP $CPPFLAGS'
28795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28798
28799 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28800 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28801 if test "${wx_cv_size_t_is_uint+set}" = set; then
28802 echo $ECHO_N "(cached) $ECHO_C" >&6
28803 else
28804
28805 cat >conftest.$ac_ext <<_ACEOF
28806 /* confdefs.h. */
28807 _ACEOF
28808 cat confdefs.h >>conftest.$ac_ext
28809 cat >>conftest.$ac_ext <<_ACEOF
28810 /* end confdefs.h. */
28811 #include <stddef.h>
28812 int
28813 main ()
28814 {
28815
28816 return 0; }
28817
28818 struct Foo { void foo(size_t); void foo(unsigned int); };
28819
28820 int bar() {
28821
28822 ;
28823 return 0;
28824 }
28825 _ACEOF
28826 rm -f conftest.$ac_objext
28827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28828 (eval $ac_compile) 2>conftest.er1
28829 ac_status=$?
28830 grep -v '^ *+' conftest.er1 >conftest.err
28831 rm -f conftest.er1
28832 cat conftest.err >&5
28833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28834 (exit $ac_status); } &&
28835 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28837 (eval $ac_try) 2>&5
28838 ac_status=$?
28839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28840 (exit $ac_status); }; } &&
28841 { ac_try='test -s conftest.$ac_objext'
28842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28843 (eval $ac_try) 2>&5
28844 ac_status=$?
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); }; }; then
28847 wx_cv_size_t_is_uint=no
28848 else
28849 echo "$as_me: failed program was:" >&5
28850 sed 's/^/| /' conftest.$ac_ext >&5
28851
28852 wx_cv_size_t_is_uint=yes
28853
28854 fi
28855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28856
28857
28858 fi
28859 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28860 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28861
28862 if test "$wx_cv_size_t_is_uint" = "yes"; then
28863 cat >>confdefs.h <<\_ACEOF
28864 #define wxSIZE_T_IS_UINT 1
28865 _ACEOF
28866
28867 else
28868 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28869 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28870 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28871 echo $ECHO_N "(cached) $ECHO_C" >&6
28872 else
28873 cat >conftest.$ac_ext <<_ACEOF
28874 /* confdefs.h. */
28875 _ACEOF
28876 cat confdefs.h >>conftest.$ac_ext
28877 cat >>conftest.$ac_ext <<_ACEOF
28878 /* end confdefs.h. */
28879 #include <stddef.h>
28880 int
28881 main ()
28882 {
28883
28884 return 0; }
28885
28886 struct Foo { void foo(size_t); void foo(unsigned long); };
28887
28888 int bar() {
28889
28890 ;
28891 return 0;
28892 }
28893 _ACEOF
28894 rm -f conftest.$ac_objext
28895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28896 (eval $ac_compile) 2>conftest.er1
28897 ac_status=$?
28898 grep -v '^ *+' conftest.er1 >conftest.err
28899 rm -f conftest.er1
28900 cat conftest.err >&5
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); } &&
28903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28905 (eval $ac_try) 2>&5
28906 ac_status=$?
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); }; } &&
28909 { ac_try='test -s conftest.$ac_objext'
28910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28911 (eval $ac_try) 2>&5
28912 ac_status=$?
28913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28914 (exit $ac_status); }; }; then
28915 wx_cv_size_t_is_ulong=no
28916 else
28917 echo "$as_me: failed program was:" >&5
28918 sed 's/^/| /' conftest.$ac_ext >&5
28919
28920 wx_cv_size_t_is_ulong=yes
28921
28922 fi
28923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28924
28925 fi
28926 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28927 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28928
28929 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28930 cat >>confdefs.h <<\_ACEOF
28931 #define wxSIZE_T_IS_ULONG 1
28932 _ACEOF
28933
28934 fi
28935 fi
28936
28937 ac_ext=c
28938 ac_cpp='$CPP $CPPFLAGS'
28939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28942
28943
28944
28945 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28946 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28947 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28948 echo $ECHO_N "(cached) $ECHO_C" >&6
28949 else
28950
28951 cat >conftest.$ac_ext <<_ACEOF
28952 /* confdefs.h. */
28953 _ACEOF
28954 cat confdefs.h >>conftest.$ac_ext
28955 cat >>conftest.$ac_ext <<_ACEOF
28956 /* end confdefs.h. */
28957 #include <pwd.h>
28958 int
28959 main ()
28960 {
28961
28962 char *p;
28963 struct passwd *pw;
28964 p = pw->pw_gecos;
28965
28966 ;
28967 return 0;
28968 }
28969 _ACEOF
28970 rm -f conftest.$ac_objext
28971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28972 (eval $ac_compile) 2>conftest.er1
28973 ac_status=$?
28974 grep -v '^ *+' conftest.er1 >conftest.err
28975 rm -f conftest.er1
28976 cat conftest.err >&5
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); } &&
28979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28981 (eval $ac_try) 2>&5
28982 ac_status=$?
28983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984 (exit $ac_status); }; } &&
28985 { ac_try='test -s conftest.$ac_objext'
28986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28987 (eval $ac_try) 2>&5
28988 ac_status=$?
28989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990 (exit $ac_status); }; }; then
28991
28992 wx_cv_struct_pw_gecos=yes
28993
28994 else
28995 echo "$as_me: failed program was:" >&5
28996 sed 's/^/| /' conftest.$ac_ext >&5
28997
28998
28999 wx_cv_struct_pw_gecos=no
29000
29001
29002 fi
29003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29004
29005
29006 fi
29007 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29008 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29009
29010 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29011 cat >>confdefs.h <<\_ACEOF
29012 #define HAVE_PW_GECOS 1
29013 _ACEOF
29014
29015 fi
29016
29017
29018 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29019 cat >>confdefs.h <<\_ACEOF
29020 #define wxUSE_WCHAR_T 1
29021 _ACEOF
29022
29023
29024 WCSLEN_FOUND=0
29025 WCHAR_LINK=
29026
29027 for ac_func in wcslen
29028 do
29029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29030 echo "$as_me:$LINENO: checking for $ac_func" >&5
29031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29032 if eval "test \"\${$as_ac_var+set}\" = set"; then
29033 echo $ECHO_N "(cached) $ECHO_C" >&6
29034 else
29035 cat >conftest.$ac_ext <<_ACEOF
29036 /* confdefs.h. */
29037 _ACEOF
29038 cat confdefs.h >>conftest.$ac_ext
29039 cat >>conftest.$ac_ext <<_ACEOF
29040 /* end confdefs.h. */
29041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29043 #define $ac_func innocuous_$ac_func
29044
29045 /* System header to define __stub macros and hopefully few prototypes,
29046 which can conflict with char $ac_func (); below.
29047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29048 <limits.h> exists even on freestanding compilers. */
29049
29050 #ifdef __STDC__
29051 # include <limits.h>
29052 #else
29053 # include <assert.h>
29054 #endif
29055
29056 #undef $ac_func
29057
29058 /* Override any gcc2 internal prototype to avoid an error. */
29059 #ifdef __cplusplus
29060 extern "C"
29061 {
29062 #endif
29063 /* We use char because int might match the return type of a gcc2
29064 builtin and then its argument prototype would still apply. */
29065 char $ac_func ();
29066 /* The GNU C library defines this for functions which it implements
29067 to always fail with ENOSYS. Some functions are actually named
29068 something starting with __ and the normal name is an alias. */
29069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29070 choke me
29071 #else
29072 char (*f) () = $ac_func;
29073 #endif
29074 #ifdef __cplusplus
29075 }
29076 #endif
29077
29078 int
29079 main ()
29080 {
29081 return f != $ac_func;
29082 ;
29083 return 0;
29084 }
29085 _ACEOF
29086 rm -f conftest.$ac_objext conftest$ac_exeext
29087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29088 (eval $ac_link) 2>conftest.er1
29089 ac_status=$?
29090 grep -v '^ *+' conftest.er1 >conftest.err
29091 rm -f conftest.er1
29092 cat conftest.err >&5
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); } &&
29095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29097 (eval $ac_try) 2>&5
29098 ac_status=$?
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); }; } &&
29101 { ac_try='test -s conftest$ac_exeext'
29102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103 (eval $ac_try) 2>&5
29104 ac_status=$?
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); }; }; then
29107 eval "$as_ac_var=yes"
29108 else
29109 echo "$as_me: failed program was:" >&5
29110 sed 's/^/| /' conftest.$ac_ext >&5
29111
29112 eval "$as_ac_var=no"
29113 fi
29114 rm -f conftest.err conftest.$ac_objext \
29115 conftest$ac_exeext conftest.$ac_ext
29116 fi
29117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29119 if test `eval echo '${'$as_ac_var'}'` = yes; then
29120 cat >>confdefs.h <<_ACEOF
29121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29122 _ACEOF
29123 WCSLEN_FOUND=1
29124 fi
29125 done
29126
29127
29128 if test "$WCSLEN_FOUND" = 0; then
29129 if test "$TOOLKIT" = "MSW"; then
29130 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29131 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29132 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29133 echo $ECHO_N "(cached) $ECHO_C" >&6
29134 else
29135 ac_check_lib_save_LIBS=$LIBS
29136 LIBS="-lmsvcrt $LIBS"
29137 cat >conftest.$ac_ext <<_ACEOF
29138 /* confdefs.h. */
29139 _ACEOF
29140 cat confdefs.h >>conftest.$ac_ext
29141 cat >>conftest.$ac_ext <<_ACEOF
29142 /* end confdefs.h. */
29143
29144 /* Override any gcc2 internal prototype to avoid an error. */
29145 #ifdef __cplusplus
29146 extern "C"
29147 #endif
29148 /* We use char because int might match the return type of a gcc2
29149 builtin and then its argument prototype would still apply. */
29150 char wcslen ();
29151 int
29152 main ()
29153 {
29154 wcslen ();
29155 ;
29156 return 0;
29157 }
29158 _ACEOF
29159 rm -f conftest.$ac_objext conftest$ac_exeext
29160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29161 (eval $ac_link) 2>conftest.er1
29162 ac_status=$?
29163 grep -v '^ *+' conftest.er1 >conftest.err
29164 rm -f conftest.er1
29165 cat conftest.err >&5
29166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167 (exit $ac_status); } &&
29168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29170 (eval $ac_try) 2>&5
29171 ac_status=$?
29172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29173 (exit $ac_status); }; } &&
29174 { ac_try='test -s conftest$ac_exeext'
29175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29176 (eval $ac_try) 2>&5
29177 ac_status=$?
29178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29179 (exit $ac_status); }; }; then
29180 ac_cv_lib_msvcrt_wcslen=yes
29181 else
29182 echo "$as_me: failed program was:" >&5
29183 sed 's/^/| /' conftest.$ac_ext >&5
29184
29185 ac_cv_lib_msvcrt_wcslen=no
29186 fi
29187 rm -f conftest.err conftest.$ac_objext \
29188 conftest$ac_exeext conftest.$ac_ext
29189 LIBS=$ac_check_lib_save_LIBS
29190 fi
29191 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29192 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29193 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29194 WCHAR_OK=1
29195 fi
29196
29197 else
29198 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29199 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29200 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29201 echo $ECHO_N "(cached) $ECHO_C" >&6
29202 else
29203 ac_check_lib_save_LIBS=$LIBS
29204 LIBS="-lw $LIBS"
29205 cat >conftest.$ac_ext <<_ACEOF
29206 /* confdefs.h. */
29207 _ACEOF
29208 cat confdefs.h >>conftest.$ac_ext
29209 cat >>conftest.$ac_ext <<_ACEOF
29210 /* end confdefs.h. */
29211
29212 /* Override any gcc2 internal prototype to avoid an error. */
29213 #ifdef __cplusplus
29214 extern "C"
29215 #endif
29216 /* We use char because int might match the return type of a gcc2
29217 builtin and then its argument prototype would still apply. */
29218 char wcslen ();
29219 int
29220 main ()
29221 {
29222 wcslen ();
29223 ;
29224 return 0;
29225 }
29226 _ACEOF
29227 rm -f conftest.$ac_objext conftest$ac_exeext
29228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29229 (eval $ac_link) 2>conftest.er1
29230 ac_status=$?
29231 grep -v '^ *+' conftest.er1 >conftest.err
29232 rm -f conftest.er1
29233 cat conftest.err >&5
29234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29235 (exit $ac_status); } &&
29236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29238 (eval $ac_try) 2>&5
29239 ac_status=$?
29240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241 (exit $ac_status); }; } &&
29242 { ac_try='test -s conftest$ac_exeext'
29243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29244 (eval $ac_try) 2>&5
29245 ac_status=$?
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); }; }; then
29248 ac_cv_lib_w_wcslen=yes
29249 else
29250 echo "$as_me: failed program was:" >&5
29251 sed 's/^/| /' conftest.$ac_ext >&5
29252
29253 ac_cv_lib_w_wcslen=no
29254 fi
29255 rm -f conftest.err conftest.$ac_objext \
29256 conftest$ac_exeext conftest.$ac_ext
29257 LIBS=$ac_check_lib_save_LIBS
29258 fi
29259 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29260 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29261 if test $ac_cv_lib_w_wcslen = yes; then
29262
29263 WCHAR_LINK=" -lw"
29264 WCSLEN_FOUND=1
29265
29266 fi
29267
29268 fi
29269 fi
29270
29271 if test "$WCSLEN_FOUND" = 1; then
29272 cat >>confdefs.h <<\_ACEOF
29273 #define HAVE_WCSLEN 1
29274 _ACEOF
29275
29276 fi
29277
29278 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29279 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29280 fi
29281
29282
29283 for ac_func in wcsrtombs
29284 do
29285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29286 echo "$as_me:$LINENO: checking for $ac_func" >&5
29287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29288 if eval "test \"\${$as_ac_var+set}\" = set"; then
29289 echo $ECHO_N "(cached) $ECHO_C" >&6
29290 else
29291 cat >conftest.$ac_ext <<_ACEOF
29292 /* confdefs.h. */
29293 _ACEOF
29294 cat confdefs.h >>conftest.$ac_ext
29295 cat >>conftest.$ac_ext <<_ACEOF
29296 /* end confdefs.h. */
29297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29299 #define $ac_func innocuous_$ac_func
29300
29301 /* System header to define __stub macros and hopefully few prototypes,
29302 which can conflict with char $ac_func (); below.
29303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29304 <limits.h> exists even on freestanding compilers. */
29305
29306 #ifdef __STDC__
29307 # include <limits.h>
29308 #else
29309 # include <assert.h>
29310 #endif
29311
29312 #undef $ac_func
29313
29314 /* Override any gcc2 internal prototype to avoid an error. */
29315 #ifdef __cplusplus
29316 extern "C"
29317 {
29318 #endif
29319 /* We use char because int might match the return type of a gcc2
29320 builtin and then its argument prototype would still apply. */
29321 char $ac_func ();
29322 /* The GNU C library defines this for functions which it implements
29323 to always fail with ENOSYS. Some functions are actually named
29324 something starting with __ and the normal name is an alias. */
29325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29326 choke me
29327 #else
29328 char (*f) () = $ac_func;
29329 #endif
29330 #ifdef __cplusplus
29331 }
29332 #endif
29333
29334 int
29335 main ()
29336 {
29337 return f != $ac_func;
29338 ;
29339 return 0;
29340 }
29341 _ACEOF
29342 rm -f conftest.$ac_objext conftest$ac_exeext
29343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29344 (eval $ac_link) 2>conftest.er1
29345 ac_status=$?
29346 grep -v '^ *+' conftest.er1 >conftest.err
29347 rm -f conftest.er1
29348 cat conftest.err >&5
29349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29350 (exit $ac_status); } &&
29351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29353 (eval $ac_try) 2>&5
29354 ac_status=$?
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); }; } &&
29357 { ac_try='test -s conftest$ac_exeext'
29358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29359 (eval $ac_try) 2>&5
29360 ac_status=$?
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); }; }; then
29363 eval "$as_ac_var=yes"
29364 else
29365 echo "$as_me: failed program was:" >&5
29366 sed 's/^/| /' conftest.$ac_ext >&5
29367
29368 eval "$as_ac_var=no"
29369 fi
29370 rm -f conftest.err conftest.$ac_objext \
29371 conftest$ac_exeext conftest.$ac_ext
29372 fi
29373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29375 if test `eval echo '${'$as_ac_var'}'` = yes; then
29376 cat >>confdefs.h <<_ACEOF
29377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29378 _ACEOF
29379
29380 fi
29381 done
29382
29383 else
29384 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29385 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29386 fi
29387
29388
29389
29390 ac_ext=cc
29391 ac_cpp='$CXXCPP $CPPFLAGS'
29392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29395
29396
29397
29398 for ac_func in vsnprintf
29399 do
29400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29401 echo "$as_me:$LINENO: checking for $ac_func" >&5
29402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29403 if eval "test \"\${$as_ac_var+set}\" = set"; then
29404 echo $ECHO_N "(cached) $ECHO_C" >&6
29405 else
29406 cat >conftest.$ac_ext <<_ACEOF
29407 /* confdefs.h. */
29408 _ACEOF
29409 cat confdefs.h >>conftest.$ac_ext
29410 cat >>conftest.$ac_ext <<_ACEOF
29411 /* end confdefs.h. */
29412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29414 #define $ac_func innocuous_$ac_func
29415
29416 /* System header to define __stub macros and hopefully few prototypes,
29417 which can conflict with char $ac_func (); below.
29418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29419 <limits.h> exists even on freestanding compilers. */
29420
29421 #ifdef __STDC__
29422 # include <limits.h>
29423 #else
29424 # include <assert.h>
29425 #endif
29426
29427 #undef $ac_func
29428
29429 /* Override any gcc2 internal prototype to avoid an error. */
29430 #ifdef __cplusplus
29431 extern "C"
29432 {
29433 #endif
29434 /* We use char because int might match the return type of a gcc2
29435 builtin and then its argument prototype would still apply. */
29436 char $ac_func ();
29437 /* The GNU C library defines this for functions which it implements
29438 to always fail with ENOSYS. Some functions are actually named
29439 something starting with __ and the normal name is an alias. */
29440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29441 choke me
29442 #else
29443 char (*f) () = $ac_func;
29444 #endif
29445 #ifdef __cplusplus
29446 }
29447 #endif
29448
29449 int
29450 main ()
29451 {
29452 return f != $ac_func;
29453 ;
29454 return 0;
29455 }
29456 _ACEOF
29457 rm -f conftest.$ac_objext conftest$ac_exeext
29458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29459 (eval $ac_link) 2>conftest.er1
29460 ac_status=$?
29461 grep -v '^ *+' conftest.er1 >conftest.err
29462 rm -f conftest.er1
29463 cat conftest.err >&5
29464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29465 (exit $ac_status); } &&
29466 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29468 (eval $ac_try) 2>&5
29469 ac_status=$?
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); }; } &&
29472 { ac_try='test -s conftest$ac_exeext'
29473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29474 (eval $ac_try) 2>&5
29475 ac_status=$?
29476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 (exit $ac_status); }; }; then
29478 eval "$as_ac_var=yes"
29479 else
29480 echo "$as_me: failed program was:" >&5
29481 sed 's/^/| /' conftest.$ac_ext >&5
29482
29483 eval "$as_ac_var=no"
29484 fi
29485 rm -f conftest.err conftest.$ac_objext \
29486 conftest$ac_exeext conftest.$ac_ext
29487 fi
29488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29490 if test `eval echo '${'$as_ac_var'}'` = yes; then
29491 cat >>confdefs.h <<_ACEOF
29492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29493 _ACEOF
29494
29495 fi
29496 done
29497
29498
29499 if test "$ac_cv_func_vsnprintf" = "yes"; then
29500 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29501 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29502 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29503 echo $ECHO_N "(cached) $ECHO_C" >&6
29504 else
29505
29506 cat >conftest.$ac_ext <<_ACEOF
29507 /* confdefs.h. */
29508 _ACEOF
29509 cat confdefs.h >>conftest.$ac_ext
29510 cat >>conftest.$ac_ext <<_ACEOF
29511 /* end confdefs.h. */
29512
29513 #include <stdio.h>
29514 #include <stdarg.h>
29515
29516 int
29517 main ()
29518 {
29519
29520 char *buf;
29521 va_list ap;
29522 vsnprintf(buf, 10u, "%s", ap);
29523
29524 ;
29525 return 0;
29526 }
29527 _ACEOF
29528 rm -f conftest.$ac_objext
29529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29530 (eval $ac_compile) 2>conftest.er1
29531 ac_status=$?
29532 grep -v '^ *+' conftest.er1 >conftest.err
29533 rm -f conftest.er1
29534 cat conftest.err >&5
29535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29536 (exit $ac_status); } &&
29537 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29539 (eval $ac_try) 2>&5
29540 ac_status=$?
29541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29542 (exit $ac_status); }; } &&
29543 { ac_try='test -s conftest.$ac_objext'
29544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29545 (eval $ac_try) 2>&5
29546 ac_status=$?
29547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548 (exit $ac_status); }; }; then
29549 wx_cv_func_vsnprintf_decl=yes
29550 else
29551 echo "$as_me: failed program was:" >&5
29552 sed 's/^/| /' conftest.$ac_ext >&5
29553
29554
29555 cat >conftest.$ac_ext <<_ACEOF
29556 /* confdefs.h. */
29557 _ACEOF
29558 cat confdefs.h >>conftest.$ac_ext
29559 cat >>conftest.$ac_ext <<_ACEOF
29560 /* end confdefs.h. */
29561
29562 #include <stdio.h>
29563 #include <stdarg.h>
29564 using namespace std;
29565
29566 int
29567 main ()
29568 {
29569
29570 char *buf;
29571 va_list ap;
29572 vsnprintf(buf, 10u, "%s", ap);
29573
29574 ;
29575 return 0;
29576 }
29577 _ACEOF
29578 rm -f conftest.$ac_objext
29579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29580 (eval $ac_compile) 2>conftest.er1
29581 ac_status=$?
29582 grep -v '^ *+' conftest.er1 >conftest.err
29583 rm -f conftest.er1
29584 cat conftest.err >&5
29585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29586 (exit $ac_status); } &&
29587 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29589 (eval $ac_try) 2>&5
29590 ac_status=$?
29591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29592 (exit $ac_status); }; } &&
29593 { ac_try='test -s conftest.$ac_objext'
29594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29595 (eval $ac_try) 2>&5
29596 ac_status=$?
29597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29598 (exit $ac_status); }; }; then
29599 wx_cv_func_vsnprintf_decl=yes
29600 else
29601 echo "$as_me: failed program was:" >&5
29602 sed 's/^/| /' conftest.$ac_ext >&5
29603
29604 wx_cv_func_vsnprintf_decl=no
29605
29606 fi
29607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29608
29609
29610 fi
29611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29612
29613
29614 fi
29615 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29616 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29617
29618 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29619 cat >>confdefs.h <<\_ACEOF
29620 #define HAVE_VSNPRINTF_DECL 1
29621 _ACEOF
29622
29623 fi
29624 fi
29625
29626 if test "$wxUSE_UNICODE" = yes; then
29627
29628
29629
29630
29631
29632
29633 for ac_func in wputc wputchar putws fputws wprintf vswprintf
29634 do
29635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29636 echo "$as_me:$LINENO: checking for $ac_func" >&5
29637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29638 if eval "test \"\${$as_ac_var+set}\" = set"; then
29639 echo $ECHO_N "(cached) $ECHO_C" >&6
29640 else
29641 cat >conftest.$ac_ext <<_ACEOF
29642 /* confdefs.h. */
29643 _ACEOF
29644 cat confdefs.h >>conftest.$ac_ext
29645 cat >>conftest.$ac_ext <<_ACEOF
29646 /* end confdefs.h. */
29647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29649 #define $ac_func innocuous_$ac_func
29650
29651 /* System header to define __stub macros and hopefully few prototypes,
29652 which can conflict with char $ac_func (); below.
29653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29654 <limits.h> exists even on freestanding compilers. */
29655
29656 #ifdef __STDC__
29657 # include <limits.h>
29658 #else
29659 # include <assert.h>
29660 #endif
29661
29662 #undef $ac_func
29663
29664 /* Override any gcc2 internal prototype to avoid an error. */
29665 #ifdef __cplusplus
29666 extern "C"
29667 {
29668 #endif
29669 /* We use char because int might match the return type of a gcc2
29670 builtin and then its argument prototype would still apply. */
29671 char $ac_func ();
29672 /* The GNU C library defines this for functions which it implements
29673 to always fail with ENOSYS. Some functions are actually named
29674 something starting with __ and the normal name is an alias. */
29675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29676 choke me
29677 #else
29678 char (*f) () = $ac_func;
29679 #endif
29680 #ifdef __cplusplus
29681 }
29682 #endif
29683
29684 int
29685 main ()
29686 {
29687 return f != $ac_func;
29688 ;
29689 return 0;
29690 }
29691 _ACEOF
29692 rm -f conftest.$ac_objext conftest$ac_exeext
29693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29694 (eval $ac_link) 2>conftest.er1
29695 ac_status=$?
29696 grep -v '^ *+' conftest.er1 >conftest.err
29697 rm -f conftest.er1
29698 cat conftest.err >&5
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); } &&
29701 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29703 (eval $ac_try) 2>&5
29704 ac_status=$?
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); }; } &&
29707 { ac_try='test -s conftest$ac_exeext'
29708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29709 (eval $ac_try) 2>&5
29710 ac_status=$?
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); }; }; then
29713 eval "$as_ac_var=yes"
29714 else
29715 echo "$as_me: failed program was:" >&5
29716 sed 's/^/| /' conftest.$ac_ext >&5
29717
29718 eval "$as_ac_var=no"
29719 fi
29720 rm -f conftest.err conftest.$ac_objext \
29721 conftest$ac_exeext conftest.$ac_ext
29722 fi
29723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29725 if test `eval echo '${'$as_ac_var'}'` = yes; then
29726 cat >>confdefs.h <<_ACEOF
29727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29728 _ACEOF
29729
29730 fi
29731 done
29732
29733
29734 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29735 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29736 cat >conftest.$ac_ext <<_ACEOF
29737 /* confdefs.h. */
29738 _ACEOF
29739 cat confdefs.h >>conftest.$ac_ext
29740 cat >>conftest.$ac_ext <<_ACEOF
29741 /* end confdefs.h. */
29742 #include <wchar.h>
29743 int
29744 main ()
29745 {
29746 &_vsnwprintf;
29747 ;
29748 return 0;
29749 }
29750 _ACEOF
29751 rm -f conftest.$ac_objext
29752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29753 (eval $ac_compile) 2>conftest.er1
29754 ac_status=$?
29755 grep -v '^ *+' conftest.er1 >conftest.err
29756 rm -f conftest.er1
29757 cat conftest.err >&5
29758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759 (exit $ac_status); } &&
29760 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29762 (eval $ac_try) 2>&5
29763 ac_status=$?
29764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765 (exit $ac_status); }; } &&
29766 { ac_try='test -s conftest.$ac_objext'
29767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29768 (eval $ac_try) 2>&5
29769 ac_status=$?
29770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29771 (exit $ac_status); }; }; then
29772 echo "$as_me:$LINENO: result: yes" >&5
29773 echo "${ECHO_T}yes" >&6
29774 cat >>confdefs.h <<\_ACEOF
29775 #define HAVE__VSNWPRINTF 1
29776 _ACEOF
29777
29778 else
29779 echo "$as_me: failed program was:" >&5
29780 sed 's/^/| /' conftest.$ac_ext >&5
29781
29782 echo "$as_me:$LINENO: result: no" >&5
29783 echo "${ECHO_T}no" >&6
29784 fi
29785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29786 fi
29787
29788 ac_ext=c
29789 ac_cpp='$CPP $CPPFLAGS'
29790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29793
29794
29795
29796
29797 if test "$TOOLKIT" != "MSW"; then
29798
29799
29800
29801
29802 ac_ext=cc
29803 ac_cpp='$CXXCPP $CPPFLAGS'
29804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29807
29808
29809
29810
29811 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29812 if test "${with_libiconv_prefix+set}" = set; then
29813 withval="$with_libiconv_prefix"
29814
29815 for dir in `echo "$withval" | tr : ' '`; do
29816 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29817 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29818 done
29819
29820 fi;
29821
29822 echo "$as_me:$LINENO: checking for iconv" >&5
29823 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29824 if test "${am_cv_func_iconv+set}" = set; then
29825 echo $ECHO_N "(cached) $ECHO_C" >&6
29826 else
29827
29828 am_cv_func_iconv="no, consider installing GNU libiconv"
29829 am_cv_lib_iconv=no
29830 cat >conftest.$ac_ext <<_ACEOF
29831 /* confdefs.h. */
29832 _ACEOF
29833 cat confdefs.h >>conftest.$ac_ext
29834 cat >>conftest.$ac_ext <<_ACEOF
29835 /* end confdefs.h. */
29836 #include <stdlib.h>
29837 #include <iconv.h>
29838 int
29839 main ()
29840 {
29841 iconv_t cd = iconv_open("","");
29842 iconv(cd,NULL,NULL,NULL,NULL);
29843 iconv_close(cd);
29844 ;
29845 return 0;
29846 }
29847 _ACEOF
29848 rm -f conftest.$ac_objext conftest$ac_exeext
29849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29850 (eval $ac_link) 2>conftest.er1
29851 ac_status=$?
29852 grep -v '^ *+' conftest.er1 >conftest.err
29853 rm -f conftest.er1
29854 cat conftest.err >&5
29855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29856 (exit $ac_status); } &&
29857 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29859 (eval $ac_try) 2>&5
29860 ac_status=$?
29861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29862 (exit $ac_status); }; } &&
29863 { ac_try='test -s conftest$ac_exeext'
29864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29865 (eval $ac_try) 2>&5
29866 ac_status=$?
29867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29868 (exit $ac_status); }; }; then
29869 am_cv_func_iconv=yes
29870 else
29871 echo "$as_me: failed program was:" >&5
29872 sed 's/^/| /' conftest.$ac_ext >&5
29873
29874 fi
29875 rm -f conftest.err conftest.$ac_objext \
29876 conftest$ac_exeext conftest.$ac_ext
29877 if test "$am_cv_func_iconv" != yes; then
29878 am_save_LIBS="$LIBS"
29879 LIBS="$LIBS -liconv"
29880 cat >conftest.$ac_ext <<_ACEOF
29881 /* confdefs.h. */
29882 _ACEOF
29883 cat confdefs.h >>conftest.$ac_ext
29884 cat >>conftest.$ac_ext <<_ACEOF
29885 /* end confdefs.h. */
29886 #include <stdlib.h>
29887 #include <iconv.h>
29888 int
29889 main ()
29890 {
29891 iconv_t cd = iconv_open("","");
29892 iconv(cd,NULL,NULL,NULL,NULL);
29893 iconv_close(cd);
29894 ;
29895 return 0;
29896 }
29897 _ACEOF
29898 rm -f conftest.$ac_objext conftest$ac_exeext
29899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29900 (eval $ac_link) 2>conftest.er1
29901 ac_status=$?
29902 grep -v '^ *+' conftest.er1 >conftest.err
29903 rm -f conftest.er1
29904 cat conftest.err >&5
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); } &&
29907 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29909 (eval $ac_try) 2>&5
29910 ac_status=$?
29911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912 (exit $ac_status); }; } &&
29913 { ac_try='test -s conftest$ac_exeext'
29914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29915 (eval $ac_try) 2>&5
29916 ac_status=$?
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); }; }; then
29919 am_cv_lib_iconv=yes
29920 am_cv_func_iconv=yes
29921 else
29922 echo "$as_me: failed program was:" >&5
29923 sed 's/^/| /' conftest.$ac_ext >&5
29924
29925 fi
29926 rm -f conftest.err conftest.$ac_objext \
29927 conftest$ac_exeext conftest.$ac_ext
29928 LIBS="$am_save_LIBS"
29929 fi
29930
29931 fi
29932 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29933 echo "${ECHO_T}$am_cv_func_iconv" >&6
29934 if test "$am_cv_func_iconv" = yes; then
29935
29936 cat >>confdefs.h <<\_ACEOF
29937 #define HAVE_ICONV 1
29938 _ACEOF
29939
29940 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29941 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29942 if test "${wx_cv_func_iconv_const+set}" = set; then
29943 echo $ECHO_N "(cached) $ECHO_C" >&6
29944 else
29945 cat >conftest.$ac_ext <<_ACEOF
29946 /* confdefs.h. */
29947 _ACEOF
29948 cat confdefs.h >>conftest.$ac_ext
29949 cat >>conftest.$ac_ext <<_ACEOF
29950 /* end confdefs.h. */
29951
29952 #include <stdlib.h>
29953 #include <iconv.h>
29954 extern
29955 #ifdef __cplusplus
29956 "C"
29957 #endif
29958 #if defined(__STDC__) || defined(__cplusplus)
29959 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29960 #else
29961 size_t iconv();
29962 #endif
29963
29964 int
29965 main ()
29966 {
29967
29968 ;
29969 return 0;
29970 }
29971 _ACEOF
29972 rm -f conftest.$ac_objext
29973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29974 (eval $ac_compile) 2>conftest.er1
29975 ac_status=$?
29976 grep -v '^ *+' conftest.er1 >conftest.err
29977 rm -f conftest.er1
29978 cat conftest.err >&5
29979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980 (exit $ac_status); } &&
29981 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29983 (eval $ac_try) 2>&5
29984 ac_status=$?
29985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29986 (exit $ac_status); }; } &&
29987 { ac_try='test -s conftest.$ac_objext'
29988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29989 (eval $ac_try) 2>&5
29990 ac_status=$?
29991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29992 (exit $ac_status); }; }; then
29993 wx_cv_func_iconv_const="no"
29994 else
29995 echo "$as_me: failed program was:" >&5
29996 sed 's/^/| /' conftest.$ac_ext >&5
29997
29998 wx_cv_func_iconv_const="yes"
29999
30000 fi
30001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30002
30003 fi
30004 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
30005 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
30006
30007 iconv_const=
30008 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30009 iconv_const="const"
30010 fi
30011
30012
30013 cat >>confdefs.h <<_ACEOF
30014 #define ICONV_CONST $iconv_const
30015 _ACEOF
30016
30017 fi
30018 LIBICONV=
30019 if test "$am_cv_lib_iconv" = yes; then
30020 LIBICONV="-liconv"
30021 fi
30022
30023
30024 LIBS="$LIBICONV $LIBS"
30025 ac_ext=c
30026 ac_cpp='$CPP $CPPFLAGS'
30027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30030
30031
30032 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30033
30034 for ac_func in sigaction
30035 do
30036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30037 echo "$as_me:$LINENO: checking for $ac_func" >&5
30038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30039 if eval "test \"\${$as_ac_var+set}\" = set"; then
30040 echo $ECHO_N "(cached) $ECHO_C" >&6
30041 else
30042 cat >conftest.$ac_ext <<_ACEOF
30043 /* confdefs.h. */
30044 _ACEOF
30045 cat confdefs.h >>conftest.$ac_ext
30046 cat >>conftest.$ac_ext <<_ACEOF
30047 /* end confdefs.h. */
30048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30050 #define $ac_func innocuous_$ac_func
30051
30052 /* System header to define __stub macros and hopefully few prototypes,
30053 which can conflict with char $ac_func (); below.
30054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30055 <limits.h> exists even on freestanding compilers. */
30056
30057 #ifdef __STDC__
30058 # include <limits.h>
30059 #else
30060 # include <assert.h>
30061 #endif
30062
30063 #undef $ac_func
30064
30065 /* Override any gcc2 internal prototype to avoid an error. */
30066 #ifdef __cplusplus
30067 extern "C"
30068 {
30069 #endif
30070 /* We use char because int might match the return type of a gcc2
30071 builtin and then its argument prototype would still apply. */
30072 char $ac_func ();
30073 /* The GNU C library defines this for functions which it implements
30074 to always fail with ENOSYS. Some functions are actually named
30075 something starting with __ and the normal name is an alias. */
30076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30077 choke me
30078 #else
30079 char (*f) () = $ac_func;
30080 #endif
30081 #ifdef __cplusplus
30082 }
30083 #endif
30084
30085 int
30086 main ()
30087 {
30088 return f != $ac_func;
30089 ;
30090 return 0;
30091 }
30092 _ACEOF
30093 rm -f conftest.$ac_objext conftest$ac_exeext
30094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30095 (eval $ac_link) 2>conftest.er1
30096 ac_status=$?
30097 grep -v '^ *+' conftest.er1 >conftest.err
30098 rm -f conftest.er1
30099 cat conftest.err >&5
30100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101 (exit $ac_status); } &&
30102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30104 (eval $ac_try) 2>&5
30105 ac_status=$?
30106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30107 (exit $ac_status); }; } &&
30108 { ac_try='test -s conftest$ac_exeext'
30109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30110 (eval $ac_try) 2>&5
30111 ac_status=$?
30112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113 (exit $ac_status); }; }; then
30114 eval "$as_ac_var=yes"
30115 else
30116 echo "$as_me: failed program was:" >&5
30117 sed 's/^/| /' conftest.$ac_ext >&5
30118
30119 eval "$as_ac_var=no"
30120 fi
30121 rm -f conftest.err conftest.$ac_objext \
30122 conftest$ac_exeext conftest.$ac_ext
30123 fi
30124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30126 if test `eval echo '${'$as_ac_var'}'` = yes; then
30127 cat >>confdefs.h <<_ACEOF
30128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30129 _ACEOF
30130
30131 fi
30132 done
30133
30134
30135 if test "$ac_cv_func_sigaction" = "no"; then
30136 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30137 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30138 wxUSE_ON_FATAL_EXCEPTION=no
30139 fi
30140
30141 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30142
30143
30144 ac_ext=cc
30145 ac_cpp='$CXXCPP $CPPFLAGS'
30146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30149
30150
30151 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30152 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30153 if test "${wx_cv_type_sa_handler+set}" = set; then
30154 echo $ECHO_N "(cached) $ECHO_C" >&6
30155 else
30156
30157 cat >conftest.$ac_ext <<_ACEOF
30158 /* confdefs.h. */
30159 _ACEOF
30160 cat confdefs.h >>conftest.$ac_ext
30161 cat >>conftest.$ac_ext <<_ACEOF
30162 /* end confdefs.h. */
30163 #include <signal.h>
30164 int
30165 main ()
30166 {
30167
30168 extern void testSigHandler(int);
30169
30170 struct sigaction sa;
30171 sa.sa_handler = testSigHandler;
30172
30173 ;
30174 return 0;
30175 }
30176 _ACEOF
30177 rm -f conftest.$ac_objext
30178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30179 (eval $ac_compile) 2>conftest.er1
30180 ac_status=$?
30181 grep -v '^ *+' conftest.er1 >conftest.err
30182 rm -f conftest.er1
30183 cat conftest.err >&5
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); } &&
30186 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30188 (eval $ac_try) 2>&5
30189 ac_status=$?
30190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30191 (exit $ac_status); }; } &&
30192 { ac_try='test -s conftest.$ac_objext'
30193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30194 (eval $ac_try) 2>&5
30195 ac_status=$?
30196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197 (exit $ac_status); }; }; then
30198
30199 wx_cv_type_sa_handler=int
30200
30201 else
30202 echo "$as_me: failed program was:" >&5
30203 sed 's/^/| /' conftest.$ac_ext >&5
30204
30205
30206 wx_cv_type_sa_handler=void
30207
30208 fi
30209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30210
30211 fi
30212 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30213 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30214
30215 ac_ext=c
30216 ac_cpp='$CPP $CPPFLAGS'
30217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30220
30221
30222 cat >>confdefs.h <<_ACEOF
30223 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30224 _ACEOF
30225
30226 fi
30227 fi
30228
30229 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30230
30231
30232 ac_ext=cc
30233 ac_cpp='$CXXCPP $CPPFLAGS'
30234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30237
30238
30239 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
30240 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
30241 if test "${wx_cv_func_backtrace+set}" = set; then
30242 echo $ECHO_N "(cached) $ECHO_C" >&6
30243 else
30244
30245 cat >conftest.$ac_ext <<_ACEOF
30246 /* confdefs.h. */
30247 _ACEOF
30248 cat confdefs.h >>conftest.$ac_ext
30249 cat >>conftest.$ac_ext <<_ACEOF
30250 /* end confdefs.h. */
30251 #include <execinfo.h>
30252 int
30253 main ()
30254 {
30255
30256 void *trace[1];
30257 char **messages;
30258
30259 backtrace(trace, 1);
30260 messages = backtrace_symbols(trace, 1);
30261
30262 ;
30263 return 0;
30264 }
30265 _ACEOF
30266 rm -f conftest.$ac_objext
30267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30268 (eval $ac_compile) 2>conftest.er1
30269 ac_status=$?
30270 grep -v '^ *+' conftest.er1 >conftest.err
30271 rm -f conftest.er1
30272 cat conftest.err >&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); } &&
30275 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30277 (eval $ac_try) 2>&5
30278 ac_status=$?
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); }; } &&
30281 { ac_try='test -s conftest.$ac_objext'
30282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30283 (eval $ac_try) 2>&5
30284 ac_status=$?
30285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30286 (exit $ac_status); }; }; then
30287 wx_cv_func_backtrace=yes
30288 else
30289 echo "$as_me: failed program was:" >&5
30290 sed 's/^/| /' conftest.$ac_ext >&5
30291
30292 wx_cv_func_backtrace=no
30293
30294 fi
30295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30296
30297
30298 fi
30299 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
30300 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
30301
30302
30303 if test "$wx_cv_func_backtrace" = "no"; then
30304 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30305 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30306 wxUSE_STACKWALKER=no
30307 else
30308 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
30309 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
30310 if test "${wx_cv_func_cxa_demangle+set}" = set; then
30311 echo $ECHO_N "(cached) $ECHO_C" >&6
30312 else
30313
30314 cat >conftest.$ac_ext <<_ACEOF
30315 /* confdefs.h. */
30316 _ACEOF
30317 cat confdefs.h >>conftest.$ac_ext
30318 cat >>conftest.$ac_ext <<_ACEOF
30319 /* end confdefs.h. */
30320 #include <cxxabi.h>
30321 int
30322 main ()
30323 {
30324
30325 int rc;
30326 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30327
30328 ;
30329 return 0;
30330 }
30331 _ACEOF
30332 rm -f conftest.$ac_objext
30333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30334 (eval $ac_compile) 2>conftest.er1
30335 ac_status=$?
30336 grep -v '^ *+' conftest.er1 >conftest.err
30337 rm -f conftest.er1
30338 cat conftest.err >&5
30339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30340 (exit $ac_status); } &&
30341 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30343 (eval $ac_try) 2>&5
30344 ac_status=$?
30345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30346 (exit $ac_status); }; } &&
30347 { ac_try='test -s conftest.$ac_objext'
30348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30349 (eval $ac_try) 2>&5
30350 ac_status=$?
30351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); }; }; then
30353 wx_cv_func_cxa_demangle=yes
30354 else
30355 echo "$as_me: failed program was:" >&5
30356 sed 's/^/| /' conftest.$ac_ext >&5
30357
30358 wx_cv_func_cxa_demangle=no
30359
30360 fi
30361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30362
30363
30364 fi
30365 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
30366 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
30367
30368 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30369 cat >>confdefs.h <<\_ACEOF
30370 #define HAVE_CXA_DEMANGLE 1
30371 _ACEOF
30372
30373 fi
30374 fi
30375
30376 ac_ext=c
30377 ac_cpp='$CPP $CPPFLAGS'
30378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30381
30382 fi
30383
30384
30385
30386 for ac_func in mkstemp mktemp
30387 do
30388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30389 echo "$as_me:$LINENO: checking for $ac_func" >&5
30390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30391 if eval "test \"\${$as_ac_var+set}\" = set"; then
30392 echo $ECHO_N "(cached) $ECHO_C" >&6
30393 else
30394 cat >conftest.$ac_ext <<_ACEOF
30395 /* confdefs.h. */
30396 _ACEOF
30397 cat confdefs.h >>conftest.$ac_ext
30398 cat >>conftest.$ac_ext <<_ACEOF
30399 /* end confdefs.h. */
30400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30402 #define $ac_func innocuous_$ac_func
30403
30404 /* System header to define __stub macros and hopefully few prototypes,
30405 which can conflict with char $ac_func (); below.
30406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30407 <limits.h> exists even on freestanding compilers. */
30408
30409 #ifdef __STDC__
30410 # include <limits.h>
30411 #else
30412 # include <assert.h>
30413 #endif
30414
30415 #undef $ac_func
30416
30417 /* Override any gcc2 internal prototype to avoid an error. */
30418 #ifdef __cplusplus
30419 extern "C"
30420 {
30421 #endif
30422 /* We use char because int might match the return type of a gcc2
30423 builtin and then its argument prototype would still apply. */
30424 char $ac_func ();
30425 /* The GNU C library defines this for functions which it implements
30426 to always fail with ENOSYS. Some functions are actually named
30427 something starting with __ and the normal name is an alias. */
30428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30429 choke me
30430 #else
30431 char (*f) () = $ac_func;
30432 #endif
30433 #ifdef __cplusplus
30434 }
30435 #endif
30436
30437 int
30438 main ()
30439 {
30440 return f != $ac_func;
30441 ;
30442 return 0;
30443 }
30444 _ACEOF
30445 rm -f conftest.$ac_objext conftest$ac_exeext
30446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30447 (eval $ac_link) 2>conftest.er1
30448 ac_status=$?
30449 grep -v '^ *+' conftest.er1 >conftest.err
30450 rm -f conftest.er1
30451 cat conftest.err >&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); } &&
30454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30456 (eval $ac_try) 2>&5
30457 ac_status=$?
30458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30459 (exit $ac_status); }; } &&
30460 { ac_try='test -s conftest$ac_exeext'
30461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30462 (eval $ac_try) 2>&5
30463 ac_status=$?
30464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30465 (exit $ac_status); }; }; then
30466 eval "$as_ac_var=yes"
30467 else
30468 echo "$as_me: failed program was:" >&5
30469 sed 's/^/| /' conftest.$ac_ext >&5
30470
30471 eval "$as_ac_var=no"
30472 fi
30473 rm -f conftest.err conftest.$ac_objext \
30474 conftest$ac_exeext conftest.$ac_ext
30475 fi
30476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30478 if test `eval echo '${'$as_ac_var'}'` = yes; then
30479 cat >>confdefs.h <<_ACEOF
30480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30481 _ACEOF
30482 break
30483 fi
30484 done
30485
30486
30487 echo "$as_me:$LINENO: checking for statfs" >&5
30488 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30489 if test "${wx_cv_func_statfs+set}" = set; then
30490 echo $ECHO_N "(cached) $ECHO_C" >&6
30491 else
30492 cat >conftest.$ac_ext <<_ACEOF
30493 /* confdefs.h. */
30494 _ACEOF
30495 cat confdefs.h >>conftest.$ac_ext
30496 cat >>conftest.$ac_ext <<_ACEOF
30497 /* end confdefs.h. */
30498
30499 #if defined(__BSD__)
30500 #include <sys/param.h>
30501 #include <sys/mount.h>
30502 #else
30503 #include <sys/vfs.h>
30504 #endif
30505
30506 int
30507 main ()
30508 {
30509
30510 long l;
30511 struct statfs fs;
30512 statfs("/", &fs);
30513 l = fs.f_bsize;
30514 l += fs.f_blocks;
30515 l += fs.f_bavail;
30516
30517 ;
30518 return 0;
30519 }
30520 _ACEOF
30521 rm -f conftest.$ac_objext
30522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30523 (eval $ac_compile) 2>conftest.er1
30524 ac_status=$?
30525 grep -v '^ *+' conftest.er1 >conftest.err
30526 rm -f conftest.er1
30527 cat conftest.err >&5
30528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30529 (exit $ac_status); } &&
30530 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30532 (eval $ac_try) 2>&5
30533 ac_status=$?
30534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30535 (exit $ac_status); }; } &&
30536 { ac_try='test -s conftest.$ac_objext'
30537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30538 (eval $ac_try) 2>&5
30539 ac_status=$?
30540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541 (exit $ac_status); }; }; then
30542
30543 wx_cv_func_statfs=yes
30544
30545 else
30546 echo "$as_me: failed program was:" >&5
30547 sed 's/^/| /' conftest.$ac_ext >&5
30548
30549
30550 wx_cv_func_statfs=no
30551
30552
30553 fi
30554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30555
30556 fi
30557 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30558 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30559
30560 if test "$wx_cv_func_statfs" = "yes"; then
30561 wx_cv_type_statvfs_t="struct statfs"
30562 cat >>confdefs.h <<\_ACEOF
30563 #define HAVE_STATFS 1
30564 _ACEOF
30565
30566 else
30567 echo "$as_me:$LINENO: checking for statvfs" >&5
30568 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30569 if test "${wx_cv_func_statvfs+set}" = set; then
30570 echo $ECHO_N "(cached) $ECHO_C" >&6
30571 else
30572 cat >conftest.$ac_ext <<_ACEOF
30573 /* confdefs.h. */
30574 _ACEOF
30575 cat confdefs.h >>conftest.$ac_ext
30576 cat >>conftest.$ac_ext <<_ACEOF
30577 /* end confdefs.h. */
30578
30579 #include <stddef.h>
30580 #include <sys/statvfs.h>
30581
30582 int
30583 main ()
30584 {
30585
30586 statvfs("/", NULL);
30587
30588 ;
30589 return 0;
30590 }
30591 _ACEOF
30592 rm -f conftest.$ac_objext
30593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30594 (eval $ac_compile) 2>conftest.er1
30595 ac_status=$?
30596 grep -v '^ *+' conftest.er1 >conftest.err
30597 rm -f conftest.er1
30598 cat conftest.err >&5
30599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30600 (exit $ac_status); } &&
30601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30603 (eval $ac_try) 2>&5
30604 ac_status=$?
30605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30606 (exit $ac_status); }; } &&
30607 { ac_try='test -s conftest.$ac_objext'
30608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30609 (eval $ac_try) 2>&5
30610 ac_status=$?
30611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30612 (exit $ac_status); }; }; then
30613 wx_cv_func_statvfs=yes
30614 else
30615 echo "$as_me: failed program was:" >&5
30616 sed 's/^/| /' conftest.$ac_ext >&5
30617
30618 wx_cv_func_statvfs=no
30619
30620 fi
30621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30622
30623 fi
30624 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30625 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30626
30627 if test "$wx_cv_func_statvfs" = "yes"; then
30628
30629
30630 ac_ext=cc
30631 ac_cpp='$CXXCPP $CPPFLAGS'
30632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30635
30636
30637 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30638 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30639 if test "${wx_cv_type_statvfs_t+set}" = set; then
30640 echo $ECHO_N "(cached) $ECHO_C" >&6
30641 else
30642 cat >conftest.$ac_ext <<_ACEOF
30643 /* confdefs.h. */
30644 _ACEOF
30645 cat confdefs.h >>conftest.$ac_ext
30646 cat >>conftest.$ac_ext <<_ACEOF
30647 /* end confdefs.h. */
30648
30649 #include <sys/statvfs.h>
30650
30651 int
30652 main ()
30653 {
30654
30655 long l;
30656 statvfs_t fs;
30657 statvfs("/", &fs);
30658 l = fs.f_bsize;
30659 l += fs.f_blocks;
30660 l += fs.f_bavail;
30661
30662 ;
30663 return 0;
30664 }
30665 _ACEOF
30666 rm -f conftest.$ac_objext
30667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30668 (eval $ac_compile) 2>conftest.er1
30669 ac_status=$?
30670 grep -v '^ *+' conftest.er1 >conftest.err
30671 rm -f conftest.er1
30672 cat conftest.err >&5
30673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30674 (exit $ac_status); } &&
30675 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30677 (eval $ac_try) 2>&5
30678 ac_status=$?
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); }; } &&
30681 { ac_try='test -s conftest.$ac_objext'
30682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30683 (eval $ac_try) 2>&5
30684 ac_status=$?
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); }; }; then
30687 wx_cv_type_statvfs_t=statvfs_t
30688 else
30689 echo "$as_me: failed program was:" >&5
30690 sed 's/^/| /' conftest.$ac_ext >&5
30691
30692
30693 cat >conftest.$ac_ext <<_ACEOF
30694 /* confdefs.h. */
30695 _ACEOF
30696 cat confdefs.h >>conftest.$ac_ext
30697 cat >>conftest.$ac_ext <<_ACEOF
30698 /* end confdefs.h. */
30699
30700 #include <sys/statvfs.h>
30701
30702 int
30703 main ()
30704 {
30705
30706 long l;
30707 struct statvfs fs;
30708 statvfs("/", &fs);
30709 l = fs.f_bsize;
30710 l += fs.f_blocks;
30711 l += fs.f_bavail;
30712
30713 ;
30714 return 0;
30715 }
30716 _ACEOF
30717 rm -f conftest.$ac_objext
30718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30719 (eval $ac_compile) 2>conftest.er1
30720 ac_status=$?
30721 grep -v '^ *+' conftest.er1 >conftest.err
30722 rm -f conftest.er1
30723 cat conftest.err >&5
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); } &&
30726 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30728 (eval $ac_try) 2>&5
30729 ac_status=$?
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); }; } &&
30732 { ac_try='test -s conftest.$ac_objext'
30733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30734 (eval $ac_try) 2>&5
30735 ac_status=$?
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); }; }; then
30738 wx_cv_type_statvfs_t="struct statvfs"
30739 else
30740 echo "$as_me: failed program was:" >&5
30741 sed 's/^/| /' conftest.$ac_ext >&5
30742
30743 wx_cv_type_statvfs_t="unknown"
30744
30745 fi
30746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30747
30748
30749 fi
30750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30751
30752 fi
30753 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30754 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30755
30756 ac_ext=c
30757 ac_cpp='$CPP $CPPFLAGS'
30758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30761
30762
30763 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30764 cat >>confdefs.h <<\_ACEOF
30765 #define HAVE_STATVFS 1
30766 _ACEOF
30767
30768 fi
30769 else
30770 wx_cv_type_statvfs_t="unknown"
30771 fi
30772 fi
30773
30774 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30775 cat >>confdefs.h <<_ACEOF
30776 #define WX_STATFS_T $wx_cv_type_statvfs_t
30777 _ACEOF
30778
30779 else
30780 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30781 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30782 fi
30783
30784 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30785
30786
30787 for ac_func in fcntl flock
30788 do
30789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30790 echo "$as_me:$LINENO: checking for $ac_func" >&5
30791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30792 if eval "test \"\${$as_ac_var+set}\" = set"; then
30793 echo $ECHO_N "(cached) $ECHO_C" >&6
30794 else
30795 cat >conftest.$ac_ext <<_ACEOF
30796 /* confdefs.h. */
30797 _ACEOF
30798 cat confdefs.h >>conftest.$ac_ext
30799 cat >>conftest.$ac_ext <<_ACEOF
30800 /* end confdefs.h. */
30801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30803 #define $ac_func innocuous_$ac_func
30804
30805 /* System header to define __stub macros and hopefully few prototypes,
30806 which can conflict with char $ac_func (); below.
30807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30808 <limits.h> exists even on freestanding compilers. */
30809
30810 #ifdef __STDC__
30811 # include <limits.h>
30812 #else
30813 # include <assert.h>
30814 #endif
30815
30816 #undef $ac_func
30817
30818 /* Override any gcc2 internal prototype to avoid an error. */
30819 #ifdef __cplusplus
30820 extern "C"
30821 {
30822 #endif
30823 /* We use char because int might match the return type of a gcc2
30824 builtin and then its argument prototype would still apply. */
30825 char $ac_func ();
30826 /* The GNU C library defines this for functions which it implements
30827 to always fail with ENOSYS. Some functions are actually named
30828 something starting with __ and the normal name is an alias. */
30829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30830 choke me
30831 #else
30832 char (*f) () = $ac_func;
30833 #endif
30834 #ifdef __cplusplus
30835 }
30836 #endif
30837
30838 int
30839 main ()
30840 {
30841 return f != $ac_func;
30842 ;
30843 return 0;
30844 }
30845 _ACEOF
30846 rm -f conftest.$ac_objext conftest$ac_exeext
30847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30848 (eval $ac_link) 2>conftest.er1
30849 ac_status=$?
30850 grep -v '^ *+' conftest.er1 >conftest.err
30851 rm -f conftest.er1
30852 cat conftest.err >&5
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); } &&
30855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30857 (eval $ac_try) 2>&5
30858 ac_status=$?
30859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30860 (exit $ac_status); }; } &&
30861 { ac_try='test -s conftest$ac_exeext'
30862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30863 (eval $ac_try) 2>&5
30864 ac_status=$?
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); }; }; then
30867 eval "$as_ac_var=yes"
30868 else
30869 echo "$as_me: failed program was:" >&5
30870 sed 's/^/| /' conftest.$ac_ext >&5
30871
30872 eval "$as_ac_var=no"
30873 fi
30874 rm -f conftest.err conftest.$ac_objext \
30875 conftest$ac_exeext conftest.$ac_ext
30876 fi
30877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30879 if test `eval echo '${'$as_ac_var'}'` = yes; then
30880 cat >>confdefs.h <<_ACEOF
30881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30882 _ACEOF
30883 break
30884 fi
30885 done
30886
30887
30888 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30889 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30890 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30891 wxUSE_SNGLINST_CHECKER=no
30892 fi
30893 fi
30894
30895
30896 for ac_func in timegm
30897 do
30898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30899 echo "$as_me:$LINENO: checking for $ac_func" >&5
30900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30901 if eval "test \"\${$as_ac_var+set}\" = set"; then
30902 echo $ECHO_N "(cached) $ECHO_C" >&6
30903 else
30904 cat >conftest.$ac_ext <<_ACEOF
30905 /* confdefs.h. */
30906 _ACEOF
30907 cat confdefs.h >>conftest.$ac_ext
30908 cat >>conftest.$ac_ext <<_ACEOF
30909 /* end confdefs.h. */
30910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30912 #define $ac_func innocuous_$ac_func
30913
30914 /* System header to define __stub macros and hopefully few prototypes,
30915 which can conflict with char $ac_func (); below.
30916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30917 <limits.h> exists even on freestanding compilers. */
30918
30919 #ifdef __STDC__
30920 # include <limits.h>
30921 #else
30922 # include <assert.h>
30923 #endif
30924
30925 #undef $ac_func
30926
30927 /* Override any gcc2 internal prototype to avoid an error. */
30928 #ifdef __cplusplus
30929 extern "C"
30930 {
30931 #endif
30932 /* We use char because int might match the return type of a gcc2
30933 builtin and then its argument prototype would still apply. */
30934 char $ac_func ();
30935 /* The GNU C library defines this for functions which it implements
30936 to always fail with ENOSYS. Some functions are actually named
30937 something starting with __ and the normal name is an alias. */
30938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30939 choke me
30940 #else
30941 char (*f) () = $ac_func;
30942 #endif
30943 #ifdef __cplusplus
30944 }
30945 #endif
30946
30947 int
30948 main ()
30949 {
30950 return f != $ac_func;
30951 ;
30952 return 0;
30953 }
30954 _ACEOF
30955 rm -f conftest.$ac_objext conftest$ac_exeext
30956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30957 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
30977 else
30978 echo "$as_me: failed program was:" >&5
30979 sed 's/^/| /' conftest.$ac_ext >&5
30980
30981 eval "$as_ac_var=no"
30982 fi
30983 rm -f conftest.err conftest.$ac_objext \
30984 conftest$ac_exeext conftest.$ac_ext
30985 fi
30986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30988 if test `eval echo '${'$as_ac_var'}'` = yes; then
30989 cat >>confdefs.h <<_ACEOF
30990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30991 _ACEOF
30992
30993 fi
30994 done
30995
30996
30997
30998
30999 for ac_func in putenv setenv
31000 do
31001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31002 echo "$as_me:$LINENO: checking for $ac_func" >&5
31003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31004 if eval "test \"\${$as_ac_var+set}\" = set"; then
31005 echo $ECHO_N "(cached) $ECHO_C" >&6
31006 else
31007 cat >conftest.$ac_ext <<_ACEOF
31008 /* confdefs.h. */
31009 _ACEOF
31010 cat confdefs.h >>conftest.$ac_ext
31011 cat >>conftest.$ac_ext <<_ACEOF
31012 /* end confdefs.h. */
31013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31015 #define $ac_func innocuous_$ac_func
31016
31017 /* System header to define __stub macros and hopefully few prototypes,
31018 which can conflict with char $ac_func (); below.
31019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31020 <limits.h> exists even on freestanding compilers. */
31021
31022 #ifdef __STDC__
31023 # include <limits.h>
31024 #else
31025 # include <assert.h>
31026 #endif
31027
31028 #undef $ac_func
31029
31030 /* Override any gcc2 internal prototype to avoid an error. */
31031 #ifdef __cplusplus
31032 extern "C"
31033 {
31034 #endif
31035 /* We use char because int might match the return type of a gcc2
31036 builtin and then its argument prototype would still apply. */
31037 char $ac_func ();
31038 /* The GNU C library defines this for functions which it implements
31039 to always fail with ENOSYS. Some functions are actually named
31040 something starting with __ and the normal name is an alias. */
31041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31042 choke me
31043 #else
31044 char (*f) () = $ac_func;
31045 #endif
31046 #ifdef __cplusplus
31047 }
31048 #endif
31049
31050 int
31051 main ()
31052 {
31053 return f != $ac_func;
31054 ;
31055 return 0;
31056 }
31057 _ACEOF
31058 rm -f conftest.$ac_objext conftest$ac_exeext
31059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31060 (eval $ac_link) 2>conftest.er1
31061 ac_status=$?
31062 grep -v '^ *+' conftest.er1 >conftest.err
31063 rm -f conftest.er1
31064 cat conftest.err >&5
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); } &&
31067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
31073 { ac_try='test -s conftest$ac_exeext'
31074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31075 (eval $ac_try) 2>&5
31076 ac_status=$?
31077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31078 (exit $ac_status); }; }; then
31079 eval "$as_ac_var=yes"
31080 else
31081 echo "$as_me: failed program was:" >&5
31082 sed 's/^/| /' conftest.$ac_ext >&5
31083
31084 eval "$as_ac_var=no"
31085 fi
31086 rm -f conftest.err conftest.$ac_objext \
31087 conftest$ac_exeext conftest.$ac_ext
31088 fi
31089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31091 if test `eval echo '${'$as_ac_var'}'` = yes; then
31092 cat >>confdefs.h <<_ACEOF
31093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31094 _ACEOF
31095 break
31096 fi
31097 done
31098
31099
31100 HAVE_SOME_SLEEP_FUNC=0
31101 if test "$USE_BEOS" = 1; then
31102 cat >>confdefs.h <<\_ACEOF
31103 #define HAVE_SLEEP 1
31104 _ACEOF
31105
31106 HAVE_SOME_SLEEP_FUNC=1
31107 fi
31108
31109 if test "$USE_DARWIN" = 1; then
31110 cat >>confdefs.h <<\_ACEOF
31111 #define HAVE_USLEEP 1
31112 _ACEOF
31113
31114 HAVE_SOME_SLEEP_FUNC=1
31115 fi
31116
31117 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31118 POSIX4_LINK=
31119
31120 for ac_func in nanosleep
31121 do
31122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31123 echo "$as_me:$LINENO: checking for $ac_func" >&5
31124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31125 if eval "test \"\${$as_ac_var+set}\" = set"; then
31126 echo $ECHO_N "(cached) $ECHO_C" >&6
31127 else
31128 cat >conftest.$ac_ext <<_ACEOF
31129 /* confdefs.h. */
31130 _ACEOF
31131 cat confdefs.h >>conftest.$ac_ext
31132 cat >>conftest.$ac_ext <<_ACEOF
31133 /* end confdefs.h. */
31134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31136 #define $ac_func innocuous_$ac_func
31137
31138 /* System header to define __stub macros and hopefully few prototypes,
31139 which can conflict with char $ac_func (); below.
31140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31141 <limits.h> exists even on freestanding compilers. */
31142
31143 #ifdef __STDC__
31144 # include <limits.h>
31145 #else
31146 # include <assert.h>
31147 #endif
31148
31149 #undef $ac_func
31150
31151 /* Override any gcc2 internal prototype to avoid an error. */
31152 #ifdef __cplusplus
31153 extern "C"
31154 {
31155 #endif
31156 /* We use char because int might match the return type of a gcc2
31157 builtin and then its argument prototype would still apply. */
31158 char $ac_func ();
31159 /* The GNU C library defines this for functions which it implements
31160 to always fail with ENOSYS. Some functions are actually named
31161 something starting with __ and the normal name is an alias. */
31162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31163 choke me
31164 #else
31165 char (*f) () = $ac_func;
31166 #endif
31167 #ifdef __cplusplus
31168 }
31169 #endif
31170
31171 int
31172 main ()
31173 {
31174 return f != $ac_func;
31175 ;
31176 return 0;
31177 }
31178 _ACEOF
31179 rm -f conftest.$ac_objext conftest$ac_exeext
31180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31181 (eval $ac_link) 2>conftest.er1
31182 ac_status=$?
31183 grep -v '^ *+' conftest.er1 >conftest.err
31184 rm -f conftest.er1
31185 cat conftest.err >&5
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); } &&
31188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31190 (eval $ac_try) 2>&5
31191 ac_status=$?
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); }; } &&
31194 { ac_try='test -s conftest$ac_exeext'
31195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31196 (eval $ac_try) 2>&5
31197 ac_status=$?
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); }; }; then
31200 eval "$as_ac_var=yes"
31201 else
31202 echo "$as_me: failed program was:" >&5
31203 sed 's/^/| /' conftest.$ac_ext >&5
31204
31205 eval "$as_ac_var=no"
31206 fi
31207 rm -f conftest.err conftest.$ac_objext \
31208 conftest$ac_exeext conftest.$ac_ext
31209 fi
31210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31212 if test `eval echo '${'$as_ac_var'}'` = yes; then
31213 cat >>confdefs.h <<_ACEOF
31214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31215 _ACEOF
31216 cat >>confdefs.h <<\_ACEOF
31217 #define HAVE_NANOSLEEP 1
31218 _ACEOF
31219
31220 else
31221
31222 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31223 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31224 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31225 echo $ECHO_N "(cached) $ECHO_C" >&6
31226 else
31227 ac_check_lib_save_LIBS=$LIBS
31228 LIBS="-lposix4 $LIBS"
31229 cat >conftest.$ac_ext <<_ACEOF
31230 /* confdefs.h. */
31231 _ACEOF
31232 cat confdefs.h >>conftest.$ac_ext
31233 cat >>conftest.$ac_ext <<_ACEOF
31234 /* end confdefs.h. */
31235
31236 /* Override any gcc2 internal prototype to avoid an error. */
31237 #ifdef __cplusplus
31238 extern "C"
31239 #endif
31240 /* We use char because int might match the return type of a gcc2
31241 builtin and then its argument prototype would still apply. */
31242 char nanosleep ();
31243 int
31244 main ()
31245 {
31246 nanosleep ();
31247 ;
31248 return 0;
31249 }
31250 _ACEOF
31251 rm -f conftest.$ac_objext conftest$ac_exeext
31252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31253 (eval $ac_link) 2>conftest.er1
31254 ac_status=$?
31255 grep -v '^ *+' conftest.er1 >conftest.err
31256 rm -f conftest.er1
31257 cat conftest.err >&5
31258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31259 (exit $ac_status); } &&
31260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31262 (eval $ac_try) 2>&5
31263 ac_status=$?
31264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31265 (exit $ac_status); }; } &&
31266 { ac_try='test -s conftest$ac_exeext'
31267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31268 (eval $ac_try) 2>&5
31269 ac_status=$?
31270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31271 (exit $ac_status); }; }; then
31272 ac_cv_lib_posix4_nanosleep=yes
31273 else
31274 echo "$as_me: failed program was:" >&5
31275 sed 's/^/| /' conftest.$ac_ext >&5
31276
31277 ac_cv_lib_posix4_nanosleep=no
31278 fi
31279 rm -f conftest.err conftest.$ac_objext \
31280 conftest$ac_exeext conftest.$ac_ext
31281 LIBS=$ac_check_lib_save_LIBS
31282 fi
31283 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31284 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31285 if test $ac_cv_lib_posix4_nanosleep = yes; then
31286
31287 cat >>confdefs.h <<\_ACEOF
31288 #define HAVE_NANOSLEEP 1
31289 _ACEOF
31290
31291 POSIX4_LINK=" -lposix4"
31292
31293 else
31294
31295
31296 for ac_func in usleep
31297 do
31298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31299 echo "$as_me:$LINENO: checking for $ac_func" >&5
31300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31301 if eval "test \"\${$as_ac_var+set}\" = set"; then
31302 echo $ECHO_N "(cached) $ECHO_C" >&6
31303 else
31304 cat >conftest.$ac_ext <<_ACEOF
31305 /* confdefs.h. */
31306 _ACEOF
31307 cat confdefs.h >>conftest.$ac_ext
31308 cat >>conftest.$ac_ext <<_ACEOF
31309 /* end confdefs.h. */
31310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31312 #define $ac_func innocuous_$ac_func
31313
31314 /* System header to define __stub macros and hopefully few prototypes,
31315 which can conflict with char $ac_func (); below.
31316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31317 <limits.h> exists even on freestanding compilers. */
31318
31319 #ifdef __STDC__
31320 # include <limits.h>
31321 #else
31322 # include <assert.h>
31323 #endif
31324
31325 #undef $ac_func
31326
31327 /* Override any gcc2 internal prototype to avoid an error. */
31328 #ifdef __cplusplus
31329 extern "C"
31330 {
31331 #endif
31332 /* We use char because int might match the return type of a gcc2
31333 builtin and then its argument prototype would still apply. */
31334 char $ac_func ();
31335 /* The GNU C library defines this for functions which it implements
31336 to always fail with ENOSYS. Some functions are actually named
31337 something starting with __ and the normal name is an alias. */
31338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31339 choke me
31340 #else
31341 char (*f) () = $ac_func;
31342 #endif
31343 #ifdef __cplusplus
31344 }
31345 #endif
31346
31347 int
31348 main ()
31349 {
31350 return f != $ac_func;
31351 ;
31352 return 0;
31353 }
31354 _ACEOF
31355 rm -f conftest.$ac_objext conftest$ac_exeext
31356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31357 (eval $ac_link) 2>conftest.er1
31358 ac_status=$?
31359 grep -v '^ *+' conftest.er1 >conftest.err
31360 rm -f conftest.er1
31361 cat conftest.err >&5
31362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363 (exit $ac_status); } &&
31364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31366 (eval $ac_try) 2>&5
31367 ac_status=$?
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); }; } &&
31370 { ac_try='test -s conftest$ac_exeext'
31371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31372 (eval $ac_try) 2>&5
31373 ac_status=$?
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); }; }; then
31376 eval "$as_ac_var=yes"
31377 else
31378 echo "$as_me: failed program was:" >&5
31379 sed 's/^/| /' conftest.$ac_ext >&5
31380
31381 eval "$as_ac_var=no"
31382 fi
31383 rm -f conftest.err conftest.$ac_objext \
31384 conftest$ac_exeext conftest.$ac_ext
31385 fi
31386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31388 if test `eval echo '${'$as_ac_var'}'` = yes; then
31389 cat >>confdefs.h <<_ACEOF
31390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31391 _ACEOF
31392 cat >>confdefs.h <<\_ACEOF
31393 #define HAVE_USLEEP 1
31394 _ACEOF
31395
31396 else
31397 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31398 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31399
31400 fi
31401 done
31402
31403
31404
31405 fi
31406
31407
31408
31409 fi
31410 done
31411
31412 fi
31413
31414
31415
31416 for ac_func in uname gethostname
31417 do
31418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31419 echo "$as_me:$LINENO: checking for $ac_func" >&5
31420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31421 if eval "test \"\${$as_ac_var+set}\" = set"; then
31422 echo $ECHO_N "(cached) $ECHO_C" >&6
31423 else
31424 cat >conftest.$ac_ext <<_ACEOF
31425 /* confdefs.h. */
31426 _ACEOF
31427 cat confdefs.h >>conftest.$ac_ext
31428 cat >>conftest.$ac_ext <<_ACEOF
31429 /* end confdefs.h. */
31430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31432 #define $ac_func innocuous_$ac_func
31433
31434 /* System header to define __stub macros and hopefully few prototypes,
31435 which can conflict with char $ac_func (); below.
31436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31437 <limits.h> exists even on freestanding compilers. */
31438
31439 #ifdef __STDC__
31440 # include <limits.h>
31441 #else
31442 # include <assert.h>
31443 #endif
31444
31445 #undef $ac_func
31446
31447 /* Override any gcc2 internal prototype to avoid an error. */
31448 #ifdef __cplusplus
31449 extern "C"
31450 {
31451 #endif
31452 /* We use char because int might match the return type of a gcc2
31453 builtin and then its argument prototype would still apply. */
31454 char $ac_func ();
31455 /* The GNU C library defines this for functions which it implements
31456 to always fail with ENOSYS. Some functions are actually named
31457 something starting with __ and the normal name is an alias. */
31458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31459 choke me
31460 #else
31461 char (*f) () = $ac_func;
31462 #endif
31463 #ifdef __cplusplus
31464 }
31465 #endif
31466
31467 int
31468 main ()
31469 {
31470 return f != $ac_func;
31471 ;
31472 return 0;
31473 }
31474 _ACEOF
31475 rm -f conftest.$ac_objext conftest$ac_exeext
31476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31477 (eval $ac_link) 2>conftest.er1
31478 ac_status=$?
31479 grep -v '^ *+' conftest.er1 >conftest.err
31480 rm -f conftest.er1
31481 cat conftest.err >&5
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); } &&
31484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31486 (eval $ac_try) 2>&5
31487 ac_status=$?
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); }; } &&
31490 { ac_try='test -s conftest$ac_exeext'
31491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31492 (eval $ac_try) 2>&5
31493 ac_status=$?
31494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31495 (exit $ac_status); }; }; then
31496 eval "$as_ac_var=yes"
31497 else
31498 echo "$as_me: failed program was:" >&5
31499 sed 's/^/| /' conftest.$ac_ext >&5
31500
31501 eval "$as_ac_var=no"
31502 fi
31503 rm -f conftest.err conftest.$ac_objext \
31504 conftest$ac_exeext conftest.$ac_ext
31505 fi
31506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31508 if test `eval echo '${'$as_ac_var'}'` = yes; then
31509 cat >>confdefs.h <<_ACEOF
31510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31511 _ACEOF
31512 break
31513 fi
31514 done
31515
31516
31517
31518
31519 ac_ext=cc
31520 ac_cpp='$CXXCPP $CPPFLAGS'
31521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31524
31525
31526
31527 for ac_func in strtok_r
31528 do
31529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31530 echo "$as_me:$LINENO: checking for $ac_func" >&5
31531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31532 if eval "test \"\${$as_ac_var+set}\" = set"; then
31533 echo $ECHO_N "(cached) $ECHO_C" >&6
31534 else
31535 cat >conftest.$ac_ext <<_ACEOF
31536 /* confdefs.h. */
31537 _ACEOF
31538 cat confdefs.h >>conftest.$ac_ext
31539 cat >>conftest.$ac_ext <<_ACEOF
31540 /* end confdefs.h. */
31541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31543 #define $ac_func innocuous_$ac_func
31544
31545 /* System header to define __stub macros and hopefully few prototypes,
31546 which can conflict with char $ac_func (); below.
31547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31548 <limits.h> exists even on freestanding compilers. */
31549
31550 #ifdef __STDC__
31551 # include <limits.h>
31552 #else
31553 # include <assert.h>
31554 #endif
31555
31556 #undef $ac_func
31557
31558 /* Override any gcc2 internal prototype to avoid an error. */
31559 #ifdef __cplusplus
31560 extern "C"
31561 {
31562 #endif
31563 /* We use char because int might match the return type of a gcc2
31564 builtin and then its argument prototype would still apply. */
31565 char $ac_func ();
31566 /* The GNU C library defines this for functions which it implements
31567 to always fail with ENOSYS. Some functions are actually named
31568 something starting with __ and the normal name is an alias. */
31569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31570 choke me
31571 #else
31572 char (*f) () = $ac_func;
31573 #endif
31574 #ifdef __cplusplus
31575 }
31576 #endif
31577
31578 int
31579 main ()
31580 {
31581 return f != $ac_func;
31582 ;
31583 return 0;
31584 }
31585 _ACEOF
31586 rm -f conftest.$ac_objext conftest$ac_exeext
31587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31588 (eval $ac_link) 2>conftest.er1
31589 ac_status=$?
31590 grep -v '^ *+' conftest.er1 >conftest.err
31591 rm -f conftest.er1
31592 cat conftest.err >&5
31593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31594 (exit $ac_status); } &&
31595 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31597 (eval $ac_try) 2>&5
31598 ac_status=$?
31599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31600 (exit $ac_status); }; } &&
31601 { ac_try='test -s conftest$ac_exeext'
31602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31603 (eval $ac_try) 2>&5
31604 ac_status=$?
31605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31606 (exit $ac_status); }; }; then
31607 eval "$as_ac_var=yes"
31608 else
31609 echo "$as_me: failed program was:" >&5
31610 sed 's/^/| /' conftest.$ac_ext >&5
31611
31612 eval "$as_ac_var=no"
31613 fi
31614 rm -f conftest.err conftest.$ac_objext \
31615 conftest$ac_exeext conftest.$ac_ext
31616 fi
31617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31619 if test `eval echo '${'$as_ac_var'}'` = yes; then
31620 cat >>confdefs.h <<_ACEOF
31621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31622 _ACEOF
31623
31624 fi
31625 done
31626
31627
31628 ac_ext=c
31629 ac_cpp='$CPP $CPPFLAGS'
31630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31633
31634
31635 INET_LINK=
31636
31637 for ac_func in inet_addr
31638 do
31639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31640 echo "$as_me:$LINENO: checking for $ac_func" >&5
31641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31642 if eval "test \"\${$as_ac_var+set}\" = set"; then
31643 echo $ECHO_N "(cached) $ECHO_C" >&6
31644 else
31645 cat >conftest.$ac_ext <<_ACEOF
31646 /* confdefs.h. */
31647 _ACEOF
31648 cat confdefs.h >>conftest.$ac_ext
31649 cat >>conftest.$ac_ext <<_ACEOF
31650 /* end confdefs.h. */
31651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31653 #define $ac_func innocuous_$ac_func
31654
31655 /* System header to define __stub macros and hopefully few prototypes,
31656 which can conflict with char $ac_func (); below.
31657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31658 <limits.h> exists even on freestanding compilers. */
31659
31660 #ifdef __STDC__
31661 # include <limits.h>
31662 #else
31663 # include <assert.h>
31664 #endif
31665
31666 #undef $ac_func
31667
31668 /* Override any gcc2 internal prototype to avoid an error. */
31669 #ifdef __cplusplus
31670 extern "C"
31671 {
31672 #endif
31673 /* We use char because int might match the return type of a gcc2
31674 builtin and then its argument prototype would still apply. */
31675 char $ac_func ();
31676 /* The GNU C library defines this for functions which it implements
31677 to always fail with ENOSYS. Some functions are actually named
31678 something starting with __ and the normal name is an alias. */
31679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31680 choke me
31681 #else
31682 char (*f) () = $ac_func;
31683 #endif
31684 #ifdef __cplusplus
31685 }
31686 #endif
31687
31688 int
31689 main ()
31690 {
31691 return f != $ac_func;
31692 ;
31693 return 0;
31694 }
31695 _ACEOF
31696 rm -f conftest.$ac_objext conftest$ac_exeext
31697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31698 (eval $ac_link) 2>conftest.er1
31699 ac_status=$?
31700 grep -v '^ *+' conftest.er1 >conftest.err
31701 rm -f conftest.er1
31702 cat conftest.err >&5
31703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31704 (exit $ac_status); } &&
31705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31707 (eval $ac_try) 2>&5
31708 ac_status=$?
31709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31710 (exit $ac_status); }; } &&
31711 { ac_try='test -s conftest$ac_exeext'
31712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31713 (eval $ac_try) 2>&5
31714 ac_status=$?
31715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 (exit $ac_status); }; }; then
31717 eval "$as_ac_var=yes"
31718 else
31719 echo "$as_me: failed program was:" >&5
31720 sed 's/^/| /' conftest.$ac_ext >&5
31721
31722 eval "$as_ac_var=no"
31723 fi
31724 rm -f conftest.err conftest.$ac_objext \
31725 conftest$ac_exeext conftest.$ac_ext
31726 fi
31727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31729 if test `eval echo '${'$as_ac_var'}'` = yes; then
31730 cat >>confdefs.h <<_ACEOF
31731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31732 _ACEOF
31733 cat >>confdefs.h <<\_ACEOF
31734 #define HAVE_INET_ADDR 1
31735 _ACEOF
31736
31737 else
31738
31739 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31740 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31741 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31742 echo $ECHO_N "(cached) $ECHO_C" >&6
31743 else
31744 ac_check_lib_save_LIBS=$LIBS
31745 LIBS="-lnsl $LIBS"
31746 cat >conftest.$ac_ext <<_ACEOF
31747 /* confdefs.h. */
31748 _ACEOF
31749 cat confdefs.h >>conftest.$ac_ext
31750 cat >>conftest.$ac_ext <<_ACEOF
31751 /* end confdefs.h. */
31752
31753 /* Override any gcc2 internal prototype to avoid an error. */
31754 #ifdef __cplusplus
31755 extern "C"
31756 #endif
31757 /* We use char because int might match the return type of a gcc2
31758 builtin and then its argument prototype would still apply. */
31759 char inet_addr ();
31760 int
31761 main ()
31762 {
31763 inet_addr ();
31764 ;
31765 return 0;
31766 }
31767 _ACEOF
31768 rm -f conftest.$ac_objext conftest$ac_exeext
31769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31770 (eval $ac_link) 2>conftest.er1
31771 ac_status=$?
31772 grep -v '^ *+' conftest.er1 >conftest.err
31773 rm -f conftest.er1
31774 cat conftest.err >&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } &&
31777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31779 (eval $ac_try) 2>&5
31780 ac_status=$?
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); }; } &&
31783 { ac_try='test -s conftest$ac_exeext'
31784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31785 (eval $ac_try) 2>&5
31786 ac_status=$?
31787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31788 (exit $ac_status); }; }; then
31789 ac_cv_lib_nsl_inet_addr=yes
31790 else
31791 echo "$as_me: failed program was:" >&5
31792 sed 's/^/| /' conftest.$ac_ext >&5
31793
31794 ac_cv_lib_nsl_inet_addr=no
31795 fi
31796 rm -f conftest.err conftest.$ac_objext \
31797 conftest$ac_exeext conftest.$ac_ext
31798 LIBS=$ac_check_lib_save_LIBS
31799 fi
31800 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31801 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31802 if test $ac_cv_lib_nsl_inet_addr = yes; then
31803 INET_LINK="nsl"
31804 else
31805
31806 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31807 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31808 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31809 echo $ECHO_N "(cached) $ECHO_C" >&6
31810 else
31811 ac_check_lib_save_LIBS=$LIBS
31812 LIBS="-lresolv $LIBS"
31813 cat >conftest.$ac_ext <<_ACEOF
31814 /* confdefs.h. */
31815 _ACEOF
31816 cat confdefs.h >>conftest.$ac_ext
31817 cat >>conftest.$ac_ext <<_ACEOF
31818 /* end confdefs.h. */
31819
31820 /* Override any gcc2 internal prototype to avoid an error. */
31821 #ifdef __cplusplus
31822 extern "C"
31823 #endif
31824 /* We use char because int might match the return type of a gcc2
31825 builtin and then its argument prototype would still apply. */
31826 char inet_addr ();
31827 int
31828 main ()
31829 {
31830 inet_addr ();
31831 ;
31832 return 0;
31833 }
31834 _ACEOF
31835 rm -f conftest.$ac_objext conftest$ac_exeext
31836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31837 (eval $ac_link) 2>conftest.er1
31838 ac_status=$?
31839 grep -v '^ *+' conftest.er1 >conftest.err
31840 rm -f conftest.er1
31841 cat conftest.err >&5
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); } &&
31844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31846 (eval $ac_try) 2>&5
31847 ac_status=$?
31848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 (exit $ac_status); }; } &&
31850 { ac_try='test -s conftest$ac_exeext'
31851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31852 (eval $ac_try) 2>&5
31853 ac_status=$?
31854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31855 (exit $ac_status); }; }; then
31856 ac_cv_lib_resolv_inet_addr=yes
31857 else
31858 echo "$as_me: failed program was:" >&5
31859 sed 's/^/| /' conftest.$ac_ext >&5
31860
31861 ac_cv_lib_resolv_inet_addr=no
31862 fi
31863 rm -f conftest.err conftest.$ac_objext \
31864 conftest$ac_exeext conftest.$ac_ext
31865 LIBS=$ac_check_lib_save_LIBS
31866 fi
31867 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31868 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31869 if test $ac_cv_lib_resolv_inet_addr = yes; then
31870 INET_LINK="resolv"
31871 else
31872
31873 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31874 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31875 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31876 echo $ECHO_N "(cached) $ECHO_C" >&6
31877 else
31878 ac_check_lib_save_LIBS=$LIBS
31879 LIBS="-lsocket $LIBS"
31880 cat >conftest.$ac_ext <<_ACEOF
31881 /* confdefs.h. */
31882 _ACEOF
31883 cat confdefs.h >>conftest.$ac_ext
31884 cat >>conftest.$ac_ext <<_ACEOF
31885 /* end confdefs.h. */
31886
31887 /* Override any gcc2 internal prototype to avoid an error. */
31888 #ifdef __cplusplus
31889 extern "C"
31890 #endif
31891 /* We use char because int might match the return type of a gcc2
31892 builtin and then its argument prototype would still apply. */
31893 char inet_addr ();
31894 int
31895 main ()
31896 {
31897 inet_addr ();
31898 ;
31899 return 0;
31900 }
31901 _ACEOF
31902 rm -f conftest.$ac_objext conftest$ac_exeext
31903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31904 (eval $ac_link) 2>conftest.er1
31905 ac_status=$?
31906 grep -v '^ *+' conftest.er1 >conftest.err
31907 rm -f conftest.er1
31908 cat conftest.err >&5
31909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31910 (exit $ac_status); } &&
31911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31913 (eval $ac_try) 2>&5
31914 ac_status=$?
31915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916 (exit $ac_status); }; } &&
31917 { ac_try='test -s conftest$ac_exeext'
31918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31919 (eval $ac_try) 2>&5
31920 ac_status=$?
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); }; }; then
31923 ac_cv_lib_socket_inet_addr=yes
31924 else
31925 echo "$as_me: failed program was:" >&5
31926 sed 's/^/| /' conftest.$ac_ext >&5
31927
31928 ac_cv_lib_socket_inet_addr=no
31929 fi
31930 rm -f conftest.err conftest.$ac_objext \
31931 conftest$ac_exeext conftest.$ac_ext
31932 LIBS=$ac_check_lib_save_LIBS
31933 fi
31934 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31935 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31936 if test $ac_cv_lib_socket_inet_addr = yes; then
31937 INET_LINK="socket"
31938
31939 fi
31940
31941
31942
31943 fi
31944
31945
31946
31947 fi
31948
31949
31950
31951 fi
31952 done
31953
31954
31955
31956 for ac_func in inet_aton
31957 do
31958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31959 echo "$as_me:$LINENO: checking for $ac_func" >&5
31960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31961 if eval "test \"\${$as_ac_var+set}\" = set"; then
31962 echo $ECHO_N "(cached) $ECHO_C" >&6
31963 else
31964 cat >conftest.$ac_ext <<_ACEOF
31965 /* confdefs.h. */
31966 _ACEOF
31967 cat confdefs.h >>conftest.$ac_ext
31968 cat >>conftest.$ac_ext <<_ACEOF
31969 /* end confdefs.h. */
31970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31972 #define $ac_func innocuous_$ac_func
31973
31974 /* System header to define __stub macros and hopefully few prototypes,
31975 which can conflict with char $ac_func (); below.
31976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31977 <limits.h> exists even on freestanding compilers. */
31978
31979 #ifdef __STDC__
31980 # include <limits.h>
31981 #else
31982 # include <assert.h>
31983 #endif
31984
31985 #undef $ac_func
31986
31987 /* Override any gcc2 internal prototype to avoid an error. */
31988 #ifdef __cplusplus
31989 extern "C"
31990 {
31991 #endif
31992 /* We use char because int might match the return type of a gcc2
31993 builtin and then its argument prototype would still apply. */
31994 char $ac_func ();
31995 /* The GNU C library defines this for functions which it implements
31996 to always fail with ENOSYS. Some functions are actually named
31997 something starting with __ and the normal name is an alias. */
31998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31999 choke me
32000 #else
32001 char (*f) () = $ac_func;
32002 #endif
32003 #ifdef __cplusplus
32004 }
32005 #endif
32006
32007 int
32008 main ()
32009 {
32010 return f != $ac_func;
32011 ;
32012 return 0;
32013 }
32014 _ACEOF
32015 rm -f conftest.$ac_objext conftest$ac_exeext
32016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32017 (eval $ac_link) 2>conftest.er1
32018 ac_status=$?
32019 grep -v '^ *+' conftest.er1 >conftest.err
32020 rm -f conftest.er1
32021 cat conftest.err >&5
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); } &&
32024 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32026 (eval $ac_try) 2>&5
32027 ac_status=$?
32028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32029 (exit $ac_status); }; } &&
32030 { ac_try='test -s conftest$ac_exeext'
32031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32032 (eval $ac_try) 2>&5
32033 ac_status=$?
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); }; }; then
32036 eval "$as_ac_var=yes"
32037 else
32038 echo "$as_me: failed program was:" >&5
32039 sed 's/^/| /' conftest.$ac_ext >&5
32040
32041 eval "$as_ac_var=no"
32042 fi
32043 rm -f conftest.err conftest.$ac_objext \
32044 conftest$ac_exeext conftest.$ac_ext
32045 fi
32046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32048 if test `eval echo '${'$as_ac_var'}'` = yes; then
32049 cat >>confdefs.h <<_ACEOF
32050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32051 _ACEOF
32052 cat >>confdefs.h <<\_ACEOF
32053 #define HAVE_INET_ATON 1
32054 _ACEOF
32055
32056 else
32057
32058 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
32059 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
32060 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
32061 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
32062 echo $ECHO_N "(cached) $ECHO_C" >&6
32063 else
32064 ac_check_lib_save_LIBS=$LIBS
32065 LIBS="-l$INET_LINK $LIBS"
32066 cat >conftest.$ac_ext <<_ACEOF
32067 /* confdefs.h. */
32068 _ACEOF
32069 cat confdefs.h >>conftest.$ac_ext
32070 cat >>conftest.$ac_ext <<_ACEOF
32071 /* end confdefs.h. */
32072
32073 /* Override any gcc2 internal prototype to avoid an error. */
32074 #ifdef __cplusplus
32075 extern "C"
32076 #endif
32077 /* We use char because int might match the return type of a gcc2
32078 builtin and then its argument prototype would still apply. */
32079 char inet_aton ();
32080 int
32081 main ()
32082 {
32083 inet_aton ();
32084 ;
32085 return 0;
32086 }
32087 _ACEOF
32088 rm -f conftest.$ac_objext conftest$ac_exeext
32089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32090 (eval $ac_link) 2>conftest.er1
32091 ac_status=$?
32092 grep -v '^ *+' conftest.er1 >conftest.err
32093 rm -f conftest.er1
32094 cat conftest.err >&5
32095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096 (exit $ac_status); } &&
32097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32099 (eval $ac_try) 2>&5
32100 ac_status=$?
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); }; } &&
32103 { ac_try='test -s conftest$ac_exeext'
32104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32105 (eval $ac_try) 2>&5
32106 ac_status=$?
32107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32108 (exit $ac_status); }; }; then
32109 eval "$as_ac_Lib=yes"
32110 else
32111 echo "$as_me: failed program was:" >&5
32112 sed 's/^/| /' conftest.$ac_ext >&5
32113
32114 eval "$as_ac_Lib=no"
32115 fi
32116 rm -f conftest.err conftest.$ac_objext \
32117 conftest$ac_exeext conftest.$ac_ext
32118 LIBS=$ac_check_lib_save_LIBS
32119 fi
32120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
32121 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
32122 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
32123 cat >>confdefs.h <<\_ACEOF
32124 #define HAVE_INET_ATON 1
32125 _ACEOF
32126
32127 fi
32128
32129
32130 fi
32131 done
32132
32133
32134 if test "x$INET_LINK" != "x"; then
32135 cat >>confdefs.h <<\_ACEOF
32136 #define HAVE_INET_ADDR 1
32137 _ACEOF
32138
32139 INET_LINK=" -l$INET_LINK"
32140 fi
32141
32142 fi
32143
32144
32145
32146 EXTRALIBS_ESD=
32147 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32148 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32149 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32150 echo $ECHO_N "(cached) $ECHO_C" >&6
32151 else
32152 ac_check_lib_save_LIBS=$LIBS
32153 LIBS="-lesd $LIBS"
32154 cat >conftest.$ac_ext <<_ACEOF
32155 /* confdefs.h. */
32156 _ACEOF
32157 cat confdefs.h >>conftest.$ac_ext
32158 cat >>conftest.$ac_ext <<_ACEOF
32159 /* end confdefs.h. */
32160
32161 /* Override any gcc2 internal prototype to avoid an error. */
32162 #ifdef __cplusplus
32163 extern "C"
32164 #endif
32165 /* We use char because int might match the return type of a gcc2
32166 builtin and then its argument prototype would still apply. */
32167 char esd_close ();
32168 int
32169 main ()
32170 {
32171 esd_close ();
32172 ;
32173 return 0;
32174 }
32175 _ACEOF
32176 rm -f conftest.$ac_objext conftest$ac_exeext
32177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32178 (eval $ac_link) 2>conftest.er1
32179 ac_status=$?
32180 grep -v '^ *+' conftest.er1 >conftest.err
32181 rm -f conftest.er1
32182 cat conftest.err >&5
32183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184 (exit $ac_status); } &&
32185 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32187 (eval $ac_try) 2>&5
32188 ac_status=$?
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); }; } &&
32191 { ac_try='test -s conftest$ac_exeext'
32192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32193 (eval $ac_try) 2>&5
32194 ac_status=$?
32195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32196 (exit $ac_status); }; }; then
32197 ac_cv_lib_esd_esd_close=yes
32198 else
32199 echo "$as_me: failed program was:" >&5
32200 sed 's/^/| /' conftest.$ac_ext >&5
32201
32202 ac_cv_lib_esd_esd_close=no
32203 fi
32204 rm -f conftest.err conftest.$ac_objext \
32205 conftest$ac_exeext conftest.$ac_ext
32206 LIBS=$ac_check_lib_save_LIBS
32207 fi
32208 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32209 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32210 if test $ac_cv_lib_esd_esd_close = yes; then
32211
32212
32213 for ac_header in esd.h
32214 do
32215 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32217 echo "$as_me:$LINENO: checking for $ac_header" >&5
32218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32220 echo $ECHO_N "(cached) $ECHO_C" >&6
32221 fi
32222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32224 else
32225 # Is the header compilable?
32226 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32227 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32228 cat >conftest.$ac_ext <<_ACEOF
32229 /* confdefs.h. */
32230 _ACEOF
32231 cat confdefs.h >>conftest.$ac_ext
32232 cat >>conftest.$ac_ext <<_ACEOF
32233 /* end confdefs.h. */
32234 $ac_includes_default
32235 #include <$ac_header>
32236 _ACEOF
32237 rm -f conftest.$ac_objext
32238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32239 (eval $ac_compile) 2>conftest.er1
32240 ac_status=$?
32241 grep -v '^ *+' conftest.er1 >conftest.err
32242 rm -f conftest.er1
32243 cat conftest.err >&5
32244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32245 (exit $ac_status); } &&
32246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32248 (eval $ac_try) 2>&5
32249 ac_status=$?
32250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32251 (exit $ac_status); }; } &&
32252 { ac_try='test -s conftest.$ac_objext'
32253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32254 (eval $ac_try) 2>&5
32255 ac_status=$?
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); }; }; then
32258 ac_header_compiler=yes
32259 else
32260 echo "$as_me: failed program was:" >&5
32261 sed 's/^/| /' conftest.$ac_ext >&5
32262
32263 ac_header_compiler=no
32264 fi
32265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32266 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32267 echo "${ECHO_T}$ac_header_compiler" >&6
32268
32269 # Is the header present?
32270 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32271 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32272 cat >conftest.$ac_ext <<_ACEOF
32273 /* confdefs.h. */
32274 _ACEOF
32275 cat confdefs.h >>conftest.$ac_ext
32276 cat >>conftest.$ac_ext <<_ACEOF
32277 /* end confdefs.h. */
32278 #include <$ac_header>
32279 _ACEOF
32280 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32281 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32282 ac_status=$?
32283 grep -v '^ *+' conftest.er1 >conftest.err
32284 rm -f conftest.er1
32285 cat conftest.err >&5
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); } >/dev/null; then
32288 if test -s conftest.err; then
32289 ac_cpp_err=$ac_c_preproc_warn_flag
32290 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32291 else
32292 ac_cpp_err=
32293 fi
32294 else
32295 ac_cpp_err=yes
32296 fi
32297 if test -z "$ac_cpp_err"; then
32298 ac_header_preproc=yes
32299 else
32300 echo "$as_me: failed program was:" >&5
32301 sed 's/^/| /' conftest.$ac_ext >&5
32302
32303 ac_header_preproc=no
32304 fi
32305 rm -f conftest.err conftest.$ac_ext
32306 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32307 echo "${ECHO_T}$ac_header_preproc" >&6
32308
32309 # So? What about this header?
32310 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32311 yes:no: )
32312 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32313 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32314 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32315 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32316 ac_header_preproc=yes
32317 ;;
32318 no:yes:* )
32319 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32320 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32321 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32322 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32323 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32324 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32325 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32326 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32328 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32329 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32330 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32331 (
32332 cat <<\_ASBOX
32333 ## ----------------------------------------- ##
32334 ## Report this to wx-dev@lists.wxwidgets.org ##
32335 ## ----------------------------------------- ##
32336 _ASBOX
32337 ) |
32338 sed "s/^/$as_me: WARNING: /" >&2
32339 ;;
32340 esac
32341 echo "$as_me:$LINENO: checking for $ac_header" >&5
32342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32344 echo $ECHO_N "(cached) $ECHO_C" >&6
32345 else
32346 eval "$as_ac_Header=\$ac_header_preproc"
32347 fi
32348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32350
32351 fi
32352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32353 cat >>confdefs.h <<_ACEOF
32354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32355 _ACEOF
32356
32357 EXTRALIBS_ESD="-lesd"
32358
32359 fi
32360
32361 done
32362
32363
32364 fi
32365
32366
32367
32368 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32369 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32370 cat >conftest.$ac_ext <<_ACEOF
32371 /* confdefs.h. */
32372 _ACEOF
32373 cat confdefs.h >>conftest.$ac_ext
32374 cat >>conftest.$ac_ext <<_ACEOF
32375 /* end confdefs.h. */
32376 #ifdef __linux__
32377 #include <linux/cdrom.h>
32378 #else
32379 /* For Solaris */
32380 #include <sys/cdio.h>
32381 #endif
32382
32383 int
32384 main ()
32385 {
32386 struct cdrom_tocentry entry, old_entry;
32387 ;
32388 return 0;
32389 }
32390 _ACEOF
32391 rm -f conftest.$ac_objext
32392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32393 (eval $ac_compile) 2>conftest.er1
32394 ac_status=$?
32395 grep -v '^ *+' conftest.er1 >conftest.err
32396 rm -f conftest.er1
32397 cat conftest.err >&5
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); } &&
32400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32402 (eval $ac_try) 2>&5
32403 ac_status=$?
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); }; } &&
32406 { ac_try='test -s conftest.$ac_objext'
32407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32408 (eval $ac_try) 2>&5
32409 ac_status=$?
32410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411 (exit $ac_status); }; }; then
32412 echo "$as_me:$LINENO: result: yes" >&5
32413 echo "${ECHO_T}yes" >&6
32414 cat >>confdefs.h <<\_ACEOF
32415 #define HAVE_KNOWN_CDROM_INTERFACE 1
32416 _ACEOF
32417
32418 else
32419 echo "$as_me: failed program was:" >&5
32420 sed 's/^/| /' conftest.$ac_ext >&5
32421
32422 echo "$as_me:$LINENO: result: no" >&5
32423 echo "${ECHO_T}no" >&6
32424 fi
32425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32426
32427
32428 cat >confcache <<\_ACEOF
32429 # This file is a shell script that caches the results of configure
32430 # tests run on this system so they can be shared between configure
32431 # scripts and configure runs, see configure's option --config-cache.
32432 # It is not useful on other systems. If it contains results you don't
32433 # want to keep, you may remove or edit it.
32434 #
32435 # config.status only pays attention to the cache file if you give it
32436 # the --recheck option to rerun configure.
32437 #
32438 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32439 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32440 # following values.
32441
32442 _ACEOF
32443
32444 # The following way of writing the cache mishandles newlines in values,
32445 # but we know of no workaround that is simple, portable, and efficient.
32446 # So, don't put newlines in cache variables' values.
32447 # Ultrix sh set writes to stderr and can't be redirected directly,
32448 # and sets the high bit in the cache file unless we assign to the vars.
32449 {
32450 (set) 2>&1 |
32451 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32452 *ac_space=\ *)
32453 # `set' does not quote correctly, so add quotes (double-quote
32454 # substitution turns \\\\ into \\, and sed turns \\ into \).
32455 sed -n \
32456 "s/'/'\\\\''/g;
32457 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32458 ;;
32459 *)
32460 # `set' quotes correctly as required by POSIX, so do not add quotes.
32461 sed -n \
32462 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32463 ;;
32464 esac;
32465 } |
32466 sed '
32467 t clear
32468 : clear
32469 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32470 t end
32471 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32472 : end' >>confcache
32473 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32474 if test -w $cache_file; then
32475 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32476 cat confcache >$cache_file
32477 else
32478 echo "not updating unwritable cache $cache_file"
32479 fi
32480 fi
32481 rm -f confcache
32482
32483
32484 CPP_MT_FLAG=
32485 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32486
32487
32488 THREADS_LINK=
32489 THREADS_CFLAGS=
32490
32491 if test "$wxUSE_THREADS" = "yes" ; then
32492 if test "$USE_BEOS" = 1; then
32493 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32494 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32495 wxUSE_THREADS="no"
32496 fi
32497 fi
32498
32499 if test "$wxUSE_THREADS" = "yes" ; then
32500
32501
32502 THREAD_OPTS="-pthread"
32503 case "${host}" in
32504 *-*-solaris2* | *-*-sunos4* )
32505 if test "x$GCC" = "xyes"; then
32506 THREAD_OPTS="-pthreads $THREAD_OPTS"
32507 else
32508 THREAD_OPTS="-mt $THREAD_OPTS"
32509 fi
32510 ;;
32511 *-*-freebsd*)
32512 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
32513 ;;
32514 *-*-darwin* | *-*-cygwin* )
32515 THREAD_OPTS=""
32516 ;;
32517 *-*-aix*)
32518 THREAD_OPTS="pthreads"
32519 ;;
32520 *-hp-hpux* )
32521 if test "x$GCC" != "xyes"; then
32522 THREAD_OPTS=""
32523 fi
32524 ;;
32525
32526 *-*-irix* )
32527 if test "x$GCC" = "xyes"; then
32528 THREAD_OPTS=""
32529 fi
32530 ;;
32531
32532 *-*-*UnixWare*)
32533 if test "x$GCC" != "xyes"; then
32534 THREAD_OPTS="-Ethread"
32535 fi
32536 ;;
32537 esac
32538
32539 THREAD_OPTS="$THREAD_OPTS pthread none"
32540
32541 THREADS_OK=no
32542 for flag in $THREAD_OPTS; do
32543 case $flag in
32544 none)
32545 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32546 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32547 ;;
32548
32549 -*)
32550 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32551 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32552 THREADS_CFLAGS="$flag"
32553 ;;
32554
32555 *)
32556 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32557 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32558 THREADS_LINK="-l$flag"
32559 ;;
32560 esac
32561
32562 save_LIBS="$LIBS"
32563 save_CFLAGS="$CFLAGS"
32564 LIBS="$THREADS_LINK $LIBS"
32565 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32566
32567 cat >conftest.$ac_ext <<_ACEOF
32568 /* confdefs.h. */
32569 _ACEOF
32570 cat confdefs.h >>conftest.$ac_ext
32571 cat >>conftest.$ac_ext <<_ACEOF
32572 /* end confdefs.h. */
32573 #include <pthread.h>
32574 int
32575 main ()
32576 {
32577 pthread_create(0,0,0,0);
32578 ;
32579 return 0;
32580 }
32581 _ACEOF
32582 rm -f conftest.$ac_objext conftest$ac_exeext
32583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32584 (eval $ac_link) 2>conftest.er1
32585 ac_status=$?
32586 grep -v '^ *+' conftest.er1 >conftest.err
32587 rm -f conftest.er1
32588 cat conftest.err >&5
32589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590 (exit $ac_status); } &&
32591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32593 (eval $ac_try) 2>&5
32594 ac_status=$?
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); }; } &&
32597 { ac_try='test -s conftest$ac_exeext'
32598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32599 (eval $ac_try) 2>&5
32600 ac_status=$?
32601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32602 (exit $ac_status); }; }; then
32603 THREADS_OK=yes
32604 else
32605 echo "$as_me: failed program was:" >&5
32606 sed 's/^/| /' conftest.$ac_ext >&5
32607
32608 fi
32609 rm -f conftest.err conftest.$ac_objext \
32610 conftest$ac_exeext conftest.$ac_ext
32611
32612 LIBS="$save_LIBS"
32613 CFLAGS="$save_CFLAGS"
32614
32615 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32616 echo "${ECHO_T}$THREADS_OK" >&6
32617 if test "x$THREADS_OK" = "xyes"; then
32618 break;
32619 fi
32620
32621 THREADS_LINK=""
32622 THREADS_CFLAGS=""
32623 done
32624
32625 if test "x$THREADS_OK" != "xyes"; then
32626 wxUSE_THREADS=no
32627 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32628 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32629 else
32630 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32631 LIBS="$THREADS_LINK $LIBS"
32632
32633 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32634 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32635 flag=no
32636 case "${host}" in
32637 *-aix*)
32638 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32639 flag="-D_THREAD_SAFE"
32640 ;;
32641 *-freebsd*)
32642 flag="-D_THREAD_SAFE"
32643 ;;
32644 *-hp-hpux* )
32645 flag="-D_REENTRANT"
32646 if test "x$GCC" != "xyes"; then
32647 flag="$flag -D_RWSTD_MULTI_THREAD"
32648 fi
32649 ;;
32650 *solaris* | alpha*-osf*)
32651 flag="-D_REENTRANT"
32652 ;;
32653 esac
32654 echo "$as_me:$LINENO: result: ${flag}" >&5
32655 echo "${ECHO_T}${flag}" >&6
32656 if test "x$flag" != xno; then
32657 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32658 fi
32659
32660 if test "x$THREADS_CFLAGS" != "x"; then
32661 CFLAGS="$CFLAGS $THREADS_CFLAGS"
32662 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
32663 fi
32664 fi
32665 fi
32666
32667 if test "$wxUSE_THREADS" = "yes" ; then
32668
32669 for ac_func in thr_setconcurrency
32670 do
32671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32672 echo "$as_me:$LINENO: checking for $ac_func" >&5
32673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32674 if eval "test \"\${$as_ac_var+set}\" = set"; then
32675 echo $ECHO_N "(cached) $ECHO_C" >&6
32676 else
32677 cat >conftest.$ac_ext <<_ACEOF
32678 /* confdefs.h. */
32679 _ACEOF
32680 cat confdefs.h >>conftest.$ac_ext
32681 cat >>conftest.$ac_ext <<_ACEOF
32682 /* end confdefs.h. */
32683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32685 #define $ac_func innocuous_$ac_func
32686
32687 /* System header to define __stub macros and hopefully few prototypes,
32688 which can conflict with char $ac_func (); below.
32689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32690 <limits.h> exists even on freestanding compilers. */
32691
32692 #ifdef __STDC__
32693 # include <limits.h>
32694 #else
32695 # include <assert.h>
32696 #endif
32697
32698 #undef $ac_func
32699
32700 /* Override any gcc2 internal prototype to avoid an error. */
32701 #ifdef __cplusplus
32702 extern "C"
32703 {
32704 #endif
32705 /* We use char because int might match the return type of a gcc2
32706 builtin and then its argument prototype would still apply. */
32707 char $ac_func ();
32708 /* The GNU C library defines this for functions which it implements
32709 to always fail with ENOSYS. Some functions are actually named
32710 something starting with __ and the normal name is an alias. */
32711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32712 choke me
32713 #else
32714 char (*f) () = $ac_func;
32715 #endif
32716 #ifdef __cplusplus
32717 }
32718 #endif
32719
32720 int
32721 main ()
32722 {
32723 return f != $ac_func;
32724 ;
32725 return 0;
32726 }
32727 _ACEOF
32728 rm -f conftest.$ac_objext conftest$ac_exeext
32729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32730 (eval $ac_link) 2>conftest.er1
32731 ac_status=$?
32732 grep -v '^ *+' conftest.er1 >conftest.err
32733 rm -f conftest.er1
32734 cat conftest.err >&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); } &&
32737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32740 ac_status=$?
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; } &&
32743 { ac_try='test -s conftest$ac_exeext'
32744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32745 (eval $ac_try) 2>&5
32746 ac_status=$?
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); }; }; then
32749 eval "$as_ac_var=yes"
32750 else
32751 echo "$as_me: failed program was:" >&5
32752 sed 's/^/| /' conftest.$ac_ext >&5
32753
32754 eval "$as_ac_var=no"
32755 fi
32756 rm -f conftest.err conftest.$ac_objext \
32757 conftest$ac_exeext conftest.$ac_ext
32758 fi
32759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32761 if test `eval echo '${'$as_ac_var'}'` = yes; then
32762 cat >>confdefs.h <<_ACEOF
32763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32764 _ACEOF
32765
32766 fi
32767 done
32768
32769
32770
32771 for ac_header in sched.h
32772 do
32773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32775 echo "$as_me:$LINENO: checking for $ac_header" >&5
32776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32778 echo $ECHO_N "(cached) $ECHO_C" >&6
32779 fi
32780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32782 else
32783 # Is the header compilable?
32784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32786 cat >conftest.$ac_ext <<_ACEOF
32787 /* confdefs.h. */
32788 _ACEOF
32789 cat confdefs.h >>conftest.$ac_ext
32790 cat >>conftest.$ac_ext <<_ACEOF
32791 /* end confdefs.h. */
32792 $ac_includes_default
32793 #include <$ac_header>
32794 _ACEOF
32795 rm -f conftest.$ac_objext
32796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32797 (eval $ac_compile) 2>conftest.er1
32798 ac_status=$?
32799 grep -v '^ *+' conftest.er1 >conftest.err
32800 rm -f conftest.er1
32801 cat conftest.err >&5
32802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32803 (exit $ac_status); } &&
32804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32806 (eval $ac_try) 2>&5
32807 ac_status=$?
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); }; } &&
32810 { ac_try='test -s conftest.$ac_objext'
32811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32812 (eval $ac_try) 2>&5
32813 ac_status=$?
32814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815 (exit $ac_status); }; }; then
32816 ac_header_compiler=yes
32817 else
32818 echo "$as_me: failed program was:" >&5
32819 sed 's/^/| /' conftest.$ac_ext >&5
32820
32821 ac_header_compiler=no
32822 fi
32823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32825 echo "${ECHO_T}$ac_header_compiler" >&6
32826
32827 # Is the header present?
32828 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32830 cat >conftest.$ac_ext <<_ACEOF
32831 /* confdefs.h. */
32832 _ACEOF
32833 cat confdefs.h >>conftest.$ac_ext
32834 cat >>conftest.$ac_ext <<_ACEOF
32835 /* end confdefs.h. */
32836 #include <$ac_header>
32837 _ACEOF
32838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32839 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32840 ac_status=$?
32841 grep -v '^ *+' conftest.er1 >conftest.err
32842 rm -f conftest.er1
32843 cat conftest.err >&5
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); } >/dev/null; then
32846 if test -s conftest.err; then
32847 ac_cpp_err=$ac_c_preproc_warn_flag
32848 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32849 else
32850 ac_cpp_err=
32851 fi
32852 else
32853 ac_cpp_err=yes
32854 fi
32855 if test -z "$ac_cpp_err"; then
32856 ac_header_preproc=yes
32857 else
32858 echo "$as_me: failed program was:" >&5
32859 sed 's/^/| /' conftest.$ac_ext >&5
32860
32861 ac_header_preproc=no
32862 fi
32863 rm -f conftest.err conftest.$ac_ext
32864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32865 echo "${ECHO_T}$ac_header_preproc" >&6
32866
32867 # So? What about this header?
32868 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32869 yes:no: )
32870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32871 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32873 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32874 ac_header_preproc=yes
32875 ;;
32876 no:yes:* )
32877 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32879 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32881 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32882 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32883 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32884 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32887 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32888 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32889 (
32890 cat <<\_ASBOX
32891 ## ----------------------------------------- ##
32892 ## Report this to wx-dev@lists.wxwidgets.org ##
32893 ## ----------------------------------------- ##
32894 _ASBOX
32895 ) |
32896 sed "s/^/$as_me: WARNING: /" >&2
32897 ;;
32898 esac
32899 echo "$as_me:$LINENO: checking for $ac_header" >&5
32900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32902 echo $ECHO_N "(cached) $ECHO_C" >&6
32903 else
32904 eval "$as_ac_Header=\$ac_header_preproc"
32905 fi
32906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32908
32909 fi
32910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32911 cat >>confdefs.h <<_ACEOF
32912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32913 _ACEOF
32914
32915 fi
32916
32917 done
32918
32919 if test "$ac_cv_header_sched_h" = "yes"; then
32920 echo "$as_me:$LINENO: checking for sched_yield" >&5
32921 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32922 if test "${ac_cv_func_sched_yield+set}" = set; then
32923 echo $ECHO_N "(cached) $ECHO_C" >&6
32924 else
32925 cat >conftest.$ac_ext <<_ACEOF
32926 /* confdefs.h. */
32927 _ACEOF
32928 cat confdefs.h >>conftest.$ac_ext
32929 cat >>conftest.$ac_ext <<_ACEOF
32930 /* end confdefs.h. */
32931 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32933 #define sched_yield innocuous_sched_yield
32934
32935 /* System header to define __stub macros and hopefully few prototypes,
32936 which can conflict with char sched_yield (); below.
32937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32938 <limits.h> exists even on freestanding compilers. */
32939
32940 #ifdef __STDC__
32941 # include <limits.h>
32942 #else
32943 # include <assert.h>
32944 #endif
32945
32946 #undef sched_yield
32947
32948 /* Override any gcc2 internal prototype to avoid an error. */
32949 #ifdef __cplusplus
32950 extern "C"
32951 {
32952 #endif
32953 /* We use char because int might match the return type of a gcc2
32954 builtin and then its argument prototype would still apply. */
32955 char sched_yield ();
32956 /* The GNU C library defines this for functions which it implements
32957 to always fail with ENOSYS. Some functions are actually named
32958 something starting with __ and the normal name is an alias. */
32959 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32960 choke me
32961 #else
32962 char (*f) () = sched_yield;
32963 #endif
32964 #ifdef __cplusplus
32965 }
32966 #endif
32967
32968 int
32969 main ()
32970 {
32971 return f != sched_yield;
32972 ;
32973 return 0;
32974 }
32975 _ACEOF
32976 rm -f conftest.$ac_objext conftest$ac_exeext
32977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32978 (eval $ac_link) 2>conftest.er1
32979 ac_status=$?
32980 grep -v '^ *+' conftest.er1 >conftest.err
32981 rm -f conftest.er1
32982 cat conftest.err >&5
32983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32984 (exit $ac_status); } &&
32985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32987 (eval $ac_try) 2>&5
32988 ac_status=$?
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); }; } &&
32991 { ac_try='test -s conftest$ac_exeext'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32994 ac_status=$?
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; }; then
32997 ac_cv_func_sched_yield=yes
32998 else
32999 echo "$as_me: failed program was:" >&5
33000 sed 's/^/| /' conftest.$ac_ext >&5
33001
33002 ac_cv_func_sched_yield=no
33003 fi
33004 rm -f conftest.err conftest.$ac_objext \
33005 conftest$ac_exeext conftest.$ac_ext
33006 fi
33007 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
33008 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
33009 if test $ac_cv_func_sched_yield = yes; then
33010 cat >>confdefs.h <<\_ACEOF
33011 #define HAVE_SCHED_YIELD 1
33012 _ACEOF
33013
33014 else
33015
33016 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
33017 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
33018 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
33019 echo $ECHO_N "(cached) $ECHO_C" >&6
33020 else
33021 ac_check_lib_save_LIBS=$LIBS
33022 LIBS="-lposix4 $LIBS"
33023 cat >conftest.$ac_ext <<_ACEOF
33024 /* confdefs.h. */
33025 _ACEOF
33026 cat confdefs.h >>conftest.$ac_ext
33027 cat >>conftest.$ac_ext <<_ACEOF
33028 /* end confdefs.h. */
33029
33030 /* Override any gcc2 internal prototype to avoid an error. */
33031 #ifdef __cplusplus
33032 extern "C"
33033 #endif
33034 /* We use char because int might match the return type of a gcc2
33035 builtin and then its argument prototype would still apply. */
33036 char sched_yield ();
33037 int
33038 main ()
33039 {
33040 sched_yield ();
33041 ;
33042 return 0;
33043 }
33044 _ACEOF
33045 rm -f conftest.$ac_objext conftest$ac_exeext
33046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33047 (eval $ac_link) 2>conftest.er1
33048 ac_status=$?
33049 grep -v '^ *+' conftest.er1 >conftest.err
33050 rm -f conftest.er1
33051 cat conftest.err >&5
33052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053 (exit $ac_status); } &&
33054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
33060 { ac_try='test -s conftest$ac_exeext'
33061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33062 (eval $ac_try) 2>&5
33063 ac_status=$?
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); }; }; then
33066 ac_cv_lib_posix4_sched_yield=yes
33067 else
33068 echo "$as_me: failed program was:" >&5
33069 sed 's/^/| /' conftest.$ac_ext >&5
33070
33071 ac_cv_lib_posix4_sched_yield=no
33072 fi
33073 rm -f conftest.err conftest.$ac_objext \
33074 conftest$ac_exeext conftest.$ac_ext
33075 LIBS=$ac_check_lib_save_LIBS
33076 fi
33077 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
33078 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
33079 if test $ac_cv_lib_posix4_sched_yield = yes; then
33080 cat >>confdefs.h <<\_ACEOF
33081 #define HAVE_SCHED_YIELD 1
33082 _ACEOF
33083 POSIX4_LINK=" -lposix4"
33084 else
33085 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
33086 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
33087
33088 fi
33089
33090
33091
33092 fi
33093
33094 fi
33095
33096 HAVE_PRIOR_FUNCS=0
33097 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
33098 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
33099 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
33100 echo $ECHO_N "(cached) $ECHO_C" >&6
33101 else
33102 cat >conftest.$ac_ext <<_ACEOF
33103 /* confdefs.h. */
33104 _ACEOF
33105 cat confdefs.h >>conftest.$ac_ext
33106 cat >>conftest.$ac_ext <<_ACEOF
33107 /* end confdefs.h. */
33108 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
33109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33110 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
33111
33112 /* System header to define __stub macros and hopefully few prototypes,
33113 which can conflict with char pthread_attr_getschedpolicy (); below.
33114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33115 <limits.h> exists even on freestanding compilers. */
33116
33117 #ifdef __STDC__
33118 # include <limits.h>
33119 #else
33120 # include <assert.h>
33121 #endif
33122
33123 #undef pthread_attr_getschedpolicy
33124
33125 /* Override any gcc2 internal prototype to avoid an error. */
33126 #ifdef __cplusplus
33127 extern "C"
33128 {
33129 #endif
33130 /* We use char because int might match the return type of a gcc2
33131 builtin and then its argument prototype would still apply. */
33132 char pthread_attr_getschedpolicy ();
33133 /* The GNU C library defines this for functions which it implements
33134 to always fail with ENOSYS. Some functions are actually named
33135 something starting with __ and the normal name is an alias. */
33136 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
33137 choke me
33138 #else
33139 char (*f) () = pthread_attr_getschedpolicy;
33140 #endif
33141 #ifdef __cplusplus
33142 }
33143 #endif
33144
33145 int
33146 main ()
33147 {
33148 return f != pthread_attr_getschedpolicy;
33149 ;
33150 return 0;
33151 }
33152 _ACEOF
33153 rm -f conftest.$ac_objext conftest$ac_exeext
33154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33155 (eval $ac_link) 2>conftest.er1
33156 ac_status=$?
33157 grep -v '^ *+' conftest.er1 >conftest.err
33158 rm -f conftest.er1
33159 cat conftest.err >&5
33160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161 (exit $ac_status); } &&
33162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33164 (eval $ac_try) 2>&5
33165 ac_status=$?
33166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33167 (exit $ac_status); }; } &&
33168 { ac_try='test -s conftest$ac_exeext'
33169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33170 (eval $ac_try) 2>&5
33171 ac_status=$?
33172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33173 (exit $ac_status); }; }; then
33174 ac_cv_func_pthread_attr_getschedpolicy=yes
33175 else
33176 echo "$as_me: failed program was:" >&5
33177 sed 's/^/| /' conftest.$ac_ext >&5
33178
33179 ac_cv_func_pthread_attr_getschedpolicy=no
33180 fi
33181 rm -f conftest.err conftest.$ac_objext \
33182 conftest$ac_exeext conftest.$ac_ext
33183 fi
33184 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33185 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33186 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33187 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33188 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33189 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33190 echo $ECHO_N "(cached) $ECHO_C" >&6
33191 else
33192 cat >conftest.$ac_ext <<_ACEOF
33193 /* confdefs.h. */
33194 _ACEOF
33195 cat confdefs.h >>conftest.$ac_ext
33196 cat >>conftest.$ac_ext <<_ACEOF
33197 /* end confdefs.h. */
33198 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33200 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33201
33202 /* System header to define __stub macros and hopefully few prototypes,
33203 which can conflict with char pthread_attr_setschedparam (); below.
33204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33205 <limits.h> exists even on freestanding compilers. */
33206
33207 #ifdef __STDC__
33208 # include <limits.h>
33209 #else
33210 # include <assert.h>
33211 #endif
33212
33213 #undef pthread_attr_setschedparam
33214
33215 /* Override any gcc2 internal prototype to avoid an error. */
33216 #ifdef __cplusplus
33217 extern "C"
33218 {
33219 #endif
33220 /* We use char because int might match the return type of a gcc2
33221 builtin and then its argument prototype would still apply. */
33222 char pthread_attr_setschedparam ();
33223 /* The GNU C library defines this for functions which it implements
33224 to always fail with ENOSYS. Some functions are actually named
33225 something starting with __ and the normal name is an alias. */
33226 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33227 choke me
33228 #else
33229 char (*f) () = pthread_attr_setschedparam;
33230 #endif
33231 #ifdef __cplusplus
33232 }
33233 #endif
33234
33235 int
33236 main ()
33237 {
33238 return f != pthread_attr_setschedparam;
33239 ;
33240 return 0;
33241 }
33242 _ACEOF
33243 rm -f conftest.$ac_objext conftest$ac_exeext
33244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33245 (eval $ac_link) 2>conftest.er1
33246 ac_status=$?
33247 grep -v '^ *+' conftest.er1 >conftest.err
33248 rm -f conftest.er1
33249 cat conftest.err >&5
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); } &&
33252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33254 (eval $ac_try) 2>&5
33255 ac_status=$?
33256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33257 (exit $ac_status); }; } &&
33258 { ac_try='test -s conftest$ac_exeext'
33259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33260 (eval $ac_try) 2>&5
33261 ac_status=$?
33262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33263 (exit $ac_status); }; }; then
33264 ac_cv_func_pthread_attr_setschedparam=yes
33265 else
33266 echo "$as_me: failed program was:" >&5
33267 sed 's/^/| /' conftest.$ac_ext >&5
33268
33269 ac_cv_func_pthread_attr_setschedparam=no
33270 fi
33271 rm -f conftest.err conftest.$ac_objext \
33272 conftest$ac_exeext conftest.$ac_ext
33273 fi
33274 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33275 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33276 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33277 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33278 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33279 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33280 echo $ECHO_N "(cached) $ECHO_C" >&6
33281 else
33282 cat >conftest.$ac_ext <<_ACEOF
33283 /* confdefs.h. */
33284 _ACEOF
33285 cat confdefs.h >>conftest.$ac_ext
33286 cat >>conftest.$ac_ext <<_ACEOF
33287 /* end confdefs.h. */
33288 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33290 #define sched_get_priority_max innocuous_sched_get_priority_max
33291
33292 /* System header to define __stub macros and hopefully few prototypes,
33293 which can conflict with char sched_get_priority_max (); below.
33294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33295 <limits.h> exists even on freestanding compilers. */
33296
33297 #ifdef __STDC__
33298 # include <limits.h>
33299 #else
33300 # include <assert.h>
33301 #endif
33302
33303 #undef sched_get_priority_max
33304
33305 /* Override any gcc2 internal prototype to avoid an error. */
33306 #ifdef __cplusplus
33307 extern "C"
33308 {
33309 #endif
33310 /* We use char because int might match the return type of a gcc2
33311 builtin and then its argument prototype would still apply. */
33312 char sched_get_priority_max ();
33313 /* The GNU C library defines this for functions which it implements
33314 to always fail with ENOSYS. Some functions are actually named
33315 something starting with __ and the normal name is an alias. */
33316 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33317 choke me
33318 #else
33319 char (*f) () = sched_get_priority_max;
33320 #endif
33321 #ifdef __cplusplus
33322 }
33323 #endif
33324
33325 int
33326 main ()
33327 {
33328 return f != sched_get_priority_max;
33329 ;
33330 return 0;
33331 }
33332 _ACEOF
33333 rm -f conftest.$ac_objext conftest$ac_exeext
33334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33335 (eval $ac_link) 2>conftest.er1
33336 ac_status=$?
33337 grep -v '^ *+' conftest.er1 >conftest.err
33338 rm -f conftest.er1
33339 cat conftest.err >&5
33340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33341 (exit $ac_status); } &&
33342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33344 (eval $ac_try) 2>&5
33345 ac_status=$?
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); }; } &&
33348 { ac_try='test -s conftest$ac_exeext'
33349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33350 (eval $ac_try) 2>&5
33351 ac_status=$?
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); }; }; then
33354 ac_cv_func_sched_get_priority_max=yes
33355 else
33356 echo "$as_me: failed program was:" >&5
33357 sed 's/^/| /' conftest.$ac_ext >&5
33358
33359 ac_cv_func_sched_get_priority_max=no
33360 fi
33361 rm -f conftest.err conftest.$ac_objext \
33362 conftest$ac_exeext conftest.$ac_ext
33363 fi
33364 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33365 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33366 if test $ac_cv_func_sched_get_priority_max = yes; then
33367 HAVE_PRIOR_FUNCS=1
33368 else
33369 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33370 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33371 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33372 echo $ECHO_N "(cached) $ECHO_C" >&6
33373 else
33374 ac_check_lib_save_LIBS=$LIBS
33375 LIBS="-lposix4 $LIBS"
33376 cat >conftest.$ac_ext <<_ACEOF
33377 /* confdefs.h. */
33378 _ACEOF
33379 cat confdefs.h >>conftest.$ac_ext
33380 cat >>conftest.$ac_ext <<_ACEOF
33381 /* end confdefs.h. */
33382
33383 /* Override any gcc2 internal prototype to avoid an error. */
33384 #ifdef __cplusplus
33385 extern "C"
33386 #endif
33387 /* We use char because int might match the return type of a gcc2
33388 builtin and then its argument prototype would still apply. */
33389 char sched_get_priority_max ();
33390 int
33391 main ()
33392 {
33393 sched_get_priority_max ();
33394 ;
33395 return 0;
33396 }
33397 _ACEOF
33398 rm -f conftest.$ac_objext conftest$ac_exeext
33399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33400 (eval $ac_link) 2>conftest.er1
33401 ac_status=$?
33402 grep -v '^ *+' conftest.er1 >conftest.err
33403 rm -f conftest.er1
33404 cat conftest.err >&5
33405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33406 (exit $ac_status); } &&
33407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33409 (eval $ac_try) 2>&5
33410 ac_status=$?
33411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33412 (exit $ac_status); }; } &&
33413 { ac_try='test -s conftest$ac_exeext'
33414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33415 (eval $ac_try) 2>&5
33416 ac_status=$?
33417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33418 (exit $ac_status); }; }; then
33419 ac_cv_lib_posix4_sched_get_priority_max=yes
33420 else
33421 echo "$as_me: failed program was:" >&5
33422 sed 's/^/| /' conftest.$ac_ext >&5
33423
33424 ac_cv_lib_posix4_sched_get_priority_max=no
33425 fi
33426 rm -f conftest.err conftest.$ac_objext \
33427 conftest$ac_exeext conftest.$ac_ext
33428 LIBS=$ac_check_lib_save_LIBS
33429 fi
33430 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33431 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33432 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33433
33434 HAVE_PRIOR_FUNCS=1
33435 POSIX4_LINK=" -lposix4"
33436
33437 fi
33438
33439
33440 fi
33441
33442
33443 fi
33444
33445
33446 fi
33447
33448
33449 if test "$HAVE_PRIOR_FUNCS" = 1; then
33450 cat >>confdefs.h <<\_ACEOF
33451 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33452 _ACEOF
33453
33454 else
33455 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33456 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33457 fi
33458
33459 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33460 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33461 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33462 echo $ECHO_N "(cached) $ECHO_C" >&6
33463 else
33464 cat >conftest.$ac_ext <<_ACEOF
33465 /* confdefs.h. */
33466 _ACEOF
33467 cat confdefs.h >>conftest.$ac_ext
33468 cat >>conftest.$ac_ext <<_ACEOF
33469 /* end confdefs.h. */
33470 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33472 #define pthread_cancel innocuous_pthread_cancel
33473
33474 /* System header to define __stub macros and hopefully few prototypes,
33475 which can conflict with char pthread_cancel (); below.
33476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33477 <limits.h> exists even on freestanding compilers. */
33478
33479 #ifdef __STDC__
33480 # include <limits.h>
33481 #else
33482 # include <assert.h>
33483 #endif
33484
33485 #undef pthread_cancel
33486
33487 /* Override any gcc2 internal prototype to avoid an error. */
33488 #ifdef __cplusplus
33489 extern "C"
33490 {
33491 #endif
33492 /* We use char because int might match the return type of a gcc2
33493 builtin and then its argument prototype would still apply. */
33494 char pthread_cancel ();
33495 /* The GNU C library defines this for functions which it implements
33496 to always fail with ENOSYS. Some functions are actually named
33497 something starting with __ and the normal name is an alias. */
33498 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33499 choke me
33500 #else
33501 char (*f) () = pthread_cancel;
33502 #endif
33503 #ifdef __cplusplus
33504 }
33505 #endif
33506
33507 int
33508 main ()
33509 {
33510 return f != pthread_cancel;
33511 ;
33512 return 0;
33513 }
33514 _ACEOF
33515 rm -f conftest.$ac_objext conftest$ac_exeext
33516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33517 (eval $ac_link) 2>conftest.er1
33518 ac_status=$?
33519 grep -v '^ *+' conftest.er1 >conftest.err
33520 rm -f conftest.er1
33521 cat conftest.err >&5
33522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33523 (exit $ac_status); } &&
33524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33526 (eval $ac_try) 2>&5
33527 ac_status=$?
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); }; } &&
33530 { ac_try='test -s conftest$ac_exeext'
33531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33532 (eval $ac_try) 2>&5
33533 ac_status=$?
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); }; }; then
33536 ac_cv_func_pthread_cancel=yes
33537 else
33538 echo "$as_me: failed program was:" >&5
33539 sed 's/^/| /' conftest.$ac_ext >&5
33540
33541 ac_cv_func_pthread_cancel=no
33542 fi
33543 rm -f conftest.err conftest.$ac_objext \
33544 conftest$ac_exeext conftest.$ac_ext
33545 fi
33546 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33547 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33548 if test $ac_cv_func_pthread_cancel = yes; then
33549 cat >>confdefs.h <<\_ACEOF
33550 #define HAVE_PTHREAD_CANCEL 1
33551 _ACEOF
33552
33553 else
33554 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33555 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33556 fi
33557
33558
33559
33560
33561 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33562 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33563 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33564 echo $ECHO_N "(cached) $ECHO_C" >&6
33565 else
33566
33567 cat >conftest.$ac_ext <<_ACEOF
33568 /* confdefs.h. */
33569 _ACEOF
33570 cat confdefs.h >>conftest.$ac_ext
33571 cat >>conftest.$ac_ext <<_ACEOF
33572 /* end confdefs.h. */
33573 #include <pthread.h>
33574 int
33575 main ()
33576 {
33577
33578 pthread_mutexattr_t attr;
33579 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33580
33581 ;
33582 return 0;
33583 }
33584 _ACEOF
33585 rm -f conftest.$ac_objext
33586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33587 (eval $ac_compile) 2>conftest.er1
33588 ac_status=$?
33589 grep -v '^ *+' conftest.er1 >conftest.err
33590 rm -f conftest.er1
33591 cat conftest.err >&5
33592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33593 (exit $ac_status); } &&
33594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33596 (eval $ac_try) 2>&5
33597 ac_status=$?
33598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33599 (exit $ac_status); }; } &&
33600 { ac_try='test -s conftest.$ac_objext'
33601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33602 (eval $ac_try) 2>&5
33603 ac_status=$?
33604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33605 (exit $ac_status); }; }; then
33606
33607 wx_cv_type_pthread_mutexattr_t=yes
33608
33609 else
33610 echo "$as_me: failed program was:" >&5
33611 sed 's/^/| /' conftest.$ac_ext >&5
33612
33613
33614 wx_cv_type_pthread_mutexattr_t=no
33615
33616
33617 fi
33618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33619
33620 fi
33621 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33622 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33623
33624 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33625 cat >>confdefs.h <<\_ACEOF
33626 #define HAVE_PTHREAD_MUTEXATTR_T 1
33627 _ACEOF
33628
33629 else
33630 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33631 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33632 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33633 echo $ECHO_N "(cached) $ECHO_C" >&6
33634 else
33635
33636 cat >conftest.$ac_ext <<_ACEOF
33637 /* confdefs.h. */
33638 _ACEOF
33639 cat confdefs.h >>conftest.$ac_ext
33640 cat >>conftest.$ac_ext <<_ACEOF
33641 /* end confdefs.h. */
33642 #include <pthread.h>
33643 int
33644 main ()
33645 {
33646
33647 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33648
33649 ;
33650 return 0;
33651 }
33652 _ACEOF
33653 rm -f conftest.$ac_objext
33654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33655 (eval $ac_compile) 2>conftest.er1
33656 ac_status=$?
33657 grep -v '^ *+' conftest.er1 >conftest.err
33658 rm -f conftest.er1
33659 cat conftest.err >&5
33660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661 (exit $ac_status); } &&
33662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33664 (eval $ac_try) 2>&5
33665 ac_status=$?
33666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33667 (exit $ac_status); }; } &&
33668 { ac_try='test -s conftest.$ac_objext'
33669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33670 (eval $ac_try) 2>&5
33671 ac_status=$?
33672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33673 (exit $ac_status); }; }; then
33674
33675 wx_cv_type_pthread_rec_mutex_init=yes
33676
33677 else
33678 echo "$as_me: failed program was:" >&5
33679 sed 's/^/| /' conftest.$ac_ext >&5
33680
33681
33682 wx_cv_type_pthread_rec_mutex_init=no
33683
33684
33685 fi
33686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33687
33688 fi
33689 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33690 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33691 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33692 cat >>confdefs.h <<\_ACEOF
33693 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33694 _ACEOF
33695
33696 else
33697 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33698 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33699 fi
33700 fi
33701 fi
33702
33703 else
33704 if test "$wxUSE_THREADS" = "yes" ; then
33705 case "${host}" in
33706 *-*-mingw32* )
33707 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33708 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33709 if test "${wx_cv_cflags_mthread+set}" = set; then
33710 echo $ECHO_N "(cached) $ECHO_C" >&6
33711 else
33712
33713 CFLAGS_OLD="$CFLAGS"
33714 CFLAGS="$CFLAGS -mthreads"
33715 cat >conftest.$ac_ext <<_ACEOF
33716 /* confdefs.h. */
33717 _ACEOF
33718 cat confdefs.h >>conftest.$ac_ext
33719 cat >>conftest.$ac_ext <<_ACEOF
33720 /* end confdefs.h. */
33721
33722 int
33723 main ()
33724 {
33725
33726 ;
33727 return 0;
33728 }
33729 _ACEOF
33730 rm -f conftest.$ac_objext
33731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33732 (eval $ac_compile) 2>conftest.er1
33733 ac_status=$?
33734 grep -v '^ *+' conftest.er1 >conftest.err
33735 rm -f conftest.er1
33736 cat conftest.err >&5
33737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33738 (exit $ac_status); } &&
33739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33741 (eval $ac_try) 2>&5
33742 ac_status=$?
33743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33744 (exit $ac_status); }; } &&
33745 { ac_try='test -s conftest.$ac_objext'
33746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33747 (eval $ac_try) 2>&5
33748 ac_status=$?
33749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33750 (exit $ac_status); }; }; then
33751 wx_cv_cflags_mthread=yes
33752 else
33753 echo "$as_me: failed program was:" >&5
33754 sed 's/^/| /' conftest.$ac_ext >&5
33755
33756 wx_cv_cflags_mthread=no
33757
33758 fi
33759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33760
33761
33762 fi
33763 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33764 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33765
33766 if test "$wx_cv_cflags_mthread" = "yes"; then
33767 CXXFLAGS="$CXXFLAGS -mthreads"
33768 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33769 LDFLAGS="$LDFLAGS -mthreads"
33770 else
33771 CFLAGS="$CFLAGS_OLD"
33772 fi
33773 ;;
33774 *-pc-os2*emx )
33775 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33776 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33777 LDFLAGS="$LDFLAGS -Zmt"
33778 ;;
33779 esac
33780 fi
33781 fi
33782
33783 if test "$wxUSE_THREADS" = "yes"; then
33784 cat >>confdefs.h <<\_ACEOF
33785 #define wxUSE_THREADS 1
33786 _ACEOF
33787
33788
33789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33790 else
33791 if test "$ac_cv_func_strtok_r" = "yes"; then
33792 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33793 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33794 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33795 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33796 echo "$as_me:$LINENO: result: yes" >&5
33797 echo "${ECHO_T}yes" >&6
33798 else
33799 echo "$as_me:$LINENO: result: no" >&5
33800 echo "${ECHO_T}no" >&6
33801 fi
33802 fi
33803 fi
33804
33805 if test "$WXGTK20" = 1 ; then
33806 cat >>confdefs.h <<_ACEOF
33807 #define __WXGTK20__ $WXGTK20
33808 _ACEOF
33809
33810 WXGTK12=1
33811 fi
33812
33813 if test "$WXGTK12" = 1 ; then
33814 cat >>confdefs.h <<_ACEOF
33815 #define __WXGTK12__ $WXGTK12
33816 _ACEOF
33817
33818 fi
33819
33820 if test "$WXGTK127" = 1 ; then
33821 cat >>confdefs.h <<_ACEOF
33822 #define __WXGTK127__ $WXGTK127
33823 _ACEOF
33824
33825 fi
33826
33827 if test "$WXGPE" = 1 ; then
33828 cat >>confdefs.h <<_ACEOF
33829 #define __WXGPE__ $WXGPE
33830 _ACEOF
33831
33832 fi
33833
33834 WXDEBUG=
33835
33836 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33837 WXDEBUG="-g"
33838 wxUSE_OPTIMISE=no
33839 fi
33840
33841 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33842 wxUSE_DEBUG_INFO=yes
33843 WXDEBUG="-ggdb"
33844 fi
33845
33846 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33847 cat >>confdefs.h <<\_ACEOF
33848 #define WXDEBUG 1
33849 _ACEOF
33850
33851 WXDEBUG_DEFINE="-D__WXDEBUG__"
33852 else
33853 if test "$wxUSE_GTK" = 1 ; then
33854 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
33855 fi
33856 fi
33857
33858 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33859 cat >>confdefs.h <<\_ACEOF
33860 #define wxUSE_MEMORY_TRACING 1
33861 _ACEOF
33862
33863 cat >>confdefs.h <<\_ACEOF
33864 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33865 _ACEOF
33866
33867 cat >>confdefs.h <<\_ACEOF
33868 #define wxUSE_DEBUG_NEW_ALWAYS 1
33869 _ACEOF
33870
33871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33872 fi
33873
33874 if test "$wxUSE_DMALLOC" = "yes" ; then
33875 DMALLOC_LIBS="-ldmalloc"
33876 fi
33877
33878 PROFILE=
33879 if test "$wxUSE_PROFILE" = "yes" ; then
33880 PROFILE=" -pg"
33881 fi
33882
33883 CODE_GEN_FLAGS=
33884 CODE_GEN_FLAGS_CXX=
33885 if test "$GCC" = "yes" ; then
33886 if test "$wxUSE_NO_RTTI" = "yes" ; then
33887 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33888 fi
33889 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33890 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33891 fi
33892 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33893 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33894 fi
33895
33896 case "${host}" in
33897 powerpc*-*-aix* )
33898 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33899 ;;
33900 *-hppa* )
33901 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33902 ;;
33903 esac
33904 fi
33905
33906 OPTIMISE=
33907 if test "$wxUSE_OPTIMISE" = "no" ; then
33908 if test "$GCC" = yes ; then
33909 OPTIMISE="-O0"
33910 fi
33911 else
33912 if test "$GCC" = yes ; then
33913 OPTIMISE="-O2"
33914
33915 case "${host}" in
33916 i586-*-*|i686-*-* )
33917 OPTIMISE="${OPTIMISE} "
33918 ;;
33919 esac
33920 else
33921 OPTIMISE="-O"
33922 fi
33923 fi
33924
33925
33926 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33927 cat >>confdefs.h <<\_ACEOF
33928 #define WXWIN_COMPATIBILITY_2_2 1
33929 _ACEOF
33930
33931
33932 WXWIN_COMPATIBILITY_2_4="yes"
33933 fi
33934
33935 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33936 cat >>confdefs.h <<\_ACEOF
33937 #define WXWIN_COMPATIBILITY_2_4 1
33938 _ACEOF
33939
33940 fi
33941
33942
33943 if test "$wxUSE_GUI" = "yes"; then
33944 cat >>confdefs.h <<\_ACEOF
33945 #define wxUSE_GUI 1
33946 _ACEOF
33947
33948
33949 fi
33950
33951
33952 if test "$wxUSE_UNIX" = "yes"; then
33953 cat >>confdefs.h <<\_ACEOF
33954 #define wxUSE_UNIX 1
33955 _ACEOF
33956
33957 fi
33958
33959
33960 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33961
33962 HAVE_DL_FUNCS=0
33963 HAVE_SHL_FUNCS=0
33964 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33965 if test "$USE_DARWIN" = 1; then
33966 HAVE_DL_FUNCS=1
33967 else
33968
33969 for ac_func in dlopen
33970 do
33971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33972 echo "$as_me:$LINENO: checking for $ac_func" >&5
33973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33974 if eval "test \"\${$as_ac_var+set}\" = set"; then
33975 echo $ECHO_N "(cached) $ECHO_C" >&6
33976 else
33977 cat >conftest.$ac_ext <<_ACEOF
33978 /* confdefs.h. */
33979 _ACEOF
33980 cat confdefs.h >>conftest.$ac_ext
33981 cat >>conftest.$ac_ext <<_ACEOF
33982 /* end confdefs.h. */
33983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33985 #define $ac_func innocuous_$ac_func
33986
33987 /* System header to define __stub macros and hopefully few prototypes,
33988 which can conflict with char $ac_func (); below.
33989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33990 <limits.h> exists even on freestanding compilers. */
33991
33992 #ifdef __STDC__
33993 # include <limits.h>
33994 #else
33995 # include <assert.h>
33996 #endif
33997
33998 #undef $ac_func
33999
34000 /* Override any gcc2 internal prototype to avoid an error. */
34001 #ifdef __cplusplus
34002 extern "C"
34003 {
34004 #endif
34005 /* We use char because int might match the return type of a gcc2
34006 builtin and then its argument prototype would still apply. */
34007 char $ac_func ();
34008 /* The GNU C library defines this for functions which it implements
34009 to always fail with ENOSYS. Some functions are actually named
34010 something starting with __ and the normal name is an alias. */
34011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34012 choke me
34013 #else
34014 char (*f) () = $ac_func;
34015 #endif
34016 #ifdef __cplusplus
34017 }
34018 #endif
34019
34020 int
34021 main ()
34022 {
34023 return f != $ac_func;
34024 ;
34025 return 0;
34026 }
34027 _ACEOF
34028 rm -f conftest.$ac_objext conftest$ac_exeext
34029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34030 (eval $ac_link) 2>conftest.er1
34031 ac_status=$?
34032 grep -v '^ *+' conftest.er1 >conftest.err
34033 rm -f conftest.er1
34034 cat conftest.err >&5
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); } &&
34037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34039 (eval $ac_try) 2>&5
34040 ac_status=$?
34041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34042 (exit $ac_status); }; } &&
34043 { ac_try='test -s conftest$ac_exeext'
34044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34045 (eval $ac_try) 2>&5
34046 ac_status=$?
34047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34048 (exit $ac_status); }; }; then
34049 eval "$as_ac_var=yes"
34050 else
34051 echo "$as_me: failed program was:" >&5
34052 sed 's/^/| /' conftest.$ac_ext >&5
34053
34054 eval "$as_ac_var=no"
34055 fi
34056 rm -f conftest.err conftest.$ac_objext \
34057 conftest$ac_exeext conftest.$ac_ext
34058 fi
34059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34061 if test `eval echo '${'$as_ac_var'}'` = yes; then
34062 cat >>confdefs.h <<_ACEOF
34063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34064 _ACEOF
34065
34066 cat >>confdefs.h <<\_ACEOF
34067 #define HAVE_DLOPEN 1
34068 _ACEOF
34069
34070 HAVE_DL_FUNCS=1
34071
34072 else
34073
34074 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34075 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34076 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34077 echo $ECHO_N "(cached) $ECHO_C" >&6
34078 else
34079 ac_check_lib_save_LIBS=$LIBS
34080 LIBS="-ldl $LIBS"
34081 cat >conftest.$ac_ext <<_ACEOF
34082 /* confdefs.h. */
34083 _ACEOF
34084 cat confdefs.h >>conftest.$ac_ext
34085 cat >>conftest.$ac_ext <<_ACEOF
34086 /* end confdefs.h. */
34087
34088 /* Override any gcc2 internal prototype to avoid an error. */
34089 #ifdef __cplusplus
34090 extern "C"
34091 #endif
34092 /* We use char because int might match the return type of a gcc2
34093 builtin and then its argument prototype would still apply. */
34094 char dlopen ();
34095 int
34096 main ()
34097 {
34098 dlopen ();
34099 ;
34100 return 0;
34101 }
34102 _ACEOF
34103 rm -f conftest.$ac_objext conftest$ac_exeext
34104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34105 (eval $ac_link) 2>conftest.er1
34106 ac_status=$?
34107 grep -v '^ *+' conftest.er1 >conftest.err
34108 rm -f conftest.er1
34109 cat conftest.err >&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); } &&
34112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34114 (eval $ac_try) 2>&5
34115 ac_status=$?
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); }; } &&
34118 { ac_try='test -s conftest$ac_exeext'
34119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34120 (eval $ac_try) 2>&5
34121 ac_status=$?
34122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34123 (exit $ac_status); }; }; then
34124 ac_cv_lib_dl_dlopen=yes
34125 else
34126 echo "$as_me: failed program was:" >&5
34127 sed 's/^/| /' conftest.$ac_ext >&5
34128
34129 ac_cv_lib_dl_dlopen=no
34130 fi
34131 rm -f conftest.err conftest.$ac_objext \
34132 conftest$ac_exeext conftest.$ac_ext
34133 LIBS=$ac_check_lib_save_LIBS
34134 fi
34135 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34136 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34137 if test $ac_cv_lib_dl_dlopen = yes; then
34138
34139 cat >>confdefs.h <<\_ACEOF
34140 #define HAVE_DLOPEN 1
34141 _ACEOF
34142
34143 HAVE_DL_FUNCS=1
34144 DL_LINK=" -ldl$DL_LINK"
34145
34146 else
34147
34148
34149 for ac_func in shl_load
34150 do
34151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34152 echo "$as_me:$LINENO: checking for $ac_func" >&5
34153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34154 if eval "test \"\${$as_ac_var+set}\" = set"; then
34155 echo $ECHO_N "(cached) $ECHO_C" >&6
34156 else
34157 cat >conftest.$ac_ext <<_ACEOF
34158 /* confdefs.h. */
34159 _ACEOF
34160 cat confdefs.h >>conftest.$ac_ext
34161 cat >>conftest.$ac_ext <<_ACEOF
34162 /* end confdefs.h. */
34163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34165 #define $ac_func innocuous_$ac_func
34166
34167 /* System header to define __stub macros and hopefully few prototypes,
34168 which can conflict with char $ac_func (); below.
34169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34170 <limits.h> exists even on freestanding compilers. */
34171
34172 #ifdef __STDC__
34173 # include <limits.h>
34174 #else
34175 # include <assert.h>
34176 #endif
34177
34178 #undef $ac_func
34179
34180 /* Override any gcc2 internal prototype to avoid an error. */
34181 #ifdef __cplusplus
34182 extern "C"
34183 {
34184 #endif
34185 /* We use char because int might match the return type of a gcc2
34186 builtin and then its argument prototype would still apply. */
34187 char $ac_func ();
34188 /* The GNU C library defines this for functions which it implements
34189 to always fail with ENOSYS. Some functions are actually named
34190 something starting with __ and the normal name is an alias. */
34191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34192 choke me
34193 #else
34194 char (*f) () = $ac_func;
34195 #endif
34196 #ifdef __cplusplus
34197 }
34198 #endif
34199
34200 int
34201 main ()
34202 {
34203 return f != $ac_func;
34204 ;
34205 return 0;
34206 }
34207 _ACEOF
34208 rm -f conftest.$ac_objext conftest$ac_exeext
34209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34210 (eval $ac_link) 2>conftest.er1
34211 ac_status=$?
34212 grep -v '^ *+' conftest.er1 >conftest.err
34213 rm -f conftest.er1
34214 cat conftest.err >&5
34215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34216 (exit $ac_status); } &&
34217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34219 (eval $ac_try) 2>&5
34220 ac_status=$?
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); }; } &&
34223 { ac_try='test -s conftest$ac_exeext'
34224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34225 (eval $ac_try) 2>&5
34226 ac_status=$?
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); }; }; then
34229 eval "$as_ac_var=yes"
34230 else
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.$ac_ext >&5
34233
34234 eval "$as_ac_var=no"
34235 fi
34236 rm -f conftest.err conftest.$ac_objext \
34237 conftest$ac_exeext conftest.$ac_ext
34238 fi
34239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34241 if test `eval echo '${'$as_ac_var'}'` = yes; then
34242 cat >>confdefs.h <<_ACEOF
34243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34244 _ACEOF
34245
34246 cat >>confdefs.h <<\_ACEOF
34247 #define HAVE_SHL_LOAD 1
34248 _ACEOF
34249
34250 HAVE_SHL_FUNCS=1
34251
34252 else
34253
34254 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34255 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34256 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34257 echo $ECHO_N "(cached) $ECHO_C" >&6
34258 else
34259 ac_check_lib_save_LIBS=$LIBS
34260 LIBS="-lshl_load $LIBS"
34261 cat >conftest.$ac_ext <<_ACEOF
34262 /* confdefs.h. */
34263 _ACEOF
34264 cat confdefs.h >>conftest.$ac_ext
34265 cat >>conftest.$ac_ext <<_ACEOF
34266 /* end confdefs.h. */
34267
34268 /* Override any gcc2 internal prototype to avoid an error. */
34269 #ifdef __cplusplus
34270 extern "C"
34271 #endif
34272 /* We use char because int might match the return type of a gcc2
34273 builtin and then its argument prototype would still apply. */
34274 char dld ();
34275 int
34276 main ()
34277 {
34278 dld ();
34279 ;
34280 return 0;
34281 }
34282 _ACEOF
34283 rm -f conftest.$ac_objext conftest$ac_exeext
34284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34285 (eval $ac_link) 2>conftest.er1
34286 ac_status=$?
34287 grep -v '^ *+' conftest.er1 >conftest.err
34288 rm -f conftest.er1
34289 cat conftest.err >&5
34290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34291 (exit $ac_status); } &&
34292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34294 (eval $ac_try) 2>&5
34295 ac_status=$?
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); }; } &&
34298 { ac_try='test -s conftest$ac_exeext'
34299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34300 (eval $ac_try) 2>&5
34301 ac_status=$?
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); }; }; then
34304 ac_cv_lib_shl_load_dld=yes
34305 else
34306 echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.$ac_ext >&5
34308
34309 ac_cv_lib_shl_load_dld=no
34310 fi
34311 rm -f conftest.err conftest.$ac_objext \
34312 conftest$ac_exeext conftest.$ac_ext
34313 LIBS=$ac_check_lib_save_LIBS
34314 fi
34315 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34316 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34317 if test $ac_cv_lib_shl_load_dld = yes; then
34318
34319 HAVE_SHL_FUNCS=1
34320 DL_LINK=" -ldld$DL_LINK"
34321
34322 fi
34323
34324
34325 fi
34326 done
34327
34328
34329 fi
34330
34331
34332 fi
34333 done
34334
34335
34336 if test "$HAVE_DL_FUNCS" = 1; then
34337
34338 for ac_func in dlerror
34339 do
34340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34341 echo "$as_me:$LINENO: checking for $ac_func" >&5
34342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34343 if eval "test \"\${$as_ac_var+set}\" = set"; then
34344 echo $ECHO_N "(cached) $ECHO_C" >&6
34345 else
34346 cat >conftest.$ac_ext <<_ACEOF
34347 /* confdefs.h. */
34348 _ACEOF
34349 cat confdefs.h >>conftest.$ac_ext
34350 cat >>conftest.$ac_ext <<_ACEOF
34351 /* end confdefs.h. */
34352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34354 #define $ac_func innocuous_$ac_func
34355
34356 /* System header to define __stub macros and hopefully few prototypes,
34357 which can conflict with char $ac_func (); below.
34358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34359 <limits.h> exists even on freestanding compilers. */
34360
34361 #ifdef __STDC__
34362 # include <limits.h>
34363 #else
34364 # include <assert.h>
34365 #endif
34366
34367 #undef $ac_func
34368
34369 /* Override any gcc2 internal prototype to avoid an error. */
34370 #ifdef __cplusplus
34371 extern "C"
34372 {
34373 #endif
34374 /* We use char because int might match the return type of a gcc2
34375 builtin and then its argument prototype would still apply. */
34376 char $ac_func ();
34377 /* The GNU C library defines this for functions which it implements
34378 to always fail with ENOSYS. Some functions are actually named
34379 something starting with __ and the normal name is an alias. */
34380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34381 choke me
34382 #else
34383 char (*f) () = $ac_func;
34384 #endif
34385 #ifdef __cplusplus
34386 }
34387 #endif
34388
34389 int
34390 main ()
34391 {
34392 return f != $ac_func;
34393 ;
34394 return 0;
34395 }
34396 _ACEOF
34397 rm -f conftest.$ac_objext conftest$ac_exeext
34398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34399 (eval $ac_link) 2>conftest.er1
34400 ac_status=$?
34401 grep -v '^ *+' conftest.er1 >conftest.err
34402 rm -f conftest.er1
34403 cat conftest.err >&5
34404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34405 (exit $ac_status); } &&
34406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34408 (eval $ac_try) 2>&5
34409 ac_status=$?
34410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34411 (exit $ac_status); }; } &&
34412 { ac_try='test -s conftest$ac_exeext'
34413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34414 (eval $ac_try) 2>&5
34415 ac_status=$?
34416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34417 (exit $ac_status); }; }; then
34418 eval "$as_ac_var=yes"
34419 else
34420 echo "$as_me: failed program was:" >&5
34421 sed 's/^/| /' conftest.$ac_ext >&5
34422
34423 eval "$as_ac_var=no"
34424 fi
34425 rm -f conftest.err conftest.$ac_objext \
34426 conftest$ac_exeext conftest.$ac_ext
34427 fi
34428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34430 if test `eval echo '${'$as_ac_var'}'` = yes; then
34431 cat >>confdefs.h <<_ACEOF
34432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34433 _ACEOF
34434 cat >>confdefs.h <<\_ACEOF
34435 #define HAVE_DLERROR 1
34436 _ACEOF
34437
34438 else
34439
34440 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34441 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34442 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34443 echo $ECHO_N "(cached) $ECHO_C" >&6
34444 else
34445 ac_check_lib_save_LIBS=$LIBS
34446 LIBS="-ldl $LIBS"
34447 cat >conftest.$ac_ext <<_ACEOF
34448 /* confdefs.h. */
34449 _ACEOF
34450 cat confdefs.h >>conftest.$ac_ext
34451 cat >>conftest.$ac_ext <<_ACEOF
34452 /* end confdefs.h. */
34453
34454 /* Override any gcc2 internal prototype to avoid an error. */
34455 #ifdef __cplusplus
34456 extern "C"
34457 #endif
34458 /* We use char because int might match the return type of a gcc2
34459 builtin and then its argument prototype would still apply. */
34460 char dlerror ();
34461 int
34462 main ()
34463 {
34464 dlerror ();
34465 ;
34466 return 0;
34467 }
34468 _ACEOF
34469 rm -f conftest.$ac_objext conftest$ac_exeext
34470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34471 (eval $ac_link) 2>conftest.er1
34472 ac_status=$?
34473 grep -v '^ *+' conftest.er1 >conftest.err
34474 rm -f conftest.er1
34475 cat conftest.err >&5
34476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34477 (exit $ac_status); } &&
34478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34480 (eval $ac_try) 2>&5
34481 ac_status=$?
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); }; } &&
34484 { ac_try='test -s conftest$ac_exeext'
34485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34486 (eval $ac_try) 2>&5
34487 ac_status=$?
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); }; }; then
34490 ac_cv_lib_dl_dlerror=yes
34491 else
34492 echo "$as_me: failed program was:" >&5
34493 sed 's/^/| /' conftest.$ac_ext >&5
34494
34495 ac_cv_lib_dl_dlerror=no
34496 fi
34497 rm -f conftest.err conftest.$ac_objext \
34498 conftest$ac_exeext conftest.$ac_ext
34499 LIBS=$ac_check_lib_save_LIBS
34500 fi
34501 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34502 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34503 if test $ac_cv_lib_dl_dlerror = yes; then
34504 cat >>confdefs.h <<\_ACEOF
34505 #define HAVE_DLERROR 1
34506 _ACEOF
34507
34508 fi
34509
34510
34511
34512 fi
34513 done
34514
34515 fi
34516 fi
34517
34518 if test "$HAVE_DL_FUNCS" = 0; then
34519 if test "$HAVE_SHL_FUNCS" = 0; then
34520 if test "$USE_UNIX" = 1; then
34521 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34522 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34523 wxUSE_DYNAMIC_LOADER=no
34524 wxUSE_DYNLIB_CLASS=no
34525 else
34526 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34527 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34528 fi
34529 fi
34530 fi
34531 fi
34532 fi
34533
34534 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34535 cat >>confdefs.h <<\_ACEOF
34536 #define wxUSE_DYNAMIC_LOADER 1
34537 _ACEOF
34538
34539 fi
34540 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34541 cat >>confdefs.h <<\_ACEOF
34542 #define wxUSE_DYNLIB_CLASS 1
34543 _ACEOF
34544
34545 fi
34546
34547
34548
34549 if test "$wxUSE_PLUGINS" = "yes" ; then
34550 if test "$wxUSE_SHARED" = "no" ; then
34551 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34552 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34553 wxUSE_PLUGINS=no
34554 fi
34555 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34556 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34557 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34558 wxUSE_PLUGINS=no
34559 fi
34560 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34561 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34562 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34563 wxUSE_PLUGINS=no
34564 fi
34565 if test "$wxUSE_PLUGINS" = "yes" ; then
34566 cat >>confdefs.h <<\_ACEOF
34567 #define wxUSE_PLUGINS 1
34568 _ACEOF
34569
34570 fi
34571 fi
34572
34573
34574 if test "$wxUSE_STL" = "yes"; then
34575 cat >>confdefs.h <<\_ACEOF
34576 #define wxUSE_STL 1
34577 _ACEOF
34578
34579 fi
34580
34581 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34582 cat >>confdefs.h <<\_ACEOF
34583 #define wxUSE_APPLE_IEEE 1
34584 _ACEOF
34585
34586 fi
34587
34588 if test "$wxUSE_TIMER" = "yes"; then
34589 cat >>confdefs.h <<\_ACEOF
34590 #define wxUSE_TIMER 1
34591 _ACEOF
34592
34593 fi
34594
34595 WITH_PLUGIN_SDL=0
34596 if test "$wxUSE_SOUND" = "yes"; then
34597 if test "$USE_UNIX" = "1" ; then
34598
34599 for ac_header in sys/soundcard.h
34600 do
34601 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34603 echo "$as_me:$LINENO: checking for $ac_header" >&5
34604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34606 echo $ECHO_N "(cached) $ECHO_C" >&6
34607 fi
34608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34610 else
34611 # Is the header compilable?
34612 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34613 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34614 cat >conftest.$ac_ext <<_ACEOF
34615 /* confdefs.h. */
34616 _ACEOF
34617 cat confdefs.h >>conftest.$ac_ext
34618 cat >>conftest.$ac_ext <<_ACEOF
34619 /* end confdefs.h. */
34620 $ac_includes_default
34621 #include <$ac_header>
34622 _ACEOF
34623 rm -f conftest.$ac_objext
34624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34625 (eval $ac_compile) 2>conftest.er1
34626 ac_status=$?
34627 grep -v '^ *+' conftest.er1 >conftest.err
34628 rm -f conftest.er1
34629 cat conftest.err >&5
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); } &&
34632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34634 (eval $ac_try) 2>&5
34635 ac_status=$?
34636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34637 (exit $ac_status); }; } &&
34638 { ac_try='test -s conftest.$ac_objext'
34639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34640 (eval $ac_try) 2>&5
34641 ac_status=$?
34642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34643 (exit $ac_status); }; }; then
34644 ac_header_compiler=yes
34645 else
34646 echo "$as_me: failed program was:" >&5
34647 sed 's/^/| /' conftest.$ac_ext >&5
34648
34649 ac_header_compiler=no
34650 fi
34651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34653 echo "${ECHO_T}$ac_header_compiler" >&6
34654
34655 # Is the header present?
34656 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34657 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34658 cat >conftest.$ac_ext <<_ACEOF
34659 /* confdefs.h. */
34660 _ACEOF
34661 cat confdefs.h >>conftest.$ac_ext
34662 cat >>conftest.$ac_ext <<_ACEOF
34663 /* end confdefs.h. */
34664 #include <$ac_header>
34665 _ACEOF
34666 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34667 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34668 ac_status=$?
34669 grep -v '^ *+' conftest.er1 >conftest.err
34670 rm -f conftest.er1
34671 cat conftest.err >&5
34672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34673 (exit $ac_status); } >/dev/null; then
34674 if test -s conftest.err; then
34675 ac_cpp_err=$ac_c_preproc_warn_flag
34676 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34677 else
34678 ac_cpp_err=
34679 fi
34680 else
34681 ac_cpp_err=yes
34682 fi
34683 if test -z "$ac_cpp_err"; then
34684 ac_header_preproc=yes
34685 else
34686 echo "$as_me: failed program was:" >&5
34687 sed 's/^/| /' conftest.$ac_ext >&5
34688
34689 ac_header_preproc=no
34690 fi
34691 rm -f conftest.err conftest.$ac_ext
34692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34693 echo "${ECHO_T}$ac_header_preproc" >&6
34694
34695 # So? What about this header?
34696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34697 yes:no: )
34698 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34699 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34701 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34702 ac_header_preproc=yes
34703 ;;
34704 no:yes:* )
34705 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34706 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34707 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34708 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34709 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34710 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34711 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34712 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34715 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34716 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34717 (
34718 cat <<\_ASBOX
34719 ## ----------------------------------------- ##
34720 ## Report this to wx-dev@lists.wxwidgets.org ##
34721 ## ----------------------------------------- ##
34722 _ASBOX
34723 ) |
34724 sed "s/^/$as_me: WARNING: /" >&2
34725 ;;
34726 esac
34727 echo "$as_me:$LINENO: checking for $ac_header" >&5
34728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34730 echo $ECHO_N "(cached) $ECHO_C" >&6
34731 else
34732 eval "$as_ac_Header=\$ac_header_preproc"
34733 fi
34734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34736
34737 fi
34738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34739 cat >>confdefs.h <<_ACEOF
34740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34741 _ACEOF
34742
34743 fi
34744
34745 done
34746
34747
34748 if test "$wxUSE_LIBSDL" != "no"; then
34749
34750 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34751 if test "${with_sdl_prefix+set}" = set; then
34752 withval="$with_sdl_prefix"
34753 sdl_prefix="$withval"
34754 else
34755 sdl_prefix=""
34756 fi;
34757
34758 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34759 if test "${with_sdl_exec_prefix+set}" = set; then
34760 withval="$with_sdl_exec_prefix"
34761 sdl_exec_prefix="$withval"
34762 else
34763 sdl_exec_prefix=""
34764 fi;
34765 # Check whether --enable-sdltest or --disable-sdltest was given.
34766 if test "${enable_sdltest+set}" = set; then
34767 enableval="$enable_sdltest"
34768
34769 else
34770 enable_sdltest=yes
34771 fi;
34772
34773 if test x$sdl_exec_prefix != x ; then
34774 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34775 if test x${SDL_CONFIG+set} != xset ; then
34776 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34777 fi
34778 fi
34779 if test x$sdl_prefix != x ; then
34780 sdl_args="$sdl_args --prefix=$sdl_prefix"
34781 if test x${SDL_CONFIG+set} != xset ; then
34782 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34783 fi
34784 fi
34785
34786
34787 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34788 # Extract the first word of "sdl-config", so it can be a program name with args.
34789 set dummy sdl-config; ac_word=$2
34790 echo "$as_me:$LINENO: checking for $ac_word" >&5
34791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34792 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34793 echo $ECHO_N "(cached) $ECHO_C" >&6
34794 else
34795 case $SDL_CONFIG in
34796 [\\/]* | ?:[\\/]*)
34797 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
34798 ;;
34799 *)
34800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34801 for as_dir in $PATH
34802 do
34803 IFS=$as_save_IFS
34804 test -z "$as_dir" && as_dir=.
34805 for ac_exec_ext in '' $ac_executable_extensions; do
34806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34807 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34809 break 2
34810 fi
34811 done
34812 done
34813
34814 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
34815 ;;
34816 esac
34817 fi
34818 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
34819
34820 if test -n "$SDL_CONFIG"; then
34821 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34822 echo "${ECHO_T}$SDL_CONFIG" >&6
34823 else
34824 echo "$as_me:$LINENO: result: no" >&5
34825 echo "${ECHO_T}no" >&6
34826 fi
34827
34828 min_sdl_version=1.2.0
34829 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34830 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34831 no_sdl=""
34832 if test "$SDL_CONFIG" = "no" ; then
34833 no_sdl=yes
34834 else
34835 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
34836 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
34837
34838 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
34839 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34840 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
34841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34842 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
34843 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34844 if test "x$enable_sdltest" = "xyes" ; then
34845 ac_save_CFLAGS="$CFLAGS"
34846 ac_save_LIBS="$LIBS"
34847 CFLAGS="$CFLAGS $SDL_CFLAGS"
34848 LIBS="$LIBS $SDL_LIBS"
34849 rm -f conf.sdltest
34850 if test "$cross_compiling" = yes; then
34851 echo $ac_n "cross compiling; assumed OK... $ac_c"
34852 else
34853 cat >conftest.$ac_ext <<_ACEOF
34854 /* confdefs.h. */
34855 _ACEOF
34856 cat confdefs.h >>conftest.$ac_ext
34857 cat >>conftest.$ac_ext <<_ACEOF
34858 /* end confdefs.h. */
34859
34860 #include <stdio.h>
34861 #include <stdlib.h>
34862 #include <string.h>
34863 #include "SDL.h"
34864
34865 char*
34866 my_strdup (char *str)
34867 {
34868 char *new_str;
34869
34870 if (str)
34871 {
34872 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34873 strcpy (new_str, str);
34874 }
34875 else
34876 new_str = NULL;
34877
34878 return new_str;
34879 }
34880
34881 int main (int argc, char *argv[])
34882 {
34883 int major, minor, micro;
34884 char *tmp_version;
34885
34886 /* This hangs on some systems (?)
34887 system ("touch conf.sdltest");
34888 */
34889 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34890
34891 /* HP/UX 9 (%@#!) writes to sscanf strings */
34892 tmp_version = my_strdup("$min_sdl_version");
34893 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34894 printf("%s, bad version string\n", "$min_sdl_version");
34895 exit(1);
34896 }
34897
34898 if (($sdl_major_version > major) ||
34899 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34900 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34901 {
34902 return 0;
34903 }
34904 else
34905 {
34906 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34907 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34908 printf("*** best to upgrade to the required version.\n");
34909 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34910 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34911 printf("*** config.cache before re-running configure\n");
34912 return 1;
34913 }
34914 }
34915
34916
34917 _ACEOF
34918 rm -f conftest$ac_exeext
34919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34920 (eval $ac_link) 2>&5
34921 ac_status=$?
34922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34925 (eval $ac_try) 2>&5
34926 ac_status=$?
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); }; }; then
34929 :
34930 else
34931 echo "$as_me: program exited with status $ac_status" >&5
34932 echo "$as_me: failed program was:" >&5
34933 sed 's/^/| /' conftest.$ac_ext >&5
34934
34935 ( exit $ac_status )
34936 no_sdl=yes
34937 fi
34938 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34939 fi
34940 CFLAGS="$ac_save_CFLAGS"
34941 LIBS="$ac_save_LIBS"
34942 fi
34943 fi
34944 if test "x$no_sdl" = x ; then
34945 echo "$as_me:$LINENO: result: yes" >&5
34946 echo "${ECHO_T}yes" >&6
34947
34948 EXTRALIBS_SDL="$SDL_LIBS"
34949 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34950 cat >>confdefs.h <<\_ACEOF
34951 #define wxUSE_LIBSDL 1
34952 _ACEOF
34953
34954
34955 else
34956 echo "$as_me:$LINENO: result: no" >&5
34957 echo "${ECHO_T}no" >&6
34958 if test "$SDL_CONFIG" = "no" ; then
34959 echo "*** The sdl-config script installed by SDL could not be found"
34960 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34961 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34962 echo "*** full path to sdl-config."
34963 else
34964 if test -f conf.sdltest ; then
34965 :
34966 else
34967 echo "*** Could not run SDL test program, checking why..."
34968 CFLAGS="$CFLAGS $SDL_CFLAGS"
34969 LIBS="$LIBS $SDL_LIBS"
34970 cat >conftest.$ac_ext <<_ACEOF
34971 /* confdefs.h. */
34972 _ACEOF
34973 cat confdefs.h >>conftest.$ac_ext
34974 cat >>conftest.$ac_ext <<_ACEOF
34975 /* end confdefs.h. */
34976
34977 #include <stdio.h>
34978 #include "SDL.h"
34979
34980 int main(int argc, char *argv[])
34981 { return 0; }
34982 #undef main
34983 #define main K_and_R_C_main
34984
34985 int
34986 main ()
34987 {
34988 return 0;
34989 ;
34990 return 0;
34991 }
34992 _ACEOF
34993 rm -f conftest.$ac_objext conftest$ac_exeext
34994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34995 (eval $ac_link) 2>conftest.er1
34996 ac_status=$?
34997 grep -v '^ *+' conftest.er1 >conftest.err
34998 rm -f conftest.er1
34999 cat conftest.err >&5
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); } &&
35002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35004 (eval $ac_try) 2>&5
35005 ac_status=$?
35006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35007 (exit $ac_status); }; } &&
35008 { ac_try='test -s conftest$ac_exeext'
35009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35010 (eval $ac_try) 2>&5
35011 ac_status=$?
35012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35013 (exit $ac_status); }; }; then
35014 echo "*** The test program compiled, but did not run. This usually means"
35015 echo "*** that the run-time linker is not finding SDL or finding the wrong"
35016 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
35017 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35018 echo "*** to the installed location Also, make sure you have run ldconfig if that"
35019 echo "*** is required on your system"
35020 echo "***"
35021 echo "*** If you have an old version installed, it is best to remove it, although"
35022 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35023 else
35024 echo "$as_me: failed program was:" >&5
35025 sed 's/^/| /' conftest.$ac_ext >&5
35026
35027 echo "*** The test program failed to compile or link. See the file config.log for the"
35028 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
35029 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
35030 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
35031 fi
35032 rm -f conftest.err conftest.$ac_objext \
35033 conftest$ac_exeext conftest.$ac_ext
35034 CFLAGS="$ac_save_CFLAGS"
35035 LIBS="$ac_save_LIBS"
35036 fi
35037 fi
35038 SDL_CFLAGS=""
35039 SDL_LIBS=""
35040 wxUSE_LIBSDL="no"
35041 fi
35042
35043
35044 rm -f conf.sdltest
35045
35046 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
35047 WITH_PLUGIN_SDL=1
35048 fi
35049 fi
35050 fi
35051
35052 cat >>confdefs.h <<\_ACEOF
35053 #define wxUSE_SOUND 1
35054 _ACEOF
35055
35056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
35057 fi
35058
35059 if test "$WXGTK20" = 1; then
35060 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35061 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
35062
35063
35064 succeeded=no
35065
35066 if test -z "$PKG_CONFIG"; then
35067 # Extract the first word of "pkg-config", so it can be a program name with args.
35068 set dummy pkg-config; ac_word=$2
35069 echo "$as_me:$LINENO: checking for $ac_word" >&5
35070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35071 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35072 echo $ECHO_N "(cached) $ECHO_C" >&6
35073 else
35074 case $PKG_CONFIG in
35075 [\\/]* | ?:[\\/]*)
35076 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35077 ;;
35078 *)
35079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35080 for as_dir in $PATH
35081 do
35082 IFS=$as_save_IFS
35083 test -z "$as_dir" && as_dir=.
35084 for ac_exec_ext in '' $ac_executable_extensions; do
35085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35086 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35088 break 2
35089 fi
35090 done
35091 done
35092
35093 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
35094 ;;
35095 esac
35096 fi
35097 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35098
35099 if test -n "$PKG_CONFIG"; then
35100 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35101 echo "${ECHO_T}$PKG_CONFIG" >&6
35102 else
35103 echo "$as_me:$LINENO: result: no" >&5
35104 echo "${ECHO_T}no" >&6
35105 fi
35106
35107 fi
35108
35109 if test "$PKG_CONFIG" = "no" ; then
35110 echo "*** The pkg-config script could not be found. Make sure it is"
35111 echo "*** in your path, or set the PKG_CONFIG environment variable"
35112 echo "*** to the full path to pkg-config."
35113 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
35114 else
35115 PKG_CONFIG_MIN_VERSION=0.9.0
35116 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
35117 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
35118 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
35119
35120 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
35121 echo "$as_me:$LINENO: result: yes" >&5
35122 echo "${ECHO_T}yes" >&6
35123 succeeded=yes
35124
35125 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
35126 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
35127 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
35128 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
35129 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
35130
35131 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
35132 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
35133 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
35134 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
35135 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
35136 else
35137 LIBGNOMEPRINTUI_CFLAGS=""
35138 LIBGNOMEPRINTUI_LIBS=""
35139 ## If we have a custom action on failure, don't print errors, but
35140 ## do set a variable so people can do so.
35141 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
35142
35143 fi
35144
35145
35146
35147 else
35148 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
35149 echo "*** See http://www.freedesktop.org/software/pkgconfig"
35150 fi
35151 fi
35152
35153 if test $succeeded = yes; then
35154
35155 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
35156 cat >>confdefs.h <<\_ACEOF
35157 #define wxUSE_LIBGNOMEPRINT 1
35158 _ACEOF
35159
35160
35161 else
35162
35163 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
35164 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
35165 wxUSE_LIBGNOMEPRINT="no"
35166
35167
35168 fi
35169
35170 fi
35171 fi
35172 fi
35173
35174
35175 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35176 cat >>confdefs.h <<\_ACEOF
35177 #define wxUSE_CMDLINE_PARSER 1
35178 _ACEOF
35179
35180 fi
35181
35182 if test "$wxUSE_STOPWATCH" = "yes"; then
35183 cat >>confdefs.h <<\_ACEOF
35184 #define wxUSE_STOPWATCH 1
35185 _ACEOF
35186
35187 fi
35188
35189 if test "$wxUSE_DATETIME" = "yes"; then
35190 cat >>confdefs.h <<\_ACEOF
35191 #define wxUSE_DATETIME 1
35192 _ACEOF
35193
35194 fi
35195
35196 if test "$wxUSE_FILE" = "yes"; then
35197 cat >>confdefs.h <<\_ACEOF
35198 #define wxUSE_FILE 1
35199 _ACEOF
35200
35201 fi
35202
35203 if test "$wxUSE_FFILE" = "yes"; then
35204 cat >>confdefs.h <<\_ACEOF
35205 #define wxUSE_FFILE 1
35206 _ACEOF
35207
35208 fi
35209
35210 if test "$wxUSE_FILESYSTEM" = "yes"; then
35211 cat >>confdefs.h <<\_ACEOF
35212 #define wxUSE_FILESYSTEM 1
35213 _ACEOF
35214
35215 fi
35216
35217 if test "$wxUSE_FS_ZIP" = "yes"; then
35218 cat >>confdefs.h <<\_ACEOF
35219 #define wxUSE_FS_ZIP 1
35220 _ACEOF
35221
35222 fi
35223
35224 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35225 cat >>confdefs.h <<\_ACEOF
35226 #define wxUSE_ZIPSTREAM 1
35227 _ACEOF
35228
35229 fi
35230
35231 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35232 cat >>confdefs.h <<\_ACEOF
35233 #define wxUSE_ON_FATAL_EXCEPTION 1
35234 _ACEOF
35235
35236 fi
35237
35238 if test "$wxUSE_STACKWALKER" = "yes"; then
35239 cat >>confdefs.h <<\_ACEOF
35240 #define wxUSE_STACKWALKER 1
35241 _ACEOF
35242
35243 fi
35244
35245 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35246 cat >>confdefs.h <<\_ACEOF
35247 #define wxUSE_SNGLINST_CHECKER 1
35248 _ACEOF
35249
35250 fi
35251
35252 if test "$wxUSE_BUSYINFO" = "yes"; then
35253 cat >>confdefs.h <<\_ACEOF
35254 #define wxUSE_BUSYINFO 1
35255 _ACEOF
35256
35257 fi
35258
35259 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35260 cat >>confdefs.h <<\_ACEOF
35261 #define wxUSE_STD_IOSTREAM 1
35262 _ACEOF
35263
35264 fi
35265
35266 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35267 cat >>confdefs.h <<\_ACEOF
35268 #define wxUSE_TEXTBUFFER 1
35269 _ACEOF
35270
35271 fi
35272
35273 if test "$wxUSE_TEXTFILE" = "yes"; then
35274 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35275 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35276 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35277 else
35278 cat >>confdefs.h <<\_ACEOF
35279 #define wxUSE_TEXTFILE 1
35280 _ACEOF
35281
35282 fi
35283 fi
35284
35285 if test "$wxUSE_CONFIG" = "yes" ; then
35286 if test "$wxUSE_TEXTFILE" != "yes"; then
35287 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35288 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35289 else
35290 cat >>confdefs.h <<\_ACEOF
35291 #define wxUSE_CONFIG 1
35292 _ACEOF
35293
35294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
35295 fi
35296 fi
35297
35298 if test "$wxUSE_INTL" = "yes" ; then
35299 if test "$wxUSE_FILE" != "yes"; then
35300 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35301 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35302 else
35303 cat >>confdefs.h <<\_ACEOF
35304 #define wxUSE_INTL 1
35305 _ACEOF
35306
35307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
35308 GUIDIST="$GUIDIST INTL_DIST"
35309 fi
35310 fi
35311
35312 if test "$wxUSE_LOG" = "yes"; then
35313 cat >>confdefs.h <<\_ACEOF
35314 #define wxUSE_LOG 1
35315 _ACEOF
35316
35317
35318 if test "$wxUSE_LOGGUI" = "yes"; then
35319 cat >>confdefs.h <<\_ACEOF
35320 #define wxUSE_LOGGUI 1
35321 _ACEOF
35322
35323 fi
35324
35325 if test "$wxUSE_LOGWINDOW" = "yes"; then
35326 cat >>confdefs.h <<\_ACEOF
35327 #define wxUSE_LOGWINDOW 1
35328 _ACEOF
35329
35330 fi
35331
35332 if test "$wxUSE_LOGDIALOG" = "yes"; then
35333 cat >>confdefs.h <<\_ACEOF
35334 #define wxUSE_LOG_DIALOG 1
35335 _ACEOF
35336
35337 fi
35338 fi
35339
35340 if test "$wxUSE_LONGLONG" = "yes"; then
35341 cat >>confdefs.h <<\_ACEOF
35342 #define wxUSE_LONGLONG 1
35343 _ACEOF
35344
35345 fi
35346
35347 if test "$wxUSE_GEOMETRY" = "yes"; then
35348 cat >>confdefs.h <<\_ACEOF
35349 #define wxUSE_GEOMETRY 1
35350 _ACEOF
35351
35352 fi
35353
35354 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
35355 cat >>confdefs.h <<\_ACEOF
35356 #define wxUSE_DIALUP_MANAGER 1
35357 _ACEOF
35358
35359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
35360 fi
35361
35362 if test "$wxUSE_STREAMS" = "yes" ; then
35363 cat >>confdefs.h <<\_ACEOF
35364 #define wxUSE_STREAMS 1
35365 _ACEOF
35366
35367 fi
35368
35369
35370 if test "$wxUSE_DATETIME" = "yes"; then
35371
35372 for ac_func in strptime
35373 do
35374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35375 echo "$as_me:$LINENO: checking for $ac_func" >&5
35376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35377 if eval "test \"\${$as_ac_var+set}\" = set"; then
35378 echo $ECHO_N "(cached) $ECHO_C" >&6
35379 else
35380 cat >conftest.$ac_ext <<_ACEOF
35381 /* confdefs.h. */
35382 _ACEOF
35383 cat confdefs.h >>conftest.$ac_ext
35384 cat >>conftest.$ac_ext <<_ACEOF
35385 /* end confdefs.h. */
35386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35388 #define $ac_func innocuous_$ac_func
35389
35390 /* System header to define __stub macros and hopefully few prototypes,
35391 which can conflict with char $ac_func (); below.
35392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35393 <limits.h> exists even on freestanding compilers. */
35394
35395 #ifdef __STDC__
35396 # include <limits.h>
35397 #else
35398 # include <assert.h>
35399 #endif
35400
35401 #undef $ac_func
35402
35403 /* Override any gcc2 internal prototype to avoid an error. */
35404 #ifdef __cplusplus
35405 extern "C"
35406 {
35407 #endif
35408 /* We use char because int might match the return type of a gcc2
35409 builtin and then its argument prototype would still apply. */
35410 char $ac_func ();
35411 /* The GNU C library defines this for functions which it implements
35412 to always fail with ENOSYS. Some functions are actually named
35413 something starting with __ and the normal name is an alias. */
35414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35415 choke me
35416 #else
35417 char (*f) () = $ac_func;
35418 #endif
35419 #ifdef __cplusplus
35420 }
35421 #endif
35422
35423 int
35424 main ()
35425 {
35426 return f != $ac_func;
35427 ;
35428 return 0;
35429 }
35430 _ACEOF
35431 rm -f conftest.$ac_objext conftest$ac_exeext
35432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35433 (eval $ac_link) 2>conftest.er1
35434 ac_status=$?
35435 grep -v '^ *+' conftest.er1 >conftest.err
35436 rm -f conftest.er1
35437 cat conftest.err >&5
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); } &&
35440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35442 (eval $ac_try) 2>&5
35443 ac_status=$?
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); }; } &&
35446 { ac_try='test -s conftest$ac_exeext'
35447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35448 (eval $ac_try) 2>&5
35449 ac_status=$?
35450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35451 (exit $ac_status); }; }; then
35452 eval "$as_ac_var=yes"
35453 else
35454 echo "$as_me: failed program was:" >&5
35455 sed 's/^/| /' conftest.$ac_ext >&5
35456
35457 eval "$as_ac_var=no"
35458 fi
35459 rm -f conftest.err conftest.$ac_objext \
35460 conftest$ac_exeext conftest.$ac_ext
35461 fi
35462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35464 if test `eval echo '${'$as_ac_var'}'` = yes; then
35465 cat >>confdefs.h <<_ACEOF
35466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35467 _ACEOF
35468
35469 fi
35470 done
35471
35472
35473 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35474 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35475 if test "${wx_cv_var_timezone+set}" = set; then
35476 echo $ECHO_N "(cached) $ECHO_C" >&6
35477 else
35478
35479 cat >conftest.$ac_ext <<_ACEOF
35480 /* confdefs.h. */
35481 _ACEOF
35482 cat confdefs.h >>conftest.$ac_ext
35483 cat >>conftest.$ac_ext <<_ACEOF
35484 /* end confdefs.h. */
35485
35486 #include <time.h>
35487
35488 int
35489 main ()
35490 {
35491
35492 int tz;
35493 tz = timezone;
35494
35495 ;
35496 return 0;
35497 }
35498 _ACEOF
35499 rm -f conftest.$ac_objext
35500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35501 (eval $ac_compile) 2>conftest.er1
35502 ac_status=$?
35503 grep -v '^ *+' conftest.er1 >conftest.err
35504 rm -f conftest.er1
35505 cat conftest.err >&5
35506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35507 (exit $ac_status); } &&
35508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35510 (eval $ac_try) 2>&5
35511 ac_status=$?
35512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35513 (exit $ac_status); }; } &&
35514 { ac_try='test -s conftest.$ac_objext'
35515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35516 (eval $ac_try) 2>&5
35517 ac_status=$?
35518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35519 (exit $ac_status); }; }; then
35520
35521 wx_cv_var_timezone=timezone
35522
35523 else
35524 echo "$as_me: failed program was:" >&5
35525 sed 's/^/| /' conftest.$ac_ext >&5
35526
35527
35528 cat >conftest.$ac_ext <<_ACEOF
35529 /* confdefs.h. */
35530 _ACEOF
35531 cat confdefs.h >>conftest.$ac_ext
35532 cat >>conftest.$ac_ext <<_ACEOF
35533 /* end confdefs.h. */
35534
35535 #include <time.h>
35536
35537 int
35538 main ()
35539 {
35540
35541 int tz;
35542 tz = _timezone;
35543
35544 ;
35545 return 0;
35546 }
35547 _ACEOF
35548 rm -f conftest.$ac_objext
35549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35550 (eval $ac_compile) 2>conftest.er1
35551 ac_status=$?
35552 grep -v '^ *+' conftest.er1 >conftest.err
35553 rm -f conftest.er1
35554 cat conftest.err >&5
35555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556 (exit $ac_status); } &&
35557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35559 (eval $ac_try) 2>&5
35560 ac_status=$?
35561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35562 (exit $ac_status); }; } &&
35563 { ac_try='test -s conftest.$ac_objext'
35564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35565 (eval $ac_try) 2>&5
35566 ac_status=$?
35567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35568 (exit $ac_status); }; }; then
35569
35570 wx_cv_var_timezone=_timezone
35571
35572 else
35573 echo "$as_me: failed program was:" >&5
35574 sed 's/^/| /' conftest.$ac_ext >&5
35575
35576
35577 cat >conftest.$ac_ext <<_ACEOF
35578 /* confdefs.h. */
35579 _ACEOF
35580 cat confdefs.h >>conftest.$ac_ext
35581 cat >>conftest.$ac_ext <<_ACEOF
35582 /* end confdefs.h. */
35583
35584 #include <time.h>
35585
35586 int
35587 main ()
35588 {
35589
35590 int tz;
35591 tz = __timezone;
35592
35593 ;
35594 return 0;
35595 }
35596 _ACEOF
35597 rm -f conftest.$ac_objext
35598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35599 (eval $ac_compile) 2>conftest.er1
35600 ac_status=$?
35601 grep -v '^ *+' conftest.er1 >conftest.err
35602 rm -f conftest.er1
35603 cat conftest.err >&5
35604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605 (exit $ac_status); } &&
35606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35608 (eval $ac_try) 2>&5
35609 ac_status=$?
35610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611 (exit $ac_status); }; } &&
35612 { ac_try='test -s conftest.$ac_objext'
35613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35614 (eval $ac_try) 2>&5
35615 ac_status=$?
35616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35617 (exit $ac_status); }; }; then
35618
35619 wx_cv_var_timezone=__timezone
35620
35621 else
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.$ac_ext >&5
35624
35625
35626 if test "$USE_DOS" = 0 ; then
35627 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35628 echo "$as_me: WARNING: no timezone variable" >&2;}
35629 fi
35630
35631
35632 fi
35633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35634
35635
35636 fi
35637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35638
35639
35640 fi
35641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35642
35643
35644 fi
35645 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35646 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35647
35648 if test "x$wx_cv_var_timezone" != x ; then
35649 cat >>confdefs.h <<_ACEOF
35650 #define WX_TIMEZONE $wx_cv_var_timezone
35651 _ACEOF
35652
35653 fi
35654
35655
35656 for ac_func in localtime
35657 do
35658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35659 echo "$as_me:$LINENO: checking for $ac_func" >&5
35660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35661 if eval "test \"\${$as_ac_var+set}\" = set"; then
35662 echo $ECHO_N "(cached) $ECHO_C" >&6
35663 else
35664 cat >conftest.$ac_ext <<_ACEOF
35665 /* confdefs.h. */
35666 _ACEOF
35667 cat confdefs.h >>conftest.$ac_ext
35668 cat >>conftest.$ac_ext <<_ACEOF
35669 /* end confdefs.h. */
35670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35672 #define $ac_func innocuous_$ac_func
35673
35674 /* System header to define __stub macros and hopefully few prototypes,
35675 which can conflict with char $ac_func (); below.
35676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35677 <limits.h> exists even on freestanding compilers. */
35678
35679 #ifdef __STDC__
35680 # include <limits.h>
35681 #else
35682 # include <assert.h>
35683 #endif
35684
35685 #undef $ac_func
35686
35687 /* Override any gcc2 internal prototype to avoid an error. */
35688 #ifdef __cplusplus
35689 extern "C"
35690 {
35691 #endif
35692 /* We use char because int might match the return type of a gcc2
35693 builtin and then its argument prototype would still apply. */
35694 char $ac_func ();
35695 /* The GNU C library defines this for functions which it implements
35696 to always fail with ENOSYS. Some functions are actually named
35697 something starting with __ and the normal name is an alias. */
35698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35699 choke me
35700 #else
35701 char (*f) () = $ac_func;
35702 #endif
35703 #ifdef __cplusplus
35704 }
35705 #endif
35706
35707 int
35708 main ()
35709 {
35710 return f != $ac_func;
35711 ;
35712 return 0;
35713 }
35714 _ACEOF
35715 rm -f conftest.$ac_objext conftest$ac_exeext
35716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35717 (eval $ac_link) 2>conftest.er1
35718 ac_status=$?
35719 grep -v '^ *+' conftest.er1 >conftest.err
35720 rm -f conftest.er1
35721 cat conftest.err >&5
35722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35723 (exit $ac_status); } &&
35724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35726 (eval $ac_try) 2>&5
35727 ac_status=$?
35728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35729 (exit $ac_status); }; } &&
35730 { ac_try='test -s conftest$ac_exeext'
35731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35732 (eval $ac_try) 2>&5
35733 ac_status=$?
35734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35735 (exit $ac_status); }; }; then
35736 eval "$as_ac_var=yes"
35737 else
35738 echo "$as_me: failed program was:" >&5
35739 sed 's/^/| /' conftest.$ac_ext >&5
35740
35741 eval "$as_ac_var=no"
35742 fi
35743 rm -f conftest.err conftest.$ac_objext \
35744 conftest$ac_exeext conftest.$ac_ext
35745 fi
35746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35748 if test `eval echo '${'$as_ac_var'}'` = yes; then
35749 cat >>confdefs.h <<_ACEOF
35750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35751 _ACEOF
35752
35753 fi
35754 done
35755
35756
35757 if test "$ac_cv_func_localtime" = "yes"; then
35758 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35759 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35760 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35761 echo $ECHO_N "(cached) $ECHO_C" >&6
35762 else
35763
35764 cat >conftest.$ac_ext <<_ACEOF
35765 /* confdefs.h. */
35766 _ACEOF
35767 cat confdefs.h >>conftest.$ac_ext
35768 cat >>conftest.$ac_ext <<_ACEOF
35769 /* end confdefs.h. */
35770
35771 #include <time.h>
35772
35773 int
35774 main ()
35775 {
35776
35777 struct tm tm;
35778 tm.tm_gmtoff++;
35779
35780 ;
35781 return 0;
35782 }
35783 _ACEOF
35784 rm -f conftest.$ac_objext
35785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35786 (eval $ac_compile) 2>conftest.er1
35787 ac_status=$?
35788 grep -v '^ *+' conftest.er1 >conftest.err
35789 rm -f conftest.er1
35790 cat conftest.err >&5
35791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35792 (exit $ac_status); } &&
35793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35795 (eval $ac_try) 2>&5
35796 ac_status=$?
35797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35798 (exit $ac_status); }; } &&
35799 { ac_try='test -s conftest.$ac_objext'
35800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35801 (eval $ac_try) 2>&5
35802 ac_status=$?
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); }; }; then
35805
35806 wx_cv_struct_tm_has_gmtoff=yes
35807
35808 else
35809 echo "$as_me: failed program was:" >&5
35810 sed 's/^/| /' conftest.$ac_ext >&5
35811
35812 wx_cv_struct_tm_has_gmtoff=no
35813
35814 fi
35815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35816
35817 fi
35818 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35819 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35820 fi
35821
35822 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35823 cat >>confdefs.h <<\_ACEOF
35824 #define WX_GMTOFF_IN_TM 1
35825 _ACEOF
35826
35827 fi
35828
35829
35830
35831 for ac_func in gettimeofday ftime
35832 do
35833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35834 echo "$as_me:$LINENO: checking for $ac_func" >&5
35835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35836 if eval "test \"\${$as_ac_var+set}\" = set"; then
35837 echo $ECHO_N "(cached) $ECHO_C" >&6
35838 else
35839 cat >conftest.$ac_ext <<_ACEOF
35840 /* confdefs.h. */
35841 _ACEOF
35842 cat confdefs.h >>conftest.$ac_ext
35843 cat >>conftest.$ac_ext <<_ACEOF
35844 /* end confdefs.h. */
35845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35847 #define $ac_func innocuous_$ac_func
35848
35849 /* System header to define __stub macros and hopefully few prototypes,
35850 which can conflict with char $ac_func (); below.
35851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35852 <limits.h> exists even on freestanding compilers. */
35853
35854 #ifdef __STDC__
35855 # include <limits.h>
35856 #else
35857 # include <assert.h>
35858 #endif
35859
35860 #undef $ac_func
35861
35862 /* Override any gcc2 internal prototype to avoid an error. */
35863 #ifdef __cplusplus
35864 extern "C"
35865 {
35866 #endif
35867 /* We use char because int might match the return type of a gcc2
35868 builtin and then its argument prototype would still apply. */
35869 char $ac_func ();
35870 /* The GNU C library defines this for functions which it implements
35871 to always fail with ENOSYS. Some functions are actually named
35872 something starting with __ and the normal name is an alias. */
35873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35874 choke me
35875 #else
35876 char (*f) () = $ac_func;
35877 #endif
35878 #ifdef __cplusplus
35879 }
35880 #endif
35881
35882 int
35883 main ()
35884 {
35885 return f != $ac_func;
35886 ;
35887 return 0;
35888 }
35889 _ACEOF
35890 rm -f conftest.$ac_objext conftest$ac_exeext
35891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35892 (eval $ac_link) 2>conftest.er1
35893 ac_status=$?
35894 grep -v '^ *+' conftest.er1 >conftest.err
35895 rm -f conftest.er1
35896 cat conftest.err >&5
35897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35898 (exit $ac_status); } &&
35899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35901 (eval $ac_try) 2>&5
35902 ac_status=$?
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); }; } &&
35905 { ac_try='test -s conftest$ac_exeext'
35906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35907 (eval $ac_try) 2>&5
35908 ac_status=$?
35909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35910 (exit $ac_status); }; }; then
35911 eval "$as_ac_var=yes"
35912 else
35913 echo "$as_me: failed program was:" >&5
35914 sed 's/^/| /' conftest.$ac_ext >&5
35915
35916 eval "$as_ac_var=no"
35917 fi
35918 rm -f conftest.err conftest.$ac_objext \
35919 conftest$ac_exeext conftest.$ac_ext
35920 fi
35921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35923 if test `eval echo '${'$as_ac_var'}'` = yes; then
35924 cat >>confdefs.h <<_ACEOF
35925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35926 _ACEOF
35927 break
35928 fi
35929 done
35930
35931
35932 if test "$ac_cv_func_gettimeofday" = "yes"; then
35933 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35934 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35935 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35936 echo $ECHO_N "(cached) $ECHO_C" >&6
35937 else
35938
35939
35940
35941 ac_ext=cc
35942 ac_cpp='$CXXCPP $CPPFLAGS'
35943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35946
35947
35948 cat >conftest.$ac_ext <<_ACEOF
35949 /* confdefs.h. */
35950 _ACEOF
35951 cat confdefs.h >>conftest.$ac_ext
35952 cat >>conftest.$ac_ext <<_ACEOF
35953 /* end confdefs.h. */
35954
35955 #include <sys/time.h>
35956 #include <unistd.h>
35957
35958 int
35959 main ()
35960 {
35961
35962 struct timeval tv;
35963 gettimeofday(&tv, NULL);
35964
35965 ;
35966 return 0;
35967 }
35968 _ACEOF
35969 rm -f conftest.$ac_objext
35970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35971 (eval $ac_compile) 2>conftest.er1
35972 ac_status=$?
35973 grep -v '^ *+' conftest.er1 >conftest.err
35974 rm -f conftest.er1
35975 cat conftest.err >&5
35976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35977 (exit $ac_status); } &&
35978 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35980 (eval $ac_try) 2>&5
35981 ac_status=$?
35982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35983 (exit $ac_status); }; } &&
35984 { ac_try='test -s conftest.$ac_objext'
35985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35986 (eval $ac_try) 2>&5
35987 ac_status=$?
35988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35989 (exit $ac_status); }; }; then
35990 wx_cv_func_gettimeofday_has_2_args=yes
35991 else
35992 echo "$as_me: failed program was:" >&5
35993 sed 's/^/| /' conftest.$ac_ext >&5
35994
35995 cat >conftest.$ac_ext <<_ACEOF
35996 /* confdefs.h. */
35997 _ACEOF
35998 cat confdefs.h >>conftest.$ac_ext
35999 cat >>conftest.$ac_ext <<_ACEOF
36000 /* end confdefs.h. */
36001
36002 #include <sys/time.h>
36003 #include <unistd.h>
36004
36005 int
36006 main ()
36007 {
36008
36009 struct timeval tv;
36010 gettimeofday(&tv);
36011
36012 ;
36013 return 0;
36014 }
36015 _ACEOF
36016 rm -f conftest.$ac_objext
36017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36018 (eval $ac_compile) 2>conftest.er1
36019 ac_status=$?
36020 grep -v '^ *+' conftest.er1 >conftest.err
36021 rm -f conftest.er1
36022 cat conftest.err >&5
36023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36024 (exit $ac_status); } &&
36025 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36027 (eval $ac_try) 2>&5
36028 ac_status=$?
36029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36030 (exit $ac_status); }; } &&
36031 { ac_try='test -s conftest.$ac_objext'
36032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36033 (eval $ac_try) 2>&5
36034 ac_status=$?
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); }; }; then
36037 wx_cv_func_gettimeofday_has_2_args=no
36038 else
36039 echo "$as_me: failed program was:" >&5
36040 sed 's/^/| /' conftest.$ac_ext >&5
36041
36042
36043 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
36044 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
36045 wx_cv_func_gettimeofday_has_2_args=unknown
36046
36047
36048 fi
36049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36050
36051 fi
36052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36053 ac_ext=c
36054 ac_cpp='$CPP $CPPFLAGS'
36055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36058
36059
36060 fi
36061 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
36062 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
36063
36064 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
36065 cat >>confdefs.h <<\_ACEOF
36066 #define WX_GETTIMEOFDAY_NO_TZ 1
36067 _ACEOF
36068
36069 fi
36070 fi
36071
36072 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
36073 fi
36074
36075
36076 if test "$wxUSE_SOCKETS" = "yes"; then
36077 if test "$wxUSE_MGL" = "1"; then
36078 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
36079 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
36080 wxUSE_SOCKETS="no"
36081 fi
36082 fi
36083
36084 if test "$wxUSE_SOCKETS" = "yes"; then
36085 if test "$TOOLKIT" != "MSW"; then
36086 echo "$as_me:$LINENO: checking for socket" >&5
36087 echo $ECHO_N "checking for socket... $ECHO_C" >&6
36088 if test "${ac_cv_func_socket+set}" = set; then
36089 echo $ECHO_N "(cached) $ECHO_C" >&6
36090 else
36091 cat >conftest.$ac_ext <<_ACEOF
36092 /* confdefs.h. */
36093 _ACEOF
36094 cat confdefs.h >>conftest.$ac_ext
36095 cat >>conftest.$ac_ext <<_ACEOF
36096 /* end confdefs.h. */
36097 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
36098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36099 #define socket innocuous_socket
36100
36101 /* System header to define __stub macros and hopefully few prototypes,
36102 which can conflict with char socket (); below.
36103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36104 <limits.h> exists even on freestanding compilers. */
36105
36106 #ifdef __STDC__
36107 # include <limits.h>
36108 #else
36109 # include <assert.h>
36110 #endif
36111
36112 #undef socket
36113
36114 /* Override any gcc2 internal prototype to avoid an error. */
36115 #ifdef __cplusplus
36116 extern "C"
36117 {
36118 #endif
36119 /* We use char because int might match the return type of a gcc2
36120 builtin and then its argument prototype would still apply. */
36121 char socket ();
36122 /* The GNU C library defines this for functions which it implements
36123 to always fail with ENOSYS. Some functions are actually named
36124 something starting with __ and the normal name is an alias. */
36125 #if defined (__stub_socket) || defined (__stub___socket)
36126 choke me
36127 #else
36128 char (*f) () = socket;
36129 #endif
36130 #ifdef __cplusplus
36131 }
36132 #endif
36133
36134 int
36135 main ()
36136 {
36137 return f != socket;
36138 ;
36139 return 0;
36140 }
36141 _ACEOF
36142 rm -f conftest.$ac_objext conftest$ac_exeext
36143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36144 (eval $ac_link) 2>conftest.er1
36145 ac_status=$?
36146 grep -v '^ *+' conftest.er1 >conftest.err
36147 rm -f conftest.er1
36148 cat conftest.err >&5
36149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36150 (exit $ac_status); } &&
36151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36153 (eval $ac_try) 2>&5
36154 ac_status=$?
36155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36156 (exit $ac_status); }; } &&
36157 { ac_try='test -s conftest$ac_exeext'
36158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36159 (eval $ac_try) 2>&5
36160 ac_status=$?
36161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36162 (exit $ac_status); }; }; then
36163 ac_cv_func_socket=yes
36164 else
36165 echo "$as_me: failed program was:" >&5
36166 sed 's/^/| /' conftest.$ac_ext >&5
36167
36168 ac_cv_func_socket=no
36169 fi
36170 rm -f conftest.err conftest.$ac_objext \
36171 conftest$ac_exeext conftest.$ac_ext
36172 fi
36173 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36174 echo "${ECHO_T}$ac_cv_func_socket" >&6
36175 if test $ac_cv_func_socket = yes; then
36176 :
36177 else
36178
36179 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36180 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36181 if test "${ac_cv_lib_socket_socket+set}" = set; then
36182 echo $ECHO_N "(cached) $ECHO_C" >&6
36183 else
36184 ac_check_lib_save_LIBS=$LIBS
36185 LIBS="-lsocket $LIBS"
36186 cat >conftest.$ac_ext <<_ACEOF
36187 /* confdefs.h. */
36188 _ACEOF
36189 cat confdefs.h >>conftest.$ac_ext
36190 cat >>conftest.$ac_ext <<_ACEOF
36191 /* end confdefs.h. */
36192
36193 /* Override any gcc2 internal prototype to avoid an error. */
36194 #ifdef __cplusplus
36195 extern "C"
36196 #endif
36197 /* We use char because int might match the return type of a gcc2
36198 builtin and then its argument prototype would still apply. */
36199 char socket ();
36200 int
36201 main ()
36202 {
36203 socket ();
36204 ;
36205 return 0;
36206 }
36207 _ACEOF
36208 rm -f conftest.$ac_objext conftest$ac_exeext
36209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36210 (eval $ac_link) 2>conftest.er1
36211 ac_status=$?
36212 grep -v '^ *+' conftest.er1 >conftest.err
36213 rm -f conftest.er1
36214 cat conftest.err >&5
36215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36216 (exit $ac_status); } &&
36217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36219 (eval $ac_try) 2>&5
36220 ac_status=$?
36221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36222 (exit $ac_status); }; } &&
36223 { ac_try='test -s conftest$ac_exeext'
36224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36225 (eval $ac_try) 2>&5
36226 ac_status=$?
36227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36228 (exit $ac_status); }; }; then
36229 ac_cv_lib_socket_socket=yes
36230 else
36231 echo "$as_me: failed program was:" >&5
36232 sed 's/^/| /' conftest.$ac_ext >&5
36233
36234 ac_cv_lib_socket_socket=no
36235 fi
36236 rm -f conftest.err conftest.$ac_objext \
36237 conftest$ac_exeext conftest.$ac_ext
36238 LIBS=$ac_check_lib_save_LIBS
36239 fi
36240 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36241 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36242 if test $ac_cv_lib_socket_socket = yes; then
36243 if test "$INET_LINK" != " -lsocket"; then
36244 INET_LINK="$INET_LINK -lsocket"
36245 fi
36246 else
36247
36248 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36249 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36250 wxUSE_SOCKETS=no
36251
36252
36253 fi
36254
36255
36256
36257 fi
36258
36259 fi
36260 fi
36261
36262 if test "$wxUSE_SOCKETS" = "yes" ; then
36263 if test "$TOOLKIT" != "MSW"; then
36264 ac_ext=cc
36265 ac_cpp='$CXXCPP $CPPFLAGS'
36266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36269
36270 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36271 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36272 if test "${wx_cv_type_getsockname3+set}" = set; then
36273 echo $ECHO_N "(cached) $ECHO_C" >&6
36274 else
36275
36276 cat >conftest.$ac_ext <<_ACEOF
36277 /* confdefs.h. */
36278 _ACEOF
36279 cat confdefs.h >>conftest.$ac_ext
36280 cat >>conftest.$ac_ext <<_ACEOF
36281 /* end confdefs.h. */
36282
36283 #include <sys/types.h>
36284 #include <sys/socket.h>
36285
36286 int
36287 main ()
36288 {
36289
36290 socklen_t len;
36291 getsockname(0, 0, &len);
36292
36293 ;
36294 return 0;
36295 }
36296 _ACEOF
36297 rm -f conftest.$ac_objext
36298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36299 (eval $ac_compile) 2>conftest.er1
36300 ac_status=$?
36301 grep -v '^ *+' conftest.er1 >conftest.err
36302 rm -f conftest.er1
36303 cat conftest.err >&5
36304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36305 (exit $ac_status); } &&
36306 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36308 (eval $ac_try) 2>&5
36309 ac_status=$?
36310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36311 (exit $ac_status); }; } &&
36312 { ac_try='test -s conftest.$ac_objext'
36313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36314 (eval $ac_try) 2>&5
36315 ac_status=$?
36316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36317 (exit $ac_status); }; }; then
36318 wx_cv_type_getsockname3=socklen_t
36319 else
36320 echo "$as_me: failed program was:" >&5
36321 sed 's/^/| /' conftest.$ac_ext >&5
36322
36323
36324 CFLAGS_OLD="$CFLAGS"
36325 if test "$GCC" = yes ; then
36326 CFLAGS="$CFLAGS -Werror"
36327 fi
36328
36329 cat >conftest.$ac_ext <<_ACEOF
36330 /* confdefs.h. */
36331 _ACEOF
36332 cat confdefs.h >>conftest.$ac_ext
36333 cat >>conftest.$ac_ext <<_ACEOF
36334 /* end confdefs.h. */
36335
36336 #include <sys/types.h>
36337 #include <sys/socket.h>
36338
36339 int
36340 main ()
36341 {
36342
36343 size_t len;
36344 getsockname(0, 0, &len);
36345
36346 ;
36347 return 0;
36348 }
36349 _ACEOF
36350 rm -f conftest.$ac_objext
36351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36352 (eval $ac_compile) 2>conftest.er1
36353 ac_status=$?
36354 grep -v '^ *+' conftest.er1 >conftest.err
36355 rm -f conftest.er1
36356 cat conftest.err >&5
36357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36358 (exit $ac_status); } &&
36359 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36361 (eval $ac_try) 2>&5
36362 ac_status=$?
36363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36364 (exit $ac_status); }; } &&
36365 { ac_try='test -s conftest.$ac_objext'
36366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36367 (eval $ac_try) 2>&5
36368 ac_status=$?
36369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); }; }; then
36371 wx_cv_type_getsockname3=size_t
36372 else
36373 echo "$as_me: failed program was:" >&5
36374 sed 's/^/| /' conftest.$ac_ext >&5
36375
36376 cat >conftest.$ac_ext <<_ACEOF
36377 /* confdefs.h. */
36378 _ACEOF
36379 cat confdefs.h >>conftest.$ac_ext
36380 cat >>conftest.$ac_ext <<_ACEOF
36381 /* end confdefs.h. */
36382
36383 #include <sys/types.h>
36384 #include <sys/socket.h>
36385
36386 int
36387 main ()
36388 {
36389
36390 int len;
36391 getsockname(0, 0, &len);
36392
36393 ;
36394 return 0;
36395 }
36396 _ACEOF
36397 rm -f conftest.$ac_objext
36398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36399 (eval $ac_compile) 2>conftest.er1
36400 ac_status=$?
36401 grep -v '^ *+' conftest.er1 >conftest.err
36402 rm -f conftest.er1
36403 cat conftest.err >&5
36404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36405 (exit $ac_status); } &&
36406 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36408 (eval $ac_try) 2>&5
36409 ac_status=$?
36410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36411 (exit $ac_status); }; } &&
36412 { ac_try='test -s conftest.$ac_objext'
36413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36414 (eval $ac_try) 2>&5
36415 ac_status=$?
36416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36417 (exit $ac_status); }; }; then
36418 wx_cv_type_getsockname3=int
36419 else
36420 echo "$as_me: failed program was:" >&5
36421 sed 's/^/| /' conftest.$ac_ext >&5
36422
36423 wx_cv_type_getsockname3=unknown
36424
36425 fi
36426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36427
36428 fi
36429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36430
36431 CFLAGS="$CFLAGS_OLD"
36432
36433
36434 fi
36435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36436
36437 fi
36438 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36439 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36440
36441 if test "$wx_cv_type_getsockname3" = "unknown"; then
36442 wxUSE_SOCKETS=no
36443 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36444 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36445 else
36446 cat >>confdefs.h <<_ACEOF
36447 #define SOCKLEN_T $wx_cv_type_getsockname3
36448 _ACEOF
36449
36450 fi
36451 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
36452 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
36453 if test "${wx_cv_type_getsockopt5+set}" = set; then
36454 echo $ECHO_N "(cached) $ECHO_C" >&6
36455 else
36456
36457 cat >conftest.$ac_ext <<_ACEOF
36458 /* confdefs.h. */
36459 _ACEOF
36460 cat confdefs.h >>conftest.$ac_ext
36461 cat >>conftest.$ac_ext <<_ACEOF
36462 /* end confdefs.h. */
36463
36464 #include <sys/types.h>
36465 #include <sys/socket.h>
36466
36467 int
36468 main ()
36469 {
36470
36471 socklen_t len;
36472 getsockopt(0, 0, 0, 0, &len);
36473
36474 ;
36475 return 0;
36476 }
36477 _ACEOF
36478 rm -f conftest.$ac_objext
36479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36480 (eval $ac_compile) 2>conftest.er1
36481 ac_status=$?
36482 grep -v '^ *+' conftest.er1 >conftest.err
36483 rm -f conftest.er1
36484 cat conftest.err >&5
36485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36486 (exit $ac_status); } &&
36487 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36489 (eval $ac_try) 2>&5
36490 ac_status=$?
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); }; } &&
36493 { ac_try='test -s conftest.$ac_objext'
36494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36495 (eval $ac_try) 2>&5
36496 ac_status=$?
36497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36498 (exit $ac_status); }; }; then
36499 wx_cv_type_getsockopt5=socklen_t
36500 else
36501 echo "$as_me: failed program was:" >&5
36502 sed 's/^/| /' conftest.$ac_ext >&5
36503
36504
36505 CFLAGS_OLD="$CFLAGS"
36506 if test "$GCC" = yes ; then
36507 CFLAGS="$CFLAGS -Werror"
36508 fi
36509
36510 cat >conftest.$ac_ext <<_ACEOF
36511 /* confdefs.h. */
36512 _ACEOF
36513 cat confdefs.h >>conftest.$ac_ext
36514 cat >>conftest.$ac_ext <<_ACEOF
36515 /* end confdefs.h. */
36516
36517 #include <sys/types.h>
36518 #include <sys/socket.h>
36519
36520 int
36521 main ()
36522 {
36523
36524 size_t len;
36525 getsockopt(0, 0, 0, 0, &len);
36526
36527 ;
36528 return 0;
36529 }
36530 _ACEOF
36531 rm -f conftest.$ac_objext
36532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36533 (eval $ac_compile) 2>conftest.er1
36534 ac_status=$?
36535 grep -v '^ *+' conftest.er1 >conftest.err
36536 rm -f conftest.er1
36537 cat conftest.err >&5
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); } &&
36540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36542 (eval $ac_try) 2>&5
36543 ac_status=$?
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); }; } &&
36546 { ac_try='test -s conftest.$ac_objext'
36547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36548 (eval $ac_try) 2>&5
36549 ac_status=$?
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); }; }; then
36552 wx_cv_type_getsockopt5=size_t
36553 else
36554 echo "$as_me: failed program was:" >&5
36555 sed 's/^/| /' conftest.$ac_ext >&5
36556
36557 cat >conftest.$ac_ext <<_ACEOF
36558 /* confdefs.h. */
36559 _ACEOF
36560 cat confdefs.h >>conftest.$ac_ext
36561 cat >>conftest.$ac_ext <<_ACEOF
36562 /* end confdefs.h. */
36563
36564 #include <sys/types.h>
36565 #include <sys/socket.h>
36566
36567 int
36568 main ()
36569 {
36570
36571 int len;
36572 getsockopt(0, 0, 0, 0, &len);
36573
36574 ;
36575 return 0;
36576 }
36577 _ACEOF
36578 rm -f conftest.$ac_objext
36579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36580 (eval $ac_compile) 2>conftest.er1
36581 ac_status=$?
36582 grep -v '^ *+' conftest.er1 >conftest.err
36583 rm -f conftest.er1
36584 cat conftest.err >&5
36585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586 (exit $ac_status); } &&
36587 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36589 (eval $ac_try) 2>&5
36590 ac_status=$?
36591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36592 (exit $ac_status); }; } &&
36593 { ac_try='test -s conftest.$ac_objext'
36594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36595 (eval $ac_try) 2>&5
36596 ac_status=$?
36597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36598 (exit $ac_status); }; }; then
36599 wx_cv_type_getsockopt5=int
36600 else
36601 echo "$as_me: failed program was:" >&5
36602 sed 's/^/| /' conftest.$ac_ext >&5
36603
36604 wx_cv_type_getsockopt5=unknown
36605
36606 fi
36607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36608
36609 fi
36610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36611
36612 CFLAGS="$CFLAGS_OLD"
36613
36614
36615 fi
36616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36617
36618 fi
36619 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
36620 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
36621
36622 if test "$wx_cv_type_getsockopt5" = "unknown"; then
36623 wxUSE_SOCKETS=no
36624 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36625 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36626 else
36627 cat >>confdefs.h <<_ACEOF
36628 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
36629 _ACEOF
36630
36631 fi
36632 ac_ext=c
36633 ac_cpp='$CPP $CPPFLAGS'
36634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36637
36638 fi
36639 fi
36640
36641 if test "$wxUSE_SOCKETS" = "yes" ; then
36642 cat >>confdefs.h <<\_ACEOF
36643 #define wxUSE_SOCKETS 1
36644 _ACEOF
36645
36646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
36647 fi
36648
36649 if test "$wxUSE_PROTOCOL" = "yes"; then
36650 if test "$wxUSE_SOCKETS" != "yes"; then
36651 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36652 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36653 wxUSE_PROTOCOL=no
36654 fi
36655 fi
36656
36657 if test "$wxUSE_PROTOCOL" = "yes"; then
36658 cat >>confdefs.h <<\_ACEOF
36659 #define wxUSE_PROTOCOL 1
36660 _ACEOF
36661
36662
36663 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36664 cat >>confdefs.h <<\_ACEOF
36665 #define wxUSE_PROTOCOL_HTTP 1
36666 _ACEOF
36667
36668 fi
36669 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36670 cat >>confdefs.h <<\_ACEOF
36671 #define wxUSE_PROTOCOL_FTP 1
36672 _ACEOF
36673
36674 fi
36675 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36676 cat >>confdefs.h <<\_ACEOF
36677 #define wxUSE_PROTOCOL_FILE 1
36678 _ACEOF
36679
36680 fi
36681 else
36682 if test "$wxUSE_FS_INET" = "yes"; then
36683 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36684 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36685 wxUSE_FS_INET="no"
36686 fi
36687 fi
36688
36689 if test "$wxUSE_URL" = "yes"; then
36690 if test "$wxUSE_PROTOCOL" != "yes"; then
36691 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36692 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36693 wxUSE_URL=no
36694 fi
36695 if test "$wxUSE_URL" = "yes"; then
36696 cat >>confdefs.h <<\_ACEOF
36697 #define wxUSE_URL 1
36698 _ACEOF
36699
36700 fi
36701 fi
36702
36703 if test "$wxUSE_FS_INET" = "yes"; then
36704 cat >>confdefs.h <<\_ACEOF
36705 #define wxUSE_FS_INET 1
36706 _ACEOF
36707
36708 fi
36709
36710
36711 if test "$wxUSE_GUI" = "yes"; then
36712
36713 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36714 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36715 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36716 wxUSE_JOYSTICK=no
36717 fi
36718
36719 if test "$TOOLKIT" != "MSW"; then
36720 if test "$wxUSE_JOYSTICK" = "yes"; then
36721
36722 for ac_header in linux/joystick.h
36723 do
36724 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36726 echo "$as_me:$LINENO: checking for $ac_header" >&5
36727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36729 echo $ECHO_N "(cached) $ECHO_C" >&6
36730 fi
36731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36733 else
36734 # Is the header compilable?
36735 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36736 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36737 cat >conftest.$ac_ext <<_ACEOF
36738 /* confdefs.h. */
36739 _ACEOF
36740 cat confdefs.h >>conftest.$ac_ext
36741 cat >>conftest.$ac_ext <<_ACEOF
36742 /* end confdefs.h. */
36743 $ac_includes_default
36744 #include <$ac_header>
36745 _ACEOF
36746 rm -f conftest.$ac_objext
36747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36748 (eval $ac_compile) 2>conftest.er1
36749 ac_status=$?
36750 grep -v '^ *+' conftest.er1 >conftest.err
36751 rm -f conftest.er1
36752 cat conftest.err >&5
36753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36754 (exit $ac_status); } &&
36755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36757 (eval $ac_try) 2>&5
36758 ac_status=$?
36759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760 (exit $ac_status); }; } &&
36761 { ac_try='test -s conftest.$ac_objext'
36762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36763 (eval $ac_try) 2>&5
36764 ac_status=$?
36765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36766 (exit $ac_status); }; }; then
36767 ac_header_compiler=yes
36768 else
36769 echo "$as_me: failed program was:" >&5
36770 sed 's/^/| /' conftest.$ac_ext >&5
36771
36772 ac_header_compiler=no
36773 fi
36774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36776 echo "${ECHO_T}$ac_header_compiler" >&6
36777
36778 # Is the header present?
36779 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36780 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36781 cat >conftest.$ac_ext <<_ACEOF
36782 /* confdefs.h. */
36783 _ACEOF
36784 cat confdefs.h >>conftest.$ac_ext
36785 cat >>conftest.$ac_ext <<_ACEOF
36786 /* end confdefs.h. */
36787 #include <$ac_header>
36788 _ACEOF
36789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36791 ac_status=$?
36792 grep -v '^ *+' conftest.er1 >conftest.err
36793 rm -f conftest.er1
36794 cat conftest.err >&5
36795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36796 (exit $ac_status); } >/dev/null; then
36797 if test -s conftest.err; then
36798 ac_cpp_err=$ac_c_preproc_warn_flag
36799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36800 else
36801 ac_cpp_err=
36802 fi
36803 else
36804 ac_cpp_err=yes
36805 fi
36806 if test -z "$ac_cpp_err"; then
36807 ac_header_preproc=yes
36808 else
36809 echo "$as_me: failed program was:" >&5
36810 sed 's/^/| /' conftest.$ac_ext >&5
36811
36812 ac_header_preproc=no
36813 fi
36814 rm -f conftest.err conftest.$ac_ext
36815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36816 echo "${ECHO_T}$ac_header_preproc" >&6
36817
36818 # So? What about this header?
36819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36820 yes:no: )
36821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36824 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36825 ac_header_preproc=yes
36826 ;;
36827 no:yes:* )
36828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36832 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36833 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36834 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36835 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36838 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36839 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36840 (
36841 cat <<\_ASBOX
36842 ## ----------------------------------------- ##
36843 ## Report this to wx-dev@lists.wxwidgets.org ##
36844 ## ----------------------------------------- ##
36845 _ASBOX
36846 ) |
36847 sed "s/^/$as_me: WARNING: /" >&2
36848 ;;
36849 esac
36850 echo "$as_me:$LINENO: checking for $ac_header" >&5
36851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36853 echo $ECHO_N "(cached) $ECHO_C" >&6
36854 else
36855 eval "$as_ac_Header=\$ac_header_preproc"
36856 fi
36857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36859
36860 fi
36861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36862 cat >>confdefs.h <<_ACEOF
36863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36864 _ACEOF
36865
36866 fi
36867
36868 done
36869
36870 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36871 wxUSE_JOYSTICK=no
36872 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36873 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36874 fi
36875 fi
36876 fi
36877
36878 if test "$wxUSE_JOYSTICK" = "yes"; then
36879 cat >>confdefs.h <<\_ACEOF
36880 #define wxUSE_JOYSTICK 1
36881 _ACEOF
36882
36883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
36884 fi
36885 fi
36886
36887
36888
36889 if test "$wxUSE_FONTMAP" = "yes" ; then
36890 cat >>confdefs.h <<\_ACEOF
36891 #define wxUSE_FONTMAP 1
36892 _ACEOF
36893
36894 fi
36895
36896 if test "$wxUSE_UNICODE" = "yes" ; then
36897 cat >>confdefs.h <<\_ACEOF
36898 #define wxUSE_UNICODE 1
36899 _ACEOF
36900
36901
36902 if test "$USE_WIN32" != 1; then
36903 wxUSE_UNICODE_MSLU=no
36904 fi
36905
36906 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36907 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36908 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36909 if test "${ac_cv_lib_unicows_main+set}" = set; then
36910 echo $ECHO_N "(cached) $ECHO_C" >&6
36911 else
36912 ac_check_lib_save_LIBS=$LIBS
36913 LIBS="-lunicows $LIBS"
36914 cat >conftest.$ac_ext <<_ACEOF
36915 /* confdefs.h. */
36916 _ACEOF
36917 cat confdefs.h >>conftest.$ac_ext
36918 cat >>conftest.$ac_ext <<_ACEOF
36919 /* end confdefs.h. */
36920
36921
36922 int
36923 main ()
36924 {
36925 main ();
36926 ;
36927 return 0;
36928 }
36929 _ACEOF
36930 rm -f conftest.$ac_objext conftest$ac_exeext
36931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36932 (eval $ac_link) 2>conftest.er1
36933 ac_status=$?
36934 grep -v '^ *+' conftest.er1 >conftest.err
36935 rm -f conftest.er1
36936 cat conftest.err >&5
36937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36938 (exit $ac_status); } &&
36939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36941 (eval $ac_try) 2>&5
36942 ac_status=$?
36943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36944 (exit $ac_status); }; } &&
36945 { ac_try='test -s conftest$ac_exeext'
36946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36947 (eval $ac_try) 2>&5
36948 ac_status=$?
36949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36950 (exit $ac_status); }; }; then
36951 ac_cv_lib_unicows_main=yes
36952 else
36953 echo "$as_me: failed program was:" >&5
36954 sed 's/^/| /' conftest.$ac_ext >&5
36955
36956 ac_cv_lib_unicows_main=no
36957 fi
36958 rm -f conftest.err conftest.$ac_objext \
36959 conftest$ac_exeext conftest.$ac_ext
36960 LIBS=$ac_check_lib_save_LIBS
36961 fi
36962 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36963 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36964 if test $ac_cv_lib_unicows_main = yes; then
36965
36966 cat >>confdefs.h <<\_ACEOF
36967 #define wxUSE_UNICODE_MSLU 1
36968 _ACEOF
36969
36970
36971 else
36972
36973 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36974 Applications will only run on Windows NT/2000/XP!" >&5
36975 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36976 Applications will only run on Windows NT/2000/XP!" >&2;}
36977 wxUSE_UNICODE_MSLU=no
36978
36979 fi
36980
36981 fi
36982 fi
36983
36984 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36985 cat >>confdefs.h <<\_ACEOF
36986 #define wxUSE_EXPERIMENTAL_PRINTF 1
36987 _ACEOF
36988
36989 fi
36990
36991
36992 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36993 cat >>confdefs.h <<\_ACEOF
36994 #define wxUSE_POSTSCRIPT 1
36995 _ACEOF
36996
36997 fi
36998
36999 cat >>confdefs.h <<\_ACEOF
37000 #define wxUSE_AFM_FOR_POSTSCRIPT 1
37001 _ACEOF
37002
37003
37004 cat >>confdefs.h <<\_ACEOF
37005 #define wxUSE_NORMALIZED_PS_FONTS 1
37006 _ACEOF
37007
37008
37009
37010 if test "$wxUSE_CONSTRAINTS" = "yes"; then
37011 cat >>confdefs.h <<\_ACEOF
37012 #define wxUSE_CONSTRAINTS 1
37013 _ACEOF
37014
37015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
37016 fi
37017
37018 if test "$wxUSE_MDI" = "yes"; then
37019 cat >>confdefs.h <<\_ACEOF
37020 #define wxUSE_MDI 1
37021 _ACEOF
37022
37023
37024 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37025 cat >>confdefs.h <<\_ACEOF
37026 #define wxUSE_MDI_ARCHITECTURE 1
37027 _ACEOF
37028
37029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
37030 fi
37031 fi
37032
37033 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
37034 cat >>confdefs.h <<\_ACEOF
37035 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
37036 _ACEOF
37037
37038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
37039 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37040 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
37041 fi
37042 fi
37043
37044 if test "$wxUSE_HELP" = "yes"; then
37045 cat >>confdefs.h <<\_ACEOF
37046 #define wxUSE_HELP 1
37047 _ACEOF
37048
37049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
37050
37051 if test "$wxUSE_MSW" = 1; then
37052 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
37053 cat >>confdefs.h <<\_ACEOF
37054 #define wxUSE_MS_HTML_HELP 1
37055 _ACEOF
37056
37057 fi
37058 fi
37059
37060 if test "$wxUSE_WXHTML_HELP" = "yes"; then
37061 if test "$wxUSE_HTML" = "yes"; then
37062 cat >>confdefs.h <<\_ACEOF
37063 #define wxUSE_WXHTML_HELP 1
37064 _ACEOF
37065
37066 else
37067 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
37068 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
37069 wxUSE_WXHTML_HELP=no
37070 fi
37071 fi
37072 fi
37073
37074 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37075 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37076 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
37077 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
37078 else
37079 cat >>confdefs.h <<\_ACEOF
37080 #define wxUSE_PRINTING_ARCHITECTURE 1
37081 _ACEOF
37082
37083 fi
37084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
37085 fi
37086
37087 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
37088 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
37089 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
37090 { (exit 1); exit 1; }; }
37091 fi
37092
37093
37094 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
37095 -o "$wxUSE_CLIPBOARD" = "yes" \
37096 -o "$wxUSE_OLE" = "yes" \
37097 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
37098
37099 for ac_header in ole2.h
37100 do
37101 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37103 echo "$as_me:$LINENO: checking for $ac_header" >&5
37104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37106 echo $ECHO_N "(cached) $ECHO_C" >&6
37107 fi
37108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37110 else
37111 # Is the header compilable?
37112 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37113 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37114 cat >conftest.$ac_ext <<_ACEOF
37115 /* confdefs.h. */
37116 _ACEOF
37117 cat confdefs.h >>conftest.$ac_ext
37118 cat >>conftest.$ac_ext <<_ACEOF
37119 /* end confdefs.h. */
37120 $ac_includes_default
37121 #include <$ac_header>
37122 _ACEOF
37123 rm -f conftest.$ac_objext
37124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37125 (eval $ac_compile) 2>conftest.er1
37126 ac_status=$?
37127 grep -v '^ *+' conftest.er1 >conftest.err
37128 rm -f conftest.er1
37129 cat conftest.err >&5
37130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37131 (exit $ac_status); } &&
37132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37134 (eval $ac_try) 2>&5
37135 ac_status=$?
37136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37137 (exit $ac_status); }; } &&
37138 { ac_try='test -s conftest.$ac_objext'
37139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37140 (eval $ac_try) 2>&5
37141 ac_status=$?
37142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37143 (exit $ac_status); }; }; then
37144 ac_header_compiler=yes
37145 else
37146 echo "$as_me: failed program was:" >&5
37147 sed 's/^/| /' conftest.$ac_ext >&5
37148
37149 ac_header_compiler=no
37150 fi
37151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37153 echo "${ECHO_T}$ac_header_compiler" >&6
37154
37155 # Is the header present?
37156 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37157 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37158 cat >conftest.$ac_ext <<_ACEOF
37159 /* confdefs.h. */
37160 _ACEOF
37161 cat confdefs.h >>conftest.$ac_ext
37162 cat >>conftest.$ac_ext <<_ACEOF
37163 /* end confdefs.h. */
37164 #include <$ac_header>
37165 _ACEOF
37166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37167 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37168 ac_status=$?
37169 grep -v '^ *+' conftest.er1 >conftest.err
37170 rm -f conftest.er1
37171 cat conftest.err >&5
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); } >/dev/null; then
37174 if test -s conftest.err; then
37175 ac_cpp_err=$ac_c_preproc_warn_flag
37176 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37177 else
37178 ac_cpp_err=
37179 fi
37180 else
37181 ac_cpp_err=yes
37182 fi
37183 if test -z "$ac_cpp_err"; then
37184 ac_header_preproc=yes
37185 else
37186 echo "$as_me: failed program was:" >&5
37187 sed 's/^/| /' conftest.$ac_ext >&5
37188
37189 ac_header_preproc=no
37190 fi
37191 rm -f conftest.err conftest.$ac_ext
37192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37193 echo "${ECHO_T}$ac_header_preproc" >&6
37194
37195 # So? What about this header?
37196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37197 yes:no: )
37198 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37201 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37202 ac_header_preproc=yes
37203 ;;
37204 no:yes:* )
37205 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37207 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37208 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37209 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37210 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37211 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37212 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37215 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37216 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37217 (
37218 cat <<\_ASBOX
37219 ## ----------------------------------------- ##
37220 ## Report this to wx-dev@lists.wxwidgets.org ##
37221 ## ----------------------------------------- ##
37222 _ASBOX
37223 ) |
37224 sed "s/^/$as_me: WARNING: /" >&2
37225 ;;
37226 esac
37227 echo "$as_me:$LINENO: checking for $ac_header" >&5
37228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37230 echo $ECHO_N "(cached) $ECHO_C" >&6
37231 else
37232 eval "$as_ac_Header=\$ac_header_preproc"
37233 fi
37234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37236
37237 fi
37238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37239 cat >>confdefs.h <<_ACEOF
37240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37241 _ACEOF
37242
37243 fi
37244
37245 done
37246
37247
37248 if test "$ac_cv_header_ole2_h" = "yes" ; then
37249 if test "$GCC" = yes ; then
37250
37251
37252 ac_ext=cc
37253 ac_cpp='$CXXCPP $CPPFLAGS'
37254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37257
37258
37259 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37260 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37261 cat >conftest.$ac_ext <<_ACEOF
37262 /* confdefs.h. */
37263 _ACEOF
37264 cat confdefs.h >>conftest.$ac_ext
37265 cat >>conftest.$ac_ext <<_ACEOF
37266 /* end confdefs.h. */
37267 #include <windows.h>
37268 #include <ole2.h>
37269 int
37270 main ()
37271 {
37272
37273 ;
37274 return 0;
37275 }
37276 _ACEOF
37277 rm -f conftest.$ac_objext
37278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37279 (eval $ac_compile) 2>conftest.er1
37280 ac_status=$?
37281 grep -v '^ *+' conftest.er1 >conftest.err
37282 rm -f conftest.er1
37283 cat conftest.err >&5
37284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37285 (exit $ac_status); } &&
37286 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37288 (eval $ac_try) 2>&5
37289 ac_status=$?
37290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37291 (exit $ac_status); }; } &&
37292 { ac_try='test -s conftest.$ac_objext'
37293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37294 (eval $ac_try) 2>&5
37295 ac_status=$?
37296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37297 (exit $ac_status); }; }; then
37298 echo "$as_me:$LINENO: result: no" >&5
37299 echo "${ECHO_T}no" >&6
37300 else
37301 echo "$as_me: failed program was:" >&5
37302 sed 's/^/| /' conftest.$ac_ext >&5
37303
37304 echo "$as_me:$LINENO: result: yes" >&5
37305 echo "${ECHO_T}yes" >&6
37306 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37307 fi
37308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37309 ac_ext=c
37310 ac_cpp='$CPP $CPPFLAGS'
37311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37314
37315 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37316 if test "$wxUSE_OLE" = "yes" ; then
37317 cat >>confdefs.h <<\_ACEOF
37318 #define wxUSE_OLE 1
37319 _ACEOF
37320
37321 fi
37322 fi
37323
37324 if test "$wxUSE_DATAOBJ" = "yes" ; then
37325 cat >>confdefs.h <<\_ACEOF
37326 #define wxUSE_DATAOBJ 1
37327 _ACEOF
37328
37329 fi
37330 else
37331 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37332 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37333
37334 wxUSE_CLIPBOARD=no
37335 wxUSE_DRAG_AND_DROP=no
37336 wxUSE_DATAOBJ=no
37337 wxUSE_OLE=no
37338 fi
37339
37340 if test "$wxUSE_METAFILE" = "yes"; then
37341 cat >>confdefs.h <<\_ACEOF
37342 #define wxUSE_METAFILE 1
37343 _ACEOF
37344
37345
37346 cat >>confdefs.h <<\_ACEOF
37347 #define wxUSE_ENH_METAFILE 1
37348 _ACEOF
37349
37350 fi
37351 fi
37352
37353 if test "$wxUSE_IPC" = "yes"; then
37354 if test "$wxUSE_SOCKETS" != "yes"; then
37355 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37356 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37357 fi
37358
37359 cat >>confdefs.h <<\_ACEOF
37360 #define wxUSE_IPC 1
37361 _ACEOF
37362
37363 fi
37364
37365 if test "$wxUSE_CLIPBOARD" = "yes"; then
37366 if test "$wxUSE_MGL" = 1; then
37367 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37368 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37369 wxUSE_CLIPBOARD=no
37370 fi
37371
37372 if test "$wxUSE_CLIPBOARD" = "yes"; then
37373 cat >>confdefs.h <<\_ACEOF
37374 #define wxUSE_CLIPBOARD 1
37375 _ACEOF
37376
37377
37378 cat >>confdefs.h <<\_ACEOF
37379 #define wxUSE_DATAOBJ 1
37380 _ACEOF
37381
37382 fi
37383 fi
37384
37385 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37386 if test "$wxUSE_GTK" = 1; then
37387 if test "$WXGTK12" != 1; then
37388 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37389 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37390 wxUSE_DRAG_AND_DROP=no
37391 fi
37392 fi
37393
37394 if test "$wxUSE_MOTIF" = 1; then
37395 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37396 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37397 wxUSE_DRAG_AND_DROP=no
37398 fi
37399
37400 if test "$wxUSE_X11" = 1; then
37401 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37402 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37403 wxUSE_DRAG_AND_DROP=no
37404 fi
37405
37406 if test "$wxUSE_MGL" = 1; then
37407 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37408 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37409 wxUSE_DRAG_AND_DROP=no
37410 fi
37411
37412 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37413 cat >>confdefs.h <<\_ACEOF
37414 #define wxUSE_DRAG_AND_DROP 1
37415 _ACEOF
37416
37417 fi
37418
37419 fi
37420
37421 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
37423 fi
37424
37425 if test "$wxUSE_SPLINES" = "yes" ; then
37426 cat >>confdefs.h <<\_ACEOF
37427 #define wxUSE_SPLINES 1
37428 _ACEOF
37429
37430 fi
37431
37432
37433 USES_CONTROLS=0
37434 if test "$wxUSE_CONTROLS" = "yes"; then
37435 USES_CONTROLS=1
37436 fi
37437
37438 if test "$wxUSE_ACCEL" = "yes"; then
37439 cat >>confdefs.h <<\_ACEOF
37440 #define wxUSE_ACCEL 1
37441 _ACEOF
37442
37443 USES_CONTROLS=1
37444 fi
37445
37446 if test "$wxUSE_BUTTON" = "yes"; then
37447 cat >>confdefs.h <<\_ACEOF
37448 #define wxUSE_BUTTON 1
37449 _ACEOF
37450
37451 USES_CONTROLS=1
37452 fi
37453
37454 if test "$wxUSE_BMPBUTTON" = "yes"; then
37455 cat >>confdefs.h <<\_ACEOF
37456 #define wxUSE_BMPBUTTON 1
37457 _ACEOF
37458
37459 USES_CONTROLS=1
37460 fi
37461
37462 if test "$wxUSE_CALCTRL" = "yes"; then
37463 cat >>confdefs.h <<\_ACEOF
37464 #define wxUSE_CALENDARCTRL 1
37465 _ACEOF
37466
37467 USES_CONTROLS=1
37468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
37469 fi
37470
37471 if test "$wxUSE_CARET" = "yes"; then
37472 cat >>confdefs.h <<\_ACEOF
37473 #define wxUSE_CARET 1
37474 _ACEOF
37475
37476 USES_CONTROLS=1
37477 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
37478 fi
37479
37480 if test "$wxUSE_COMBOBOX" = "yes"; then
37481 cat >>confdefs.h <<\_ACEOF
37482 #define wxUSE_COMBOBOX 1
37483 _ACEOF
37484
37485 USES_CONTROLS=1
37486 fi
37487
37488 if test "$wxUSE_CHOICE" = "yes"; then
37489 cat >>confdefs.h <<\_ACEOF
37490 #define wxUSE_CHOICE 1
37491 _ACEOF
37492
37493 USES_CONTROLS=1
37494 fi
37495
37496 if test "$wxUSE_CHOICEBOOK" = "yes"; then
37497 cat >>confdefs.h <<\_ACEOF
37498 #define wxUSE_CHOICEBOOK 1
37499 _ACEOF
37500
37501 USES_CONTROLS=1
37502 fi
37503
37504 if test "$wxUSE_CHECKBOX" = "yes"; then
37505 cat >>confdefs.h <<\_ACEOF
37506 #define wxUSE_CHECKBOX 1
37507 _ACEOF
37508
37509 USES_CONTROLS=1
37510 fi
37511
37512 if test "$wxUSE_CHECKLST" = "yes"; then
37513 cat >>confdefs.h <<\_ACEOF
37514 #define wxUSE_CHECKLISTBOX 1
37515 _ACEOF
37516
37517 USES_CONTROLS=1
37518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
37519 fi
37520
37521 if test "$wxUSE_DISPLAY" = "yes"; then
37522 cat >>confdefs.h <<\_ACEOF
37523 #define wxUSE_DISPLAY 1
37524 _ACEOF
37525
37526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
37527 fi
37528
37529 if test "$wxUSE_GAUGE" = "yes"; then
37530 cat >>confdefs.h <<\_ACEOF
37531 #define wxUSE_GAUGE 1
37532 _ACEOF
37533
37534 USES_CONTROLS=1
37535 fi
37536
37537 if test "$wxUSE_GRID" = "yes"; then
37538 cat >>confdefs.h <<\_ACEOF
37539 #define wxUSE_GRID 1
37540 _ACEOF
37541
37542 USES_CONTROLS=1
37543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
37544 fi
37545
37546 if test "$wxUSE_IMAGLIST" = "yes"; then
37547 cat >>confdefs.h <<\_ACEOF
37548 #define wxUSE_IMAGLIST 1
37549 _ACEOF
37550
37551 fi
37552
37553 if test "$wxUSE_LISTBOOK" = "yes"; then
37554 cat >>confdefs.h <<\_ACEOF
37555 #define wxUSE_LISTBOOK 1
37556 _ACEOF
37557
37558 USES_CONTROLS=1
37559 fi
37560
37561 if test "$wxUSE_LISTBOX" = "yes"; then
37562 cat >>confdefs.h <<\_ACEOF
37563 #define wxUSE_LISTBOX 1
37564 _ACEOF
37565
37566 USES_CONTROLS=1
37567 fi
37568
37569 if test "$wxUSE_LISTCTRL" = "yes"; then
37570 if test "$wxUSE_IMAGLIST" = "yes"; then
37571 cat >>confdefs.h <<\_ACEOF
37572 #define wxUSE_LISTCTRL 1
37573 _ACEOF
37574
37575 USES_CONTROLS=1
37576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
37577 else
37578 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37579 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37580 fi
37581 fi
37582
37583 if test "$wxUSE_NOTEBOOK" = "yes"; then
37584 cat >>confdefs.h <<\_ACEOF
37585 #define wxUSE_NOTEBOOK 1
37586 _ACEOF
37587
37588 USES_CONTROLS=1
37589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
37590 fi
37591
37592
37593 if test "$wxUSE_RADIOBOX" = "yes"; then
37594 cat >>confdefs.h <<\_ACEOF
37595 #define wxUSE_RADIOBOX 1
37596 _ACEOF
37597
37598 USES_CONTROLS=1
37599 fi
37600
37601 if test "$wxUSE_RADIOBTN" = "yes"; then
37602 cat >>confdefs.h <<\_ACEOF
37603 #define wxUSE_RADIOBTN 1
37604 _ACEOF
37605
37606 USES_CONTROLS=1
37607 fi
37608
37609 if test "$wxUSE_SASH" = "yes"; then
37610 cat >>confdefs.h <<\_ACEOF
37611 #define wxUSE_SASH 1
37612 _ACEOF
37613
37614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
37615 fi
37616
37617 if test "$wxUSE_SCROLLBAR" = "yes"; then
37618 cat >>confdefs.h <<\_ACEOF
37619 #define wxUSE_SCROLLBAR 1
37620 _ACEOF
37621
37622 USES_CONTROLS=1
37623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
37624 fi
37625
37626 if test "$wxUSE_SLIDER" = "yes"; then
37627 cat >>confdefs.h <<\_ACEOF
37628 #define wxUSE_SLIDER 1
37629 _ACEOF
37630
37631 USES_CONTROLS=1
37632 fi
37633
37634 if test "$wxUSE_SPINBTN" = "yes"; then
37635 cat >>confdefs.h <<\_ACEOF
37636 #define wxUSE_SPINBTN 1
37637 _ACEOF
37638
37639 USES_CONTROLS=1
37640 fi
37641
37642 if test "$wxUSE_SPINCTRL" = "yes"; then
37643 cat >>confdefs.h <<\_ACEOF
37644 #define wxUSE_SPINCTRL 1
37645 _ACEOF
37646
37647 USES_CONTROLS=1
37648 fi
37649
37650 if test "$wxUSE_SPLITTER" = "yes"; then
37651 cat >>confdefs.h <<\_ACEOF
37652 #define wxUSE_SPLITTER 1
37653 _ACEOF
37654
37655 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
37656 fi
37657
37658 if test "$wxUSE_STATBMP" = "yes"; then
37659 cat >>confdefs.h <<\_ACEOF
37660 #define wxUSE_STATBMP 1
37661 _ACEOF
37662
37663 USES_CONTROLS=1
37664 fi
37665
37666 if test "$wxUSE_STATBOX" = "yes"; then
37667 cat >>confdefs.h <<\_ACEOF
37668 #define wxUSE_STATBOX 1
37669 _ACEOF
37670
37671 USES_CONTROLS=1
37672 fi
37673
37674 if test "$wxUSE_STATTEXT" = "yes"; then
37675 cat >>confdefs.h <<\_ACEOF
37676 #define wxUSE_STATTEXT 1
37677 _ACEOF
37678
37679 USES_CONTROLS=1
37680 fi
37681
37682 if test "$wxUSE_STATLINE" = "yes"; then
37683 cat >>confdefs.h <<\_ACEOF
37684 #define wxUSE_STATLINE 1
37685 _ACEOF
37686
37687 USES_CONTROLS=1
37688 fi
37689
37690 if test "$wxUSE_STATUSBAR" = "yes"; then
37691 cat >>confdefs.h <<\_ACEOF
37692 #define wxUSE_NATIVE_STATUSBAR 1
37693 _ACEOF
37694
37695 cat >>confdefs.h <<\_ACEOF
37696 #define wxUSE_STATUSBAR 1
37697 _ACEOF
37698
37699 USES_CONTROLS=1
37700
37701 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
37702 fi
37703
37704 if test "$wxUSE_TABDIALOG" = "yes"; then
37705 cat >>confdefs.h <<\_ACEOF
37706 #define wxUSE_TAB_DIALOG 1
37707 _ACEOF
37708
37709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
37710 fi
37711
37712 if test "$wxUSE_TEXTCTRL" = "yes"; then
37713 cat >>confdefs.h <<\_ACEOF
37714 #define wxUSE_TEXTCTRL 1
37715 _ACEOF
37716
37717 USES_CONTROLS=1
37718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
37719 fi
37720
37721 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37722 if test "$wxUSE_COCOA" = 1 ; then
37723 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37724 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37725 wxUSE_TOGGLEBTN=no
37726 else
37727 if test "$wxUSE_PM" = 1; then
37728 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37729 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37730 wxUSE_TOGGLEBTN=no
37731 fi
37732 fi
37733 if test "$wxUSE_UNIVERSAL" = "yes"; then
37734 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37735 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37736 wxUSE_TOGGLEBTN=no
37737 fi
37738
37739 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37740 cat >>confdefs.h <<\_ACEOF
37741 #define wxUSE_TOGGLEBTN 1
37742 _ACEOF
37743
37744 USES_CONTROLS=1
37745 fi
37746 fi
37747
37748 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37749 cat >>confdefs.h <<\_ACEOF
37750 #define wxUSE_TOOLBAR_SIMPLE 1
37751 _ACEOF
37752
37753 wxUSE_TOOLBAR="yes"
37754 USES_CONTROLS=1
37755 fi
37756
37757 if test "$wxUSE_TOOLBAR" = "yes"; then
37758 cat >>confdefs.h <<\_ACEOF
37759 #define wxUSE_TOOLBAR 1
37760 _ACEOF
37761
37762 USES_CONTROLS=1
37763
37764 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37765 wxUSE_TOOLBAR_NATIVE="yes"
37766 fi
37767
37768 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37769 cat >>confdefs.h <<\_ACEOF
37770 #define wxUSE_TOOLBAR_NATIVE 1
37771 _ACEOF
37772
37773 USES_CONTROLS=1
37774 fi
37775
37776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
37777 fi
37778
37779 if test "$wxUSE_TOOLTIPS" = "yes"; then
37780 if test "$wxUSE_MOTIF" = 1; then
37781 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37782 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37783 else
37784 if test "$wxUSE_UNIVERSAL" = "yes"; then
37785 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37786 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37787 else
37788 cat >>confdefs.h <<\_ACEOF
37789 #define wxUSE_TOOLTIPS 1
37790 _ACEOF
37791
37792 fi
37793 fi
37794 fi
37795
37796 if test "$wxUSE_TREECTRL" = "yes"; then
37797 if test "$wxUSE_IMAGLIST" = "yes"; then
37798 cat >>confdefs.h <<\_ACEOF
37799 #define wxUSE_TREECTRL 1
37800 _ACEOF
37801
37802 USES_CONTROLS=1
37803 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
37804 else
37805 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37806 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37807 fi
37808 fi
37809
37810 if test "$wxUSE_POPUPWIN" = "yes"; then
37811 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37812 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37813 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37814 else
37815 if test "$wxUSE_PM" = 1; then
37816 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37817 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37818 else
37819 cat >>confdefs.h <<\_ACEOF
37820 #define wxUSE_POPUPWIN 1
37821 _ACEOF
37822
37823
37824 USES_CONTROLS=1
37825 fi
37826 fi
37827 fi
37828
37829 if test "$wxUSE_TIPWINDOW" = "yes"; then
37830 if test "$wxUSE_PM" = 1; then
37831 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37832 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37833 else
37834 cat >>confdefs.h <<\_ACEOF
37835 #define wxUSE_TIPWINDOW 1
37836 _ACEOF
37837
37838 fi
37839 fi
37840
37841 if test "$USES_CONTROLS" = 1; then
37842 cat >>confdefs.h <<\_ACEOF
37843 #define wxUSE_CONTROLS 1
37844 _ACEOF
37845
37846 fi
37847
37848
37849 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37850 cat >>confdefs.h <<\_ACEOF
37851 #define wxUSE_ACCESSIBILITY 1
37852 _ACEOF
37853
37854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
37855 fi
37856
37857 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37858 cat >>confdefs.h <<\_ACEOF
37859 #define wxUSE_DRAGIMAGE 1
37860 _ACEOF
37861
37862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
37863 fi
37864
37865 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37866 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37867 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37868 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37869 else
37870 cat >>confdefs.h <<\_ACEOF
37871 #define wxUSE_EXCEPTIONS 1
37872 _ACEOF
37873
37874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
37875 fi
37876 fi
37877
37878 USE_HTML=0
37879 if test "$wxUSE_HTML" = "yes"; then
37880 cat >>confdefs.h <<\_ACEOF
37881 #define wxUSE_HTML 1
37882 _ACEOF
37883
37884 USE_HTML=1
37885 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37886 if test "$wxUSE_MAC" = 1; then
37887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
37888 fi
37889 fi
37890 if test "$wxUSE_WEBKIT" = "yes"; then
37891 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
37892 old_CPPFLAGS="$CPPFLAGS"
37893 CPPFLAGS="$CPPFLAGS -x objective-c++"
37894 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37895 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37896 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37897 echo $ECHO_N "(cached) $ECHO_C" >&6
37898 else
37899 cat >conftest.$ac_ext <<_ACEOF
37900 /* confdefs.h. */
37901 _ACEOF
37902 cat confdefs.h >>conftest.$ac_ext
37903 cat >>conftest.$ac_ext <<_ACEOF
37904 /* end confdefs.h. */
37905 #include <Carbon/Carbon.h>
37906
37907 #include <WebKit/HIWebView.h>
37908 _ACEOF
37909 rm -f conftest.$ac_objext
37910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37911 (eval $ac_compile) 2>conftest.er1
37912 ac_status=$?
37913 grep -v '^ *+' conftest.er1 >conftest.err
37914 rm -f conftest.er1
37915 cat conftest.err >&5
37916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37917 (exit $ac_status); } &&
37918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37920 (eval $ac_try) 2>&5
37921 ac_status=$?
37922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37923 (exit $ac_status); }; } &&
37924 { ac_try='test -s conftest.$ac_objext'
37925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37926 (eval $ac_try) 2>&5
37927 ac_status=$?
37928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37929 (exit $ac_status); }; }; then
37930 ac_cv_header_WebKit_HIWebView_h=yes
37931 else
37932 echo "$as_me: failed program was:" >&5
37933 sed 's/^/| /' conftest.$ac_ext >&5
37934
37935 ac_cv_header_WebKit_HIWebView_h=no
37936 fi
37937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37938 fi
37939 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37940 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37941 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37942
37943 cat >>confdefs.h <<\_ACEOF
37944 #define wxUSE_WEBKIT 1
37945 _ACEOF
37946
37947 WEBKIT_LINK="-framework WebKit"
37948
37949 else
37950
37951 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37952 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37953 wxUSE_WEBKIT=no
37954
37955 fi
37956
37957
37958 CPPFLAGS="$old_CPPFLAGS"
37959 elif test "$wxUSE_COCOA" = 1; then
37960 cat >>confdefs.h <<\_ACEOF
37961 #define wxUSE_WEBKIT 1
37962 _ACEOF
37963
37964 else
37965 wxUSE_WEBKIT=no
37966 fi
37967 fi
37968
37969 USE_XRC=0
37970 if test "$wxUSE_XRC" = "yes"; then
37971 if test "$wxUSE_XML" != "yes"; then
37972 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37973 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37974 wxUSE_XRC=no
37975 else
37976 cat >>confdefs.h <<\_ACEOF
37977 #define wxUSE_XRC 1
37978 _ACEOF
37979
37980 USE_XRC=1
37981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
37982 fi
37983 fi
37984
37985 if test "$wxUSE_MENUS" = "yes"; then
37986 cat >>confdefs.h <<\_ACEOF
37987 #define wxUSE_MENUS 1
37988 _ACEOF
37989
37990 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
37991 fi
37992
37993 if test "$wxUSE_METAFILE" = "yes"; then
37994 cat >>confdefs.h <<\_ACEOF
37995 #define wxUSE_METAFILE 1
37996 _ACEOF
37997
37998 fi
37999
38000 if test "$wxUSE_MIMETYPE" = "yes"; then
38001 cat >>confdefs.h <<\_ACEOF
38002 #define wxUSE_MIMETYPE 1
38003 _ACEOF
38004
38005 fi
38006
38007 if test "$wxUSE_MINIFRAME" = "yes"; then
38008 cat >>confdefs.h <<\_ACEOF
38009 #define wxUSE_MINIFRAME 1
38010 _ACEOF
38011
38012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
38013 fi
38014
38015 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
38016 cat >>confdefs.h <<\_ACEOF
38017 #define wxUSE_SYSTEM_OPTIONS 1
38018 _ACEOF
38019
38020 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
38021 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
38022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
38023 fi
38024 fi
38025
38026
38027 if test "$wxUSE_VALIDATORS" = "yes"; then
38028 cat >>confdefs.h <<\_ACEOF
38029 #define wxUSE_VALIDATORS 1
38030 _ACEOF
38031
38032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
38033 fi
38034
38035 if test "$wxUSE_PALETTE" = "yes" ; then
38036 cat >>confdefs.h <<\_ACEOF
38037 #define wxUSE_PALETTE 1
38038 _ACEOF
38039
38040 fi
38041
38042 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
38043 LIBS=" -lunicows $LIBS"
38044 fi
38045
38046
38047 if test "$wxUSE_IMAGE" = "yes" ; then
38048 cat >>confdefs.h <<\_ACEOF
38049 #define wxUSE_IMAGE 1
38050 _ACEOF
38051
38052
38053 if test "$wxUSE_GIF" = "yes" ; then
38054 cat >>confdefs.h <<\_ACEOF
38055 #define wxUSE_GIF 1
38056 _ACEOF
38057
38058 fi
38059
38060 if test "$wxUSE_PCX" = "yes" ; then
38061 cat >>confdefs.h <<\_ACEOF
38062 #define wxUSE_PCX 1
38063 _ACEOF
38064
38065 fi
38066
38067 if test "$wxUSE_IFF" = "yes" ; then
38068 cat >>confdefs.h <<\_ACEOF
38069 #define wxUSE_IFF 1
38070 _ACEOF
38071
38072 fi
38073
38074 if test "$wxUSE_PNM" = "yes" ; then
38075 cat >>confdefs.h <<\_ACEOF
38076 #define wxUSE_PNM 1
38077 _ACEOF
38078
38079 fi
38080
38081 if test "$wxUSE_XPM" = "yes" ; then
38082 cat >>confdefs.h <<\_ACEOF
38083 #define wxUSE_XPM 1
38084 _ACEOF
38085
38086 fi
38087
38088 if test "$wxUSE_ICO_CUR" = "yes" ; then
38089 cat >>confdefs.h <<\_ACEOF
38090 #define wxUSE_ICO_CUR 1
38091 _ACEOF
38092
38093 fi
38094 fi
38095
38096
38097 if test "$wxUSE_CHOICEDLG" = "yes"; then
38098 cat >>confdefs.h <<\_ACEOF
38099 #define wxUSE_CHOICEDLG 1
38100 _ACEOF
38101
38102 fi
38103
38104 if test "$wxUSE_COLOURDLG" = "yes"; then
38105 cat >>confdefs.h <<\_ACEOF
38106 #define wxUSE_COLOURDLG 1
38107 _ACEOF
38108
38109 fi
38110
38111 if test "$wxUSE_FILEDLG" = "yes"; then
38112 cat >>confdefs.h <<\_ACEOF
38113 #define wxUSE_FILEDLG 1
38114 _ACEOF
38115
38116 fi
38117
38118 if test "$wxUSE_FINDREPLDLG" = "yes"; then
38119 cat >>confdefs.h <<\_ACEOF
38120 #define wxUSE_FINDREPLDLG 1
38121 _ACEOF
38122
38123 fi
38124
38125 if test "$wxUSE_FONTDLG" = "yes"; then
38126 cat >>confdefs.h <<\_ACEOF
38127 #define wxUSE_FONTDLG 1
38128 _ACEOF
38129
38130 fi
38131
38132 if test "$wxUSE_DIRDLG" = "yes"; then
38133 if test "$wxUSE_TREECTRL" != "yes"; then
38134 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
38135 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
38136 else
38137 cat >>confdefs.h <<\_ACEOF
38138 #define wxUSE_DIRDLG 1
38139 _ACEOF
38140
38141 fi
38142 fi
38143
38144 if test "$wxUSE_MSGDLG" = "yes"; then
38145 cat >>confdefs.h <<\_ACEOF
38146 #define wxUSE_MSGDLG 1
38147 _ACEOF
38148
38149 fi
38150
38151 if test "$wxUSE_NUMBERDLG" = "yes"; then
38152 cat >>confdefs.h <<\_ACEOF
38153 #define wxUSE_NUMBERDLG 1
38154 _ACEOF
38155
38156 fi
38157
38158 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38159 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38160 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38161 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38162 else
38163 cat >>confdefs.h <<\_ACEOF
38164 #define wxUSE_PROGRESSDLG 1
38165 _ACEOF
38166
38167 fi
38168 fi
38169
38170 if test "$wxUSE_SPLASH" = "yes"; then
38171 cat >>confdefs.h <<\_ACEOF
38172 #define wxUSE_SPLASH 1
38173 _ACEOF
38174
38175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
38176 fi
38177
38178 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38179 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38180 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38181 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38182 else
38183 cat >>confdefs.h <<\_ACEOF
38184 #define wxUSE_STARTUP_TIPS 1
38185 _ACEOF
38186
38187 fi
38188 fi
38189
38190 if test "$wxUSE_TEXTDLG" = "yes"; then
38191 cat >>confdefs.h <<\_ACEOF
38192 #define wxUSE_TEXTDLG 1
38193 _ACEOF
38194
38195 fi
38196
38197 if test "$wxUSE_WIZARDDLG" = "yes"; then
38198 cat >>confdefs.h <<\_ACEOF
38199 #define wxUSE_WIZARDDLG 1
38200 _ACEOF
38201
38202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
38203 fi
38204
38205
38206 if test "$cross_compiling" = "yes"; then
38207 OSINFO="\"$host\""
38208 else
38209 OSINFO=`uname -s -r -m`
38210 OSINFO="\"$OSINFO\""
38211 fi
38212
38213 cat >>confdefs.h <<_ACEOF
38214 #define WXWIN_OS_DESCRIPTION $OSINFO
38215 _ACEOF
38216
38217
38218
38219 if test "x$prefix" != "xNONE"; then
38220 wxPREFIX=$prefix
38221 else
38222 wxPREFIX=$ac_default_prefix
38223 fi
38224
38225 cat >>confdefs.h <<_ACEOF
38226 #define wxINSTALL_PREFIX "$wxPREFIX"
38227 _ACEOF
38228
38229
38230
38231
38232 CORE_BASE_LIBS="net base"
38233 CORE_GUI_LIBS="adv core"
38234
38235 if test "$wxUSE_XML" = "yes" ; then
38236 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
38237 fi
38238 if test "$wxUSE_ODBC" != "no" ; then
38239 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
38240 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
38241 fi
38242 if test "$wxUSE_HTML" = "yes" ; then
38243 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
38244 fi
38245 if test "$wxUSE_XRC" = "yes" ; then
38246 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
38247 fi
38248
38249 if test "$wxUSE_GUI" != "yes"; then
38250 CORE_GUI_LIBS=""
38251 fi
38252
38253
38254
38255
38256
38257
38258
38259
38260 if test "$wxUSE_MAC" = 1 ; then
38261 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
38262 if test "$USE_DARWIN" = 1; then
38263 LDFLAGS="$LDFLAGS -framework QuickTime"
38264 else
38265 LDFLAGS="$LDFLAGS -lQuickTimeLib"
38266 fi
38267 fi
38268 if test "$USE_DARWIN" = 1; then
38269 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
38270 else
38271 LDFLAGS="$LDFLAGS -lCarbonLib"
38272 fi
38273 fi
38274 if test "$wxUSE_COCOA" = 1 ; then
38275 LDFLAGS="$LDFLAGS -framework Cocoa"
38276 fi
38277
38278
38279 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
38280
38281 have_cos=0
38282 have_floor=0
38283
38284 for ac_func in cos
38285 do
38286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38287 echo "$as_me:$LINENO: checking for $ac_func" >&5
38288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38289 if eval "test \"\${$as_ac_var+set}\" = set"; then
38290 echo $ECHO_N "(cached) $ECHO_C" >&6
38291 else
38292 cat >conftest.$ac_ext <<_ACEOF
38293 /* confdefs.h. */
38294 _ACEOF
38295 cat confdefs.h >>conftest.$ac_ext
38296 cat >>conftest.$ac_ext <<_ACEOF
38297 /* end confdefs.h. */
38298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38300 #define $ac_func innocuous_$ac_func
38301
38302 /* System header to define __stub macros and hopefully few prototypes,
38303 which can conflict with char $ac_func (); below.
38304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38305 <limits.h> exists even on freestanding compilers. */
38306
38307 #ifdef __STDC__
38308 # include <limits.h>
38309 #else
38310 # include <assert.h>
38311 #endif
38312
38313 #undef $ac_func
38314
38315 /* Override any gcc2 internal prototype to avoid an error. */
38316 #ifdef __cplusplus
38317 extern "C"
38318 {
38319 #endif
38320 /* We use char because int might match the return type of a gcc2
38321 builtin and then its argument prototype would still apply. */
38322 char $ac_func ();
38323 /* The GNU C library defines this for functions which it implements
38324 to always fail with ENOSYS. Some functions are actually named
38325 something starting with __ and the normal name is an alias. */
38326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38327 choke me
38328 #else
38329 char (*f) () = $ac_func;
38330 #endif
38331 #ifdef __cplusplus
38332 }
38333 #endif
38334
38335 int
38336 main ()
38337 {
38338 return f != $ac_func;
38339 ;
38340 return 0;
38341 }
38342 _ACEOF
38343 rm -f conftest.$ac_objext conftest$ac_exeext
38344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38345 (eval $ac_link) 2>conftest.er1
38346 ac_status=$?
38347 grep -v '^ *+' conftest.er1 >conftest.err
38348 rm -f conftest.er1
38349 cat conftest.err >&5
38350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38351 (exit $ac_status); } &&
38352 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38354 (eval $ac_try) 2>&5
38355 ac_status=$?
38356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38357 (exit $ac_status); }; } &&
38358 { ac_try='test -s conftest$ac_exeext'
38359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38360 (eval $ac_try) 2>&5
38361 ac_status=$?
38362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38363 (exit $ac_status); }; }; then
38364 eval "$as_ac_var=yes"
38365 else
38366 echo "$as_me: failed program was:" >&5
38367 sed 's/^/| /' conftest.$ac_ext >&5
38368
38369 eval "$as_ac_var=no"
38370 fi
38371 rm -f conftest.err conftest.$ac_objext \
38372 conftest$ac_exeext conftest.$ac_ext
38373 fi
38374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38376 if test `eval echo '${'$as_ac_var'}'` = yes; then
38377 cat >>confdefs.h <<_ACEOF
38378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38379 _ACEOF
38380 have_cos=1
38381 fi
38382 done
38383
38384
38385 for ac_func in floor
38386 do
38387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38388 echo "$as_me:$LINENO: checking for $ac_func" >&5
38389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38390 if eval "test \"\${$as_ac_var+set}\" = set"; then
38391 echo $ECHO_N "(cached) $ECHO_C" >&6
38392 else
38393 cat >conftest.$ac_ext <<_ACEOF
38394 /* confdefs.h. */
38395 _ACEOF
38396 cat confdefs.h >>conftest.$ac_ext
38397 cat >>conftest.$ac_ext <<_ACEOF
38398 /* end confdefs.h. */
38399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38401 #define $ac_func innocuous_$ac_func
38402
38403 /* System header to define __stub macros and hopefully few prototypes,
38404 which can conflict with char $ac_func (); below.
38405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38406 <limits.h> exists even on freestanding compilers. */
38407
38408 #ifdef __STDC__
38409 # include <limits.h>
38410 #else
38411 # include <assert.h>
38412 #endif
38413
38414 #undef $ac_func
38415
38416 /* Override any gcc2 internal prototype to avoid an error. */
38417 #ifdef __cplusplus
38418 extern "C"
38419 {
38420 #endif
38421 /* We use char because int might match the return type of a gcc2
38422 builtin and then its argument prototype would still apply. */
38423 char $ac_func ();
38424 /* The GNU C library defines this for functions which it implements
38425 to always fail with ENOSYS. Some functions are actually named
38426 something starting with __ and the normal name is an alias. */
38427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38428 choke me
38429 #else
38430 char (*f) () = $ac_func;
38431 #endif
38432 #ifdef __cplusplus
38433 }
38434 #endif
38435
38436 int
38437 main ()
38438 {
38439 return f != $ac_func;
38440 ;
38441 return 0;
38442 }
38443 _ACEOF
38444 rm -f conftest.$ac_objext conftest$ac_exeext
38445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38446 (eval $ac_link) 2>conftest.er1
38447 ac_status=$?
38448 grep -v '^ *+' conftest.er1 >conftest.err
38449 rm -f conftest.er1
38450 cat conftest.err >&5
38451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38452 (exit $ac_status); } &&
38453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38455 (eval $ac_try) 2>&5
38456 ac_status=$?
38457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38458 (exit $ac_status); }; } &&
38459 { ac_try='test -s conftest$ac_exeext'
38460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38461 (eval $ac_try) 2>&5
38462 ac_status=$?
38463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38464 (exit $ac_status); }; }; then
38465 eval "$as_ac_var=yes"
38466 else
38467 echo "$as_me: failed program was:" >&5
38468 sed 's/^/| /' conftest.$ac_ext >&5
38469
38470 eval "$as_ac_var=no"
38471 fi
38472 rm -f conftest.err conftest.$ac_objext \
38473 conftest$ac_exeext conftest.$ac_ext
38474 fi
38475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38477 if test `eval echo '${'$as_ac_var'}'` = yes; then
38478 cat >>confdefs.h <<_ACEOF
38479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38480 _ACEOF
38481 have_floor=1
38482 fi
38483 done
38484
38485 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38486 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38487 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38488 echo "$as_me:$LINENO: result: yes" >&5
38489 echo "${ECHO_T}yes" >&6
38490 else
38491 echo "$as_me:$LINENO: result: no" >&5
38492 echo "${ECHO_T}no" >&6
38493 LIBS="$LIBS -lm"
38494 # use different functions to avoid configure caching
38495 have_sin=0
38496 have_ceil=0
38497
38498 for ac_func in sin
38499 do
38500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38501 echo "$as_me:$LINENO: checking for $ac_func" >&5
38502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38503 if eval "test \"\${$as_ac_var+set}\" = set"; then
38504 echo $ECHO_N "(cached) $ECHO_C" >&6
38505 else
38506 cat >conftest.$ac_ext <<_ACEOF
38507 /* confdefs.h. */
38508 _ACEOF
38509 cat confdefs.h >>conftest.$ac_ext
38510 cat >>conftest.$ac_ext <<_ACEOF
38511 /* end confdefs.h. */
38512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38514 #define $ac_func innocuous_$ac_func
38515
38516 /* System header to define __stub macros and hopefully few prototypes,
38517 which can conflict with char $ac_func (); below.
38518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38519 <limits.h> exists even on freestanding compilers. */
38520
38521 #ifdef __STDC__
38522 # include <limits.h>
38523 #else
38524 # include <assert.h>
38525 #endif
38526
38527 #undef $ac_func
38528
38529 /* Override any gcc2 internal prototype to avoid an error. */
38530 #ifdef __cplusplus
38531 extern "C"
38532 {
38533 #endif
38534 /* We use char because int might match the return type of a gcc2
38535 builtin and then its argument prototype would still apply. */
38536 char $ac_func ();
38537 /* The GNU C library defines this for functions which it implements
38538 to always fail with ENOSYS. Some functions are actually named
38539 something starting with __ and the normal name is an alias. */
38540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38541 choke me
38542 #else
38543 char (*f) () = $ac_func;
38544 #endif
38545 #ifdef __cplusplus
38546 }
38547 #endif
38548
38549 int
38550 main ()
38551 {
38552 return f != $ac_func;
38553 ;
38554 return 0;
38555 }
38556 _ACEOF
38557 rm -f conftest.$ac_objext conftest$ac_exeext
38558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38559 (eval $ac_link) 2>conftest.er1
38560 ac_status=$?
38561 grep -v '^ *+' conftest.er1 >conftest.err
38562 rm -f conftest.er1
38563 cat conftest.err >&5
38564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38565 (exit $ac_status); } &&
38566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38568 (eval $ac_try) 2>&5
38569 ac_status=$?
38570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38571 (exit $ac_status); }; } &&
38572 { ac_try='test -s conftest$ac_exeext'
38573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38574 (eval $ac_try) 2>&5
38575 ac_status=$?
38576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38577 (exit $ac_status); }; }; then
38578 eval "$as_ac_var=yes"
38579 else
38580 echo "$as_me: failed program was:" >&5
38581 sed 's/^/| /' conftest.$ac_ext >&5
38582
38583 eval "$as_ac_var=no"
38584 fi
38585 rm -f conftest.err conftest.$ac_objext \
38586 conftest$ac_exeext conftest.$ac_ext
38587 fi
38588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38590 if test `eval echo '${'$as_ac_var'}'` = yes; then
38591 cat >>confdefs.h <<_ACEOF
38592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38593 _ACEOF
38594 have_sin=1
38595 fi
38596 done
38597
38598
38599 for ac_func in ceil
38600 do
38601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38602 echo "$as_me:$LINENO: checking for $ac_func" >&5
38603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38604 if eval "test \"\${$as_ac_var+set}\" = set"; then
38605 echo $ECHO_N "(cached) $ECHO_C" >&6
38606 else
38607 cat >conftest.$ac_ext <<_ACEOF
38608 /* confdefs.h. */
38609 _ACEOF
38610 cat confdefs.h >>conftest.$ac_ext
38611 cat >>conftest.$ac_ext <<_ACEOF
38612 /* end confdefs.h. */
38613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38615 #define $ac_func innocuous_$ac_func
38616
38617 /* System header to define __stub macros and hopefully few prototypes,
38618 which can conflict with char $ac_func (); below.
38619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38620 <limits.h> exists even on freestanding compilers. */
38621
38622 #ifdef __STDC__
38623 # include <limits.h>
38624 #else
38625 # include <assert.h>
38626 #endif
38627
38628 #undef $ac_func
38629
38630 /* Override any gcc2 internal prototype to avoid an error. */
38631 #ifdef __cplusplus
38632 extern "C"
38633 {
38634 #endif
38635 /* We use char because int might match the return type of a gcc2
38636 builtin and then its argument prototype would still apply. */
38637 char $ac_func ();
38638 /* The GNU C library defines this for functions which it implements
38639 to always fail with ENOSYS. Some functions are actually named
38640 something starting with __ and the normal name is an alias. */
38641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38642 choke me
38643 #else
38644 char (*f) () = $ac_func;
38645 #endif
38646 #ifdef __cplusplus
38647 }
38648 #endif
38649
38650 int
38651 main ()
38652 {
38653 return f != $ac_func;
38654 ;
38655 return 0;
38656 }
38657 _ACEOF
38658 rm -f conftest.$ac_objext conftest$ac_exeext
38659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38660 (eval $ac_link) 2>conftest.er1
38661 ac_status=$?
38662 grep -v '^ *+' conftest.er1 >conftest.err
38663 rm -f conftest.er1
38664 cat conftest.err >&5
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); } &&
38667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38669 (eval $ac_try) 2>&5
38670 ac_status=$?
38671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38672 (exit $ac_status); }; } &&
38673 { ac_try='test -s conftest$ac_exeext'
38674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38675 (eval $ac_try) 2>&5
38676 ac_status=$?
38677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38678 (exit $ac_status); }; }; then
38679 eval "$as_ac_var=yes"
38680 else
38681 echo "$as_me: failed program was:" >&5
38682 sed 's/^/| /' conftest.$ac_ext >&5
38683
38684 eval "$as_ac_var=no"
38685 fi
38686 rm -f conftest.err conftest.$ac_objext \
38687 conftest$ac_exeext conftest.$ac_ext
38688 fi
38689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38691 if test `eval echo '${'$as_ac_var'}'` = yes; then
38692 cat >>confdefs.h <<_ACEOF
38693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38694 _ACEOF
38695 have_ceil=1
38696 fi
38697 done
38698
38699 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
38700 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38701 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38702 echo "$as_me:$LINENO: result: yes" >&5
38703 echo "${ECHO_T}yes" >&6
38704 else
38705 echo "$as_me:$LINENO: result: no" >&5
38706 echo "${ECHO_T}no" >&6
38707 # not sure we should warn the user, crash, etc.
38708 fi
38709 fi
38710
38711 if test "$wxUSE_GUI" = "yes"; then
38712
38713
38714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
38715 drawing dynamic erase event exec font image \
38716 minimal propsize rotate shaped widgets render"
38717
38718 if test "$wxUSE_MONOLITHIC" != "yes"; then
38719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
38720 fi
38721 else
38722 SAMPLES_SUBDIRS="console"
38723 fi
38724
38725
38726 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
38727 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38728
38729 if test "$GXX" = yes ; then
38730 CWARNINGS="-Wall"
38731 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
38732 fi
38733
38734 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38735
38736 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
38737 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
38738 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
38739
38740 if test "x$MWCC" = "xyes"; then
38741
38742 CC="$CC -cwd source -I-"
38743 CXX="$CXX -cwd source -I-"
38744 fi
38745
38746
38747 LIBS=`echo $LIBS`
38748 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38749 EXTRALIBS_XML="$EXPAT_LINK"
38750 EXTRALIBS_HTML="$MSPACK_LINK"
38751 EXTRALIBS_ODBC="$ODBC_LINK"
38752 if test "$wxUSE_GUI" = "yes"; then
38753 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
38754 fi
38755 if test "$wxUSE_OPENGL" = "yes"; then
38756 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
38757 fi
38758
38759 LDFLAGS="$LDFLAGS $PROFILE"
38760
38761 if test "$wxUSE_GTK" = 1; then
38762 WXCONFIG_INCLUDE=
38763 else
38764 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
38765 fi
38766
38767 WXCONFIG_EXTRALIBS="$LIBS"
38768
38769 if test "$wxUSE_REGEX" = "builtin" ; then
38770 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38771 fi
38772 if test "$wxUSE_EXPAT" = "builtin" ; then
38773 wxconfig_3rdparty="$wxconfig_3rdparty expat"
38774 fi
38775 if test "$wxUSE_ODBC" = "builtin" ; then
38776 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
38777 fi
38778 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38779 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
38780 fi
38781 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38782 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
38783 fi
38784 if test "$wxUSE_LIBPNG" = "builtin" ; then
38785 wxconfig_3rdparty="$wxconfig_3rdparty png"
38786 fi
38787 if test "$wxUSE_ZLIB" = "builtin" ; then
38788 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
38789 fi
38790 if test "$wxUSE_ODBC" = "builtin" ; then
38791 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
38792 fi
38793
38794 for i in $wxconfig_3rdparty ; do
38795 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38796 done
38797
38798
38799 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38800 WXUNIV=1
38801 else
38802 WXUNIV=0
38803 fi
38804
38805
38806
38807
38808
38809
38810
38811
38812
38813 if test $wxUSE_MONOLITHIC = "yes" ; then
38814 MONOLITHIC=1
38815 else
38816 MONOLITHIC=0
38817 fi
38818
38819 if test $wxUSE_PLUGINS = "yes" ; then
38820 USE_PLUGINS=1
38821 else
38822 USE_PLUGINS=0
38823 fi
38824
38825 if test $wxUSE_ODBC != "no" ; then
38826 USE_ODBC=1
38827 else
38828 USE_ODBC=0
38829 fi
38830
38831 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38832 OFFICIAL_BUILD=1
38833 else
38834 OFFICIAL_BUILD=0
38835 fi
38836
38837
38838
38839
38840
38841
38842
38843
38844
38845
38846
38847
38848
38849
38850
38851
38852
38853
38854
38855
38856
38857
38858
38859 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38860
38861
38862
38863
38864
38865
38866
38867
38868 case "$TOOLKIT" in
38869 GTK)
38870 TOOLKIT_USER="GTK+"
38871 if test "$WXGTK20" = 1; then
38872 TOOLKIT_USER="$TOOLKIT_USER 2"
38873 fi
38874 ;;
38875
38876 *)
38877 TOOLKIT_USER=$TOOLKIT_LOWERCASE
38878 ;;
38879 esac
38880
38881
38882
38883
38884 if test "x$BAKEFILE_HOST" = "x"; then
38885 BAKEFILE_HOST="${host}"
38886 fi
38887
38888 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38889
38890 if test -n "$ac_tool_prefix"; then
38891 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38892 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38893 echo "$as_me:$LINENO: checking for $ac_word" >&5
38894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38895 if test "${ac_cv_prog_RANLIB+set}" = set; then
38896 echo $ECHO_N "(cached) $ECHO_C" >&6
38897 else
38898 if test -n "$RANLIB"; then
38899 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38900 else
38901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38902 for as_dir in $PATH
38903 do
38904 IFS=$as_save_IFS
38905 test -z "$as_dir" && as_dir=.
38906 for ac_exec_ext in '' $ac_executable_extensions; do
38907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38908 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38910 break 2
38911 fi
38912 done
38913 done
38914
38915 fi
38916 fi
38917 RANLIB=$ac_cv_prog_RANLIB
38918 if test -n "$RANLIB"; then
38919 echo "$as_me:$LINENO: result: $RANLIB" >&5
38920 echo "${ECHO_T}$RANLIB" >&6
38921 else
38922 echo "$as_me:$LINENO: result: no" >&5
38923 echo "${ECHO_T}no" >&6
38924 fi
38925
38926 fi
38927 if test -z "$ac_cv_prog_RANLIB"; then
38928 ac_ct_RANLIB=$RANLIB
38929 # Extract the first word of "ranlib", so it can be a program name with args.
38930 set dummy ranlib; ac_word=$2
38931 echo "$as_me:$LINENO: checking for $ac_word" >&5
38932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38933 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38934 echo $ECHO_N "(cached) $ECHO_C" >&6
38935 else
38936 if test -n "$ac_ct_RANLIB"; then
38937 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38938 else
38939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38940 for as_dir in $PATH
38941 do
38942 IFS=$as_save_IFS
38943 test -z "$as_dir" && as_dir=.
38944 for ac_exec_ext in '' $ac_executable_extensions; do
38945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38946 ac_cv_prog_ac_ct_RANLIB="ranlib"
38947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38948 break 2
38949 fi
38950 done
38951 done
38952
38953 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
38954 fi
38955 fi
38956 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38957 if test -n "$ac_ct_RANLIB"; then
38958 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38959 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38960 else
38961 echo "$as_me:$LINENO: result: no" >&5
38962 echo "${ECHO_T}no" >&6
38963 fi
38964
38965 RANLIB=$ac_ct_RANLIB
38966 else
38967 RANLIB="$ac_cv_prog_RANLIB"
38968 fi
38969
38970 # Find a good install program. We prefer a C program (faster),
38971 # so one script is as good as another. But avoid the broken or
38972 # incompatible versions:
38973 # SysV /etc/install, /usr/sbin/install
38974 # SunOS /usr/etc/install
38975 # IRIX /sbin/install
38976 # AIX /bin/install
38977 # AmigaOS /C/install, which installs bootblocks on floppy discs
38978 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38979 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38980 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38981 # OS/2's system install, which has a completely different semantic
38982 # ./install, which can be erroneously created by make from ./install.sh.
38983 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38984 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38985 if test -z "$INSTALL"; then
38986 if test "${ac_cv_path_install+set}" = set; then
38987 echo $ECHO_N "(cached) $ECHO_C" >&6
38988 else
38989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38990 for as_dir in $PATH
38991 do
38992 IFS=$as_save_IFS
38993 test -z "$as_dir" && as_dir=.
38994 # Account for people who put trailing slashes in PATH elements.
38995 case $as_dir/ in
38996 ./ | .// | /cC/* | \
38997 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38998 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
38999 /usr/ucb/* ) ;;
39000 *)
39001 # OSF1 and SCO ODT 3.0 have their own names for install.
39002 # Don't use installbsd from OSF since it installs stuff as root
39003 # by default.
39004 for ac_prog in ginstall scoinst install; do
39005 for ac_exec_ext in '' $ac_executable_extensions; do
39006 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
39007 if test $ac_prog = install &&
39008 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
39009 # AIX install. It has an incompatible calling convention.
39010 :
39011 elif test $ac_prog = install &&
39012 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
39013 # program-specific install script used by HP pwplus--don't use.
39014 :
39015 else
39016 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
39017 break 3
39018 fi
39019 fi
39020 done
39021 done
39022 ;;
39023 esac
39024 done
39025
39026
39027 fi
39028 if test "${ac_cv_path_install+set}" = set; then
39029 INSTALL=$ac_cv_path_install
39030 else
39031 # As a last resort, use the slow shell script. We don't cache a
39032 # path for INSTALL within a source directory, because that will
39033 # break other packages using the cache if that directory is
39034 # removed, or if the path is relative.
39035 INSTALL=$ac_install_sh
39036 fi
39037 fi
39038 echo "$as_me:$LINENO: result: $INSTALL" >&5
39039 echo "${ECHO_T}$INSTALL" >&6
39040
39041 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
39042 # It thinks the first close brace ends the variable substitution.
39043 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
39044
39045 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
39046
39047 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
39048
39049 echo "$as_me:$LINENO: checking whether ln -s works" >&5
39050 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
39051 LN_S=$as_ln_s
39052 if test "$LN_S" = "ln -s"; then
39053 echo "$as_me:$LINENO: result: yes" >&5
39054 echo "${ECHO_T}yes" >&6
39055 else
39056 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
39057 echo "${ECHO_T}no, using $LN_S" >&6
39058 fi
39059
39060
39061 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39062 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39063 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
39064 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39065 echo $ECHO_N "(cached) $ECHO_C" >&6
39066 else
39067 cat >conftest.make <<\_ACEOF
39068 all:
39069 @echo 'ac_maketemp="$(MAKE)"'
39070 _ACEOF
39071 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39072 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39073 if test -n "$ac_maketemp"; then
39074 eval ac_cv_prog_make_${ac_make}_set=yes
39075 else
39076 eval ac_cv_prog_make_${ac_make}_set=no
39077 fi
39078 rm -f conftest.make
39079 fi
39080 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39081 echo "$as_me:$LINENO: result: yes" >&5
39082 echo "${ECHO_T}yes" >&6
39083 SET_MAKE=
39084 else
39085 echo "$as_me:$LINENO: result: no" >&5
39086 echo "${ECHO_T}no" >&6
39087 SET_MAKE="MAKE=${MAKE-make}"
39088 fi
39089
39090
39091
39092 if test -n "$ac_tool_prefix"; then
39093 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
39094 set dummy ${ac_tool_prefix}ar; ac_word=$2
39095 echo "$as_me:$LINENO: checking for $ac_word" >&5
39096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39097 if test "${ac_cv_prog_AR+set}" = set; then
39098 echo $ECHO_N "(cached) $ECHO_C" >&6
39099 else
39100 if test -n "$AR"; then
39101 ac_cv_prog_AR="$AR" # Let the user override the test.
39102 else
39103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39104 for as_dir in $PATH
39105 do
39106 IFS=$as_save_IFS
39107 test -z "$as_dir" && as_dir=.
39108 for ac_exec_ext in '' $ac_executable_extensions; do
39109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39110 ac_cv_prog_AR="${ac_tool_prefix}ar"
39111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39112 break 2
39113 fi
39114 done
39115 done
39116
39117 fi
39118 fi
39119 AR=$ac_cv_prog_AR
39120 if test -n "$AR"; then
39121 echo "$as_me:$LINENO: result: $AR" >&5
39122 echo "${ECHO_T}$AR" >&6
39123 else
39124 echo "$as_me:$LINENO: result: no" >&5
39125 echo "${ECHO_T}no" >&6
39126 fi
39127
39128 fi
39129 if test -z "$ac_cv_prog_AR"; then
39130 ac_ct_AR=$AR
39131 # Extract the first word of "ar", so it can be a program name with args.
39132 set dummy ar; ac_word=$2
39133 echo "$as_me:$LINENO: checking for $ac_word" >&5
39134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39135 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
39136 echo $ECHO_N "(cached) $ECHO_C" >&6
39137 else
39138 if test -n "$ac_ct_AR"; then
39139 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
39140 else
39141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39142 for as_dir in $PATH
39143 do
39144 IFS=$as_save_IFS
39145 test -z "$as_dir" && as_dir=.
39146 for ac_exec_ext in '' $ac_executable_extensions; do
39147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39148 ac_cv_prog_ac_ct_AR="ar"
39149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39150 break 2
39151 fi
39152 done
39153 done
39154
39155 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
39156 fi
39157 fi
39158 ac_ct_AR=$ac_cv_prog_ac_ct_AR
39159 if test -n "$ac_ct_AR"; then
39160 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39161 echo "${ECHO_T}$ac_ct_AR" >&6
39162 else
39163 echo "$as_me:$LINENO: result: no" >&5
39164 echo "${ECHO_T}no" >&6
39165 fi
39166
39167 AR=$ac_ct_AR
39168 else
39169 AR="$ac_cv_prog_AR"
39170 fi
39171
39172 if test -n "$ac_tool_prefix"; then
39173 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39174 set dummy ${ac_tool_prefix}strip; ac_word=$2
39175 echo "$as_me:$LINENO: checking for $ac_word" >&5
39176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39177 if test "${ac_cv_prog_STRIP+set}" = set; then
39178 echo $ECHO_N "(cached) $ECHO_C" >&6
39179 else
39180 if test -n "$STRIP"; then
39181 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
39182 else
39183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39184 for as_dir in $PATH
39185 do
39186 IFS=$as_save_IFS
39187 test -z "$as_dir" && as_dir=.
39188 for ac_exec_ext in '' $ac_executable_extensions; do
39189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39190 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
39191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39192 break 2
39193 fi
39194 done
39195 done
39196
39197 fi
39198 fi
39199 STRIP=$ac_cv_prog_STRIP
39200 if test -n "$STRIP"; then
39201 echo "$as_me:$LINENO: result: $STRIP" >&5
39202 echo "${ECHO_T}$STRIP" >&6
39203 else
39204 echo "$as_me:$LINENO: result: no" >&5
39205 echo "${ECHO_T}no" >&6
39206 fi
39207
39208 fi
39209 if test -z "$ac_cv_prog_STRIP"; then
39210 ac_ct_STRIP=$STRIP
39211 # Extract the first word of "strip", so it can be a program name with args.
39212 set dummy strip; ac_word=$2
39213 echo "$as_me:$LINENO: checking for $ac_word" >&5
39214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39215 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
39216 echo $ECHO_N "(cached) $ECHO_C" >&6
39217 else
39218 if test -n "$ac_ct_STRIP"; then
39219 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
39220 else
39221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39222 for as_dir in $PATH
39223 do
39224 IFS=$as_save_IFS
39225 test -z "$as_dir" && as_dir=.
39226 for ac_exec_ext in '' $ac_executable_extensions; do
39227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39228 ac_cv_prog_ac_ct_STRIP="strip"
39229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39230 break 2
39231 fi
39232 done
39233 done
39234
39235 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
39236 fi
39237 fi
39238 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
39239 if test -n "$ac_ct_STRIP"; then
39240 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
39241 echo "${ECHO_T}$ac_ct_STRIP" >&6
39242 else
39243 echo "$as_me:$LINENO: result: no" >&5
39244 echo "${ECHO_T}no" >&6
39245 fi
39246
39247 STRIP=$ac_ct_STRIP
39248 else
39249 STRIP="$ac_cv_prog_STRIP"
39250 fi
39251
39252 if test -n "$ac_tool_prefix"; then
39253 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
39254 set dummy ${ac_tool_prefix}nm; ac_word=$2
39255 echo "$as_me:$LINENO: checking for $ac_word" >&5
39256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39257 if test "${ac_cv_prog_NM+set}" = set; then
39258 echo $ECHO_N "(cached) $ECHO_C" >&6
39259 else
39260 if test -n "$NM"; then
39261 ac_cv_prog_NM="$NM" # Let the user override the test.
39262 else
39263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39264 for as_dir in $PATH
39265 do
39266 IFS=$as_save_IFS
39267 test -z "$as_dir" && as_dir=.
39268 for ac_exec_ext in '' $ac_executable_extensions; do
39269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39270 ac_cv_prog_NM="${ac_tool_prefix}nm"
39271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39272 break 2
39273 fi
39274 done
39275 done
39276
39277 fi
39278 fi
39279 NM=$ac_cv_prog_NM
39280 if test -n "$NM"; then
39281 echo "$as_me:$LINENO: result: $NM" >&5
39282 echo "${ECHO_T}$NM" >&6
39283 else
39284 echo "$as_me:$LINENO: result: no" >&5
39285 echo "${ECHO_T}no" >&6
39286 fi
39287
39288 fi
39289 if test -z "$ac_cv_prog_NM"; then
39290 ac_ct_NM=$NM
39291 # Extract the first word of "nm", so it can be a program name with args.
39292 set dummy nm; ac_word=$2
39293 echo "$as_me:$LINENO: checking for $ac_word" >&5
39294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39295 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
39296 echo $ECHO_N "(cached) $ECHO_C" >&6
39297 else
39298 if test -n "$ac_ct_NM"; then
39299 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
39300 else
39301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39302 for as_dir in $PATH
39303 do
39304 IFS=$as_save_IFS
39305 test -z "$as_dir" && as_dir=.
39306 for ac_exec_ext in '' $ac_executable_extensions; do
39307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39308 ac_cv_prog_ac_ct_NM="nm"
39309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39310 break 2
39311 fi
39312 done
39313 done
39314
39315 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
39316 fi
39317 fi
39318 ac_ct_NM=$ac_cv_prog_ac_ct_NM
39319 if test -n "$ac_ct_NM"; then
39320 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
39321 echo "${ECHO_T}$ac_ct_NM" >&6
39322 else
39323 echo "$as_me:$LINENO: result: no" >&5
39324 echo "${ECHO_T}no" >&6
39325 fi
39326
39327 NM=$ac_ct_NM
39328 else
39329 NM="$ac_cv_prog_NM"
39330 fi
39331
39332
39333 case ${BAKEFILE_HOST} in
39334 *-hp-hpux* )
39335 INSTALL_DIR="mkdir -p"
39336 ;;
39337 *) INSTALL_DIR="$INSTALL -d"
39338 ;;
39339 esac
39340
39341
39342 LDFLAGS_GUI=
39343 case ${BAKEFILE_HOST} in
39344 *-*-cygwin* | *-*-mingw32* )
39345 LDFLAGS_GUI="-mwindows"
39346 esac
39347
39348
39349 fi
39350
39351 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39352 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39353 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39354 echo $ECHO_N "(cached) $ECHO_C" >&6
39355 else
39356
39357 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
39358 egrep -s GNU > /dev/null); then
39359 bakefile_cv_prog_makeisgnu="yes"
39360 else
39361 bakefile_cv_prog_makeisgnu="no"
39362 fi
39363
39364 fi
39365 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39366 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39367
39368 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39369 IF_GNU_MAKE=""
39370 else
39371 IF_GNU_MAKE="#"
39372 fi
39373
39374
39375
39376 PLATFORM_UNIX=0
39377 PLATFORM_WIN32=0
39378 PLATFORM_MSDOS=0
39379 PLATFORM_MAC=0
39380 PLATFORM_MACOS=0
39381 PLATFORM_MACOSX=0
39382 PLATFORM_OS2=0
39383 PLATFORM_BEOS=0
39384
39385 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39386 case "${BAKEFILE_HOST}" in
39387 *-*-cygwin* | *-*-mingw32* )
39388 PLATFORM_WIN32=1
39389 ;;
39390 *-pc-msdosdjgpp )
39391 PLATFORM_MSDOS=1
39392 ;;
39393 *-pc-os2_emx | *-pc-os2-emx )
39394 PLATFORM_OS2=1
39395 ;;
39396 powerpc-*-darwin* )
39397 PLATFORM_MAC=1
39398 PLATFORM_MACOSX=1
39399 ;;
39400 *-*-beos* )
39401 PLATFORM_BEOS=1
39402 ;;
39403 powerpc-apple-macos* )
39404 PLATFORM_MAC=1
39405 PLATFORM_MACOS=1
39406 ;;
39407 * )
39408 PLATFORM_UNIX=1
39409 ;;
39410 esac
39411 else
39412 case "$BAKEFILE_FORCE_PLATFORM" in
39413 win32 )
39414 PLATFORM_WIN32=1
39415 ;;
39416 msdos )
39417 PLATFORM_MSDOS=1
39418 ;;
39419 os2 )
39420 PLATFORM_OS2=1
39421 ;;
39422 darwin )
39423 PLATFORM_MAC=1
39424 PLATFORM_MACOSX=1
39425 ;;
39426 unix )
39427 PLATFORM_UNIX=1
39428 ;;
39429 beos )
39430 PLATFORM_BEOS=1
39431 ;;
39432 * )
39433 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39434 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39435 { (exit 1); exit 1; }; }
39436 ;;
39437 esac
39438 fi
39439
39440
39441
39442
39443
39444
39445
39446
39447
39448
39449
39450 # Check whether --enable-omf or --disable-omf was given.
39451 if test "${enable_omf+set}" = set; then
39452 enableval="$enable_omf"
39453 bk_os2_use_omf="$enableval"
39454 fi;
39455
39456 case "${BAKEFILE_HOST}" in
39457 *-*-darwin* )
39458 CFLAGS="$CFLAGS -fno-common"
39459 CXXFLAGS="$CXXFLAGS -fno-common"
39460 ;;
39461
39462 *-pc-os2_emx | *-pc-os2-emx )
39463 if test "x$bk_os2_use_omf" = "xyes" ; then
39464 AR=emxomfar
39465 RANLIB=:
39466 LDFLAGS="-Zomf $LDFLAGS"
39467 CFLAGS="-Zomf $CFLAGS"
39468 CXXFLAGS="-Zomf $CXXFLAGS"
39469 OS2_LIBEXT="lib"
39470 else
39471 OS2_LIBEXT="a"
39472 fi
39473 ;;
39474
39475 i*86-*-beos* )
39476 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
39477 ;;
39478 esac
39479
39480
39481 SO_SUFFIX="so"
39482 SO_SUFFIX_MODULE="so"
39483 EXEEXT=""
39484 LIBPREFIX="lib"
39485 LIBEXT=".a"
39486 DLLPREFIX="lib"
39487 DLLPREFIX_MODULE=""
39488 DLLIMP_SUFFIX=""
39489
39490 case "${BAKEFILE_HOST}" in
39491 *-hp-hpux* )
39492 SO_SUFFIX="sl"
39493 SO_SUFFIX_MODULE="sl"
39494 ;;
39495 *-*-aix* )
39496 SO_SUFFIX="a"
39497 SO_SUFFIX_MODULE="a"
39498 ;;
39499 *-*-cygwin* | *-*-mingw32* )
39500 SO_SUFFIX="dll"
39501 SO_SUFFIX_MODULE="dll"
39502 DLLIMP_SUFFIX="dll.a"
39503 EXEEXT=".exe"
39504 DLLPREFIX=""
39505 ;;
39506 *-pc-msdosdjgpp )
39507 EXEEXT=".exe"
39508 DLLPREFIX=""
39509 ;;
39510 *-pc-os2_emx | *-pc-os2-emx )
39511 SO_SUFFIX="dll"
39512 SO_SUFFIX_MODULE="dll"
39513 DLLIMP_SUFFIX=$OS2_LIBEXT
39514 EXEEXT=".exe"
39515 DLLPREFIX=""
39516 LIBPREFIX=""
39517 LIBEXT=".$OS2_LIBEXT"
39518 ;;
39519 powerpc-*-darwin* )
39520 SO_SUFFIX="dylib"
39521 SO_SUFFIX_MODULE="bundle"
39522 ;;
39523 esac
39524
39525 if test "x$DLLIMP_SUFFIX" = "x" ; then
39526 DLLIMP_SUFFIX="$SO_SUFFIX"
39527 fi
39528
39529
39530
39531
39532
39533
39534
39535
39536
39537
39538
39539 PIC_FLAG=""
39540 if test "x$GCC" = "xyes"; then
39541 PIC_FLAG="-fPIC"
39542 fi
39543
39544 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
39545 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
39546
39547 case "${BAKEFILE_HOST}" in
39548 *-hp-hpux* )
39549 if test "x$GCC" != "xyes"; then
39550 LDFLAGS="$LDFLAGS -L/usr/lib"
39551
39552 SHARED_LD_CC="${CC} -b -o"
39553 SHARED_LD_CXX="${CXX} -b -o"
39554 PIC_FLAG="+Z"
39555 fi
39556 ;;
39557
39558 *-*-linux* )
39559 if test "x$GCC" != "xyes"; then
39560 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39561 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39562 if test "${bakefile_cv_prog_icc+set}" = set; then
39563 echo $ECHO_N "(cached) $ECHO_C" >&6
39564 else
39565
39566 cat >conftest.$ac_ext <<_ACEOF
39567 /* confdefs.h. */
39568 _ACEOF
39569 cat confdefs.h >>conftest.$ac_ext
39570 cat >>conftest.$ac_ext <<_ACEOF
39571 /* end confdefs.h. */
39572
39573 int
39574 main ()
39575 {
39576
39577 #ifndef __INTEL_COMPILER
39578 #error Not icc
39579 #endif
39580
39581 ;
39582 return 0;
39583 }
39584 _ACEOF
39585 rm -f conftest.$ac_objext
39586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39587 (eval $ac_compile) 2>conftest.er1
39588 ac_status=$?
39589 grep -v '^ *+' conftest.er1 >conftest.err
39590 rm -f conftest.er1
39591 cat conftest.err >&5
39592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39593 (exit $ac_status); } &&
39594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39596 (eval $ac_try) 2>&5
39597 ac_status=$?
39598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39599 (exit $ac_status); }; } &&
39600 { ac_try='test -s conftest.$ac_objext'
39601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39602 (eval $ac_try) 2>&5
39603 ac_status=$?
39604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39605 (exit $ac_status); }; }; then
39606 bakefile_cv_prog_icc=yes
39607 else
39608 echo "$as_me: failed program was:" >&5
39609 sed 's/^/| /' conftest.$ac_ext >&5
39610
39611 bakefile_cv_prog_icc=no
39612
39613 fi
39614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39615
39616 fi
39617 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39618 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39619 if test "$bakefile_cv_prog_icc" = "yes"; then
39620 PIC_FLAG="-KPIC"
39621 fi
39622 fi
39623 ;;
39624
39625 *-*-solaris2* )
39626 if test "x$GCC" != xyes ; then
39627 SHARED_LD_CC="${CC} -G -o"
39628 SHARED_LD_CXX="${CXX} -G -o"
39629 PIC_FLAG="-KPIC"
39630 fi
39631 ;;
39632
39633 *-*-darwin* )
39634
39635 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39636 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39637 if test "${wx_cv_gcc31+set}" = set; then
39638 echo $ECHO_N "(cached) $ECHO_C" >&6
39639 else
39640
39641 cat >conftest.$ac_ext <<_ACEOF
39642 /* confdefs.h. */
39643 _ACEOF
39644 cat confdefs.h >>conftest.$ac_ext
39645 cat >>conftest.$ac_ext <<_ACEOF
39646 /* end confdefs.h. */
39647
39648 int
39649 main ()
39650 {
39651
39652 #if (__GNUC__ < 3) || \
39653 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39654 #error old gcc
39655 #endif
39656
39657 ;
39658 return 0;
39659 }
39660 _ACEOF
39661 rm -f conftest.$ac_objext
39662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39663 (eval $ac_compile) 2>conftest.er1
39664 ac_status=$?
39665 grep -v '^ *+' conftest.er1 >conftest.err
39666 rm -f conftest.er1
39667 cat conftest.err >&5
39668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39669 (exit $ac_status); } &&
39670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39672 (eval $ac_try) 2>&5
39673 ac_status=$?
39674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39675 (exit $ac_status); }; } &&
39676 { ac_try='test -s conftest.$ac_objext'
39677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39678 (eval $ac_try) 2>&5
39679 ac_status=$?
39680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39681 (exit $ac_status); }; }; then
39682
39683 wx_cv_gcc31=yes
39684
39685 else
39686 echo "$as_me: failed program was:" >&5
39687 sed 's/^/| /' conftest.$ac_ext >&5
39688
39689
39690 wx_cv_gcc31=no
39691
39692
39693 fi
39694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39695
39696 fi
39697 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
39698 echo "${ECHO_T}$wx_cv_gcc31" >&6
39699 if test "$wx_cv_gcc31" = "no"; then
39700
39701 D='$'
39702 cat <<EOF >shared-ld-sh
39703 #!/bin/sh
39704 #-----------------------------------------------------------------------------
39705 #-- Name: distrib/mac/shared-ld-sh
39706 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
39707 #-- Author: Gilles Depeyrot
39708 #-- Copyright: (c) 2002 Gilles Depeyrot
39709 #-- Licence: any use permitted
39710 #-----------------------------------------------------------------------------
39711
39712 verbose=0
39713 args=""
39714 objects=""
39715 linking_flag="-dynamiclib"
39716
39717 while test ${D}# -gt 0; do
39718 case ${D}1 in
39719
39720 -v)
39721 verbose=1
39722 ;;
39723
39724 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39725 # collect these options and values
39726 args="${D}{args} ${D}1 ${D}2"
39727 shift
39728 ;;
39729
39730 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39731 # collect these options
39732 args="${D}{args} ${D}1"
39733 ;;
39734
39735 -dynamiclib|-bundle)
39736 linking_flag="${D}1"
39737 ;;
39738
39739 -*)
39740 echo "shared-ld: unhandled option '${D}1'"
39741 exit 1
39742 ;;
39743
39744 *.o | *.a | *.dylib)
39745 # collect object files
39746 objects="${D}{objects} ${D}1"
39747 ;;
39748
39749 *)
39750 echo "shared-ld: unhandled argument '${D}1'"
39751 exit 1
39752 ;;
39753
39754 esac
39755 shift
39756 done
39757
39758 #
39759 # Link one module containing all the others
39760 #
39761 if test ${D}{verbose} = 1; then
39762 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39763 fi
39764 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39765 status=${D}?
39766 if test ${D}{status} != 0; then
39767 exit ${D}{status}
39768 fi
39769
39770 #
39771 # Link the shared library from the single module created
39772 #
39773 if test ${D}{verbose} = 1; then
39774 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39775 fi
39776 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39777 status=${D}?
39778 if test ${D}{status} != 0; then
39779 exit ${D}{status}
39780 fi
39781
39782 #
39783 # Remove intermediate module
39784 #
39785 rm -f master.${D}${D}.o
39786
39787 exit 0
39788 EOF
39789
39790 chmod +x shared-ld-sh
39791
39792 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39793 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39794 SHARED_LD_CXX="$SHARED_LD_CC"
39795 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
39796 else
39797 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39798 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39799 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39800 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39801 fi
39802
39803 PIC_FLAG="-dynamic -fPIC"
39804 ;;
39805
39806 *-*-aix* )
39807 if test "x$GCC" != "xyes"; then
39808 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39809 set dummy makeC++SharedLib; ac_word=$2
39810 echo "$as_me:$LINENO: checking for $ac_word" >&5
39811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39812 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39813 echo $ECHO_N "(cached) $ECHO_C" >&6
39814 else
39815 if test -n "$AIX_CXX_LD"; then
39816 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
39817 else
39818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39819 for as_dir in $PATH
39820 do
39821 IFS=$as_save_IFS
39822 test -z "$as_dir" && as_dir=.
39823 for ac_exec_ext in '' $ac_executable_extensions; do
39824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39825 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
39826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39827 break 2
39828 fi
39829 done
39830 done
39831
39832 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
39833 fi
39834 fi
39835 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
39836 if test -n "$AIX_CXX_LD"; then
39837 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39838 echo "${ECHO_T}$AIX_CXX_LD" >&6
39839 else
39840 echo "$as_me:$LINENO: result: no" >&5
39841 echo "${ECHO_T}no" >&6
39842 fi
39843
39844 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
39845 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
39846 fi
39847 ;;
39848
39849 *-*-beos* )
39850 SHARED_LD_CC="${LD} -nostart -o"
39851 SHARED_LD_CXX="${LD} -nostart -o"
39852 ;;
39853
39854 *-*-irix* )
39855 if test "x$GCC" != "xyes"; then
39856 PIC_FLAG="-KPIC"
39857 fi
39858 ;;
39859
39860 *-*-cygwin* | *-*-mingw32* )
39861 PIC_FLAG=""
39862 SHARED_LD_CC="\$(CC) -shared -o"
39863 SHARED_LD_CXX="\$(CXX) -shared -o"
39864 ;;
39865
39866 *-pc-os2_emx | *-pc-os2-emx )
39867 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39868 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39869 PIC_FLAG=""
39870
39871 D='$'
39872 cat <<EOF >dllar.sh
39873 #!/bin/sh
39874 #
39875 # dllar - a tool to build both a .dll and an .a file
39876 # from a set of object (.o) files for EMX/OS2.
39877 #
39878 # Written by Andrew Zabolotny, bit@freya.etu.ru
39879 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39880 #
39881 # This script will accept a set of files on the command line.
39882 # All the public symbols from the .o files will be exported into
39883 # a .DEF file, then linker will be run (through gcc) against them to
39884 # build a shared library consisting of all given .o files. All libraries
39885 # (.a) will be first decompressed into component .o files then act as
39886 # described above. You can optionally give a description (-d "description")
39887 # which will be put into .DLL. To see the list of accepted options (as well
39888 # as command-line format) simply run this program without options. The .DLL
39889 # is built to be imported by name (there is no guarantee that new versions
39890 # of the library you build will have same ordinals for same symbols).
39891 #
39892 # dllar is free software; you can redistribute it and/or modify
39893 # it under the terms of the GNU General Public License as published by
39894 # the Free Software Foundation; either version 2, or (at your option)
39895 # any later version.
39896 #
39897 # dllar is distributed in the hope that it will be useful,
39898 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39899 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39900 # GNU General Public License for more details.
39901 #
39902 # You should have received a copy of the GNU General Public License
39903 # along with dllar; see the file COPYING. If not, write to the Free
39904 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39905 # 02111-1307, USA.
39906
39907 # To successfuly run this program you will need:
39908 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39909 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39910 # - gcc
39911 # (used to build the .dll)
39912 # - emxexp
39913 # (used to create .def file from .o files)
39914 # - emximp
39915 # (used to create .a file from .def file)
39916 # - GNU text utilites (cat, sort, uniq)
39917 # used to process emxexp output
39918 # - GNU file utilities (mv, rm)
39919 # - GNU sed
39920 # - lxlite (optional, see flag below)
39921 # (used for general .dll cleanup)
39922 #
39923
39924 flag_USE_LXLITE=1;
39925
39926 #
39927 # helper functions
39928 # basnam, variant of basename, which does _not_ remove the path, _iff_
39929 # second argument (suffix to remove) is given
39930 basnam(){
39931 case ${D}# in
39932 1)
39933 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39934 ;;
39935 2)
39936 echo ${D}1 | sed 's/'${D}2'${D}//'
39937 ;;
39938 *)
39939 echo "error in basnam ${D}*"
39940 exit 8
39941 ;;
39942 esac
39943 }
39944
39945 # Cleanup temporary files and output
39946 CleanUp() {
39947 cd ${D}curDir
39948 for i in ${D}inputFiles ; do
39949 case ${D}i in
39950 *!)
39951 rm -rf \`basnam ${D}i !\`
39952 ;;
39953 *)
39954 ;;
39955 esac
39956 done
39957
39958 # Kill result in case of failure as there is just to many stupid make/nmake
39959 # things out there which doesn't do this.
39960 if [ ${D}# -eq 0 ]; then
39961 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39962 fi
39963 }
39964
39965 # Print usage and exit script with rc=1.
39966 PrintHelp() {
39967 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39968 echo ' [-name-mangler-script script.sh]'
39969 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39970 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39971 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39972 echo ' [*.o] [*.a]'
39973 echo '*> "output_file" should have no extension.'
39974 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39975 echo ' The import library name is derived from this and is set to "name".a,'
39976 echo ' unless overridden by -import'
39977 echo '*> "importlib_name" should have no extension.'
39978 echo ' If it has the .o, or .a extension, it is automatically removed.'
39979 echo ' This name is used as the import library name and may be longer and'
39980 echo ' more descriptive than the DLL name which has to follow the old '
39981 echo ' 8.3 convention of FAT.'
39982 echo '*> "script.sh may be given to override the output_file name by a'
39983 echo ' different name. It is mainly useful if the regular make process'
39984 echo ' of some package does not take into account OS/2 restriction of'
39985 echo ' DLL name lengths. It takes the importlib name as input and is'
39986 echo ' supposed to procude a shorter name as output. The script should'
39987 echo ' expect to get importlib_name without extension and should produce'
39988 echo ' a (max.) 8 letter name without extension.'
39989 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39990 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39991 echo ' These flags will be put at the start of GCC command line.'
39992 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39993 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39994 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39995 echo ' If the last character of a symbol is "*", all symbols beginning'
39996 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39997 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39998 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39999 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
40000 echo ' C runtime DLLs.'
40001 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
40002 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
40003 echo ' unchanged to GCC at the end of command line.'
40004 echo '*> If you create a DLL from a library and you do not specify -o,'
40005 echo ' the basename for DLL and import library will be set to library name,'
40006 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
40007 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
40008 echo ' library will be renamed into gcc_s.a.'
40009 echo '--------'
40010 echo 'Example:'
40011 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
40012 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
40013 CleanUp
40014 exit 1
40015 }
40016
40017 # Execute a command.
40018 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
40019 # @Uses Whatever CleanUp() uses.
40020 doCommand() {
40021 echo "${D}*"
40022 eval ${D}*
40023 rcCmd=${D}?
40024
40025 if [ ${D}rcCmd -ne 0 ]; then
40026 echo "command failed, exit code="${D}rcCmd
40027 CleanUp
40028 exit ${D}rcCmd
40029 fi
40030 }
40031
40032 # main routine
40033 # setup globals
40034 cmdLine=${D}*
40035 outFile=""
40036 outimpFile=""
40037 inputFiles=""
40038 renameScript=""
40039 description=""
40040 CC=gcc.exe
40041 CFLAGS="-s -Zcrtdll"
40042 EXTRA_CFLAGS=""
40043 EXPORT_BY_ORDINALS=0
40044 exclude_symbols=""
40045 library_flags=""
40046 curDir=\`pwd\`
40047 curDirS=curDir
40048 case ${D}curDirS in
40049 */)
40050 ;;
40051 *)
40052 curDirS=${D}{curDirS}"/"
40053 ;;
40054 esac
40055 # Parse commandline
40056 libsToLink=0
40057 omfLinking=0
40058 while [ ${D}1 ]; do
40059 case ${D}1 in
40060 -ord*)
40061 EXPORT_BY_ORDINALS=1;
40062 ;;
40063 -o*)
40064 shift
40065 outFile=${D}1
40066 ;;
40067 -i*)
40068 shift
40069 outimpFile=${D}1
40070 ;;
40071 -name-mangler-script)
40072 shift
40073 renameScript=${D}1
40074 ;;
40075 -d*)
40076 shift
40077 description=${D}1
40078 ;;
40079 -f*)
40080 shift
40081 CFLAGS=${D}1
40082 ;;
40083 -c*)
40084 shift
40085 CC=${D}1
40086 ;;
40087 -h*)
40088 PrintHelp
40089 ;;
40090 -ex*)
40091 shift
40092 exclude_symbols=${D}{exclude_symbols}${D}1" "
40093 ;;
40094 -libf*)
40095 shift
40096 library_flags=${D}{library_flags}${D}1" "
40097 ;;
40098 -nocrt*)
40099 CFLAGS="-s"
40100 ;;
40101 -nolxl*)
40102 flag_USE_LXLITE=0
40103 ;;
40104 -* | /*)
40105 case ${D}1 in
40106 -L* | -l*)
40107 libsToLink=1
40108 ;;
40109 -Zomf)
40110 omfLinking=1
40111 ;;
40112 *)
40113 ;;
40114 esac
40115 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40116 ;;
40117 *.dll)
40118 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
40119 if [ ${D}omfLinking -eq 1 ]; then
40120 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
40121 else
40122 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
40123 fi
40124 ;;
40125 *)
40126 found=0;
40127 if [ ${D}libsToLink -ne 0 ]; then
40128 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40129 else
40130 for file in ${D}1 ; do
40131 if [ -f ${D}file ]; then
40132 inputFiles="${D}{inputFiles} ${D}file"
40133 found=1
40134 fi
40135 done
40136 if [ ${D}found -eq 0 ]; then
40137 echo "ERROR: No file(s) found: "${D}1
40138 exit 8
40139 fi
40140 fi
40141 ;;
40142 esac
40143 shift
40144 done # iterate cmdline words
40145
40146 #
40147 if [ -z "${D}inputFiles" ]; then
40148 echo "dllar: no input files"
40149 PrintHelp
40150 fi
40151
40152 # Now extract all .o files from .a files
40153 newInputFiles=""
40154 for file in ${D}inputFiles ; do
40155 case ${D}file in
40156 *.a | *.lib)
40157 case ${D}file in
40158 *.a)
40159 suffix=".a"
40160 AR="ar"
40161 ;;
40162 *.lib)
40163 suffix=".lib"
40164 AR="emxomfar"
40165 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40166 ;;
40167 *)
40168 ;;
40169 esac
40170 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40171 mkdir ${D}dirname
40172 if [ ${D}? -ne 0 ]; then
40173 echo "Failed to create subdirectory ./${D}dirname"
40174 CleanUp
40175 exit 8;
40176 fi
40177 # Append '!' to indicate archive
40178 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40179 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40180 cd ${D}curDir
40181 found=0;
40182 for subfile in ${D}dirname/*.o* ; do
40183 if [ -f ${D}subfile ]; then
40184 found=1
40185 if [ -s ${D}subfile ]; then
40186 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40187 newInputFiles="${D}newInputFiles ${D}subfile"
40188 fi
40189 fi
40190 done
40191 if [ ${D}found -eq 0 ]; then
40192 echo "WARNING: there are no files in archive \\'${D}file\\'"
40193 fi
40194 ;;
40195 *)
40196 newInputFiles="${D}{newInputFiles} ${D}file"
40197 ;;
40198 esac
40199 done
40200 inputFiles="${D}newInputFiles"
40201
40202 # Output filename(s).
40203 do_backup=0;
40204 if [ -z ${D}outFile ]; then
40205 do_backup=1;
40206 set outFile ${D}inputFiles; outFile=${D}2
40207 fi
40208
40209 # If it is an archive, remove the '!' and the '_%' suffixes
40210 case ${D}outFile in
40211 *_%!)
40212 outFile=\`basnam ${D}outFile _%!\`
40213 ;;
40214 *)
40215 ;;
40216 esac
40217 case ${D}outFile in
40218 *.dll)
40219 outFile=\`basnam ${D}outFile .dll\`
40220 ;;
40221 *.DLL)
40222 outFile=\`basnam ${D}outFile .DLL\`
40223 ;;
40224 *.o)
40225 outFile=\`basnam ${D}outFile .o\`
40226 ;;
40227 *.obj)
40228 outFile=\`basnam ${D}outFile .obj\`
40229 ;;
40230 *.a)
40231 outFile=\`basnam ${D}outFile .a\`
40232 ;;
40233 *.lib)
40234 outFile=\`basnam ${D}outFile .lib\`
40235 ;;
40236 *)
40237 ;;
40238 esac
40239 case ${D}outimpFile in
40240 *.a)
40241 outimpFile=\`basnam ${D}outimpFile .a\`
40242 ;;
40243 *.lib)
40244 outimpFile=\`basnam ${D}outimpFile .lib\`
40245 ;;
40246 *)
40247 ;;
40248 esac
40249 if [ -z ${D}outimpFile ]; then
40250 outimpFile=${D}outFile
40251 fi
40252 defFile="${D}{outFile}.def"
40253 arcFile="${D}{outimpFile}.a"
40254 arcFile2="${D}{outimpFile}.lib"
40255
40256 #create ${D}dllFile as something matching 8.3 restrictions,
40257 if [ -z ${D}renameScript ] ; then
40258 dllFile="${D}outFile"
40259 else
40260 dllFile=\`${D}renameScript ${D}outimpFile\`
40261 fi
40262
40263 if [ ${D}do_backup -ne 0 ] ; then
40264 if [ -f ${D}arcFile ] ; then
40265 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
40266 fi
40267 if [ -f ${D}arcFile2 ] ; then
40268 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
40269 fi
40270 fi
40271
40272 # Extract public symbols from all the object files.
40273 tmpdefFile=${D}{defFile}_%
40274 rm -f ${D}tmpdefFile
40275 for file in ${D}inputFiles ; do
40276 case ${D}file in
40277 *!)
40278 ;;
40279 *)
40280 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
40281 ;;
40282 esac
40283 done
40284
40285 # Create the def file.
40286 rm -f ${D}defFile
40287 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
40288 dllFile="${D}{dllFile}.dll"
40289 if [ ! -z ${D}description ]; then
40290 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
40291 fi
40292 echo "EXPORTS" >> ${D}defFile
40293
40294 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
40295 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
40296
40297 # Checks if the export is ok or not.
40298 for word in ${D}exclude_symbols; do
40299 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
40300 mv ${D}{tmpdefFile}% ${D}tmpdefFile
40301 done
40302
40303
40304 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40305 sed "=" < ${D}tmpdefFile | \\
40306 sed '
40307 N
40308 : loop
40309 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
40310 t loop
40311 ' > ${D}{tmpdefFile}%
40312 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
40313 else
40314 rm -f ${D}{tmpdefFile}%
40315 fi
40316 cat ${D}tmpdefFile >> ${D}defFile
40317 rm -f ${D}tmpdefFile
40318
40319 # Do linking, create implib, and apply lxlite.
40320 gccCmdl="";
40321 for file in ${D}inputFiles ; do
40322 case ${D}file in
40323 *!)
40324 ;;
40325 *)
40326 gccCmdl="${D}gccCmdl ${D}file"
40327 ;;
40328 esac
40329 done
40330 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
40331 touch "${D}{outFile}.dll"
40332
40333 doCommand "emximp -o ${D}arcFile ${D}defFile"
40334 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
40335 add_flags="";
40336 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40337 add_flags="-ynd"
40338 fi
40339 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
40340 fi
40341 doCommand "emxomf -s -l ${D}arcFile"
40342
40343 # Successful exit.
40344 CleanUp 1
40345 exit 0
40346 EOF
40347
40348 chmod +x dllar.sh
40349 ;;
40350
40351 powerpc-apple-macos* | \
40352 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40353 *-*-sunos4* | \
40354 *-*-osf* | \
40355 *-*-dgux5* | \
40356 *-*-sysv5* )
40357 ;;
40358
40359 *)
40360 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40361 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40362 { (exit 1); exit 1; }; }
40363 esac
40364
40365 if test "x$PIC_FLAG" != "x" ; then
40366 PIC_FLAG="$PIC_FLAG -DPIC"
40367 fi
40368
40369 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40370 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
40371 fi
40372 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40373 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
40374 fi
40375
40376
40377
40378
40379
40380
40381
40382
40383 USE_SOVERSION=0
40384 USE_SOVERLINUX=0
40385 USE_SOVERSOLARIS=0
40386 USE_SOSYMLINKS=0
40387 USE_MACVERSION=0
40388 SONAME_FLAG=
40389
40390 case "${BAKEFILE_HOST}" in
40391 *-*-linux* | *-*-freebsd* )
40392 SONAME_FLAG="-Wl,-soname,"
40393 USE_SOVERSION=1
40394 USE_SOVERLINUX=1
40395 USE_SOSYMLINKS=1
40396 ;;
40397
40398 *-*-solaris2* )
40399 SONAME_FLAG="-h "
40400 USE_SOVERSION=1
40401 USE_SOVERSOLARIS=1
40402 USE_SOSYMLINKS=1
40403 ;;
40404
40405 *-*-darwin* )
40406 USE_MACVERSION=1
40407 USE_SOVERSION=1
40408 USE_SOSYMLINKS=1
40409 ;;
40410 esac
40411
40412
40413
40414
40415
40416
40417
40418
40419
40420 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
40421 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
40422 DEPS_TRACKING=0
40423
40424 if test "x$GCC" = "xyes"; then
40425 DEPSMODE=gcc
40426 DEPS_TRACKING=1
40427 case "${BAKEFILE_HOST}" in
40428 powerpc-*-darwin* )
40429 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
40430 ;;
40431 * )
40432 DEPSFLAG_GCC="-MMD"
40433 ;;
40434 esac
40435 echo "$as_me:$LINENO: result: gcc" >&5
40436 echo "${ECHO_T}gcc" >&6
40437 elif test "x$MWCC" = "xyes"; then
40438 DEPSMODE=gcc
40439 DEPS_TRACKING=1
40440 DEPSFLAG_GCC="-MMD"
40441 echo "$as_me:$LINENO: result: mwcc" >&5
40442 echo "${ECHO_T}mwcc" >&6
40443 else
40444 echo "$as_me:$LINENO: result: none" >&5
40445 echo "${ECHO_T}none" >&6
40446 fi
40447
40448 if test $DEPS_TRACKING = 1 ; then
40449
40450 D='$'
40451 cat <<EOF >bk-deps
40452 #!/bin/sh
40453
40454 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40455 # script. It is used to track C/C++ files dependencies in portable way.
40456 #
40457 # Permission is given to use this file in any way.
40458
40459 DEPSMODE=${DEPSMODE}
40460 DEPSDIR=.deps
40461 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
40462
40463 mkdir -p ${D}DEPSDIR
40464
40465 if test ${D}DEPSMODE = gcc ; then
40466 ${D}* ${D}{DEPSFLAG_GCC}
40467 status=${D}?
40468 if test ${D}{status} != 0 ; then
40469 exit ${D}{status}
40470 fi
40471 # move created file to the location we want it in:
40472 while test ${D}# -gt 0; do
40473 case "${D}1" in
40474 -o )
40475 shift
40476 objfile=${D}1
40477 ;;
40478 -* )
40479 ;;
40480 * )
40481 srcfile=${D}1
40482 ;;
40483 esac
40484 shift
40485 done
40486 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
40487 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
40488 if test -f ${D}depfile ; then
40489 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40490 rm -f ${D}depfile
40491 else
40492 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
40493 if test -f ${D}depfile ; then
40494 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40495 rm -f ${D}depfile
40496 fi
40497 fi
40498 exit 0
40499 else
40500 ${D}*
40501 exit ${D}?
40502 fi
40503 EOF
40504
40505 chmod +x bk-deps
40506 fi
40507
40508
40509
40510
40511 RESCOMP=
40512 SETFILE=
40513
40514 case ${BAKEFILE_HOST} in
40515 *-*-cygwin* | *-*-mingw32* )
40516 if test "$build" != "$host" ; then
40517 RESCOMP=$host_alias-windres
40518 else
40519 # Extract the first word of "windres", so it can be a program name with args.
40520 set dummy windres; ac_word=$2
40521 echo "$as_me:$LINENO: checking for $ac_word" >&5
40522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40523 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40524 echo $ECHO_N "(cached) $ECHO_C" >&6
40525 else
40526 if test -n "$RESCOMP"; then
40527 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
40528 else
40529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40530 for as_dir in $PATH
40531 do
40532 IFS=$as_save_IFS
40533 test -z "$as_dir" && as_dir=.
40534 for ac_exec_ext in '' $ac_executable_extensions; do
40535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40536 ac_cv_prog_RESCOMP="windres"
40537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40538 break 2
40539 fi
40540 done
40541 done
40542
40543 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
40544 fi
40545 fi
40546 RESCOMP=$ac_cv_prog_RESCOMP
40547 if test -n "$RESCOMP"; then
40548 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40549 echo "${ECHO_T}$RESCOMP" >&6
40550 else
40551 echo "$as_me:$LINENO: result: no" >&5
40552 echo "${ECHO_T}no" >&6
40553 fi
40554
40555 fi
40556 ;;
40557
40558 *-*-darwin* | powerpc-apple-macos* )
40559 # Extract the first word of "Rez", so it can be a program name with args.
40560 set dummy Rez; ac_word=$2
40561 echo "$as_me:$LINENO: checking for $ac_word" >&5
40562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40563 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40564 echo $ECHO_N "(cached) $ECHO_C" >&6
40565 else
40566 if test -n "$RESCOMP"; then
40567 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
40568 else
40569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40570 for as_dir in $PATH
40571 do
40572 IFS=$as_save_IFS
40573 test -z "$as_dir" && as_dir=.
40574 for ac_exec_ext in '' $ac_executable_extensions; do
40575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40576 ac_cv_prog_RESCOMP="Rez"
40577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40578 break 2
40579 fi
40580 done
40581 done
40582
40583 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
40584 fi
40585 fi
40586 RESCOMP=$ac_cv_prog_RESCOMP
40587 if test -n "$RESCOMP"; then
40588 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40589 echo "${ECHO_T}$RESCOMP" >&6
40590 else
40591 echo "$as_me:$LINENO: result: no" >&5
40592 echo "${ECHO_T}no" >&6
40593 fi
40594
40595 # Extract the first word of "SetFile", so it can be a program name with args.
40596 set dummy SetFile; ac_word=$2
40597 echo "$as_me:$LINENO: checking for $ac_word" >&5
40598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40599 if test "${ac_cv_prog_SETFILE+set}" = set; then
40600 echo $ECHO_N "(cached) $ECHO_C" >&6
40601 else
40602 if test -n "$SETFILE"; then
40603 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
40604 else
40605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40606 for as_dir in $PATH
40607 do
40608 IFS=$as_save_IFS
40609 test -z "$as_dir" && as_dir=.
40610 for ac_exec_ext in '' $ac_executable_extensions; do
40611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40612 ac_cv_prog_SETFILE="SetFile"
40613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40614 break 2
40615 fi
40616 done
40617 done
40618
40619 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
40620 fi
40621 fi
40622 SETFILE=$ac_cv_prog_SETFILE
40623 if test -n "$SETFILE"; then
40624 echo "$as_me:$LINENO: result: $SETFILE" >&5
40625 echo "${ECHO_T}$SETFILE" >&6
40626 else
40627 echo "$as_me:$LINENO: result: no" >&5
40628 echo "${ECHO_T}no" >&6
40629 fi
40630
40631 ;;
40632 esac
40633
40634
40635
40636
40637
40638 BAKEFILE_BAKEFILE_M4_VERSION="0.1.5"
40639
40640
40641 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.5"
40642
40643
40644
40645 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40646 if test "${enable_precomp_headers+set}" = set; then
40647 enableval="$enable_precomp_headers"
40648 bk_use_pch="$enableval"
40649 fi;
40650
40651 GCC_PCH=0
40652
40653 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40654 if test "x$GCC" = "xyes"; then
40655 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40656 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40657 cat >conftest.$ac_ext <<_ACEOF
40658 /* confdefs.h. */
40659 _ACEOF
40660 cat confdefs.h >>conftest.$ac_ext
40661 cat >>conftest.$ac_ext <<_ACEOF
40662 /* end confdefs.h. */
40663
40664 int
40665 main ()
40666 {
40667
40668 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40669 #error "no pch support"
40670 #endif
40671 #if (__GNUC__ < 3)
40672 #error "no pch support"
40673 #endif
40674 #if (__GNUC__ == 3) && \
40675 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40676 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40677 #error "no pch support"
40678 #endif
40679
40680 ;
40681 return 0;
40682 }
40683 _ACEOF
40684 rm -f conftest.$ac_objext
40685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40686 (eval $ac_compile) 2>conftest.er1
40687 ac_status=$?
40688 grep -v '^ *+' conftest.er1 >conftest.err
40689 rm -f conftest.er1
40690 cat conftest.err >&5
40691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40692 (exit $ac_status); } &&
40693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40695 (eval $ac_try) 2>&5
40696 ac_status=$?
40697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40698 (exit $ac_status); }; } &&
40699 { ac_try='test -s conftest.$ac_objext'
40700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40701 (eval $ac_try) 2>&5
40702 ac_status=$?
40703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40704 (exit $ac_status); }; }; then
40705
40706 echo "$as_me:$LINENO: result: yes" >&5
40707 echo "${ECHO_T}yes" >&6
40708 GCC_PCH=1
40709
40710 else
40711 echo "$as_me: failed program was:" >&5
40712 sed 's/^/| /' conftest.$ac_ext >&5
40713
40714
40715 echo "$as_me:$LINENO: result: no" >&5
40716 echo "${ECHO_T}no" >&6
40717
40718 fi
40719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40720 if test $GCC_PCH = 1 ; then
40721
40722 D='$'
40723 cat <<EOF >bk-make-pch
40724 #!/bin/sh
40725
40726 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40727 # script. It is used to generated precompiled headers.
40728 #
40729 # Permission is given to use this file in any way.
40730
40731 outfile="${D}{1}"
40732 header="${D}{2}"
40733 shift
40734 shift
40735
40736 compiler=
40737 headerfile=
40738 while test ${D}{#} -gt 0; do
40739 case "${D}{1}" in
40740 -I* )
40741 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40742 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40743 headerfile="${D}{incdir}/${D}{header}"
40744 fi
40745 ;;
40746 esac
40747 compiler="${D}{compiler} ${D}{1}"
40748 shift
40749 done
40750
40751 if test "x${D}{headerfile}" = "x" ; then
40752 echo "error: can't find header ${D}{header} in include paths" >2
40753 else
40754 if test -f ${D}{outfile} ; then
40755 rm -f ${D}{outfile}
40756 else
40757 mkdir -p \`dirname ${D}{outfile}\`
40758 fi
40759 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40760 mkdir -p .deps
40761 # can do this because gcc is >= 3.4:
40762 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40763 exit ${D}{?}
40764 fi
40765 EOF
40766
40767 chmod +x bk-make-pch
40768 fi
40769 fi
40770 fi
40771
40772
40773
40774 COND_BUILD_DEBUG="#"
40775 if test "x$BUILD" = "xdebug" ; then
40776 COND_BUILD_DEBUG=""
40777 fi
40778
40779 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40780 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40781 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40782 fi
40783
40784 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40785 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40786 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40787 fi
40788
40789 COND_BUILD_DEBUG_UNICODE_0="#"
40790 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40791 COND_BUILD_DEBUG_UNICODE_0=""
40792 fi
40793
40794 COND_BUILD_DEBUG_UNICODE_1="#"
40795 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40796 COND_BUILD_DEBUG_UNICODE_1=""
40797 fi
40798
40799 COND_BUILD_RELEASE="#"
40800 if test "x$BUILD" = "xrelease" ; then
40801 COND_BUILD_RELEASE=""
40802 fi
40803
40804 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40805 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40806 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40807 fi
40808
40809 COND_BUILD_RELEASE_UNICODE_0="#"
40810 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40811 COND_BUILD_RELEASE_UNICODE_0=""
40812 fi
40813
40814 COND_BUILD_RELEASE_UNICODE_1="#"
40815 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40816 COND_BUILD_RELEASE_UNICODE_1=""
40817 fi
40818
40819 COND_DEBUG_FLAG_1="#"
40820 if test "x$DEBUG_FLAG" = "x1" ; then
40821 COND_DEBUG_FLAG_1=""
40822 fi
40823
40824 COND_DEBUG_INFO_0="#"
40825 if test "x$DEBUG_INFO" = "x0" ; then
40826 COND_DEBUG_INFO_0=""
40827 fi
40828
40829 COND_DEBUG_INFO_1="#"
40830 if test "x$DEBUG_INFO" = "x1" ; then
40831 COND_DEBUG_INFO_1=""
40832 fi
40833
40834 COND_DEPS_TRACKING_0="#"
40835 if test "x$DEPS_TRACKING" = "x0" ; then
40836 COND_DEPS_TRACKING_0=""
40837 fi
40838
40839 COND_DEPS_TRACKING_1="#"
40840 if test "x$DEPS_TRACKING" = "x1" ; then
40841 COND_DEPS_TRACKING_1=""
40842 fi
40843
40844 COND_GCC_PCH_1="#"
40845 if test "x$GCC_PCH" = "x1" ; then
40846 COND_GCC_PCH_1=""
40847 fi
40848
40849 COND_MONOLITHIC_0="#"
40850 if test "x$MONOLITHIC" = "x0" ; then
40851 COND_MONOLITHIC_0=""
40852 fi
40853
40854 COND_MONOLITHIC_0_SHARED_0="#"
40855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40856 COND_MONOLITHIC_0_SHARED_0=""
40857 fi
40858
40859 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40861 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40862 fi
40863
40864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40866 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40867 fi
40868
40869 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40871 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40872 fi
40873
40874 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
40875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40876 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
40877 fi
40878
40879 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40881 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40882 fi
40883
40884 COND_MONOLITHIC_0_SHARED_1="#"
40885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40886 COND_MONOLITHIC_0_SHARED_1=""
40887 fi
40888
40889 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40891 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40892 fi
40893
40894 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
40895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40896 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
40897 fi
40898
40899 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
40900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40901 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
40902 fi
40903
40904 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
40905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40906 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
40907 fi
40908
40909 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40911 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40912 fi
40913
40914 COND_MONOLITHIC_0_USE_ODBC_1="#"
40915 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40916 COND_MONOLITHIC_0_USE_ODBC_1=""
40917 fi
40918
40919 COND_MONOLITHIC_1="#"
40920 if test "x$MONOLITHIC" = "x1" ; then
40921 COND_MONOLITHIC_1=""
40922 fi
40923
40924 COND_MONOLITHIC_1_SHARED_0="#"
40925 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40926 COND_MONOLITHIC_1_SHARED_0=""
40927 fi
40928
40929 COND_MONOLITHIC_1_SHARED_1="#"
40930 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40931 COND_MONOLITHIC_1_SHARED_1=""
40932 fi
40933
40934 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40935 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40936 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40937 fi
40938
40939 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40940 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40941 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40942 fi
40943
40944 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40945 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40946 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40947 fi
40948
40949 COND_PLATFORM_MACOSX_1="#"
40950 if test "x$PLATFORM_MACOSX" = "x1" ; then
40951 COND_PLATFORM_MACOSX_1=""
40952 fi
40953
40954 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
40955 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40956 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
40957 fi
40958
40959 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40960 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40961 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40962 fi
40963
40964 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40965 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40966 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40967 fi
40968
40969 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40970 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40971 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40972 fi
40973
40974 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
40975 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40976 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
40977 fi
40978
40979 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40980 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40981 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40982 fi
40983
40984 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
40985 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40986 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
40987 fi
40988
40989 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
40990 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40991 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
40992 fi
40993
40994 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40995 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40996 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40997 fi
40998
40999 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
41000 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41001 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
41002 fi
41003
41004 COND_PLATFORM_MACOS_1="#"
41005 if test "x$PLATFORM_MACOS" = "x1" ; then
41006 COND_PLATFORM_MACOS_1=""
41007 fi
41008
41009 COND_PLATFORM_MAC_1="#"
41010 if test "x$PLATFORM_MAC" = "x1" ; then
41011 COND_PLATFORM_MAC_1=""
41012 fi
41013
41014 COND_PLATFORM_OS2_1="#"
41015 if test "x$PLATFORM_OS2" = "x1" ; then
41016 COND_PLATFORM_OS2_1=""
41017 fi
41018
41019 COND_PLATFORM_UNIX_0="#"
41020 if test "x$PLATFORM_UNIX" = "x0" ; then
41021 COND_PLATFORM_UNIX_0=""
41022 fi
41023
41024 COND_PLATFORM_UNIX_1="#"
41025 if test "x$PLATFORM_UNIX" = "x1" ; then
41026 COND_PLATFORM_UNIX_1=""
41027 fi
41028
41029 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
41030 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41031 COND_PLATFORM_UNIX_1_USE_GUI_1=""
41032 fi
41033
41034 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
41035 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41036 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
41037 fi
41038
41039 COND_PLATFORM_WIN32_0="#"
41040 if test "x$PLATFORM_WIN32" = "x0" ; then
41041 COND_PLATFORM_WIN32_0=""
41042 fi
41043
41044 COND_PLATFORM_WIN32_1="#"
41045 if test "x$PLATFORM_WIN32" = "x1" ; then
41046 COND_PLATFORM_WIN32_1=""
41047 fi
41048
41049 COND_SHARED_0="#"
41050 if test "x$SHARED" = "x0" ; then
41051 COND_SHARED_0=""
41052 fi
41053
41054 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
41055 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41056 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
41057 fi
41058
41059 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
41060 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41061 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
41062 fi
41063
41064 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
41065 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41066 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
41067 fi
41068
41069 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
41070 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41071 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
41072 fi
41073
41074 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41075 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41076 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41077 fi
41078
41079 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41080 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41081 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41082 fi
41083
41084 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41085 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41086 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41087 fi
41088
41089 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
41090 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41091 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
41092 fi
41093
41094 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
41095 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41096 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
41097 fi
41098
41099 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
41100 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41101 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
41102 fi
41103
41104 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
41105 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41106 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
41107 fi
41108
41109 COND_SHARED_1="#"
41110 if test "x$SHARED" = "x1" ; then
41111 COND_SHARED_1=""
41112 fi
41113
41114 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
41115 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41116 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
41117 fi
41118
41119 COND_TOOLKIT_="#"
41120 if test "x$TOOLKIT" = "x" ; then
41121 COND_TOOLKIT_=""
41122 fi
41123
41124 COND_TOOLKIT_COCOA="#"
41125 if test "x$TOOLKIT" = "xCOCOA" ; then
41126 COND_TOOLKIT_COCOA=""
41127 fi
41128
41129 COND_TOOLKIT_COCOA_USE_GUI_1="#"
41130 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
41131 COND_TOOLKIT_COCOA_USE_GUI_1=""
41132 fi
41133
41134 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
41135 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41136 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
41137 fi
41138
41139 COND_TOOLKIT_GTK="#"
41140 if test "x$TOOLKIT" = "xGTK" ; then
41141 COND_TOOLKIT_GTK=""
41142 fi
41143
41144 COND_TOOLKIT_GTK_USE_GUI_1="#"
41145 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41146 COND_TOOLKIT_GTK_USE_GUI_1=""
41147 fi
41148
41149 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
41150 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41151 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
41152 fi
41153
41154 COND_TOOLKIT_MAC="#"
41155 if test "x$TOOLKIT" = "xMAC" ; then
41156 COND_TOOLKIT_MAC=""
41157 fi
41158
41159 COND_TOOLKIT_MAC_USE_GUI_1="#"
41160 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41161 COND_TOOLKIT_MAC_USE_GUI_1=""
41162 fi
41163
41164 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41165 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41166 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41167 fi
41168
41169 COND_TOOLKIT_MGL="#"
41170 if test "x$TOOLKIT" = "xMGL" ; then
41171 COND_TOOLKIT_MGL=""
41172 fi
41173
41174 COND_TOOLKIT_MGL_USE_GUI_1="#"
41175 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41176 COND_TOOLKIT_MGL_USE_GUI_1=""
41177 fi
41178
41179 COND_TOOLKIT_MOTIF="#"
41180 if test "x$TOOLKIT" = "xMOTIF" ; then
41181 COND_TOOLKIT_MOTIF=""
41182 fi
41183
41184 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
41185 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41186 COND_TOOLKIT_MOTIF_USE_GUI_1=""
41187 fi
41188
41189 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
41190 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41191 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
41192 fi
41193
41194 COND_TOOLKIT_MSW="#"
41195 if test "x$TOOLKIT" = "xMSW" ; then
41196 COND_TOOLKIT_MSW=""
41197 fi
41198
41199 COND_TOOLKIT_MSW_USE_GUI_1="#"
41200 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41201 COND_TOOLKIT_MSW_USE_GUI_1=""
41202 fi
41203
41204 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
41205 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41206 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
41207 fi
41208
41209 COND_TOOLKIT_PM="#"
41210 if test "x$TOOLKIT" = "xPM" ; then
41211 COND_TOOLKIT_PM=""
41212 fi
41213
41214 COND_TOOLKIT_PM_USE_GUI_1="#"
41215 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41216 COND_TOOLKIT_PM_USE_GUI_1=""
41217 fi
41218
41219 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
41220 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41221 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
41222 fi
41223
41224 COND_TOOLKIT_WINCE="#"
41225 if test "x$TOOLKIT" = "xWINCE" ; then
41226 COND_TOOLKIT_WINCE=""
41227 fi
41228
41229 COND_TOOLKIT_WINCE_USE_GUI_1="#"
41230 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41231 COND_TOOLKIT_WINCE_USE_GUI_1=""
41232 fi
41233
41234 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
41235 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41236 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
41237 fi
41238
41239 COND_TOOLKIT_X11="#"
41240 if test "x$TOOLKIT" = "xX11" ; then
41241 COND_TOOLKIT_X11=""
41242 fi
41243
41244 COND_TOOLKIT_X11_USE_GUI_1="#"
41245 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41246 COND_TOOLKIT_X11_USE_GUI_1=""
41247 fi
41248
41249 COND_UNICODE_1="#"
41250 if test "x$UNICODE" = "x1" ; then
41251 COND_UNICODE_1=""
41252 fi
41253
41254 COND_USE_EXCEPTIONS_0="#"
41255 if test "x$USE_EXCEPTIONS" = "x0" ; then
41256 COND_USE_EXCEPTIONS_0=""
41257 fi
41258
41259 COND_USE_EXCEPTIONS_1="#"
41260 if test "x$USE_EXCEPTIONS" = "x1" ; then
41261 COND_USE_EXCEPTIONS_1=""
41262 fi
41263
41264 COND_USE_GUI_0="#"
41265 if test "x$USE_GUI" = "x0" ; then
41266 COND_USE_GUI_0=""
41267 fi
41268
41269 COND_USE_GUI_1="#"
41270 if test "x$USE_GUI" = "x1" ; then
41271 COND_USE_GUI_1=""
41272 fi
41273
41274 COND_USE_GUI_1_WXUNIV_0="#"
41275 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41276 COND_USE_GUI_1_WXUNIV_0=""
41277 fi
41278
41279 COND_USE_GUI_1_WXUNIV_1="#"
41280 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41281 COND_USE_GUI_1_WXUNIV_1=""
41282 fi
41283
41284 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41285 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41286 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41287 fi
41288
41289 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41290 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41291 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41292 fi
41293
41294 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41295 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41296 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41297 fi
41298
41299 COND_USE_ODBC_1="#"
41300 if test "x$USE_ODBC" = "x1" ; then
41301 COND_USE_ODBC_1=""
41302 fi
41303
41304 COND_USE_OPENGL_1="#"
41305 if test "x$USE_OPENGL" = "x1" ; then
41306 COND_USE_OPENGL_1=""
41307 fi
41308
41309 COND_USE_PLUGINS_0="#"
41310 if test "x$USE_PLUGINS" = "x0" ; then
41311 COND_USE_PLUGINS_0=""
41312 fi
41313
41314 COND_USE_SOSYMLINKS_1="#"
41315 if test "x$USE_SOSYMLINKS" = "x1" ; then
41316 COND_USE_SOSYMLINKS_1=""
41317 fi
41318
41319 COND_USE_SOVERLINUX_1="#"
41320 if test "x$USE_SOVERLINUX" = "x1" ; then
41321 COND_USE_SOVERLINUX_1=""
41322 fi
41323
41324 COND_USE_SOVERSION_0="#"
41325 if test "x$USE_SOVERSION" = "x0" ; then
41326 COND_USE_SOVERSION_0=""
41327 fi
41328
41329 COND_USE_SOVERSOLARIS_1="#"
41330 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41331 COND_USE_SOVERSOLARIS_1=""
41332 fi
41333
41334 COND_USE_XRC_1="#"
41335 if test "x$USE_XRC" = "x1" ; then
41336 COND_USE_XRC_1=""
41337 fi
41338
41339 COND_WITH_PLUGIN_SDL_1="#"
41340 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41341 COND_WITH_PLUGIN_SDL_1=""
41342 fi
41343
41344 COND_WXUNIV_0="#"
41345 if test "x$WXUNIV" = "x0" ; then
41346 COND_WXUNIV_0=""
41347 fi
41348
41349 COND_WXUNIV_1="#"
41350 if test "x$WXUNIV" = "x1" ; then
41351 COND_WXUNIV_1=""
41352 fi
41353
41354 COND_WXUSE_EXPAT_BUILTIN="#"
41355 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41356 COND_WXUSE_EXPAT_BUILTIN=""
41357 fi
41358
41359 COND_WXUSE_LIBJPEG_BUILTIN="#"
41360 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41361 COND_WXUSE_LIBJPEG_BUILTIN=""
41362 fi
41363
41364 COND_WXUSE_LIBPNG_BUILTIN="#"
41365 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41366 COND_WXUSE_LIBPNG_BUILTIN=""
41367 fi
41368
41369 COND_WXUSE_LIBTIFF_BUILTIN="#"
41370 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41371 COND_WXUSE_LIBTIFF_BUILTIN=""
41372 fi
41373
41374 COND_WXUSE_ODBC_BUILTIN="#"
41375 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41376 COND_WXUSE_ODBC_BUILTIN=""
41377 fi
41378
41379 COND_WXUSE_REGEX_BUILTIN="#"
41380 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41381 COND_WXUSE_REGEX_BUILTIN=""
41382 fi
41383
41384 COND_WXUSE_ZLIB_BUILTIN="#"
41385 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41386 COND_WXUSE_ZLIB_BUILTIN=""
41387 fi
41388
41389
41390
41391 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41392 { { 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
41393 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;}
41394 { (exit 1); exit 1; }; }
41395 fi
41396
41397
41398 if test "$wxUSE_SHARED" = "yes"; then
41399
41400 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
41401 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
41402
41403 case "${host}" in
41404 *-pc-os2_emx | *-pc-os2-emx )
41405 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41406 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41407 cp -p ${srcdir}/src/os2/dllnames.sh .
41408 cp -p ${srcdir}/src/os2/dllar.sh .
41409 ;;
41410 esac
41411 else
41412
41413 EXE_LINKER="$CXX -o"
41414
41415 fi
41416
41417 GCC_PRAGMA_FLAGS=""
41418 PCH_FLAGS=""
41419 if test $GCC_PCH = 1 ; then
41420 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41421 PCH_FLAGS="-DWX_PRECOMP"
41422 else
41423 case "${host}" in
41424 powerpc-*-darwin* )
41425 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41426 ;;
41427 *-*-mingw32* )
41428 if test "$wxUSE_STL" = "yes" -o \
41429 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41430 "$wxUSE_NO_RTTI" != "yes"; then
41431 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41432 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41433 cat >conftest.$ac_ext <<_ACEOF
41434 /* confdefs.h. */
41435 _ACEOF
41436 cat confdefs.h >>conftest.$ac_ext
41437 cat >>conftest.$ac_ext <<_ACEOF
41438 /* end confdefs.h. */
41439
41440 int
41441 main ()
41442 {
41443 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41444 #error "Not GCC 3.2 or greater"
41445 #endif
41446
41447 ;
41448 return 0;
41449 }
41450 _ACEOF
41451 rm -f conftest.$ac_objext
41452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41453 (eval $ac_compile) 2>conftest.er1
41454 ac_status=$?
41455 grep -v '^ *+' conftest.er1 >conftest.err
41456 rm -f conftest.er1
41457 cat conftest.err >&5
41458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41459 (exit $ac_status); } &&
41460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41462 (eval $ac_try) 2>&5
41463 ac_status=$?
41464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41465 (exit $ac_status); }; } &&
41466 { ac_try='test -s conftest.$ac_objext'
41467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41468 (eval $ac_try) 2>&5
41469 ac_status=$?
41470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41471 (exit $ac_status); }; }; then
41472 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41473 echo "$as_me:$LINENO: result: yes" >&5
41474 echo "${ECHO_T}yes" >&6
41475 else
41476 echo "$as_me: failed program was:" >&5
41477 sed 's/^/| /' conftest.$ac_ext >&5
41478
41479 echo "$as_me:$LINENO: result: no" >&5
41480 echo "${ECHO_T}no" >&6
41481 fi
41482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41483 fi
41484 ;;
41485 *-pc-os2_emx | *-pc-os2-emx )
41486 if test "$wxUSE_STL" = "yes"; then
41487 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
41488 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41489 cat >conftest.$ac_ext <<_ACEOF
41490 /* confdefs.h. */
41491 _ACEOF
41492 cat confdefs.h >>conftest.$ac_ext
41493 cat >>conftest.$ac_ext <<_ACEOF
41494 /* end confdefs.h. */
41495
41496 int
41497 main ()
41498 {
41499 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41500 #error "Not GCC 3.2 or greater"
41501 #endif
41502
41503 ;
41504 return 0;
41505 }
41506 _ACEOF
41507 rm -f conftest.$ac_objext
41508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41509 (eval $ac_compile) 2>conftest.er1
41510 ac_status=$?
41511 grep -v '^ *+' conftest.er1 >conftest.err
41512 rm -f conftest.er1
41513 cat conftest.err >&5
41514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41515 (exit $ac_status); } &&
41516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41518 (eval $ac_try) 2>&5
41519 ac_status=$?
41520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41521 (exit $ac_status); }; } &&
41522 { ac_try='test -s conftest.$ac_objext'
41523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41524 (eval $ac_try) 2>&5
41525 ac_status=$?
41526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41527 (exit $ac_status); }; }; then
41528 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41529 echo "$as_me:$LINENO: result: yes" >&5
41530 echo "${ECHO_T}yes" >&6
41531 else
41532 echo "$as_me: failed program was:" >&5
41533 sed 's/^/| /' conftest.$ac_ext >&5
41534
41535 echo "$as_me:$LINENO: result: no" >&5
41536 echo "${ECHO_T}no" >&6
41537 fi
41538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41539 fi
41540 ;;
41541 esac
41542 fi
41543 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
41544
41545
41546 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41547
41548
41549
41550
41551
41552
41553
41554
41555
41556
41557
41558
41559
41560
41561
41562
41563
41564
41565
41566
41567
41568
41569
41570
41571
41572
41573
41574
41575
41576
41577
41578
41579
41580
41581
41582
41583
41584
41585
41586
41587
41588
41589
41590
41591
41592
41593
41594
41595
41596
41597
41598
41599
41600
41601
41602
41603
41604
41605
41606
41607
41608
41609
41610 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41611 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41612 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41613 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41614 echo $ECHO_N "(cached) $ECHO_C" >&6
41615 else
41616 cat >conftest.make <<\_ACEOF
41617 all:
41618 @echo 'ac_maketemp="$(MAKE)"'
41619 _ACEOF
41620 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41621 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41622 if test -n "$ac_maketemp"; then
41623 eval ac_cv_prog_make_${ac_make}_set=yes
41624 else
41625 eval ac_cv_prog_make_${ac_make}_set=no
41626 fi
41627 rm -f conftest.make
41628 fi
41629 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41630 echo "$as_me:$LINENO: result: yes" >&5
41631 echo "${ECHO_T}yes" >&6
41632 SET_MAKE=
41633 else
41634 echo "$as_me:$LINENO: result: no" >&5
41635 echo "${ECHO_T}no" >&6
41636 SET_MAKE="MAKE=${MAKE-make}"
41637 fi
41638
41639
41640
41641 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41642
41643
41644 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41645
41646
41647 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41648
41649
41650 ac_config_files="$ac_config_files version-script Makefile"
41651
41652
41653 ac_config_commands="$ac_config_commands wx-config
41654 "
41655
41656
41657
41658
41659 if test "$wxUSE_GUI" = "yes"; then
41660 SUBDIRS="samples demos utils contrib"
41661 else SUBDIRS="samples utils"
41662 fi
41663
41664
41665
41666 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41667 if test "${with_cppunit_prefix+set}" = set; then
41668 withval="$with_cppunit_prefix"
41669 cppunit_config_prefix="$withval"
41670 else
41671 cppunit_config_prefix=""
41672 fi;
41673
41674 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41675 if test "${with_cppunit_exec_prefix+set}" = set; then
41676 withval="$with_cppunit_exec_prefix"
41677 cppunit_config_exec_prefix="$withval"
41678 else
41679 cppunit_config_exec_prefix=""
41680 fi;
41681
41682 if test x$cppunit_config_exec_prefix != x ; then
41683 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41684 if test x${CPPUNIT_CONFIG+set} != xset ; then
41685 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41686 fi
41687 fi
41688 if test x$cppunit_config_prefix != x ; then
41689 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41690 if test x${CPPUNIT_CONFIG+set} != xset ; then
41691 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41692 fi
41693 fi
41694
41695 # Extract the first word of "cppunit-config", so it can be a program name with args.
41696 set dummy cppunit-config; ac_word=$2
41697 echo "$as_me:$LINENO: checking for $ac_word" >&5
41698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41699 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41700 echo $ECHO_N "(cached) $ECHO_C" >&6
41701 else
41702 case $CPPUNIT_CONFIG in
41703 [\\/]* | ?:[\\/]*)
41704 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41705 ;;
41706 *)
41707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41708 for as_dir in $PATH
41709 do
41710 IFS=$as_save_IFS
41711 test -z "$as_dir" && as_dir=.
41712 for ac_exec_ext in '' $ac_executable_extensions; do
41713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41714 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41716 break 2
41717 fi
41718 done
41719 done
41720
41721 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41722 ;;
41723 esac
41724 fi
41725 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41726
41727 if test -n "$CPPUNIT_CONFIG"; then
41728 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41729 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41730 else
41731 echo "$as_me:$LINENO: result: no" >&5
41732 echo "${ECHO_T}no" >&6
41733 fi
41734
41735 cppunit_version_min=1.8.0
41736
41737 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41738 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41739 no_cppunit=""
41740 if test "$CPPUNIT_CONFIG" = "no" ; then
41741 no_cppunit=yes
41742 else
41743 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41744 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41745 cppunit_version=`$CPPUNIT_CONFIG --version`
41746
41747 cppunit_major_version=`echo $cppunit_version | \
41748 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41749 cppunit_minor_version=`echo $cppunit_version | \
41750 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41751 cppunit_micro_version=`echo $cppunit_version | \
41752 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41753
41754 cppunit_major_min=`echo $cppunit_version_min | \
41755 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41756 cppunit_minor_min=`echo $cppunit_version_min | \
41757 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41758 cppunit_micro_min=`echo $cppunit_version_min | \
41759 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41760
41761 cppunit_version_proper=`expr \
41762 $cppunit_major_version \> $cppunit_major_min \| \
41763 $cppunit_major_version \= $cppunit_major_min \& \
41764 $cppunit_minor_version \> $cppunit_minor_min \| \
41765 $cppunit_major_version \= $cppunit_major_min \& \
41766 $cppunit_minor_version \= $cppunit_minor_min \& \
41767 $cppunit_micro_version \>= $cppunit_micro_min `
41768
41769 if test "$cppunit_version_proper" = "1" ; then
41770 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41771 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41772 else
41773 echo "$as_me:$LINENO: result: no" >&5
41774 echo "${ECHO_T}no" >&6
41775 no_cppunit=yes
41776 fi
41777 fi
41778
41779 if test "x$no_cppunit" = x ; then
41780 SUBDIRS="$SUBDIRS tests"
41781 else
41782 CPPUNIT_CFLAGS=""
41783 CPPUNIT_LIBS=""
41784 :
41785 fi
41786
41787
41788
41789
41790
41791 for subdir in `echo $SUBDIRS`; do
41792 if test -d ${srcdir}/${subdir} ; then
41793 if test "$wxUSE_GUI" = "yes"; then
41794 if test ${subdir} = "samples"; then
41795 makefiles="samples/Makefile.in $makefiles"
41796 for sample in `echo $SAMPLES_SUBDIRS`; do
41797 if test -d $srcdir/samples/$sample; then
41798 makefiles="samples/$sample/Makefile.in $makefiles"
41799 fi
41800 done
41801 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41802 fi
41803 else if test ${subdir} = "samples"; then
41804 makefiles="samples/Makefile.in samples/console/Makefile.in"
41805 elif test ${subdir} = "utils"; then
41806 makefiles=""
41807 for util in HelpGen tex2rtf ; do
41808 if test -d $srcdir/utils/$util ; then
41809 makefiles="utils/$util/Makefile.in \
41810 utils/$util/src/Makefile.in \
41811 $makefiles"
41812 fi
41813 done
41814 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41815 fi
41816 fi
41817
41818 for mkin in $makefiles ; do
41819 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41820 ac_config_files="$ac_config_files $mk"
41821
41822 done
41823 fi
41824 done
41825
41826
41827 cat >confcache <<\_ACEOF
41828 # This file is a shell script that caches the results of configure
41829 # tests run on this system so they can be shared between configure
41830 # scripts and configure runs, see configure's option --config-cache.
41831 # It is not useful on other systems. If it contains results you don't
41832 # want to keep, you may remove or edit it.
41833 #
41834 # config.status only pays attention to the cache file if you give it
41835 # the --recheck option to rerun configure.
41836 #
41837 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41838 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41839 # following values.
41840
41841 _ACEOF
41842
41843 # The following way of writing the cache mishandles newlines in values,
41844 # but we know of no workaround that is simple, portable, and efficient.
41845 # So, don't put newlines in cache variables' values.
41846 # Ultrix sh set writes to stderr and can't be redirected directly,
41847 # and sets the high bit in the cache file unless we assign to the vars.
41848 {
41849 (set) 2>&1 |
41850 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41851 *ac_space=\ *)
41852 # `set' does not quote correctly, so add quotes (double-quote
41853 # substitution turns \\\\ into \\, and sed turns \\ into \).
41854 sed -n \
41855 "s/'/'\\\\''/g;
41856 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41857 ;;
41858 *)
41859 # `set' quotes correctly as required by POSIX, so do not add quotes.
41860 sed -n \
41861 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41862 ;;
41863 esac;
41864 } |
41865 sed '
41866 t clear
41867 : clear
41868 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41869 t end
41870 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41871 : end' >>confcache
41872 if diff $cache_file confcache >/dev/null 2>&1; then :; else
41873 if test -w $cache_file; then
41874 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41875 cat confcache >$cache_file
41876 else
41877 echo "not updating unwritable cache $cache_file"
41878 fi
41879 fi
41880 rm -f confcache
41881
41882 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41883 # Let make expand exec_prefix.
41884 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41885
41886 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41887 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41888 # trailing colons and then remove the whole line if VPATH becomes empty
41889 # (actually we leave an empty line to preserve line numbers).
41890 if test "x$srcdir" = x.; then
41891 ac_vpsub='/^[ ]*VPATH[ ]*=/{
41892 s/:*\$(srcdir):*/:/;
41893 s/:*\${srcdir}:*/:/;
41894 s/:*@srcdir@:*/:/;
41895 s/^\([^=]*=[ ]*\):*/\1/;
41896 s/:*$//;
41897 s/^[^=]*=[ ]*$//;
41898 }'
41899 fi
41900
41901 DEFS=-DHAVE_CONFIG_H
41902
41903 ac_libobjs=
41904 ac_ltlibobjs=
41905 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41906 # 1. Remove the extension, and $U if already installed.
41907 ac_i=`echo "$ac_i" |
41908 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41909 # 2. Add them.
41910 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
41911 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
41912 done
41913 LIBOBJS=$ac_libobjs
41914
41915 LTLIBOBJS=$ac_ltlibobjs
41916
41917
41918
41919 : ${CONFIG_STATUS=./config.status}
41920 ac_clean_files_save=$ac_clean_files
41921 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41922 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41923 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41924 cat >$CONFIG_STATUS <<_ACEOF
41925 #! $SHELL
41926 # Generated by $as_me.
41927 # Run this file to recreate the current configuration.
41928 # Compiler output produced by configure, useful for debugging
41929 # configure, is in config.log if it exists.
41930
41931 debug=false
41932 ac_cs_recheck=false
41933 ac_cs_silent=false
41934 SHELL=\${CONFIG_SHELL-$SHELL}
41935 _ACEOF
41936
41937 cat >>$CONFIG_STATUS <<\_ACEOF
41938 ## --------------------- ##
41939 ## M4sh Initialization. ##
41940 ## --------------------- ##
41941
41942 # Be Bourne compatible
41943 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
41944 emulate sh
41945 NULLCMD=:
41946 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41947 # is contrary to our usage. Disable this feature.
41948 alias -g '${1+"$@"}'='"$@"'
41949 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
41950 set -o posix
41951 fi
41952 DUALCASE=1; export DUALCASE # for MKS sh
41953
41954 # Support unset when possible.
41955 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
41956 as_unset=unset
41957 else
41958 as_unset=false
41959 fi
41960
41961
41962 # Work around bugs in pre-3.0 UWIN ksh.
41963 $as_unset ENV MAIL MAILPATH
41964 PS1='$ '
41965 PS2='> '
41966 PS4='+ '
41967
41968 # NLS nuisances.
41969 for as_var in \
41970 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41971 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41972 LC_TELEPHONE LC_TIME
41973 do
41974 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41975 eval $as_var=C; export $as_var
41976 else
41977 $as_unset $as_var
41978 fi
41979 done
41980
41981 # Required to use basename.
41982 if expr a : '\(a\)' >/dev/null 2>&1; then
41983 as_expr=expr
41984 else
41985 as_expr=false
41986 fi
41987
41988 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
41989 as_basename=basename
41990 else
41991 as_basename=false
41992 fi
41993
41994
41995 # Name of the executable.
41996 as_me=`$as_basename "$0" ||
41997 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41998 X"$0" : 'X\(//\)$' \| \
41999 X"$0" : 'X\(/\)$' \| \
42000 . : '\(.\)' 2>/dev/null ||
42001 echo X/"$0" |
42002 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42003 /^X\/\(\/\/\)$/{ s//\1/; q; }
42004 /^X\/\(\/\).*/{ s//\1/; q; }
42005 s/.*/./; q'`
42006
42007
42008 # PATH needs CR, and LINENO needs CR and PATH.
42009 # Avoid depending upon Character Ranges.
42010 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42011 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42012 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42013 as_cr_digits='0123456789'
42014 as_cr_alnum=$as_cr_Letters$as_cr_digits
42015
42016 # The user is always right.
42017 if test "${PATH_SEPARATOR+set}" != set; then
42018 echo "#! /bin/sh" >conf$$.sh
42019 echo "exit 0" >>conf$$.sh
42020 chmod +x conf$$.sh
42021 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42022 PATH_SEPARATOR=';'
42023 else
42024 PATH_SEPARATOR=:
42025 fi
42026 rm -f conf$$.sh
42027 fi
42028
42029
42030 as_lineno_1=$LINENO
42031 as_lineno_2=$LINENO
42032 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42033 test "x$as_lineno_1" != "x$as_lineno_2" &&
42034 test "x$as_lineno_3" = "x$as_lineno_2" || {
42035 # Find who we are. Look in the path if we contain no path at all
42036 # relative or not.
42037 case $0 in
42038 *[\\/]* ) as_myself=$0 ;;
42039 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42040 for as_dir in $PATH
42041 do
42042 IFS=$as_save_IFS
42043 test -z "$as_dir" && as_dir=.
42044 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
42045 done
42046
42047 ;;
42048 esac
42049 # We did not find ourselves, most probably we were run as `sh COMMAND'
42050 # in which case we are not to be found in the path.
42051 if test "x$as_myself" = x; then
42052 as_myself=$0
42053 fi
42054 if test ! -f "$as_myself"; then
42055 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42056 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42057 { (exit 1); exit 1; }; }
42058 fi
42059 case $CONFIG_SHELL in
42060 '')
42061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42062 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
42063 do
42064 IFS=$as_save_IFS
42065 test -z "$as_dir" && as_dir=.
42066 for as_base in sh bash ksh sh5; do
42067 case $as_dir in
42068 /*)
42069 if ("$as_dir/$as_base" -c '
42070 as_lineno_1=$LINENO
42071 as_lineno_2=$LINENO
42072 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42073 test "x$as_lineno_1" != "x$as_lineno_2" &&
42074 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
42075 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
42076 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
42077 CONFIG_SHELL=$as_dir/$as_base
42078 export CONFIG_SHELL
42079 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42080 fi;;
42081 esac
42082 done
42083 done
42084 ;;
42085 esac
42086
42087 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42088 # uniformly replaced by the line number. The first 'sed' inserts a
42089 # line-number line before each line; the second 'sed' does the real
42090 # work. The second script uses 'N' to pair each line-number line
42091 # with the numbered line, and appends trailing '-' during
42092 # substitution so that $LINENO is not a special case at line end.
42093 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42094 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42095 sed '=' <$as_myself |
42096 sed '
42097 N
42098 s,$,-,
42099 : loop
42100 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42101 t loop
42102 s,-$,,
42103 s,^['$as_cr_digits']*\n,,
42104 ' >$as_me.lineno &&
42105 chmod +x $as_me.lineno ||
42106 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42107 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42108 { (exit 1); exit 1; }; }
42109
42110 # Don't try to exec as it changes $[0], causing all sort of problems
42111 # (the dirname of $[0] is not the place where we might find the
42112 # original and so on. Autoconf is especially sensible to this).
42113 . ./$as_me.lineno
42114 # Exit status is that of the last command.
42115 exit
42116 }
42117
42118
42119 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42120 *c*,-n*) ECHO_N= ECHO_C='
42121 ' ECHO_T=' ' ;;
42122 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
42123 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
42124 esac
42125
42126 if expr a : '\(a\)' >/dev/null 2>&1; then
42127 as_expr=expr
42128 else
42129 as_expr=false
42130 fi
42131
42132 rm -f conf$$ conf$$.exe conf$$.file
42133 echo >conf$$.file
42134 if ln -s conf$$.file conf$$ 2>/dev/null; then
42135 # We could just check for DJGPP; but this test a) works b) is more generic
42136 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42137 if test -f conf$$.exe; then
42138 # Don't use ln at all; we don't have any links
42139 as_ln_s='cp -p'
42140 else
42141 as_ln_s='ln -s'
42142 fi
42143 elif ln conf$$.file conf$$ 2>/dev/null; then
42144 as_ln_s=ln
42145 else
42146 as_ln_s='cp -p'
42147 fi
42148 rm -f conf$$ conf$$.exe conf$$.file
42149
42150 if mkdir -p . 2>/dev/null; then
42151 as_mkdir_p=:
42152 else
42153 test -d ./-p && rmdir ./-p
42154 as_mkdir_p=false
42155 fi
42156
42157 as_executable_p="test -f"
42158
42159 # Sed expression to map a string onto a valid CPP name.
42160 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42161
42162 # Sed expression to map a string onto a valid variable name.
42163 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42164
42165
42166 # IFS
42167 # We need space, tab and new line, in precisely that order.
42168 as_nl='
42169 '
42170 IFS=" $as_nl"
42171
42172 # CDPATH.
42173 $as_unset CDPATH
42174
42175 exec 6>&1
42176
42177 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42178 # report actual input values of CONFIG_FILES etc. instead of their
42179 # values after options handling. Logging --version etc. is OK.
42180 exec 5>>config.log
42181 {
42182 echo
42183 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42184 ## Running $as_me. ##
42185 _ASBOX
42186 } >&5
42187 cat >&5 <<_CSEOF
42188
42189 This file was extended by wxWidgets $as_me 2.5.3, which was
42190 generated by GNU Autoconf 2.59. Invocation command line was
42191
42192 CONFIG_FILES = $CONFIG_FILES
42193 CONFIG_HEADERS = $CONFIG_HEADERS
42194 CONFIG_LINKS = $CONFIG_LINKS
42195 CONFIG_COMMANDS = $CONFIG_COMMANDS
42196 $ $0 $@
42197
42198 _CSEOF
42199 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42200 echo >&5
42201 _ACEOF
42202
42203 # Files that config.status was made for.
42204 if test -n "$ac_config_files"; then
42205 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42206 fi
42207
42208 if test -n "$ac_config_headers"; then
42209 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42210 fi
42211
42212 if test -n "$ac_config_links"; then
42213 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42214 fi
42215
42216 if test -n "$ac_config_commands"; then
42217 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42218 fi
42219
42220 cat >>$CONFIG_STATUS <<\_ACEOF
42221
42222 ac_cs_usage="\
42223 \`$as_me' instantiates files from templates according to the
42224 current configuration.
42225
42226 Usage: $0 [OPTIONS] [FILE]...
42227
42228 -h, --help print this help, then exit
42229 -V, --version print version number, then exit
42230 -q, --quiet do not print progress messages
42231 -d, --debug don't remove temporary files
42232 --recheck update $as_me by reconfiguring in the same conditions
42233 --file=FILE[:TEMPLATE]
42234 instantiate the configuration file FILE
42235 --header=FILE[:TEMPLATE]
42236 instantiate the configuration header FILE
42237
42238 Configuration files:
42239 $config_files
42240
42241 Configuration headers:
42242 $config_headers
42243
42244 Configuration commands:
42245 $config_commands
42246
42247 Report bugs to <bug-autoconf@gnu.org>."
42248 _ACEOF
42249
42250 cat >>$CONFIG_STATUS <<_ACEOF
42251 ac_cs_version="\\
42252 wxWidgets config.status 2.5.3
42253 configured by $0, generated by GNU Autoconf 2.59,
42254 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42255
42256 Copyright (C) 2003 Free Software Foundation, Inc.
42257 This config.status script is free software; the Free Software Foundation
42258 gives unlimited permission to copy, distribute and modify it."
42259 srcdir=$srcdir
42260 INSTALL="$INSTALL"
42261 _ACEOF
42262
42263 cat >>$CONFIG_STATUS <<\_ACEOF
42264 # If no file are specified by the user, then we need to provide default
42265 # value. By we need to know if files were specified by the user.
42266 ac_need_defaults=:
42267 while test $# != 0
42268 do
42269 case $1 in
42270 --*=*)
42271 ac_option=`expr "x$1" : 'x\([^=]*\)='`
42272 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
42273 ac_shift=:
42274 ;;
42275 -*)
42276 ac_option=$1
42277 ac_optarg=$2
42278 ac_shift=shift
42279 ;;
42280 *) # This is not an option, so the user has probably given explicit
42281 # arguments.
42282 ac_option=$1
42283 ac_need_defaults=false;;
42284 esac
42285
42286 case $ac_option in
42287 # Handling of the options.
42288 _ACEOF
42289 cat >>$CONFIG_STATUS <<\_ACEOF
42290 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42291 ac_cs_recheck=: ;;
42292 --version | --vers* | -V )
42293 echo "$ac_cs_version"; exit 0 ;;
42294 --he | --h)
42295 # Conflict between --help and --header
42296 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42297 Try \`$0 --help' for more information." >&5
42298 echo "$as_me: error: ambiguous option: $1
42299 Try \`$0 --help' for more information." >&2;}
42300 { (exit 1); exit 1; }; };;
42301 --help | --hel | -h )
42302 echo "$ac_cs_usage"; exit 0 ;;
42303 --debug | --d* | -d )
42304 debug=: ;;
42305 --file | --fil | --fi | --f )
42306 $ac_shift
42307 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
42308 ac_need_defaults=false;;
42309 --header | --heade | --head | --hea )
42310 $ac_shift
42311 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
42312 ac_need_defaults=false;;
42313 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42314 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42315 ac_cs_silent=: ;;
42316
42317 # This is an error.
42318 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42319 Try \`$0 --help' for more information." >&5
42320 echo "$as_me: error: unrecognized option: $1
42321 Try \`$0 --help' for more information." >&2;}
42322 { (exit 1); exit 1; }; } ;;
42323
42324 *) ac_config_targets="$ac_config_targets $1" ;;
42325
42326 esac
42327 shift
42328 done
42329
42330 ac_configure_extra_args=
42331
42332 if $ac_cs_silent; then
42333 exec 6>/dev/null
42334 ac_configure_extra_args="$ac_configure_extra_args --silent"
42335 fi
42336
42337 _ACEOF
42338 cat >>$CONFIG_STATUS <<_ACEOF
42339 if \$ac_cs_recheck; then
42340 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42341 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42342 fi
42343
42344 _ACEOF
42345
42346 cat >>$CONFIG_STATUS <<_ACEOF
42347 #
42348 # INIT-COMMANDS section.
42349 #
42350
42351 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42352 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42353 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42354 LN_S="${LN_S}"
42355
42356
42357 _ACEOF
42358
42359
42360
42361 cat >>$CONFIG_STATUS <<\_ACEOF
42362 for ac_config_target in $ac_config_targets
42363 do
42364 case "$ac_config_target" in
42365 # Handling of arguments.
42366 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42367 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42368 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
42369 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42370 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
42371 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42372 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42373 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42374 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42375 { (exit 1); exit 1; }; };;
42376 esac
42377 done
42378
42379 # If the user did not use the arguments to specify the items to instantiate,
42380 # then the envvar interface is used. Set only those that are not.
42381 # We use the long form for the default assignment because of an extremely
42382 # bizarre bug on SunOS 4.1.3.
42383 if $ac_need_defaults; then
42384 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42385 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42386 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42387 fi
42388
42389 # Have a temporary directory for convenience. Make it in the build tree
42390 # simply because there is no reason to put it here, and in addition,
42391 # creating and moving files from /tmp can sometimes cause problems.
42392 # Create a temporary directory, and hook for its removal unless debugging.
42393 $debug ||
42394 {
42395 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42396 trap '{ (exit 1); exit 1; }' 1 2 13 15
42397 }
42398
42399 # Create a (secure) tmp directory for tmp files.
42400
42401 {
42402 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42403 test -n "$tmp" && test -d "$tmp"
42404 } ||
42405 {
42406 tmp=./confstat$$-$RANDOM
42407 (umask 077 && mkdir $tmp)
42408 } ||
42409 {
42410 echo "$me: cannot create a temporary directory in ." >&2
42411 { (exit 1); exit 1; }
42412 }
42413
42414 _ACEOF
42415
42416 cat >>$CONFIG_STATUS <<_ACEOF
42417
42418 #
42419 # CONFIG_FILES section.
42420 #
42421
42422 # No need to generate the scripts if there are no CONFIG_FILES.
42423 # This happens for instance when ./config.status config.h
42424 if test -n "\$CONFIG_FILES"; then
42425 # Protect against being on the right side of a sed subst in config.status.
42426 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42427 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42428 s,@SHELL@,$SHELL,;t t
42429 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42430 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42431 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42432 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42433 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42434 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42435 s,@exec_prefix@,$exec_prefix,;t t
42436 s,@prefix@,$prefix,;t t
42437 s,@program_transform_name@,$program_transform_name,;t t
42438 s,@bindir@,$bindir,;t t
42439 s,@sbindir@,$sbindir,;t t
42440 s,@libexecdir@,$libexecdir,;t t
42441 s,@datadir@,$datadir,;t t
42442 s,@sysconfdir@,$sysconfdir,;t t
42443 s,@sharedstatedir@,$sharedstatedir,;t t
42444 s,@localstatedir@,$localstatedir,;t t
42445 s,@libdir@,$libdir,;t t
42446 s,@includedir@,$includedir,;t t
42447 s,@oldincludedir@,$oldincludedir,;t t
42448 s,@infodir@,$infodir,;t t
42449 s,@mandir@,$mandir,;t t
42450 s,@build_alias@,$build_alias,;t t
42451 s,@host_alias@,$host_alias,;t t
42452 s,@target_alias@,$target_alias,;t t
42453 s,@DEFS@,$DEFS,;t t
42454 s,@ECHO_C@,$ECHO_C,;t t
42455 s,@ECHO_N@,$ECHO_N,;t t
42456 s,@ECHO_T@,$ECHO_T,;t t
42457 s,@LIBS@,$LIBS,;t t
42458 s,@build@,$build,;t t
42459 s,@build_cpu@,$build_cpu,;t t
42460 s,@build_vendor@,$build_vendor,;t t
42461 s,@build_os@,$build_os,;t t
42462 s,@host@,$host,;t t
42463 s,@host_cpu@,$host_cpu,;t t
42464 s,@host_vendor@,$host_vendor,;t t
42465 s,@host_os@,$host_os,;t t
42466 s,@target@,$target,;t t
42467 s,@target_cpu@,$target_cpu,;t t
42468 s,@target_vendor@,$target_vendor,;t t
42469 s,@target_os@,$target_os,;t t
42470 s,@CC@,$CC,;t t
42471 s,@CFLAGS@,$CFLAGS,;t t
42472 s,@LDFLAGS@,$LDFLAGS,;t t
42473 s,@CPPFLAGS@,$CPPFLAGS,;t t
42474 s,@ac_ct_CC@,$ac_ct_CC,;t t
42475 s,@EXEEXT@,$EXEEXT,;t t
42476 s,@OBJEXT@,$OBJEXT,;t t
42477 s,@CPP@,$CPP,;t t
42478 s,@EGREP@,$EGREP,;t t
42479 s,@CXX@,$CXX,;t t
42480 s,@CXXFLAGS@,$CXXFLAGS,;t t
42481 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42482 s,@RANLIB@,$RANLIB,;t t
42483 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42484 s,@AR@,$AR,;t t
42485 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42486 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42487 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42488 s,@STRIP@,$STRIP,;t t
42489 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42490 s,@LN_S@,$LN_S,;t t
42491 s,@CXXCPP@,$CXXCPP,;t t
42492 s,@subdirs@,$subdirs,;t t
42493 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42494 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42495 s,@GTK_LIBS@,$GTK_LIBS,;t t
42496 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42497 s,@X_CFLAGS@,$X_CFLAGS,;t t
42498 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42499 s,@X_LIBS@,$X_LIBS,;t t
42500 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42501 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42502 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42503 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42504 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42505 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42506 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42507 s,@RESCOMP@,$RESCOMP,;t t
42508 s,@DEREZ@,$DEREZ,;t t
42509 s,@SETFILE@,$SETFILE,;t t
42510 s,@LIBICONV@,$LIBICONV,;t t
42511 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42512 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42513 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42514 s,@SDL_LIBS@,$SDL_LIBS,;t t
42515 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42516 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42517 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42518 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42519 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42520 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42521 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42522 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42523 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42524 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42525 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42526 s,@VENDOR@,$VENDOR,;t t
42527 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42528 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42529 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42530 s,@WXUNIV@,$WXUNIV,;t t
42531 s,@MONOLITHIC@,$MONOLITHIC,;t t
42532 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42533 s,@EXTRALIBS@,$EXTRALIBS,;t t
42534 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42535 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42536 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42537 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42538 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42539 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42540 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42541 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42542 s,@UNICODE@,$UNICODE,;t t
42543 s,@BUILD@,$BUILD,;t t
42544 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42545 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42546 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42547 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42548 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42549 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42550 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42551 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42552 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42553 s,@SET_MAKE@,$SET_MAKE,;t t
42554 s,@MAKE_SET@,$MAKE_SET,;t t
42555 s,@ac_ct_AR@,$ac_ct_AR,;t t
42556 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42557 s,@NM@,$NM,;t t
42558 s,@ac_ct_NM@,$ac_ct_NM,;t t
42559 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42560 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42561 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42562 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42563 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42564 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42565 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
42566 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42567 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42568 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
42569 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42570 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42571 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42572 s,@LIBPREFIX@,$LIBPREFIX,;t t
42573 s,@LIBEXT@,$LIBEXT,;t t
42574 s,@DLLPREFIX@,$DLLPREFIX,;t t
42575 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42576 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42577 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42578 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42579 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42580 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42581 s,@PIC_FLAG@,$PIC_FLAG,;t t
42582 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42583 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42584 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42585 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42586 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42587 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42588 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42589 s,@GCC_PCH@,$GCC_PCH,;t t
42590 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42591 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42592 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42593 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42594 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42595 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42596 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42597 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42598 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42599 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42600 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42601 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42602 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42603 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42604 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42605 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42606 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42607 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42608 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
42609 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
42610 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42611 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42612 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42613 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42614 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
42615 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
42616 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42617 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42618 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42619 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42620 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42621 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42622 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42623 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42624 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42625 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42626 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42627 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42628 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42629 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42630 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
42631 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
42632 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42633 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42634 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42635 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42636 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42637 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42638 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42639 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42640 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42641 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42642 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42643 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42644 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42645 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42646 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42647 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42648 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42649 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42650 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42651 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42652 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42653 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42654 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42655 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42656 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42657 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42658 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42659 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42660 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42661 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42662 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42663 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42664 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42665 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42666 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42667 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42668 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42669 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42670 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42671 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42672 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42673 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42674 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42675 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42676 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42677 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42678 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42679 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42680 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42681 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42682 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42683 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42684 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42685 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42686 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42687 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42688 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42689 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42690 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42691 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42692 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42693 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42694 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42695 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42696 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42697 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42698 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42699 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42700 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42701 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42702 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42703 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42704 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
42705 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42706 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42707 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42708 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42709 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42710 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42711 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42712 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42713 s,@SHARED@,$SHARED,;t t
42714 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42715 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42716 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42717 s,@USE_GUI@,$USE_GUI,;t t
42718 s,@AFMINSTALL@,$AFMINSTALL,;t t
42719 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42720 s,@TOOLKIT@,$TOOLKIT,;t t
42721 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42722 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42723 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42724 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42725 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42726 s,@cross_compiling@,$cross_compiling,;t t
42727 s,@WIDGET_SET@,$WIDGET_SET,;t t
42728 s,@WX_RELEASE@,$WX_RELEASE,;t t
42729 s,@WX_VERSION@,$WX_VERSION,;t t
42730 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42731 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42732 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42733 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42734 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42735 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42736 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42737 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42738 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42739 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42740 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42741 s,@EXE_LINKER@,$EXE_LINKER,;t t
42742 s,@GUIDIST@,$GUIDIST,;t t
42743 s,@DISTDIR@,$DISTDIR,;t t
42744 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42745 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42746 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42747 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42748 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42749 s,@RESFLAGS@,$RESFLAGS,;t t
42750 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42751 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42752 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42753 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42754 s,@MACRESCOMP@,$MACRESCOMP,;t t
42755 s,@MACSETFILE@,$MACSETFILE,;t t
42756 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42757 s,@GCC@,$GCC,;t t
42758 s,@DLLTOOL@,$DLLTOOL,;t t
42759 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42760 s,@LIBOBJS@,$LIBOBJS,;t t
42761 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42762 CEOF
42763
42764 _ACEOF
42765
42766 cat >>$CONFIG_STATUS <<\_ACEOF
42767 # Split the substitutions into bite-sized pieces for seds with
42768 # small command number limits, like on Digital OSF/1 and HP-UX.
42769 ac_max_sed_lines=48
42770 ac_sed_frag=1 # Number of current file.
42771 ac_beg=1 # First line for current file.
42772 ac_end=$ac_max_sed_lines # Line after last line for current file.
42773 ac_more_lines=:
42774 ac_sed_cmds=
42775 while $ac_more_lines; do
42776 if test $ac_beg -gt 1; then
42777 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42778 else
42779 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42780 fi
42781 if test ! -s $tmp/subs.frag; then
42782 ac_more_lines=false
42783 else
42784 # The purpose of the label and of the branching condition is to
42785 # speed up the sed processing (if there are no `@' at all, there
42786 # is no need to browse any of the substitutions).
42787 # These are the two extra sed commands mentioned above.
42788 (echo ':t
42789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
42790 if test -z "$ac_sed_cmds"; then
42791 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
42792 else
42793 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42794 fi
42795 ac_sed_frag=`expr $ac_sed_frag + 1`
42796 ac_beg=$ac_end
42797 ac_end=`expr $ac_end + $ac_max_sed_lines`
42798 fi
42799 done
42800 if test -z "$ac_sed_cmds"; then
42801 ac_sed_cmds=cat
42802 fi
42803 fi # test -n "$CONFIG_FILES"
42804
42805 _ACEOF
42806 cat >>$CONFIG_STATUS <<\_ACEOF
42807 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
42808 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42809 case $ac_file in
42810 - | *:- | *:-:* ) # input from stdin
42811 cat >$tmp/stdin
42812 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42813 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42814 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42815 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42816 * ) ac_file_in=$ac_file.in ;;
42817 esac
42818
42819 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42820 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42821 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42822 X"$ac_file" : 'X\(//\)[^/]' \| \
42823 X"$ac_file" : 'X\(//\)$' \| \
42824 X"$ac_file" : 'X\(/\)' \| \
42825 . : '\(.\)' 2>/dev/null ||
42826 echo X"$ac_file" |
42827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42828 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42829 /^X\(\/\/\)$/{ s//\1/; q; }
42830 /^X\(\/\).*/{ s//\1/; q; }
42831 s/.*/./; q'`
42832 { if $as_mkdir_p; then
42833 mkdir -p "$ac_dir"
42834 else
42835 as_dir="$ac_dir"
42836 as_dirs=
42837 while test ! -d "$as_dir"; do
42838 as_dirs="$as_dir $as_dirs"
42839 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42841 X"$as_dir" : 'X\(//\)[^/]' \| \
42842 X"$as_dir" : 'X\(//\)$' \| \
42843 X"$as_dir" : 'X\(/\)' \| \
42844 . : '\(.\)' 2>/dev/null ||
42845 echo X"$as_dir" |
42846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42847 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42848 /^X\(\/\/\)$/{ s//\1/; q; }
42849 /^X\(\/\).*/{ s//\1/; q; }
42850 s/.*/./; q'`
42851 done
42852 test ! -n "$as_dirs" || mkdir $as_dirs
42853 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42854 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42855 { (exit 1); exit 1; }; }; }
42856
42857 ac_builddir=.
42858
42859 if test "$ac_dir" != .; then
42860 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42861 # A "../" for each directory in $ac_dir_suffix.
42862 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42863 else
42864 ac_dir_suffix= ac_top_builddir=
42865 fi
42866
42867 case $srcdir in
42868 .) # No --srcdir option. We are building in place.
42869 ac_srcdir=.
42870 if test -z "$ac_top_builddir"; then
42871 ac_top_srcdir=.
42872 else
42873 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42874 fi ;;
42875 [\\/]* | ?:[\\/]* ) # Absolute path.
42876 ac_srcdir=$srcdir$ac_dir_suffix;
42877 ac_top_srcdir=$srcdir ;;
42878 *) # Relative path.
42879 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42880 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42881 esac
42882
42883 # Do not use `cd foo && pwd` to compute absolute paths, because
42884 # the directories may not exist.
42885 case `pwd` in
42886 .) ac_abs_builddir="$ac_dir";;
42887 *)
42888 case "$ac_dir" in
42889 .) ac_abs_builddir=`pwd`;;
42890 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42891 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42892 esac;;
42893 esac
42894 case $ac_abs_builddir in
42895 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42896 *)
42897 case ${ac_top_builddir}. in
42898 .) ac_abs_top_builddir=$ac_abs_builddir;;
42899 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42900 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42901 esac;;
42902 esac
42903 case $ac_abs_builddir in
42904 .) ac_abs_srcdir=$ac_srcdir;;
42905 *)
42906 case $ac_srcdir in
42907 .) ac_abs_srcdir=$ac_abs_builddir;;
42908 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42909 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42910 esac;;
42911 esac
42912 case $ac_abs_builddir in
42913 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42914 *)
42915 case $ac_top_srcdir in
42916 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42917 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42918 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42919 esac;;
42920 esac
42921
42922
42923 case $INSTALL in
42924 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42925 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
42926 esac
42927
42928 # Let's still pretend it is `configure' which instantiates (i.e., don't
42929 # use $as_me), people would be surprised to read:
42930 # /* config.h. Generated by config.status. */
42931 if test x"$ac_file" = x-; then
42932 configure_input=
42933 else
42934 configure_input="$ac_file. "
42935 fi
42936 configure_input=$configure_input"Generated from `echo $ac_file_in |
42937 sed 's,.*/,,'` by configure."
42938
42939 # First look for the input files in the build tree, otherwise in the
42940 # src tree.
42941 ac_file_inputs=`IFS=:
42942 for f in $ac_file_in; do
42943 case $f in
42944 -) echo $tmp/stdin ;;
42945 [\\/$]*)
42946 # Absolute (can't be DOS-style, as IFS=:)
42947 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42948 echo "$as_me: error: cannot find input file: $f" >&2;}
42949 { (exit 1); exit 1; }; }
42950 echo "$f";;
42951 *) # Relative
42952 if test -f "$f"; then
42953 # Build tree
42954 echo "$f"
42955 elif test -f "$srcdir/$f"; then
42956 # Source tree
42957 echo "$srcdir/$f"
42958 else
42959 # /dev/null tree
42960 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42961 echo "$as_me: error: cannot find input file: $f" >&2;}
42962 { (exit 1); exit 1; }; }
42963 fi;;
42964 esac
42965 done` || { (exit 1); exit 1; }
42966
42967 if test x"$ac_file" != x-; then
42968 { echo "$as_me:$LINENO: creating $ac_file" >&5
42969 echo "$as_me: creating $ac_file" >&6;}
42970 rm -f "$ac_file"
42971 fi
42972 _ACEOF
42973 cat >>$CONFIG_STATUS <<_ACEOF
42974 sed "$ac_vpsub
42975 $extrasub
42976 _ACEOF
42977 cat >>$CONFIG_STATUS <<\_ACEOF
42978 :t
42979 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42980 s,@configure_input@,$configure_input,;t t
42981 s,@srcdir@,$ac_srcdir,;t t
42982 s,@abs_srcdir@,$ac_abs_srcdir,;t t
42983 s,@top_srcdir@,$ac_top_srcdir,;t t
42984 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
42985 s,@builddir@,$ac_builddir,;t t
42986 s,@abs_builddir@,$ac_abs_builddir,;t t
42987 s,@top_builddir@,$ac_top_builddir,;t t
42988 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
42989 s,@INSTALL@,$ac_INSTALL,;t t
42990 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42991 rm -f $tmp/stdin
42992 if test x"$ac_file" != x-; then
42993 mv $tmp/out $ac_file
42994 else
42995 cat $tmp/out
42996 rm -f $tmp/out
42997 fi
42998
42999 # Run the commands associated with the file.
43000 case $ac_file in
43001 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
43002 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
43003 esac
43004 done
43005 _ACEOF
43006 cat >>$CONFIG_STATUS <<\_ACEOF
43007
43008 #
43009 # CONFIG_HEADER section.
43010 #
43011
43012 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
43013 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43014 #
43015 # ac_d sets the value in "#define NAME VALUE" lines.
43016 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43017 ac_dB='[ ].*$,\1#\2'
43018 ac_dC=' '
43019 ac_dD=',;t'
43020 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43021 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43022 ac_uB='$,\1#\2define\3'
43023 ac_uC=' '
43024 ac_uD=',;t'
43025
43026 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
43027 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43028 case $ac_file in
43029 - | *:- | *:-:* ) # input from stdin
43030 cat >$tmp/stdin
43031 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43032 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43033 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43034 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43035 * ) ac_file_in=$ac_file.in ;;
43036 esac
43037
43038 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43039 echo "$as_me: creating $ac_file" >&6;}
43040
43041 # First look for the input files in the build tree, otherwise in the
43042 # src tree.
43043 ac_file_inputs=`IFS=:
43044 for f in $ac_file_in; do
43045 case $f in
43046 -) echo $tmp/stdin ;;
43047 [\\/$]*)
43048 # Absolute (can't be DOS-style, as IFS=:)
43049 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43050 echo "$as_me: error: cannot find input file: $f" >&2;}
43051 { (exit 1); exit 1; }; }
43052 # Do quote $f, to prevent DOS paths from being IFS'd.
43053 echo "$f";;
43054 *) # Relative
43055 if test -f "$f"; then
43056 # Build tree
43057 echo "$f"
43058 elif test -f "$srcdir/$f"; then
43059 # Source tree
43060 echo "$srcdir/$f"
43061 else
43062 # /dev/null tree
43063 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43064 echo "$as_me: error: cannot find input file: $f" >&2;}
43065 { (exit 1); exit 1; }; }
43066 fi;;
43067 esac
43068 done` || { (exit 1); exit 1; }
43069 # Remove the trailing spaces.
43070 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43071
43072 _ACEOF
43073
43074 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43075 # `conftest.undefs', that substitutes the proper values into
43076 # config.h.in to produce config.h. The first handles `#define'
43077 # templates, and the second `#undef' templates.
43078 # And first: Protect against being on the right side of a sed subst in
43079 # config.status. Protect against being in an unquoted here document
43080 # in config.status.
43081 rm -f conftest.defines conftest.undefs
43082 # Using a here document instead of a string reduces the quoting nightmare.
43083 # Putting comments in sed scripts is not portable.
43084 #
43085 # `end' is used to avoid that the second main sed command (meant for
43086 # 0-ary CPP macros) applies to n-ary macro definitions.
43087 # See the Autoconf documentation for `clear'.
43088 cat >confdef2sed.sed <<\_ACEOF
43089 s/[\\&,]/\\&/g
43090 s,[\\$`],\\&,g
43091 t clear
43092 : clear
43093 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43094 t end
43095 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43096 : end
43097 _ACEOF
43098 # If some macros were called several times there might be several times
43099 # the same #defines, which is useless. Nevertheless, we may not want to
43100 # sort them, since we want the *last* AC-DEFINE to be honored.
43101 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43102 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43103 rm -f confdef2sed.sed
43104
43105 # This sed command replaces #undef with comments. This is necessary, for
43106 # example, in the case of _POSIX_SOURCE, which is predefined and required
43107 # on some systems where configure will not decide to define it.
43108 cat >>conftest.undefs <<\_ACEOF
43109 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43110 _ACEOF
43111
43112 # Break up conftest.defines because some shells have a limit on the size
43113 # of here documents, and old seds have small limits too (100 cmds).
43114 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43115 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43116 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43117 echo ' :' >>$CONFIG_STATUS
43118 rm -f conftest.tail
43119 while grep . conftest.defines >/dev/null
43120 do
43121 # Write a limited-size here document to $tmp/defines.sed.
43122 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43123 # Speed up: don't consider the non `#define' lines.
43124 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43125 # Work around the forget-to-reset-the-flag bug.
43126 echo 't clr' >>$CONFIG_STATUS
43127 echo ': clr' >>$CONFIG_STATUS
43128 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
43129 echo 'CEOF
43130 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43131 rm -f $tmp/in
43132 mv $tmp/out $tmp/in
43133 ' >>$CONFIG_STATUS
43134 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
43135 rm -f conftest.defines
43136 mv conftest.tail conftest.defines
43137 done
43138 rm -f conftest.defines
43139 echo ' fi # grep' >>$CONFIG_STATUS
43140 echo >>$CONFIG_STATUS
43141
43142 # Break up conftest.undefs because some shells have a limit on the size
43143 # of here documents, and old seds have small limits too (100 cmds).
43144 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43145 rm -f conftest.tail
43146 while grep . conftest.undefs >/dev/null
43147 do
43148 # Write a limited-size here document to $tmp/undefs.sed.
43149 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43150 # Speed up: don't consider the non `#undef'
43151 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43152 # Work around the forget-to-reset-the-flag bug.
43153 echo 't clr' >>$CONFIG_STATUS
43154 echo ': clr' >>$CONFIG_STATUS
43155 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43156 echo 'CEOF
43157 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43158 rm -f $tmp/in
43159 mv $tmp/out $tmp/in
43160 ' >>$CONFIG_STATUS
43161 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43162 rm -f conftest.undefs
43163 mv conftest.tail conftest.undefs
43164 done
43165 rm -f conftest.undefs
43166
43167 cat >>$CONFIG_STATUS <<\_ACEOF
43168 # Let's still pretend it is `configure' which instantiates (i.e., don't
43169 # use $as_me), people would be surprised to read:
43170 # /* config.h. Generated by config.status. */
43171 if test x"$ac_file" = x-; then
43172 echo "/* Generated by configure. */" >$tmp/config.h
43173 else
43174 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43175 fi
43176 cat $tmp/in >>$tmp/config.h
43177 rm -f $tmp/in
43178 if test x"$ac_file" != x-; then
43179 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
43180 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43181 echo "$as_me: $ac_file is unchanged" >&6;}
43182 else
43183 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
43184 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43185 X"$ac_file" : 'X\(//\)[^/]' \| \
43186 X"$ac_file" : 'X\(//\)$' \| \
43187 X"$ac_file" : 'X\(/\)' \| \
43188 . : '\(.\)' 2>/dev/null ||
43189 echo X"$ac_file" |
43190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43191 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43192 /^X\(\/\/\)$/{ s//\1/; q; }
43193 /^X\(\/\).*/{ s//\1/; q; }
43194 s/.*/./; q'`
43195 { if $as_mkdir_p; then
43196 mkdir -p "$ac_dir"
43197 else
43198 as_dir="$ac_dir"
43199 as_dirs=
43200 while test ! -d "$as_dir"; do
43201 as_dirs="$as_dir $as_dirs"
43202 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43203 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43204 X"$as_dir" : 'X\(//\)[^/]' \| \
43205 X"$as_dir" : 'X\(//\)$' \| \
43206 X"$as_dir" : 'X\(/\)' \| \
43207 . : '\(.\)' 2>/dev/null ||
43208 echo X"$as_dir" |
43209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43210 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43211 /^X\(\/\/\)$/{ s//\1/; q; }
43212 /^X\(\/\).*/{ s//\1/; q; }
43213 s/.*/./; q'`
43214 done
43215 test ! -n "$as_dirs" || mkdir $as_dirs
43216 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43217 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43218 { (exit 1); exit 1; }; }; }
43219
43220 rm -f $ac_file
43221 mv $tmp/config.h $ac_file
43222 fi
43223 else
43224 cat $tmp/config.h
43225 rm -f $tmp/config.h
43226 fi
43227 done
43228 _ACEOF
43229 cat >>$CONFIG_STATUS <<\_ACEOF
43230
43231 #
43232 # CONFIG_COMMANDS section.
43233 #
43234 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
43235 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
43236 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
43237 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
43238 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43239 X"$ac_dest" : 'X\(//\)[^/]' \| \
43240 X"$ac_dest" : 'X\(//\)$' \| \
43241 X"$ac_dest" : 'X\(/\)' \| \
43242 . : '\(.\)' 2>/dev/null ||
43243 echo X"$ac_dest" |
43244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43246 /^X\(\/\/\)$/{ s//\1/; q; }
43247 /^X\(\/\).*/{ s//\1/; q; }
43248 s/.*/./; q'`
43249 { if $as_mkdir_p; then
43250 mkdir -p "$ac_dir"
43251 else
43252 as_dir="$ac_dir"
43253 as_dirs=
43254 while test ! -d "$as_dir"; do
43255 as_dirs="$as_dir $as_dirs"
43256 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43258 X"$as_dir" : 'X\(//\)[^/]' \| \
43259 X"$as_dir" : 'X\(//\)$' \| \
43260 X"$as_dir" : 'X\(/\)' \| \
43261 . : '\(.\)' 2>/dev/null ||
43262 echo X"$as_dir" |
43263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43264 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43265 /^X\(\/\/\)$/{ s//\1/; q; }
43266 /^X\(\/\).*/{ s//\1/; q; }
43267 s/.*/./; q'`
43268 done
43269 test ! -n "$as_dirs" || mkdir $as_dirs
43270 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43271 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43272 { (exit 1); exit 1; }; }; }
43273
43274 ac_builddir=.
43275
43276 if test "$ac_dir" != .; then
43277 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43278 # A "../" for each directory in $ac_dir_suffix.
43279 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43280 else
43281 ac_dir_suffix= ac_top_builddir=
43282 fi
43283
43284 case $srcdir in
43285 .) # No --srcdir option. We are building in place.
43286 ac_srcdir=.
43287 if test -z "$ac_top_builddir"; then
43288 ac_top_srcdir=.
43289 else
43290 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43291 fi ;;
43292 [\\/]* | ?:[\\/]* ) # Absolute path.
43293 ac_srcdir=$srcdir$ac_dir_suffix;
43294 ac_top_srcdir=$srcdir ;;
43295 *) # Relative path.
43296 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43297 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43298 esac
43299
43300 # Do not use `cd foo && pwd` to compute absolute paths, because
43301 # the directories may not exist.
43302 case `pwd` in
43303 .) ac_abs_builddir="$ac_dir";;
43304 *)
43305 case "$ac_dir" in
43306 .) ac_abs_builddir=`pwd`;;
43307 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43308 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43309 esac;;
43310 esac
43311 case $ac_abs_builddir in
43312 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43313 *)
43314 case ${ac_top_builddir}. in
43315 .) ac_abs_top_builddir=$ac_abs_builddir;;
43316 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43317 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43318 esac;;
43319 esac
43320 case $ac_abs_builddir in
43321 .) ac_abs_srcdir=$ac_srcdir;;
43322 *)
43323 case $ac_srcdir in
43324 .) ac_abs_srcdir=$ac_abs_builddir;;
43325 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43326 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43327 esac;;
43328 esac
43329 case $ac_abs_builddir in
43330 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43331 *)
43332 case $ac_top_srcdir in
43333 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43334 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43335 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43336 esac;;
43337 esac
43338
43339
43340 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43341 echo "$as_me: executing $ac_dest commands" >&6;}
43342 case $ac_dest in
43343 wx-config ) rm -f wx-config
43344 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
43345 ;;
43346 esac
43347 done
43348 _ACEOF
43349
43350 cat >>$CONFIG_STATUS <<\_ACEOF
43351
43352 { (exit 0); exit 0; }
43353 _ACEOF
43354 chmod +x $CONFIG_STATUS
43355 ac_clean_files=$ac_clean_files_save
43356
43357
43358 # configure is writing to config.log, and then calls config.status.
43359 # config.status does its own redirection, appending to config.log.
43360 # Unfortunately, on DOS this fails, as config.log is still kept open
43361 # by configure, so config.status won't be able to write to it; its
43362 # output is simply discarded. So we exec the FD to /dev/null,
43363 # effectively closing config.log, so it can be properly (re)opened and
43364 # appended to by config.status. When coming back to configure, we
43365 # need to make the FD available again.
43366 if test "$no_create" != yes; then
43367 ac_cs_success=:
43368 ac_config_status_args=
43369 test "$silent" = yes &&
43370 ac_config_status_args="$ac_config_status_args --quiet"
43371 exec 5>/dev/null
43372 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
43373 exec 5>>config.log
43374 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43375 # would make configure fail if this is the last instruction.
43376 $ac_cs_success || { (exit 1); exit 1; }
43377 fi
43378
43379 #
43380 # CONFIG_SUBDIRS section.
43381 #
43382 if test "$no_recursion" != yes; then
43383
43384 # Remove --cache-file and --srcdir arguments so they do not pile up.
43385 ac_sub_configure_args=
43386 ac_prev=
43387 for ac_arg in $ac_configure_args; do
43388 if test -n "$ac_prev"; then
43389 ac_prev=
43390 continue
43391 fi
43392 case $ac_arg in
43393 -cache-file | --cache-file | --cache-fil | --cache-fi \
43394 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43395 ac_prev=cache_file ;;
43396 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43397 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43398 | --c=*)
43399 ;;
43400 --config-cache | -C)
43401 ;;
43402 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43403 ac_prev=srcdir ;;
43404 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43405 ;;
43406 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43407 ac_prev=prefix ;;
43408 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43409 ;;
43410 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
43411 esac
43412 done
43413
43414 # Always prepend --prefix to ensure using the same prefix
43415 # in subdir configurations.
43416 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
43417
43418 ac_popdir=`pwd`
43419 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43420
43421 # Do not complain, so a configure script can configure whichever
43422 # parts of a large source tree are present.
43423 test -d $srcdir/$ac_dir || continue
43424
43425 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43426 echo "$as_me: configuring in $ac_dir" >&6;}
43427 { if $as_mkdir_p; then
43428 mkdir -p "$ac_dir"
43429 else
43430 as_dir="$ac_dir"
43431 as_dirs=
43432 while test ! -d "$as_dir"; do
43433 as_dirs="$as_dir $as_dirs"
43434 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43435 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43436 X"$as_dir" : 'X\(//\)[^/]' \| \
43437 X"$as_dir" : 'X\(//\)$' \| \
43438 X"$as_dir" : 'X\(/\)' \| \
43439 . : '\(.\)' 2>/dev/null ||
43440 echo X"$as_dir" |
43441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43442 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43443 /^X\(\/\/\)$/{ s//\1/; q; }
43444 /^X\(\/\).*/{ s//\1/; q; }
43445 s/.*/./; q'`
43446 done
43447 test ! -n "$as_dirs" || mkdir $as_dirs
43448 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43449 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43450 { (exit 1); exit 1; }; }; }
43451
43452 ac_builddir=.
43453
43454 if test "$ac_dir" != .; then
43455 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43456 # A "../" for each directory in $ac_dir_suffix.
43457 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43458 else
43459 ac_dir_suffix= ac_top_builddir=
43460 fi
43461
43462 case $srcdir in
43463 .) # No --srcdir option. We are building in place.
43464 ac_srcdir=.
43465 if test -z "$ac_top_builddir"; then
43466 ac_top_srcdir=.
43467 else
43468 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43469 fi ;;
43470 [\\/]* | ?:[\\/]* ) # Absolute path.
43471 ac_srcdir=$srcdir$ac_dir_suffix;
43472 ac_top_srcdir=$srcdir ;;
43473 *) # Relative path.
43474 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43475 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43476 esac
43477
43478 # Do not use `cd foo && pwd` to compute absolute paths, because
43479 # the directories may not exist.
43480 case `pwd` in
43481 .) ac_abs_builddir="$ac_dir";;
43482 *)
43483 case "$ac_dir" in
43484 .) ac_abs_builddir=`pwd`;;
43485 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43486 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43487 esac;;
43488 esac
43489 case $ac_abs_builddir in
43490 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43491 *)
43492 case ${ac_top_builddir}. in
43493 .) ac_abs_top_builddir=$ac_abs_builddir;;
43494 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43495 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43496 esac;;
43497 esac
43498 case $ac_abs_builddir in
43499 .) ac_abs_srcdir=$ac_srcdir;;
43500 *)
43501 case $ac_srcdir in
43502 .) ac_abs_srcdir=$ac_abs_builddir;;
43503 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43504 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43505 esac;;
43506 esac
43507 case $ac_abs_builddir in
43508 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43509 *)
43510 case $ac_top_srcdir in
43511 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43512 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43513 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43514 esac;;
43515 esac
43516
43517
43518 cd $ac_dir
43519
43520 # Check for guested configure; otherwise get Cygnus style configure.
43521 if test -f $ac_srcdir/configure.gnu; then
43522 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
43523 elif test -f $ac_srcdir/configure; then
43524 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
43525 elif test -f $ac_srcdir/configure.in; then
43526 ac_sub_configure=$ac_configure
43527 else
43528 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43529 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43530 ac_sub_configure=
43531 fi
43532
43533 # The recursion is here.
43534 if test -n "$ac_sub_configure"; then
43535 # Make the cache file name correct relative to the subdirectory.
43536 case $cache_file in
43537 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43538 *) # Relative path.
43539 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
43540 esac
43541
43542 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43543 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43544 # The eval makes quoting arguments work.
43545 eval $ac_sub_configure $ac_sub_configure_args \
43546 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43547 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43548 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43549 { (exit 1); exit 1; }; }
43550 fi
43551
43552 cd "$ac_popdir"
43553 done
43554 fi
43555
43556
43557 echo
43558 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43559 echo ""
43560 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43561 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43562
43563 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43564 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43565 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43566
43567 echo " What level of wxWidgets compatibility should be enabled?"
43568 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43569 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43570
43571 echo " Which libraries should wxWidgets use?"
43572 echo " jpeg ${wxUSE_LIBJPEG-none}"
43573 echo " png ${wxUSE_LIBPNG-none}"
43574 echo " regex ${wxUSE_REGEX}"
43575 echo " tiff ${wxUSE_LIBTIFF-none}"
43576 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43577 echo " xpm ${wxUSE_LIBXPM-none}"
43578 fi
43579 echo " zlib ${wxUSE_ZLIB}"
43580 echo " odbc ${wxUSE_ODBC}"
43581 echo " expat ${wxUSE_EXPAT}"
43582 echo " libmspack ${wxUSE_LIBMSPACK}"
43583 echo " sdl ${wxUSE_LIBSDL}"
43584 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
43585
43586 echo ""
43587